]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
wcsmbs: optimize wcsncat
[thirdparty/glibc.git] / ChangeLog
CommitLineData
7b3fb620
AZ
12019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2
ddf21ec7
AZ
3 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
4 wmemcpy.
5
4d801563
AZ
6 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
7
81a14439
AZ
8 * include/wchar.h (__wcscpy): New prototype.
9 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
10 (__wcscpy): Route internal symbol to generic implementation.
11 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
12 Add internal __wcscpy alias.
13 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
14 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
15 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
16 * wcsmbs/wcscpy.c (wcscpy): Add
17 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
18 use generic implementation.
19 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
20
39ef0744
AZ
21 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
22 wmemset.
23
7b3fb620
AZ
24 * sysdeps/m68k/wcpcpy.c: Remove file.
25 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
26
e0cb7b61
JM
272019-02-26 Joseph Myers <joseph@codesourcery.com>
28
aa0e4663
JM
29 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
30 than after operators.
31 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
32 * sysdeps/mach/hurd/getcwd.c
33 (__hurd_canonicalize_directory_name_internal): Likewise.
34 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
35 (pthread_mutex_consistent): Likewise.
36 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
37 Likewise.
38 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
39 (__pthread_mutex_transfer_np): Likewise.
40 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
41 (__pthread_mutex_unlock): Likewise.
42 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
43 (mtx_owned_p): Likewise.
44 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
45 (pthread_mutexattr_getrobust): Likewise.
46 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
47 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
48 Likewise.
49 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
50 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
51 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
52 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
53 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
54 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
55 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
56 Likewise.
57 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
58 Likewise.
59 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
60 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
61 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
62 (____longjmp_chk): Likewise.
63 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
64 Likewise.
65 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
66 (INTERNAL_SYSCALL): Likewise.
67 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
68 (INTERNAL_SYSCALL): Likewise.
69 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
70 (__get_clockfreq_via_cpuinfo): Likewise.
71
e0cb7b61
JM
72 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
73 comments.
74 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
75 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
76 (WORD_COPY_BWD): Likewise.
77 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
78 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
79 Likewise.
80 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
81 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
82 comment.
83 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
84
a04549c1
JM
852019-02-25 Joseph Myers <joseph@codesourcery.com>
86
87 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
88 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
89 rather than after operators.
90 * elf/cache.c (print_cache): Likewise.
91 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
92 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
93 * hurd/hurdinit.c (_hurd_setproc): Likewise.
94 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
95 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
96 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
97 (reauth_proc): Likewise.
98 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
99 (__file_name_split_at): Likewise.
100 (__directory_name_split_at): Likewise.
101 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
102 * hurd/port2fd.c (_hurd_port2fd): Likewise.
103 * iconv/gconv_dl.c (do_print): Likewise.
104 * inet/netinet/in.h (struct sockaddr_in): Likewise.
105 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
106 * locale/setlocale.c (new_composite_name): Likewise.
107 * malloc/memusagestat.c (main): Likewise.
108 * misc/fstab.c (fstab_convert): Likewise.
109 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
110 Likewise.
111 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
112 (getgrent_next_file): Likewise.
113 (internal_getgrnam_r): Likewise.
114 (internal_getgrgid_r): Likewise.
115 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
116 Likewise.
117 (internal_getgrent_r): Likewise.
118 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
119 (getpwent_next_nss): Likewise.
120 (getpwent_next_file): Likewise.
121 (internal_getpwnam_r): Likewise.
122 (internal_getpwuid_r): Likewise.
123 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
124 Likewise.
125 (getspent_next_nss): Likewise.
126 (internal_getspnam_r): Likewise.
127 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
128 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
129 * string/strchr.c (STRCHR): Likewise.
130 * string/strchrnul.c (STRCHRNUL): Likewise.
131 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
132 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
133 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
134 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
135 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
136 Likewise.
137 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
138 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
139 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
140 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
141 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
142 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
143 (open_file): Likewise.
144 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
145 (pthread_mutexattr_setprotocol): Likewise.
146 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
147 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
148 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
149 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
150 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
151 Likewise.
152 (elf_machine_rela): Likewise.
153 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
154 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
155 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
156 * sysdeps/posix/rename.c (rename): Likewise.
157 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
158 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
159 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
160 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
161 * sysdeps/unix/grantpt.c (grantpt): Likewise.
162 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
163 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
164 Likewise.
165 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
166 Likewise.
167 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
168 * time/tzfile.c (__tzfile_compute): Likewise.
169
34a5a146
JM
1702019-02-22 Joseph Myers <joseph@codesourcery.com>
171
172 * benchtests/bench-memmem.c (simple_memmem): Break lines before
173 rather than after operators.
174 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
175 * crypt/md5.c (md5_finish_ctx): Likewise.
176 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
177 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
178 * elf/cache.c (load_aux_cache): Likewise.
179 * elf/dl-load.c (open_verify): Likewise.
180 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
181 * elf/readelflib.c (process_elf_file): Likewise.
182 * elf/rtld.c (dl_main): Likewise.
183 * elf/sprof.c (generate_call_graph): Likewise.
184 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
185 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
186 * hurd/dtable.c (reauth_dtable): Likewise.
187 * hurd/getdport.c (__getdport): Likewise.
188 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
189 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
190 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
191 Likewise.
192 * hurd/hurdioctl.c (fioctl): Likewise.
193 * hurd/hurdselect.c (_hurd_select): Likewise.
194 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
195 (STOPSIGS): Likewise.
196 * hurd/hurdstartup.c (_hurd_startup): Likewise.
197 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
198 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
199 * hurd/msgportdemux.c (msgport_server): Likewise.
200 * hurd/setauth.c (_hurd_setauth): Likewise.
201 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
202 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
203 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
204 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
205 * login/tst-utmp.c (do_check): Likewise.
206 (simulate_login): Likewise.
207 * mach/lowlevellock.h (lll_lock): Likewise.
208 (lll_trylock): Likewise.
209 * math/test-fenv.c (ALL_EXC): Likewise.
210 * math/test-fenvinline.c (ALL_EXC): Likewise.
211 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
212 * nis/nis_call.c (__do_niscall3): Likewise.
213 * nis/nis_callback.c (cb_prog_1): Likewise.
214 * nis/nis_defaults.c (searchaccess): Likewise.
215 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
216 * nis/nis_ismember.c (internal_ismember): Likewise.
217 * nis/nis_local_names.c (nis_local_principal): Likewise.
218 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
219 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
220 Likewise.
221 * nis/ypclnt.c (yp_match): Likewise.
222 (yp_first): Likewise.
223 (yp_next): Likewise.
224 (yp_master): Likewise.
225 (yp_order): Likewise.
226 * nscd/hstcache.c (cache_addhst): Likewise.
227 * nscd/initgrcache.c (addinitgroupsX): Likewise.
228 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
229 (internal_getpwuid_r): Likewise.
230 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
231 * posix/glob.h (__GLOB_FLAGS): Likewise.
232 * posix/regcomp.c (peek_token): Likewise.
233 (peek_token_bracket): Likewise.
234 (parse_expression): Likewise.
235 * posix/regexec.c (sift_states_iter_mb): Likewise.
236 (check_node_accept_bytes): Likewise.
237 * posix/tst-spawn3.c (do_test): Likewise.
238 * posix/wordexp-test.c (testit): Likewise.
239 * posix/wordexp.c (parse_tilde): Likewise.
240 (exec_comm): Likewise.
241 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
242 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
243 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
244 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
245 * stdio-common/tst-fileno.c (do_test): Likewise.
246 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
247 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
248 * stdlib/strtod_l.c (round_and_return): Likewise.
249 (____STRTOF_INTERNAL): Likewise.
250 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
251 * string/strcspn.c (STRCSPN): Likewise.
252 * string/test-memmem.c (simple_memmem): Likewise.
253 * termios/tcsetattr.c (tcsetattr): Likewise.
254 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
255 * time/asctime.c (asctime_internal): Likewise.
256 * time/strptime_l.c (__strptime_internal): Likewise.
257 * time/sys/time.h (timercmp): Likewise.
258 * time/tzfile.c (__tzfile_compute): Likewise.
259
b0b50fe0
PF
2602019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
261
262 [BZ #21915]
263 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
264
f43b8dd5
GG
2652019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
266
267 * argp/argp-help.c (__argp_error_internal): New function,
268 renamed from __argp_error, but that takes a 'mode_flags'
269 parameter to control the format of long double parameters.
270 (__argp_error): Converted into a call __argp_error_internal.
271 (__argp_failure_internal): New function, renamed from
272 __argp_failure, but that takes a 'mode_flags' parameter.
273 (__argp_failure): Converted into a call __argp_failure_internal.
274 * misc/err.c (__vwarnx_internal): New function, renamed from
275 vwarnx, but that takes a 'mode_flags' parameter.
276 (vwarnx): Converted into a call to __vwarnx_internal.
277 (__vwarn_internal): New function, renamed from vwarn, but that
278 takes a 'mode_flags' parameter.
279 (vwarn): Converted into a call to __vwarn_internal.
280 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
281 call to __vfxprintf with 'mode_flags'.
282 (__error_internal): New function, renamed from error, but that
283 takes a 'mode_flags' parameter.
284 (error): Converted into a call to __error_internal.
285 (__error_at_line_internal): New function, renamed from
286 error_at_line, but that takes a 'mode_flags' parameter.
287 (error_at_line): Converted into a call to
288 __error_at_line_internal.
289 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
290 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
291 Likewise.
292
dc0afac3 2932019-02-20 Martin Liska <mliska@suse.cz>
294
295 * math/Makefile: Install math-vector-fortran.h.
296 * bits/math-vector-fortran.h: New file.
297 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
298
4a2dd41c
GG
2992019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
300
301 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
302 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
303
04de9302
WS
3042019-02-19 Wolfram Sang <wsa@the-dreams.de>
305
306 * nptl/pthread_mutex_trylock.c: Fix comment.
307
b026ce1e
CD
3082019-02-19 Carlos O'Donell <carlos@redhat.com>
309
310 * nptl/pthread_tryjoin.c: Fix comment.
311
8c9289b6
JM
3122019-02-18 Joseph Myers <joseph@codesourcery.com>
313
314 [BZ #24231]
315 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
316 after R_SPARC_H34 case.
317
308e022f
FW
3182019-02-18 Florian Weimer <fweimer@redhat.com>
319
320 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
321 (getanswer): Do not call Dprintf.
322 (res_gethostbyname2_context): Likewise.
323 (res_gethostbyaddr_context): Likewise.
324
a5406364
FW
3252019-02-18 Florian Weimer <fweimer@redhat.com>
326
327 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
328 declaration.
329 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
330 Remove definitions.
331 * libio/stdfiles.c: Update comment.
332 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
333 set _IO_stdin, _IO_stdout, _IO_stderr.
334 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
335 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
336 inline function.
337 (_IO_deallocate_file): New inline function.
338 * libio/iolibio.h (_IO_vprintf): Remove definition.
339 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
340 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
341 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
342 _IO_legacy_file.
343 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
344 __builtin_expect. Use _IO_legacy_file.
345
6c29942c
SL
3462019-02-18 Stefan Liebler <stli@linux.ibm.com>
347
348 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
349 Initialize ctid with a known value and remove update of ctid
350 after clone.
351 (wait_tid): Adjust arguments and call futex_wait with ctid_val
352 as assumed current value of ctid_ptr.
353
ad18dade
FW
3542019-02-15 Florian Weimer <fweimer@redhat.com>
355
356 Check that non-sysdeps headers have wrapper headers.
357 * scripts/check-wrapper-headers.py: New file.
358 * Makefile (tests-special): Add check-wrapper-headers.out.
359 (check-wrapper-headers.out): New target.
360 * Rules (tests-special): Add check-wrapper-headers.out.
361 (check-wrapper-headers.out): New target.
362
ebd32784
FW
3632019-02-15 Florian Weimer <fweimer@redhat.com>
364
365 Add missing header wrappers under include/.
366 * include/ar.h: New file.
367 * include/bits/mqueue2.h: Likewise.
368 * include/bits/stdio.h: Likewise.
369 * include/bits/stdio2.h: Likewise.
370 * include/fstab.h: Likewise.
371 * include/fts.h: Likewise.
372 * include/lastlog.h: Likewise.
373 * include/netinet/icmp6.h: Likewise.
374 * include/netinet/igmp.h: Likewise.
375 * include/netinet/ip6.h: Likewise.
376 * include/re_comp.h: Likewise.
377 * include/regexp.h: Likewise.
378 * include/rpcsvc/bootparam.h: Likewise.
379 * include/rpcsvc/yp_prot.h: Likewise.
380 * include/sys/random.h: Likewise.
381 * include/sys/stropts.h: Likewise.
382 * include/sys/ttychars.h: Likewise.
383 * include/sys/vfs.h: Likewise.
384 * include/wait.h: Likewise.
385
a198d37a
FW
3862019-02-15 Florian Weimer <fweimer@redhat.com>
387
388 * nptl_db/proc_service.h: Move to ...
389 * sysdeps/nptl/proc_service.h: ... here.
390 * nptl_db/thread_db.h: Move to ...
391 * sysdeps/nptl/thread_db.h: ... here.
392 * nptl/descr.h: Include <thread_db.h>.
393
e442e40d
AZ
3942019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
395
396 * io/Makefile (tests): Add tst-lockf.
397 * io/lockf.c (lockf): Use __fcntl and only define for
398 !__OFF_T_MATCHES_OFF64_T.
399 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
400 __OFF_T_MATCHES_OFF64_T case.
401 * io/tst-lockf.c: New file.
402 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
403 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
404 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
405 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
406 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
408 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
409 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
410 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
411
bc10e22c
FW
4122019-02-15 Florian Weimer <fweimer@redhat.com>
413
414 [BZ #24211]
415 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
416 pd->result after the thread descriptor has been freed.
417
365f05c7
JM
4182019-02-15 Joseph Myers <joseph@codesourcery.com>
419
8a11f970
JM
420 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
421 from function return type.
422
365f05c7
JM
423 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
424
56a731d4
JK
4252019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
426
427 * scripts/test_printers_common.py: Set TERM to a known harmless
428 value.
429
712182c8
JM
4302019-02-14 Joseph Myers <joseph@codesourcery.com>
431
432 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
433 (xdr_u_int): Likewise.
434 (xdr_enum): Likewise.
435 (xdr_bytes): Reword fall-through comment.
436 (xdr_string): Likewise.
437
eb76e5b4
AZ
4382019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
439
440 [BZ #2421]
441 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
442 (tests): Add tst-join8 tst-join9.
443 * nptl/lll_timedwait_tid.c: Remove file.
444 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
445 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
446 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
447 * nptl/pthread_join_common.c (timedwait_tid): New function.
448 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
449 is set.
450 * nptl/tst-join5.c (thread_join): New function.
451 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
452 check.
453 * nptl/tst-join8.c: New file.
454 * nptl/tst-join9.c: Likewise.
455 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
456 lll_futex_timed_wait_cancel): Add generic macros.
457 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
458 Remove definitions.
459 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
460 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
461 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
462 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
463 Remove function.
464 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
465 Likewise.
466 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
467 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
468 (lll_futex_timed_wait_cancel): New macro.
469
3904fd85
WD
4702019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
471
472 * benchtests/Makefile: Add malloc-simple benchmark.
473 * benchtests/bench-malloc-simple.c: New benchmark.
474
24ca04fe
SP
4752019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
476
477 * benchtests/bench-memmove.c (do_one_test): Remove unused
478 ORIG_SRC.
479 (do_test): Adjust.
480 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
481 ORIG_SRC.
482 (do_test): Adjust.
483
85bd1ddb
JW
4842019-01-13 Jim Wilson <jimw@sifive.com>
485
486 [BZ #24040]
487 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
488 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
489 (func): New.
490 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
491 call func directly.
492 * nptl/Makefile (tests): Add tst-unwind-thread.
493 (CFLAGS-tst-unwind-thread.c): Define.
494 * nptl/tst-unwind-thread.c: New file.
495 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
496 as undefined.
497
86140c62
JM
4982019-02-13 Joseph Myers <joseph@codesourcery.com>
499
10756268
JM
500 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
501 comment wording.
502 * nis/nis_call.c (__do_niscall3): Likewise.
503
05383720
JM
504 * catgets/gencat.c (normalize_line): Use braces around empty
505 'else' body.
506 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
507 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
508 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
509 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
510 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
511 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
512 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
513 definition.
514
86140c62
JM
515 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
516 execlp returns.
517
16f87cfd
WD
5182019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
519
520 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
521 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
522 * benchtests/bench-strchr.c (stupid_strchr): Remove.
523 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
524 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
525 * benchtests/bench-strlen.c (builtin_strlen): Remove.
526 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
527 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
528 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
529 * benchtests/bench-strspn.c (stupid_strspn): Remove.
530 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
531 * benchtests/bench-bcopy.c: Delete file.
532 * benchtests/bench-bzero.c: Likewise.
533 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
534 (simple_memccpy): Remove.
535 (generic_memccpy): Add function.
536 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
537 * benchtests/bench-memmove.c (simple_bcopy): Remove.
538 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
539 (generic_mempcpy): Add new function.
540 * benchtests/bench-memset.c (simple_bzero): Remove.
541 (builtin_bzero): Remove.
542 (builtin_memset): Remove.
543 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
544 (generic_rawmemchr): Add new function.
545
0c6d82e9
FW
5462019-02-12 Florian Weimer <fweimer@redhat.com>
547
548 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
549
b3fbfe81
AZ
5502019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
551
552 [BZ #24122]
553 * elf/Makefile (tests): Add tst-audit13.
554 (modules-names): Add tst-audit13mod1.
555 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
556 rule.
557 * elf/tst-audit13.c: New file.
558 * elf/tst-audit13mod1.c: Likewise.
559
3b856d09
FW
5602019-02-12 Florian Weimer <fweimer@redhat.com>
561
562 [BZ #24122]
563 * elf/rtld.c (unload_audit_module): New function.
564 (report_audit_module_load_error): Likewise.
565 (load_audit_module): Likewise. Extracted from dl_main. Call
566 _dl_close if the laversion symbol cannot be found. Use early
567 returns for error handling. Add malloc error check. Check for a
568 zero return value from la_version. Remove spurious comment about
569 static TLS initialization. Remove useless casts.
570 (notify_audit_modules_of_loaded_object): New function. Extracted
571 from dl_main.
572 (load_audit_module): Likewise.
573 (dl_main): Call load_audit_modules.
574
32db86d5
JM
5752019-02-12 Joseph Myers <joseph@codesourcery.com>
576
577 * elf/dl-exception.c (_dl_exception_create_format): Add
578 fall-through comments.
579 * elf/ldconfig.c (parse_conf_include): Likewise.
580 * elf/rtld.c (print_statistics): Likewise.
581 * locale/programs/charmap.c (parse_charmap): Likewise.
582 * misc/mntent_r.c (__getmntent_r): Likewise.
583 * posix/wordexp.c (parse_arith): Likewise.
584 (parse_backtick): Likewise.
585 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
586 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
587 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
588
a51bc4fe
PC
5892019-02-11 Paul A. Clarke <pc@us.ibm.com>
590
591 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
592 Use float instead of double.
593
fb25b135
TS
5942019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
595
596 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
597
32ea7299
JM
5982019-02-08 Joseph Myers <joseph@codesourcery.com>
599
600 * sysdeps/powerpc/bits/mathinline.h: Remove.
601
eef4d4f8
FW
6022019-02-08 Florian Weimer <fweimer@redhat.com>
603
604 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
605 * math/bits/math-finite.h: Move to ...
606 * bits/math-finite.h: ... here.
607
fdfbd47d
FW
6082019-02-08 Florian Weimer <fweimer@redhat.com>
609
610 * sysdeps/generic/bits/unistd_ext.h: Move to ...
611 * bits/unistd_ext.h: here.
612
11eb21c4
PF
6132019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
614
615 [BZ #21915]
616 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
617 * nss/tst-nss-files-hosts-long.c: New file.
618 * nss/tst-nss-files-hosts-long.root: New directory.
619 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
620 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
621
e47d82c9
FW
6222019-02-08 Florian Weimer <fweimer@redhat.com>
623
624 * include/bits/unistd_ext.h: Remove file.
625 * posix/bits/unistd_ext.h: Move to ...
626 * sysdeps/generic/bits/unistd_ext.h: ... here.
627
8f89ab21
FW
6282019-02-08 Florian Weimer <fweimer@redhat.com>
629
630 * include/bits/unistd_ext.h: New file.
631
144a794e
TS
6322019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
633
634 * time/tst-strftime2.c: Use array_length macros instead of magic
635 numbers.
636
669ff911
FW
6372019-02-08 Florian Weimer <fweimer@redhat.com>
638
639 [BZ #24161]
640 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
641 argument.
642 * nptl/register-atfork.c (__run_fork_handlers): Only perform
643 locking if the new do_locking argument is true.
644 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
645 __run_fork_handlers.
646
d0bd87d4 6472019-02-08 Florian Weimer <fweimer@redhat.com>
1d0fc213
FW
648
649 [BZ #6399]
650 Linux: Add gettid system call wrapper.
651 * posix/Makefile (headers): Add bits/unistd_ext.h.
652 * posix/bits/unistd_ext.h: New file.
653 * posix/unistd.h: Include it.
654 * manual/process.texi (Process Identification): Document gettid.
655 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
656 tst-gettid, tst-gettid-kill.
657 (tst-gettid): Link with $(shared-thread-library).
658 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
659 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
660 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
661 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
662 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
663 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
664 Add gettid.
665 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
666 Likewise.
667 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
668 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
669 Likewise.
670 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
671 Likewise.
672 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
673 Likewise.
674 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
675 Likewise.
676 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
677 Likewise.
678 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
679 Likewise.
680 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
681 Likewise.
682 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
683 (GLIBC_2.30): Likewise.
684 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
685 (GLIBC_2.30): Likewise.
686 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
687 (GLIBC_2.30): Likewise.
688 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
689 (GLIBC_2.30): Likewise.
690 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
691 Likewise.
692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
693 (GLIBC_2.30): Likewise.
694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
695 (GLIBC_2.30): Likewise.
696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
697 (GLIBC_2.30): Likewise.
698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
699 (GLIBC_2.30): Likewise.
700 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
701 Likewise.
702 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
703 Likewise.
704 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
705 Likewise.
706 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
707 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
708 Likewise.
709 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
710 Likewise.
711 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
712 Likewise.
713 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
714 Likewise.
715 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
716
f289e656
FW
7172019-02-07 Florian Weimer <fweimer@redhat.com>
718
719 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
720 compatibility symbols.
721
823624bd
SL
7222019-02-07 Stefan Liebler <stli@linux.ibm.com>
723
724 [BZ #24180]
725 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
726 Add compiler barriers and comments.
727
8311c83f
FW
7282019-02-07 Florian Weimer <fweimer@redhat.com>
729
730 * include/array_length.h (array_length): Do not use a statement
731 expression and _Static_assert, so that array_length can be used at
732 file scope and as a constant expression.
733
94b63e66
FW
7342019-02-07 Florian Weimer <fweimer@redhat.com>
735
736 * support/xdlfcn.h (xdlmopen): Declare.
737 * support/xdlmopen.c: New file.
738 * support/Makefile (libsupport-routines): Add xdlmopen.
739
c2d8f0b7
JM
7402019-02-06 Joseph Myers <joseph@codesourcery.com>
741
742 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
743 before return type, without separate inline.
744 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
745 * elf/dl-tunables.h (tunable_is_name): Likewise.
746 * malloc/malloc.c (do_set_trim_threshold): Likewise.
747 (do_set_top_pad): Likewise.
748 (do_set_mmap_threshold): Likewise.
749 (do_set_mmaps_max): Likewise.
750 (do_set_mallopt_check): Likewise.
751 (do_set_perturb_byte): Likewise.
752 (do_set_arena_test): Likewise.
753 (do_set_arena_max): Likewise.
754 (do_set_tcache_max): Likewise.
755 (do_set_tcache_count): Likewise.
756 (do_set_tcache_unsorted_limit): Likewise.
757 * nis/nis_subr.c (count_dots): Likewise.
758 * nptl/allocatestack.c (advise_stack_range): Likewise.
759 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
760 (do_sin): Likewise.
761 (reduce_sincos): Likewise.
762 (do_sincos): Likewise.
763 * sysdeps/unix/sysv/linux/x86/elision-conf.c
764 (do_set_elision_enable): Likewise.
765 (TUNABLE_CALLBACK_FNDECL): Likewise.
766
3b935595
FW
7672019-02-06 Florian Weimer <fweimer@redhat.com>
768
769 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
770 (xdlsym): Use dlerror to detect a NULL symbol.
771
b4333340
FW
7722019-02-06 Florian Weimer <fweimer@redhat.com>
773
774 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
775 <stap-probe.h>.
776 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
777
b6d8a999
SL
7782019-02-06 Stefan Liebler <stli@linux.ibm.com>
779
780 * libio/tst-bz24153.c (wide): Use wide char format specifier.
781
94eeeec0
SL
7822019-02-06 Stefan Liebler <stli@linux.ibm.com>
783
784 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
785 __wmemcmp and weak alias to wmemcmp.
786
bc79db3f
SL
7872019-02-06 Stefan Liebler <stli@linux.ibm.com>
788
789 [BZ #23403]
790 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
791 TLS_TCB_AT_TP tls variant.
792 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
793 Add alignment checks.
794 * support/Makefile (libsupport-routines): Add xposix_memalign and
795 xpthread_setstack.
796 * support/support.h: Add xposix_memalign.
797 * support/xthread.h: Add xpthread_attr_setstack.
798 * support/xposix_memalign.c: New File.
799 * support/xpthread_attr_setstack.c: Likewise.
800
f1ac7455
FW
8012019-02-05 Florian Weimer <fweimer@redhat.com>
802
803 [BZ #24164]
804 arm: Use "nr" constraint for Systemtap probes, to avoid the
805 compiler using memory operands for constants, due to the "o"
806 alternative in the default "nor" constraint.
807 * include/stap-probe.h [USE_STAP_PROBE]: Include
808 <stap-probe-machine.h>
809 * sysdeps/generic/stap-probe-machine.h: New file.
810 * sysdeps/arm/stap-probe-machine.h: Likewise.
811
7a0dcfc6
JM
8122019-02-04 Joseph Myers <joseph@codesourcery.com>
813
77dc0d86
JM
814 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
815 with 0, not tcache->entries[tc_idx].
816
7a0dcfc6
JM
817 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
818 once.
819
65f7767a
AS
8202019-02-04 Andreas Schwab <schwab@suse.de>
821
822 [BZ #16976]
823 [BZ #17396]
824 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
825 looking up collating elements match against (wide) character
826 sequence instead of name. Correct alignment adjustment.
827 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
828 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
829 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
830 (LOCALES): Add cs_CZ.ISO-8859-2.
831 * posix/tst-fnmatch4.c: New file.
832 * posix/tst-fnmatch5.c: New file.
833 * include/wchar.h (__wmemcmp): Declare.
834 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
835 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
836 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
837 * sysdeps/s390/wmemcmp.c: Likewise.
838
3f635fb4
L
8392019-02-04 H.J. Lu <hongjiu.lu@intel.com>
840
841 [BZ #24155]
842 CVE-2019-7309
843 * NEWS: Updated for CVE-2019-7309.
844 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
845 upper 32 bits of RDX register for x32. Use unsigned Jcc
846 instructions, instead of signed.
847 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
848 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
849
2ab5741b
FW
8502019-02-04 Florian Weimer <fweimer@redhat.com>
851
852 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
853 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
854 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
855 Likewise.
856 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
857 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
858 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
859 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
860 Likewise.
861 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
862 Likewise.
863 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
864 Likewise.
865 (posix_spawn_file_actions_addopen): Likewise.
866 (posix_spawn_file_actions_addclose): Likewise.
867 (posix_spawn_file_actions_adddup2): Likewise.
868 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
869 qualifiers.
870 (posix_spawn_file_actions_addfchdir_np): Likewise.
871
8692ebdb
DN
8722019-02-04 David Newall <glibc@davidnewall.com>
873
874 elf: Implement --preload option for the dynamic linker.
875 * elf/rtld.c (preloadarg): New variable.
876 (handle_preload_list): Pass through “where” argument to
877 do_preload.
878 (dl_main): Handle "--preload" and add second call to
879 handle_preload_list.
880 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
881 (tst-rtld-preload-OBJS): Set variable.
882 (tst-rtld-preload.out): New target.
883 * elf/tst-rtld-preload.sh: New file.
884
5e10136b
MM
8852019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
886
887 * Makefile (testrun.sh): Exit in case of incorrect argument.
888
221baae0
FW
8892019-02-04 Florian Weimer <fweimer@redhat.com>
890
891 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
892 alignment gaps.
893
b8c72381
FW
8942019-02-03 Florian Weimer <fweimer@redhat.com>
895
896 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
897 implicit overflow checks.
898
11f382ee
AJ
8992019-02-03 Aurelien Jarno <aurelien@aurel32.net>
900
901 * stdlib/isomac.c: Include <unistd.h>.
902
77c7d55e
FW
9032019-02-03 Florian Weimer <fweimer@redhat.com>
904
905 * include/time.h (__tzfile_default): Use int, not long int, for
906 the GMT offsets.
907 * time/tzfile.c (struct ttinfo): Change type of the offset member
908 to int.
909 (__tzfile_read): Remove useless cast.
910 (__tzfile_default): Adjust prototype.
911 * time/tzset.c (tz_rule): Change type of the offset member to int.
912 (parse_offset): Change the type of the sign variable to int.
913
ee9941f9
FW
9142019-02-03 Florian Weimer <fweimer@redhat.com>
915
916 [BZ #24153]
917 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
918 * libio/getchar.c (getchar): Likewise.
919 * libio/getchar_u.c (getchar_unlocked): Likewise.
920 * libio/getwchar.c (getwchar): Likewise.
921 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
922 * libio/iogets.c (_IO_gets): Likewise.
923 * libio/vscanf.c (_IO_vscanf): Likewise.
924 * libio/vwscanf.c (__vwscanf): Likewise.
925 * libio/tst-bz24153.c: New file.
926 * libio/Makefile (tests): Add it.
927
c70824b9
FW
9282019-02-02 Florian Weimer <fweimer@redhat.com>
929
930 [BZ #14829]
931 * manual/resource.texi (Basic Scheduling Functions): Add
932 portability note. Change process to task throughout the section.
933 Remove incorrect comment about sched_yield as it affects
934 tasks/threads, not entire processes.
935 * sysdeps/unix/sysv/linux/bits/posix_opt.h
936 (_POSIX_PRIORITY_SCHEDULING): Update comment.
937
4dcbbc3b
JM
9382019-02-01 Joseph Myers <joseph@codesourcery.com>
939
940 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
941 * configure: Regenerated.
942 * manual/install.texi (Tools for Compilation): Update minimum GCC
943 version.
944 * INSTALL: Regenerated.
945
6175507c
FW
9462019-02-01 Florian Weimer <fweimer@redhat.com>
947
948 * support/support_test_compare_string.c
949 (support_test_compare_string): Use "string" in error message.
950 * support/tst-test_compare_string.c (do_test): Adjust.
951
baef1943
FW
9522019-02-01 Florian Weimer <fweimer@redhat.com>
953
954 * support/support_format_address_family.c
955 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
956
395599f0
FW
9572019-02-01 Florian Weimer <fweimer@redhat.com>
958
959 * manual/socket.texi (Internet Address Formats): Clarify the byte
960 order of struct sockaddr_in, struct sockaddr_in6. Document
961 sin6_flowinfo and sin6_scope_id.
962
b06f4c00
WD
9632019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
964
965 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
966 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
967 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
968 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
969 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
970 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
971
83d1cc42
FX
9722019-02-01 Feng Xue <fxue@os.amperecomputing.com>
973
974 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
975 [!MEMCHR](MEMCHR): Set to __memchr.
976 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
977 Add memchr_generic and memchr_nosimd.
978 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
979 (__libc_ifunc_impl_list): Add memchr ifuncs.
980 * sysdeps/aarch64/multiarch/memchr.c: New file.
981 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
982 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
983
c7d3890f
FX
9842019-02-01 Feng Xue <fxue@os.amperecomputing.com>
985
986 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
987 Add memset_emag.
988 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
989 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
990 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
991 Add IS_EMAG check for ifunc dispatch.
992 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
993 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
994
07c3d1ec
FX
9952019-02-01 Feng Xue <fxue@os.amperecomputing.com>
996
997 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
998 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
999 Add emag.
1000 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
1001 New macro.
1002
114f792e
SL
10032019-02-01 Stefan Liebler <stli@linux.ibm.com>
1004
1005 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
1006
d5627550
VG
10072019-01-31 Vineet Gupta <vgupta@synopsys.com>
1008
1009 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
1010 syscall-template file.
1011
5fc9ed4c
CD
10122019-01-31 Carlos O'Donell <carlos@redhat.com>
1013 Torvald Riegel <triegel@redhat.com>
1014 Rik Prohaska <prohaska7@gmail.com>
1015
1016 [BZ# 23844]
1017 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
1018 tst-rwlock-trywrlock-stall.
1019 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1020 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
1021 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
1022 Set __wrphase_fute to 1 only if we started the write phase.
1023 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
1024 * nptl/tst-rwlock-trywrlock-stall.c: New file.
1025 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
1026 * support/xpthread_rwlock_destroy.c: New file.
1027 * support/xthread.h: Declare xpthread_rwlock_destroy.
1028
932329a5
JM
10292019-02-01 Joseph Myers <joseph@codesourcery.com>
1030
1031 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
1032 version to 4.0.2.
1033
5f10701f
PP
10342019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
1035
1036 [BZ #24051]
1037 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
1038 * libio/fileops.c (_IO_new_file_underflow): Likewise
1039 * libio/wfileops.c (_IO_wfile_underflow): Likewise
1040 * libio/putchar.c (putchar): Likewise.
1041 * libio/putchar_u.c (putchar_unlocked): Likewise.
1042 * libio/putwchar.c (putchar): Likewise.
1043 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
1044 * libio/tst-bz24051.c: New test.
1045 * libio/Makefile (tests): Add tst-bz24051
1046
583dd860
PE
10472019-01-31 Paul Eggert <eggert@cs.ucla.edu>
1048
1049 regex: fix read overrun [BZ #24114]
1050 Problem found by AddressSanitizer, reported by Hongxu Chen in:
1051 https://debbugs.gnu.org/34140
1052 * posix/regexec.c (proceed_next_node):
1053 Do not read past end of input buffer.
1054
2bac7daa
FW
10552019-01-31 Florian Weimer <fweimer@redhat.com>
1056
1057 [BZ #24059]
1058 * nss/nss_files/files-alias.c (get_next_alias): Handle
1059 continuation line without newline at the end.
1060 * nss/tst-nss-files-alias-truncated.c: New file.
1061 * nss/Makefile [$(build-shared)] (tests): Add
1062 tst-nss-files-alias-truncated.
1063 (tst-nss-files-alias-truncated): Link with libnss_files.so.
1064 * support/namespace.h (struct support_chroot_configuration): Add
1065 aliases member.
1066 (struct support_chroot): Add path_aliases member.
1067 * support/support_chroot.c (support_chroot_create): Handle
1068 aliases.
1069 (support_chroot_free): Free path_aliases.
1070
330c9d0d
SP
10712019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
1072
de44ab67
SP
1073 * version.h (RELEASE): Set to "development".
1074 (VERSION): Set to "2.29.9000".
1075 * NEWS: Add section for 2.30.
1076
56c86f5d
SP
1077 * version.h (RELEASE): Set to "stable".
1078 (VERSION): Set to "2.29".
1079 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
1080
330c9d0d
SP
1081 * NEWS: Add the list of bugs fixed in 2.29.
1082 * manual/contrib.texi: Update contributors list with some more
1083 names.
1084 * manual/install.texi: Update latest versions of packages
1085 tested.
1086 * INSTALL: Regenerated.
1087
e1e47c91
SP
10882019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
1089
1090 * po/be.po: Update translations.
1091 * po/bg.po: Likewise.
1092 * po/ca.po: Likewise.
1093 * po/cs.po: Likewise.
1094 * po/da.po: Likewise.
1095 * po/de.po: Likewise.
1096 * po/el.po: Likewise.
1097 * po/eo.po: Likewise.
1098 * po/es.po: Likewise.
1099 * po/fi.po: Likewise.
1100 * po/fr.po: Likewise.
1101 * po/gl.po: Likewise.
1102 * po/hr.po: Likewise.
1103 * po/hu.po: Likewise.
1104 * po/ia.po: Likewise.
1105 * po/id.po: Likewise.
1106 * po/it.po: Likewise.
1107 * po/ja.po: Likewise.
1108 * po/ko.po: Likewise.
1109 * po/lt.po: Likewise.
1110 * po/nb.po: Likewise.
1111 * po/nl.po: Likewise.
1112 * po/pl.po: Likewise.
1113 * po/pt_BR.po: Likewise.
1114 * po/ru.po: Likewise.
1115 * po/rw.po: Likewise.
1116 * po/sk.po: Likewise.
1117 * po/sl.po: Likewise.
1118 * po/sv.po: Likewise.
1119 * po/tr.po: Likewise.
1120 * po/uk.po: Likewise.
1121 * po/vi.po: Likewise.
1122 * po/zh_CN.po: Likewise.
1123 * po/zh_TW.po: Likewise.
1124
8d016826
UB
11252019-01-24 Uroš Bizjak <ubizjak@gmail.com>
1126
1127 [BZ #24130]
1128 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
1129 of $f3 register on $y_is_neg path.
1130
a0bb5abd
ST
11312019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
1132
b96e22d0 1133 [BZ #24110]
a0bb5abd
ST
1134 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
1135 sigaltstack.ss_flags.
1136
b22eed37
TS
11372019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
1138
1139 [BZ #23758]
1140 * manual/time.texi (strftime): Document "%Ey".
1141 * time/strftime_l.c (__strftime_internal): Set the default width
1142 padding with zero of "%Ey" to 2.
1143
32f600a2
TS
1144 [BZ #24096]
1145 * manual/time.texi (strftime): Document "%EC" and "%EY".
1146 * time/Makefile (tests): Add tst-strftime2.
1147 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
1148 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
1149 override padding for "%Ey".
1150 If an optional flag ('_' or '-') is specified to "%EY", interpret the
1151 "%Ey" in the subformat as if decorated with that flag.
1152 * time/tst-strftime2.c: New file.
1153
8e889c5d
AZ
11542019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1155
3367acdb
AZ
1156 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
1157 are not defined.
1158
8e889c5d
AZ
1159 [BZ #24122]
1160 * elf/Makefile (tests): Add tst-audit13.
1161 (modules-names): Add tst-audit13mod1.
1162 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
1163 rule.
1164 * elf/rtld.c (dl_main): Handle invalid audit module version.
1165 * elf/tst-audit13.c: New file.
1166 * elf/tst-audit13mod1.c: Likewise.
1167
a95dc01c
ST
11682019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
1169
1170 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
1171 returned by __hurd_at_flags.
ee4d7902
ST
1172 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
1173 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
1174 directly instead of __hurd_file_name_lookup.
a95dc01c 1175
712f1167
JM
11762019-01-21 Joseph Myers <joseph@codesourcery.com>
1177
1178 * scripts/build-many-glibcs.py (Context.checkout): Default
1179 binutils version to 2.32 branch.
1180
108bc404
FW
11812019-01-21 Florian Weimer <fweimer@redhat.com>
1182
1183 [BZ #20018]
1184 CVE-2016-10739
1185 resolv: Reject trailing characters in host names
1186 * include/arpa/inet.h (__inet_aton_exact): Declare.
1187 (inet_aton): Remove hidden prototype. No longer used internally.
1188 * nscd/gai.c (__inet_aton): Do not define.
1189 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
1190 * nss/digits_dots.c (__inet_aton): Likewise.
1191 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
1192 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
1193 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
1194 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
1195 (tst-resolv-trailing): Likewise.
1196 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
1197 libc.
1198 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
1199 Make static. Add endp parameter.
1200 (__inet_aton_exact): New function.
1201 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
1202 (__inet_addr): Call inet_aton_end.
1203 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
1204 not just IPv6. Call __inet_aton_exact.
1205 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
1206 (tests): Make const. Add additional test cases with trailing
1207 characters.
1208 (do_test): Use array_length.
1209 * resolv/tst-inet_aton_exact.c: New file.
1210 * resolv/tst-resolv-trailing.c: Likewise.
1211 * resolv/tst-resolv-nondecimal.c: Likewise.
1212 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
1213
5165de69
L
12142019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1215
1216 [BZ# 24097]
1217 CVE-2019-6488
1218 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
1219 Clear the upper 32 bits of RSI register.
1220 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
1221 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
1222 and tst-size_t-wcsnlen.
1223 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
1224 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
1225
c7c54f65
L
12262019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1227
1228 [BZ# 24097]
1229 CVE-2019-6488
1230 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
1231 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1232 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
1233 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
1234 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
1235
ee915088
L
12362019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1237
1238 [BZ# 24097]
1239 CVE-2019-6488
1240 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
1241 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1242 * sysdeps/x86_64/strcmp.S: Likewise.
1243 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
1244 tst-size_t-strncmp and tst-size_t-wcsncmp.
1245 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
1246 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
1247 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
1248
82d0b4a4
L
12492019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1250
1251 [BZ# 24097]
1252 CVE-2019-6488
1253 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
1254 RDX_LP for length. Clear the upper 32 bits of RDX register.
1255 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
1256 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
1257 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
1258 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
1259
ecd8b842
L
12602019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1261
1262 [BZ# 24097]
1263 CVE-2019-6488
1264 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
1265 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
1266 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
1267 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
1268
231c5676
L
12692019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1270
1271 [BZ# 24097]
1272 CVE-2019-6488
1273 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
1274 length. Clear the upper 32 bits of RDX register.
1275 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1276 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
1277 Likewise.
1278 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
1279 Likewise.
1280 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
1281 tst-size_t-wmemchr.
1282 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
1283
b304fc20
L
12842019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1285
1286 [BZ# 24097]
1287 CVE-2019-6488
1288 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
1289 length. Clear the upper 32 bits of RDX register.
1290 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1291 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1292 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
1293 tst-size_t-wmemcmp.
1294 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
1295 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
1296
97700a34
L
12972019-01-21 H.J. Lu <hongjiu.lu@intel.com>
1298
1299 [BZ# 24097]
1300 CVE-2019-6488
1301 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
1302 upper 32 bits of RDX register.
1303 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
1304 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
1305 tst-size_t-wmemchr.
1306 * sysdeps/x86_64/x32/test-size_t.h: New file.
1307 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
1308 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
1309
6ca53a24
FW
13102019-01-18 Florian Weimer <fweimer@redhat.com>
1311
1312 [BZ #24112]
1313 resolv: Do not send queries for non-host-names in nss_dns.
1314 * resolv/nss_dns/dns-host.c (check_name): New function.
1315 (_nss_dns_gethostbyname2_r): Use it.
1316 (_nss_dns_gethostbyname_r): Likewise.
1317 (_nss_dns_gethostbyname4_r): Likewise.
1318
5e30b8ef
FW
13192019-01-21 Florian Weimer <fweimer@redhat.com>
1320
1321 * resolv/inet_addr.c: Reformat to GNU style.
1322 (__inet_addr, __inet_aton): Update comment.
1323
71effcea
FW
13242019-01-18 Florian Weimer <fweimer@redhat.com>
1325
1326 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
1327 ("malloc: Use current (C11-style) atomics for fastbin access").
1328 This commit introduces a substantial performance regression on
1329 POWER and Aarch64.
1330 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
1331 (REMOVE_FB): Define.
1332 (_int_malloc): Use it and reindent.
1333 (_int_free): Use CAS loop with
1334 catomic_compare_and_exchange_val_rel.
1335 (malloc_consolidate): Use atomic_exchange_acq.
1336
1337
562f4362
L
13382019-01-18 H.J. Lu <hongjiu.lu@intel.com>
1339
1340 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
1341 -Wl,-z,now.
1342 (LDFLAGS-tst-minsigstksz-2): Likewise.
1343 (LDFLAGS-tst-minsigstksz-3): Likewise.
1344 (LDFLAGS-tst-minsigstksz-3a): Likewise.
1345 (LDFLAGS-tst-minsigstksz-4): Likewise.
1346
80dfa298
TS
13472019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
1348
1349 * manual/time.texi (strftime): Fix the wording to "alternative" rather
1350 than "alternate".
1351
008b598e
PC
13522019-01-16 Paul A. Clarke <pc@us.ibm.com>
1353
1354 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
1355
fbbc9a4e
ZW
13562019-01-16 Zack Weinberg <zackw@panix.com>
1357
1358 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
1359 (xget_sigstack_location): New test support functions.
1360 * support/xsigstack.c: New file, implementing them.
1361 * support/tst-xsigstack.c: New test for them.
1362 * support/Makefile: Update.
1363
1364 * signal/tst-minsigstksz-1.c
1365 * signal/tst-minsigstksz-2.c
1366 * signal/tst-minsigstksz-3.c
1367 * signal/tst-minsigstksz-3a.c
1368 * signal/tst-minsigstksz-4.c: New tests.
1369 * signal/Makefile: Run them.
1370
5f1135e4
SP
13712019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
1372
1373 * po/libc.pot: Regenerate.
1374
ecdacd34
TMQMF
13752019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1376
1377 * math/libm-test-fma.inc (fma_test_data): Set
1378 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
1379
56054664
RA
13802019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
1381
1382 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
1383 (do_test): Changed __vector __int128_t to __vector unsigned int.
1384
1a153e47
LS
13852019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
1386
1387 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1388 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
1389 stpcpy-avx2 and stpncpy-avx2.
1390 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
1391 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
1392 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
1393 and __stpncpy_avx2.
1394 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
1395 ifunc-strcpy.h}: rename header for a more generic name.
1396 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
1397 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
1398 AVX unaligned load is fast and vzeroupper is preferred.
1399 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
1400 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
1401 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
1402 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
1403 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
1404 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
1405
a1b02ae7
DL
14062019-01-12 Dmitry V. Levin <ldv@altlinux.org>
1407
1408 * argp/argp-help.c: Fix typo in comment.
1409 * misc/sys/cdefs.h: Likewise.
1410 * posix/regexec.c (sift_states_iter_mb): Likewise.
1411 * socket/sockatmark.c: Likewise.
1412 * socket/sys/socket.h: Likewise.
1413 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
1414 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
1415 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
1416 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1417 * sysdeps/unix/sockatmark.c: Likewise.
1418 * time/strptime_l.c: Likewise.
1419
5cbbf01e
TS
14202019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
1421
1422 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
1423 missing space after the cast of "_NL_CURRENT".
1424
0bc9bdf1
RA
14252019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
1426
1427 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
1428 ifdef to fix read of VSCR.
1429 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
1430 tst-ucontext-ppc64-vscr.c to test list.
1431 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
1432
5494af04
AH
14332019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
1434
1435 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
1436 fall-through.
1437
e17f63ff
JW
14382019-01-09 Jim Wilson <jimw@sifive.com>
1439
1440 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
1441
02f440c1
WD
14422019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
1443
1444 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
1445 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
1446 __memcpy_falkor for ares.
1447 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
1448 Add new define.
1449 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
1450 Add ares cpu.
1451
69da3c9e
L
14522019-01-07 H.J. Lu <hongjiu.lu@intel.com>
1453
1454 [BZ #24066]
1455 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
1456 4_FP_W_TYPEs are used for IEEE quad precision.
1457 * soft-fp/extendhftf2.c: Likewise.
1458 * soft-fp/extendsftf2.c: Likewise.
1459 * soft-fp/extendxftf2.c: Likewise.
1460 * soft-fp/trunctfdf2.c: Likewise.
1461 * soft-fp/trunctfhf2.c: Likewise.
1462 * soft-fp/trunctfsf2.c: Likewise.
1463 * soft-fp/trunctfxf2.c: Likewise.
1464 * sysdeps/alpha/ots_cvttx.c: Likewise.
1465 * sysdeps/alpha/ots_cvtxt.c: Likewise.
1466 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
1467 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
1468 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
1469 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
1470 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
1471 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
1472 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
1473 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
1474 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
1475 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
1476 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
1477 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
1478 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
1479 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
1480 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
1481 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
1482
2ef42716
AJ
14832019-01-07 Aurelien Jarno <aurelien@aurel32.net>
1484
1485 [BZ #24024]
1486 * Makeconfig: Build libm with -fno-math-errno but build the remaining
1487 code with -fmath-errno.
1488 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
1489 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
1490 * string/test-strerror-errno.c: New file.
1491
7395f3a0
AJ
14922019-01-07 Aurelien Jarno <aurelien@aurel32.net>
1493
1494 [BZ #24046]
1495 * localedata/locales/en_US (date_fmt): Add, set to
1496 "%a %d %b %Y %r %Z".
1497
010fe231
FW
14982019-01-07 Florian Weimer <fweimer@redhat.com>
1499
1500 [BZ #24063]
1501 * manual/arith.texi (Math Error Reporting): Use @code{errno}
1502 instead of @var{errno}.
1503 (Parsing of Integers): Likewise.
1504 (Parsing of Floats): Likewise.
1505 * manual/filesys.texi (Working with Directory Trees): Likewise.
1506 (Temporary Files): Likewise.
1507 * manual/job.texi (Terminal Access Functions): Likewise.
1508 * manual/llio.texi (Synchronizing I/O): Likewise.
1509 * manual/math.texi (SVID Random): Likewise.
1510 * manual/message.texi (The catgets Functions): Likewise.
1511 (Translation with gettext): Likewise.
1512 (Locating gettext catalog): Likewise.
1513 (Charset conversion in gettext): Likewise.
1514 * manual/nss.texi (NSS Module Function Internals): Likewise.
1515 * manual/search.texi (Hash Search Function): Likewise.
1516 * manual/setjmp.texi (System V contexts): Likewise.
1517 * manual/time.texi (Sleeping): Likewise.
1518 * manual/users.texi (Lookup User): Likewise.
1519 (Lookup Group): Likewise.
1520
b79dc8d0
AZ
15212019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1522
1523 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
1524 fix typo.
1525
890461fe 15262019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
27c5e756
MJ
1527
1528 [BZ #19444]
1529 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
1530 __builtin_unreachable for default case in switch.
1531 (__ieee754_yn): Likewise.
1532 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
1533 (__ieee754_ynl): Likewise.
1534 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1535 (__ieee754_ynl): Likewise.
1536 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1537 (__ieee754_ynl): Likewise.
1538
8b18d418
SN
15392019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
1540
1541 * manual/maint.texi: Use @{ and @}.
1542
4392898d
FW
15432019-01-04 Florian Weimer <fweimer@redhat.com>
1544
1545 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
1546 function.
1547 (do_in_chroot_1): Call it.
1548 (run_chroot_tests):
1549 Improve error reporting in case it is not possible to create a
1550 collision for the PTY name required by the test.
1551
17cc27d5
AZ
15522019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1553
ce7eb0e9
AZ
1554 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
1555 lll_wait_tid with timeout.
1556 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
1557 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
1558 futex_reltimed_wait_cancelable for cancelabla mode.
1559 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
1560 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
1561 macros.
1562 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
1563 * sysdeps/posix/waitid.c (__sigwait): Likewise.
1564 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
1565 SYSCALL_CANCEL_NCS): New macro.
1566 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
1567 (lll_timedwait_tid): Remove macro.
1568 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
1569 Likewise.
1570 (lll_timedwait_tid): Likewise.
1571 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
1572 Likewise.
1573 (lll_timedwait_tid): Likewise.
1574 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
1575 Likewise.
1576 (lll_timedwait_tid): Likewise.
1577 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
1578 Use INTERNAL_SYSCALL_CANCEL.
1579 * sysdeps/unix/sysv/linux/futex-internal.h
1580 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
1581 instead of __pthread_{enable,disable}_asynccancel.
1582 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
1583 (lll_futex_wait_cancel): New macro.
1584
0b13e255
AZ
1585 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
1586 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
1587
85c828a4
AZ
1588 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
1589 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
1590
d0d7f85f
AZ
1591 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
1592 in backtrace analysis.
1593 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
1594 side-effects.
1595 (tf_send): Likewise.
1596
17cc27d5
AZ
1597 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
1598 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
1599 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
1600 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
1601 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
1602 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
1603 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
1604 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
1605 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
1606 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
1607 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
1608 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
1609 Likewise.
1610 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
1611 tst-cancel-wrappers.sh.
1612 (generated): Remove tst-cancel-wrappers.out.
1613 (tst-cancel-wrappers.out): Remove rule.
1614 * nptl/tst-cancel-wrappers.sh: Remove file.
1615
7d7af8f1
SN
16162019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
1617
1618 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
1619 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
1620 Update.
1621
805334b2
AZ
16222019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1623
1624 [BZ #23640]
1625 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
1626 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
1627 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
1628 close-on-exec reset for adddup2 file action.
1629 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
1630
03992356
ZW
16312019-01-03 Zack Weinberg <zackw@panix.com>
1632
1633 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
1634 parameter. Only use deprecated scanf when __USE_GNU is defined
1635 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
1636 than 201103L, whichever is relevant for the language being compiled.
1637
1638 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
1639 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
1640 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
1641 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
1642 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
1643
1644 * libio/iovsscanf.c
1645 * libio/fwscanf.c
1646 * libio/iovswscanf.c
1647 * libio/swscanf.c
1648 * libio/vscanf.c
1649 * libio/vwscanf.c
1650 * libio/wscanf.c
1651 * stdio-common/fscanf.c
1652 * stdio-common/scanf.c
1653 * stdio-common/vfscanf.c
1654 * stdio-common/vfwscanf.c
1655 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
1656 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
1657 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
1658 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
1659 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
1660 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
1661 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
1662 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
1663 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
1664 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
1665 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
1666 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
1667 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
1668 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
1669 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
1670
1671 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
1672 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
1673 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
1674 not sscanf.
1675 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
1676 with a preprocessor macro.
1677
1678 * stdio-common/bug21.c, stdio-common/scanf14.c:
1679 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
1680 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
1681 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
1682 to xscanf, xfscanf, xsscanf.
1683
1684 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
1685 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
1686 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
1687 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
1688 xfscanf, xsscanf.
1689 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
1690 override feature selection macros or provide definitions of u_char etc.
1691 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
1692 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
1693 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
1694 with -std=gnu89.
1695
8083afa5
AZ
16962019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1697
6f343c1f
AZ
1698 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1699 bits/termios-misc.h.
1700 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
1701 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1702 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1703 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1704 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
1705 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
1706
51f4beb0
AZ
1707 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
1708 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
1709 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
1710 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
1711 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
1712 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
1713 termios-misc.h.
1714 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
1715 (sysdep_headers): Add termios-misc.h.
1716
f69c5cb2
AZ
1717 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
1718 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1719 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1720
3aa4a07e
AZ
1721 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1722 termios-tcflow.h.
1723 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
1724 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
1725 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
1726 TCSAFLUSH): Move to termios-tcflow.h.
1727 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1728 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1729 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1730 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1731
22679ddf
AZ
1732 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1733 termios-c_lflag.h.
1734 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
1735 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
1736 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
1737 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
1738 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
1739 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
1740 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
1741 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
1742 Likewise.
1743 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1744 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1745 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1746 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1747
72eb6ecc
AZ
1748 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1749 termios-c_cflag.h.
1750 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
1751 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
1752 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
1753 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
1754 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
1755 termios-c_cflag.h.
1756 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1757 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1758 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1759 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1760
9c5d0d02
AZ
1761 [BZ #23783]
1762 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1763 termios-baud.h.
1764 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
1765 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
1766 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
1767 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
1768 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
1769 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
1770 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
1771 __MAX_BAUD): Move to termios-baud.h.
1772 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
1773 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
1774 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1775 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1776 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1777
7b832018
AZ
1778 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
1779 termios-c_oflag.h.
1780 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
1781 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
1782 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
1783 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
1784 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
1785 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
1786 termios-c_oflag.h.
1787 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
1788 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
1789 FFR1): Likewise.
1790 [USE_MISC] (XTABS): Likewise.
1791 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1792 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1793 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1794 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
1795
3127003e
AZ
1796 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
1797 termios-c_iflag.h.
1798 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
1799 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
1800 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
1801 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
1802 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
1803 IUTF8): Move to termios-c_iflag.h.
1804 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1805 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1806 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1807 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1808
48c1dd96
AZ
1809 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
1810 termios-cc.h.
1811 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
1812 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
1813 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
1814 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
1815 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
1816 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
1817 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
1818 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
1819 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1820 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1821 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1822 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1823
e5a50db3
AZ
1824 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
1825 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
1826 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
1827 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
1828 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1829 termios-struct.h.
1830 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
1831 termios-struct.h.
1832 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
1833 Likewise.
1834 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
1835 Likewise.
1836 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
1837 Likewise.
1838 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
1839 Likewise.
1840 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
1841 _HAVE_C_OSPEED): Define.
1842 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
1843 _HAVE_C_OSPEED): Likewise.
1844 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
1845 _HAVE_C_OSPEED): Likewise.
1846 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
1847 (cfsetospeed): Check for define value instead of existence.
1848 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
1849 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
1850 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
1851 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
1852 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
1853
8083afa5
AZ
1854 [BZ #17783]
1855 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
1856 Define.
1857 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
1858 (TIOCSER_TEMT): Likewise.
1859 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
1860 (TEOCSER_TEMT): Likewise.
1861
4d7d7dc6
P
18622019-01-02 PanderMusubi <pander@users.sourceforge.net>
1863
1864 [BZ #24011]
1865 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
1866
8e291a29
JM
18672019-01-02 Joseph Myers <joseph@codesourcery.com>
1868
1869 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
1870
55137f7d
ST
18712019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
1872
1873 * sysdeps/htl/pt-barrierattr-setpshared.c
1874 (pthread_barrierattr_setpshared): Add stub warning.
1875 * sysdeps/htl/pt-condattr-setpshared.c
1876 (pthread_condattr_setpshared): Likewise.
1877 * sysdeps/htl/pt-mutexattr-setpshared.c
1878 (pthread_mutexattr_setpshared): Likewise.
1879 * sysdeps/htl/pt-rwlockattr-setpshared.c
1880 (pthread_rwlockattr_setpshared): Likewise.
1881 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
1882 (pthread_mutexattr_setpshared): Likewise.
1883
2ce09e01
JM
18842019-01-02 Joseph Myers <joseph@codesourcery.com>
1885
acb55dcb
JM
1886 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
1887 constants to match with Linux 4.20.
1888
2ce09e01
JM
1889 * sysdeps/mips/mips32/libm-test-ulps: Update.
1890 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1891
fe20bb1d
AJ
18922019-01-02 Aurelien Jarno <aurelien@aurel32.net>
1893
1894 [BZ #24034]
1895 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
1896 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
1897 than __typeof (...) for the a_ptr variable.
1898
2d9837c1
GG
18992019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1900
1901 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
1902 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
1903 * libio/Makefile (tests): Add tst-sprintf-ub and
1904 tst-sprintf-chk-ub.
1905 (CFLAGS-tst-sprintf-ub.c): New variable.
1906 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
1907 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
1908 destination buffer and check for overflows in fortified mode.
1909 * libio/libioP.h (PRINTF_CHK): New macro.
1910 * libio/tst-sprintf-chk-ub.c: New file.
1911 * libio/tst-sprintf-ub.c: Likewise.
1912
d5c6df0b 19132019-01-02 Florian Weimer <fweimer@redhat.com>
8c1aafc1
FW
1914
1915 [BZ #24018]
1916 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
1917 failure.
1918
66081e38
FW
19192019-01-02 Florian Weimer <fweimer@redhat.com>
1920
1921 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
1922
04277e02
JM
19232019-01-01 Joseph Myers <joseph@codesourcery.com>
1924
6ef3d225
JM
1925 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
1926 macro.
1927
e3d4e292
JM
1928 * sysdeps/unix/sysv/linux/netpacket/packet.h
1929 (PACKET_IGNORE_OUTGOING): New macro.
1930
f4507797
JM
1931 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
1932 macro.
1933
47ad5e1a
JM
1934 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1935 version to 4.20.
1936 (riscv_flush_icache): New syscall.
1937
7628a1b0
JM
1938 * manual/texinfo.tex: Update to version 2018-12-28.17 with
1939 trailing whitespace removed.
1940 * scripts/config.guess: Update to version 2019-01-01.
1941 * scripts/config.sub: Update to version 2019-01-01.
1942 * scripts/move-if-change: Update from gnulib.
1943
c9123888
JM
1944 * NEWS: Update copyright dates.
1945 * catgets/gencat.c (print_version): Likewise.
1946 * csu/version.c (banner): Likewise.
1947 * debug/catchsegv.sh: Likewise.
1948 * debug/pcprofiledump.c (print_version): Likewise.
1949 * debug/xtrace.sh (do_version): Likewise.
1950 * elf/ldconfig.c (print_version): Likewise.
1951 * elf/ldd.bash.in: Likewise.
1952 * elf/pldd.c (print_version): Likewise.
1953 * elf/sotruss.sh: Likewise.
1954 * elf/sprof.c (print_version): Likewise.
1955 * iconv/iconv_prog.c (print_version): Likewise.
1956 * iconv/iconvconfig.c (print_version): Likewise.
1957 * locale/programs/locale.c (print_version): Likewise.
1958 * locale/programs/localedef.c (print_version): Likewise.
1959 * login/programs/pt_chown.c (print_version): Likewise.
1960 * malloc/memusage.sh (do_version): Likewise.
1961 * malloc/memusagestat.c (print_version): Likewise.
1962 * malloc/mtrace.pl: Likewise.
1963 * manual/libc.texinfo: Likewise.
1964 * nptl/version.c (banner): Likewise.
1965 * nscd/nscd.c (print_version): Likewise.
1966 * nss/getent.c (print_version): Likewise.
1967 * nss/makedb.c (print_version): Likewise.
1968 * posix/getconf.c (main): Likewise.
1969 * scripts/test-installation.pl: Likewise.
1970 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1971
04277e02
JM
1972 * All files with FSF copyright notices: Update copyright dates
1973 using scripts/update-copyrights.
1974 * locale/programs/charmap-kw.h: Regenerated.
1975 * locale/programs/locfile-kw.h: Likewise.
1976
e740e5b1
JM
19772018-12-31 Joseph Myers <joseph@codesourcery.com>
1978
1979 * timezone/zdump.c: Update from tzcode 2018i.
1980 * timezone/zic.c: Likewise.
1981
9b7f98b3
PE
19822018-12-31 Paul Eggert <eggert@cs.ucla.edu>
1983
1984 regex: improve Gnulib port to AIX
1985 From the glibc point of view, this removes duplicate macro
1986 definitions and is obviously safe.
1987 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
1988 * posix/regex_internal.h:
1989 (__attribute__, __attribute_warn_unused_result__):
1990 Remove; already defined elsewhere.
1991
b50dd3bc
FW
19922018-12-31 Florian Weimer <fw@deneb.enyo.de>
1993
1994 [BZ #24027]
1995 * malloc/malloc.c (_int_realloc): Always call memcpy for the
1996 copying operation. (ncopies had the wrong type, resulting in an
1997 integer wraparound and too few elements being copied.)
1998
0b9c8490
L
19992018-12-31 H.J. Lu <hongjiu.lu@intel.com>
2000
2001 [BZ #24022]
2002 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
2003 <asm/syscalls.h> exists with __has_include__ before including it.
2004
01047fa6
JM
20052018-12-31 Joseph Myers <joseph@codesourcery.com>
2006
2007 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2008 version to 4.20.
2009
065957a3
JW
20102018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
2011
2012 * hurd/lookup-retry: Include <unistd.h>.
2013 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
2014 Release it on return. Handle "pid" magical lookup retry.
2015
989182c4
RL
20162018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
2017
2018 [BZ #10496]
2019 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
2020 (t_fmt_ampm): Likewise.
2021 * localedata/locales/aa_ER (t_fmt): Likewise.
2022 (t_fmt_ampm): Likewise.
2023 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
2024 (t_fmt_ampm): Likewise.
2025 * localedata/locales/aa_ET (t_fmt): Likewise.
2026 (t_fmt_ampm): Likewise.
2027 * localedata/locales/am_ET (t_fmt): Likewise.
2028 (t_fmt_ampm): Likewise.
2029 * localedata/locales/byn_ER (t_fmt): Likewise.
2030 (t_fmt_ampm): Likewise.
2031 * localedata/locales/om_ET (t_fmt): Likewise.
2032 (t_fmt_ampm): Likewise.
2033 * localedata/locales/sid_ET (t_fmt): Likewise.
2034 (t_fmt_ampm): Likewise.
2035 * localedata/locales/so_DJ (t_fmt): Likewise.
2036 (t_fmt_ampm): Likewise.
2037 * localedata/locales/so_ET (t_fmt): Likewise.
2038 (t_fmt_ampm): Likewise.
2039 * localedata/locales/so_SO (t_fmt): Likewise.
2040 (t_fmt_ampm): Likewise.
2041 * localedata/locales/ti_ER (t_fmt): Likewise.
2042 (t_fmt_ampm): Likewise.
2043 * localedata/locales/ti_ET (t_fmt): Likewise.
2044 (t_fmt_ampm): Likewise.
2045 * localedata/locales/tig_ER (t_fmt): Likewise.
2046 (t_fmt_ampm): Likewise.
2047 * localedata/locales/wal_ET (t_fmt): Likewise.
2048 (t_fmt_ampm): Likewise.
2049
2050 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
2051 * localedata/locales/ar_IN (t_fmt): Likewise.
2052 * localedata/locales/bhb_IN (t_fmt): Likewise.
2053 * localedata/locales/bho_IN (t_fmt): Likewise.
2054 * localedata/locales/bi_VU (t_fmt): Likewise.
2055 * localedata/locales/bn_BD (t_fmt): Likewise.
2056 * localedata/locales/bn_IN (t_fmt): Likewise.
2057 * localedata/locales/brx_IN (t_fmt): Likewise.
2058 * localedata/locales/doi_IN (t_fmt): Likewise.
2059 * localedata/locales/en_HK (t_fmt): Likewise.
2060 (t_fmt_ampm): Likewise.
2061 * localedata/locales/en_IN (t_fmt): Likewise.
2062 * localedata/locales/en_PH (t_fmt): Likewise.
2063 * localedata/locales/gu_IN (t_fmt): Likewise.
2064 * localedata/locales/hi_IN (t_fmt): Likewise.
2065 * localedata/locales/hif_FJ (t_fmt): Likewise.
2066 * localedata/locales/hne_IN (t_fmt): Likewise.
2067 * localedata/locales/kn_IN (t_fmt): Likewise.
2068 * localedata/locales/kok_IN (t_fmt): Likewise.
2069 * localedata/locales/ks_IN (t_fmt): Likewise.
2070 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
2071 * localedata/locales/mag_IN (t_fmt): Likewise.
2072 * localedata/locales/mai_IN (t_fmt): Likewise.
2073 * localedata/locales/mjw_IN (t_fmt): Likewise.
2074 * localedata/locales/ml_IN (t_fmt): Likewise.
2075 * localedata/locales/mni_IN (t_fmt): Likewise.
2076 * localedata/locales/mr_IN (t_fmt): Likewise.
2077 * localedata/locales/ms_MY (t_fmt): Likewise.
2078 * localedata/locales/pa_IN (t_fmt): Likewise.
2079 * localedata/locales/raj_IN (t_fmt): Likewise.
2080 * localedata/locales/sa_IN (t_fmt): Likewise.
2081 * localedata/locales/sat_IN (t_fmt): Likewise.
2082 * localedata/locales/sd_IN (t_fmt): Likewise.
2083 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
2084 * localedata/locales/tcy_IN (t_fmt): Likewise.
2085 * localedata/locales/the_NP (t_fmt): Likewise.
2086 * localedata/locales/to_TO (t_fmt): Likewise.
2087 * localedata/locales/ur_IN (t_fmt): Likewise.
2088
2089 * localedata/locales/hif_FJ (d_t_fmt): Set to
2090 "%A %d %b %Y %I:%M:%S %p".
2091 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
2092
2093 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
2094 * localedata/locales/ar_BH (t_fmt): Likewise.
2095 * localedata/locales/ar_DZ (t_fmt): Likewise.
2096 * localedata/locales/ar_EG (t_fmt): Likewise.
2097 * localedata/locales/ar_IQ (t_fmt): Likewise.
2098 * localedata/locales/ar_JO (t_fmt): Likewise.
2099 * localedata/locales/ar_KW (t_fmt): Likewise.
2100 * localedata/locales/ar_LB (t_fmt): Likewise.
2101 * localedata/locales/ar_LY (t_fmt): Likewise.
2102 * localedata/locales/ar_OM (t_fmt): Likewise.
2103 * localedata/locales/ar_QA (t_fmt): Likewise.
2104 * localedata/locales/ar_SD (t_fmt): Likewise.
2105 * localedata/locales/ar_SS (t_fmt): Likewise.
2106 * localedata/locales/ar_SY (t_fmt): Likewise.
2107 * localedata/locales/ar_TN (t_fmt): Likewise.
2108 * localedata/locales/ar_YE (t_fmt): Likewise.
2109
2110 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
2111 (t_fmt_ampm): Likewise.
2112 * localedata/locales/gez_ET (t_fmt): Likewise.
2113 (t_fmt_ampm): Likewise.
2114
2115 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
2116 (t_fmt_ampm): Likewise.
2117 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
2118
2119 * localedata/locales/zh_HK (t_fmt):
2120 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
2121
2122 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
2123 because this locale does not use the 12-hour clock.
2124 (t_fmt): Set to "%Z %H:%M:%S".
2125 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
2126
2127 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
2128 because this locale does not use the 12-hour clock.
2129 (t_fmt): Set to "%H:%M:%S %Z".
2130 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
2131
2132 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
2133 because this locale does not use the 12-hour clock.
2134 (t_fmt): Set to "%T".
2135 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
2136 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
2137
2138 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
2139 because this locale does not use the 12-hour clock.
2140 (t_fmt): Set to "%H:%M:%S %Z".
2141 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
2142
2143 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
2144 because this locale does not use the 12-hour clock.
2145 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
2146 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
2147
27841a7d
RL
21482018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
2149
2150 [BZ #10496]
2151 [BZ #23724]
2152 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
2153 (t_fmt_ampm): Likewise.
2154 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
2155 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
2156 (d_fmt): Set to "%-d.%-m.%y".
2157
0253580a
AZ
21582018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2159
2160 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
2161 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
2162 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
2163 Likewise.
2164 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
2165 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
2166 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
2167 function.
2168 * support/blob_repeat.c (check_mul_overflow_size_t,
2169 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
2170
09104e5b
AJ
21712018-12-28 Aurelien Jarno <aurelien@aurel32.net>
2172
2173 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
2174
c0feb731
PE
21752018-12-27 Paul Eggert <eggert@cs.ucla.edu>
2176
2177 regex: simplify Gnulib port
2178 This simplifies the code, by removing stuff intended for porting
2179 to Gnulib but no longer needed there.
2180 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
2181 uses of libc_hidden_def, weak_alias.
2182 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
2183 _Restrict_ except for public-facing headers.
2184 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
2185 Remove; already defined elsewhere.
2186 * posix/regex.c, posix/regex_internal.h:
2187 Use __GNUC_PREREQ instead of rolling our own.
2188 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
2189
5289f1f5
WD
21902018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
2191
2192 * benchtests/bench-strlen.c (generic_strlen): New function.
2193 (memchr_strlen): New function.
2194
ba4b8fab
L
21952018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2196
2197 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
2198 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
2199 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
2200
9412979a
L
22012018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2202
2203 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2204
8700a785
L
22052018-12-26 H.J. Lu <hongjiu.lu@intel.com>
2206
2207 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
2208 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
2209 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
2210 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
2211 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
2212 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
2213 <sysdeps/ieee754/flt-32/s_sincosf.c>.
2214
57b3ff8e
JM
22152018-12-21 Joseph Myers <joseph@codesourcery.com>
2216
2217 [BZ #24023]
2218 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
2219 PLT reference in libc.so.
2220 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
2221 _Q_lltoq and _Q_qtod PLT references in libc.so.
2222
90d3320d
WD
22232018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
2224
2225 * benchtests/bench-memchr.c: Cleanup defines.
2226 * benchtests/bench-memcmp.c: Likewise.
2227 * benchtests/bench-memset.c: Likewise.
2228 * benchtests/bench-memset-large.c: Likewise.
2229 * benchtests/bench-memset-walk.c: Likewise.
2230 * benchtests/bench-stpcpy.c: Likewise.
2231 * benchtests/bench-stpncpy.c: Likewise.
2232 * benchtests/bench-strcat.c: Likewise.
2233 * benchtests/bench-strchr.c: Likewise.
2234 * benchtests/bench-strcmp.c: Likewise.
2235 * benchtests/bench-strcpy.c: Likewise.
2236 * benchtests/bench-strcspn.c: Likewise.
2237 * benchtests/bench-string.h: Likewise.
2238 * benchtests/bench-strlen.c: Likewise.
2239 * benchtests/bench-strncat.c: Likewise.
2240 * benchtests/bench-strncmp.c: Likewise.
2241 * benchtests/bench-strncpy.c: Likewise.
2242 * benchtests/bench-strnlen.c: Likewise.
2243 * benchtests/bench-strpbrk.c: Likewise.
2244 * benchtests/bench-strrchr.c: Likewise.
2245 * benchtests/bench-strspn.c: Likewise.
2246
192963be
JM
22472018-12-21 Joseph Myers <joseph@codesourcery.com>
2248
5d025ea6
JM
2249 * stdlib/longlong.h: Update from GCC.
2250
192963be
JM
2251 [BZ #23993]
2252 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
2253 * configure: Regenerated.
2254 * manual/install.texi (Tools for Compilation): Update minimum GCC
2255 version.
2256 * INSTALL: Regenerated.
2257
c0e82f11
IK
22582018-12-21 Istvan Kurucsai <pistukem@gmail.com>
2259
2260 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
2261
ebe544bf
IK
22622018-12-20 Istvan Kurucsai <pistukem@gmail.com>
2263
2264 * malloc/malloc.c (mremap_chunk): Additional checks.
2265
5f72b005
MH
22662018-12-21 Mao Han <han_mao@c-sky.com>
2267
2268 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
2269 * scripts/build-many-glibcs.py: Add C-SKY targets.
2270 * sysdeps/csky/Implies: New file.
2271 * sysdeps/csky/Makefile: Likewise.
2272 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
2273 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
2274 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
2275 * sysdeps/csky/abiv2/memcmp.S: Likewise.
2276 * sysdeps/csky/abiv2/memcpy.S: Likewise.
2277 * sysdeps/csky/abiv2/memmove.S: Likewise.
2278 * sysdeps/csky/abiv2/memset.S: Likewise.
2279 * sysdeps/csky/abiv2/setjmp.S: Likewise.
2280 * sysdeps/csky/abiv2/start.S: Likewise.
2281 * sysdeps/csky/abiv2/strcmp.S: Likewise.
2282 * sysdeps/csky/abiv2/strcpy.S: Likewise.
2283 * sysdeps/csky/abiv2/strlen.S: Likewise.
2284 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
2285 * sysdeps/csky/abort-instr.h: Likewise.
2286 * sysdeps/csky/atomic-machine.h: Likewise.
2287 * sysdeps/csky/bits/endian.h: Likewise.
2288 * sysdeps/csky/bits/fenv.h: Likewise.
2289 * sysdeps/csky/bits/link.h: Likewise.
2290 * sysdeps/csky/bits/setjmp.h: Likewise.
2291 * sysdeps/csky/bsd-_setjmp.S: Likewise.
2292 * sysdeps/csky/bsd-setjmp.S: Likewise.
2293 * sysdeps/csky/configure: Likewise.
2294 * sysdeps/csky/configure.ac: Likewise.
2295 * sysdeps/csky/dl-machine.h: Likewise.
2296 * sysdeps/csky/dl-procinfo.c: Likewise.
2297 * sysdeps/csky/dl-procinfo.h: Likewise.
2298 * sysdeps/csky/dl-sysdep.h: Likewise.
2299 * sysdeps/csky/dl-tls.h: Likewise.
2300 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
2301 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
2302 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
2303 * sysdeps/csky/fpu/fegetenv.c: Likewise.
2304 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
2305 * sysdeps/csky/fpu/fegetmode.c: Likewise.
2306 * sysdeps/csky/fpu/fegetround.c: Likewise.
2307 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
2308 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
2309 * sysdeps/csky/fpu/fenv_private.h: Likewise.
2310 * sysdeps/csky/fpu/fesetenv.c: Likewise.
2311 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
2312 * sysdeps/csky/fpu/fesetmode.c: Likewise.
2313 * sysdeps/csky/fpu/fesetround.c: Likewise.
2314 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
2315 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
2316 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
2317 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
2318 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
2319 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
2320 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
2321 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
2322 * sysdeps/csky/fpu_control.h: Likewise.
2323 * sysdeps/csky/gccframe.h: Likewise.
2324 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
2325 * sysdeps/csky/ldsodefs.h: Likewise.
2326 * sysdeps/csky/libc-tls.c: Likewise.
2327 * sysdeps/csky/linkmap.h: Likewise.
2328 * sysdeps/csky/machine-gmon.h: Likewise.
2329 * sysdeps/csky/memusage.h: Likewise.
2330 * sysdeps/csky/nofpu/Implies: Likewise.
2331 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
2332 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
2333 * sysdeps/csky/nptl/Makefile: Likewise.
2334 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
2335 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
2336 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
2337 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
2338 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
2339 * sysdeps/csky/nptl/tls.h: Likewise.
2340 * sysdeps/csky/preconfigure: Likewise.
2341 * sysdeps/csky/sfp-machine.h: Likewise.
2342 * sysdeps/csky/sotruss-lib.c: Likewise.
2343 * sysdeps/csky/stackinfo.h: Likewise.
2344 * sysdeps/csky/sysdep.h: Likewise.
2345 * sysdeps/csky/tininess.h: Likewise.
2346 * sysdeps/csky/tst-audit.h: Likewise.
2347 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
2348 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
2349 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
2350 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
2351 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
2352 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
2353 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
2354 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
2355 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
2356 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
2357 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
2358 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
2359 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
2360 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
2361 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
2362 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
2363 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
2364 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
2365 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
2366 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
2367 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
2368 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
2369 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
2370 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
2371 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
2372 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
2373 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
2374 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
2375 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
2376 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
2377 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
2378 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
2379 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
2380 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
2381 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
2382 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
2383 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
2384 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
2385 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
2386 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
2387 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
2388 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
2389 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
2390 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
2391
ac253355
AA
23922018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
2393
2394 * include/time.h (__difftime64): Add.
2395 * time/difftime.c (subtract): convert to 64-bit time.
2396 * time/difftime.c (__difftime64): Add.
2397 * time/difftime.c (__difftime): Wrap around __difftime64.
2398
ab416931
L
23992018-12-20 H.J. Lu <hongjiu.lu@intel.com>
2400
2401 * manual/examples/add.c: Remove redundant "if not".
2402 * manual/examples/argp-ex1.c: Likewise.
2403 * manual/examples/argp-ex2.c: Likewise.
2404 * manual/examples/argp-ex3.c: Likewise.
2405 * manual/examples/argp-ex4.c: Likewise.
2406 * manual/examples/atexit.c: Likewise.
2407 * manual/examples/db.c: Likewise.
2408 * manual/examples/dir.c: Likewise.
2409 * manual/examples/dir2.c: Likewise.
2410 * manual/examples/execinfo.c: Likewise.
2411 * manual/examples/filecli.c: Likewise.
2412 * manual/examples/filesrv.c: Likewise.
2413 * manual/examples/fmtmsgexpl.c: Likewise.
2414 * manual/examples/genpass.c: Likewise.
2415 * manual/examples/inetcli.c: Likewise.
2416 * manual/examples/inetsrv.c: Likewise.
2417 * manual/examples/isockad.c: Likewise.
2418 * manual/examples/longopt.c: Likewise.
2419 * manual/examples/memopen.c: Likewise.
2420 * manual/examples/memstrm.c: Likewise.
2421 * manual/examples/mkdirent.c: Likewise.
2422 * manual/examples/mkfsock.c: Likewise.
2423 * manual/examples/mkisock.c: Likewise.
2424 * manual/examples/mygetpass.c: Likewise.
2425 * manual/examples/pipe.c: Likewise.
2426 * manual/examples/popen.c: Likewise.
2427 * manual/examples/rprintf.c: Likewise.
2428 * manual/examples/search.c: Likewise.
2429 * manual/examples/select.c: Likewise.
2430 * manual/examples/setjmp.c: Likewise.
2431 * manual/examples/sigh1.c: Likewise.
2432 * manual/examples/sigusr.c: Likewise.
2433 * manual/examples/stpcpy.c: Likewise.
2434 * manual/examples/strdupa.c: Likewise.
2435 * manual/examples/strftim.c: Likewise.
2436 * manual/examples/subopt.c: Likewise.
2437 * manual/examples/swapcontext.c: Likewise.
2438 * manual/examples/termios.c: Likewise.
2439 * manual/examples/testopt.c: Likewise.
2440 * manual/examples/testpass.c: Likewise.
2441 * manual/examples/timeval_subtract.c: Likewise.
2442
515f463f
JM
24432018-12-19 Joseph Myers <joseph@codesourcery.com>
2444
da75c1b1
JM
2445 * sysdeps/x86/fpu/math_private.h: New file.
2446 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
2447
515f463f
JM
2448 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
2449 definition.
2450 (cosh): Likewise.
2451 (tanh): Likewise.
2452
1616d034
TMQMF
24532018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2454
2455 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
2456 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
2457 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
2458 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
2459 fields.
2460 (_dl_show_auxv): Give a special treatment to
2461 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
2462 and AT_L3_CACHEGEOMETRY.
2463 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
2464 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
2465 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
2466 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
2467
61595e3d
AS
24682018-12-19 Andreas Schwab <schwab@suse.de>
2469
2470 * nscd/connections.c (check_use): Don't abort on invalid len.
2471
bbb7dc84
ST
24722018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
2473
2474 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
2475 values in the 64bit value cases.
2476
64c2277d
AA
24772018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
2478
c4c2836a
AA
2479 * include/time.h
2480 (__ctime64_r): Add.
2481 * time/ctime_r.c
2482 (__ctime64_r): Add.
2483 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
2484
7755e504
AA
2485 * include/time.h
2486 (__ctime64): Add.
2487 * time/gmtime.c
2488 (__ctime64): Add.
2489 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
2490
a1d346ce
AA
2491 * include/time.h
2492 (__gmtime64_r): Add.
2493 * time/gmtime.c
2494 (__gmtime64_r): Add.
2495 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
2496
131db8b0
AA
2497 * include/time.h
2498 (__gmtime64): Add.
2499 * time/gmtime.c
2500 (__gmtime64): Add.
2501 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
2502
64c2277d
AA
2503 * include/time.h
2504 (__localtime64_r): Add.
2505 * time/localtime.c
2506 (__localtime64_r): Add.
2507 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
2508
56b98bf1
AZ
25092018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2510
64dd7a16
AZ
2511 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
2512 kernel_sigction definition.
2513
8b1d5da5
AZ
2514 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
2515
f9eabb19
AZ
2516 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
2517
56b98bf1
AZ
2518 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
2519 __syscall_rt_sigaction.
2520 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
2521 (kernel_sigaction): Use Linux generic defintion.
2522 (STUB): Define.
2523 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
2524 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
2525 (__syscall_rt_sigaction): Remove implementation.
2526 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
2527 hidden.
2528 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
2529 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
2530 INTERNAL_SYSCALL): Remove definitions.
2531 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
2532 action and signal set size.
2533 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
2534 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
2535
43a45c2d
AZ
25362018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2537 James Clarke <jrtc27@jrtc27.com>
2538
dfa6216f 2539 [BZ #23967]
43a45c2d
AZ
2540 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
2541 Define if SA_RESTORER is defined.
2542 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
2543 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
2544 already defined.
2545 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
2546 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
2547 definitions.
2548 (HAS_SA_RESTORER): Define.
2549 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
2550 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
2551 (HAS_SA_RESTORER): Define.
2552 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
2553 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
2554 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
2555 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
2556 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2557
646ce7e0
JM
25582018-12-18 Joseph Myers <joseph@codesourcery.com>
2559
2560 * sysdeps/unix/sysv/linux/kernel-features.h
2561 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
2562 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2563 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
2564 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2565 (__ASSUME_ST_INO_64_BIT): Likewise.
2566 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2567 <kernel-features.h>.
2568 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
2569 Remove conditional code.
2570 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2571 <kernel-features.h>.
2572 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
2573 Remove conditional code.
2574 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
2575 <kernel-features.h>.
2576 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
2577 Remove conditional code.
2578 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
2579 <kernel-features.h>.
2580 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
2581 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
2582
80190d2b
SL
25832018-12-18 Stefan Liebler <stli@linux.ibm.com>
2584
2585 * sysdeps/s390/multiarch/ifunc-resolve.h
2586 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
2587 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
2588 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
2589 Delete macro definition.
2590 (s390_libc_ifunc_init): Rename to
2591 s390_libc_ifunc_expr_stfle_init.
2592 * sysdeps/s390/bzero: Use
2593 s390_libc_ifunc_expr_stfle_init instead of
2594 s390_libc_ifunc_init.
2595 * sysdeps/s390/memcmp.c: Likewise.
2596 * sysdeps/s390/memcpy.c: Likewise.
2597 * sysdeps/s390/mempcpy.c: Likewise.
2598 * sysdeps/s390/memset.c: Likewise.
2599
12f0dcb8
SL
26002018-12-18 Stefan Liebler <stli@linux.ibm.com>
2601
2602 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
2603 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
2604
25654a8c
SL
26052018-12-18 Stefan Liebler <stli@linux.ibm.com>
2606
2607 * sysdeps/s390/multiarch/Makefile
2608 (sysdep_routines): Remove wmemcmp variants.
2609 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
2610 * sysdeps/s390/multiarch/ifunc-impl-list.c
2611 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
2612 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
2613 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
2614 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
2615 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
2616 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
2617 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
2618 * sysdeps/s390/ifunc-wmemcmp.h: New file.
2619
d2a7436c
SL
26202018-12-18 Stefan Liebler <stli@linux.ibm.com>
2621
2622 * sysdeps/s390/multiarch/Makefile
2623 (sysdep_routines): Remove wmemset variants.
2624 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
2625 * sysdeps/s390/multiarch/ifunc-impl-list.c
2626 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
2627 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
2628 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
2629 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
2630 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
2631 * sysdeps/s390/multiarch/wmemset.c: Move to ...
2632 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
2633 * sysdeps/s390/ifunc-wmemset.h: New file.
2634
c62534ae
SL
26352018-12-18 Stefan Liebler <stli@linux.ibm.com>
2636
2637 * sysdeps/s390/multiarch/Makefile
2638 (sysdep_routines): Remove wmemchr variants.
2639 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
2640 * sysdeps/s390/multiarch/ifunc-impl-list.c
2641 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
2642 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
2643 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
2644 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
2645 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
2646 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
2647 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
2648 * sysdeps/s390/ifunc-wmemchr.h: New file.
2649
79b44cf6
SL
26502018-12-18 Stefan Liebler <stli@linux.ibm.com>
2651
2652 * sysdeps/s390/multiarch/Makefile
2653 (sysdep_routines): Remove wcscspn variants.
2654 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
2655 * sysdeps/s390/multiarch/ifunc-impl-list.c
2656 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
2657 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
2658 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
2659 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
2660 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
2661 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
2662 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
2663 * sysdeps/s390/ifunc-wcscspn.h: New file.
2664
8e87c1f6
SL
26652018-12-18 Stefan Liebler <stli@linux.ibm.com>
2666
2667 * sysdeps/s390/multiarch/Makefile
2668 (sysdep_routines): Remove wcspbrk variants.
2669 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
2670 * sysdeps/s390/multiarch/ifunc-impl-list.c
2671 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
2672 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
2673 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
2674 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
2675 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
2676 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
2677 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
2678 * sysdeps/s390/ifunc-wcspbrk.h: New file.
2679
8507e831
SL
26802018-12-18 Stefan Liebler <stli@linux.ibm.com>
2681
2682 * sysdeps/s390/multiarch/Makefile
2683 (sysdep_routines): Remove wcsspn variants.
2684 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
2685 * sysdeps/s390/multiarch/ifunc-impl-list.c
2686 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
2687 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
2688 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
2689 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
2690 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
2691 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
2692 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
2693 * sysdeps/s390/ifunc-wcsspn.h: New file.
2694
4753713a
SL
26952018-12-18 Stefan Liebler <stli@linux.ibm.com>
2696
2697 * sysdeps/s390/multiarch/Makefile
2698 (sysdep_routines): Remove wcsrchr variants.
2699 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
2700 * sysdeps/s390/multiarch/ifunc-impl-list.c
2701 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
2702 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
2703 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
2704 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
2705 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
2706 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
2707 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
2708 * sysdeps/s390/ifunc-wcsrchr.h: New file.
2709
c09c1b6f
SL
27102018-12-18 Stefan Liebler <stli@linux.ibm.com>
2711
2712 * sysdeps/s390/multiarch/Makefile
2713 (sysdep_routines): Remove wcschrnul variants.
2714 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
2715 * sysdeps/s390/multiarch/ifunc-impl-list.c
2716 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
2717 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
2718 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
2719 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
2720 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
2721 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
2722 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
2723 * sysdeps/s390/ifunc-wcschrnul.h: New file.
2724
cf3ccc31
SL
27252018-12-18 Stefan Liebler <stli@linux.ibm.com>
2726
2727 * sysdeps/s390/multiarch/Makefile
2728 (sysdep_routines): Remove wcschr variants.
2729 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
2730 * sysdeps/s390/multiarch/ifunc-impl-list.c
2731 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
2732 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
2733 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
2734 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
2735 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
2736 * sysdeps/s390/multiarch/wcschr.c: Move to ...
2737 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
2738 * sysdeps/s390/ifunc-wcschr.h: New file.
2739
e9873e1d
SL
27402018-12-18 Stefan Liebler <stli@linux.ibm.com>
2741
2742 * sysdeps/s390/multiarch/Makefile
2743 (sysdep_routines): Remove wcsncmp variants.
2744 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
2745 * sysdeps/s390/multiarch/ifunc-impl-list.c
2746 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
2747 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
2748 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
2749 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
2750 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
2751 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
2752 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
2753 * sysdeps/s390/ifunc-wcsncmp.h: New file.
2754
3459e23d
SL
27552018-12-18 Stefan Liebler <stli@linux.ibm.com>
2756
2757 * sysdeps/s390/multiarch/Makefile
2758 (sysdep_routines): Remove wcscmp variants.
2759 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
2760 * sysdeps/s390/multiarch/ifunc-impl-list.c
2761 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
2762 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
2763 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
2764 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
2765 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
2766 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
2767 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
2768 * sysdeps/s390/ifunc-wcscmp.h: New file.
2769
814a76e1
SL
27702018-12-18 Stefan Liebler <stli@linux.ibm.com>
2771
2772 * sysdeps/s390/multiarch/Makefile
2773 (sysdep_routines): Remove wcsncat variants.
2774 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
2775 * sysdeps/s390/multiarch/ifunc-impl-list.c
2776 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
2777 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
2778 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
2779 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
2780 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
2781 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
2782 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
2783 * sysdeps/s390/ifunc-wcsncat.h: New file.
2784
3389cae4
SL
27852018-12-18 Stefan Liebler <stli@linux.ibm.com>
2786
2787 * sysdeps/s390/multiarch/Makefile
2788 (sysdep_routines): Remove wcscat variants.
2789 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
2790 * sysdeps/s390/multiarch/ifunc-impl-list.c
2791 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
2792 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
2793 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
2794 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
2795 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
2796 * sysdeps/s390/multiarch/wcscat.c: Move to ...
2797 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
2798 * sysdeps/s390/ifunc-wcscat.h: New file.
2799
c3081bcb
SL
28002018-12-18 Stefan Liebler <stli@linux.ibm.com>
2801
2802 * sysdeps/s390/multiarch/Makefile
2803 (sysdep_routines): Remove wcpncpy variants.
2804 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
2805 * sysdeps/s390/multiarch/ifunc-impl-list.c
2806 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
2807 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
2808 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
2809 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
2810 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
2811 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
2812 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
2813 * sysdeps/s390/ifunc-wcpncpy.h: New file.
2814
0966dd86
SL
28152018-12-18 Stefan Liebler <stli@linux.ibm.com>
2816
2817 * sysdeps/s390/multiarch/Makefile
2818 (sysdep_routines): Remove wcsncpy variants.
2819 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
2820 * sysdeps/s390/multiarch/ifunc-impl-list.c
2821 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
2822 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
2823 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
2824 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
2825 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
2826 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
2827 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
2828 * sysdeps/s390/ifunc-wcsncpy.h: New file.
2829
0582e428
SL
28302018-12-18 Stefan Liebler <stli@linux.ibm.com>
2831
2832 * sysdeps/s390/multiarch/Makefile
2833 (sysdep_routines): Remove wcpcpy variants.
2834 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
2835 * sysdeps/s390/multiarch/ifunc-impl-list.c
2836 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
2837 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
2838 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
2839 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
2840 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
2841 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
2842 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
2843 * sysdeps/s390/ifunc-wcpcpy.h: New file.
2844
804f2e5c
SL
28452018-12-18 Stefan Liebler <stli@linux.ibm.com>
2846
2847 * sysdeps/s390/multiarch/Makefile
2848 (sysdep_routines): Remove wcscpy variants.
2849 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
2850 * sysdeps/s390/multiarch/ifunc-impl-list.c
2851 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
2852 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
2853 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
2854 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
2855 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
2856 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
2857 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
2858 * sysdeps/s390/ifunc-wcscpy.h: New file.
2859
c7e7cd26
SL
28602018-12-18 Stefan Liebler <stli@linux.ibm.com>
2861
2862 * sysdeps/s390/multiarch/Makefile
2863 (sysdep_routines): Remove wcsnlen variants.
2864 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
2865 * sysdeps/s390/multiarch/ifunc-impl-list.c
2866 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
2867 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
2868 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
2869 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
2870 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
2871 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
2872 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
2873 * sysdeps/s390/ifunc-wcsnlen.h: New file.
2874
2e02d0b7
SL
28752018-12-18 Stefan Liebler <stli@linux.ibm.com>
2876
2877 * sysdeps/s390/multiarch/Makefile
2878 (sysdep_routines): Remove wcslen variants.
2879 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
2880 * sysdeps/s390/multiarch/ifunc-impl-list.c
2881 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
2882 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
2883 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
2884 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
2885 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
2886 * sysdeps/s390/multiarch/wcslen.c: Move to ...
2887 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
2888 * sysdeps/s390/ifunc-wcslen.h: New file.
2889
89bfcbdf
SL
28902018-12-18 Stefan Liebler <stli@linux.ibm.com>
2891
2892 * sysdeps/s390/multiarch/Makefile
2893 (sysdep_routines): Remove memrchr variants.
2894 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
2895 * sysdeps/s390/multiarch/ifunc-impl-list.c
2896 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
2897 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
2898 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
2899 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
2900 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
2901 * sysdeps/s390/multiarch/memrchr.c: Move to ...
2902 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
2903 * sysdeps/s390/ifunc-memrchr.h: New file.
2904
196655ba
SL
29052018-12-18 Stefan Liebler <stli@linux.ibm.com>
2906
2907 * sysdeps/s390/multiarch/Makefile
2908 (sysdep_routines): Remove memccpy variants.
2909 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
2910 * sysdeps/s390/multiarch/ifunc-impl-list.c
2911 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
2912 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
2913 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
2914 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
2915 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
2916 * sysdeps/s390/multiarch/memccpy.c: Move to ...
2917 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
2918 * sysdeps/s390/ifunc-memccpy.h: New file.
2919
4c7b3cec
SL
29202018-12-18 Stefan Liebler <stli@linux.ibm.com>
2921
2922 * sysdeps/s390/multiarch/Makefile
2923 (sysdep_routines): Remove rawmemchr variants.
2924 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
2925 * sysdeps/s390/multiarch/ifunc-impl-list.c
2926 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
2927 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
2928 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
2929 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
2930 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
2931 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
2932 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
2933 * sysdeps/s390/ifunc-rawmemchr.h: New file.
2934
581a051c
SL
29352018-12-18 Stefan Liebler <stli@linux.ibm.com>
2936
2937 * sysdeps/s390/multiarch/Makefile
2938 (sysdep_routines): Remove memchr variants.
2939 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
2940 * sysdeps/s390/multiarch/ifunc-impl-list.c
2941 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
2942 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
2943 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
2944 * sysdeps/s390/multiarch/memchr.c: Move to ...
2945 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
2946 * sysdeps/s390/ifunc-memchr.h: New file.
2947 * sysdeps/s390/s390-64/memchr.S: Move to ...
2948 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
2949 for 31/64bit and ifunc handling.
2950 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
2951 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
2952 * sysdeps/s390/s390-32/memchr.S: Likewise.
2953
5d2ec20a
SL
29542018-12-18 Stefan Liebler <stli@linux.ibm.com>
2955
2956 * sysdeps/s390/multiarch/Makefile
2957 (sysdep_routines): Remove strcspn variants.
2958 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
2959 * sysdeps/s390/multiarch/ifunc-impl-list.c
2960 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
2961 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
2962 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
2963 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
2964 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
2965 * sysdeps/s390/multiarch/strcspn.c: Move to ...
2966 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
2967 * sysdeps/s390/ifunc-strcspn.h: New file.
2968
572cca93
SL
29692018-12-18 Stefan Liebler <stli@linux.ibm.com>
2970
2971 * sysdeps/s390/multiarch/Makefile
2972 (sysdep_routines): Remove strpbrk variants.
2973 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
2974 * sysdeps/s390/multiarch/ifunc-impl-list.c
2975 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
2976 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
2977 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
2978 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
2979 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
2980 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
2981 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
2982 * sysdeps/s390/ifunc-strpbrk.h: New file.
2983
483fc569
SL
29842018-12-18 Stefan Liebler <stli@linux.ibm.com>
2985
2986 * sysdeps/s390/multiarch/Makefile
2987 (sysdep_routines): Remove strspn variants.
2988 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
2989 * sysdeps/s390/multiarch/ifunc-impl-list.c
2990 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
2991 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
2992 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
2993 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
2994 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
2995 * sysdeps/s390/multiarch/strspn.c: Move to ...
2996 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
2997 * sysdeps/s390/ifunc-strspn.h: New file.
2998
26ea8760
SL
29992018-12-18 Stefan Liebler <stli@linux.ibm.com>
3000
3001 * sysdeps/s390/multiarch/Makefile
3002 (sysdep_routines): Remove strrchr variants.
3003 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
3004 * sysdeps/s390/multiarch/ifunc-impl-list.c
3005 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
3006 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
3007 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
3008 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
3009 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
3010 * sysdeps/s390/multiarch/strrchr.c: Move to ...
3011 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
3012 * sysdeps/s390/ifunc-strrchr.h: New file.
3013
a1361e65
SL
30142018-12-18 Stefan Liebler <stli@linux.ibm.com>
3015
3016 * sysdeps/s390/multiarch/Makefile
3017 (sysdep_routines): Remove strchrnul variants.
3018 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
3019 * sysdeps/s390/multiarch/ifunc-impl-list.c
3020 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
3021 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
3022 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
3023 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
3024 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
3025 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
3026 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
3027 * sysdeps/s390/ifunc-strchrnul.h: New file.
3028
32f12653
SL
30292018-12-18 Stefan Liebler <stli@linux.ibm.com>
3030
3031 * sysdeps/s390/multiarch/Makefile
3032 (sysdep_routines): Remove strchr variants.
3033 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
3034 * sysdeps/s390/multiarch/ifunc-impl-list.c
3035 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
3036 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
3037 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
3038 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
3039 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
3040 * sysdeps/s390/multiarch/strchr.c: Move to ...
3041 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
3042 * sysdeps/s390/ifunc-strchr.h: New file.
3043
316b8842
SL
30442018-12-18 Stefan Liebler <stli@linux.ibm.com>
3045
3046 * sysdeps/s390/multiarch/Makefile
3047 (sysdep_routines): Remove strncmp variants.
3048 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
3049 * sysdeps/s390/multiarch/ifunc-impl-list.c
3050 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
3051 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
3052 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
3053 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
3054 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
3055 * sysdeps/s390/multiarch/strncmp.c: Move to ...
3056 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
3057 * sysdeps/s390/ifunc-strncmp.h: New file.
3058
cdab85fe
SL
30592018-12-18 Stefan Liebler <stli@linux.ibm.com>
3060
3061 * sysdeps/s390/multiarch/Makefile
3062 (sysdep_routines): Remove strcmp variants.
3063 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
3064 * sysdeps/s390/multiarch/ifunc-impl-list.c
3065 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
3066 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
3067 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
3068 * sysdeps/s390/multiarch/strcmp.c: Move to ...
3069 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
3070 * sysdeps/s390/ifunc-strcmp.h: New file.
3071 * sysdeps/s390/s390-64/strcmp.S: Move to ...
3072 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
3073 for 31/64bit and ifunc handling.
3074 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
3075 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
3076 * sysdeps/s390/s390-32/strcmp.S: Likewise.
3077
b9353351
SL
30782018-12-18 Stefan Liebler <stli@linux.ibm.com>
3079
3080 * sysdeps/s390/multiarch/Makefile
3081 (sysdep_routines): Remove strncat variants.
3082 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
3083 * sysdeps/s390/multiarch/ifunc-impl-list.c
3084 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
3085 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
3086 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
3087 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
3088 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
3089 * sysdeps/s390/multiarch/strncat.c: Move to ...
3090 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
3091 * sysdeps/s390/ifunc-strncat.h: New file.
3092
8e5a0afb
SL
30932018-12-18 Stefan Liebler <stli@linux.ibm.com>
3094
3095 * sysdeps/s390/multiarch/Makefile
3096 (sysdep_routines): Remove strcat variants.
3097 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
3098 * sysdeps/s390/multiarch/ifunc-impl-list.c
3099 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
3100 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
3101 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
3102 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
3103 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
3104 * sysdeps/s390/multiarch/strcat.c: Move to ...
3105 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
3106 * sysdeps/s390/ifunc-strcat.h: New file.
3107
25218822
SL
31082018-12-18 Stefan Liebler <stli@linux.ibm.com>
3109
3110 * sysdeps/s390/multiarch/Makefile
3111 (sysdep_routines): Remove stpncpy variants.
3112 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
3113 * sysdeps/s390/multiarch/ifunc-impl-list.c
3114 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
3115 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
3116 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
3117 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
3118 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
3119 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
3120 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
3121 * sysdeps/s390/ifunc-stpncpy.h: New file.
3122
d1bdbf38
SL
31232018-12-18 Stefan Liebler <stli@linux.ibm.com>
3124
3125 * sysdeps/s390/multiarch/Makefile
3126 (sysdep_routines): Remove strncpy variants.
3127 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
3128 * sysdeps/s390/multiarch/ifunc-impl-list.c
3129 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
3130 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
3131 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
3132 * sysdeps/s390/multiarch/strncpy.c: Move to ...
3133 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
3134 * sysdeps/s390/ifunc-strncpy.h: New file.
3135 * sysdeps/s390/s390-64/strncpy.S: Move to ...
3136 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
3137 and adjust ifunc handling.
3138 * sysdeps/s390/s390-32/strncpy.S: Move to ...
3139 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
3140 and adjust ifunc handling.
3141 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
3142 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
3143
97044931
SL
31442018-12-18 Stefan Liebler <stli@linux.ibm.com>
3145
3146 * sysdeps/s390/multiarch/Makefile
3147 (sysdep_routines): Remove stpcpy variants.
3148 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
3149 * sysdeps/s390/multiarch/ifunc-impl-list.c
3150 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
3151 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
3152 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
3153 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
3154 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
3155 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
3156 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
3157 * sysdeps/s390/ifunc-stpcpy.h: New file.
3158
914a4e05
SL
31592018-12-18 Stefan Liebler <stli@linux.ibm.com>
3160
3161 * sysdeps/s390/multiarch/Makefile
3162 (sysdep_routines): Remove strcpy variants.
3163 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
3164 * sysdeps/s390/multiarch/ifunc-impl-list.c
3165 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
3166 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
3167 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
3168 * sysdeps/s390/multiarch/strcpy.c: Move to ...
3169 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
3170 * sysdeps/s390/ifunc-strcpy.h: New file.
3171 * sysdeps/s390/s390-64/strcpy.S: Move to ...
3172 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
3173 for 31/64bit and ifunc handling.
3174 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
3175 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
3176 * sysdeps/s390/s390-32/strcpy.S: Likewise.
3177
de10e44d
SL
31782018-12-18 Stefan Liebler <stli@linux.ibm.com>
3179
3180 * sysdeps/s390/multiarch/Makefile
3181 (sysdep_routines): Remove strnlen variants.
3182 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
3183 * sysdeps/s390/multiarch/ifunc-impl-list.c
3184 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
3185 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
3186 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
3187 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
3188 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
3189 * sysdeps/s390/multiarch/strnlen.c: Move to ...
3190 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
3191 * sysdeps/s390/ifunc-strnlen.h: New file.
3192
ff3ca374
SL
31932018-12-18 Stefan Liebler <stli@linux.ibm.com>
3194
3195 * sysdeps/s390/multiarch/Makefile
3196 (sysdep_routines): Remove strlen variants.
3197 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
3198 * sysdeps/s390/multiarch/ifunc-impl-list.c
3199 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
3200 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
3201 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
3202 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
3203 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
3204 * sysdeps/s390/multiarch/strlen.c: Move to ...
3205 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
3206 * sysdeps/s390/ifunc-strlen.h: New file.
3207
d2c4c403
SL
32082018-12-18 Stefan Liebler <stli@linux.ibm.com>
3209
3210 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
3211 * sysdeps/s390/multiarch/ifunc-impl-list.c
3212 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
3213 * sysdeps/s390/ifunc-memmem.h: New file.
3214 * sysdeps/s390/memmem.c: Likewise.
3215 * sysdeps/s390/memmem-c.c: Likewise.
3216 * sysdeps/s390/memmem-vx.c: Likewise.
3217
8c25dddd
SL
32182018-12-18 Stefan Liebler <stli@linux.ibm.com>
3219
3220 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
3221 * sysdeps/s390/multiarch/ifunc-impl-list.c
3222 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
3223 * sysdeps/s390/ifunc-strstr.h: New file.
3224 * sysdeps/s390/strstr.c: Likewise.
3225 * sysdeps/s390/strstr-c.c: Likewise.
3226 * sysdeps/s390/strstr-vx.c: Likewise.
3227
cdd927d9
SL
32282018-12-18 Stefan Liebler <stli@linux.ibm.com>
3229
3230 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
3231 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
3232 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
3233 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
3234 New defines.
3235 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
3236 * sysdeps/s390/memmove-c.c: New file.
3237 * sysdeps/s390/memmove.c: Likewise.
3238 * sysdeps/s390/multiarch/ifunc-impl-list.c
3239 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
3240
2ee1bc57
SL
32412018-12-18 Stefan Liebler <stli@linux.ibm.com>
3242
3243 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
3244 * sysdeps/s390/configure.ac: Add check for z13 support.
3245 * sysdeps/s390/configure: Regenerated.
3246
d097d976
SL
32472018-12-18 Stefan Liebler <stli@linux.ibm.com>
3248
3249 * sysdeps/s390/memcopy.h: New file.
3250
e099aab0
SL
32512018-12-18 Stefan Liebler <stli@linux.ibm.com>
3252
3253 * sysdeps/s390/s390-32/bcopy.S: Remove.
3254 * sysdeps/s390/s390-64/bcopy.S: Likewise.
3255
18eb862d
SL
32562018-12-18 Stefan Liebler <stli@linux.ibm.com>
3257
3258 * sysdeps/s390/ifunc-memcpy.h: New File.
3259 * sysdeps/s390/memcpy.S: Move to ...
3260 * sysdeps/s390/memcpy-z900.S ... here.
3261 Move implementations from memcpy-s390x.s to here.
3262 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
3263 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3264 Remove memcpy/mempcpy variants.
3265 * sysdeps/s390/Makefile (sysdep_routines):
3266 Add memcpy/mempcpy variants.
3267 * sysdeps/s390/multiarch/ifunc-impl-list.c
3268 (__libc_ifunc_impl_list): Adjust ifunc variants for
3269 memcpy and mempcpy.
3270 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
3271 to ...
3272 * sysdeps/s390/memcpy.c: ... here.
3273 Adjust ifunc variants for memcpy.
3274 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
3275 * sysdeps/s390/mempcpy.c: ... here.
3276 Adjust ifunc variants for mempcpy.
3277 * sysdeps/s390/mempcpy.S: Delete file.
3278
df3eb8de
SL
32792018-12-18 Stefan Liebler <stli@linux.ibm.com>
3280
3281 * sysdeps/s390/s390-64/memcpy.S: Move to ...
3282 * sysdeps/s390/memcpy.S: ... here.
3283 Adjust to be usable for 31/64bit.
3284 * sysdeps/s390/s390-32/memcpy.S: Delete File.
3285 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
3286 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
3287 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3288 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
3289 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
3290 Adjust to be usable for 31/64bit.
3291 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
3292 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
3293 * sysdeps/s390/multiarch/memcpy.c: ... here.
3294 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
3295
b7e024a8
SL
32962018-12-18 Stefan Liebler <stli@linux.ibm.com>
3297
3298 * sysdeps/s390/ifunc-memcmp.h: New File.
3299 * sysdeps/s390/memcmp.S: Move to ...
3300 * sysdeps/s390/memcmp-z900.S ... here.
3301 Move implementations from memcmp-s390x.s to here.
3302 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
3303 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3304 Remove memcmp variants.
3305 * sysdeps/s390/Makefile (sysdep_routines):
3306 Add memcmp variants.
3307 * sysdeps/s390/multiarch/ifunc-impl-list.c
3308 (__libc_ifunc_impl_list): Adjust ifunc variants for
3309 memcmp.
3310 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
3311 to ...
3312 * sysdeps/s390/memcmp.c: ... here.
3313 Adjust ifunc variants for memcmp.
3314
6c6b8c74
SL
33152018-12-18 Stefan Liebler <stli@linux.ibm.com>
3316
3317 * sysdeps/s390/s390-64/memcmp.S: Move to ...
3318 * sysdeps/s390/memcmp.S: ... here.
3319 Adjust to be usable for 31/64bit.
3320 * sysdeps/s390/s390-32/memcmp.S: Delete File.
3321 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
3322 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
3323 Remove memcmp.
3324 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3325 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
3326 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
3327 Adjust to be usable for 31/64bit.
3328 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
3329 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
3330 * sysdeps/s390/multiarch/memcmp.c: ... here.
3331 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
3332
07be3928
SL
33332018-12-18 Stefan Liebler <stli@linux.ibm.com>
3334
3335 * sysdeps/s390/s390-32/bzero.S: Delete file.
3336 * sysdeps/s390/s390-64/bzero.S: Likewise.
3337 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
3338 * sysdeps/s390/bzero.c: New file.
3339 * sysdeps/s390/memset-z900.S: Add bzero entry points.
3340 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
3341 * sysdeps/s390/multiarch/ifunc-impl-list.c
3342 (__libc_ifunc_impl_list): Add bzero ifunc variants.
3343
712a254a
SL
33442018-12-18 Stefan Liebler <stli@linux.ibm.com>
3345
3346 * sysdeps/s390/ifunc-memset.h: New File.
3347 * sysdeps/s390/memset.S: Move to ...
3348 * sysdeps/s390/memset-z900.S ... here.
3349 Move implementations from memset-s390x.s to here.
3350 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
3351 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
3352 Remove memset variants.
3353 * sysdeps/s390/Makefile (sysdep_routines):
3354 Add memset variants.
3355 * sysdeps/s390/multiarch/ifunc-impl-list.c
3356 (__libc_ifunc_impl_list): Adjust ifunc variants for
3357 memset.
3358 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
3359 to ...
3360 * sysdeps/s390/memset.c: ... here.
3361 Adjust ifunc variants for memset.
3362
5f1743d1
SL
33632018-12-18 Stefan Liebler <stli@linux.ibm.com>
3364
3365 * sysdeps/s390/s390-64/memset.S: Move to ...
3366 * sysdeps/s390/memset.S: ... here.
3367 Adjust to be usable for 31/64bit.
3368 * sysdeps/s390/s390-32/memset.S: Delete File.
3369 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
3370 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
3371 Remove memset.
3372 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
3373 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
3374 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
3375 Adjust to be usable for 31/64bit.
3376 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
3377 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
3378 * sysdeps/s390/multiarch/memset.c: ... here.
3379 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
3380
e8023f26
SL
33812018-12-18 Stefan Liebler <stli@linux.ibm.com>
3382
3383 * sysdeps/s390/multiarch/ifunc-resolve.h
3384 (s390_libc_ifunc_init, s390_libc_ifunc,
3385 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
3386
b8686c0d
SL
33872018-12-18 Stefan Liebler <stli@linux.ibm.com>
3388
3389 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
3390 * sysdeps/s390/configure.ac: Add check for z10 support.
3391 * sysdeps/s390/configure: Regenerated.
3392
cd815050
L
33932018-12-18 H.J. Lu <hongjiu.lu@intel.com>
3394
3395 * sysdeps/i386/atomic-machine.h: Merged with ...
3396 * sysdeps/x86_64/atomic-machine.h: To ...
3397 * sysdeps/x86/atomic-machine.h: This. New file.
3398
053c52b1
FW
33992018-12-18 Florian Weimer <fweimer@redhat.com>
3400
3401 Rewrite locale/gen-translit.pl in Python.
3402 * locale/Makefile (generated): Add C-translit.h.
3403 (before-compile): Add $(objpfx)C-translit.h.
3404 (C-translit.h): Move to $(objpfx). Create target directory.
3405 Build using Python script.
3406 * locale/gen-translit.py: New file.
3407 * locale/gen-translit.pl: Remove file.
3408 * locale/C-translit.h.in: Change comment character to '#' for
3409 easier parsing without a C preprocessor.
3410 * locale/C-translit.h: Remove generated file.
3411 * manual/install.texi (Tools for Compilation): Do not mention
3412 C-translit.h.
3413 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
3414 Remove locale/C-translit.h.
3415 * scripts/update-copyrights: Likewise.
3416 * INSTALL: Regenerate.
3417
40e6c1ec
FW
34182018-12-18 Florian Weimer <fweimer@redhat.com>
3419
3420 [BZ #23995]
3421 * localedata/locales/bi_VU: Remove executable bit from file.
3422
6e15f3e2
AA
34232018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
3424
3425 * include/time.h
3426 (__localtime64): Add.
3427 * manual/maint.texi: Document Y2038 symbol handling.
3428 * time/localtime.c
3429 (__localtime64): Add.
bfb79db4 3430 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
6e15f3e2 3431
df648905
JM
34322018-12-17 Joseph Myers <joseph@codesourcery.com>
3433
551e81d9
JM
3434 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
3435 Do not clobber r12.
3436
df648905
JM
3437 * scripts/glibcextract.py (compare_macro_consts): Take parameters
3438 to allow extra macros from first or second sources.
3439 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
3440 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
3441 (tests-special): Add $(objpfx)tst-mman-consts.out.
3442 ($(objpfx)tst-mman-consts.out): New makefile target.
3443
6bbfc5c0
MH
34442018-12-17 Mao Han <han_mao@c-sky.com>
3445
3446 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
3447 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
3448 without stat64 system call support.
3449 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
3450 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
3451 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
3452 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
3453 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
3454 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
3455 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
3456 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
3457 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
3458 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
3459 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
3460
ef202e53
PE
34612018-12-15 Paul Eggert <eggert@cs.ucla.edu>
3462
3463 regex: fix storage-exhaustion error
3464 [BZ #18040]
3465 * posix/regexec.c (get_subexp):
3466 Do not continue if storage is exhausted.
3467
077caf61
AG
34682018-12-15 Assaf Gordon <assafgordon@gmail.com>
3469
3470 regex: fix heap-use-after-free error
3471 [BZ #18040]
3472 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
3473 https://debbugs.gnu.org/32592
3474 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
3475 call extend_buffers which reallocates the re_string_t internal buffer.
3476 Local variable 'buf' was not updated in such case, resulting in
3477 use-after-free.
3478 * posix/regexec.c (get_subexp): Update 'buf' after call to
3479 get_subexp_sub.
3480
0c1719e6
FW
34812018-12-15 Florian Weimer <fweimer@redhat.com>
3482
3483 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
3484 (minimum_stride_size): Use it.
3485 (support_blob_repeat_allocate): Likewise.
3486
033a2c0a
JM
34872018-12-14 Joseph Myers <joseph@codesourcery.com>
3488
3489 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
3490 definition.
3491 (acosh): Likewise.
3492 (atanh): Likewise.
3493
e361dc04
FW
34942018-12-14 Florian Weimer <fweimer@redhat.com>
3495
3496 * manual/process.texi (Process Creation Concepts): Remove
3497 documentation of process (ID) lifetime. List more process
3498 creation functions. Reference Process Identification section.
3499 (Process Identification): Add information about process ID
3500 lifetime. Describe Linux thread/task IDs.
3501 * manual/signal.texi (Signaling Another Process): Mention that the
3502 signal is always sent to the process.
3503
bd51ff5e
GG
35042018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3505
3506 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
3507 and tst-ldbl-efgcvt.
3508 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
3509 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
3510 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
3511 (fcvt_tests, output_error, output_r_error, do_test): Use the
3512 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
3513 select the type of floating-point variables and arguments; to
3514 produce extra tests for double and conversion specifiers for
3515 printf; and to set the names of called functions.
3516 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
3517 in tst-efgcvt-template.c.
3518 * misc/tst-ldbl-efgcvt.c: Likewise.
3519
268bb71e
SL
35202018-12-14 Stefan Liebler <stli@linux.ibm.com>
3521
3522 * nss/Makefile (tst-nss-test3.out): New rule.
3523
db6df070
JM
35242018-12-13 Joseph Myers <joseph@codesourcery.com>
3525
3526 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
3527 clobber sp.
3528
ade8b817
CD
35292018-12-13 fanjinke <fanjinke@hygon.cn>
3530
3531 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
3532 "HygonGenuine".
3533
3d265911
AS
35342018-12-13 Andreas Schwab <schwab@suse.de>
3535
f21e8f8c 3536 [BZ #23861]
3d265911 3537 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
f21e8f8c
AS
3538 (__pthread_rwlock_rdlock_full): Update expected value for
3539 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
3540 * nptl/tst-rwlock-pwn.c: New file.
3541 * nptl/Makefile (tests): Add tst-rwlock-pwn.
3d265911 3542
bf8ae8c0
JM
35432018-12-12 Joseph Myers <joseph@codesourcery.com>
3544
3545 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
3546 definition.
3547
de099757
LS
35482018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3549
3550 * benchtests/scripts/compare_bench.py (do_compare): write to
3551 stderr in casestat is not present.
3552 * benchtests/scripts/compare_bench.py (plot_graphs): write to
3553 stderr in case timings field is not present. Also string showing
3554 the output filename goes into the stderr.
3555
1990185f
LS
35562018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3557
3558 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
3559 and ZeroDivisorError exceptions.
3560 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
3561 argument to loop through user provided statistics.
3562 * benchtests/scripts/compare_bench.py (main): Include the --stats
3563 argument.
3564
587426d4
LS
35652018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3566
3567 * benchtests/scripts/compare_bench.py (compare_runs): Continue
3568 instead of return.
3569
46703efa
FW
35702018-12-12 Florian Weimer <fweimer@redhat.com>
3571
3572 * sysdeps/posix/timespec_get.c: Add missing “any later version”
3573 clause to copyright header.
3574
1d880d4a
TMQMF
35752018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3576
3577 [BZ #23614]
3578 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
3579 registers saved in the stack frame.
3580 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
3581 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
3582
1a502f52
GG
35832018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3584
3585 * include/bits/monetary-ldbl.h: New file.
3586 * include/bits/printf-ldbl.h: Likewise.
3587 * include/bits/stdio-ldbl.h: Likewise.
3588 * include/bits/stdlib-ldbl.h: Likewise.
3589 * include/bits/syslog-ldbl.h: Likewise.
3590 * include/bits/wchar-ldbl.h: Likewise.
3591
df682d1d
GG
35922018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3593
3594 * libio/libio.h: Remove redirection for _IO_vfprintf.
3595
c2c082c1
AS
35962018-12-11 Andreas Schwab <schwab@suse.de>
3597
3598 * Makerules: Remove all references to abilist-pattern.
3599 (update-all-abi): Simplify find expression.
3600
505b5b29
SN
36012018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
3602
3603 [BZ #23961]
3604 * math/auto-libm-test-in: Add new test case.
3605 * math/auto-libm-test-out-pow: Regenerated.
3606 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
3607
304c61a2
DD
36082018-12-10 DJ Delorie <dj@redhat.com>
3609
3610 [BZ #23948]
3611 * support/test-container.c: Move postclean step to before we
3612 change namespaces.
3613
a8110b72
JM
36142018-12-10 Joseph Myers <joseph@codesourcery.com>
3615
cb7be159
JM
3616 * scripts/gen-as-const.py (main): Handle --python option.
3617 * scripts/gen-py-const.awk: Remove.
3618 * Makerules (py-const-script): Use gen-as-const.py.
3619 ($(py-const)): Likewise.
3620 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
3621 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
3622 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
3623 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
3624 ~PTHREAD_MUTEX_NO_ELISION_NP.
3625 * manual/README.pretty-printers: Update reference to
3626 gen-py-const.awk.
3627
a8110b72
JM
3628 * scripts/glibcextract.py: New file.
3629 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
3630 or tempfile. Import glibcexctract.
3631 (compute_c_consts): Remove. Moved to glibcextract.py.
3632 (gen_test): Update reference to compute_c_consts.
3633 (main): Likewise.
3634 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
3635 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
3636 * sysdeps/unix/sysv/linux/Makefile
3637 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
3638 Redirect stderr as well as stdout.
3639
f9ba9eb8
RÁE
36402018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
3641
3642 [BZ #19767]
3643 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
3644 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
3645 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
3646 ALWAYS_USE_VSYSCALL.
3647 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
3648 ALWAYS_USE_VSYSCALL.
3649 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
3650 ALWAYS_USE_VSYSCALL.
3651
8d20a2f4
FW
36522018-12-10 Florian Weimer <fweimer@redhat.com>
3653
3654 [BZ #23972]
3655 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
3656 offset instead of count for clarity. Fix typo in comment.
3657 (__old_getdents64): Keep track of previous offset. Use it to call
3658 handle_overflow.
3659 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
3660 that d_off is never zero.
3661
80472e2f
AS
36622018-12-10 Andreas Schwab <schwab@suse.de>
3663
3664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
3665 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
3666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
3667 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
3668 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
3669
0afcb29d
JM
36702018-12-10 Joseph Myers <joseph@codesourcery.com>
3671
3672 * timezone/private.h: Update from tzcode 2018g.
3673 * timezone/tzfile.h: Likewise.
3674 * timezone/tzselect.ksh: Likewise.
3675 * timezone/zdump.c: Likewise.
3676 * timezone/zic.c: Likewise.
3677
b93f4052
PP
36782018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3679
3680 [BZ #23490]
3681 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
3682 (do_test): Adjust buffer size and fix format.
3683
7c9a7c68
DD
36842018-12-07 DJ Delorie <dj@redhat.com>
3685
3686 [BZ #23907]
3687 * malloc/tst-tcfree3.c: New.
3688 * malloc/Makefile: Add it.
3689
37caec3a
L
36902018-12-07 H.J. Lu <hongjiu.lu@intel.com>
3691
3692 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
3693
10446f5d
GG
36942018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3695
3696 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
3697 used as a mask for the mode argument of __vfscanf_internal and
3698 __vfwscanf_internal.
3699 * stdio-common/vfscanf-internal.c
3700 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
3701 (__strtof128_internal): Define to __wcstof128_internal.
3702 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
3703 __strtof128_internal or __wcstof128_internal when the format of
3704 long double is the same as _Float128.
3705
45f33aac
ST
37062018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
3707
3708 * include/unistd.h (__confstr): Add prototype and hidden prototype.
3709 * posix/confstr.c (confstr): Rename to __confstr.
3710 (__confstr): Add hidden def.
3711 (confstr): Add weak alias for __confstr.
3712 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
3713 confstr.
3714
a092ca94
L
37152018-12-07 H.J. Lu <hongjiu.lu@intel.com>
3716
3717 * NEWS: Mention getcpu.
3718 * include/sched.h (__getcpu): New libc_hidden_proto.
3719 * manual/resource.texi: Document getcpu.
3720 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
3721 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
3722 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
3723 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3724 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3725 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3726 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3727 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3728 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3729 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3730 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3731 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3732 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
3733 Likewise.
3734 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3735 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3736 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3738 Likewise.
3739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3740 Likewise.
3741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3742 Likewise.
3743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3744 Likewise.
3745 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
3746 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3747 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3748 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3749 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3750 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3751 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3752 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3753 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
3754 * sysdeps/unix/sysv/linux/getcpu.c: New file.
3755 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
3756 Also check getcpu.
3757
7c857b6f
ST
37582018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
3759
3760 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
3761 functions.
3762 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
3763
3a3fb755
FW
37642018-12-07 Florian Weimer <fweimer@redhat.com>
3765
3766 [BZ #17405]
3767 * posix/Makefile (routines): Add spawn_faction_addfchdir.
3768 * posix/Versions (GLIBC_2.29): Export
3769 posix_spawn_file_actions_addfchdir_np.
3770 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
3771 * posix/spawn_faction_destroy.c
3772 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
3773 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
3774 and the field action.fchdir_action.
3775 * posix/tst-spawn-chdir.c (add_chdir): New function.
3776 (do_test): Add do_fchdir loop. Call add_chdir.
3777 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
3778 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
3779 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
3780 posix_spawn_file_actions_addfchdir_np.
3781 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
3782 Likewise.
3783 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
3784 Likewise.
3785 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
3786 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
3787 Likewise.
3788 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
3789 Likewise.
3790 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
3791 Likewise.
3792 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
3793 Likewise.
3794 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
3795 Likewise.
3796 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
3797 Likewise.
3798 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3799 (GLIBC_2.29): Likewise.
3800 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3801 (GLIBC_2.29): Likewise.
3802 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3803 (GLIBC_2.29): Likewise.
3804 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3805 (GLIBC_2.29): Likewise.
3806 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
3807 Likewise.
3808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3809 (GLIBC_2.29): Likewise.
3810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3811 (GLIBC_2.29): Likewise.
3812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3813 (GLIBC_2.29): Likewise.
3814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3815 (GLIBC_2.29): Likewise.
3816 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
3817 Likewise.
3818 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
3819 Likewise.
3820 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
3821 Likewise.
3822 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
3823 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
3824 Likewise.
3825 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
3826 Likewise.
3827 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
3828 Likewise.
3829 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
3830 Likewise.
3831
c37cd439
JM
38322018-12-06 Joseph Myers <joseph@codesourcery.com>
3833
3834 * manual/texinfo.tex: Update to version 2018-09-21.20 with
3835 trailing whitespace removed.
3836 * scripts/config.guess: Update to version 2018-11-28.
3837 * scripts/config.sub: Update to version 2018-11-28.
3838 * scripts/install-sh: Update to version 2018-03-11.20.
3839 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
3840 * scripts/move-if-change: Update to version 2018-03-07 03:47.
3841
899478c2
FW
38422018-12-07 Florian Weimer <fweimer@redhat.com>
3843
3844 [BZ #23927]
3845 CVE-2018-19591
3846 * inet/tst-if_index-long.c: New file.
3847 * inet/Makefile (tests): Add tst-if_index-long.
3848
f255336a
FW
38492018-12-07 Florian Weimer <fweimer@redhat.com>
3850
3851 * support/check.h (support_record_failure_is_failed): Declare.
3852 * support/descriptors.h: New file.
3853 * support/support_descriptors.c: Likewise.
3854 * support/tst-support_descriptors.c: Likewise.
3855 * support/support_record_failure.c
3856 (support_record_failure_is_failed): New function.
3857 * support/Makefile (libsupport-routines): Add support_descriptors.
3858 (tests): Add tst-support_descriptors.
3859
35caceb1
ZW
38602018-12-05 Zack Weinberg <zackw@panix.com>
3861 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3862
3863 * stdio-common/vfprintf-internal.c
3864 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
3865 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
3866 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
3867 and __no_long_double.
3868 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
3869 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
3870 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
3871 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
3872 and __nldbl_*syslog* functions.
3873 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
3874 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
3875 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
3876 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
3877 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
3878 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
3879 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
3880 (__nldbl_vwprintf, __nldbl_wprintf):
3881 Directly call the appropriate __v*printf_internal routine, passing
3882 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
3883 variable names.
3884 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
3885 (__nldbl___printf_chk, __nldbl___snprintf_chk)
3886 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
3887 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
3888 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
3889 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
3890 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
3891 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
3892 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
3893 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
3894 Likewise, and also pass PRINTF_FORTIFY when appropriate.
3895 (__nldbl_syslog, __nldbl_vsyslog):
3896 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
3897 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
3898 appropriate.
3899 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
3900 appropriate.
3901
4e2f43f8
ZW
39022018-12-05 Zack Weinberg <zackw@panix.com>
3903 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3904
3905 [BZ #11319]
3906 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
3907 Moved here from debug/vsprintf_chk.c.
3908 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
3909 and completion logic for the strfile to match exactly what
3910 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
3911 _IO_str_init_static_internal instead of maxlen-1.
3912 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
3913 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
3914 __vsprintf_internal.
3915
3916 * debug/vsprintf_chk.c (__vsprintf_chk)
3917 * debug/sprintf_chk.c (__sprintf_chk):
3918 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
3919 'flags' argument is positive, and slen as maxlen. No need to lock
3920 the FILE and/or construct a temporary FILE. Minimize and normalize
3921 header inclusions and variable names. Do not libc_hidden_def anything.
3922
3923 * debug/asprintf_chk.c (__asprintf_chk)
3924 * debug/dprintf_chk.c (__dprintf_chk)
3925 * debug/fprintf_chk.c (__fprintf_chk)
3926 * debug/fwprintf_chk.c (__fwprintf_chk)
3927 * debug/printf_chk.c (__printf_chk)
3928 * debug/snprintf_chk.c (__snprintf_chk)
3929 * debug/swprintf_chk.c (__swprintf_chk)
3930 * debug/vasprintf_chk.c (__vasprintf_chk)
3931 * debug/vdprintf_chk.c (__vdprintf_chk)
3932 * debug/vfprintf_chk.c (__vfprintf_chk)
3933 * debug/vfwprintf_chk.c (__vfwprintf_chk)
3934 * debug/vprintf_chk.c (__vprintf_chk)
3935 * debug/vsnprintf_chk.c (__vsnprintf_chk)
3936 * debug/vswprintf_chk.c (__vswprintf_chk)
3937 * debug/vwprintf_chk.c (__vwprintf_chk)
3938 * debug/wprintf_chk.c (__wprintf_chk):
3939 Directly call the corresponding vxxprintf_internal function, passing
3940 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
3941 the FILE and/or construct a temporary FILE. Minimize and normalize
3942 header inclusions and variable names. Do not libc_hidden_def anything.
3943
3944 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
3945 __obstack_vprintf_internal.
3946 (__obstack_vprintf_chk): Convert into a wrapper that calls
3947 __obstack_vprintf_internal (these two functions already had the
3948 same code) and move to new file...
3949 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
3950 file.
3951 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
3952 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
3953 * debug/Makefile (routines): Add vobprintf_chk.
3954
3955 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
3956 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
3957 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
3958 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
3959 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
3960 (__nldbl___obstack_vfprintf_chk):
3961 Directly call the corresponding vxxprintf_internal function,
3962 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
3963 duplicate comparison of slen with 0 or maxlen from the corresponding
3964 non-__nldbl function.
3965
3966 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
3967 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
3968 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
3969 Remove libc_hidden_proto.
3970
3971 * stdio-common/vfprintf-internal.c
3972 (__vfprintf_internal, __vfwprintf_internal):
3973 Do not check _IO_FLAGS2_FORTIFY.
3974 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
3975 * libio/libioP.h: Update prototype of __vsprintf_internal and add
3976 a comment explaining why it has the maxlen argument.
3977 (_IO_acquire_lock_clear_flags2_fct): Remove.
3978 (_IO_acquire_lock_clear_flags2): Remove.
3979 (_IO_release_lock): Remove conditional statement which will
3980 now never execute.
3981 (_IO_acquire_lock): Remove variable which is now unused.
3982 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
3983 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
3984
3985 * stdio-common/Makefile (tests): Add tst-bz11319 and
3986 tst-bz11319-fortify2.
3987 (CFLAGS-tst-bz11319-fortify2.c): New macro.
3988 * stdio-common/tst-bz11319-fortify2.c: New file.
3989 * stdio-common/tst-bz11319.c: Likewise.
3990
124fc732
ZW
39912018-12-05 Zack Weinberg <zackw@panix.com>
3992 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3993
3994 * misc/syslog.c: Include libioP.h, not iolibio.h.
3995 (__vsyslog_internal): New function with the former body of
3996 __vsyslog_chk; takes mode_flags argument same as
3997 __v*printf_internal. Call __vfprintf_internal directly.
3998
3999 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
4000 Remove libc_hidden_def.
4001 (__syslog, __syslog_chk): Use __vsyslog_internal.
4002 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
4003
4004 * include/sys/syslog.h: Add multiple inclusion guard.
4005 Add prototype for __vsyslog_internal.
4006 Remove declaration and libc_hidden_proto for __vsyslog_chk.
4007
4008 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
4009 Use __vsyslog_internal.
4010
698fb75b
ZW
40112018-12-05 Zack Weinberg <zackw@panix.com>
4012 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4013
4014 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
4015 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
4016 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
4017 New functions.
4018 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
4019 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
4020
4021 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
4022 Include wctype.h here if COMPILE_WPRINTF is defined.
4023 Define __vfprintf_internal or __vfwprintf_internal, depending
4024 on COMPILE_WPRINTF.
4025 Temporarily, on entry to this function, update mode_flags
4026 according to the environmental settings corresponding to
4027 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
4028 Throughout, check mode_flags instead of __ldbl_is_dbl and
4029 _IO_FLAGS2_FORTIFY on the destination FILE.
4030 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
4031 Include vfprintf-internal.c. Don't include wctype.h.
4032 * stdio-common/vfprintf.c: New file. Just define __vfprintf
4033 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
4034 and vfprintf.
4035 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
4036 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
4037 and vfwprintf.
4038 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
4039
4040 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
4041 and add mode_flags argument; use __vfprintf_internal.
4042 (__vdprintf): New function. Alias vdprintf to this.
4043 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
4044 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
4045 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
4046 (__obstack_printf): Use __obstack_printf_internal.
4047 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
4048 public aliases __vsnprintf and vsnprintf.
4049 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
4050 called internally.
4051 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
4052 public aliases _IO_vsprintf and vsprintf.
4053 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
4054 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
4055 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
4056 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
4057 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
4058
4059 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
4060 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
4061 * stdio-common/fprintf.c, stdio-common/fxprintf.c
4062 * stdio-common/printf.c: Use __vfprintf_internal.
4063
4064 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
4065 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
4066 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
4067
4068 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
4069 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
4070 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
4071 __vfwprintf_internal.
4072
4073 * libio/libio.h: Remove libc_hidden_proto and declaration for
4074 _IO_vfprintf.
4075 Remove declaration of _IO_vfwprintf.
4076 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
4077 _IO_vsprintf.
4078 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
4079 _IO_obstack_printf.
4080 * include/stdio.h: Add prototype for __vasprintf.
4081 (__vsnprintf): Remove declaration, because there are no more
4082 internal calls.
4083 * include/wchar.h (__vfwprintf, __vswprintf): Remove
4084 declaration, because there are no more internal calls.
4085
4086 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
4087 __vsnprintf_internal, instead of _IO_vsnprintf.
4088 * argp/argp-help.c (__argp_error, __argp_failure): Use
4089 __vasprintf_internal, instead of _IO_vasprintf.
4090 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
4091 redefine, because there are no more internal calls.
4092
d91798b3
ZW
40932018-12-05 Zack Weinberg <zackw@panix.com>
4094 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4095
4096 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
4097 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
4098 Include libio/strfile.h instead of libioP.h.
4099 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
4100 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
4101 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
4102 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
4103 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
4104 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
4105 necessary. Do not set __no_long_double. Normalize variable names.
4106 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
4107 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
4108 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
4109 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
4110 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
4111 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
4112 Call __vfscanf_internal / __vfwscanf_internal directly, passing
4113 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
4114 Do not set __no_long_double. Normalize variable names.
4115
b87eb3f8
ZW
41162018-12-05 Zack Weinberg <zackw@panix.com>
4117 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4118
4119 * stdio-common/isoc99_scanf.c
4120 * stdio-common/isoc99_fscanf.c
4121 * stdio-common/isoc99_sscanf.c
4122 * stdio-common/isoc99_vscanf.c
4123 * stdio-common/isoc99_vfscanf.c
4124 * stdio-common/isoc99_vsscanf.c
4125 * wcsmbs/isoc99_wscanf.c
4126 * wcsmbs/isoc99_fwscanf.c
4127 * wcsmbs/isoc99_swscanf.c
4128 * wcsmbs/isoc99_vwscanf.c
4129 * wcsmbs/isoc99_vfwscanf.c
4130 * wcsmbs/isoc99_vswscanf.c:
4131 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
4132 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
4133 No need to lock and unlock the FILE passed to that function.
4134
4135 * stdio-common/vfscanf-internal.c
4136 (__vfscanf_internal, __vfwscanf_internal):
4137 Don't look at _IO_FLAGS2_SCANF_STD.
4138 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
4139 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
4140 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
4141
349718d4
ZW
41422018-12-05 Zack Weinberg <zackw@panix.com>
4143 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4144
4145 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
4146 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
4147 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
4148 * libio/strfile.h: Add multiple inclusion guard.
4149 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
4150
4151 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
4152 consistency with the other version of this file.
4153 (ldbl_compat_symbol): New macro.
4154 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
4155 New macro.
4156
4157 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
4158 Define __vfscanf_internal or __vfwscanf_internal, depending on
4159 COMPILE_WSCANF; don't define any other public symbols.
4160 Remove errval and code to set errp.
4161 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
4162 as the mode_flags argument.
4163 (encode_error, conv_error, input_error): Don't set errval.
4164 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
4165 Include vfscanf-internal.c.
4166 * stdio-common/vfscanf.c: New file defining the public entry
4167 point vfscanf, which calls __vfscanf_internal.
4168 * stdio-common/vfwscanf.c: New file defining the public entry
4169 point vfwscanf, which calls __vfwscanf_internal.
4170
4171 * stdio-common/iovfscanf.c: New file.
4172 * stdio-common/iovfwscanf.c: Likewise.
4173
4174 * stdio-common/Makefile (routines): Add vfscanf-internal,
4175 vfwscanf-internal, iovfscanf, iovfwscanf.
4176 * stdio-common/Versions: Mention GLIBC_2.29, so that
4177 it can be used in SHLIB_COMPAT expressions.
4178 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
4179 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
4180 Call __vfscanf_internal, instead of _IO_vfscanf.
4181 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
4182 _IO_vfscanf.
4183 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
4184 _IO_vfwscanf.
4185
4186 * libio/iovsscanf.c: Clean up includes, when possible. Use
4187 _IO_strfile_read or _IO_strfile_readw, when needed. Call
4188 __vfscanf_internal or __vfwscanf_internal directly.
4189 * libio/iovswscanf.c: Likewise.
4190 * libio/swscanf.c: Likewise.
4191 * libio/vscanf.c: Likewise.
4192 * libio/vwscanf.c: Likewise.
4193 * libio/wscanf.c: Likewise.
4194 * stdio-common/isoc99_fscanf.c: Likewise.
4195 * stdio-common/isoc99_scanf.c: Likewise.
4196 * stdio-common/isoc99_sscanf.c: Likewise.
4197 * stdio-common/isoc99_vfscanf.c: Likewise.
4198 * stdio-common/isoc99_vscanf.c: Likewise.
4199 * stdio-common/isoc99_vsscanf.c: Likewise.
4200 * stdio-common/scanf.c: Likewise.
4201 * stdio-common/sscanf.c: Likewise.
4202 * wcsmbs/isoc99_fwscanf.c: Likewise.
4203 * wcsmbs/isoc99_swscanf.c: Likewise.
4204 * wcsmbs/isoc99_vfwscanf.c: Likewise.
4205 * wcsmbs/isoc99_vswscanf.c: Likewise.
4206 * wcsmbs/isoc99_vwscanf.c: Likewise.
4207 * wcsmbs/isoc99_wscanf.c: Likewise.
4208
72b8692d
AA
42092018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
4210
4211 * include/time.h
4212 (__tz_compute): Replace time_t with __time64_t.
4213 (__tz_convert): Replace time_t* with __time64_t.
4214 (__offtime): Replace time_t* with __time64_t.
4215 * time/gmtime.c
4216 (__gmtime_r): Adjust call to __tz_convert.
4217 (gmtime): Likewise.
4218 * time/localtime.c
4219 (__localtime_r): Likewise.
4220 (localtime): Likewise.
4221 * time/offtime.c: Replace time_t with __time64_t.
4222 * time/tzset.c: Likewise.
4223
bd598da9
JM
42242018-12-04 Joseph Myers <joseph@codesourcery.com>
4225
4226 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
4227 dynamic linker unless [$(run-built-tests) = yes].
4228
b2e93de0
DD
42292018-12-03 DJ Delorie <dj@delorie.com>
4230
4231 * support/test-container.c (check_for_unshare_hints): New.
4232 (main): Call it if unshare fails. Add support for "su" scriptlet
4233 command.
4234
477a02f6
JM
42352018-12-03 Joseph Myers <joseph@codesourcery.com>
4236
4237 * scripts/gen-as-const.py (compute_c_consts): Take an argument
4238 'START' to indicate that start text should be output.
4239 (gen_test): Likewise.
4240 (main): Generate 'START' for first symbol or '--' line, or at end
4241 of input if not previously generated.
4242
6af956e5
RÁE
42432018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
4244
4245 [BZ #19767]
4246 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
4247 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
4248 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
4249 ALWAYS_USE_VSYSCALL.
4250
f5ec0ea9
AZ
42512018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4252
4253 [BZ #23913]
4254 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
4255 new_argv by one.
4256
8cebd4ff
CD
42572018-12-03 Carlos O'Donell <carlos@redhat.com>
4258
4259 [BZ #23923]
4260 * locale/programs/localedef.c: Declare boolean hard_links default true.
4261 (options): Add --no-hard-links option.
4262 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
4263 * locale/programs/localedef.h: Declare prototype for hard_links.
4264 * locale/programs/locfile.c (write_locale_data): Don't use hard
4265 links if hard_links is false.
4266
c22e4c2a
L
42672018-12-03 H.J. Lu <hongjiu.lu@intel.com>
4268
4269 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
4270 cpu_features_basic.
4271 (__cache_sysconf): Likewise.
4272 (init_cacheinfo): Likewise.
4273 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
4274 populate COMMON_CPUID_INDEX_80000007 and
4275 COMMON_CPUID_INDEX_80000008.
4276 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
4277 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
4278 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
4279 (init_cpu_features): Use _Static_assert on
4280 index_arch_Fast_Unaligned_Load.
4281 __get_cpuid_registers and __get_arch_feature. Updated for
4282 cpu_features_basic. Set stepping in cpu_features.
4283 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
4284 (FEATURE_INDEX_2): New.
4285 (FEATURE_INDEX_MAX): Changed to enum.
4286 (COMMON_CPUID_INDEX_D_ECX_1): New.
4287 (COMMON_CPUID_INDEX_80000007): Likewise.
4288 (COMMON_CPUID_INDEX_80000008): Likewise.
4289 (cpuid_registers): Likewise.
4290 (cpu_features_basic): Likewise.
4291 (CPU_FEATURE_USABLE): Likewise.
4292 (bit_arch_XXX_Usable): Likewise.
4293 (cpu_features): Use cpuid_registers and cpu_features_basic.
4294 (bit_arch_XXX): Reweritten.
4295 (bit_cpu_XXX): Likewise.
4296 (index_cpu_XXX): Likewise.
4297 (reg_XXX): Likewise.
4298 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
4299 <support/check.h>.
4300 (CHECK_CPU_FEATURE): New.
4301 (CHECK_CPU_FEATURE_USABLE): Likewise.
4302 (cpu_kinds): Likewise.
4303 (do_test): Print vendor, family, model and stepping. Check
4304 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
4305 (TEST_FUNCTION): Removed.
4306 Include <support/test-driver.c> instead of
4307 "../../test-skeleton.c".
4308 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
4309 Check POPCNT instead of POPCOUNT.
4310 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
4311
7b36d26b
ST
43122018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
4313
4314 * scripts/gen-as-const.py (main): Avoid emitting empty line when
4315 there is no element in `consts'.
4316
02cd5c1a
FW
43172018-12-01 Florian Weimer <fweimer@redhat.com>
4318
4319 * support/support_capture_subprocess.c
4320 (support_capture_subprocess): Check that pipe descriptors have
4321 expected values. Close original pipe descriptors in subprocess.
4322
fc493bc9
ST
43232018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
4324
4325 [BZ #23032]
4326 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
4327 attr with __pthread_default_barrierattr.
4328 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
4329 attr with __pthread_default_condattr.
4330 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
4331 attr with __pthread_default_mutexattr.
4332 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
4333 attr with __pthread_default_rwlockattr.
4334
6310e6be
KW
43352018-12-01 Kemi Wang <kemi.wang@intel.com>
4336
4337 * manual/tunables.texi (POSIX Thread Tunables): New node.
4338 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
4339 * nptl/nptl-init.c: Include pthread_mutex_conf.h
4340 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
4341 __pthread_tunables_init.
4342 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
4343 (max_adaptive_count): Define.
4344 * nptl/pthread_mutex_conf.c: New file.
4345 * nptl/pthread_mutex_conf.h: New file.
4346 * sysdeps/generic/adaptive_spin_count.h: New file.
4347 * sysdeps/nptl/dl-tunables.list: New file.
4348 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
4349 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
4350 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
4351 Likewise.
4352
8e67b39e
PP
43532018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
4354
4355 [BZ #20544]
4356 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
4357 * stdlib/on_exit.c (__on_exit): Likewise.
4358 * stdlib/Makefile (tests): Add tst-bz20544.
4359 * stdlib/tst-bz20544.c: New test.
4360
15b8d67e
RÁE
43612018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
4362
4363 [BZ #19767]
4364 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
4365 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
4366 New.
4367
5e63c240
FW
43682018-11-30 Florian Weimer <fweimer@redhat.com>
4369
4370 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
4371 Extend error logging.
4372 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
4373 symbol.
4374
71058602 43752018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14d0e87d 4376
5fb7fc96
AZ
4377 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
4378 __sigismember instead of sigismember.
4379 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
4380 cancel_handler): New definitions.
4381 (do_system): Use posix_spawn instead of fork and execl and remove
4382 reentracy code.
4383 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
4384 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
4385 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
4386 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
4387 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
4388 * sysdeps/unix/sysv/linux/system.c: Likewise.
4389
14d0e87d
AZ
4390 [BZ #22834]
4391 [BZ #17490]
4392 * NEWS: Add new semantic for atfork with popen and system.
4393 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
4394 fork and execl.
4395
e5d262ef
TMQMF
43962018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4397
4398 [BZ #23690]
4399 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
4400 modification order when accessing reloc_result->addr.
4401 * include/link.h (reloc_result): Add field init.
4402 * nptl/Makefile (tests): Add tst-audit-threads.
4403 (modules-names): Add tst-audit-threads-mod1 and
4404 tst-audit-threads-mod2.
4405 Add rules to build tst-audit-threads.
4406 * nptl/tst-audit-threads-mod1.c: New file.
4407 * nptl/tst-audit-threads-mod2.c: Likewise.
4408 * nptl/tst-audit-threads.c: Likewise.
4409 * nptl/tst-audit-threads.h: Likewise.
4410
7e1d4240
JM
44112018-11-30 Joseph Myers <joseph@codesourcery.com>
4412
4413 * scripts/gen-as-const.py: New file.
4414 * scripts/gen-as-const.awk: Remove.
4415 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
4416 gen-as-const.py.
4417 ($(objpfx)test-as-const-%.c): Likewise.
4418
ce7387cc
L
44192018-11-29 H.J. Lu <hongjiu.lu@intel.com>
4420
4421 * elf/dl-exception.c: Include <_itoa.h>.
4422
c6a5bdc1
ST
44232018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
4424
4425 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
4426 returned by __f_setlk.
4427
a5275ba5
L
44282018-11-29 H.J. Lu <hongjiu.lu@intel.com>
4429 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4430
4431 * elf/Makefile (tests-internal): Add tst-create_format1.
4432 * elf/dl-exception.c (_dl_exception_create_format): Support
4433 %x, %lx and %zx.
4434 * elf/tst-create_format1.c: New file.
4435
3a67e81d
CAC
44362018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
4437
4438 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
4439 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
4440 gnulib.)
4441 * argp/argp-help.c (__argp_failure): Likewise.
4442
4975f0c3
MH
44432018-11-29 Mao Han <han_mao@c-sky.com>
4444
4445 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
4446 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
4447 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
4448 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
4449 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
4450 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
4451 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
4452 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
4453 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
4454 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
4455 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
4456 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
4457 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
4458 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
4459 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
4460 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
4461 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
4462 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
4463 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
4464 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
4465 (R_CKCORE_TLS_TPOFF32): New defines.
4466
250102c8
FW
44672018-11-29 Florian Weimer <fweimer@redhat.com>
4468
4469 * posix/Makefile (before-compile): Remove testcases.h and
4470 ptestcases.h.
4471 (generated): Add testcases.h and ptestcases.h.
4472 (testcases.h, ptestcases.h): Move to $(objpfx).
4473 (runtests.o): Add dependency on testcases.h.
4474 (runptests.o): Add dependency on ptestcases.h.
4475 * posix/testcases.h, posix/ptestcases.h: Remove files.
4476 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
4477 not touch posix/testcases.h and posix/ptestcases.h.
4478
96cd0558
FW
44792018-11-28 Florian Weimer <fweimer@redhat.com>
4480
4481 support: Add signal support to support_capture_subprocess_check.
4482 * support/capture_subprocess.h (support_capture_subprocess_check):
4483 Adjust comment and rename parameter.
4484 * support/support_capture_subprocess_check.c
4485 (print_actual_status): New function.
4486 (support_capture_subprocess_check): Support negative
4487 status_or_signal. Call print_actual_status.
4488 * support/tst-support_capture_subprocess.c (do_test): Call
4489 support_capture_subprocess_check.
4490 * libio/tst-vtables-common.c (termination_status)
4491 (init_termination_status): Remove.
4492 (check_for_termination): Adjust support_capture_subprocess_check
4493 call.
4494 (do_test): Remove call to init_termination_status.
4495
530504e3
JM
44962018-11-28 Joseph Myers <joseph@codesourcery.com>
4497
4498 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
4499 source directory instead of a copy.
4500 (CommandList.create_copy_dir): Remove.
4501
9a0b6970
SL
45022018-11-28 Stefan Liebler <stli@linux.ibm.com>
4503
4504 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4505
47d8d9a2
FW
45062018-11-28 Florian Weimer <fweimer@redhat.com>
4507
4508 * support/support.h (support_quote_string): Do not use str
4509 parameter name.
4510
b473b7d8
JM
45112018-11-27 Joseph Myers <joseph@codesourcery.com>
4512
4513 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
4514 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
4515
c74a91de
FW
45162018-11-27 Florian Weimer <fweimer@redhat.com>
4517
4518 * support/support.h (support_quote_string): Declare.
4519 * support/support_quote_string.c: New file.
4520 * support/tst-support_quote_string.c: Likewise.
4521 * support/Makefile (libsupport-routines): Add
4522 support_quote_string.
4523 (tests): Add tst-support_quote_string.
4524
d527c860
FW
45252018-11-27 Florian Weimer <fweimer@redhat.com>
4526
4527 [BZ #23927]
4528 CVE-2018-19591
4529 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
4530 descriptor leak in case of ENODEV error.
4531
979cfed0
RÁE
45322018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
4533
4534 [BZ #19767]
4535 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
4536 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
4537 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
4538
ce035c6e
CD
45392018-11-26 Carlos O'Donell <carlos@redhat.com>
4540
4541 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
4542 Error for unknown lines.
4543
2bd0bfcc
JM
45442018-11-26 Joseph Myers <joseph@codesourcery.com>
4545
4546 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
4547 Touch additional files.
4548
affec03b
FW
45492018-11-26 Florian Weimer <fweimer@redhat.com>
4550
4551 [BZ #23907]
4552 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
4553 double-frees.
4554
8ae74ead
RÁE
45552018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
4556
4557 [BZ #19767]
4558 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
4559 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
4560 SHARED. Include sysdep.h.
4561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
4562 ALWAYS_USE_VSYSCALL.
4563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
4564 ALWAYS_USE_VSYSCALL.
4565
1e8bdc3a
RÁE
45662018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
4567
4568 [BZ #19767]
4569 * nptl/Makefile (tests-static): Add tst-cond11-static.
4570 (tests): Likewise.
4571 * nptl/tst-cond11-static.c: New File.
4572 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
4573 tst-affinity-static.
4574 (tests): Likewise.
4575 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
4576 instead of SHARED.
4577 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
4578 (USE_VSYSCALL): Likewise.
4579 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
4580 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
4581 instead of SHARED.
4582 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
4583 SHARED.
4584 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
4585 New.
4586
1283c478
JM
45872018-11-23 Joseph Myers <joseph@codesourcery.com>
4588
4589 [BZ #23915]
4590 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4591 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
4592 Undefine.
4593
c089fd80
L
45942018-11-23 H.J. Lu <hongjiu.lu@intel.com>
4595
4596 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
4597 (tst-cet-legacy-1a-ARGS): New.
4598 ($(objpfx)tst-cet-legacy-1a): New target.
4599 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
4600
cc6c89fa
JM
46012018-11-22 Joseph Myers <joseph@codesourcery.com>
4602
95edd05c
JM
4603 * conform/conformtest.py (CompileSubTest.__init__): Set
4604 self.run_early to False.
4605 (ExecuteSubTest.__init__): Likewise.
4606 (HeaderTests.run): Try running all non-optional, non-XFAILed
4607 compilation tests in a single execution of the compiler.
4608
cc6c89fa
JM
4609 * conform/conformtest.py (CompileSubTest): New class.
4610 (ExecuteSubTest): Likewise.
4611 (ElementTest.run): Rename to gen_subtests. Append tests to
4612 self.subtests instead of running them.
4613 (ConstantTest.run): Likewise.
4614 (SymbolTest.run): Likewise.
4615 (TypeTest.run): Likewise.
4616 (TagTest.run): Likewise.
4617 (FunctionTest.run): Likewise.
4618 (VariableTest.run): Likewise.
4619 (MacroFunctionTest.run): Likewise.
4620 (MacroStrTest.run): Likewise.
4621 (HeaderTests.handle_test_line): Generate subtests for tests.
4622 (HeaderTests.run): Run subtests for tests.
4623
a502c529
SN
46242018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4625
4626 * math/Versions (GLIBC_2.29): Add pow.
4627 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
4628 symbol.
4629 * math/w_pow.c: New file.
4630 * sysdeps/i386/fpu/w_pow.c: New file.
4631 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
4632 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
4633 and add necessary aliases.
4634 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
4635 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
4636 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4637 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4638 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4639 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4640 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4641 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4642 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4643 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4644 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4645 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4646 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4647 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4648 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4653 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4654 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4655 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4656 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4657 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4658 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4659 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4660 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
4661 __pow.
4662 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
4663 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
4664 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
4665
718d6542
SN
46662018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4667
4668 * math/Versions (GLIBC_2.29): Add log2.
4669 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
4670 symbol.
4671 * math/w_log2.c: New file.
4672 * sysdeps/i386/fpu/w_log2.c: New file.
4673 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
4674 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
4675 and add necessary aliases.
4676 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
4677 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
4678 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4679 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4680 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4681 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4682 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4683 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4684 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4685 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4686 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4687 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4688 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4689 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4690 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4695 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4696 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4697 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4698 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4699 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4700 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4701 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4702
f29b7c49
SN
47032018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4704
4705 * math/Versions (GLIBC_2.29): Add log.
4706 * math/w_log_compat.c (__log_compat): Change to versioned compat
4707 symbol.
4708 * math/w_log.c: New file.
4709 * sysdeps/i386/fpu/w_log.c: New file.
4710 * sysdeps/ia64/fpu/e_log.S: Update.
4711 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
4712 and add necessary aliases.
4713 * sysdeps/ieee754/dbl-64/w_log.c: New file.
4714 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
4715 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4716 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4717 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4718 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4719 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4720 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4721 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4722 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4723 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4724 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4725 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4726 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4727 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4732 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4733 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4734 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4735 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4736 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4737 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4738 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4739 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
4740 __log.
4741 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
4742 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
4743 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
4744 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
4745
c20a1056
SN
47462018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4747
4748 * math/Versions (GLIBC_2.29): Add exp and exp2.
4749 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
4750 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
4751 * math/w_exp_compat.c (__exp_compat): Likewise.
4752 * math/w_exp.c: New file.
4753 * math/w_exp2.c: New file.
4754 * sysdeps/i386/fpu/w_exp.c: New file.
4755 * sysdeps/i386/fpu/w_exp2.c: New file.
4756 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
4757 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
4758 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
4759 and add necessary aliases.
4760 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
4761 and add necessary aliases.
4762 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
4763 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
4764 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
4765 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
4766 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4767 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4768 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4769 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4770 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4771 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4772 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4773 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4774 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4775 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4776 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4777 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4778 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4783 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4784 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4785 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4786 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4787 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4788 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4789 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4790 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
4791 (__ieee754_exp): Rename to __exp.
4792 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
4793 (__ieee754_exp): Rename to __exp.
4794 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
4795 (__ieee754_exp): Rename to __exp.
4796 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
4797 __exp.
4798 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
4799
bcdaad21
DD
48002018-11-20 DJ Delorie <dj@redhat.com>
4801
4802 * malloc/malloc.c (tcache_entry): Add key field.
4803 (tcache_put): Set it.
4804 (tcache_get): Likewise.
4805 (_int_free): Check for double free in tcache.
4806 * malloc/tst-tcfree1.c: New.
4807 * malloc/tst-tcfree2.c: New.
4808 * malloc/Makefile: Run the new tests.
4809 * manual/probes.texi: Document memory_tcache_double_free probe.
4810
4811 * dlfcn/dlerror.c (check_free): Prevent double frees.
4812
5770c0ad
WD
48132018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
4814
4815 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
4816
9a62a939
JM
48172018-11-20 Joseph Myers <joseph@codesourcery.com>
4818
4819 * conform/conformtest.py (ElementTest.run): Use unique identifiers
4820 in tests. Use names for format arguments.
4821 (ConstantTest.run): Likewise.
4822 (SymbolTest.run): Likewise.
4823 (TypeTest.run): Likewise.
4824 (TagTest.run): Likewise.
4825 (FunctionTest.run): Likewise.
4826 (VariableTest.run): Likewise.
4827 (MacroFunctionTest.run): Likewise.
4828 (MacroStrTest.run): Likewise.
4829 (HeaderTests.__init__): Set self.num_tests.
4830 (HeaderTests.handle_test_line): Set test.num. Increment
4831 self.num_tests.
4832
b15b1a95
ST
48332018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
4834
4835 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
4836 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
4837 SEEK_SET.
4838
0c7f97ae
MH
48392018-11-19 Mao Han <han_mao@c-sky.com>
4840
4841 * scripts/config.guess: Update to version 2018-08-29.
4842 * scripts/config.sub: Update to version 2018-08-29.
4843
35e3fbc4
FW
48442018-11-19 Florian Weimer <fweimer@redhat.com>
4845
4846 support: Print timestamps in timeout handler.
4847 * support/support_test_main.c (print_timestamp): New function.
4848 (signal_handler): Use it to print the termination time and the
4849 time of the last write to standard output.
4850
c75772e3
ZW
48512018-11-16 Zack Weinberg <zackw@panix.com>
4852 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4853
4854 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
4855 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
4856 argument.
4857 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
4858 and add flags argument. Check flags instead of __ldbl_is_dbl when
4859 deciding whether to set is_long_double.
4860 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
4861 passing zero for flags argument.
4862 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
4863
4864 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4865 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
4866 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
4867 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
4868 variable names. Remove libc_hidden_def/libc_hidden_proto from
4869 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
4870 longer called from within the library.
4871 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
4872 for __nldbl___vstrfmon_l, declare it explicitly.
4873
4874 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
4875
346ef23f
ST
48762018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
4877
4878 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
4879 macros
4880 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
4881 F_SETLK64, F_SETLKW64, respectively.
4882 * sysdeps/mach/hurd/f_setlk.c: New file.
4883 * sysdeps/mach/hurd/f_setlk.h: New file.
4884 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
4885 f_setlk.
4886 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
4887 (__libc_fcntl): Move non-flock operations to...
4888 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
4889 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
4890
de20b81a
PE
48912018-11-15 Paul Eggert <eggert@cs.ucla.edu>
4892
5d8af156
PE
4893 mktime: DEBUG_MKTIME cleanup
4894 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
4895 And it’s no longer needed now that glibc and Gnulib both have
4896 their own testing mechanisms for mktime.
4897 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
4898
86aece3b
PE
4899 mktime: fix non-EOVERFLOW errno handling
4900 [BZ#23789]
4901 mktime was not properly reporting failures when the underlying
4902 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
4903 them like EOVERFLOW failures, and set errno to EOVERFLOW.
4904 The problem could happen on non-glibc platforms, with Gnulib.
4905 * time/mktime.c (guess_time_tm): Remove, replacing with ...
4906 (tm_diff): ... this simpler function, which does not change errno.
4907 All callers changed to deal with errno themselves.
4908 (ranged_convert, __mktime_internal): Return failure immediately if
4909 the underlying function reports any failure other than EOVERFLOW.
4910 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
4911 gap code fails.
4912
f6b3331b
PE
4913 mktime: fix bug with Y2038 DST transition
4914 [BZ#23789]
4915 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
4916 mishandle a DST transition that jumps over the Y2038 boundary.
4917 No such DST transitions are known so this is only a theoretical
4918 bug, but we might as well do things right.
4919
efbdddc3
PE
4920 mktime: make more room for overflow
4921 [BZ#23789]
4922 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
4923 This is so that we can add tm_diff results to a previous guess,
4924 which will be useful in a later patch.
4925
6c90d759
PE
4926 mktime: simplify offset guess
4927 [BZ#23789]
4928 * time/mktime.c (__mktime_internal): Omit excess precision.
4929
32c12f3f
PE
4930 mktime: new test for mktime failure
4931 [BZ#23789]
4932 Based on a test suggested by Albert Aribaud in:
4933 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
4934 * time/Makefile (tests): Add bug-mktime4.
4935 * time/bug-mktime4.c: New file.
4936
de20b81a
PE
4937 mktime: fix EOVERFLOW bug
4938 [BZ#23789]
4939 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
4940 Include libc-config.h, not config.h, for __set_errno.
4941 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
4942
8c6c3fb0
ST
49432018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
4944
4945 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
4946 __attribute_copy__ to copy attributes from name. Drop static qualifier
4947 to avoid warnings about leaf attribute not having effect on static
4948 functions.
4949
6923f6db
FW
49502018-11-13 Florian Weimer <fweimer@redhat.com>
4951
4952 * malloc/malloc.c (fastbin_push_entry): New function.
4953 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
4954 (REMOVE_FB): Remove macro.
4955 (_int_malloc): Use fastbin_pop_entry and reindent.
4956 (_int_free): Use fastbin_push_entry.
4957 (malloc_consolidate): Use atomic_exchange_acquire.
4958
53f5c659
JM
49592018-11-13 Joseph Myers <joseph@codesourcery.com>
4960
0c096dcf
JM
4961 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
4962 alias attribute, not with strong_alias.
4963
9c4b457e
JM
4964 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
4965 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
4966 with additional parameter thread.
4967 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
4968 in terms of __hidden_ver2.
4969 (hidden_tls_def): New macro.
4970 (libc_hidden_tls_def): Likewise.
4971 (rtld_hidden_tls_def): Likewise.
4972 (libm_hidden_tls_def): Likewise.
4973 (libmvec_hidden_tls_def): Likewise.
4974 (libresolv_hidden_tls_def): Likewise.
4975 (librt_hidden_tls_def): Likewise.
4976 (libdl_hidden_tls_def): Likewise.
4977 (libnss_files_hidden_tls_def): Likewise.
4978 (libnsl_hidden_tls_def): Likewise.
4979 (libnss_nisplus_hidden_tls_def): Likewise.
4980 (libutil_hidden_tls_def): Likewise.
4981 (libutil_hidden_tls_def): Likweise.
4982 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
4983 libc_hidden_tls_def.
4984 (__sim_disabled_exceptions_thread): Likewise.
4985 (__sim_round_mode_thread): Likewise.
4986
53f5c659
JM
4987 * sysdeps/sparc/sparc-ifunc.h [SHARED]
4988 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
4989 copy attributes from name.
4990
092dfde6
JM
49912018-11-12 Joseph Myers <joseph@codesourcery.com>
4992
f578f97b
JM
4993 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
4994 Use __attribute_copy__ to copy attributes from name.
4995
9a7c643a
JM
4996 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
4997 with __hidden_ver1 call.
4998 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
4999 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
5000 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
5001 (__cosf): Do not declare here.
5002 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
5003 (__sincosf): Do not declare here.
5004 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
5005 (__sinf): Do not declare here.
5006
092dfde6
JM
5007 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
5008 (__BIG_ENDIAN): Likewise.
5009 (__BYTE_ORDER): Likewise.
5010 (strong_alias): Likewise.
5011 (_strong_alias): Likewise.
5012
1ecba1fa
FW
50132018-11-12 Florian Weimer <fweimer@redhat.com>
5014
5015 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
5016 function. Move after the definition of in_smallbin_range. Do not
5017 use __builtin_expect for paths that lead to a noreturn function.
5018 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
5019 because it is unclear whether this is in fact an unlikely
5020 condition.
5021 (_int_malloc, _int_free): Adjust.
5022 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
5023 variables.
5024 * malloc/arena.c (heap_trim): Likewise.
5025
434c34bd
ST
50262018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5027
5028 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
5029 it, free it if needed.
5030 (reauthenticate): Test and use ccwdir.
5031 (child_init_port): In non-resetids case, test and use ccwdir.
5032 (child_chdir): New nested function to set ccwdir.
7fa495cd
ST
5033 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
5034 * hurd/hurd/port.h (_hurd_port_move): New function.
5035 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
5036 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
88b26b7e
ST
5037 * hurd/Versions (_hurd_port_move): Export function.
5038 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
5039 symbol.
58bb655a
ST
5040 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
5041 of dtablesize for allocating dtable_cloexec.
434c34bd 5042
1626a1cf
MS
50432018-11-09 Martin Sebor <msebor@redhat.com>
5044
5045 * include/libc-symbols.h (__attribute_copy__): Define macro unless
5046 it's already defined.
5047 (_strong_alias): Use __attribute_copy__.
5048 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
5049 * misc/sys/cdefs.h (__attribute_copy__): New macro.
5050 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
5051 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
5052 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
5053 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
5054 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
5055 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
5056 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
5057 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
5058 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
5059 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
5060 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
5061 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
5062 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
5063 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
5064 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
5065 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
5066 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
5067
968ed530
GG
50682018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5069
5070 * misc/tst-efgcvt.c: Include support/check.h and
5071 support/test-driver.c. Do not include test-skeleton.c.
5072 (error_count): Remove.
5073 (output_error): Replace increments to error_count with calls to
5074 support_record_failure.
5075 (output_r_error): Likewise.
5076 (special): Likewise.
5077 (do_test): Unconditionally return zero.
5078 (TEST_FUNCTION): Remove.
5079
c3ec0972
JM
50802018-11-09 Joseph Myers <joseph@codesourcery.com>
5081
91faaa93
JM
5082 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
5083 not $(@D)/scratch.
5084 ($(linknamespace-header-tests)): Likewise.
5085
c3ec0972
JM
5086 * conform/conformtest.py: New file.
5087 * conform/conformtest.pl: Remove.
5088 * conform/GlibcConform.pm: Likewise.
5089 * conform/glibcconform.py (KEYWORDS_C90): New constant.
5090 (KEYWORDS_C99): Likewise.
5091 (KEYWORDS): Likewise.
5092 * conform/Makefile ($(conformtest-header-tests)): Use
5093 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
5094 option. Use --header instead of --headers.
5095 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
5096 function entries.
5097 * conform/data/spawn.h-data: Likewise.
5098 * conform/data/fcntl.h-data (openat): Add space after function
5099 name.
5100 * conform/data/wchar.h-data (wcscasecmp): Likewise.
5101 (wcscasecmp_l): Likewise.
5102 * conform/data/termios.h-data (c_cc): Add space after element
5103 name.
5104
43257c33
GG
51052018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5106
5107 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
5108 instead of manually comparing and reporting mismatching strings.
5109 * misc/tst-ldbl-error.c (do_one_test): Likewise.
5110 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
5111
e5de3b5b
JM
51122018-11-08 Joseph Myers <joseph@codesourcery.com>
5113
5114 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
5115 __ASSUME_SOCKETCALL.
5116 * sysdeps/unix/sysv/linux/i386/kernel-features.h
5117 (__ASSUME_SOCKETCALL): Remove.
5118 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5119 (__ASSUME_SOCKETCALL): Likewise.
5120 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5121 (__ASSUME_SOCKETCALL): Likewise.
5122 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5123 (__ASSUME_SOCKETCALL): Likewise.
5124 * sysdeps/unix/sysv/linux/s390/kernel-features.h
5125 (__ASSUME_SOCKETCALL): Likewise.
5126 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5127 (__ASSUME_SOCKETCALL): Likewise.
5128 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5129 (__ASSUME_SOCKETCALL): Likewise.
5130
d524fa6c
L
51312018-11-08 H.J. Lu <hongjiu.lu@intel.com>
5132
5133 [BZ #23509]
5134 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
5135 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
5136 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
5137 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
5138 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
5139 lc_unknown.
5140
ac806026
AH
51412018-11-08 Alexandra Hájková <ahajkova@redhat.com>
5142
5143 [BZ #17630]
5144 * resolv/tst-resolv-network.c: Add test for getnetbyname.
5145
596cc360
JM
51462018-11-07 Joseph Myers <joseph@codesourcery.com>
5147
5148 [BZ #23867]
5149 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5150 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
5151 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5152 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
5153
00c86a37
AZ
51542018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5155
5156 * support/support_test_compare_string.c
5157 (support_test_compare_string): Fix printf format.
5158
1df872fd
FW
51592018-11-07 Florian Weimer <fweimer@redhat.com>
5160
5161 Implement TEST_COMPARE_STRING.
5162 * support/check.h (TEST_COMPARE_STRING): Define.
5163 (support_test_compare_string): Declare.
5164 * support/Makefile (libsupport-routines): Add
5165 support_test_compare_string.
5166 (tests): Add tst-test_compare_string.
5167 * support/support_test_compare_string.c: New file.
5168 * support/tst-test_compare_string.c: Likewise.
5169
295132ff
AS
51702018-11-07 Andreas Schwab <schwab@suse.de>
5171
5172 [BZ #23864]
5173 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
5174 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
5175 Undef.
5176
e143ceba
JM
51772018-11-06 Joseph Myers <joseph@codesourcery.com>
5178
5179 [BZ #23862]
5180 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5181 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
5182 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
5183 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
5184 Likewise.
5185
4a938cb2
FW
51862018-11-06 Florian Weimer <fweimer@redhat.com>
5187
5188 [BZ #17405]
5189 * posix/Makefile (routines): Add spawn_faction_addchdir.
5190 (tests): Add tst-spawn-chdir.
5191 * posix/Versions (GLIBC_2.29): Add
5192 posix_spawn_file_actions_addchdir_np.
5193 * posix/spawn_faction_addchdir.c: New file.
5194 * posix/spawn_faction_destroy.c
5195 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
5196 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
5197 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
5198 chdir_action.
5199 * posix/tst-spawn-chdir.c: New file.
5200 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
5201 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5202 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
5203 posix_spawn_file_actions_addchdir_np.
5204 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
5205 Likewise.
5206 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
5207 Likewise.
5208 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
5209 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
5210 Likewise.
5211 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
5212 Likewise.
5213 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
5214 Likewise.
5215 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
5216 Likewise.
5217 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
5218 Likewise.
5219 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
5220 Likewise.
5221 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5222 (GLIBC_2.29): Likewise.
5223 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5224 (GLIBC_2.29): Likewise.
5225 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5226 (GLIBC_2.29): Likewise.
5227 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5228 (GLIBC_2.29): Likewise.
5229 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
5230 Likewise.
5231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5232 (GLIBC_2.29): Likewise.
5233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5234 (GLIBC_2.29): Likewise.
5235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5236 (GLIBC_2.29): Likewise.
5237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5238 (GLIBC_2.29): Likewise.
5239 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
5240 Likewise.
5241 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
5242 Likewise.
5243 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
5244 Likewise.
5245 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
5246 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
5247 Likewise.
5248 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
5249 Likewise.
5250 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
5251 Likewise.
5252 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
5253 Likewise.
5254
7597b0c7
GG
52552018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5256
5257 * misc/Makefile (tests): Add tst-ldbl-error.
5258 * misc/tst-ldbl-error.c: New file.
5259
9771e6cb
GG
52602018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5261
5262 * misc/Makefile (tests): Add tst-ldbl-warn.
5263 * misc/tst-ldbl-warn.c: New file.
5264
2c03961f
GG
52652018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5266
5267 * argp/Makefile (tests): Add tst-ldbl-argp.
5268 * argp/tst-ldbl-argp.c: New file.
5269
6d6ee046
AS
52702018-11-05 Arjun Shankar <arjun@redhat.com>
5271
5272 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
5273 __gconv_path_elem and call __gconv_get_path unconditionally.
5274
bd3b0fba
AS
52752018-11-05 Andreas Schwab <schwab@suse.de>
5276
5277 [BZ #22927]
5278 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
5279 creating the first helper thread failed.
5280
2e96e980
ST
52812018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
5282
5283 * sysdeps/mach/hurd/msync.c: New file.
5284
6e36266c
FW
52852018-11-02 Florian Weimer <fweimer@redhat.com>
5286
5287 * support/shell-container.c (copy_func): Call
5288 support_copy_file_range instead of copy_file_range to support
5289 cross-device copies.
5290
599f7bee
FW
52912018-11-02 Florian Weimer <fweimer@redhat.com>
5292
5293 * support/test-container.c: Include <libc-pointer-arith.h> for
5294 ALIGN_UP.
5295
ff48ea67
ZL
52962018-11-01 Zong Li <zong@andestech.com>
5297
af1d5782
ZL
5298 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
5299 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
5300 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
5301 (__FP_FRAC_SET_8): Add implementation for RV32 use.
5302
ff48ea67
ZL
5303 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
5304 variable to avoid overlap arguments.
5305
daea71c2
JM
53062018-11-01 Joseph Myers <joseph@codesourcery.com>
5307
eac4405a
JM
5308 * posix/bug-regex22.c (main): Use puts with distinct error
5309 messages for unexpected success of re_compile_pattern, not printf
5310 with NULL argument to %s.
5311
6f30e59f
JM
5312 * stdio-common/bug22.c: Include <libc-diag.h>.
5313 (do_test): Disable -Wformat-overflow= warnings around fprintf
5314 calls outputting more than INT_MAX characters.
5315 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
5316 around printf call with NULL %s argument.
5317
daea71c2
JM
5318 [BZ #23848]
5319 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
5320 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
5321 Undefine.
5322 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5323 (__ASSUME_RECVMSG_SYSCALL): Likewise.
5324 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5325 (__ASSUME_SENDTO_SYSCALL): Likewise.
5326 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5327 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
5328 [!__arch64__].
5329 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5330 (__ASSUME_CONNECT_SYSCALL): Likewise.
5331 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
5332 (__ASSUME_RECVFROM_SYSCALL): Likewise.
5333 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
5334 Define.
5335 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
5336 Likewise.
5337 [__LINUX_KERNEL_VERSION >= 0x040400]
5338 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5339 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
5340 Remove.
5341 (listen): Likewise.
5342 (setsockopt): Likewise.
5343
8e3c00db
FN
53442018-11-01 Fredrik Noring <noring@nocrew.org>
5345
5346 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
5347 with the ISA override.
5348
9c3dbdbe
RAE
53492018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
5350
5351 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
5352 #endif.
5353
e3a88b3e
ST
53542018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
5355
a67377e7 5356 * manual/errno.texi (EIEIO): Document how translators should
e3a88b3e 5357 translate the error message.
a67377e7
ST
5358 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
5359 printing trailing whitespaces refused by git.
5360 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
5361 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fc783076 5362 * hurd/Makefile (user-interfaces): Add pci.
e3a88b3e 5363
3ca235ed
JM
53642018-10-30 Joseph Myers <joseph@codesourcery.com>
5365
5366 * conform/linknamespace.py: New file.
5367 * conform/linknamespace.pl: Remove file.
5368 * conform/Makefile ($(linknamespace-header-tests)): Use
5369 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
5370 option.
5371
60708030
FW
53722018-10-30 Florian Weimer <fweimer@redhat.com>
5373
5374 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
5375 memory leaks.
5376
a91e9301
FW
53772018-10-30 Florian Weimer <fweimer@redhat.com>
5378
5379 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
5380
07da99aa
FW
53812018-10-30 Florian Weimer <fweimer@redhat.com>
5382
5383 * stdlib/tst-strtod-overflow.c (do_test): Switch to
5384 support_blob_repeat.
5385
f5e7e959
FW
53862018-10-30 Florian Weimer <fweimer@redhat.com>
5387
5388 Avoid spurious test failures in stdlib/test-bz22786.
5389 * support/Makefile (libsupport-routines): Add blob_repeat.
5390 (tests): Add tst-support_blob_repeat.
5391 * support/blob_repeat.h: New file.
5392 * support/blob_repeat.c: Likewise.
5393 * support/tst-support_blob_repeat.c: Likewise.
5394 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
5395 support_blob_repeat_allocate.
5396
2dd12baa
AS
53972018-10-30 Andreas Schwab <schwab@suse.de>
5398
5399 [BZ #23125]
5400 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
5401 Don't use tail call.
5402 * elf/tst-unwind-main.c: New file.
5403 * elf/Makefile (tests): Add tst-unwind-main.
5404 (CFLAGS-tst-unwind-main.c): Define.
5405
fec8bb7c
SAA
54062018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
5407
5408 [BZ #23791]
5409 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
5410 n_cs_precedes to 0.
5411 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
5412
c6982f7e
JM
54132018-10-29 Joseph Myers <joseph@codesourcery.com>
5414
954cf3c2
JM
5415 * conform/glibcconform.py: Do not import shutil.
5416 (list_exported_functions): Use tempfile.TemporaryDirectory instead
5417 of mkdtemp.
5418
c6982f7e
JM
5419 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
5420 critic_missing for versions before 3.4.
5421 * configure: Regenerated.
5422 * manual/install.texi (Tools for Compilation): Document
5423 requirement for Python to build glibc.
5424 * INSTALL: Regenerated.
5425 * Rules [PYTHON]: Make code unconditional.
5426 * benchtests/Makefile [PYTHON]: Likewise.
5427 * conform/Makefile [PYTHON]: Likewise.
5428 * manual/Makefile [PYTHON]: Likewise.
5429 * math/Makefile [PYTHON]: Likewise.
5430
46a7f24c
ST
54312018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
5432
5433 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
2d0d1d38 5434 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
b6e7c449 5435 answer to interrupt_operation, return EIEIO instead of EINTR.
5c81be53
ST
5436 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
5437 _hurd_intr_rpc_msg_about_to global point to start of controlled
5438 assembly snippet. Make it check canceled flag.
5439 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
5440 the _hurd_intr_rpc_msg_about_to point.
5441 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
5442 issue, remove cancel flag check.
46a7f24c 5443
e5b8756d
JM
54442018-10-26 Joseph Myers <joseph@codesourcery.com>
5445
5446 * scripts/build-many-glibcs.py: Remove compatibility for missing
5447 os.cpu_count and re.fullmatch.
5448
ba5b14c7
SN
54492018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
5450
5451 [BZ #23822]
5452 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
5453 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
5454 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
5455
fe61f17c
JM
54562018-10-25 Joseph Myers <joseph@codesourcery.com>
5457
5458 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
5459 macro.
5460
7c5e34d7
FW
54612018-10-25 Florian Weimer <fweimer@redhat.com>
5462
5463 [BZ #23562]
5464 [BZ #23821]
5465 XFAIL siginfo_t si_band conform test on sparc64.
5466 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
5467 (__SI_BAND_TYPE): Only override long int default type on sparc64.
5468 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5469 (conformtest-xfail-conds): Add sparc64-linux.
5470 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
5471 sparc64.
5472 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
5473
5b784e88
JM
54742018-10-25 Joseph Myers <joseph@codesourcery.com>
5475
5476 * elf/elf.h (NT_MIPS_DSP): New macro.
5477 (NT_MIPS_FP_MODE): Likewise.
5478
41432ebe
ZL
54792018-10-25 Zong Li <zong@andestech.com>
5480
5481 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
5482 name by adding the file extension (.so).
5483
d026efea
ST
54842018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
5485
5486 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
5487 (test-xfail-ISO11/threads.h/linknamespace,
5488 test-xfail-ISO11/threads.h/conform): Add.
5489
b71ac2b9
JM
54902018-10-24 Joseph Myers <joseph@codesourcery.com>
5491
5492 * math/gen-libm-test.py: Import os.
5493 (ALL_FLOATS_MANUAL): New constant.
5494 (ALL_FLOATS_SUFFIX): Likewise.
5495 (Ulps.all_functions): New function.
5496 (real_all_ulps): Likewise.
5497 (generate_err_table_sub): Likewise.
5498 (generate_err_table): Likewise.
5499 (main): Handle -s and -m options.
5500 * manual/libm-err-tab.pl: Remove.
5501 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
5502 instead of libm-err-tab.pl.
5503 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
5504 != no].
5505 * manual/install.texi (Tools for Compilation): Document
5506 requirement for Python to build manual.
5507 * INSTALL: Regenerated.
5508
d51f99ce
AA
55092018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
5510
5511 * bits/time64.h: New file.
5512 * include/time.h: Replace internal_time_t with __time64_t.
5513 * posix/bits/types (__time64_t): Add.
5514 * stdlib/Makefile: Add bits/time64.h to includes.
5515 * time/tzfile.c: Replace internal_time_t with __time64_t.
5516
97d91fcc 55172018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2a973ab7
AZ
5518
5519 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
5520 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
5521 __posix_spawn_file_actions_init, __posix_spawnattr_init,
5522 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
5523 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
5524 prototype.
5525 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
5526 * posix/spawn_faction_addclose.c
5527 (__posix_spawn_file_actions_addclose): Add hidden definition.
5528 * posix/spawn_faction_adddup2.c
5529 (__posix_spawn_file_actions_adddup2): Likewise.
5530 * posix/spawn_faction_destroy.c
5531 (__posix_spawn_file_actions_destroy): Likewise.
5532 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
5533 Likewise.
5534 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
5535 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
5536 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
5537 Likewise.
5538 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
5539 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
5540 Likewise.
5541
2954daf0
AS
55422018-10-24 Andreas Schwab <schwab@suse.de>
5543
5544 [BZ #18093]
5545 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
5546 format cache.
5547 * elf/cache.c (print_cache): Likewise.
5548
a27a4f47
AA
55492018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
5550
5551 * bits/timesize.h: New file.
5552 * stdlib/Makefile (headers): Add bits/timesize.h.
5553 * sysdeps/unix/sysv/linux/bits/msq-pad.h
5554 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
5555 * sysdeps/unix/sysv/linux/bits/sem-pad.h
5556 (__SEM_PAD_AFTER_TIME): Likewise.
5557 * sysdeps/unix/sysv/linux/bits/shm-pad.h
5558 (__SHM_PAD_AFTER_TIME): Likewise.
5559 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
5560 (__MSQ_PAD_BEFORE_TIME): Likewise.
5561 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
5562 (__SEM_PAD_BEFORE_TIME): Likewise.
5563 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
5564 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
5565 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
5566 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
5567 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
5568 (__MSQ_PAD_BEFORE_TIME): Likewise.
5569 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
5570 (__SEM_PAD_BEFORE_TIME): Likewise.
5571 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
5572 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
5573 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
5574 (__MSQ_PAD_BEFORE_TIME): Likewise.
5575 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
5576 (__SEM_PAD_BEFORE_TIME): Likewise.
5577 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
5578 (__SHM_PAD_BEFORE_TIME): Likewise.
5579 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
5580 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
5581 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
5582
7cc65773
L
55832018-10-24 H.J. Lu <hongjiu.lu@intel.com>
5584
5585 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
5586 USE_RDTSCP is defined.
5587 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
5588 USE_RDTSCP is defined.
5589
c3d8dc45
AZ
55902018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5591
18ad0de6
AZ
5592 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
5593 defined.
5594
c3d8dc45
AZ
5595 [BZ #23709]
5596 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
5597 independently of other flags.
5598
f1034472
FW
55992018-10-23 Florian Weimer <fweimer@redhat.com>
5600
5601 * time/tst-mktime2.c (N_STRINGS): Remove.
5602 (set_timezone): New function.
5603 (spring_forward_gap): Call it. Use FAIL_EXIT1.
5604 (mktime_test1): Report localtime failure and check errno value.
5605 Use TEST_COMPARE.
5606 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
5607 (do_test): Remove alarm call. Use set_timezone and array_length.
5608
367d7cc2
AS
56092018-10-23 Andreas Schwab <schwab@suse.de>
5610
5611 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
5612 (__start_context): Use END instead of PSEUDO_END.
5613
be8ff03f
JM
56142018-10-22 Joseph Myers <joseph@codesourcery.com>
5615
029ad711
JM
5616 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5617 version to 4.19.
5618
8190520f
JM
5619 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5620 version to 4.19.
5621
be8ff03f
JM
5622 [BZ #23793]
5623 * wcsmbs/c32rtomb.c: New file.
5624 * wcsmbs/mbrtoc32.c: Likewise.
5625 * wcsmbs/tst-c32-state.c: Likewise.
5626 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
5627 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
5628 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
5629 (tests): Add tst-c32-state.
5630 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
5631 $(gen-locales).
5632
2dd8e58c
L
56332018-10-21 H.J. Lu <hongjiu.lu@intel.com>
5634
5635 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
5636 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
5637
d0a74159
JM
56382018-10-19 Joseph Myers <joseph@codesourcery.com>
5639
5640 [BZ #23794]
5641 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
5642 pair and return 0 in that case, and use saved character to
5643 interpret following character.
5644 * wcsmbs/tst-c16-surrogate.c: New file.
5645 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
5646 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
5647 Depend on $(gen-locales)
5648
f997b4be
IYM
56492018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
5650
5651 [BZ #23562]
5652 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
5653 (struct siginfo_t): Use correct type for si_band.
5654
53b2bb87
FW
56552018-10-19 Florian Weimer <fweimer@redhat.com>
5656
5657 [BZ #23689]
5658 * resource/bits/types/struct_rusage.h (struct rusage): Update
5659 comment on struct. Remove extraneous field comment.
5660
0a271c8f
DM
56612018-10-18 David S. Miller <davem@davemloft.net>
5662
94a3a27f
DM
5663 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
5664 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
5665 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
5666 sysdep_routines in subdir elf.
5667 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
5668 version for __vdso_clock_gettime.
5669 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
5670 Define.
5671 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
5672 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
5673
0a271c8f
DM
5674 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
5675
72771e53
L
56762018-10-17 H.J. Lu <hongjiu.lu@intel.com>
5677
5678 * sysdeps/i386/init-arch.h: Removed.
5679 * sysdeps/i386/i586/init-arch.h: Likewise.
5680 * sysdeps/i386/i686/init-arch.h: Likewise.
5681 * sysdeps/i386/i686/hp-timing.h: Likewise.
5682 * sysdeps/x86_64/hp-timing.h: Likewise.
5683 * sysdeps/i386/isa.h: New file.
5684 * sysdeps/i386/i586/isa.h: Likewise.
5685 * sysdeps/i386/i686/isa.h: Likewise.
5686 * sysdeps/x86_64/isa.h: Likewise.
5687 * sysdeps/x86/hp-timing.h: New file.
5688 * sysdeps/x86/init-arch.h: Include <isa.h>.
5689
c2b7ccad
JM
56902018-10-17 Joseph Myers <joseph@codesourcery.com>
5691
5692 * math/libm-test-pow.inc (pow_test_data): Do not allow
5693 divide-by-zero exception for pow(+/- 0, -Inf).
5694
26756e57
ZW
56952018-10-17 Zack Weinberg <zackw@panix.com>
5696
5697 * manual/job.texi (Job Control is Optional): Remove node, as
5698 job control has not been optional in quite some time.
5699 (Job Control): Mention briefly that systems older than
5700 POSIX.1-2001 might not support job control.
5701 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
5702 defined on systems conforming to POSIX.1-2001.
5703
c5288d37
AS
57042018-10-17 Arjun Shankar <arjun@redhat.com>
5705
5706 [BZ #22062]
5707 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
5708 indentation.
5709 * (__gconv_read_conf): Mark function static.
5710 * (once): New static variable.
5711 * (__gconv_load_conf): New function.
5712 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
5713 * iconv/gconv_db.c (once): Remove static variable.
5714 * (__gconv_compare_alias): Use __gconv_load_conf instead of
5715 __gconv_read_conf.
5716 * (__gconv_find_transform): Likewise.
5717 * iconv/tst-iconv-mt.c: New test.
5718 * iconv/Makefile: Add tst-iconv_mt.
5719
8c8d2a8a
JM
57202018-10-17 Joseph Myers <joseph@codesourcery.com>
5721
5722 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
729f3402
JM
5723 bits/shm-pad.h.
5724 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
5725 (shmatt_t): Define as __syscall_ulong_t.
5726 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
5727 and [__SHM_PAD_AFTER_TIME].
5728 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
5729 Define shm_segsz and associated padding based on
5730 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
5731 Use __syscall_ulong_t instead of unsigned long int.
5732 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
5733 unsigned long int.
5734 [__USE_MISC] (struct shm_info): Likewise.
5735 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
5736 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
5737 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
5738 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
5739 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
5740 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
5741 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
5742 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
5743 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
5744 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
5745 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
5746
5747 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8c8d2a8a
JM
5748 bits/shmlba.h.
5749 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
5750 (SHMLBA): Remove macro.
5751 (__getpagesize): Remove function declaration.
5752 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
5753 <bits/shmlba.h>.
5754 (SHMLBA): Remove macro.
5755 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
5756 <bits/shmlba.h>.
5757 (SHMLBA): Remove macro.
5758 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
5759 <bits/shmlba.h>.
5760 (SHMLBA): Remove macro.
5761 (__getpagesize): Remove function declaration.
5762 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
5763 <bits/shmlba.h>.
5764 (SHMLBA): Remove macro.
5765 (__getshmlba): Remove function declaration.
5766 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
5767 (SHMLBA): Remove macro.
5768 (__getpagesize): Remove function declaration.
5769 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
5770 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
5771 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
5772 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
5773 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
5774 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
5775 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
5776 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
5777 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
5778 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
5779
403b4feb
SL
57802018-10-17 Stefan Liebler <stli@linux.ibm.com>
5781
5782 [BZ #23275]
5783 * nptl/tst-mutex10.c: New File.
5784 * nptl/Makefile (tests): Add tst-mutex10.
5785 (tst-mutex10-ENV): New variable.
5786 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
5787 Ensure that elision path is used if elision is available.
5788 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
5789 Likewise.
5790 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
5791 Likewise.
5792 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
5793 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
5794 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
5795 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
5796 Likewise.
5797 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
5798 (__pthread_mutex_cond_lock_adjust): Likewise.
5799 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
5800 Likewise.
5801 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
5802 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5803 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5804 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
5805 Add comments.
5806 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
5807 Use atomic_load_relaxed and atomic_store_relaxed.
5808 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
5809 Use atomic_store_relaxed.
5810
ce5a7de6
AS
58112018-10-17 Andreas Schwab <schwab@suse.de>
5812
5813 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
5814 * crypt/badsalttest.c (TIMEOUT): Likewise.
5815 * crypt/sha256c-test.c (TIMEOUT): Likewise.
5816 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
5817 * io/test-lfs.c (TIMEOUT): Likewise.
5818 * libio/tst-atime.c (TIMEOUT): Likewise.
5819 * localedata/tst-leaks.c (TIMEOUT): Likewise.
5820 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
5821 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
5822 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
5823 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
5824 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
5825 * nptl/tst-cond11.c (TIMEOUT): Likewise.
5826 * nptl/tst-cond14.c (TIMEOUT): Likewise.
5827 * nptl/tst-cond15.c (TIMEOUT): Likewise.
5828 * nptl/tst-cond24.c (TIMEOUT): Likewise.
5829 * nptl/tst-cond25.c (TIMEOUT): Likewise.
5830 * nptl/tst-kill2.c (TIMEOUT): Likewise.
5831 * nptl/tst-kill3.c (TIMEOUT): Likewise.
5832 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
5833 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
5834 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
5835 * nptl/tst-once2.c (TIMEOUT): Likewise.
5836 * nptl/tst-once3.c (TIMEOUT): Likewise.
5837 * nptl/tst-once4.c (TIMEOUT): Likewise.
5838 * nptl/tst-robust8.c (TIMEOUT): Likewise.
5839 * nptl/tst-robust9.c (TIMEOUT): Likewise.
5840 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
5841 * nptl/tst-sem14.c (TIMEOUT): Likewise.
5842 * nptl/tst-sem6.c (TIMEOUT): Likewise.
5843 * nptl/tst-signal3.c (TIMEOUT): Likewise.
5844 * nptl/tst-spin4.c (TIMEOUT): Likewise.
5845 * nptl/tst-tls3.c (TIMEOUT): Likewise.
5846 * nptl/tst-tls4.c (TIMEOUT): Likewise.
5847 * posix/tst-chmod.c (TIMEOUT): Likewise.
5848 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
5849 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
5850 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
5851 * posix/tst-regex2.c (TIMEOUT): Likewise.
5852 * posix/tst-waitid.c (TIMEOUT): Likewise.
5853 * rt/tst-aio.c (TIMEOUT): Likewise.
5854 * rt/tst-aio10.c (TIMEOUT): Likewise.
5855 * rt/tst-aio4.c (TIMEOUT): Likewise.
5856 * rt/tst-aio5.c (TIMEOUT): Likewise.
5857 * rt/tst-aio6.c (TIMEOUT): Likewise.
5858 * rt/tst-aio64.c (TIMEOUT): Likewise.
5859 * rt/tst-aio7.c (TIMEOUT): Likewise.
5860 * rt/tst-aio9.c (TIMEOUT): Likewise.
5861 * rt/tst-clock.c (TIMEOUT): Likewise.
5862 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
5863 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
5864 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
5865 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
5866 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
5867 * rt/tst-timer4.c (TIMEOUT): Likewise.
5868 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
5869 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
5870 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
5871 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
5872 * time/tst-ftime.c (TIMEOUT): Likewise.
5873 * timezone/tst-tzset.c (TIMEOUT): Likewise.
5874
75c1aee5
AY
58752018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
5876
5877 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
5878 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
5879 for thunderX2.
5880
bcdb1bfa
JM
58812018-10-15 Joseph Myers <joseph@codesourcery.com>
5882
5883 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5884 bits/sem-pad.h.
5885 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
5886 instead of <bits/wordsize.h>.
5887 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
5888 and [__SEM_PAD_AFTER_TIME].
5889 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
5890 __syscall_ulong_t instead of unsigned long int.
5891 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
5892 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
5893 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
5894 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
5895 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
5896 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
5897 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
5898 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
5899 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
5900 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
5901 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
5902
f4efbdfb
PE
59032018-10-14 Paul Eggert <eggert@cs.ucla.edu>
5904
620a5d4c
PE
5905 regex: simplify by using intprops.h
5906 [BZ#23744]
5907 * posix/regex_internal.h [_LIBC]: Include intprops.h.
5908 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
5909 intprops.h defines them.
5910
f4efbdfb
PE
5911 regex: __builtin_expect → __glibc_unlikely
5912 [BZ#23744]
5913 This refactoring was prompted by a problem when the regex code is
5914 used as part of Gnulib and when the builder’s compiler does not grok
5915 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
5916 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
5917 Although this refactoring does not fix the problem directly,
5918 we might as well have Gawk use the now-preferred glibc style for when
5919 __builtin_expect is unavailable.
5920 * posix/regex_internal.h (BE): Remove.
5921 All uses replaced by __glibc_unlikely or __glibc_likely.
5922
9f9feb6d
JM
59232018-10-11 Joseph Myers <joseph@codesourcery.com>
5924
5925 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5926 bits/msq-pad.h.
5927 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
5928 instead of <bits/wordsize.h>.
5929 (msgqnum_t): Define as __syscall_ulong_t.
5930 (msglen_t): Likewise.
5931 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
5932 and [__MSQ_PAD_AFTER_TIME].
5933 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
5934 __syscall_ulong_t instead of unsigned long int.
5935 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
5936 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
5937 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
5938 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
5939 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
5940 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
5941 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
5942 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
5943 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
5944 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
5945 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
5946
b9c0f6c1
JM
59472018-10-10 Joseph Myers <joseph@codesourcery.com>
5948
2a4b25fa
JM
5949 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
5950 (struct shmid_ds): Condition padding after time fields on
5951 [__WORDSIZE == 32].
5952 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
5953 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
5954 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
5955
19e62f26
JM
5956 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
5957 (struct semid_ds): Condition padding after time fields on
5958 [__WORDSIZE == 32].
5959 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
5960 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
5961 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
5962 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
5963
b9c0f6c1
JM
5964 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
5965 (struct msqid_ds): Condition padding after time fields on
5966 [__WORDSIZE == 32].
5967 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
5968 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
5969 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
5970 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
5971
97785a61
SN
59722018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
5973
5974 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
5975
ed643089
SN
59762018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
5977
5978 * libio/tst-readline.c (TIMEOUT): Define.
5979
5a580643
PE
59802018-10-08 Paul Eggert <eggert@cs.ucla.edu>
5981
5982 mktime fix for Gnulib + coreutils
5983 [BZ#23745]
5984 This fix affects only Gnulib. Problem discovered when
5985 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
5986 * time/mktime.c:
5987 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
5988 Do not define since it is not used. Defining an unused static
5989 function prompts a warning from GCC when Coreutils is configured
5990 with --enable-gcc-warnings.
5991
c892ae04
LS
59922018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5993
5994 * benchtests/scripts/compare_bench.py (main): set float type on
5995 threshold argument.
5996
a68ec8ea
RL
59972018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
5998
5999 [BZ #23740]
6000 * localedata/locales/kl_GL (mon): Update, the relative case.
6001 (alt_mon): Add, fill with month names in the nominative case.
6002 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
6003 (d_fmt): Set to "%b %d %Y".
6004
a1987621
JM
60052018-10-04 Joseph Myers <joseph@codesourcery.com>
6006
47c49251
JM
6007 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
6008 <bits/mman-linux.h>.
6009 (PROT_READ): Don't define here.
6010 (PROT_WRITE): Likewise.
6011 (PROT_EXEC): Likewise.
6012 (PROT_NONE): Likewise.
6013 (PROT_GROWSDOWN): Likewise.
6014 (PROT_GROWSUP): Likewise.
6015 (MAP_SHARED): Likewise.
6016 (MAP_PRIVATE): Likewise.
6017 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
6018 [__USE_MISC] (MAP_FILE): Likewise.
6019 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
6020 [__USE_MISC] (MAP_ANON): Likewise.
6021 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
6022 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
6023 (MCL_CURRENT): Likewise.
6024 (MCL_FUTURE): Likewise.
6025 (MCL_ONFAULT): Likewise.
6026 [__USE_MISC] (MADV_NORMAL): Likewise.
6027 [__USE_MISC] (MADV_RANDOM): Likewise.
6028 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
6029 [__USE_MISC] (MADV_WILLNEED): Likewise.
6030 [__USE_MISC] (MADV_DONTNEED): Likewise.
6031 [__USE_MISC] (MADV_FREE): Likewise.
6032 [__USE_MISC] (MADV_REMOVE): Likewise.
6033 [__USE_MISC] (MADV_DONTFORK): Likewise.
6034 [__USE_MISC] (MADV_DOFORK): Likewise.
6035 [__USE_MISC] (MADV_HWPOISON): Likewise.
6036 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
6037 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
6038 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
6039 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
6040 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
6041 (__MAP_ANONYMOUS): New macro.
6042 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
6043 <bits/mman-linux.h> inclusion.
6044 (MAP_FIXED): Likewise.
6045 (MS_SYNC): Likewise.
6046 (MS_ASYNC): Likewise.
6047 (MS_INVALIDATE): Likewise.
6048 [__USE_MISC] (MADV_MERGEABLE): Likewise.
6049 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
6050 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
6051 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
6052 [__USE_MISC] (MADV_DONTDUMP): Likewise.
6053 [__USE_MISC] (MADV_DODUMP): Likewise.
6054 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
6055 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
6056
a1987621
JM
6057 [BZ #23735]
6058 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
6059 Define.
6060 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
6061 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
6062 Add test-nldbl-redirect.
6063 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
6064 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
6065 $(objpfx)libnldbl_nonshared.a.
6066
e7624d70
SL
60672018-10-04 Stefan Liebler <stli@linux.ibm.com>
6068
6069 * support/support.h (support_objdir_elf_ldso): New variable.
6070 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
6071 * support/Makefile (CFLAGS-support_paths.c): Add definition
6072 for OBJDIR_ELF_LDSO_PATH.
6073 * support/test-container.c (main): Search for the ld.so
6074 which is also used by the testsuite.
6075
dae3ed95
RL
60762018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
6077
6078 [BZ #20209]
6079 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
6080 should be "sap" rather than "sab".
6081 (day): Fix spelling of Sunday, should be "sapaat" rather than
6082 "sabaat".
6083
f346b5b3
JM
60842018-10-02 Joseph Myers <joseph@codesourcery.com>
6085
6086 * math/libm-test-fma.inc (fma_test_data): Add more tests.
6087
4a06ceea
MJ
60882018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
6089
6090 [BZ #19444]
6091 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
6092 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
6093 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
6094
a06fc4a5
AZ
60952018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6096
6097 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
6098
a1ccc065
L
60992018-10-02 H.J. Lu <hongjiu.lu@intel.com>
6100
6101 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
6102 Add -mrtm.
6103 (CFLAGS-elision-unlock.c): Likewise.
6104 (CFLAGS-elision-timed.c): Likewise.
6105 (CFLAGS-elision-trylock.c): Likewise.
6106 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
6107
0b727ed4
AZ
61082018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6109
6110 [BZ #21037]
6111 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
6112 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
6113 new fd_to_filename interface.
6114 * libio/freopen64.c (freopen64): Likewise.
6115 * libio/tst-memstream.h: New file.
6116 * libio/tst-memstream4.c: Likewise.
6117 * libio/tst-wmemstream4.c: Likewise.
6118 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
6119 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
6120 and remove internal dynamic allocation.
6121
d0e91e8c
JM
61222018-10-01 Joseph Myers <joseph@codesourcery.com>
6123
6124 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
6125 (MREMAP_MAYMOVE): Do not define here.
6126 [__USE_GNU] (MREMAP_FIXED): Likewise.
6127 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
6128 (MREMAP_MAYMOVE): Define here instead.
6129 [__USE_GNU] (MREMAP_FIXED): Likewise.
6130 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
6131 (MREMAP_MAYMOVE): Remove.
6132 [__USE_GNU] (MREMAP_FIXED): Likewise.
6133
c52944e8
JM
61342018-09-28 Joseph Myers <joseph@codesourcery.com>
6135
6136 * math/fromfp.h: Do not include <math_private.h>.
6137 * math/s_cacosh_template.c: Likewise.
6138 * math/s_casin_template.c: Likewise.
6139 * math/s_casinh_template.c: Likewise.
6140 * math/s_ccos_template.c: Likewise.
6141 * math/s_cproj_template.c: Likewise.
6142 * math/s_fdim_template.c: Likewise.
6143 * math/s_fmaxmag_template.c: Likewise.
6144 * math/s_fminmag_template.c: Likewise.
6145 * math/s_iseqsig_template.c: Likewise.
6146 * math/s_ldexp_template.c: Likewise.
6147 * math/s_nextdown_template.c: Likewise.
6148 * math/w_log1p_template.c: Likewise.
6149 * math/w_scalbln_template.c: Likewise.
6150 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
6151 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
6152 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
6153 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
6154 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
6155 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
6156 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
6157 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
6158 * sysdeps/i386/fpu/s_atanl.c: Likewise.
6159 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
6160 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
6161 * sysdeps/i386/fpu/s_fdim.c: Likewise.
6162 * sysdeps/i386/fpu/s_logbl.c: Likewise.
6163 * sysdeps/i386/fpu/s_rintl.c: Likewise.
6164 * sysdeps/i386/fpu/s_significandl.c: Likewise.
6165 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
6166 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
6167 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6168 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6169 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
6170 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6171 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6172 * sysdeps/ieee754/k_standardf.c: Likewise.
6173 * sysdeps/ieee754/k_standardl.c: Likewise.
6174 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6175 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
6176 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
6177 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
6178 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
6179 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
6180 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6181 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6182 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6183 * sysdeps/ieee754/s_signgam.c: Likewise.
6184 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
6185 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
6186 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
6187 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6188 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6189 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
6190 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6191 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
6192 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6193 * sysdeps/riscv/rvd/s_finite.c: Likewise.
6194 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
6195 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
6196 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
6197 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
6198 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
6199 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
6200 * sysdeps/riscv/rvf/fegetround.c: Likewise.
6201 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
6202 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
6203 * sysdeps/riscv/rvf/fesetround.c: Likewise.
6204 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
6205 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
6206 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
6207 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6208 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
6209 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6210 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
6211 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
6212 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
6213 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
6214 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
6215 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
6216 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
6217 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
6218 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6219 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6220 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
6221 <math_private.h>.
6222 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
6223
7b1f9406
L
62242018-09-28 H.J. Lu <hongjiu.lu@intel.com>
6225
6226 [BZ #23716]
6227 * sysdeps/i386/dl-cet.c: Removed.
6228 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
6229 prototype.
6230 (_dl_runtime_profile_shstk): Likewise.
6231 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
6232 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
6233
7a16bdbb
AZ
62342018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6235
6236 [BZ #23579]
6237 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
6238 do_test_with_invalid_iov): New tests.
6239 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
6240 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
6241 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
6242 errno is ENOSYS.
6243 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
6244 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
6245 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
6246
9755bc46
JM
62472018-09-27 Joseph Myers <joseph@codesourcery.com>
6248
81dca813
JM
6249 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6250 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
6251 (MATH_REDIRECT_BINARY_ARGS): New macro.
6252 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6253 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
6254 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
6255 header inclusion.
6256 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
6257 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6258 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
6259 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6260 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6261 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6262 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
6264 Likewise.
6265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
6266 Likewise.
6267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
6268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
6269 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
6270 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
6271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
6272 Likewise.
6273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
6274 Likewise.
6275 * sysdeps/generic/math_private_calls.h
6276 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
6277 Do not declare and define as an inline function.
6278 * math/divtc3.c (__divtc3): Use copysign functions instead of
6279 __copysign variants.
6280 * math/multc3.c (__multc3): Likewise.
6281 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
6282 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
6283 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6284 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
6285 Likewise.
6286 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
6287 (__ieee754_yn): Likewise.
6288 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6289 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
6290 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
6291 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6292 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
6293 (__sin): Likewise.
6294 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
6295 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6296 Likewise.
6297 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
6298 Likewise.
6299 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
6300 Likewise.
6301 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6302 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6303 Likewise.
6304 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
6305 (__ieee754_ynf): Likewise.
6306 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
6307 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
6308 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
6309 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6310 Likewise.
6311 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6312 (__ieee754_ynl): Likewise.
6313 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
6314 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
6315 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6316 Likewise.
6317 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6318 (__ieee754_ynl): Likewise.
6319 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
6320 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6321 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6322 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6323 Likewise.
6324 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
6325 (__ieee754_ynl)
6326 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
6327 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
6328 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
6329 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
6330 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6331
9755bc46
JM
6332 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6333 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
6334 using MATH_REDIRECT.
6335 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
6336 header inclusion.
6337 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
6338 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6339 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6340 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
6341 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6342 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6343 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
6345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
6346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
6347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
6348 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6349 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6350 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6351 (round): Redirect to __round.
6352 (__roundl): Call round instead of __round.
6353 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
6354 Remove macro.
6355 [_ARCH_PWR5X] (__roundf): Likewise.
6356 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
6357 functions instead of __round variants.
6358 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
6359 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
6360 Likewise.
6361 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
6362 Likewise.
6363 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
6364 Likewise.
6365 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
6366 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
6367 __lroundl.
6368 (__ieee754_expl): Call roundl instead of __roundl.
6369
f841c97e
AS
63702018-09-27 Andreas Schwab <schwab@suse.de>
6371
6372 [BZ #23717]
6373 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
6374 (do_test): Make st1 static.
6375
6ca8284e
AS
63762018-09-26 Andreas Schwab <schwab@suse.de>
6377
6378 [BZ #23707]
6379 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
6380 * elf/Makefile (tests): Add tst-unwind-ctor.
6381 (modules-names): Add tst-unwind-ctor-lib.
6382 ($(objpfx)tst-unwind-ctor): Depend on
6383 $(objpfx)tst-unwind-ctor-lib.so.
6384
61d8b5fe
JM
63852018-09-26 Joseph Myers <joseph@codesourcery.com>
6386
6387 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
6388 file. Most contents moved from ....
6389 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
6390 and include <bits/mman-map-flags-generic.h>.
6391 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6392 (sysdep_headers): Add bits/mman-map-flags-generic.h.
6393 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
6394 <bits/mman-map-flags-generic.h>.
6395 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
6396 macros defined in <bits/mman-map-flags-generic.h>.
6397 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
6398 <bits/mman-map-flags-generic.h>.
6399 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
6400 defined in <bits/mman-map-flags-generic.h>.
6401
46341286
AS
64022018-09-26 Andreas Schwab <schwab@suse.de>
6403
6404 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
6405 output.
6406
b5c45e83
AZ
64072018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
6408 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6409 Fangrui Song <maskray@google.com>
6410
6411 [BZ #20480]
6412 * config.make.in (have-textrel_ifunc): New define.
6413 * configure.ac: Add check if linker supports textrel relocation with
6414 ifunc.
6415 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
6416 tst-ifunc-textrel.
6417 (CFLAGS-tst-ifunc-textrel.c): New rule.
6418 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
6419 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
6420 * elf/tst-ifunc-textrel.c: New file.
6421
8ea4d2b7
JM
64222018-09-25 Joseph Myers <joseph@codesourcery.com>
6423
d62f9ec0
JM
6424 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
6425 <bits/procfs-prregset.h>.
6426 (prgregset_t): Define using __prgregset_t.
6427 (prfpregset_t): Define using __prfpregset_t.
6428 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6429 (sysdep_headers): Add bits/procfs-prregset.h.
6430 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
6431 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
6432 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
6433 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
6434
d0d8eb43
JM
6435 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
6436 <bits/procfs-id.h> and <bits/procfs-extra.h>.
6437 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
6438 pr_uid and pr_gid.
6439 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6440 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
6441 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
6442 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
6443 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
6444 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
6445 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
6446 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
6447 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
6448 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
6449 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
6450 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
6451 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
6452 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
6453 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
6454 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
6455 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
6456 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
6457 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
6458 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
6459 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
6460 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
6461 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
6462 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
6463
8ea4d2b7
JM
6464 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
6465 AArch64 version. Include <bits/procfs.h>.
6466 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6467 (sysdep_headers): Add bits/procfs.h.
6468 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
6469 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
6470 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
6471 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
6472 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
6473 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
6474 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
6475 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
6476 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
6477 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
6478 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
6479 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
6480 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
6481 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
6482 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
6483 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
6484 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
6485
c7027166
AZ
64862018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6487
6488 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
6489 Use libsupport.
6490
335a3b0a
AS
64912018-09-25 Arjun Shankar <arjun@redhat.com>
6492
6493 * iconv/gconv_int.h (__gconv_path_elem): Remove.
6494 (__gconv_max_path_elem_len): Likewise.
6495 (__gconv_nmodules): Likewise.
6496 (__gconv_get_path): Likewise.
6497 (path_elem): Move to ...
6498 * iconv/gconv_conf.c: ... here.
6499 (__gconv_get_path): Mark function static.
6500 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
6501 * iconv/gconv_open.c: ... here.
6502
462d348c
AS
65032018-09-24 Andreas Schwab <schwab@suse.de>
6504
6505 * scripts/haveversions.awk: New file.
6506 * Makerules ($(common-objpfx)Versions.def)
6507 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
6508 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
6509 Move rules ...
6510 * Makeconfig ($(common-objpfx)Versions.def)
6511 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
6512 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
6513 ... here.
6514 ($(common-objpfx)Versions.mk): New rule. Include it.
6515 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
6516 Emit error if build-obsolete-nsl = yes.
6517 * manual/install.texi (Configuring and compiling): Describe
6518 --enable-obsolete-nsl as unavaiable after version 2.28.
6519 * INSTALL: Regenerate.
6520
f0458cf4
AZ
65212018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6522
6523 * NEWS: Add note about new TLE support on powerpc64le.
6524 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
6525 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
6526 __ununsed1.
6527 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
6528 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
6529 * sysdeps/powerpc/powerpc32/sysdep.h,
6530 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
6531 ABORT_TRANSACTION): Remove macros.
6532 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
6533 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
6534 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
6535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
6536 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6537 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
6538 usage.
6539 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
6540
434d45fd
RL
65412018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
6542
6543 [BZ #10425]
6544 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
6545 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
6546 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
6547 which is the same as in it_IT.
6548 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
6549 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
6550
d90c9b1a
JM
65512018-09-20 Joseph Myers <joseph@codesourcery.com>
6552
7abf97be
JM
6553 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6554 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
6555 using MATH_REDIRECT.
6556 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
6557 header inclusion.
6558 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
6559 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6560 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
6561 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6562 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6563 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
6565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
6566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
6567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
6568 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6569 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6570 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
6571 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
6572 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
6573 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
6574 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
6575 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6576 (ceil): Redirect to __ceil.
6577 (floor): Redirect to __floor.
6578 (trunc): Redirect to __trunc.
6579 (__truncl): Call trunc instead of __trunc.
6580 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
6581 Remove macro.
6582 [_ARCH_PWR5X] (__truncf): Likewise.
6583 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
6584 trunc functions instead of __trunc variants.
6585 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6586 Likewise.
6587 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6588 Likewise.
6589 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6590 Likewise.
6591 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6592 Likewise.
6593
d90c9b1a
JM
6594 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
6595 [__i586__ || __pentium__].
6596 [__i486__]: Handle explicitly.
6597 (HAS_CPUID): Define to 1 if above macros are undefined.
6598 (HAS_I586): Likewise.
6599 (HAS_I686): Likewise.
6600
db9a8ad4
FW
66012018-09-20 Florian Weimer <fweimer@redhat.com>
6602
6603 * misc/tst-gethostid.c: New file.
6604 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
6605 (tst-gethostid): Link with -ldl.
6606
1214ba06
MY
66072018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
6608
6609 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
6610 value from gethostbyname_r.
6611
791b350d
CD
66122018-09-19 Carlos O'Donell <carlos@redhat.com>
6613
6614 * stdlib/tst-setcontext9.c (f1): Rename to...
6615 (f1a): ... this.
6616 (f1b): New function implementing lower half of f1 in alternate stack.
6617
8e6fd2bd
PE
66182018-09-19 Paul Eggert <eggert@cs.ucla.edu>
6619
e1080e7e
PE
6620 Fix mktime localtime offset confusion
6621 [BZ #23603]
6622 * include/time.h (__mktime_internal): The localtime offset is now
6623 of type long int instead of time_t. This is the longstanding type
6624 in glibc, and it is more than enough to represent difference
6625 between localtime and gmtime even if it is 32 bits and time_t is
6626 64. Changing it now will let us avoid an unnecessary change when
6627 time_t is widened to 64 bits on 32-bit platforms.
6628 * time/mktime-internal.h (mktime_offset_t): Now long int.
6629
8e6fd2bd
PE
6630 Merge mktime, timegm from upstream Gnulib
6631 [BZ #23603][BZ #16346]
6632 This fixes some obscure problems with integer overflow.
6633 Although it looks scary, it is almost all a byte-for-byte copy
6634 from Gnulib, and the Gnulib code has been tested reasonably well.
6635 * include/intprops.h: New file, copied from Gnulib.
6636 * include/verify.h, time/mktime-internal.h:
6637 New tiny files, simplified from Gnulib.
6638 * time/mktime.c: Copy from Gnulib. This has the following changes:
6639 Do not include config.h if DEBUG_MKTIME is nonzero.
6640 Include stdbool.h, intprops.h, verify.h.
6641 Include string.h only if needed.
6642 Include stdlib.h on MS-Windows.
6643 Include mktime-internal.h.
6644 (DEBUG_MKTIME): Default to 0, and simplify later uses.
6645 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
6646 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
6647 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
6648 simplify later conditionals; default the others to zero. Use
6649 these conditionals to express only the code needed on the current
6650 platform. In uses of these conditionals, explicitly spell out how
6651 _LIBC affects things, so it’s easier to review from a glibc
6652 viewpoint.
6653 (WRAPV): Remove; no longer needed now that we have
6654 systematic overflow checking.
6655 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
6656 compartmentalize tzset issues. Move system-dependent tzsettish
6657 code here from mktime.
6658 (verify): Remove; now done by verify.h. All uses changed.
6659 (long_int): Use a more-conservative definition, to avoid
6660 integer overflow.
6661 (SHR): Remove, replacing with ...
6662 (shr): New function, which means we needn’t worry about side
6663 effects in args, and conversion analysis is simpler.
6664 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
6665 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
6666 (time_t_avg, time_t_add_ok): Remove.
6667 (mktime_min, mktime_max): New constants.
6668 (leapyear, isdst_differ): Use bool for booleans.
6669 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
6670 Use long_int, not time_t, for mktime differences.
6671 (long_int_avg): New function, replacing time_t_avg.
6672 INT_ADD_WRAPV replaces time_t_add_ok.
6673 (guess_time_tm): 6th arg is now long_int, not time_t const *.
6674 All uses changed.
6675 (convert_time): New function.
6676 (ranged_convert): Use it.
6677 (__mktime_internal): Last arg now points to mktime_offset_t, not
6678 time_t. All uses changed. This is a no-op on glibc, where
6679 mktime_offset_t is always time_t. Use int, not time_t, for UTC
6680 offset guess. Directly check for integer overflow instead of
6681 using a heuristic that works only 99.9...% of the time.
6682 Access *OFFSET only once, to avoid an unlikely race if the
6683 compiler delays a load and if this cascades into a signed integer
6684 overflow.
6685 (mktime): Move tzsettish code to my_tzset, and move
6686 localtime_offset to within mktime so that it doesn’t
6687 need a separate ifdef.
6688 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
6689 instead of localtime.
6690 * time/timegm.c: Copy from Gnulib. This has the following changes:
6691 Include mktime-internal.h.
6692 [!_LIBC]: Include config.h and time.h. Do not include
6693 timegm.h or time_r.h. Make __mktime_internal a macro,
6694 and include mktime-internal.h to get its declaration.
6695 (timegm): Temporary is now mktime_offset_t, not time_t.
6696 This affects only Gnulib.
6697
83a552b0
WD
66982018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
6699
6700 [BZ #23637]
6701 * string/test-strstr.c (pr23637): New function.
6702 (test_main): Add tests with longer needles.
6703 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
6704 * string/strstr.c (AVAILABLE): Likewise.
6705
d7347278
SN
67062018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
6707
6708 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
6709
424c4f60
SN
67102018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
6711
6712 * NEWS: Mention pow improvements.
6713 * math/Makefile (type-double-routines): Add e_pow_log_data.
6714 * sysdeps/generic/math_private.h (__exp1): Remove.
6715 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
6716 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
6717 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
6718 contraction.
6719 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
6720 (exp_inline): Remove.
6721 (__ieee754_exp): Only single double input is handled.
6722 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
6723 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
6724 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
6725 (__pow_log_data): Define.
6726 * sysdeps/ieee754/dbl-64/upow.h: Remove.
6727 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
6728 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
6729 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
6730 contraction.
6731 (CFLAGS-e_pow-fma4.c): Likewise.
6732
e4e4fde5
PE
67332018-09-18 Paul Eggert <eggert@cs.ucla.edu>
6734
dab9c348
PE
6735 Simplify tzfile fstat failure code
6736 [BZ #21716]
6737 * time/tzfile.c (__tzfile_read): Simplify slightly.
6738
e4e4fde5
PE
6739 Fix tzfile low-memory assertion failure
6740 [BZ #21716]
6741 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
6742 when registering time zone abbreviations.
6743
50bc59ca
JM
67442018-09-18 Joseph Myers <joseph@codesourcery.com>
6745
d3a43e49
JM
6746 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
6747 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
6748 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
6749 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
6750 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
6751 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
6752 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
6753 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6754 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
6755
50bc59ca
JM
6756 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
6757 __ceil.
6758 (__ceill): Call ceil instead of __ceil.
6759 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
6760 __floor.
6761 (__floorl): Call floor instead of __floor.
6762
89983cb3
JM
67632018-09-17 Joseph Myers <joseph@codesourcery.com>
6764
71223ef9
JM
6765 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6766 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
6767 using MATH_REDIRECT.
6768 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
6769 header inclusion.
6770 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
6771 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6772 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6773 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
6774 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6775 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6776 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6777 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
6778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
6779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
6780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
6781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
6782 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6783 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6784 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
6785 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
6786 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
6787 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
6788 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
6789 Remove macro.
6790 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
6791 functions instead of __ceil variants.
6792 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
6793 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
6794 Likewise.
6795 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
6796 Likewise.
6797 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
6798 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
6799 Likewise.
6800 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
6801 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6802
89983cb3
JM
6803 [BZ #21286]
6804 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
6805 constant.
6806 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
6807 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
6808 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
6809 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
6810 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
6811 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
6812 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
6813 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
6814 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
6815 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
6816 (ILL_BADIADDR): Remove constant.
6817 (TRAP_BRANCH): Likewise.
6818 (TRAP_HWBKPT): Likewise.
6819
e44acb20
JM
68202018-09-14 Joseph Myers <joseph@codesourcery.com>
6821
3f7f1d18
JM
6822 [BZ #23656]
6823 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
6824 Remove [_MIPS_SIM = _ABIN32] conditional case.
6825 (struct elf_prpsinfo): Likewise.
6826
d59f3e5e
JM
6827 [BZ #23649]
6828 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
6829 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
6830 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
6831 Likewise.
6832 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
6833 elf_prpsinfo): Likewise.
6834 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
6835 elf_prpsinfo): Likewise.
6836 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
6837 Likewise.
6838
f29b6f17
JM
6839 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6840 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
6841 using MATH_REDIRECT.
6842 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
6843 header inclusion.
6844 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
6845 * sysdeps/alpha/fpu/s_rint.c: Likewise.
6846 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
6847 * sysdeps/i386/fpu/s_rintl.c: Likewise.
6848 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6849 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6850 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
6851 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6852 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6853 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6854 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
6855 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
6856 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
6857 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
6858 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
6859 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
6860 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6861 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
6862 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
6863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
6864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
6865 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
6866 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
6867 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
6868 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
6869 * sysdeps/x86_64/fpu/math_private.h: Remove file.
6870 * math/e_scalb.c (invalid_fn): Use rint functions instead of
6871 __rint variants.
6872 * math/e_scalbf.c (invalid_fn): Likewise.
6873 * math/e_scalbl.c (invalid_fn): Likewise.
6874 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
6875 Likewise.
6876 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6877 Likewise.
6878 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
6879 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
6880 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6881 Likewise.
6882 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6883 Likewise.
6884 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6885 Likewise.
6886 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
6887 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
6888
e44acb20
JM
6889 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6890 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
6891 New macro.
6892 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6893 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
6894 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6895 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
6896 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6897 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
6898 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6899 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
6900 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6901 && !NO_MATH_REDIRECT] (floor): Likewise.
6902 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
6903 header inclusion.
6904 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
6905 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6906 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6907 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
6908 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6909 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6910 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6911 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
6912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
6913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
6914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
6915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
6916 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6917 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6918 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
6919 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
6920 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
6921 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
6922 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
6923 Remove macro.
6924 [_ARCH_PWR5X] (__floorf): Likewise.
6925 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
6926 inline function.
6927 [__SSE4_1__] (__floorf): Likewise.
6928 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
6929 instead of __floor variants.
6930 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
6931 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
6932 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
6933 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
6934 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
6935 * math/w_tgamma_compat.c (__tgamma): Likewise.
6936 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
6937 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
6938 * math/w_tgammal_compat.c (__tgammal): Likewise.
6939 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
6940 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
6941 Likewise.
6942 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
6943 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
6944 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
6945 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6946 Likewise.
6947 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
6948 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
6949 Likewise.
6950 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
6951 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
6952 Likewise.
6953 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
6954 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
6955 Likewise.
6956 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
6957 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
6958 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
6959 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
6960 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
6961 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6962
221e4bab
JM
69632018-09-12 Joseph Myers <joseph@codesourcery.com>
6964
6965 * elf/Makefile (modules-names-tests): New variable.
6966
3e08ff54
SN
69672018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
6968
6969 * NEWS: Mention log2 improvements.
6970 * math/Makefile (type-double-routines): Add e_log2_data.
6971 * sysdeps/i386/fpu/e_log2_data.c: New file.
6972 * sysdeps/ia64/fpu/e_log2_data.c: New file.
6973 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
6974 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
6975 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
6976 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
6977 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
6978
f41b0a43
SN
69792018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
6980
6981 * NEWS: Mention log improvement.
6982 * math/Makefile (type-double-routines): Add e_log_data.
6983 * sysdeps/i386/fpu/e_log_data.c: New file.
6984 * sysdeps/ia64/fpu/e_log_data.c: New file.
6985 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
6986 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
6987 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
6988 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
6989 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
6990 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
6991
5a274db4
L
69922018-09-12 H.J. Lu <hongjiu.lu@intel.com>
6993 Xuepeng Guo <xuepeng.guo@intel.com>
6994
6995 [BZ #23606]
6996 * sysdeps/i386/start.S: Include <sysdep.h>
6997 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
6998 enabled. Add cfi_undefined (eip).
6999
b1176270
JM
70002018-09-11 Joseph Myers <joseph@codesourcery.com>
7001
4e7fbdd7
JM
7002 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
7003 (MOVQ): Likewise.
7004 (EXTRACT_WORDS64): Likewise.
7005 (INSERT_WORDS64): Likewise.
7006 (GET_FLOAT_WORD): Likewise.
7007 (SET_FLOAT_WORD): Likewise.
7008
b1176270
JM
7009 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
7010 argument.
7011 (Config.build_gcc): Use --disable-libsanitizer for first GCC
7012 build, but not for second build if --full-gcc. Use
7013 --enable-languages=all for second build if --full-gcc.
7014 (get_parser): Add --full-gcc option.
7015 (main): Update call to Context.
7016
527f355e
RL
70172018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
7018
7019 [BZ #10797]
7020 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
7021 Single Quotation Mark).
7022 (thousands_sep): Likewise.
7023 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
7024 * localedata/locales/it_IT (thousands_sep): Use ".".
7025 (grouping): Use "3;3".
7026
7244f13d
JM
70272018-09-10 Joseph Myers <joseph@codesourcery.com>
7028
7029 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
7030 x86_64 and i686 configs using --enable-obsolete-rpc
7031 --enable-obsolete-nsl.
7032
38245425
SL
70332018-09-06 Stefan Liebler <stli@linux.ibm.com>
7034
7035 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7036
28669f86
SL
70372018-09-06 Stefan Liebler <stli@linux.ibm.com>
7038
7039 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
7040 Increment size of new_argv by one.
7041
a33650d1
RL
70422018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
7043
7044 [BZ #17426]
7045 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
7046 * localedata/locales/ar_IN (d_fmt): Likewise.
7047 * localedata/locales/bhb_IN (d_fmt): Likewise.
7048 * localedata/locales/bho_IN (d_fmt): Likewise.
7049 * localedata/locales/bn_BD (d_fmt): Likewise.
7050 * localedata/locales/bn_IN (d_fmt): Likewise.
7051 * localedata/locales/doi_IN (d_fmt): Likewise.
7052 * localedata/locales/gu_IN (d_fmt): Likewise.
7053 * localedata/locales/hi_IN (d_fmt): Likewise.
7054 * localedata/locales/hne_IN (d_fmt): Likewise.
7055 * localedata/locales/kn_IN (d_fmt): Likewise.
7056 * localedata/locales/mag_IN (d_fmt): Likewise.
7057 * localedata/locales/mai_IN (d_fmt): Likewise.
7058 * localedata/locales/mjw_IN (d_fmt): Likewise.
7059 * localedata/locales/ml_IN (d_fmt): Likewise.
7060 * localedata/locales/mni_IN (d_fmt): Likewise.
7061 * localedata/locales/mr_IN (d_fmt): Likewise.
7062 * localedata/locales/pa_IN (d_fmt): Likewise.
7063 * localedata/locales/raj_IN (d_fmt): Likewise.
7064 * localedata/locales/sat_IN (d_fmt): Likewise.
7065 * localedata/locales/sd_IN (d_fmt): Likewise.
7066 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
7067 * localedata/locales/ta_IN (d_fmt): Likewise.
7068 * localedata/locales/ta_LK (d_fmt): Likewise.
7069 * localedata/locales/tcy_IN (d_fmt): Likewise.
7070 * localedata/locales/ur_IN (d_fmt): Likewise.
7071
7072 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
7073 * localedata/locales/ks_IN (d_fmt): Likewise.
7074 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
7075
7076 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
7077 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
7078 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
7079 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
7080
d114e6a7
SN
70812018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
7082
7083 * NEWS: Mention exp and exp2 improvements.
7084 * math/Makefile (libm-support): Remove t_exp.
7085 (type-double-routines): Add math_err and e_exp_data.
7086 * sysdeps/aarch64/libm-test-ulps: Update.
7087 * sysdeps/arm/libm-test-ulps: Update.
7088 * sysdeps/i386/fpu/e_exp_data.c: New file.
7089 * sysdeps/i386/fpu/math_err.c: New file.
7090 * sysdeps/i386/fpu/t_exp.c: Remove.
7091 * sysdeps/ia64/fpu/e_exp_data.c: New file.
7092 * sysdeps/ia64/fpu/math_err.c: New file.
7093 * sysdeps/ia64/fpu/t_exp.c: Remove.
7094 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
7095 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
7096 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
7097 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
7098 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
7099 * sysdeps/ieee754/dbl-64/math_config.h: New file.
7100 * sysdeps/ieee754/dbl-64/math_err.c: New file.
7101 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
7102 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
7103 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
7104 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
7105 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
7106 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
7107 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
7108 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7109 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7110
b9d8c474
JM
71112018-09-05 Joseph Myers <joseph@codesourcery.com>
7112
b7cdc2ae
JM
7113 * sysdeps/alpha/fpu/math_private.h: Remove.
7114
b9d8c474
JM
7115 * sysdeps/generic/math_private.h
7116 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
7117 Move this inline function ....
7118 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
7119 * include/math.h [!_ISOMAC]: To here....
7120
418d99e6
JM
71212018-09-04 Joseph Myers <joseph@codesourcery.com>
7122
7123 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
7124 code ....
7125 [!FE_HAVE_ROUNDING_MODES]: And this code ....
7126 * include/fenv.h [!_ISOMAC]: ... to here.
7127 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
7128 (feraiseexcept): Likewise.
7129 * math/fromfp.h: Do not include <fenv_private.h>.
7130 * math/s_cexp_template.c: Likewise.
7131 * math/s_csin_template.c: Likewise.
7132 * math/s_csinh_template.c: Likewise.
7133 * math/s_ctan_template.c: Likewise.
7134 * math/s_ctanh_template.c: Likewise.
7135 * math/s_iseqsig_template.c: Likewise.
7136 * math/w_acos_compat.c: Likewise.
7137 * math/w_acosf_compat.c: Likewise.
7138 * math/w_acosl_compat.c: Likewise.
7139 * math/w_asin_compat.c: Likewise.
7140 * math/w_asinf_compat.c: Likewise.
7141 * math/w_asinl_compat.c: Likewise.
7142 * math/w_j0_compat.c: Likewise.
7143 * math/w_j0f_compat.c: Likewise.
7144 * math/w_j0l_compat.c: Likewise.
7145 * math/w_j1_compat.c: Likewise.
7146 * math/w_j1f_compat.c: Likewise.
7147 * math/w_j1l_compat.c: Likewise.
7148 * math/w_jn_compat.c: Likewise.
7149 * math/w_jnf_compat.c: Likewise.
7150 * math/w_log10_compat.c: Likewise.
7151 * math/w_log10f_compat.c: Likewise.
7152 * math/w_log10l_compat.c: Likewise.
7153 * math/w_log2_compat.c: Likewise.
7154 * math/w_log2f_compat.c: Likewise.
7155 * math/w_log2l_compat.c: Likewise.
7156 * math/w_log_compat.c: Likewise.
7157 * math/w_logf_compat.c: Likewise.
7158 * math/w_logl_compat.c: Likewise.
7159 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7160 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7161 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7162 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7163 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7164 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7165 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7166 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7167 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7168 * sysdeps/ieee754/k_standardl.c: Likewise.
7169 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7170 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7171 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7172 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7173 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7174 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7175 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7176 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7177 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7178 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7179 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7180 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7181 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7182 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7183 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7184 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7185 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7186 * math/w_ilogb_template.c: Include <fenv.h> instead of
7187 <fenv_private.h>.
7188 * math/w_llogb_template.c: Likewise.
7189 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7190 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7191
70e2ba33
JM
71922018-09-03 Joseph Myers <joseph@codesourcery.com>
7193
7194 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
7195 * math/fromfp.h: Include <fenv_private.h>.
7196 * math/math-narrow.h: Likewise.
7197 * math/s_cexp_template.c: Likewise.
7198 * math/s_csin_template.c: Likewise.
7199 * math/s_csinh_template.c: Likewise.
7200 * math/s_ctan_template.c: Likewise.
7201 * math/s_ctanh_template.c: Likewise.
7202 * math/s_iseqsig_template.c: Likewise.
7203 * math/w_acos_compat.c: Likewise.
7204 * math/w_acosf_compat.c: Likewise.
7205 * math/w_acosl_compat.c: Likewise.
7206 * math/w_asin_compat.c: Likewise.
7207 * math/w_asinf_compat.c: Likewise.
7208 * math/w_asinl_compat.c: Likewise.
7209 * math/w_ilogb_template.c: Likewise.
7210 * math/w_j0_compat.c: Likewise.
7211 * math/w_j0f_compat.c: Likewise.
7212 * math/w_j0l_compat.c: Likewise.
7213 * math/w_j1_compat.c: Likewise.
7214 * math/w_j1f_compat.c: Likewise.
7215 * math/w_j1l_compat.c: Likewise.
7216 * math/w_jn_compat.c: Likewise.
7217 * math/w_jnf_compat.c: Likewise.
7218 * math/w_llogb_template.c: Likewise.
7219 * math/w_log10_compat.c: Likewise.
7220 * math/w_log10f_compat.c: Likewise.
7221 * math/w_log10l_compat.c: Likewise.
7222 * math/w_log2_compat.c: Likewise.
7223 * math/w_log2f_compat.c: Likewise.
7224 * math/w_log2l_compat.c: Likewise.
7225 * math/w_log_compat.c: Likewise.
7226 * math/w_logf_compat.c: Likewise.
7227 * math/w_logl_compat.c: Likewise.
7228 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
7229 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
7230 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
7231 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
7232 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7233 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7234 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7235 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7236 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7237 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7238 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7239 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7240 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
7241 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
7242 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7243 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
7244 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7245 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7246 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7247 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7248 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7249 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7250 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7251 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7252 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7253 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7254 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
7255 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
7256 * sysdeps/ieee754/float128/float128_private.h: Likewise.
7257 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
7258 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7259 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7260 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
7261 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7262 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7263 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7264 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7265 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7266 * sysdeps/ieee754/k_standardl.c: Likewise.
7267 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7268 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7269 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7270 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7271 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7272 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
7273 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7274 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7275 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7276 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7277 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7278 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7279 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7280 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7281 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
7282 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
7283 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7284 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
7285 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
7286 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7287 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7288 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7289 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7290 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7291 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7292 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
7293 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7294 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
7295 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
7296 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7297 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7298 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7299 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7300 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7301 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7302 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
7303 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7304 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7305 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7306 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7307 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
7308 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7309 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
7310 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7311 * sysdeps/riscv/rvd/s_finite.c: Likewise.
7312 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
7313 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
7314 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
7315 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
7316 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
7317 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
7318 * sysdeps/riscv/rvf/fegetround.c: Likewise.
7319 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
7320 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
7321 * sysdeps/riscv/rvf/fesetround.c: Likewise.
7322 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
7323 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
7324 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
7325 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7326 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
7327 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7328 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
7329 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
7330 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
7331 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
7332 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
7333 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
7334 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
7335 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
7336 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
7337 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
7338
a6e8926f
PP
73392018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7340
7341 [BZ #20271]
7342 * include/stdio.h (__libc_fatal): Mention newline in comment.
7343 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
7344 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
7345 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7346 * nss/nsswitch.c (__nss_next2): Likewise.
7347 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
7348 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
7349 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
7350 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
7351 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
7352 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
7353 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
7354 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
7355 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
7356 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
7357 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
7358 * sysdeps/unix/sysv/linux/netlink_assert_response.c
7359 (__netlink_assert_response): Likewise.
7360
2bbd06bc
JM
73612018-08-31 Joseph Myers <joseph@codesourcery.com>
7362
7363 * conform/glibcconform.py: New file.
7364 * conform/list-header-symbols.py: Likewise.
7365 * conform/list-header-symbols.pl: Remove.
7366 * conform/Makefile (tests-special): Only add linknamespace tests
7367 if [PYTHON].
7368 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
7369
81b9d87b
L
73702018-08-31 H.J. Lu <hongjiu.lu@intel.com>
7371
7372 [BZ #23597]
7373 * support/Makefile (libsupport-routines): Add
7374 support_copy_file_range and xcopy_file_range.
7375 * support/support.h: Include <sys/types.h>.
7376 (support_copy_file_range): New prototype.
7377 * support/support_copy_file_range.c: New file. Copied and
7378 modified from io/copy_file_range-compat.c.
7379 * support/test-container.c (copy_one_file): Call xcopy_file_rang
7380 instead of copy_file_range.
7381 * support/xcopy_file_range.c: New file.
7382 * support/xunistd.h (xcopy_file_range): New prototype.
7383
d330f31a
CD
73842018-08-30 Carlos O'Donell <carlos@redhat.com>
7385
7386 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
7387 xpthread_create and xpthread_join.
7388
2bda273a
FW
73892018-08-30 Florian Weimer <fweimer@redhat.com>
7390
7391 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
7392
3bad2358
SL
73932018-08-30 Stefan Liebler <stli@linux.ibm.com>
7394
7395 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
7396 if malloc fails.
7397
09c12efc
JM
73982018-08-29 Joseph Myers <joseph@codesourcery.com>
7399
7400 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
7401 and minus_oflow as non-finite.
7402
ff6b2450
JM
74032018-08-28 Joseph Myers <joseph@codesourcery.com>
7404
7405 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
7406 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
7407 moved to fenv_private.h except for ...
7408 (TOINT_INTRINSICS): Kept in math_private.h.
7409 (roundtoint): Likewise.
7410 (converttoint): Likewise.
7411 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
7412 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
7413 * sysdeps/arm/math_private.h: Remove.
7414 * sysdeps/generic/fenv_private.h: New file. Contents moved from
7415 ....
7416 * sysdeps/generic/math_private.h: ... this file. Include
7417 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
7418 Include <fenv_private.h>. Remove functions and macros moved to
7419 fenv_private.h.
7420 * sysdeps/i386/fpu/math_private.h: Remove.
7421 * sysdeps/mips/math_private.h: Move to ....
7422 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
7423 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
7424 [__mips_hard_float] conditional. Include next <fenv_private.h>.
7425 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
7426 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
7427 * sysdeps/powerpc/fpu/math_private.h: Do not include
7428 <fenv_private.h>.
7429 * sysdeps/riscv/rvf/math_private.h: Move to ....
7430 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
7431 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
7432 <fenv_private.h>.
7433 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
7434 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
7435 * sysdeps/sparc/fpu/math_private.h: Remove.
7436 * sysdeps/i386/fpu/fenv_private.h: Move to ....
7437 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
7438 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
7439 <fenv_private.h>.
7440 * sysdeps/x86_64/fpu/math_private.h: Do not include
7441 <sysdeps/i386/fpu/fenv_private.h>.
7442
761404b7
FW
74432018-08-28 Florian Weimer <fweimer@redhat.com>
7444
7445 [BZ #23578]
7446 * posix/tst-regcomp-truncated.c: New file.
7447 * posix/Makefile (tests): Add it.
7448 (tst-regcomp-truncated.out): Depend on generated locales.
7449
d6c44c3d
FW
74502018-08-28 Florian Weimer <fweimer@redhat.com>
7451
7452 * support/test-container.c (main): Treat unshare failure with
7453 EPERM as an unsupported test.
7454
745664bd
FW
74552018-08-28 Florian Weimer <fweimer@redhat.com>
7456
7457 [BZ #23520]
7458 nscd: Fix use-after-free in addgetnetgrentX and its callers.
7459 * nscd/netgroupcache.c
7460 (addgetnetgrentX): Add tofreep parameter. Do not free
7461 heap-allocated buffer.
7462 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
7463 (addgetnetgrentX_ignore): New function.
7464 (addgetnetgrent): Call it.
7465 (readdgetnetgrent): Likewise.
7466
c8dd67e7
RS
74672018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7468
7469 * string/memmem.c: Use memcmp for first match.
7470
5abedf97
RL
74712018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
7472
7473 [BZ #17426]
7474 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
7475
86de0499
DD
74762018-08-27 DJ Delorie <dj@redhat.com>
7477
7478 * support/Makefile (others): Don't list programs explicitly as a
7479 dependency of "others".
7480
c3ab2110
JM
74812018-08-27 Joseph Myers <joseph@codesourcery.com>
7482
7483 * sysdeps/generic/math-tests-trap-force.h: New file.
7484 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
7485 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
7486 * sysdeps/powerpc/math-tests.h: Remove file.
7487 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
7488
99ea93ca
MK
74892018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
7490 Torvald Riegel <triegel@redhat.com>
7491
7492 [BZ #23538]
7493 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
7494 Update r to include the set wake-request flag if waiters are
7495 remaining after spinning.
7496
4061791f
JM
74972018-08-27 Joseph Myers <joseph@codesourcery.com>
7498
7499 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
7500
bc680b33
PE
75012018-08-25 Paul Eggert <eggert@cs.ucla.edu>
7502
761404b7 7503 [BZ #23578]
bc680b33
PE
7504 regex: fix uninitialized memory access
7505 I introduced this bug into gnulib in commit
7506 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
7507 eventually it was merged into glibc. The bug was found by
7508 project-repo <bugs@feusi.co> and reported here:
7509 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
7510 Diagnosis and draft fix reported by Assaf Gordon here:
7511 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
7512 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
7513 * posix/regex_internal.c (build_wcs_upper_buffer):
7514 Fix bug when mbrtowc returns 0.
7515
02458a52
CD
75162018-08-24 Carlos O'Donell <carlos@redhat.com>
7517
7518 * po/be.po: Update translation.
7519
acc2842a
DD
75202018-08-24 DJ Delorie <dj@delorie.com>
7521
7522 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
7523 $(libunwind).
7524
6c3a8a9d
PP
75252018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7526
7527 [BZ #23400]
7528 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
7529 create temporary files in source tree.
7530
895ef79e
JM
75312018-08-24 Joseph Myers <joseph@codesourcery.com>
7532
7533 * sysdeps/generic/math-tests-trap.h: New file.
7534 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
7535 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
7536 * sysdeps/aarch64/math-tests.h: Remove file.
7537 * sysdeps/arm/math-tests.h: Likewise.
7538 * sysdeps/riscv/math-tests.h: Likewise.
7539 * sysdeps/aarch64/math-tests-trap.h: New file.
7540 * sysdeps/arm/math-tests-trap.h: Likewise.
7541 * sysdeps/riscv/math-tests-trap.h: Likewise.
7542
ca3aac57
WD
75432018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
7544
7545 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
7546 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
7547 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
7548 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
7549 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
7550 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
7551 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7552 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
7553 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
7554 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7555 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7556 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7557 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7558 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
7559 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
7560 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
7561 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7562 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7563
60bcac09
JM
75642018-08-23 Joseph Myers <joseph@codesourcery.com>
7565
7566 * sysdeps/generic/math-tests-exceptions.h: New file.
7567 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
7568 (EXCEPTION_TESTS_float): Do not define here.
7569 (EXCEPTION_TESTS_double): Likewise.
7570 (EXCEPTION_TESTS_long_double): Likewise.
7571 (EXCEPTION_TESTS_float128): Likewise.
7572 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
7573 Likewise.
7574 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
7575 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
7576 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
7577 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
7578 * sysdeps/mips/math-tests.h: Likewise.
7579 * sysdeps/nios2/math-tests.h: Likewise.
7580 * sysdeps/riscv/math-tests.h [!__riscv_flen]
7581 (EXCEPTION_TESTS_float): Do not define here.
7582 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
7583 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
7584 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
7585
3bded567
WD
75862018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
7587
7588 * NEWS: Move optimized sinf entry to 2.29.
7589
900fb446
WD
75902018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
7591
7592 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
7593
561b0bec
DD
75942018-08-22 DJ Delorie <dj@redhat.com>
7595
7596 * Makefile (testroot.pristine): New rules to initialize the
7597 test-in-container "testroot".
7598 * Makerules (all-testsuite): Add tests-container.
7599 * Rules (tests-expected): Add tests-container.
7600 (binaries-all-tests): Likewise.
7601 (tests-container): New, run these tests in the testroot container.
7602 * support/Makefile (others): Add *-container, support_paths.c,
7603 xmkdirp, and links-dso-program.
7604 * support/links-dso-program-c.c: New.
7605 * support/links-dso-program.cc: New.
7606 * support/test-container.c: New.
7607 * support/shell-container.c: New.
7608 * support/echo-container.c: New.
7609 * support/true-container.c: New.
7610 * support/xmkdirp.c: New.
7611 * support/xsymlink.c: New.
7612 * support/support_paths.c: New.
7613 * support/support.h: Add support paths prototypes.
7614 * support/xunistd.h: Add xmkdirp () and xsymlink ().
7615
7616 * nss/tst-nss-test3.c: Convert to test-in-container.
7617 * nss/tst-nss-test3.root/: New.
7618
b35d3509
PE
76192018-08-22 Paul Eggert <eggert@cs.ucla.edu>
7620
7621 regex: port Gnulib code to z/OS POSIX environment
7622 Problem reported by Arnold Robbins in:
7623 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
7624 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
7625 Undef.
7626
16a25138
JM
76272018-08-22 Joseph Myers <joseph@codesourcery.com>
7628
debc4c98
JM
7629 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
7630 (ROUNDING_TESTS_double): Remove.
7631 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
7632 (ROUNDING_TESTS_double): Remove.
7633 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
7634 (ROUNDING_TESTS_double): Remove.
7635 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
7636 (ROUNDING_TESTS_float): Remove.
7637 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
7638 (ROUNDING_TESTS_float): Remove.
7639 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
7640 (ROUNDING_TESTS_float): Remove.
7641 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
7642 !TEST_MATHVEC here.
7643 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7644 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7645
16a25138
JM
7646 * sysdeps/generic/math-tests-rounding.h: New file.
7647 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
7648 (ROUNDING_TESTS_float): Do not define here.
7649 (ROUNDING_TESTS_double): Likewise.
7650 (ROUNDING_TESTS_long_double): Likewise.
7651 (ROUNDING_TESTS_float128): Likewise.
7652 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
7653 (ROUNDING_TESTS_double): Undefine before defining.
7654 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
7655 (ROUNDING_TESTS_double): Undefine before defining.
7656 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
7657 (ROUNDING_TESTS_double): Undefine before defining.
7658 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
7659 (ROUNDING_TESTS_float): Undefine before defining.
7660 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
7661 (ROUNDING_TESTS_float): Undefine before defining.
7662 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
7663 (ROUNDING_TESTS_float): Undefine before defining.
7664 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
7665 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
7666 not define here.
7667 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
7668 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
7669 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
7670 * sysdeps/riscv/math-tests.h [!__riscv_flen]
7671 (ROUNDING_TESTS_float): Do not define here.
7672 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
7673 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
7674 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
7675 (ROUNDING_TESTS_float): Likewise.
7676 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
7677 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
7678 * sysdeps/mips/math-tests.h [__mips_soft_float]
7679 (ROUNDING_TESTS_float): Likewise.
7680 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
7681 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
7682 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
7683 (ROUNDING_TESTS_double): Likewise.
7684 (ROUNDING_TESTS_long_double): Likewise.
7685
38b0593e
TK
76862018-08-21 Tobias Klauser <tklauser@distanz.ch>
7687
7688 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
7689 (PF_XDP): New macro.
7690 (AF_XDP): New macro.
7691 (SOL_XDP): New macro.
7692
5cd7dbde
JM
76932018-08-21 Joseph Myers <joseph@codesourcery.com>
7694
7695 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
7696 (TCP_INQ): Likewise.
7697 (TCP_CM_INQ): Likewise.
7698 (TCP_REPAIR_ON): Likewise.
7699 (TCP_REPAIR_OFF): Likewise.
7700 (TCP_REPAIR_OFF_NO_WP): Likewise.
7701 (struct tcp_zerocopy_receive): New type.
7702
aa42b3db
FW
77032018-08-21 Florian Weimer <fweimer@redhat.com>
7704
7705 * support/support.h (support_descriptor_supports_holes): Declare.
7706 * support/Makefile (libsupport-routines): Add
7707 support_descriptor_supports_holes.
7708 * support/support_descriptor_supports_holes.c: New file.
7709 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
7710 and stop testing if holes are not supported.
7711 * io/test-lfs.c (do_prepare): Likewise.
7712 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
7713 Likewise.
7714 * timezone/tst-tzset.c (create_tz_file): Likewise.
7715 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
7716 variable.
7717 (do_prepare): Set it.
7718 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
7719
c7627f41
FW
77202018-08-21 Florian Weimer <fweimer@redhat.com>
7721
7722 [BZ #17248]
7723 * Makeconfig (+cflags): Do not sort (and deduplicate).
7724
ef939d92
FW
77252018-08-21 Florian Weimer <fweimer@redhat.com>
7726
7727 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
7728 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
7729
88ffb39d
FW
77302018-08-20 Florian Weimer <fweimer@redhat.com>
7731
7732 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
7733 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
7734
17419540
JM
77352018-08-20 Joseph Myers <joseph@codesourcery.com>
7736
e6edd40d
JM
7737 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
7738 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
7739 and ssi_arch members.
7740
17419540
JM
7741 * elf/elf.c (NT_VMCOREDD): New macro.
7742 (AT_MINSIGSTKSZ): Likewise.
7743
fa78896b
RS
77442018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7745
7746 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
7747 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
7748 s_cosf-ppc64 and s_cosf-power8.
7749 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
7750 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7751 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7752 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
7754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
7755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
7756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
7757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
7758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
7759 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
7760 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
7761
86a6c75a
FW
77622018-08-17 Florian Weimer <fweimer@redhat.com>
7763
7764 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7765
35cfefd9
FW
77662018-08-17 Istvan Kurucsai <pistukem@gmail.com>
7767
7768 * malloc/malloc.c (_int_malloc): Additional binning code checks.
7769
6413fcde
FW
77702018-08-16 Florian Weimer <fweimer@redhat.com>
7771
7772 * configure.ac: Add --with-nonshared-cflags option.
7773 * config.make.in (extra-nonshared-cflags): Set variable.
7774 * Makeconfig (CFLAGS-.oS): Use it.
7775 * manual/install.texi (Configuring and compiling): Document
7776 --with-nonshared-cflags.
7777 * configure: Regenerate.
7778 * INSTALL: Likewise.
7779
93a2584c
FW
77802018-08-16 Florian Weimer <fweimer@redhat.com>
7781
7782 * Makeconfig (ASFLAGS): Always append required assembler flags.
7783
f6f275d2 77842018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
d6db68e6
ME
7785
7786 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
7787 (malloc_consolidate): Likewise.
7788
30a17d8c
PC
77892018-08-16 Pochang Chen <johnchen902@gmail.com>
7790
7791 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
7792
953a5a4a
SP
77932018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
7794
34f86d61
SP
7795 * benchtests/bench-strlen.c (do_test): Allocate buffers before
7796 every strlen call.
7797
953a5a4a
SP
7798 * benchtests/bench-strlen.c: Print performance numbers in json.
7799
7793ad7a
RS
78002018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7801
7802 * sysdeps/powerpc/powerpc64/multiarch/Makefile
7803 (sysdep_routines): Build strcmp-power9 and strncmp-power9
7804 only for little endian.
7805 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7806 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
7807 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
7808 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
7809 Add check for little endian.
7810 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
7811 (__strcmp_power9): Add check for little endian.
7812 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
7813 Add check for little endian.
7814 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
7815 (__strncmp_power9): Add check for little endian.
7816 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
7817 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
7818 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
7819 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
7820 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
7821
436e4d5b
SP
78222018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
7823
7824 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
7825 [!STRLEN](STRLEN): Set to __strlen.
7826 * sysdeps/aarch64/multiarch/strlen.c: New file.
7827 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
7828 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
7829 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
7830 (__libc_ifunc_impl_list): Add strlen.
7831 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
7832 strlen_generic and strlen_asimd.
7833
126c4e3f
WD
78342018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
7835
7836 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
7837 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
7838 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
7839
49acec17
WD
78402018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
7841
7842 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
7843
fdb16de3
FW
78442018-08-14 Florian Weimer <fweimer@redhat.com>
7845
7846 [BZ #23519]
7847 * include/stdio.h (__vfxprintf): Declare.
7848 * stdio-common/fxprintf.c (__vfxprintf): New function.
7849 (__fxprintf): Call it.
7850 * misc/err.c (convert_and_print): Remove function.
7851 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
7852 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
7853 * misc/Makefile (tests): Add tst-warn-wide.
7854 * misc/tst-warn-wide.c: New file.
7855
599cf397
WD
78562018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
7857 Szabolcs Nagy <szabolcs.nagy@arm.com>
7858
7859 * NEWS: Mention sinf, cosf, sincosf.
7860 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
7861 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
7862 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
7863 constants rather than including generic sincosf.h.
7864 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
7865 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
7866 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
7867 (reduced_cos): Remove.
7868 (sinf_poly): New function.
7869 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
7870
e95c6f61
FW
78712018-08-14 Florian Weimer <fweimer@redhat.com>
7872
7873 [BZ #23521]
7874 [BZ #23522]
7875 * nss/nss_files/files-alias.c (get_next_alias): During :include:
7876 processing, bail out if no room, and close the stream before
7877 returning ERANGE.
7878 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
7879 (tst-nss-files-alias-leak): Link with libdl.
7880 (tst-nss-files-alias-leak.out): Depend on nss_files.
7881
7882 * nss/tst-nss-files-alias-leak.c: New file.
7883
2d7acfac
FW
78842018-08-14 Florian Weimer <fweimer@redhat.com>
7885
7886 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
7887 server_user, stat_user.
7888
f3cd0904
JM
78892018-08-13 Joseph Myers <joseph@codesourcery.com>
7890
17b26500
JM
7891 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7892 version to 4.18.
7893 (io_pgetevents): New syscall.
7894 (rseq): Likewise.
7895
3c1622eb
JM
7896 * manual/install.texi (Configuring and compiling): Do not list
7897 tools used for testing pretty printers here.
7898 (Tools for Compilation): List Python, PExpect and GDB here.
7899 Update descriptions of uses of Perl and Python.
7900 * INSTALL: Regenerate.
7901
f3cd0904
JM
7902 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7903 version to 4.18.
7904
b7b52b9d
FW
79052018-08-13 Florian Weimer <fweimer@redhat.com>
7906
7907 * misc/error.c (error): Add missing va_end call.
7908 (error_at_line): Likewise.
7909
01780188
FW
79102018-08-13 Florian Weimer <fweimer@redhat.com>
7911
7912 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
7913
44727aec
SP
79142018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
7915
8cac1f26
SP
7916 * benchtests/scripts/benchout.schema.json (properties): Add
7917 new properties.
7918
44727aec
SP
7919 * benchtests/bench-skeleton.c (main): Add duration and
7920 iterations attributes.
7921
c77bf91b
PE
79222018-08-10 Paul Eggert <eggert@cs.ucla.edu>
7923
7924 regex: Gnulib unibyte RRI uses bytes not chars
7925 Adjust the non-glibc code to agree with what Gawk needs for
7926 rational range interpretation (RRI) for regular expression ranges.
7927 In unibyte locales, Gawk wants ranges to use the underlying byte
7928 rather than the character code point. This change does not affect
7929 glibc proper.
7930 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
7931 In unibyte locales, use the byte value rather than
7932 running it through btowc.
7933
2ce7ba7d
JM
79342018-08-10 Joseph Myers <joseph@codesourcery.com>
7935
7936 * sysdeps/generic/math-tests-snan.h: New file.
7937 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
7938 (SNAN_TESTS_float): Do not define here.
7939 (SNAN_TESTS_double): Likewise.
7940 (SNAN_TESTS_long_double): Likewise.
7941 (SNAN_TESTS_float128): Likewise.
7942 * sysdeps/i386/fpu/math-tests-snan.h: New file.
7943 * sysdeps/i386/fpu/math-tests.h: Remove file.
7944 * sysdeps/ia64/math-tests-snan.h: New file.
7945 * sysdeps/ia64/math-tests.h: Remove file.
7946 * sysdeps/x86/math-tests.h: Likewise.
7947 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
7948
ea5c662c
WD
79492018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
7950 Szabolcs Nagy <szabolcs.nagy@arm.com>
7951
7952 * math/Makefile: Add s_sincosf_data.c.
7953 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
7954 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
7955 (sincosf_poly): Likewise.
7956 (reduce_small): Likewise.
7957 (reduce_large): Likewise.
7958 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
7959 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
7960 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
7961 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
7962
43cfdf8f
SN
79632018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
7964 Szabolcs Nagy <szabolcs.nagy@arm.com>
7965
7966 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
7967 (converttoint): Use lround.
7968 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
7969 document the semantics when TOINT_INTRINSICS is set.
7970 (converttoint): Likewise.
7971 (TOINT_RINT): Remove.
7972 (TOINT_SHIFT): Remove.
7973 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
7974 path.
7975
69065288
FW
79762018-08-10 Florian Weimer <fweimer@redhat.com>
7977
7978 [BZ #23497]
7979 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
7980 function.
7981 (__old_getdents64): Use getdents64. Convert entries without
7982 moving them.
7983 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
7984 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
7985 tst-readdir64-compat.
7986
8f135efc
IL
79872018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7988
7989 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
7990 Fix unwind.
7991
71c01af5
IL
79922018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7993
7994 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
7995 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
7996 code to s390x-mcount.h and #include it.
7997 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
7998 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
7999 (__fentry__): Add.
8000
8d997d22
IL
80012018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8002
8003 * stdlib/Versions: Remove __fentry__.
8004 * sysdeps/i386/Versions: Add __fentry__.
8005 * sysdeps/x86_64/Versions: Add __fentry__.
8006
69e2444a
IL
80072018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8008
8009 * sysdeps/s390/Makefile: Register the new tests.
8010 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
8011 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
8012 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
8013 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
8014 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
8015 * sysdeps/s390/tst-dl-runtime.c: New file.
8016
bde6320f
IL
80172018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8018
8019 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8020 Do not clobber R0.
8021
5755f5e4
IL
80222018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8023
8024 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
8025 Do not clobber R0.
8026
c8ad8522
IL
80272018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8028
8029 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8030 Do not clobber R0.
8031
b215eee1
IL
80322018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8033
8034 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
8035 Do not clobber R0.
8036
329c6fec
IL
80372018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8038
8039 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8040 Use symbolic offsets for stack variables.
8041
0fb7afa2
IL
80422018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8043
8044 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
8045 Use symbolic offsets for stack variables.
8046
6954059a
IL
80472018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8048
8049 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8050 Use symbolic offsets for stack variables.
8051
c7099673
IL
80522018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
8053
8054 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
8055 Use symbolic offsets for stack variables.
8056
2813e41e
JM
80572018-08-09 Joseph Myers <joseph@codesourcery.com>
8058
8059 * math/gen-libm-test.py: New file.
8060 * math/gen-libm-test.pl: Remove.
8061 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
8062 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
8063 gen-libm-test.pl.
8064 ($(libm-test-c-noauto-obj)): Likewise.
8065 ($(libm-test-c-auto-obj)): Likewise.
8066 ($(libm-test-c-narrow-obj)): Likewise.
8067 (regen-ulps): Likewise.
8068 * math/README.libm-test: Update references to gen-libm-test.pl.
8069 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
8070 referencing gen-libm-test.pl.
8071 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
8072 * math/libm-test-support.c: Likewise.
8073 * math/libm-test-support.h: Likewise.
8074 * sysdeps/generic/libm-test-ulps: Likewise.
8075
be64b194
SP
80762018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
8077
8078 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
8079 Fix value.
8080
140137fb
JM
80812018-08-08 Joseph Myers <joseph@codesourcery.com>
8082
8083 * math/libm-test-nextdown.inc (do_test): Move comment to ....
8084 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
8085
b5403eca
ST
80862018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
8087
8088 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
8089 symbols.
8ac0f9e6
ST
8090 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
8091 __pthread_setspecific): Add hidden proto.
8092 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
8093 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
b5403eca 8094
014efdd7
SP
80952018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
8096
8097 * benchtests/bench-string.h (buf1_size, buf2_size): New
8098 variables.
8099 (init_sizes): New function.
8100 (test_init): Use it.
8101 (alloc_buf, exit_error): New functions.
8102 (alloc_bufs): Use ALLOC_BUF.
8103 (realloc_bufs): Remove.
8104 * benchtests/bench-memcmp.c (do_test): Adjust.
8105 * benchtests/bench-memset-large.c (do_test): Likewise.
8106 * benchtests/bench-memset-walk.c (do_test): Likewise.
8107 * benchtests/bench-memset.c (do_test): Likewise.
8108 * benchtests/bench-strncmp.c (do_test): Likewise.
8109
92a4cba7
AS
81102018-08-06 Andreas Schwab <schwab@suse.de>
8111
8112 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
8113 of CONST_THREAD_AREA.
8114
fb4c32ae
L
81152018-08-06 H.J. Lu <hongjiu.lu@intel.com>
8116
8117 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
8118 (STATE_SAVE_MASK): Likewise.
8119 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
8120 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
8121 (STATE_SAVE_MASK): Likewise.
8122 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
8123 instead of <cpu-features.h>.
8124
bf418187
DD
81252018-08-03 DJ Delorie <dj@redhat.com>
8126
8127 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
e5721f45 8128 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
bf418187 8129
bb17621a
DD
8130 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
8131
ea705eb5
JM
81322018-08-03 Joseph Myers <joseph@codesourcery.com>
8133
8134 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
8135 after TEST_* calls.
8136 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
8137 * math/libm-test-logb.inc (logb_test_data): Likewise.
8138
284f42bc
WD
81392018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
8140
8141 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
8142 * string/strstr.c (AVAILABLE): Likewise.
8143
430388d5
L
81442018-08-03 H.J. Lu <hongjiu.lu@intel.com>
8145
8146 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
8147 <init-arch.h>.
8148 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
8149 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
8150 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
8151
c5760aa9
CD
81522018-08-03 Carlos O'Donell <carlos@redhat.com>
8153
8154 * po/be.po: Update translation.
8155
6b535b84
CD
8156 * po/be.po: Update translation.
8157
ae67f2e5
L
81582018-08-03 H.J. Lu <hongjiu.lu@intel.com>
8159
8160 * sysdeps/x86/cpu-features-offsets.sym
8161 (rtld_global_ro_offsetof): Removed.
8162 (CPU_FEATURES_SIZE): Likewise.
8163 (CPUID_OFFSET): Likewise.
8164 (CPUID_SIZE): Likewise.
8165 (CPUID_EAX_OFFSET): Likewise.
8166 (CPUID_EBX_OFFSET): Likewise.
8167 (CPUID_ECX_OFFSET): Likewise.
8168 (CPUID_EDX_OFFSET): Likewise.
8169 (FAMILY_OFFSET): Likewise.
8170 (MODEL_OFFSET): Likewise.
8171 (FEATURE_OFFSET): Likewise.
8172 (FEATURE_SIZ): Likewise.
8173 (COMMON_CPUID_INDEX_1): Likewise.
8174 (COMMON_CPUID_INDEX_7): Likewise.
8175 (FEATURE_INDEX_1): Likewise.
8176 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
8177
cfb0ff93 81782018-08-02 Carlos O'Donell <carlos@redhat.com>
08a5ee14
CD
8179
8180 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
8181 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
8182 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
8183 (install-locales): Depend on install-locale-archive.
8184 (install-locale-archive): Define.
7b7adbd8 8185 (install-locale-files): Define.
08a5ee14
CD
8186 (build-one-locale): Define macro.
8187 * manual/install.texi (Running make install): Document.
8188 * manual/INSTALL: Regenerate.
8189
525691bd
SP
81902018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
8191
d67d634b
SP
8192 * benchtests/scripts/compare_strings.py: Import traceback.
8193 (parse_file): Pretty-print error.
8194
525691bd
SP
8195 * NEWS: Mention the change.
8196 * elf/dl-tunables.list: Rename tune namespace to cpu.
8197 * sysdeps/powerpc/dl-tunables.list: Likewise.
8198 * sysdeps/x86/dl-tunables.list: Likewise.
8199 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
8200 cpu.name.
8201 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
8202 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
8203 * manual/README.tunables: Likewise.
8204 * manual/tunables.texi: Likewise.
8205 * sysdeps/powerpc/cpu-features.c: Likewise.
8206 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
8207 (init_cpu_features): Likewise.
8208 * sysdeps/x86/cpu-features.c: Likewise.
8209 * sysdeps/x86/cpu-features.h: Likewise.
8210 * sysdeps/x86/cpu-tunables.c: Likewise.
8211 * sysdeps/x86_64/Makefile: Likewise.
8212 * sysdeps/x86/dl-cet.c: Likewise.
8213
506d7fb1
JM
82142018-08-02 Joseph Myers <joseph@codesourcery.com>
8215
8216 [BZ #23479]
8217 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
8218 [__mips_hard_float].
8219 (FE_UNDERFLOW): Likewise.
8220 (FE_OVERFLOW): Likewise.
8221 (FE_DIVBYZERO): Likewise.
8222 (FE_INVALID): Likewise.
8223 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
8224 (FE_TOWARDZERO): Define only if [__mips_hard_float].
8225 (FE_UPWARD): Likewise.
8226 (FE_DOWNWARD): Likewise.
8227 (__FE_UNDEFINED): Define if [!__mips_hard_float]
8228 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
8229 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
8230 [__mips_hard_float].
8231 (FP_ROUNDMODE): Likewise.
8232 (FP_RND_NEAREST): Likewise.
8233 (FP_RND_ZERO): Likewise.
8234 (FP_RND_PINF): Likewise.
8235 (FP_RND_MINF): Likewise.
8236 (FP_EX_INVALID): Likewise.
8237 (FP_EX_OVERFLOW): Likewise.
8238 (FP_EX_UNDERFLOW): Likewise.
8239 (FP_EX_DIVZERO): Likewise.
8240 (FP_EX_INEXACT): Likewise.
8241 (FP_INIT_ROUNDMODE): Likewise.
8242 * sysdeps/mips/nofpu/fesetenv.c: New file.
8243 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
8244
f6dcefbe
JM
82452018-08-01 Joseph Myers <joseph@codesourcery.com>
8246
8247 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
8248 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
8249 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
8250 conditional on [FE_UPWARD].
8251
fa67ba06
PE
82522018-08-01 Paul Eggert <eggert@cs.ucla.edu>
8253
8254 regex: fix memory leak in Gnulib
8255 Problem and fix reported by Assaf Gordon in:
8256 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
8257 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
8258 range_ends members too, as they are defined in 'struct
8259 re_charset_t' even if not _LIBC. This affects only Gnulib.
8260
82c80ac2
L
82612018-08-01 H.J. Lu <hongjiu.lu@intel.com>
8262
8263 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
8264 ...
8265 (get_common_indices): This.
8266 (init_cpu_features): Updated.
8267
c0e7e2c1
JM
82682018-08-01 Joseph Myers <joseph@codesourcery.com>
8269
46f8cf57
JM
8270 * sysdeps/generic/math-tests-snan-payload.h: New file.
8271 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
8272 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
8273 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
8274 * sysdeps/generic/math-tests.h: Include
8275 <math-tests-snan-payload.h>.
8276 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
8277 * sysdeps/hppa/math-tests.h: Remove file.
8278 * sysdeps/mips/math-tests.h [!__mips_nan2008]
8279 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
8280 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
8281 Likewise.
8282
c0e7e2c1
JM
8283 * sysdeps/generic/math-tests-snan-cast.h: New file.
8284 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
8285 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
8286 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
8287 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
8288
74939c83
CD
82892018-08-01 Carlos O'Donel <carlos@redhat.com>
8290
b029723b
CD
8291 * version.h (RELEASE): Set to "development".
8292 (VERSION): Set to "2.28.9000".
8293 * NEWS (2.29): New section.
8294
3c03baca
CD
8295 * version.h (RELEASE): Set to "stable".
8296 (VERSION): Set to "2.28".
8297 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
8298 * NEWS: Add the list of bugs fixed in 2.28.
8299
74939c83
CD
8300 * po/ca.po: Update to latest version.
8301 * po/cs.po: Likewise
8302 * po/da.po: Likewise
8303 * po/el.po: Likewise
8304 * po/eo.po: Likewise
8305 * po/es.po: Likewise
8306 * po/fi.po: Likewise
8307 * po/fr.po: Likewise
8308 * po/gl.po: Likewise
8309 * po/hu.po: Likewise
8310 * po/ia.po: Likewise
8311 * po/id.po: Likewise
8312 * po/it.po: Likewise
8313 * po/ja.po: Likewise
8314 * po/ko.po: Likewise
8315 * po/lt.po: Likewise
8316 * po/nb.po: Likewise
8317 * po/nl.po: Likewise
8318 * po/pt_BR.po: Likewise
8319 * po/ru.po: Likewise
8320 * po/rw.po: Likewise
8321 * po/sk.po: Likewise
8322 * po/sl.po: Likewise
8323 * po/tr.po: Likewise
8324 * po/zh_CN.po: Likewise
8325 * po/zh_TW.po: Likewise
8326
d4b54bdf
ST
83272018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
8328
8329 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
8330 initialization...
8331 (init): ... before initializing libpthread.
8332
42fc12ef
ST
8333 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
8334 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
8335 (__mach_setup_tls): ... new function.
8336 (mach_setup_tls): New alias.
8337 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
8338 __mach_setup_thread.
8339 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
8340 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
8341 * mach/Versions [libc] (mach_setup_tls): Add symbol.
8342 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
8343
6cca855e
CD
83442018-07-31 Carlos O'Donell <carlos@redhat.com>
8345
f650932b
CD
8346 * manual/install.texi: Update versions.
8347 * INSTALL: Regenerate.
8348
6cca855e
CD
8349 * manual/contrib.texi (Contributors): Update contributions.
8350
07fdea47
CD
83512018-07-31 Carlos O'Donell <carlos@redhat.com>
8352
8353 * po/be.po: Update translations.
8354
63d5fad4
AZ
83552018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8356
8357 * sysdeps/sh/libm-test-ulps: Update.
8358
1ff712a6
CD
83592018-07-30 Carlos O'Donell <carlos@redhat.com>
8360
8361 * po/bg.po: Update translations.
8362 * po/de.po: Likewise.
8363 * po/hr.po: Likewise.
8364 * po/pt_BR.po: Likewise.
8365 * po/sv.po: Likewise.
8366 * po/vi.po: Likewise.
8367
98864ed0
L
83682018-07-30 H.J. Lu <hongjiu.lu@intel.com>
8369
8370 [BZ #23467]
8371 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
8372 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
8373 (CFLAGS-tst-cet-property-1.o): New.
8374 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
8375 ($(objpfx)tst-cet-property-2): Likewise.
8376 ($(objpfx)tst-cet-property-2.out): Likewise.
8377 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
8378 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
8379 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
8380 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
8381 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
8382
c92a00d8
L
83832018-07-30 H.J. Lu <hongjiu.lu@intel.com>
8384
8385 [BZ #23458]
8386 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
8387
99bc6241
ST
83882018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
8389
8390 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
8391 __sbrk): Do not set attribute_hidden.
af86087f 8392 * sysdeps/mach/hurd/not-errno.h: New file.
99bc6241
ST
8393 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
8394 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
8395
bcb1c4af
CD
83962018-07-27 Carlos O'Donell <carlos@redhat.com>
8397
8398 * po/uk.po: Update translations.
8399 * po/cs.po: Likewise.
8400 * po/pl.po: Likewise.
8401
4591b7db
L
84022018-07-27 H.J. Lu <hongjiu.lu@intel.com>
8403
8404 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
8405 parse beyond the note end.
8406
2c6da2f4
AZ
84072018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8408
8409 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
8410 kernel does not support OFD locks.
8411 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
8412
20365a31
ST
84132018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8414
8415 * sysdeps/mach/hurd/Versions (libc): Make __access and
8416 __access_noerrno external so they can override the ld symbols.
8417 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
8418 __writev, __open64, __access_noerrno extern so they can be overrided.
8419 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
8420 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
8421
cb1a43db
CD
84222018-07-26 Carlos O'Donell <carlos@redhat.com>
8423
8424 * po/libc.pot: Regenerate.
8425
74759ae5
JM
84262018-07-26 Joseph Myers <joseph@codesourcery.com>
8427
8428 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
8429
da80612d
L
84302018-07-26 H.J. Lu <hongjiu.lu@intel.com>
8431
8432 [BZ #23459]
8433 * sysdeps/x86/cpu-features.c (get_extended_indices): New
8434 function.
8435 (init_cpu_features): Call get_extended_indices for both Intel
8436 and AMD CPUs.
8437 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
8438 Remove "for AMD" comment.
8439
65d87ade
L
84402018-07-26 H.J. Lu <hongjiu.lu@intel.com>
8441
8442 [BZ # 23456]
8443 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
8444 COMMON_CPUID_INDEX_80000001.
8445
c9dc4d51
SL
84462018-07-26 Stefan Liebler <stli@linux.ibm.com>
8447
8448 * string/tst-xbzero-opt.c (use_test_buffer): New function.
8449 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
8450
cfba5dbb
FW
84512018-07-26 Florian Weimer <fweimer@redhat.com>
8452
8453 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
8454 aliases for symbols not in the implementation namespace.
8455
7cd7d36f
CD
84562018-07-25 Carlos O'Donell <carlos@redhat.com>
8457
8458 [BZ #23393]
8459 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
8460 lowercase in LATIN script.
8461 * localedata/Makefile (test-input): Add en_US.UTF-8.
8462 * localedata/en_US.UTF-8.in: New file.
8463 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
8464 and restore old tests.
8465 * posix/tst-regexloc.c (do_test): Add back range expression test.
8466
3fb455b3
L
84672018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8468
8469 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
8470
d6499b70
AZ
84712018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8472
8473 * nptl/threads.h: Move to ...
8474 * sysdeps/nptl/threads.h: ... here.
8475 * sysdeps/hurd/stdc-predef.h: New file.
8476
08ac6bed
L
84772018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8478
8479 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
8480 tst-cet-setcontext-1 if CET is enabled.
8481 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
8482 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
8483
9faaf938
AZ
84842018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8485
8486 * include/threads.h: Move to ...
8487 * sysdeps/nptl/threads.h: ... here.
8488 * sysdeps/htl/threads.h: New file.
8489 * conform/Makefile (linknamespace-libs-ISO11): Use
8490 static-thread-library instead of linking libpthread.
8491 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
8492
d6b8f847
FW
84932018-07-25 Florian Weimer <fweimer@redhat.com>
8494
8495 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
8496 nanoseconds into seconds.
8497 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
8498 (do_test): Likewise.
8499 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
8500 (do_test): Likewise. Avoid nanosecond overflow and spurious
8501 timeouts due to system load.
8502 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
8503 (child_wait): Increment it.
8504 (do_test): Wait as long as necessary until all expected threads
8505 have arrived.
8506
25123a1c
L
85072018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
8508 H.J. Lu <hongjiu.lu@intel.com>
8509
8510 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
8511 __ssp.
8512 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
8513 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
8514 (__push___start_context): New.
8515 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
8516 <asm/prctl.h>.
8517 (__getcontext): Record the current shadow stack base. Save the
8518 caller's shadow stack pointer and base.
8519 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
8520 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
8521 (__push___start_context): New prototype.
8522 (__makecontext): Call __push___start_context to allocate a new
8523 shadow stack, push __start_context onto the new stack as well
8524 as the new shadow stack.
8525 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
8526 <asm/prctl.h>.
8527 (__setcontext): Restore the target shadow stack.
8528 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
8529 <asm/prctl.h>.
8530 (__swapcontext): Record the current shadow stack base. Save
8531 the caller's shadow stack pointer and base. Restore the target
8532 shadow stack.
8533 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
8534 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
8535 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
8536
375a4844
L
85372018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8538
8539 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
8540 tst-setcontext8 and tst-setcontext9.
8541 * stdlib/tst-setcontext6.c: New file.
8542 * stdlib/tst-setcontext7.c: Likewise.
8543 * stdlib/tst-setcontext8.c: Likewise.
8544 * stdlib/tst-setcontext9.c: Likewise.
8545
bd4f7903
L
85462018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8547
8548 * stdlib/Makefile ((tests): Add tst-setcontext5.
8549 * stdlib/tst-setcontext5.c: New file.
8550
7e28f203
L
85512018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8552
8553 * stdlib/Makefile (tests): Add tst-setcontext4.
8554 * stdlib/tst-setcontext4.c: New file.
8555
8516ad2d
L
85562018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8557
8558 * stdlib/Makefile (tests): Add tst-swapcontext1.
8559 * stdlib/tst-swapcontext1.c: New test.
8560
fddcd003
L
85612018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8562
8563 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
8564 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
8565 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
8566 and tst-cet-legacy-4c.
8567 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
8568 and tst-cet-legacy-mod-4.
8569 (CFLAGS-tst-cet-legacy-2.c): New.
8570 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
8571 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
8572 (CFLAGS-tst-cet-legacy-3.c): Likewise.
8573 (CFLAGS-tst-cet-legacy-4.c): Likewise.
8574 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
8575 ($(objpfx)tst-cet-legacy-1): Likewise.
8576 ($(objpfx)tst-cet-legacy-2): Likewise.
8577 ($(objpfx)tst-cet-legacy-2.out): Likewise.
8578 ($(objpfx)tst-cet-legacy-2a): Likewise.
8579 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
8580 ($(objpfx)tst-cet-legacy-4): Likewise.
8581 ($(objpfx)tst-cet-legacy-4.out): Likewise.
8582 ($(objpfx)tst-cet-legacy-4a): Likewise.
8583 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
8584 (tst-cet-legacy-4a-ENV): Likewise.
8585 ($(objpfx)tst-cet-legacy-4b): Likewise.
8586 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
8587 (tst-cet-legacy-4b-ENV): Likewise.
8588 ($(objpfx)tst-cet-legacy-4c): Likewise.
8589 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
8590 (tst-cet-legacy-4c-ENV): Likewise.
8591 * sysdeps/x86/tst-cet-legacy-1.c: New file.
8592 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
8593 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
8594 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
8595 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
8596 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
8597 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
8598 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
8599 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
8600 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
8601 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
8602
9aa3113a
L
86032018-07-25 H.J. Lu <hongjiu.lu@intel.com>
8604
8605 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
8606 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
8607 with ssp_base.
8608 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
8609 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
8610 with ssp_base.
8611
9c79cec8
AS
86122018-07-25 Andreas Schwab <schwab@suse.de>
8613
8614 [BZ #23442]
8615 * locale/weightwc.h (findidx): Handle the case where usrc is a
8616 prefix of cp but one character too short.
8617
969c3355
AZ
86182018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8619
8620 * NEWS: Add ISO C threads addition.
8621
e0f9c462
FW
86222018-07-24 Florian Weimer <fweimer@redhat.com>
8623
8624 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8625 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
8626 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
8627 4.13.
8628
394df381
L
86292018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8630
8631 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
8632 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
8633 <sys/prctl.h> and <asm/prctl.h>.
8634 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
8635 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
8636 and <asm/prctl.h>.
8637 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
8638 ARCH_CET_LEGACY_BITMAP.
8639 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
8640 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
8641 * sysdeps/x86/libc-start.c: Include <startup.h>.
8642
46545530
FW
86432018-07-24 Florian Weimer <fweimer@redhat.com>
8644
8645 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
8646 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
8647
9d0a979e
RJ
86482018-07-24 Rical Jasan <rj@2c3t.io>
8649 Adhemerval Zanella <adhemerval.zanella@linaro.org>
0a07288b
AZ
8650 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
8651
8652 [BZ #14092]
9d0a979e
RJ
8653 * manual/debug.texi: Update adjacent chapter name.
8654 * manual/probes.texi: Likewise.
8655 * manual/threads.texi (ISO C Threads): New section.
8656 (POSIX Threads): Convert to a section.
8657
86582018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8659 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
8660
8661 [BZ# 14092]
0a07288b
AZ
8662 * nptl/Makefile (tests): Add new test files.
8663 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
8664 * nptl/tst-cnd-basic.c: Likewise.
8665 * nptl/tst-cnd-broadcast.c: Likewise.
8666 * nptl/tst-cnd-timedwait.c: Likewise.
8667 * nptl/tst-mtx-basic.c: Likewise.
8668 * nptl/tst-mtx-recursive.c: Likewise.
8669 * nptl/tst-mtx-timedlock.c: Likewise.
8670 * nptl/tst-mtx-trylock.c: Likewise.
8671 * nptl/tst-thrd-basic.c: Likewise.
8672 * nptl/tst-thrd-detach.c: Likewise.
8673 * nptl/tst-thrd-sleep.c: Likewise.
8674 * nptl/tst-tss-basic.c: Likewise.
8675
ce7528f6
AZ
86762018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8677
c6dd669b
AZ
8678 [BZ #14092]
8679 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
8680 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
8681 symbols.
8682 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8683 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8684 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8685 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8686 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8687 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8688 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8689 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8690 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8691 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8692 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8693 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8695 Likewise.
8696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8697 Likewise.
8698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
8699 Likewise.
8700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8701 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
8702 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8703 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8704 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8705 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8706 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8707 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8708 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8709 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
8710 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
8711 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
8712 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
8713 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
8714 Likewise.
8715 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
8716 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
8717 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
8718 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
8719 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
8720 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
8721 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
8722 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
8723 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
8724 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
8725 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
8726 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
8727 ikewise.
8728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
8729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
8730 Likewise.
8731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
8732 Likewise.
8733 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
8734 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
8735 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
8736 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
8737 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
8738 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
8739 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
8740 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
8741
78d40132
AZ
8742 [BZ #14092]
8743 * conform/data/threads.h-data (thread_local): New macro.
8744 (TSS_DTOR_ITERATIONS): Likewise.
8745 (tss_t): New type.
8746 (tss_dtor_t): Likewise.
8747 (tss_create): New function.
8748 (tss_get): Likewise.
8749 (tss_set): Likewise.
8750 (tss_delete): Likewise.
8751 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
8752 tss_get, and tss_set objects.
8753 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
8754 * nptl/tss_create.c: New file.
8755 * nptl/tss_delete.c: Likewise.
8756 * nptl/tss_get.c: Likewise.
8757 * nptl/tss_set.c: Likewise.
8758 * sysdeps/nptl/threads.h (thread_local): New define.
8759 (TSS_DTOR_ITERATIONS): Likewise.
8760 (tss_t): New typedef.
8761 (tss_dtor_t): Likewise.
8762 (tss_create): New prototype.
8763 (tss_get): Likewise.
8764 (tss_set): Likewise.
8765 (tss_delete): Likewise.
8766
918311a3
AZ
8767 [BZ #14092]
8768 * conform/data/threads.h-data (cnd_t): New type.
8769 (cnd_init): New function.
8770 (cnd_signal): Likewise.
8771 (cnd_broadcast): Likewise.
8772 (cnd_wait): Likewise.
8773 (cnd_timedwait): Likewise.
8774 (cnd_destroy): Likewise.
8775 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
8776 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
8777 object.
8778 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
8779 * nptl/cnd_broadcast.c: New file.
8780 * nptl/cnd_destroy.c: Likewise.
8781 * nptl/cnd_init.c: Likewise.
8782 * nptl/cnd_signal.c: Likewise.
8783 * nptl/cnd_timedwait.c: Likewise.
8784 * nptl/cnd_wait.c: Likewise.
8785 * sysdeps/nptl/threads.h (cnd_t): New type.
8786 (cnd_init): New prototype.
8787 (cnd_signa): Likewise.
8788 (cnd_broadcast): Likewise.
8789 (cnd_wait): Likewise.
8790 (cnd_timedwait): Likewise.
8791 (cnd_destroy): Likewise.
8792
3c20a679
AZ
8793 [BZ #14092]
8794 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
8795 (once_flag): New type.
8796 (call_once): New function.
8797 * nptl/Makefile (libpthread-routines): Add call_once object.
8798 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
8799 * nptl/call_once.c: New file.
8800 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
8801 (once_flag): New type.
8802 (call_once): New prototype.
8803
18d59c1b
AZ
8804 [BZ #14092]
8805 * conform/data/threads.h-data (mtx_plain): New constant.
8806 (mtx_recursive): Likewise.
8807 (mtx_timed): Likewise.
8808 (mtx_t): New type.
8809 (mtx_init): New function.
8810 (mtx_lock): Likewise.
8811 (mtx_timedlock): Likewise.
8812 (mtx_trylock): Likewise.
8813 (mtx_unlock): Likewise.
8814 (mtx_destroy): Likewise.
8815 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
8816 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
8817 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
8818 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
8819 * nptl/mtx_destroy.c: New file.
8820 * nptl/mtx_init.c: Likewise.
8821 * nptl/mtx_lock.c: Likewise.
8822 * nptl/mtx_timedlock.c: Likewise.
8823 * nptl/mtx_trylock.c: Likewise.
8824 * nptl/mtx_unlock.c: Likewise.
8825 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
8826 (mtx_recursive): Likewise.
8827 (mtx_timed): Likewise.
8828 (mtx_t): New type.
8829 (mtx_init): New prototype.
8830 (mtx_lock): Likewise.
8831 (mtx_timedlock): Likewise.
8832 (mtx_trylock): Likewise.
8833 (mtx_unlock): Likewise.
8834 (mtx_destroy): Likewise.
8835
ce7528f6
AZ
8836 [BZ #14092]
8837 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
8838 (linknamespace-libs-ISO11): Add libpthread.a.
8839 * conform/data/threads.h-data: New file: add C11 thrd_* types and
8840 functions.
8841 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
8842 * nptl/Makefile (headers): Add threads.h.
8843 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
8844 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
8845 thrd_yield.
8846 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
8847 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
8848 thrd_join, thrd_sleep, and thrd_yield symbols.
8849 * nptl/descr.h (struct pthread): Add c11 field.
8850 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
8851 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
8852 routine with expected function prototype.
8853 (__pthread_create_2_1): Add C11 threads check based on attribute
8854 value.
8855 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
8856 * nptl/thrd_create.c: New file.
8857 * nptl/thrd_current.c: Likewise.
8858 * nptl/thrd_detach.c: Likewise.
8859 * nptl/thrd_equal.c: Likewise.
8860 * nptl/thrd_exit.c: Likewise.
8861 * nptl/thrd_join.c: Likewise.
8862 * nptl/thrd_priv.h: Likewise.
8863 * nptl/thrd_sleep.c: Likewise.
8864 * nptl/thrd_yield.c: Likewise.
8865 * include/threads.h: Likewise.
8866
e27f41ba
L
88672018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8868
8869 * bits/indirect-return.h: New file.
8870 * misc/sys/cdefs.h (__glibc_has_attribute): New.
8871 * sysdeps/x86/bits/indirect-return.h: Likewise.
8872 * stdlib/Makefile (headers): Add bits/indirect-return.h.
8873 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
8874 (swapcontext): Add __INDIRECT_RETURN.
8875 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
8876 (prepare_test_buffer): Use it.
8877
21526a50
AS
88782018-07-24 Andreas Schwab <schwab@suse.de>
8879
8880 [BZ #23448]
8881 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
8882 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
8883
3650e1d9
L
88842018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8885
8886 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
8887 Redefine if shadow stack is enabled.
8888 (SYSCALL_ERROR_LABEL): Likewise.
8889 (__vfork): Pop shadow stack and jump back to to caller directly
8890 when shadow stack is in use.
8891 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
8892 Redefine if shadow stack is enabled.
8893 (SYSCALL_ERROR_LABEL): Likewise.
8894 (__vfork): Pop shadow stack and jump back to to caller directly
8895 when shadow stack is in use.
8896
ca027e0f
L
88972018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8898
8899 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
8900 enabled.
8901 (foo): Likewise.
8902 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
8903 (foo): Likewise.
8904
b99f1c95
JM
89052018-07-20 Joseph Myers <joseph@codesourcery.com>
8906
8907 * scripts/build-many-glibcs.py (Context.checkout): Default
8908 binutils version to 2.31 branch.
8909
c8fabb84
ZL
89102018-07-20 Zong Li <zong@andestech.com>
8911
8912 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
8913 URL of gcc's tarball.
8914
786658a0
FW
89152018-07-20 Florian Weimer <fweimer@redhat.com>
8916
8917 [BZ #23396]
8918 * posix/regcomp.c (build_equiv_class): When comparing weights, do
8919 not compare an extra byte after the end of the weights.
8920
46f2474e
ST
89212018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
8922
8923 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
8924 to 1.
8ba1520e
ST
8925 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
8926 hidden prototypes.
8927 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
8928 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
2d5c41de
ST
8929 * scripts/check-execstack.awk: Consider `xfail' variable containing a
8930 list of libraries whose stack executability is expected.
8931 * elf/Makefile ($(objpfx)check-execstack.out): Pass
8932 $(check-execstack-xfail) to check-execstack.awk through `xfail'
8933 variable.
8934 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
8935 libc.so libpthread.so.
46f2474e 8936
60088242
TS
89372018-07-20 Thomas Schwinge <tschwinge@gnu.org>
8938
8939 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
8940 SOCK_NONBLOCK.
75d5e4a0
TS
8941 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
8942 and SOCK_NONBLOCK.
de195be0
TS
8943 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
8944 implement __pipe2.
8945 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
60088242 8946
1cf4ae7f
LS
89472018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8948
8949 * benchtests/scripts/compare_bench.py (__main__): use the argparse
8950 library to improve command line parsing.
8951 (__main__): make schema file as optional parameter (--schema),
8952 defaulting to benchtests/scripts/benchout.schema.json.
8953 (main): move out of the parsing stuff to __main_  and leave it
8954 only as caller of main comparison functions.
8955
e84bd851
L
89562018-07-19 H.J. Lu <hongjiu.lu@intel.com>
8957
8958 * NEWS: Add a note for Intel CET status.
8959 * manual/install.texi: Likewise.
8960 * INSTALL: Regenerated.
8961
df467d22
QP
89622018-07-18 Quentin PAGÈS <provaires@quentino.fr>
8963
8964 [BZ #23140]
8965 * localedata/locales/oc_FR (mon): Rename to...
8966 (alt_mon): This, then update October (typo fix).
8967 (mon): New content (genitive case, month names preceded by
8968 "de" or "d’").
8969
8970 [BZ #23422]
8971 * localedata/locales/oc_FR (abday): Update all items.
8972 (day): Update Wednesday and Saturday (typo fixes).
8973 (abmon): Update all items, except May.
8974 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
8975 (LC_IDENTIFICATION): Bump the revision number and date.
8976 Keep the "category" entries in alphabetic order.
8977 (LC_ADDRESS): Remove no longer needed comment.
8978 (LC_COLLATE): Use “copy "ca_ES"”.
8979 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
8980 "name_mrs".
8981
5c112f1b
JM
89822018-07-18 Joseph Myers <joseph@codesourcery.com>
8983
8984 * grp/tst_fgetgrent.c: Include <unistd.h>.
8985 (main): Use mkstemp instead of tmpnam.
8986 * io/test-utime.c (main): Likewise.
8987 * posix/annexc.c (macrofile): Change to modifiable array.
8988 (main): Remove macrofile here.
8989 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
8990 macrofile here.
8991 (check_header): Do not remove macrofile here.
8992 * posix/bug-getopt1.c: Include <stdlib.h>.
8993 (do_test): Use mkstemp instead of tmpnam.
8994 * posix/bug-getopt2.c: Include <stdlib.h>.
8995 (do_test): Use mkstemp instead of tmpnam.
8996 * posix/bug-getopt3.c: Include <stdlib.h>.
8997 (do_test): Use mkstemp instead of tmpnam.
8998 * posix/bug-getopt4.c: Include <stdlib.h>.
8999 (do_test): Use mkstemp instead of tmpnam.
9000 * posix/bug-getopt5.c: Include <stdlib.h>.
9001 (do_test): Use mkstemp instead of tmpnam.
9002 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
9003 (main): Use mkstemp instead of tmpnam.
9004 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
9005 (main): Use mkstemp instead of tmpnam.
9006 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
9007 (main): use mkstemp instead of tmpnam.
9008 * stdlib/isomac.c (macrofile): Change to modifiable array.
9009 (main): Remove macrofile here.
9010 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
9011 macrofile here.
9012 (check_header): Do not remove macrofile here.
9013
6d90776d
L
90142018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9015
9016 * manual/tunables.texi: Document glibc.tune.x86_ibt and
9017 glibc.tune.x86_shstk.
9018
e6c69509
L
90192018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9020
9021 * NEWS: Mention --enable-cet.
9022 * manual/install.texi: Document --enable-cet.
9023 * INSTALL: Regenerated.
9024
e2d40a88
L
90252018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9026
9027 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
9028 Add _CET_NOTRACK before indirect jump to jump table.
9029
77a8ae09
L
90302018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9031
9032 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
9033 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9034 to jump table.
9035
90d15dc5
L
90362018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9037
9038 * sysdeps/i386/i686/multiarch/strcat-sse2.S
9039 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9040 to jump table.
9041
f1574581
L
90422018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9043
9044 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
9045 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9046 to jump table.
9047
7fb61336
L
90482018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9049
9050 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
9051 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9052 to jump table.
9053
0a899af0
L
90542018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9055
9056 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
9057 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9058 to jump table.
9059 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
9060
177824e2
L
90612018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9062
9063 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
9064 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9065 to jump table.
9066
00e7b76a
L
90672018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9068
9069 * sysdeps/i386/i686/multiarch/memset-sse2.S
9070 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9071 to jump table.
9072
7e119cd5
L
90732018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9074
9075 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
9076 indirect jump to jump table.
9077
03aaf49b
L
90782018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9079
9080 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
9081 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9082 to jump table.
9083 (MEMCPY): Likewise.
9084
811e9e52
L
90852018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9086
9087 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
9088 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9089 to jump table.
9090 (MEMCPY): Likewise.
9091
8817df42
L
90922018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9093
9094 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
9095 _CET_NOTRACK before indirect jump to jump table.
9096
921595d1
L
90972018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9098
9099 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
9100 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
9101 to jump table.
9102
4ef60d95
L
91032018-07-18 H.J. Lu <hongjiu.lu@intel.com>
9104
9105 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
9106 indirect jump to jump table.
9107
61c4aad7
VT
91082018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
9109
9110 [BZ #22241]
9111 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
9112 (LOCALES): Likewise.
9113 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
9114 * localedata/locales/sah_RU: New file.
9115 * localedata/sah_RU.UTF-8.in: New file.
9116
be9ccd27
L
91172018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9118
9119 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
9120 "sysdep.h".
9121 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
9122 _CET_ENDBR to indirect jump targets and adjust jump destination
9123 for _CET_ENDBR.
9124 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
9125 "sysdep.h".
9126 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
9127 _CET_ENDBR to indirect jump targets and adjust jump destination
9128 for _CET_ENDBR.
9129 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
9130 "sysdep.h".
9131 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
9132 _CET_ENDBR to indirect jump targets and adjust jump destination
9133 for _CET_ENDBR.
9134
5efc6777
L
91352018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9136
9137 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
9138 _CET_ENDBR.
9139
562837c0
L
91402018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9141
9142 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
9143 _CET_ENDBR.
9144 (_dl_tlsdesc_undefweak): Likewise.
9145 (_dl_tlsdesc_dynamic): Likewise.
9146 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
9147 (_dl_tlsdesc_resolve_rel): Likewise.
9148 (_dl_tlsdesc_resolve_rela): Likewise.
9149 (_dl_tlsdesc_resolve_hold): Likewise.
9150 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
9151 (_dl_tlsdesc_undefweak): Likewise.
9152 (_dl_tlsdesc_dynamic): Likewise.
9153 (_dl_tlsdesc_resolve_rela): Likewise.
9154 (_dl_tlsdesc_resolve_hold): Likewise.
9155
124bcde6
L
91562018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9157
9158 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
9159 (_fini): Likewise.
9160 * sysdeps/x86_64/crti.S (_init): Likewise.
9161 (_fini): Likewise.
9162
9145f033
RL
91632018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
9164
9165 [BZ #23140]
9166 * localedata/locales/os_RU (mon): Rename to...
9167 (alt_mon): This.
9168 (mon): Import from CLDR (genitive case).
9169
ba2ea23d
L
91702018-07-17 H.J. Lu <hongjiu.lu@intel.com>
9171
9172 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
9173 cet-tunables.h> when CET is enabled.
9174
f753fa7d
L
91752018-07-16 H.J. Lu <hongjiu.lu@intel.com>
9176
9177 [BZ #21598]
9178 * configure.ac: Add --enable-cet.
9179 * configure: Regenerated.
9180 * elf/Makefille (all-built-dso): Add a comment.
9181 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
9182 Include <dl-prop.h>.
9183 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
9184 segment.
9185 * elf/dl-open.c: Include <dl-prop.h>.
9186 (dl_open_worker): Call _dl_open_check.
9187 * elf/rtld.c: Include <dl-prop.h>.
9188 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
9189 _rtld_main_check.
9190 * sysdeps/generic/dl-prop.h: New file.
9191 * sysdeps/i386/dl-cet.c: Likewise.
9192 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
9193 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
9194 * sysdeps/x86/cet-tunables.h: Likewise.
9195 * sysdeps/x86/check-cet.awk: Likewise.
9196 * sysdeps/x86/configure: Likewise.
9197 * sysdeps/x86/configure.ac: Likewise.
9198 * sysdeps/x86/dl-cet.c: Likewise.
9199 * sysdeps/x86/dl-procruntime.c: Likewise.
9200 * sysdeps/x86/dl-prop.h: Likewise.
9201 * sysdeps/x86/libc-start.h: Likewise.
9202 * sysdeps/x86/link_map.h: Likewise.
9203 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
9204 _CET_ENDBR.
9205 (_dl_runtime_profile): Likewise.
9206 (_dl_runtime_resolve_shstk): New.
9207 (_dl_runtime_profile_shstk): Likewise.
9208 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
9209 if CET is enabled.
9210 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
9211 (CFLAGS-.os): Likewise.
9212 (CFLAGS-.op): Likewise.
9213 (CFLAGS-.oS): Likewise.
9214 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
9215 is enabled.
9216 (tests-special): Add $(objpfx)check-cet.out.
9217 (cet-built-dso): New.
9218 (+$(cet-built-dso:=.note)): Likewise.
9219 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
9220 ($(objpfx)check-cet.out): New.
9221 (generated): Add check-cet.out.
9222 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
9223 <cet-tunables.h>.
9224 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
9225 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
9226 (init_cpu_features): Call get_cet_status to check CET status
9227 and update dl_x86_feature_1 with CET status. Call
9228 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
9229 (set_x86_shstk). Disable and lock CET in libc.a.
9230 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
9231 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
9232 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
9233 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
9234 (_CET_ENDBR): Define if not defined.
9235 (ENTRY): Add _CET_ENDBR.
9236 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
9237 x86_shstk.
9238 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
9239 _CET_ENDBR.
9240 (_dl_runtime_profile): Likewise.
9241
52b2a80f
RA
92422018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
9243
9244 [BZ #21895]
9245 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
9246 restore r2 on longjmp.
9247 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
9248 test list.
9249 Added rules to build test tst-setjmp-bug21895-static.
9250 Added module setjmp-bug21895 and rules to build a shared object from it.
9251 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
9252 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
9253
3ae725df
WD
92542018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
9255
9256 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
9257 * benchtests/bench-strstr.c: Likewise.
9258 * string/memmem.c (FASTSEARCH): Define.
9259 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
9260 Add support for FASTSEARCH.
9261 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
9262 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
9263 (FASTSEARCH): Define.
9264 * string/test-strcasestr.c: Rename __strnlen to strnlen.
9265 * string/test-strstr.c: Likewise.
9266
31e422ca
L
92672018-07-15 H.J. Lu <hongjiu.lu@intel.com>
9268
9269 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
9270 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
9271
faaee1f0
L
92722018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
9273 H.J. Lu <hongjiu.lu@intel.com>
9274
9275 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
9276 (__longjmp): Restore shadow stack pointer if shadow stack is
9277 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
9278 isn't defined for __longjmp_cancel.
9279 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
9280 (_setjmp): Save shadow stack pointer if shadow stack is enabled
9281 and SHADOW_STACK_POINTER_OFFSET is defined.
9282 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
9283 (setjmp): Save shadow stack pointer if shadow stack is enabled
9284 and SHADOW_STACK_POINTER_OFFSET is defined.
9285 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
9286 (__sigsetjmp): Save shadow stack pointer if shadow stack is
9287 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9288 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
9289 <jmp_buf-ssp.h>.
9290 (____longjmp_chk): Restore shadow stack pointer if shadow stack
9291 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9292 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
9293 Remove jmp_buf-ssp.sym.
9294 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
9295 <jmp_buf-ssp.h>.
9296 (____longjmp_chk): Restore shadow stack pointer if shadow stack
9297 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9298 * sysdeps/x86/Makefile (gen-as-const-headers): Add
9299 jmp_buf-ssp.sym.
9300 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
9301 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
9302 (__longjmp): Restore shadow stack pointer if shadow stack is
9303 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
9304 isn't defined for __longjmp_cancel.
9305 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
9306 (__sigsetjmp): Save shadow stack pointer if shadow stack is
9307 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
9308
ebff9c5c
L
93092018-07-14 H.J. Lu <hongjiu.lu@intel.com>
9310
9311 [BZ #22563]
9312 * nptl/pthread_create.c: Include <tls-setup.h>.
9313 (__pthread_create_2_1): Call tls_setup_tcbhead.
9314 * sysdeps/generic/tls-setup.h: New file.
9315 * sysdeps/x86/nptl/tls-setup.h: Likewise.
9316 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
9317 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
9318 Likewise.
9319 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
9320 to feature_1.
9321 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
9322 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
9323 (X86_FEATURE_1_SHSTK): Likewise.
9324 (CET_ENABLED): Likewise.
9325 (IBT_ENABLED): Likewise.
9326 (SHSTK_ENABLED): Likewise.
9327
0a83bad2
RL
93282018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
9329
9330 [BZ #23208]
9331 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
9332 (LOCALES): Likewise.
9333 * localedata/dsb_DE.UTF-8.in: New file.
9334 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
9335
046bfed9
FW
93362018-07-12 Florian Weimer <fweimer@redhat.com>
9337
9338 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
9339 __mprotect, not mprotect.
9340
93304f5f
FW
93412018-07-11 Florian Weimer <fweimer@redhat.com>
9342
9343 * io/Makefile (headers): Add bits/statx.h.
9344
4beefeeb
MF
93452018-07-10 Mike FABIAN <mfabian@redhat.com>
9346
9347 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
9348 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
9349 and headers.
9350 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
9351 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
9352 for utf8_gen.py
9353
fd70af45
FW
93542018-07-10 Florian Weimer <fweimer@redhat.com>
9355
9356 * io/Makefile (routines): Add statx.
9357 (tests-internal): Add tst-statx.
9358 * io/Versions (GLIBC_2.28): Export statx.
9359 * io/bits/statx.h: New file.
9360 * io/sys/stat.h [__USE_GNU]: Include it.
9361 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
9362 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
9363 Define.
9364 * io/statx.c: New file.
9365 * io/statx_generic.: Likewise.
9366 * io/tst-statx.: Likewise.
9367 * include/bits/statx.h: Likewise.
9368 * sysdeps/unix/sysv/linux/kernel-features.h
9369 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
9370 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9371 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
9372 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
9373 Undefine.
9374 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9375 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
9376 * sysdeps/unix/sysv/linux/statx.c: New file.
9377 * manual/filesys.texi: Note that statx is undocumented.
9378 * sysdeps/**/libc*.abilist: Update.
9379
b444e8f7
AZ
93802018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9381
9382 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
9383 a kernel issue which lead to test failure in some cases.
9384
7b2f4ced
FW
93852018-07-10 Florian Weimer <fweimer@redhat.com>
9386
9387 [BZ #23036]
9388 * posix/regexec.c (check_node_accept_bytes): When comparing
9389 weights, do not compare an extra byte after the end of the
9390 weights.
9391
4fa34da6
FW
93922018-07-10 Florian Weimer <fweimer@redhat.com>
9393
9394 * libio/readline.c: Fix copyright year.
9395 * libio/tst-readline.c Likewise.
9396 * nss/tst-nss-files-hosts-getent.c: Likewise.
9397
916124ed
FW
93982018-07-06 Florian Weimer <fweimer@redhat.com>
9399
9400 [BZ #18991]
9401 * nss/nss_files/files-XXX.c (internal_getent): Use
9402 __libc_readline_unlocked. Seek back to the start of the line if
9403 parsing failes with ERANGE.
9404 (get_contents_ret, get_contents): Remove.
9405 * nss/tst-nss-files-hosts-getent.c: New file.
9406 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
9407 (tst-nss-files-hosts-getent): Link with -ldl.
9408
3f5e3f5d
FW
94092018-07-06 Florian Weimer <fweimer@redhat.com>
9410
9411 * include/stdio.h (__libc_readline_unlocked): Declare.
9412 (__ftello64, __fseeko64): Declare aliases.
9413 * libio/readline.c: New file.
9414 * libio/tst-readline.c: Likewise.
9415 (routines): Add readline.
9416 (tests-internal): Add tst-readlime.
9417 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
9418 __libc_readline_unlocked.
9419 * libio/fseeko.c (__fseeko): Rename from fseeko.
9420 (fseeko): Add alias.
9421 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
9422 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
9423 (fseeko64): Add alias.
9424 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
9425 * libio/ftello64.c (__ftello64): Rename from ftello64.
9426 (ftello64): Add alias.
9427
397c54c1
SN
94282018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
9429
9430 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
9431 HWCAP_ATOMICS.
9432
d0cd7980
SN
94332018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
9434
9435 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
9436 Use dl_hwcap without masking.
9437 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
9438 Remove HWCAP_CPUID.
9439
ddb3c626
FW
94402018-07-06 Florian Weimer <fweimer@redhat.com>
9441
9442 * conform/conformtest.pl (checknamespace): Escape literal braces
9443 in regular expressions.
9444
bce5911b
AP
94452018-07-06 Amit Pawar <amit.pawar@amd.com>
9446
9447 * sysdeps/x86/cpu-features.c (get_common_indeces):
9448 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
9449 * sysdeps/x86/cpu-features.c (init_cpu_features):
9450 AVX_Fast_Unaligned_Load is disabled for Excavator core.
9451
3a885c1f
FW
94522018-07-05 Florian Weimer <fweimer@redhat.com>
9453
9454 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
9455 protector.
9456 (CFLAGS-elf-init.oS): Likewise.
9457
38cade0c
FW
94582018-07-05 Florian Weimer <fweimer@redhat.com>
9459 Carlos O'Donell <carlos@redhat.com>
9460
9461 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
9462 $(no-stack-protector). stack_chk_fail_local.c can be compiled
9463 with stack protector enabled because there is no risk of infinite
9464 recursion.
9465
9449a295
MR
94662018-07-05 Maciej W. Rozycki <macro@mips.com>
9467
9468 [BZ #19818]
9469 [BZ #23307]
9470 * libc-abis (ABSOLUTE): New ABI.
9471 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
9472 * NEWS: Mention the new ABI.
9473
d6da5cb6
FW
94742018-07-05 Florian Weimer <fweimer@redhat.com>
9475
9476 [BZ # 17662]
9477 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
9478 (RENAME_WHITEOUT): Define.
9479 [__USE_GNU] (renameat2): Declare.
9480 * stdio-common/Makefile (routines): Add renameat2.
9481 (tests): Add tst-renameat2.
9482 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
9483 * stdio-common/renameat2.c: New file.
9484 * stdio-common/tst-renameat2.c: Likewise.
9485 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
9486 * manual/filesys.texi (Temporary Files): Note that renameat2 is
9487 undocumented.
9488 * sysdeps/unix/sysv/linux/kernel-features.h
9489 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
9490 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9491 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
9492 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9493 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
9494 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9495 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
9496 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9497 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
9498 * include/stdio.h (__renameat): Add alias for renameat.
9499 * stdio-common/renameat.c (__renameat): Rename from renameat.
9500 Add hidden definition and alias.
9501 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
9502 * sysdeps/mach/hurd/renameat.c: Likewise.
9503 * sysdeps/**/libc*.abilist: Add renameat2.
9504
1002d708
AZ
95052018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9506
9507 * posix/bug-regex33.c: Fix build after regex sync.
9508
34fdb893
CD
95092018-07-04 Carlos O'Donell <carlos@redhat.com>
9510
9511 [BZ #23164]
9512 * localedata/tst-langinfo-setlocale.c: New file.
9513 * localedata/tst-langinfo-setlocale-static.c: New file.
9514 * localedata/tst-langinfo-newlocale.c: New file.
9515 * localedata/tst-langinfo-newlocale-static.c: New file.
9516 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
9517 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
9518 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
9519 (tests-static): Remove tst-langinfo-static. Add
9520 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
9521 (tests-special): Remove $(objpfx)tst-langinfo.out,
9522 $(objpfx)tst-langinfo-static.out. Add
9523 $(objpfx)tst-langinfo-setlocale.out,
9524 $(objpfx)tst-langinfo-newlocale.out,
9525 $(objpfx)tst-langinfo-setlocale-static.out,
9526 $(objpfx)tst-langinfo-newlocale-static.out.
9527 ($(objpfx)tst-langinfo.out): Remove.
9528 ($(objpfx)tst-langinfo-static.out): Remove.
9529 ($(objpfx)tst-langinfo-newlocale.out): New target.
9530 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
9531 (test-xfail-tst-langinfo-newlocale-static): Add.
9532 ($(objpfx)tst-langinfo-setlocale.out): New target.
9533 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
9534 * localedata/tst-langinfo.c: Call test_locale.
9535 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
9536 data.
9537
f2873d2d
FW
95382018-07-04 Florian Weimer <fweimer@redhat.com>
9539
9540 testrun.sh: Implement --tool=strace, --tool=valgrind
9541 * Makefile (testrun-script): Define variable.
9542 (testrun.sh): Use variable.
9543 * manual/install.texi (Tools for Compilation): make 4.0 or later
9544 is required.
9545 * configure.ac: Check for make 4.0 or later.
9546 * INSTALL: Regenerate.
9547 * configure: Likewise.
9548
eb04c213
AZ
95492018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9550
9551 [BZ #23233]
9552 [BZ #21163]
9553 [BZ #18986]
9554 [BZ #13762]
9555 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
9556 * posix/PCRE.tests: Remove invalid test.
9557 * posix/bug-regex28.c: Fix expected values for used syntax.
9558 * posix/bug-regex37.c: New file.
9559 * posix/bug-regex38.c: Likewise.
9560 * posix/regcomp.c: Sync with gnulib.
9561 * posix/regex.c: Likewise.
9562 * posix/regex.h: Likewise.
9563 * posix/regex_internal.c: Likewise.
9564 * posix/regex_internal.h: Likewise.
9565 * posix/regexec.c: Likewise.
9566
b11643c2
MF
95672018-06-26 Mike FABIAN <mfabian@redhat.com>
9568
9569 [BZ #23308]
9570 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
9571 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
9572 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
9573 * localedata/unicode-gen/PropList.txt: likewise.
9574 * localedata/unicode-gen/UnicodeData.txt: likewise.
9575 * localedata/charmaps/UTF-8: Regenerate.
9576 * localedata/locales/i18n_ctype: likewise.
9577 * localedata/locales/tr_TR: likewise.
9578 * localedata/locales/translit_circle: likewise.
9579 * localedata/locales/translit_cjk_compat: likewise.
9580 * localedata/locales/translit_combining: likewise.
9581 * localedata/locales/translit_compat: likewise.
9582 * localedata/locales/translit_font: likewise.
9583 * localedata/locales/translit_fraction: likewise.
9584
5a357506
FW
95852018-07-03 Florian Weimer <fweimer@redhat.com>
9586
9587 [BZ #23363]
9588 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
9589 * stdio-common/tst-printf.sh: Adjust expected output.
9590 * LICENSES: Update.
9591
7279af00
AZ
95922018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9593
9594 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
9595 symbol.
9596
b7b88cea
GG
95972018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9598
9599 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
9600 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
9601 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
9602 * stdio-common/tst-printfsz-islongdouble.c: New file.
9603 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
9604 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
9605 [subdir == stdio-common] (routines): Add ieee128-printf_size.
9606 [subdir == stdio-common] (tests-internal): Add
9607 test-printf-size-ieee128, and test-printf-size-ibm128.
9608 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
9609 (CFLAGS-test-printf-size-ibm128.c): New variables.
9610 [subdir == stdio-common] (tests-special): Add
9611 $(objpfx)test-printf-size-ieee128.out and
9612 $(objpfx)test-printf-size-ibm128.out.
9613 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
9614 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
9615 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
9616 __printf_sizeieee128.
9617 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
9618 New file.
9619 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
9620 Likewise.
9621 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
9622 Likewise.
9623
2b445206
SN
96242018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
9625
9626 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
9627 (exp2f_inline): Likewise.
9628 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
9629 (__math_uflowf): Likewise.
9630 (__math_may_uflowf): Likewise.
9631 (__math_divzerof): Likewise.
9632 (__math_invalidf): Likewise.
9633 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
9634 (__math_oflowf): Likewise.
9635 (__math_uflowf): Likewise.
9636 (__math_may_uflowf): Likewise.
9637 (__math_divzerof): Likewise.
9638 (__math_invalidf): Likewise.
9639
2827ab99
CD
96402018-06-29 DJ Delorie <dj@redhat.com>
9641 Carlos O'Donell <carlos@redhat.com>
9642
9643 [BZ #23329]
9644 * include/libc-symbols.h: Comment the freeres framework.
9645 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
9646 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
9647 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
9648 * dlfcn/dlerror.c: Include libc-symbols.h
9649 (__dlerror_main_freeres): New function.
9650 * dlfcn/dlfreeres.c: New file.
9651 * dlfcn/sdlfreeres.c: New file.
9652 * include/dlfcn.h: Declare __dlerror_main_freeres.
9653 * malloc/set-freeres.c: Declare __libdl_freeres, and
9654 __libpthread_freeres.
9655 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
9656 the releavant libraries are loaded.
9657 * malloc/thread-freeres.c: Add comments.
9658 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
9659 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
9660 * nptl/allocatestack.c (__nptl_free_stacks): New function.
9661 (__free_stacks): Rename to...
9662 (free_stacks): ...this. Mark static.
9663 (queue_stack): Call free_stacks.
9664 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
9665 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
9666 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
9667 ptr_freeres element from struct.
9668 (pthread_functions): Remove .ptr_freeres from struct initializer.
9669 [SHARED] (nptl_freeres): Remove.
9670 * nptl/nptlfreeres.c: New file.
9671 * nptl/pthreadP.h
9672 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
9673 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
9674 attribute_hidden.
9675 (__free_stacks): Rename to...
9676 (__nptl_stacks_freeres): ...this.
9677 (__shm_directory_freeres): Declare.
9678 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
9679 (__nptl_unwind_freeres): ...this.
9680 * resolv/res-close.c: Add comment.
9681 * resolv/resolv_conf.c: Include libc-symbols.h.
9682 * string/strerror_l.c: Include libc-symbols.h.
9683 * sunrpc/rpc_thread.c: Include libc-symbols.h.
9684 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
9685 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
9686 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
9687
37d3d244
RS
96882018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9689
9690 * stdlib/tst-strfmon_l.c: Add tests for long double.
9691
a1e0c5fa
MW
96922018-06-29 Michael Wolf <milupo@sorbzilla.de>
9693
9694 [BZ #23208]
9695 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
9696 * localedata/locales/dsb_DE: New file.
9697
2e0c5de6
RL
96982018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
9699
9700 [BZ #23140]
9701 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
9702 genitive case).
9703 (alt_mon): New entry, import from CLDR (nominative case).
9704
cdb52c71
SL
97052018-06-29 Sylvain Lesage <severo@rednegra.net>
9706
9707 [BZ #22996]
9708 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
9709
ce76a5cb
SP
97102018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
9711
0aec4c1d
SP
9712 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
9713 Use vector registers.
9714
ce76a5cb
SP
9715 * sysdeps/aarch64/multiarch/memmove_falkor.S
9716 (__memcpy_falkor): Use vector registers.
9717
7e8989d0
MS
97182018-06-29 Martin Sebor <msebor@redhat.com>
9719
9720 * manual/stdio.texi (Customizing Printf): Mention interaction
9721 with GCC built-ins.
9722
bac15a72
MR
97232018-06-29 Maciej W. Rozycki <macro@mips.com>
9724
9725 [BZ #23307]
9726 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
9727 `st_value' is 0 if `st_shndx' is SHN_ABS.
9728 * elf/tst-absolute-zero.c: New file.
9729 * elf/tst-absolute-zero-lib.c: New file.
9730 * elf/tst-absolute-zero-lib.lds: New file.
9731 * elf/Makefile (tests): Add `tst-absolute-zero'.
9732 (modules-names): Add `tst-absolute-zero-lib'.
9733 (LDLIBS-tst-absolute-zero-lib.so): New variable.
9734 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
9735 ($(objpfx)tst-absolute-zero: New dependency.
9736
e69d994a
ZW
97372018-06-29 Zack Weinberg <zackw@panix.com>
9738
9739 * configure.ac: New command-line option --disable-crypt.
9740 Force --disable-nss-crypt when --disable-crypt is given, with a
9741 warning if it was explicitly enabled.
9742 * configure: Regenerate.
9743 * config.make.in: New boolean substitution variable $(build-crypt).
9744 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
9745 when $(build-crypt).
9746 * manual/install.texi: Document --disable-crypt.
9747 * INSTALL: Regenerate.
9748
9749 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
9750 which is never set.
9751 * conform/Makefile: Only include libcrypt.a in
9752 linknamespace-libs-xsi and linknamespace-libs-XPG4
9753 when $(build-crypt).
9754 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
9755 USE_CRYPT to 1 when $(build-crypt).
9756 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
9757 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
9758 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
9759
841785ba
ZW
97602018-06-29 Zack Weinberg <zackw@panix.com>
9761
9762 * crypt/crypt.h, posix/unistd.h: Update comments and
9763 prototypes for crypt and crypt_r.
9764
9765 * manual/crypt.texi (Cryptographic Functions): New initial
9766 exposition.
9767 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
9768 (Unpredictable Bytes): Improve initial exposition. Clarify error
9769 behavior of getentropy and getrandom.
9770 * manual/examples/genpass.c: Generate a salt using getentropy
9771 instead of the current time. Use hash $5$ (SHA-2-256).
9772 * manual/examples/testpass.c: Demonstrate validation against
9773 hashes generated with three different one-way functions.
9774
9775 * manual/intro.texi: crypt.texi does not need an overview
9776 anymore.
9777
9778 * manual/nss.texi, manual/memory.texi, manual/socket.texi
9779 * manual/terminal.texi: Consistently refer to "passphrases"
9780 * instead of "passwords", and to the "user database" instead
9781 * of the "password database".
9782 * manual/users.texi: Similarly. Add notes about how actual
9783 passphrase hashes are now stored in the shadow database.
9784 Remove 20-year-old junk todo note.
9785
6ab902e4
ZW
97862018-06-29 Zack Weinberg <zackw@panix.com>
9787
9788 * manual/crypt.texi: Use a normal top-level @node declaration.
9789 Move most of the introductory text to the 'crypt' section.
9790 Move the example programs below the @deftypefun for 'crypt_r'.
9791 Move the 'getpass' section...
9792 * manual/terminal.texi: ...here.
9793
b10a0acc
ZW
97942018-06-29 Zack Weinberg <zackw@panix.com>
9795 Florian Weimer <fweimer@redhat.com>
9796
9797 * posix/unistd.h: Do not declare encrypt.
9798 (_XOPEN_CRYPT): Remove macro definition.
9799 (crypt): Declare only for _USE_MISC.
9800 * stdlib/stdlib.h: Do not declare setkey.
9801 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
9802 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
9803
9804 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
9805 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
9806 into compat symbols. Don't define initial_perm if it's not
9807 going to be used.
9808 * crypt/cert.c: Link explicitly with the expected versions for
9809 setkey and encrypt. If they are not available at all, mark
9810 the test as unsupported.
9811
9812 * sunrpc/des_crypt.c: Unconditionally block linkage with
9813 cbc_crypt and ecb_crypt for new binaries.
9814 * sunrpc/des_soft.c: Unconditionally block linkage with
9815 des_setparity for new binaries.
9816
9817 * manual/crypt.texi: Remove the entire "DES Encryption"
9818 section. Also remove the paragraph talking about FIPS 140-2
9819 from the introduction.
9820 * manual/string.texi (strfry, memfrob): Revise. Recommend use
9821 of libgcrypt for "real" encryption, not DES.
9822 * manual/conf.texi (Constants for Sysconf): Mention that
9823 _XOPEN_CRYPT is no longer impelemented.
9824
9825 * conform/data/unistd.h-data: Remove crypt function declaration.
9826
524d796d
FW
98272018-06-29 Florian Weimer <fweimer@redhat.com>
9828
9829 [BZ #23351]
9830 * malloc/hooks.c: Update comments on restoring of dumped heaps.
9831 (disallow_malloc_check): Remove variable.
9832 (__malloc_check_init): Adjust.
9833 (malloc_set_state): Update comment.
9834 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
9835 declarations.
9836
339124ab
RL
98372018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
9838
9839 [BZ #23140]
9840 * localedata/locales/ast_ES (mon): Rename to...
9841 (alt_mon): This.
9842 (mon): Import from CLDR (genitive case).
9843
c1f86a33
DA
98442018-06-29 Daniel Alvarez <dalvarez@redhat.com>
9845 Jakub Sitnicki <jkbs@redhat.com>
9846
9847 [BZ #21812]
9848 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
9849 on NLM_F_DUMP_INTR.
9850
0b11b649
SN
98512018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
9852
9853 * manual/llio.texi: Remove spurious space.
9854
c1c2848b
FW
98552018-06-28 Florian Weimer <fweimer@redhat.com>
9856
9857 [BZ #23349]
9858 * time/bits/types/struct_timespec.h: Change header inclusion guard to
9859 _STRUCT_TIMESPEC.
9860
86a0f561
RS
98612018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9862
9863 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
9864 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
9865 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
9866 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
9867 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
9868 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
9869 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
9870
780684eb
MR
98712018-06-27 Maciej W. Rozycki <macro@mips.com>
9872
9873 [BZ #23266]
9874 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
9875 Copy and null-terminate entries that are not terminated, in
9876 addition to empty ones.
9877
c49e1822
FW
98782018-06-27 Florian Weimer <fweimer@redhat.com>
9879
9880 [BZ #18023]
9881 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
9882 (extend_alloca_account): Remove.
9883 * manual/stdio.texi (Variable Arguments Output): Update comment.
9884
a833e627
JM
98852018-06-27 Joseph Myers <joseph@codesourcery.com>
9886
9887 * nptl/sockperf.c: Remove file.
9888
92d6aa85
FW
98892018-06-27 Florian Weimer <fweimer@redhat.com>
9890
9891 [BZ #18023]
9892 * elf/dl-deps.c (_dl_map_object_deps): Use struct
9893 scratch_buffer instead of extend_alloca.
9894
890c2ced
FW
98952018-06-27 Florian Weimer <fweimer@redhat.com>
9896
9897 [BZ #18023]
9898 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
9899 scratch_buffer instead of extend_alloca. Update comments.
9900
4272059d
FW
99012018-06-27 Florian Weimer <fweimer@redhat.com>
9902
9903 [BZ #18023]
9904 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
9905 instead of extend_alloca.
9906
27f10a09
JM
99072018-06-26 Joseph Myers <joseph@codesourcery.com>
9908
9909 [BZ #13888]
9910 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
9911 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
9912 /tmp.
9913 * scripts/test-installation.pl: Put temporary files in build
9914 directory, not /tmp.
9915 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
9916 (CFLAGS-bug4.c): Likewise.
9917 (CFLAGS-bug5.c): Likewise.
9918 (CFLAGS-test-fseek.c): Likewise.
9919 (CFLAGS-test-popen.c): Likewise.
9920 (CFLAGS-test_rdwr.c): Likewise.
9921 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
9922 /tmp.
9923 * stdio-common/bug4.c (main): Likewise.
9924 * stdio-common/bug5.c (main): Likewise.
9925 * stdio-common/test-fseek.c (TESTFILE): Likewise.
9926 * stdio-common/test-popen.c (do_test): Likewise.
9927 * stdio-common/test_rdwr.c (main): Likewise.
9928
05598a09
PF
99292018-06-26 Patsy Franklin <pfrankli@redhat.com>
9930
9931 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
9932 (sem_open): Set sem.newsem.pad to zero for valgrind.
9933
06ab719d
AZ
99342018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9935
9936 [BZ #20251]
9937 * NEWS: Mention fcntl64 addition.
9938 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
9939 * login/utmp_file.c: Likewise.
9940 * sysdeps/posix/fdopendir.c: Likewise.
9941 * sysdeps/posix/opendir.c: Likewise.
9942 * sysdeps/unix/pt-fcntl.c: Likewise.
9943 * include/fcntl.h (__libc_fcntl64, __fcntl64,
9944 __fcntl64_nocancel_adjusted): New prototype.
9945 (__fcntl_nocancel_adjusted): Remove prototype.
9946 * io/Makefile (routines): Add fcntl64.
9947 (CFLAGS-fcntl64.c): New rule.
9948 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
9949 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
9950 * io/fcntl.h (fcntl64): Add prototype and redirect if
9951 __USE_FILE_OFFSET64 is defined.
9952 * io/fcntl64.c: New file.
9953 * manual/llio.text: Add a note for which commands fcntl acts a
9954 cancellation point.
9955 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
9956 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
9957 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
9958 New symbols.
9959 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
9960 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
9961 non-LFS case.
9962 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
9963 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
9964 to __fcntl64_nocancel.
9965 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
9966 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
9967 to __fcntl64_nocancel.
9968 * sysdeps/generic/not-cancel.h: Likewise.
9969 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
9970 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
9971 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
9972 (fcntl64): New symbol.
9973 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9974 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9975 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9978 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9979 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9980 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9981 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9982 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9983 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
9984 fcntl64): Likewise.
9985 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9986 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
9987 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9988 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9989 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9990 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9991 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9992 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9993 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9995 Likewise.
9996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9997 Likewise.
9998 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9999 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10000 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10001
124e0258
FW
100022018-06-26 Florian Weimer <fweimer@redhat.com>
10003
10004 Run thread shutdown functions in an explicit order.
10005 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
10006 definition.
10007 (__libc_thread_freeres): Call thread shutdown functions
10008 explicitly.
10009 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
10010 * include/string.h (__strerror_thread_freeres): Declare.
10011 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
10012 arena_thread_freeres. No longer static. Remove thread shutdown
10013 hook registration.
10014 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
10015 Declare.
10016 * resolv/res-close.c (__res_thread_freeres): Renamed from
10017 res_thread_freeres. No longer static. Remove thread shutdown
10018 hook registration.
10019 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
10020 * resolv/resolv_conf.c (freeres): Remove incorrect section
10021 attribute and use libc_freeres_fn.
10022 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
10023 strerror_thread_freeres. No longer static. Remove thread
10024 shutdown hook registration.
10025 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
10026 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
10027 shutdown hook registration.
10028 * Makerules (shlib.lds): Do not provide section boundary symbols
10029 for __libc_thread_subfreeres.
10030 * manual/memory.texi (Basic Allocation): Update comment.
10031
935d920e
FW
100322018-06-26 Florian Weimer <fweimer@redhat.com>
10033
10034 Remove always-defined _RPC_THREAD_SAFE_ macro.
10035 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
10036 Do not define _RPC_THREAD_SAFE_.
10037 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
10038 conditional.
10039 * sunrpc/clnt_perr.c: Likewise.
10040 * sunrpc/clnt_raw.c: Likewise.
10041 * sunrpc/clnt_simp.c: Likewise.
10042 * sunrpc/key_call.c: Likewise.
10043 * sunrpc/rpc_common.c: Likewise.
10044 * sunrpc/rpc_main.c: Likewise.
10045 * sunrpc/rpc_thread.c: Likewise.
10046 * sunrpc/svc.c: Likewise.
10047 * sunrpc/svc_raw.c: Likewise.
10048 * sunrpc/svc_simple.c: Likewise.
10049 * sumrpc/svcauth_des.c: Likewise.
10050
29055464
FW
100512018-06-26 Florian Weimer <fweimer@redhat.com>
10052
10053 * libio/Makefile (tests-internal): Add tst-vtables,
10054 tst-vtables-interposed.
10055 * libio/tst-vtables.c: New file.
10056 * libio/tst-vtables-common.c: Likewise.
10057 * libio/tst-vtables-interposed.c: Likewise.
10058
5c0202af
FW
100592018-06-26 Florian Weimer <fweimer@redhat.com>
10060
10061 * support/support_test_main.c (support_test_main): Only call
10062 setvbuf if not disables.
10063 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
10064 * support/test-driver.h (struct test_config): Add no_setvbuf member.
10065
c402355d
FW
100662018-06-26 Florian Weimer <fweimer@redhat.com>
10067
10068 [BZ #23313]
10069 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
10070
43b1048a
FW
100712018-06-25 Florian Weimer <fweimer@redhat.com>
10072
10073 [BZ #18023]
10074 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10075 Use struct scratch_buffer instead of extend_alloca.
10076
1599ed4e
FW
100772018-06-25 Florian Weimer <fweimer@redhat.com>
10078
10079 [BZ #18023]
10080 * nss/getent.c (initgroups_keys): Use dynarray instead of
10081 extend_alloca.
10082
a26fe163
FW
100832018-06-25 Florian Weimer <fweimer@redhat.com>
10084
10085 [BZ #18023]
10086 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
10087 Use struct scratch_buffer instead of extend_alloca.
10088
90d9d9ce
FW
100892018-06-25 Florian Weimer <fweimer@redhat.com>
10090
10091 [BZ #18023]
10092 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
10093 back to malloc directly, without stack allocations.
10094
6b7b2aba
FW
100952018-06-25 Florian Weimer <fweimer@redhat.com>
10096
10097 [BZ #18023]
10098 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
10099 of extend_alloca.
10100
2f9f0d18
FW
101012018-06-25 Florian Weimer <fweimer@redhat.com>
10102
10103 [BZ #18023]
10104 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
10105 of extend_alloca.
10106 * nscd/hstcache.c (addhstbyX): Likewise.
10107 * nscd/pwdcache.c (addpwbyX): Likewise.
10108 * nscd/servicescache.c (addservbyX): Likewise.
10109
318bad78
FW
101102018-06-25 Florian Weimer <fweimer@redhat.com>
10111
10112 [BZ #18023]
10113 * nscd/connections.c (read_cmdline): New function.
10114 (restart): Use it. Update comment.
10115
189699ab
RL
101162018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
10117
10118 [BZ #23140]
10119 * localedata/locales/csb_PL (mon): Rename to...
10120 (alt_mon): This.
10121 (abmon): Rename to...
10122 (ab_alt_mon): This.
10123 (mon): Add with proper genitive forms, copy from Wikipedia.
10124 (abmon): Likewise.
10125
0ea3f13c
RL
101262018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
10127
10128 [BZ #19485]
10129 * localedata/locales/csb_PL (mon): Fix typos:
10130 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
10131 (yesstr): Add, value is "jo".
10132 (nostr): Add, value is "nié".
10133
d93f4ff1
TMQMF
101342018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10135
10136 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
10137 all log1p and significand functions on m680x0.
10138 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
10139 of s_significand.c..
10140 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
10141 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
10142 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
10143 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
10144 s_log1p.c and include it..
10145
f6299d2a
VC
101462018-06-21 Vincent Chen <vincentc@andestech.com>
10147
10148 * elf/elf.h (R_NDS32_NONE): New define.
10149 (R_NDS32_32_RELA): Likewise.
10150 (R_NDS32_COPY): Likewise.
10151 (R_NDS32_GLOB_DAT): Likewise.
10152 (R_NDS32_JUMP_SLOT): Likewise.
10153 (R_NDS32_RELATIVE): Likewise.
10154 (R_NDS32_TLS_TPOFF): Likewise.
10155 (R_NDS32_TLS_DESC): Likewise.
10156
61ab61c2
MW
101572018-06-21 Mark Wielaard <mark@klomp.org>
10158
10159 * elf/elf.h (R_BPF_MAP_FD): Removed.
10160 (R_BPF_64_64, R_BPF_64_32): New.
10161
f496b28e
FW
101622018-06-21 Florian Weimer <fweimer@redhat.com>
10163
10164 [BZ #23253]
10165 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
10166 Renamed from libc_feholdsetround_ctx.
10167 (default_libc_feresetround_ctx): Renamed from
10168 libc_feresetround_ctx.
10169 (default_libc_feholdsetround_noex_ctx): Renamed from
10170 libc_feholdsetround_noex_ctx.
10171 (default_libc_feresetround_noex_ctx): Renamed from
10172 libc_feresetround_noex_ctx.
10173 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
10174 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
10175 forwardning to the old implementations under the new names.
10176 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
10177 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
10178 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
10179 (libc_feresetround_ctx): Forward to default implements for i386
10180 and MATH_SET_BOTH_ROUNDING_MODES.
10181 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
10182 Add -DMATH_SET_BOTH_ROUNDING_MODES.
10183
1760daad
JM
101842018-06-20 Joseph Myers <joseph@codesourcery.com>
10185
99c7adf9
JM
10186 * string/tst-cmp.c: Include <libc-diag.h>.
10187 (strncmp_max): Disable -Wstringop-overflow= around call to
10188 strncmp.
10189 (strncasecmp_max): Disable -Wstringop-overflow= around call to
10190 strncasecmp.
10191
1760daad
JM
10192 * string/bug-strpbrk1.c: Include <libc-diag.h>.
10193 (main): Disable -Wunused-value around call to strpbrk.
10194 * string/bug-strspn1.c: Include <libc-diag.h>.
10195 (main): Disable -Wunused-value around call to strspn.
10196
209ae17c
TMQMF
101972018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10198 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10199
10200 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
10201 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
10202
badba23c
TMQMF
102032018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10204
5e79e029
TMQMF
10205 * math/Makefile (libm-calls): Move s_significandF to...
10206 (gen-libm-calls): ... here.
10207 * math/s_significand_template.c: New file.
10208 * math/s_significand.c: Removed.
10209 * math/s_significandf.c: Removed.
10210 * math/s_significandl.c: Removed.
10211 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
10212 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
10213
badba23c
TMQMF
10214 * math/e_exp2_template.c (declare_mgen_finite_alias,
10215 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
10216 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
10217 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
10218
2d1c89a5
FW
102192018-06-20 Florian Weimer <fweimer@redhat.com>
10220
10221 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
10222
646c2833
JM
102232018-06-19 Joseph Myers <joseph@codesourcery.com>
10224
10225 [BZ #23280]
10226 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
10227 floating-point number to strtod functions rather than possibly
10228 negating result of those functions.
10229 * stdio-common/tst-scanf-round.c: New file.
10230 * stdio-common/Makefile (tests): Add tst-scanf-round.
10231 ($(objpfx)tst-scanf-round): Depend on $(libm).
10232
c77e4dc0
ST
102332018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
10234
10235 * sysdeps/mach/hurd/localplt.data: Move to...
10236 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
10237 R_386_GLOB_DAT like on Linux i386.
10238
91b2f3e5
JM
102392018-06-18 Joseph Myers <joseph@codesourcery.com>
10240
f2857da7
JM
10241 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
10242 (SHM_STAT_ANY): New macro.
10243 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
10244 (SHM_STAT_ANY): Likewise.
10245 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
10246 (SHM_STAT_ANY): Likewise.
10247 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
10248 (SHM_STAT_ANY): Likewise.
10249 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
10250 (SHM_STAT_ANY): Likewise.
10251 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
10252 (SHM_STAT_ANY): Likewise.
10253 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
10254 (SHM_STAT_ANY): Likewise.
10255 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
10256 (SHM_STAT_ANY): Likewise.
10257 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
10258 (SHM_STAT_ANY): Likewise.
10259 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
10260 (SHM_STAT_ANY): Likewise.
10261 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
10262 (SHM_STAT_ANY): Likewise.
10263 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
10264 (SHM_STAT_ANY): Likewise.
10265
176c7fee
JM
10266 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
10267 (SEM_STAT_ANY): New macro.
10268 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
10269 (SEM_STAT_ANY): Likewise.
10270 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
10271 (SEM_STAT_ANY): Likewise.
10272 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
10273 (SEM_STAT_ANY): Likewise.
10274 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
10275 (SEM_STAT_ANY): Likewise.
10276 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
10277 (SEM_STAT_ANY): Likewise.
10278 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
10279 (SEM_STAT_ANY): Likewise.
10280 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
10281 (SEM_STAT_ANY): Likewise.
10282 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
10283 (SEM_STAT_ANY): Likewise.
10284 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
10285 (SEM_STAT_ANY): Likewise.
10286
86bf0019
JM
10287 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
10288 (MSG_STAT_ANY): New macro.
10289 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
10290 (MSG_STAT_ANY): Likewise.
10291 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
10292 (MSG_STAT_ANY): Likewise.
10293 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
10294 (MSG_STAT_ANY): Likewise.
10295 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
10296 (MSG_STAT_ANY): Likewise.
10297 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
10298 (MSG_STAT_ANY): Likewise.
10299 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
10300 (MSG_STAT_ANY): Likewise.
10301 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
10302 (MSG_STAT_ANY): Likewise.
10303 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
10304 (MSG_STAT_ANY): Likewise.
10305 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
10306 (MSG_STAT_ANY): Likewise.
10307
91b2f3e5
JM
10308 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
10309 (MAP_TYPE): Change value to 0x2b.
10310
3fe8fc79
FW
103112018-06-18 Florian Weimer <fweimer@redhat.com>
10312
10313 [BZ #15722]
10314 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
10315 socket with SOCK_CLOEXEC.
10316
809dc95d
JM
103172018-06-18 Joseph Myers <joseph@codesourcery.com>
10318
10319 [BZ #23303]
10320 * sysdeps/powerpc/powerpc64/le/Makefile
10321 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
10322 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
10323 (gnulib-tests): Also add $(f128-loader-link) for
10324 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
10325
298a8b59
ST
103262018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
10327
10328 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
10329 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
10330 of sendfile.
10331 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
10332 (sendfile64): New strong alias.
faf7bbc2
ST
10333 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
10334 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
10335 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
f96a85e0
ST
10336 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
10337 attribute.
10338 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
10339 ___pthread_get_cleanup_stack.
932d05f0 10340 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
c1b7586c
ST
10341 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
10342 * mach/shortcut.awk: Make syscall stubs include
10343 <mach-shortcuts-hidden.h> and add hidden definition.
10344 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
7a646a93
ST
10345 (__mach_msg): Add hidden prototype.
10346 * mach/msg.c: Include <mach.h>.
10347 (__mach_msg): Add hidden definition.
b0344cf5
ST
10348 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
10349 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
10350 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
10351 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
8c9d5342
ST
10352 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
10353 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
4d0ac037
ST
10354 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
10355 prototype and definition.
10356 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
10357 hidden target for _hurd_self_sigstate.
298a8b59 10358
b12c1e79
JM
103592018-06-15 Joseph Myers <joseph@codesourcery.com>
10360
10361 [BZ #23007]
10362 * stdlib/tst-strtod-nan-sign-main.c: New file.
10363 * stdlib/tst-strtod-nan-sign.c: Likewise.
10364 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
10365 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
10366 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
10367 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
10368 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
10369
b0debe14
HB
103702018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
10371
10372 [BZ #23007]
10373 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
10374 appropriate sign.
10375
14beef75
FW
103762018-06-14 Florian Weimer <fweimer@redhat.com>
10377
10378 [BZ #23290]
10379 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
10380 that the result stays within the ISO-8859-1 range.
10381 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
10382 characters are defined in IBM273.
10383
c596630b
ST
103842018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
10385
10386 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
10387 __mach_task_self): Remove attribute_hidden.
10388
35ebb6b0
JM
103892018-06-14 Joseph Myers <joseph@codesourcery.com>
10390
10391 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
10392 ignore -Wrestrict for one test.
10393
3c7b9f1f
SE
103942018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
10395 Szabolcs Nagy <szabolcs.nagy@arm.com>
10396
10397 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
10398
c59ee916
FW
103992018-06-14 Florian Weimer <fweimer@redhat.com>
10400
10401 * scripts/update-abilist.sh: Accept empty list of files to patch.
10402
43b5ff50
ST
104032018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
10404
10405 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
10406 test-xfail-check-abi-libmachuser): Add.
c8c910ed
ST
10407 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
10408 __libc_read and __libc_write to __read and __write.
c8c6e6d6 10409 * sysdeps/hurd/include/hurd/port.h: New file.
126b3ec3
ST
10410 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
10411 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
10412 __thread_switch, __evc_wait): Move declarations to...
10413 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
10414 attribute_hidden.
06d1a826
ST
10415 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
10416 use PLT to call _hurd_self_sigstate.
43b5ff50 10417
fcd6b5ac
JM
104182018-06-13 Joseph Myers <joseph@codesourcery.com>
10419
10420 [BZ #23279]
10421 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
10422 MAX_EXP as overflowing.
10423 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
10424 overflow flag.
10425 (round_str): Output also whether result overflows in each rounding
10426 mode.
10427 * stdlib/tst-strtod-round-data: Add more tests.
10428 * stdlib/tst-strtod-round-data.h: Regenerated.
10429 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
10430 (TEST): Handle extra arguments for overflow flags.
10431 (struct test_overflow): New type.
10432 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
10433 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
10434 (test_in_one_mode): Take argument with overflow information.
10435 (do_test): Update calls to test_in_one_mode.
10436
35df5a77
CD
104372018-06-12 Carlos O'Donell <carlos@redhat.com>
10438
a745c837
CD
10439 * elf/dl-load (_dl_dst_substitute): Correct comment.
10440 (_dl_dst_count): Likewise.
10441
35df5a77
CD
10442 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
10443 lll_futex_timed_wait.
10444
48b12ed5
JM
104452018-06-12 Joseph Myers <joseph@codesourcery.com>
10446
10447 [BZ #23277]
10448 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
10449 attribute.
10450 * math/test-nan-const.c: New file.
10451 * math/Makefile (tests): Add test-nan-const.
10452 (CFLAGS-test-nan-const.c): New variable.
10453
cb8f6aff
L
104542018-06-12 H.J. Lu <hongjiu.lu@intel.com>
10455
10456 * benchtests/scripts/compare_strings.py (process_results): Add
10457 funcs argument. Compare only functions which are selected.
10458 (main): Check if base function is among selected functions.
10459 Pass selected functions to process_results.
10460 (__main__): Add -f/--functions argument.
10461
fc2ba803
HZ
104622018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
10463 Hongbo Zhang <hongbo.zhang@linaro.org>
10464
10465 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
10466 __memcpy_falkor for phecda core.
10467 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
10468 __memmove_falkor for phecda core.
10469 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
10470 __memset_falkor for phecda core.
10471 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
10472 for phecda core.
10473 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
10474 macro to identify phecda core.
10475
5aad5f61
CD
104762018-06-12 Carlos O'Donell <carlos@redhat.com>
10477 Andreas Schwab <schwab@suse.de>
10478 Dmitry V. Levin <ldv@altlinux.org>
10479 Florian Weimer <fweimer@redhat.com>
10480
10481 [BZ #23102]
10482 [BZ #21942]
10483 [BZ #18018]
10484 [BZ #23259]
10485 CVE-2011-0536
10486 * elf/dl-dst.h: Remove DL_DST_COUNT.
10487 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
10488 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
10489 (is_dst): Comment. Support ELF gABI.
10490 (_dl_dst_count): Comment. Simplify and count DSTs.
10491 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
10492 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
10493 locals.
10494
329ea513
ZW
104952018-06-12 Zack Weinberg <zackw@panix.com>
10496
10497 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
10498 * sysdeps/unix/sysv/linux/dl-sysdep.c
10499 Include not-cancel.h. Use __close_nocancel instead of __close,
10500 __open64_nocancel instead of __open, __read_nocancel instead of
10501 __libc_read, and __write_nocancel instead of __libc_write.
10502
10503 * csu/check_fds.c (check_one_fd)
10504 * sysdeps/posix/fdopendir.c (__fdopendir)
10505 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
10506 instead of __fcntl and/or __libc_fcntl.
10507
10508 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
10509 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
10510 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
10511 Use __open64_nocancel instead of __open_nocancel.
10512
10513 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
10514 hidden_proto declarations to the end and issue them if either
10515 IS_IN(libc) or IS_IN(rtld).
10516 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
10517 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
10518 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
10519 read_nocancel, waitpid_nocancel, write_nocancel.
10520
10521 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
10522 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
10523 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
10524
10525 * nptl/pt-fcntl.c: New file.
10526 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
10527 (libpthread-routines): Add pt-fcntl.
10528 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
10529 (__libc_fcntl): Remove attribute_hidden.
10530 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
10531 __fcntl_nocancel_adjusted, not fcntl_common.
10532 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
10533 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
10534 to fcntl_nocancel.c.
10535 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
10536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
10537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10538 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
10539
10540 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
10541 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
10542 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
10543 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
10544 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
10545 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
10546 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
10547 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
10548 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
10549 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
10550 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
10551 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
10552 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
10553 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
10554 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
10555 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
10556 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
10557 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
10558 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
10559 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
10560
10561 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
10562 libpthread-routines.
10563 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
10564 defines nothing.
10565
10566 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
10567 __libc_read, and __write instead of __libc_write. Define
10568 __open64 in addition to __open.
10569
0221ce2a
L
105702018-06-12 H.J. Lu <hongjiu.lu@intel.com>
10571
10572 [BZ #23250]
10573 [BZ #10686]
10574 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
10575 to _private_tm[3] and add __glibc_reserved2.
10576 Add _Static_assert of offset of __private_ss == 0x30.
10577 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
10578 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
10579
e826574c
FW
105802018-06-12 Florian Weimer <fweimer@redhat.com>
10581
10582 x86: Make strncmp usable from rtld.
10583 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
10584 __strncmp_ia32 if in libc (and not in rtld).
10585 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
10586 strncmp if not in libc (and not to __strncmp_sse2).
10587
c4ad5782
RL
105882018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
10589
10590 [BZ #23140]
10591 * localedata/locales/gd_GB (mon): Rename to...
10592 (alt_mon): This.
10593 (mon): Import from CLDR (genitive case).
10594 * localedata/locales/hsb_DE (mon): Rename to...
10595 (alt_mon): This.
10596 (mon): Import from CLDR (genitive case).
10597 * localedata/locales/wa_BE (mon): Rename to...
10598 (alt_mon): This.
10599 (mon): Add, fill with the proper genitive forms, but CLDR data
10600 is incomplete; completed according to the comments in this file.
10601 (d_t_fmt): Do not use "di" before the month name, no longer needed.
10602
10603 * localedata/locales/wa_BE (country_name): Reword
10604 "Beljike" -> "Beldjike".
10605
ca121b11
JM
106062018-06-11 Joseph Myers <joseph@codesourcery.com>
10607
10608 [BZ #23272]
10609 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
10610 cases of non-finite arguments.
10611 * math/libm-test-fma.inc (fma_test_data): Add more tests.
10612
2b69fecb
JDA
106132018-06-10 John David Anglin <danglin@gcc.gnu.org>
10614
10615 [BZ #23174]
10616 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
10617
283d9851
AZ
106182018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10619
10620 [BZ #23264]
10621 * include/unistd.h (__execvpex): New prototype.
10622 * posix/Makefile (tests): Add tst-spawn4.
10623 (tests-internal): Add tst-spawn4-compat.
10624 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
10625 * posix/tst-spawn4-compat.c: New file.
10626 * posix/tst-spawn4.c: Likewise.
10627 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
10628 binaries as shell scripts.
10629 * sysdeps/posix/spawni.c (__spawni): Likewise.
10630
67c05796
L
106312018-06-08 H.J. Lu <hongjiu.lu@intel.com>
10632
10633 [BZ #23145]
10634 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
10635 ($(all-built-dso:=.dynsym): New target.
10636 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
10637 ($(objpfx)check-initfini.out): New target.
10638 (generated): Add check-initfini.out.
10639 * scripts/check-initfini.awk: New file.
10640 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
10641 (_fini): Likewise.
10642 * sysdeps/alpha/crti.S (_init): Mark as hidden.
10643 (_fini): Likewise.
10644 * sysdeps/arm/crti.S (_init): Mark as hidden.
10645 (_fini): Likewise.
10646 * sysdeps/hppa/crti.S (_init): Mark as hidden.
10647 (_fini): Likewise.
10648 * sysdeps/i386/crti.S (_init): Mark as hidden.
10649 (_fini): Likewise.
10650 * sysdeps/ia64/crti.S (_init): Mark as hidden.
10651 (_fini): Likewise.
10652 * sysdeps/m68k/crti.S (_init): Mark as hidden.
10653 (_fini): Likewise.
10654 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
10655 (_fini): Likewise.
10656 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
10657 (_fini): Likewise.
10658 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
10659 (_fini): Likewise.
10660 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
10661 (_fini): Likewise.
10662 * sysdeps/nios2/crti.S (_init): Mark as hidden.
10663 (_fini): Likewise.
10664 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
10665 (_fini): Likewise.
10666 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
10667 (_fini): Likewise.
10668 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
10669 (_fini): Likewise.
10670 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
10671 (_fini): Likewise.
10672 * sysdeps/sh/crti.S (_init): Mark as hidden.
10673 (_fini): Likewise.
10674 * sysdeps/sparc/crti.S (_init): Mark as hidden.
10675 (_fini): Likewise.
10676 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
10677 (_fini): Likewise.
10678
1c09524e
TMQMF
106792018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10680
10681 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
10682 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
10683 and TF redirection to KFtype and KF only when the default
10684 long double type is not the IEEE 128-bit floating point type.
10685
0e0577c9
JM
106862018-06-05 Joseph Myers <joseph@codesourcery.com>
10687
0c1c33b2
JM
10688 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
10689 macro.
10690 (HWCAP_USCAT): Likewise.
10691 (HWCAP_ILRCPC): Likewise.
10692 (HWCAP_FLAGM): Likewise.
10693 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
10694 Increase to 28.
10695 (_dl_aarch64_cap_flags): Add new flag names.
10696
bef1cbf4
JM
10697 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
10698 (MAP_FIXED_NOREPLACE): New macro.
10699 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
10700 (MAP_FIXED_NOREPLACE): Likewise.
10701 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
10702 (MAP_FIXED_NOREPLACE): Likewise.
10703 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
10704 (MAP_FIXED_NOREPLACE): Likewise.
10705 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
10706 (MAP_FIXED_NOREPLACE): Likewise.
10707 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
10708 (MAP_FIXED_NOREPLACE): Likewise.
10709 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
10710 (MAP_FIXED_NOREPLACE): Likewise.
10711 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
10712 (MAP_FIXED_NOREPLACE): Likewise.
10713 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
10714 (MAP_FIXED_NOREPLACE): Likewise.
10715 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
10716 (MAP_FIXED_NOREPLACE): Likewise.
10717 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
10718 (MAP_FIXED_NOREPLACE): Likewise.
10719 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
10720 (MAP_FIXED_NOREPLACE): Likewise.
10721 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
10722 (MAP_FIXED_NOREPLACE): Likewise.
10723 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
10724 (MAP_FIXED_NOREPLACE): Likewise.
10725 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
10726 (MAP_FIXED_NOREPLACE): Likewise.
10727
0e0577c9
JM
10728 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10729 version to 4.17.
10730
ab3a0da0
JM
107312018-06-04 Joseph Myers <joseph@codesourcery.com>
10732
10733 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10734 version to 4.17
10735
d2d9dfb6
ST
107362018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10737
10738 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
10739 int.
10740 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
10741
a650b05e
LS
107422018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10743
10744 * benchtests/scripts/compare_string.py: (process_results) Catch
10745 exception in non-existent base_func and catch exception in
10746 non-existent attribute.
10747 (parse_file) Catch exception if input file does not exist.
10748
195abbf4
LS
107492018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10750
10751 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
10752 options to avoid diff calculation and omit header, respectively.
10753 (main): process --no-diff and --no-header
10754
14570163
LS
107552018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10756 H.J. Lu <hongjiu.lu@intel.com>
10757
10758 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10759 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
10760 wcsncmp-sse2.
10761 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10762 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
10763 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
10764 and __wcsncmp_sse2.
10765 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
10766 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
10767 AVX unaligned load is fast and vzeroupper is preferred.
10768 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
10769 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
10770 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
10771 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
10772 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
10773 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
10774 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
10775 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
10776 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
10777 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
10778 is undefined.
10779
e02c026f
FW
107802018-06-01 Florian Weimer <fweimer@redhat.com>
10781
10782 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
10783 configuring with --disable-multi-arch, building with
10784 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
10785 Haswell-era CPU.
10786
d8c19275
FW
107872018-06-01 Florian Weimer <fweimer@redhat.com>
10788
10789 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
10790 results from building with “-march=x86-64 -mtune=generic
10791 -mfpmath=sse” and running on a Haswell-era CPU.
10792
0d2163eb
JM
107932018-06-01 Joseph Myers <joseph@codesourcery.com>
10794
10795 [BZ #18473]
10796 * soft-fp/sqrttf2.c: Remove file.
10797 * soft-fp/sqrtdf2.c: Move to ....
10798 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
10799 <shlib-compat.h>.
10800 (__sqrtdf2): Make conditional on
10801 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
10802 symbol.
10803 * soft-fp/sqrtsf2.c: Move to ....
10804 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
10805 <shlib-compat.h>.
10806 (__sqrtsf2): Make conditional on
10807 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
10808 symbol.
10809 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
10810 (gcc-double-routines): Remove sqrtdf2.
10811 (gcc-quad-routines): Remove sqrttf2.
10812 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
10813 Do not filter out sqrtsf2 and sqrtdf2.
10814 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
10815 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
10816
10450210
FW
108172018-06-01 Florian Weimer <fweimer@redhat.com>
10818
10819 * sysdeps/generic/libcidn.abilist: Remove file.
10820
4e8a6346
FW
108212018-06-01 Florian Weimer <fweimer@redhat.com>
10822
10823 [BZ #23236]
10824 * libio/strfile.h (struct _IO_str_fields): Rename members to
10825 discourage their use and add comment.
10826 (_IO_STR_DYNAMIC): Remove unused macro.
10827 * libio/strops.c (_IO_str_init_static_internal): Do not use
10828 callback pointers. Call malloc and free.
10829 (_IO_str_overflow): Do not use callback pointers. Call malloc
10830 and free.
10831 (enlarge_userbuf): Likewise.
10832 (_IO_str_finish): Call free.
10833 * libio/wstrops.c (_IO_wstr_init_static): Initialize
10834 _allocate_buffer_unused.
10835 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
10836 and free.
10837 (enlarge_userbuf): Likewise.
10838 (_IO_wstr_finish): Call free.
10839 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
10840 _allocate_buffer_unused, _free_buffer_unused.
10841 * libio/memstream.c (__open_memstream): Likewise.
10842 * libio/vasprintf.c (_IO_vasprintf): Likewise.
10843 * libio/wmemstream.c (open_wmemstream): Likewise.
10844
50d004c9
PP
108452018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
10846
10847 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
10848 AMD Ryzen 7 1800X.
10849
2c93fce7
RS
108502018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10851
10852 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
10853 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
10854 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
10855 New file.
10856 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
10857 Likewise.
10858 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
10859
0ce2fa69
FW
108602018-05-29 Florian Weimer <fweimer@redhat.com>
10861
10862 * support/Makefile (libsupport-routines): Add
10863 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
10864 xpthread_barrierattr_setpshared.
10865 * support/xpthread_barrierattr_destroy.c: New file.
10866 * support/xpthread_barrierattr_init.c: Likewise.
10867 * support/xpthread_barrierattr_setpshared.c: Likewise.
10868
7f7b5d8d
L
108692018-05-29 H.J. Lu <hongjiu.lu@intel.com>
10870
10871 [BZ #23206]
10872 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
10873 _r_debug and update DT_DEBUG for debugger.
10874
e4890300
FW
108752018-05-29 Florian Weimer <fweimer@redhat.com>
10876
10877 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
10878 (tst-strtod5i.out): Likewise.
10879
2c753f3e
JM
108802018-05-25 Joseph Myers <joseph@codesourcery.com>
10881
b5453d9f
JM
10882 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
10883 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
10884 (sparc64-quad-routines): New variable. Moved from ....
10885 [$(subdir) = soft-fp] (sysdep_routines): Add
10886 $(sparc64-quad-routines). Moved from ....
10887 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
10888 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
10889 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
10890 moved from ....
10891 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
10892 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
10893 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
10894 * sysdeps/sparc/sparc64/qp_add.c: ... here.
10895 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
10896 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
10897 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
10898 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
10899 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
10900 * sysdeps/sparc/sparc64/qp_div.c: ... here.
10901 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
10902 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
10903 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
10904 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
10905 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
10906 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
10907 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
10908 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
10909 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
10910 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
10911 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
10912 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
10913 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
10914 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
10915 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
10916 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
10917 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
10918 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
10919 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
10920 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
10921 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
10922 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
10923 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
10924 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
10925 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
10926 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
10927 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
10928 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
10929 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
10930 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
10931 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
10932 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
10933 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
10934 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
10935 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
10936 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
10937 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
10938 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
10939 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
10940 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
10941 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
10942 * sysdeps/sparc/sparc64/qp_util.c: ... here.
10943 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
10944 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
10945 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
10946 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
10947 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
10948 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
10949
2c753f3e
JM
10950 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
10951 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
10952 (sparc32-quad-routines): New variable. Moved from ....
10953 [$(subdir) = soft-fp] (sysdep_routines): Add
10954 $(sparc32-quad-routines). Moved from ....
10955 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
10956 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
10957 moved from ....
10958 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
10959 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
10960 * sysdeps/sparc/sparc32/q_add.c: ... here.
10961 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
10962 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
10963 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
10964 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
10965 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
10966 * sysdeps/sparc/sparc32/q_div.c: ... here.
10967 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
10968 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
10969 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
10970 * sysdeps/sparc/sparc32/q_feq.c: ... here.
10971 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
10972 * sysdeps/sparc/sparc32/q_fge.c: ... here.
10973 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
10974 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
10975 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
10976 * sysdeps/sparc/sparc32/q_fle.c: ... here.
10977 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
10978 * sysdeps/sparc/sparc32/q_flt.c: ... here.
10979 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
10980 * sysdeps/sparc/sparc32/q_fne.c: ... here.
10981 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
10982 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
10983 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
10984 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
10985 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
10986 * sysdeps/sparc/sparc32/q_mul.c: ... here.
10987 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
10988 * sysdeps/sparc/sparc32/q_neg.c: ... here.
10989 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
10990 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
10991 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
10992 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
10993 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
10994 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
10995 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
10996 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
10997 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
10998 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
10999 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
11000 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
11001 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
11002 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
11003 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
11004 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
11005 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
11006 * sysdeps/sparc/sparc32/q_sub.c: ... here.
11007 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
11008 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
11009 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
11010 * sysdeps/sparc/sparc32/q_util.c: ... here.
11011 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
11012 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
11013 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
11014 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
11015
c1dc1e1b
TMQMF
110162018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11017 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11018
11019 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
11020 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
11021 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
11022 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
11023
14186e8d
JM
110242018-05-24 Joseph Myers <joseph@codesourcery.com>
11025
11026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
11027 powerpc/soft-fp.
11028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
11029 Likewise.
11030 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
11031 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
11032
fb0e10b8
GG
110332018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11034
11035 [BZ #23171]
11036 * math/math.h [C++] (iseqsig): Fix parameter type for the long
11037 double version.
11038
1dfeb17e
JM
110392018-05-23 Joseph Myers <joseph@codesourcery.com>
11040
11041 * sysdeps/sh/Implies: Remove sh/soft-fp.
11042 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
11043 * sysdeps/sh/sfp-machine.h: ... here.
11044
727b38df
L
110452018-05-23 H.J. Lu <hongjiu.lu@intel.com>
11046
11047 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11048 (__mempcpy_erms): Skip zero length.
11049 (__memmove_erms): Likewise.
11050 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11051 (__memset_erms): Likewise.
11052
2834fb46
JM
110532018-05-23 Joseph Myers <joseph@codesourcery.com>
11054
11055 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
11056 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
11057 Add functions moved from ....
11058 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
11059 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
11060 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
11061 from ....
11062 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
11063 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
11064 * sysdeps/alpha/e_sqrtl.c: ... here.
11065 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
11066 * sysdeps/alpha/local-soft-fp.h: ... here.
11067 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
11068 * sysdeps/alpha/ots_add.c: ... here.
11069 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
11070 * sysdeps/alpha/ots_cmp.c: ... here.
11071 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
11072 * sysdeps/alpha/ots_cmpe.c: ... here.
11073 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
11074 * sysdeps/alpha/ots_cvtqux.c: ... here.
11075 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
11076 * sysdeps/alpha/ots_cvtqx.c: ... here.
11077 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
11078 * sysdeps/alpha/ots_cvttx.c: ... here.
11079 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
11080 * sysdeps/alpha/ots_cvtxq.c: ... here.
11081 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
11082 * sysdeps/alpha/ots_cvtxt.c: ... here.
11083 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
11084 * sysdeps/alpha/ots_div.c: ... here.
11085 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
11086 * sysdeps/alpha/ots_mul.c: ... here.
11087 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
11088 * sysdeps/alpha/ots_nintxq.c: ... here.
11089 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
11090 * sysdeps/alpha/ots_sub.c: ... here.
11091 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
11092 * sysdeps/alpha/sfp-machine.h: ... here.
11093
7f9f1ecb
FW
110942018-05-23 Florian Weimer <fweimer@redhat.com>
11095
11096 [BZ #19728]
11097 [BZ #19729]
11098 [BZ #22247]
11099 CVE-2016-6261
11100 CVE-2016-6263
11101 CVE-2017-14062
11102 Switch to extern IDNA implementation (libidn2).
11103 * libidn: Remove subdirectory.
11104 * LICENSES: Do not mention licensing conditions for the removed
11105 libidn code.
11106 * config.h.in (HAVE_LIBIDN): Remove.
11107 * include/dlfcn.h (__libc_dlopen): Update comment.
11108 * include/idna.h: Remove file.
11109 * inet/Makefile (routines): Add idna.
11110 (tests-static, tests-internal): Add tst-idna_name_classify.
11111 (LOCALES): Generate locales for tests.
11112 (tst-idna_name_classify.out): Depend on generated locales.
11113 * inet/idna_name_classify.c: New file.
11114 * inet/tst-idna_name_classify.c: Likewise.
11115 * inet/net-internal.h (__idna_to_dns_encoding)
11116 (__idna_from_dns_encoding): Declare.
11117 * inet/net-internal.h (enum idna_name_classification): Define.
11118 (__idna_name_classify): Declare.
11119 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
11120 __idna_from_dns_encoding.
11121 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
11122 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
11123 name as a fallback in case of encoding errors.
11124 (getnameinfo): Use DEPRECATED_NI_IDN.
11125 * inet/idna.c: New file.
11126 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
11127 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
11128 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
11129 (modules-names): Add tst-no-libidn2.
11130 (extra-test-objs): Add tst-no-libidn2.os.
11131 (LDFLAGS-tst-no-libidn2.so): Set soname.
11132 (LOCALES): Set, and generate locales.
11133 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
11134 (tst-resolv-ai_idn-latin1): Likewise.
11135 (tst-resolv-ai_idn-nolibidn2): Likewise.
11136 (tst-resolv-ai_idn.out): Depend on locales.
11137 (tst-resolv-ai_idn-latin1.out): Depend on locales.
11138 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
11139 tst-no-libidn2.so.
11140 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
11141 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
11142 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
11143 * resolv/tst-resolv-ai_idn.c: New file.
11144 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
11145 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
11146 * resolv/tst-no-libidn2.c: Likewise.
11147 * support/support_format_addrinfo.c (format_ai_flags): Do not
11148 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
11149 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
11150 (gaih_inet): Call __idna_to_dns_encoding and
11151 __idna_from_dns_encoding, and use the original (punycode) name if
11152 __idna_from_dns_encoding fails due to an encoding error.
11153 (getaddrinfo): Use DEPRECATED_AI_IDN.
11154 * sysdeps/unix/inet/Subdirs (libidn): Remove.
11155 * sysdeps/unix/inet/configure: Remove file.
11156 * sysdeps/unix/inet/configure.ac: Likewise.
11157
5f7b841d
FW
111582018-05-23 Florian Weimer <fweimer@redhat.com>
11159
11160 Implement allocate_once.
11161 * include/allocate_once.h: New file.
11162 * misc/allocate_once.c: Likewise.
11163 * misc/tst-allocate_once.c: Likewise.
11164 * misc/Makefile (routines): Add allocate_once.
11165 (tests-internal): Add tst-allocate_once.
11166 (generated): Add tst-allocate_once.mtrace,
11167 tst-allocate_once-mem.out.
11168 (tests-special): Add tst-allocate_once-mem.out.
11169 (tst-allocate_once-ENV): Set MALLOC_TRACE.
11170 (tst-allocate_once-mem.out): Call mtrace.
11171 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
11172
ed983107
L
111732018-05-23 H.J. Lu <hongjiu.lu@intel.com>
11174
11175 [BZ #23196]
11176 * string/test-memcpy.c (do_test1): New function.
11177 (test_main): Call it.
11178
9aaaab7c
AS
111792018-05-23 Andreas Schwab <schwab@suse.de>
11180
11181 [BZ #23196]
11182 CVE-2018-11237
11183 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
11184 (L(preloop_large)): Save initial destination pointer in %r11 and
11185 use it instead of %rax after the loop.
11186 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
11187
5c5c0dd7
JM
111882018-05-22 Joseph Myers <joseph@codesourcery.com>
11189
8f145c77
JM
11190 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
11191 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
11192 -I../soft-fp. Moved from ....
11193 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
11194 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
11195 * sysdeps/aarch64/e_sqrtl.c: ... here.
11196 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
11197 * sysdeps/aarch64/sfp-machine.h: ... here.
11198
3d6302a5
JM
11199 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
11200 -Wmaybe-uninitialized around access to fq[0].
11201 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
11202 Likewise.
11203
5c5c0dd7
JM
11204 [BZ #18471]
11205 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
11206 aliases for non-libc case of versioned symbols.
11207 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
11208 (llseek): Define as compat symbol if
11209 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
11210 with link warning.
11211 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
11212 Make into a compat symbol, disabled for minimum symbol version
11213 GLIBC_2.28 and later.
11214 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
11215
ed0d6988
FW
112162018-05-22 Florian Weimer <fweimer@redhat.com>
11217
11218 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
11219 not add -mpreferred-stack-boundary=4.
11220 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
11221 (stack-align-test-flags): Likewise.
11222 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
11223 Likewise.
11224 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
11225 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
11226 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
11227 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
11228 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
11229 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
11230 (CFLAGS-tst-align2.c): Likewise.
11231
e28e9b1e
L
112322018-05-21 H.J. Lu <hongjiu.lu@intel.com>
11233
11234 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
11235 (index_arch_Prefer_FSRM): Likewise.
11236 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
11237 Also check Prefer_FSRM.
11238 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
11239 Also return OPTIMIZE (erms) for Prefer_FSRM.
11240
1af30adc
L
112412018-05-21 H.J. Lu <hongjiu.lu@intel.com>
11242
11243 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
11244 (index_cpu_FSRM): Likewise.
11245 (reg_FSRM): Likewise.
11246
78274dc8
JM
112472018-05-18 Joseph Myers <joseph@codesourcery.com>
11248
7c67e6e8
JM
11249 * math/gen-tgmath-tests.py: Import sys.
11250 (Tests.__init__): Initialize macros_seen.
11251 (Tests.add_tests): Add macro to macros_seen. Only generate tests
11252 if requested to do so for this macro.
11253 (Tests.add_all_tests): Take argument for macro for which to
11254 generate tests.
11255 (Tests.check_macro_list): New function.
11256 (main): Handle check-list argument and argument specifying macro
11257 for which to generate tests.
11258 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
11259 [PYTHON] (tgmath3-macro-tests): Likewise.
11260 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
11261 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
11262 not test-tgmath3.c.
11263 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
11264 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
11265 to CFLAGS.
11266 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
11267 [PYTHON] ($(foreach
11268 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
11269 rule.
11270 [PYTHON] (tests-special): Add
11271 $(objpfx)test-tgmath3-macro-list.out.
11272 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
11273
ebc129fd
JM
11274 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
11275 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
11276 later.
11277
78274dc8
JM
11278 [BZ #22639]
11279 * time/tzset.c (SECSPERDAY): Cast to time_t.
11280 * time/tst-y2039.c: New file.
11281 * time/Makefile (tests): Add tst-y2039.
11282
6f7fdeeb
LS
112832018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11284
11285 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11286 (PREFETCH_ONE_SET): Remove duplicate line.
11287
e363a91c
FW
112882018-05-17 Florian Weimer <fweimer@redhat.com>
11289
11290 * sysdeps/generic/math-type-macros-double.h: Include
11291 <math-nan-payload-double.h> after <libm-alias-double.h>.
11292 * sysdeps/generic/math-type-macros-float.h: Include
11293 <math-nan-payload-float.h> after <libm-alias-float.h>.
11294 * sysdeps/generic/math-type-macros-float128.h: Include
11295 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
11296 * sysdeps/generic/math-type-macros-ldouble.h: Include
11297 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
11298
dae6c43c
AS
112992018-05-17 Andreas Schwab <schwab@suse.de>
11300
11301 * resolv/res_send.c (__res_context_send): Don't set errno when
11302 returing error after malloc failure.
11303
0068c085
L
113042018-05-17 H.J. Lu <hongjiu.lu@intel.com>
11305
11306 * nptl/allocatestack.c (allocate_stack): Remove the
11307 !__ASSUME_PRIVATE_FUTEX paths.
11308 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
11309 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11310 Likewise.
11311 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
11312 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11313 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11314 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
11315 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
11316 !__ASSUME_PRIVATE_FUTEX path.
11317 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
11318 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
11319 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
11320 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
11321 !__ASSUME_PRIVATE_FUTEX macros.
11322 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11323 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
11324 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
11325 * sysdeps/unix/sysv/linux/kernel-features.h
11326 (__ASSUME_PRIVATE_FUTEX): Removed.
11327
632a6cbe
JM
113282018-05-17 Joseph Myers <joseph@codesourcery.com>
11329
11330 * math/Makefile (libm-narrow-fns): Add div.
11331 (libm-test-funcs-narrow): Likewise.
11332 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
11333 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
11334 * math/gen-auto-libm-tests.c (test_functions): Add div.
11335 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
11336 (NARROW_DIV_ROUND_TO_ODD): Likewise.
11337 (NARROW_DIV_TRIVIAL): Likewise.
11338 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
11339 macro.
11340 (__ddivl): Likewise.
11341 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
11342 ddiv.
11343 (CFLAGS-nldbl-ddiv.c): New variable.
11344 (CFLAGS-nldbl-fdiv.c): Likewise.
11345 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
11346 __nldbl_ddivl.
11347 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
11348 prototype.
11349 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
11350 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
11351 * math/auto-libm-test-in: Add tests of div.
11352 * math/auto-libm-test-out-narrow-div: New generated file.
11353 * math/libm-test-narrow-div.inc: New file.
11354 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
11355 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
11356 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
11357 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
11358 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
11359 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
11360 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
11361 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
11362 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
11363 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
11364 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
11365 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
11366 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
11367 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
11368 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
11369 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
11370 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
11371 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
11372 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11373 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11374 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11375 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11376 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11377 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11378 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11379 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11380 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11381 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11382 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11383 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11384 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11385 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
11388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11390 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
11391 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11392 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11393 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11394 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11395 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11396 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11397 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11398
8c78faa9
AZ
113992018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11400
11401 [BZ #23178]
11402 * nscd/nscd-client.h (sendfileall): Remove prototype.
11403 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
11404 (handle_request): Use writeall instead of sendfileall.
11405 * nscd/aicache.c (addhstaiX): Likewise.
11406 * nscd/grpcache.c (cache_addgr): Likewise.
11407 * nscd/hstcache.c (cache_addhst): Likewise.
11408 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11409 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
11410 * nscd/pwdcache.c (cache_addpw): Likewise.
11411 * nscd/servicescache.c (cache_addserv): Likewise.
11412 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
11413 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
11414 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
11415 Remove define.
11416
04958880
L
114172018-05-16 H.J. Lu <hongjiu.lu@intel.com>
11418
11419 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
11420 Include <string/strncat.c>.
11421 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
11422 alias.
11423 (__GI___strncat): New hidden alias.
11424
c9992d13
JM
114252018-05-16 Joseph Myers <joseph@codesourcery.com>
11426
11427 * sysdeps/mips/mips32/libm-test-ulps: Update.
11428 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11429
2afece36
FW
114302018-05-16 Florian Weimer <fweimer@redhat.com>
11431
11432 * support/Makefile (libsupport-routines): Add support_quote_blob,
11433 support_test_compare_blob.
11434 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
11435 * support/check.h (TEST_COMPARE_BLOB): Define.
11436 (support_test_compare_blob): Declare.
11437 * support/support.h (support_quote_blob): Declare.
11438 * support/support_quote_blob.c: New file.
11439 * support/support_test_compare_blob.c: Likewise.
11440 * support/tst-support_quote_blob.c: Likewise.
11441 * support/tst-test_compare_blob.c: Likewise.
11442
9761bf4d
FW
114432018-05-16 Florian Weimer <fweimer@redhat.com>
11444
11445 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
11446 of <strtod_nan_double.h>.
11447 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
11448 instead of SET_MANTISSA.
11449 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
11450 of include <strtod_nan_float.h>.
11451 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
11452 instead of <strtod_nan_ldouble.h>.
11453 * stdlib/strtod_nan_double.h: Move to ...
11454 * sysdeps/generic/math-nan-payload-double.h: ... here.
11455 (FLOAT): Remove definition.
11456 (SET_MANTISSA): Rename to ...
11457 (SET_NAN_PAYLOAD): ... this.
11458 * stdlib/strtod_nan_float.h: Move to ...
11459 * sysdeps/generic/math-nan-payload-float.h: ... here.
11460 (FLOAT): Remove definition.
11461 (SET_MANTISSA): Rename to ...
11462 (SET_NAN_PAYLOAD): ... this.
11463 * sysdeps/generic/math-type-macros-double.h: Include
11464 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
11465 instead of <math-svid-compat.h>.
11466 * sysdeps/generic/math-type-macros-float.h: Include
11467 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
11468 instead of <math-svid-compat.h>.
11469 * sysdeps/generic/math-type-macros-float128.h: Include
11470 <math-nan-payload-float128.h>.
11471 * sysdeps/generic/math-type-macros-ldouble.h: Include
11472 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
11473 instead of <math-svid-compat.h>.
11474 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
11475 check for definition.
11476 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
11477 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
11478 Include <ieee754_float128.h>.
11479 (FLOAT): Remove definition.
11480 (SET_MANTISSA): Rename to ...
11481 (SET_NAN_PAYLOAD): ... this.
11482 * sysdeps/ieee754/float128/strtof128_nan.c: Include
11483 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
11484 Do not include <float128_private.h>.
11485 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
11486 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
11487 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
11488 (FLOAT): Remove definition.
11489 (SET_MANTISSA): Rename to ...
11490 (SET_NAN_PAYLOAD): ... this.
11491 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
11492 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
11493 (FLOAT): Remove definition.
11494 (SET_MANTISSA): Rename to ...
11495 (SET_NAN_PAYLOAD): ... this.
11496 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
11497 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
11498 (FLOAT): Remove definition.
11499 (SET_MANTISSA): Rename to ...
11500 (SET_NAN_PAYLOAD): ... this.
11501 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
11502 of "../stdlib/strtod_nan_double.h".
11503 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
11504 of "../stdlib/strtod_nan_float.h".
11505 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
11506 instead of "../stdlib/strtod_nan_ldouble.h".
11507 * manual/arith.texi (Parsing of Floats): Adjust comment.
11508
69a01461
JM
115092018-05-16 Joseph Myers <joseph@codesourcery.com>
11510
11511 * math/Makefile (libm-narrow-fns): Add mul.
11512 (libm-test-funcs-narrow): Likewise.
11513 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
11514 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
11515 * math/gen-auto-libm-tests.c (test_functions): Add mul.
11516 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
11517 (NARROW_MUL_ROUND_TO_ODD): Likewise.
11518 (NARROW_MUL_TRIVIAL): Likewise.
11519 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
11520 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
11521 macro.
11522 (__dmull): Likewise.
11523 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
11524 dmul.
11525 (CFLAGS-nldbl-dmul.c): New variable.
11526 (CFLAGS-nldbl-fmul.c): Likewise.
11527 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
11528 __nldbl_dmull.
11529 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
11530 prototype.
11531 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
11532 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
11533 * math/auto-libm-test-in: Add tests of mul.
11534 * math/auto-libm-test-out-narrow-mul: New generated file.
11535 * math/libm-test-narrow-mul.inc: New file.
11536 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
11537 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
11538 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
11539 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
11540 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
11541 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
11542 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
11543 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
11544 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
11545 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
11546 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
11547 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
11548 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
11549 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
11550 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
11551 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
11552 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
11553 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
11554 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11555 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11556 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11557 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11558 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11559 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11560 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11561 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11562 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11563 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11564 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11565 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11566 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11567 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
11570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11572 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
11573 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11574 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11575 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11576 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11577 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11578 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11579 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11580
a15529fd
L
115812018-05-14 H.J. Lu <hongjiu.lu@intel.com>
11582
11583 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
11584 with *%eax in call.
11585
98ee36c7
L
115862018-05-14 H.J. Lu <hongjiu.lu@intel.com>
11587
11588 * sysdeps/i386/ldsodefs.h: Removed.
11589 * sysdeps/x86_64/ldsodefs.h: Moved to ...
11590 * sysdeps/x86/ldsodefs.h: This.
11591 (La_i86_regs): New.
11592 (La_i86_retval): Likewise.
11593 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
11594 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
11595
e322ec32
L
115962018-05-14 H.J. Lu <hongjiu.lu@intel.com>
11597
11598 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
11599 unnecessary testl.
11600
0937e209
AM
116012018-05-13 Alan Modra <amodra@gmail.com>
11602
11603 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
11604 R_PARISC_TLS_DTPOFF32 reloc addend.
11605
5db7d705
TMQMF
116062018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11607
11608 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
11609 * math/math.h: Restrict the prototype definition for the functions
11610 issignaling(_Float128) and iszero(_Float128); and template
11611 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
11612 __HAVE_FLOAT128_UNLIKE_LDBL.
11613 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
11614 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
11615 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
11616 __f128() constants; define the type _Float128 as long double;
11617 and reuse long double in __CFLOAT128.
11618
b4d5b8b0
JM
116192018-05-11 Joseph Myers <joseph@codesourcery.com>
11620
11621 * sysdeps/generic/math_private.h: Do not include
11622 <math-barriers.h>.
11623 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
11624 <math_private.h>.
11625 * math/fromfp.h: Include <math-barriers.h>.
11626 * math/math-narrow.h: Likewise.
11627 * math/s_nextafter.c: Likewise.
11628 * math/s_nexttowardf.c: Likewise.
11629 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
11630 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
11631 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
11632 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
11633 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11634 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11635 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11636 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11637 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11638 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11639 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11640 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11641 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11642 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11643 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
11644 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11645 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11646 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11647 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11648 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11649 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11650 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11651 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11652 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11653 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11654 * sysdeps/ieee754/k_standardl.c: Likewise.
11655 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11656 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11657 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11658 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11659 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11660 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11661 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11662 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11663 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11664 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11665 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11666 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11667 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11668 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11669 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11670 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11671 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
11672 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
11673 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11674 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11675 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
11676 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
11677
fc79706a
FW
116782018-05-11 Florian Weimer <fweimer@redhat.com>
11679
11680 Use 64-bit epoch values in the time zone file parser.
11681 * include/time.h (internal_time_t): Define.
11682 (__tzfile_compute): Use it.
11683 * time/tzfile.c (struct leap): Use internal_time_t for epoch
11684 member.
11685 (transitions): Switch to internal_time_t.
11686 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
11687 types.
11688 (__tzfile_compute): Use internal_time_t for timer argument. Check
11689 for truncation before calling __offtime.
11690
89aacb51
FW
116912018-05-11 Florian Weimer <fweimer@redhat.com>
11692
11693 [BZ #23166]
11694 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
11695 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
11696 Likewise.
11697 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
11698 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
11699 export without --enable-obsolete-rpc.
11700 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
11701 symbol. This should not have been exported, ever.
11702
bb066cb8
RL
117032018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
11704
11705 [BZ #23152]
11706 * localedata/locales/gd_GB (abmon): Fix typo in May:
11707 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
11708
70c97f84
SP
117092018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
11710
db725a45
SP
11711 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
11712 Use multiple registers to copy data in loop tail.
11713
70c97f84
SP
11714 * sysdeps/aarch64/multiarch/memmove_falkor.S
11715 (__memmove_falkor): Use multiple registers to move data in
11716 loop tail.
11717
8f5b00d3
JM
117182018-05-10 Joseph Myers <joseph@codesourcery.com>
11719
11720 * math/math-underflow.h: New file.
11721 * sysdeps/generic/math_private.h: Do not include <float.h>.
11722 (fabs_tg): Remove macro. Moved to math-underflow.h.
11723 (min_of_type_f): Likewise.
11724 (min_of_type_): Likewise.
11725 (min_of_type_l): Likewise.
11726 (min_of_type_f128): Likewise.
11727 (min_of_type): Likewise.
11728 (math_check_force_underflow): Likewise.
11729 (math_check_force_underflow_nonneg): Likewise.
11730 (math_check_force_underflow_complex): Likewise.
11731 * math/e_exp2_template.c: Include <math-underflow.h>.
11732 * math/k_casinh_template.c: Likewise.
11733 * math/s_catan_template.c: Likewise.
11734 * math/s_catanh_template.c: Likewise.
11735 * math/s_ccosh_template.c: Likewise.
11736 * math/s_cexp_template.c: Likewise.
11737 * math/s_clog10_template.c: Likewise.
11738 * math/s_clog_template.c: Likewise.
11739 * math/s_csin_template.c: Likewise.
11740 * math/s_csinh_template.c: Likewise.
11741 * math/s_csqrt_template.c: Likewise.
11742 * math/s_ctan_template.c: Likewise.
11743 * math/s_ctanh_template.c: Likewise.
11744 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11745 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11746 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11747 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11748 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11749 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11750 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11751 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11752 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11753 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11754 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11755 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11756 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11757 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11758 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11759 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11760 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11761 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11762 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11763 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11764 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11765 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11766 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11767 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11768 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11769 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11770 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11771 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11772 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11773 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11774 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11775 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11776 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11777 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11778 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11779 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11780 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11781 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11782 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11783 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11784 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11785 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11786 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11787 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11788 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11789 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11790 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11791 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11792 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11793 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11794 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11795 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11796 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11797 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
11798 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11799 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11800 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11801 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11802 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11803 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11804 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11805 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
11806 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11807 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11808 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11809 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11810 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11811 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11812 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11813 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11814 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11815 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11816 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
11817 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
11818 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11819 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11820 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11821 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11822 * sysdeps/x86/fpu/powl_helper.c: Likewise.
11823 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
11824 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
11825 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
11826 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
11827 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
11828
9ed2e15f
JM
118292018-05-09 Joseph Myers <joseph@codesourcery.com>
11830
11831 * sysdeps/generic/math-barriers.h: New file.
11832 * sysdeps/generic/math_private.h [!math_opt_barrier]
11833 (math_opt_barrier): Move to math-barriers.h.
11834 [!math_opt_barrier] (math_force_eval): Likewise.
11835 * sysdeps/aarch64/fpu/math-barriers.h: New file.
11836 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
11837 math-barriers.h.
11838 (math_force_eval): Likewise.
11839 * sysdeps/alpha/fpu/math-barriers.h: New file.
11840 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
11841 math-barriers.h.
11842 (math_force_eval): Likewise.
11843 * sysdeps/x86/fpu/math-barriers.h: New file.
11844 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
11845 math-barriers.h.
11846 (math_force_eval): Likewise.
11847 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
11848 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
11849 multiple-include guard for rename.
11850 * sysdeps/powerpc/fpu/math-barriers.h: New file.
11851 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
11852 math-barriers.h.
11853 (math_force_eval): Likewise.
11854
5460617d
PP
118552018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
11856
11857 [BZ #22786]
43d4f3d5 11858 CVE-2018-11236
5460617d
PP
11859 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
11860 computation.
11861 * stdlib/Makefile (test-bz22786): New test.
11862 * stdlib/test-bz22786.c: New test.
11863
aaee3cd8
JM
118642018-05-09 Joseph Myers <joseph@codesourcery.com>
11865
11866 * include/math-narrow-eval.h: New file. Contents moved from ....
11867 * sysdeps/generic/math_private.h: ... here.
11868 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
11869 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
11870 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
11871 * stdlib/strtod_l.c: Likewise.
11872 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
11873 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
11874 * sysdeps/i386/fpu/s_fdim.c: Likewise.
11875 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11876 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11877 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11878 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11879 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11880 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11881 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
11882 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11883 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
11884 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11885 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11886 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11887 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11888 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11889 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11890 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11891 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11892 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11893 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11894 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11895 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11896 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
11897 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11898 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11899 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11900 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
11901
0555c477
AS
119022018-05-08 Andreas Schwab <schwab@suse.de>
11903
11904 * sysdeps/nptl/internaltypes.h: Fix comment.
11905
50d7d351
L
119062018-05-07 H.J. Lu <hongjiu.lu@intel.com>
11907
11908 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11909 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
11910 hidden.
11911
543477f7
SP
119122018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
11913
11914 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
11915 of I into loop header.
11916 * benchtests/bench-memmove-walk.c
11917 (test_main): Likewise.
11918
119192018-05-07 Alexandre Oliva <oliva@gnu.org>
ffa81c22
AO
11920
11921 Revert:
11922 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
11923 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
11924
0065aaaa
PP
119252018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11926
11927 [BZ #20419]
11928 * elf/dl-load.c (open_verify): Fix stack overflow.
11929 * elf/Makefile (tst-big-note): New test.
11930 * elf/tst-big-note-lib.S: New.
11931 * elf/tst-big-note.c: New.
11932
b289cd9d
JM
119332018-05-04 Joseph Myers <joseph@codesourcery.com>
11934
11935 * scripts/abilist.awk: Ignore absolute symbols.
11936 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
11937 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
11938 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
11939 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
11940 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
11941 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
11942 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11943 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
11944 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
11945 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
11946 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
11947 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
11948 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
11949 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
11950 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
11951 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
11952 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
11953 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
11954 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11955 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
11956 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
11957 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
11958 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
11959 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
11960 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
11961 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
11962 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
11963 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
11964 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11965 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
11966 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
11967 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11968 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
11969 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
11970 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
11971 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
11972 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
11973 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
11974 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
11975 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
11976 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
11977 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11978 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
11979 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
11980 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11981 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
11982 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
11983 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
11984 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
11985 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
11986 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
11987 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
11988 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
11989 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
11990 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11991 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
11992 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
11993 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11994 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
11995 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
11996 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
11997 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
11998 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
11999 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
12000 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
12001 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
12002 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
12003 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12004 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
12005 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
12006 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12007 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
12008 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
12009 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
12010 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
12011 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
12012 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
12013 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
12014 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
12015 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
12016 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12017 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
12018 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
12019 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12020 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
12021 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
12022 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
12023 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
12024 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
12025 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
12026 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
12027 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
12028 Likewise.
12029 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
12030 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12031 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
12032 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
12033 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12034 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
12035 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
12036 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
12037 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
12038 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
12039 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
12040 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
12041 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
12042 Likewise.
12043 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
12044 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12045 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
12046 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
12047 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12048 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
12049 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
12050 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
12051 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
12052 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
12053 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
12054 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
12055 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
12056 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
12057 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12058 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
12059 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
12060 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12061 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
12062 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
12063 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
12064 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
12065 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
12066 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
12067 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12068 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
12069 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
12070 Likewise.
12071 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
12072 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
12073 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
12074 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
12075 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12076 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
12077 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
12078 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
12079 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
12080 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
12081 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
12082 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
12083 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
12084 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
12085 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
12086 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
12087 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
12088 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
12089 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12090 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
12091 Likewise.
12092 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
12093 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
12094 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
12095 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12096 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
12097 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
12098 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
12099 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
12100 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
12101 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
12102 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12103 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
12104 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
12105 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12106 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
12107 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
12108 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
12109 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
12110 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12111 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
12112 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
12113 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12114 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
12115 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
12116 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
12117 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
12118 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
12119 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
12120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
12121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
12123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
12124 Likewise.
12125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
12126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
12127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
12128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
12129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
12130 Likewise.
12131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
12132 Likewise.
12133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
12134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
12135 Likewise.
12136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
12137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12138 Likewise.
12139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12140 Likewise.
12141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
12142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
12143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
12144 Likewise.
12145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
12146 Likewise.
12147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
12148 Likewise.
12149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
12150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
12153 Likewise.
12154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
12155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
12156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
12157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
12160 Likewise.
12161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
12162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
12163 Likewise.
12164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
12165 Likewise.
12166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
12167 Likewise.
12168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
12169 Likewise.
12170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
12171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
12172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
12173 Likewise.
12174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
12175 Likewise.
12176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
12177 Likewise.
12178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
12179 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
12180 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
12181 Likewise.
12182 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
12183 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12184 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
12185 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
12186 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12187 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
12188 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
12189 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
12190 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
12191 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
12192 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
12193 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
12194 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
12195 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
12196 Likewise.
12197 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12198 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
12199 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
12200 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12201 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
12202 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
12203 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
12204 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
12205 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
12206 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
12207 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
12208 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
12209 Likewise.
12210 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12211 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
12212 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
12213 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12214 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
12215 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
12216 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
12217 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
12218 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
12219 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
12220 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
12221 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
12222 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
12223 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12224 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
12225 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
12226 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12227 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
12228 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
12229 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
12230 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
12231 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
12232 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
12233 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
12234 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
12235 Likewise.
12236 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
12237 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12238 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
12239 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
12240 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12241 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
12242 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
12243 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
12244 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
12245 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
12246 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
12247 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
12248 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
12249 Likewise.
12250 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
12251 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12252 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
12253 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
12254 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12255 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
12256 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
12257 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
12258 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
12259 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
12260 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
12261 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
12262 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
12263 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
12264 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12265 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
12266 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
12267 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12268 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
12269 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
12270 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
12271 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
12272 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
12273 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
12274 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
12275 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
12276 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
12277 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
12278 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12279 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
12280 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
12281 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12282 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
12283 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
12284 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
12285 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
12286 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
12287 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
12288
16609018
SL
122892018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
12290
12291 [BZ #23137]
12292 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
12293 Use atomic_load_acquire to load __tid.
12294
556f5c46
L
122952018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12296
12297 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
12298 Restore the pointer into %rdx, after syscall and use %rdx,
12299 instead of %rsi, to restore context.
12300
8b8f32b2
L
123012018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12302
12303 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
12304 Pop the pointer into %rdx after syscall and use %rdx, instead
12305 of %rsi, to restore context.
12306
d6cc1829
L
123072018-05-02 H.J. Lu <hongjiu.lu@intel.com>
12308
12309 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
12310 handlers after setjmp.
12311 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
12312 defined.
12313 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
12314 <libc-pointer-arith.h>.
12315 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
12316 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
12317 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
12318 _JUMP_BUF_SIGSET_BITS_PER_WORD.
12319 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
12320 * sysdeps/x86/__longjmp_cancel.S: New file.
12321 * sysdeps/x86/longjmp.c: Likewise.
12322 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
12323
cf2478d5
AZ
123242018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12325
12326 * NEWS: Add ustat.h deprecation entry.
12327 * bits/ustat.h: Remove file.
12328 * misc/sys/ustat.h: Likewise.
12329 * misc/ustat.h: Likewise.
12330 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
12331 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
12332 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
12333 compatibility mode.
12334 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
12335 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
12336 generic Linux implementation.
12337
dc115e1c
TMQMF
123382018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12339
12340 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
12341 * math/w_expl_compat.c: Likewise.
12342 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
12343
340d9652
RN
123442018-04-30 Raymond Nicholson <rain1@airmail.cc>
12345
12346 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
12347
c57bf7c1
AZ
123482018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12349
12350 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
12351 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
12352 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
12353 Remove.
12354 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
12355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12356 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12357 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
12358 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
12359 and SYSCALL_LL64.
12360
06135c33
TMQMF
123612018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12362
33927914
TMQMF
12363 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
12364
06135c33
TMQMF
12365 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
12366 * math/w_asin_template.c: Likewise.
12367 * math/w_atanh_template.c: Likewise.
12368
3a33b069
GG
123692018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12370
12371 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
12372 to powerpc/powerpc64/be for big-endian.
12373 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
12374 little-endian.
12375
12376 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
12377 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
12378 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
12379 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
12380 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
12381 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
12382 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
12383 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
12384 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
12385 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
12386 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
12387 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
12388 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
12389 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
12390 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
12391 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
12392 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
12393 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
12394 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
12395 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
12396 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
12397 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
12398 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
12399 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
12400 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
12401 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
12402 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
12403 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
12404 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
12405 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
12406 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
12407 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
12408
12409 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
12410 adjusted to imply powerpc64 and older processors on powerpc64/be.
12411 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
12412 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
12413 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
12414 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
12415 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
12416 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
12417 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
12418 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
12419 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
12420 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
12421 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
12422 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
12423 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
12424 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
12425 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
12426 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
12427 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
12428 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
12429 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
12430 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
12431 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
12432 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
12433 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
12434 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
12435 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
12436 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
12437 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
12438 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
12439 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
12440 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
12441 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
12442
12443 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
12444 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
12445 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
12446 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
12447
12448 * sysdeps/powerpc/powerpc64/be/Implies: New file.
12449 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
12450 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
12451 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
12452
12453 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
12454 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
12455 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
12456 * sysdeps/powerpc/powerpc64le/configure: Likewise.
12457 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
12458 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
12459 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
12460 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
12461 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
12462 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
12463 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
12464
12465 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
12466 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
12467 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
12468 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
12469 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
12470 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
12471 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
12472 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
12473 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
12474 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
12475 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
12476
12477 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
12478 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
12479 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
12480 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
12481 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
12482 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
12483 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
12484 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
12485 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
12486 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
12487 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
12488 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
12489
12490 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
12491 and adjusted to imply olders processors.
12492 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
12493 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
12494 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
12495 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
12496 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
12497 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
12498 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
12499 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
12500 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
12501 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
12502 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
12503
12504 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
12505 powerpc64/le.
12506 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
12507 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
12508
12509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
12510 powerpc64le.
12511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
12512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
12513
12514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
12515 powerpc64/be.
12516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
12518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
12519
12520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
12521 powerpc64 and adjusted.
12522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
12523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
12524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
12525 Likewise.
12526
a3fb6b6b
JM
125272018-04-27 Joseph Myers <joseph@codesourcery.com>
12528
12529 * sysdeps/tile: Remove.
12530 * sysdeps/unix/sysv/linux/tile: Likewise.
12531 * README (tilegx-*-linux-gnu): Remove from list of supported
12532 configurations.
12533 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
12534 contribution of support for generic Linux kernel syscall
12535 interface.
12536 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
12537 tilegx configurations.
12538 (Config.install_linux_headers): Do not handle tile.
12539 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
12540 in comment.
12541 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
12542 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
12543 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
12544 conditional undefine and redefine.
12545 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
12546 in comment.
12547 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
12548 conditional undefine and redefine.
12549
7a6f7478
AJ
125502018-04-26 Aurelien Jarno <aurelien@aurel32.net>
12551
12552 * signal/tst-sigaction.c: New file to test BZ #23069.
12553 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
12554
81b49e96
TMQMF
125552018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12556
12557 [BZ #22766]
12558 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
12559 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
12560 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
12561 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
12562
7d80f48e
AZ
125632018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12564
12565 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
12566 _DIRENT_MATCHES_DIRENT64 is not defined.
12567 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
12568 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
12569 is defined.
12570 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
12571 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
12572
42a2bf58
JM
125732018-04-25 Joseph Myers <joseph@codesourcery.com>
12574
12575 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
12576 version to GCC 8 branch.
12577
9320ca88
JM
125782018-04-24 Joseph Myers <joseph@codesourcery.com>
12579
5e14bb97
JM
12580 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
12581 (check_no_hidden): Use type of original function when declaring
12582 alias.
12583
9320ca88
JM
12584 * sysdeps/unix/sysv/linux/sys/ptrace.h
12585 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
12586 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
12587 (struct __ptrace_seccomp_metadata): New type.
12588 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
12589 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12590 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
12591 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12592 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
12593 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12594 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
12595 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12596 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
12597 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12598 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
12599 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12600 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
12601 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12602 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
12603 (PTRACE_SECCOMP_GET_METADATA): Likewise.
12604
af7e376b
AZ
126052018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12606
12607 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
12608 defined.
12609 * dirent/versionsort.c (versionsort): Likewise.
12610 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
12611 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
12612 * dirent/versionsort64.c (versionsort64): Likewise.
12613 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
12614 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
12615 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
12616 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
12617 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
12618 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
12619 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
12620 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
12621 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
12622 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
12623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
12624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
12625 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
12626 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
12627
da5e0361
JM
126282018-04-23 Joseph Myers <joseph@codesourcery.com>
12629
12630 * elf/elf.h (NT_PPC_PKEY): New macro.
12631
ea76691a
DSN
126322018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
12633
12634 [BZ #23094]
12635 * localedata/locales/hr_HR: fix thousands_sep and
12636 mon_thousands_sep
12637
573963e3
JM
126382018-04-20 Joseph Myers <joseph@codesourcery.com>
12639
12640 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
12641 (XTABS): Define to TAB3.
12642
c0123b3b
AZ
126432018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12644
0900a849
AZ
12645 * sysdeps/hppa/fpu/libm-test-ulps: Update.
12646
c0123b3b
AZ
12647 * dirent/scandir-tail-common.c: New file.
12648 * dirent/scandir-tail.c: Use scandir-tail-common.c.
12649 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
12650 * dirent/scandir.c: Use scandir-tail-common.c.
12651 * dirent/scandirat.c: Likewise.
12652 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
12653 * dirent/scandir64.c (scandir64): Always build and alias to scandir
12654 if _DIRENT_MATCHES_DIRENT64 is defined.
12655 * dirent/scandirat64.c (scandirat64): Likewise.
12656 * include/dirent.h (__scandir_tail): Only define iff
12657 _DIRENT_MATCHES_DIRENT64 is not defined.
12658 (__scandir64_tail): Define regardless.
12659 (__scandirat, scandirat64): Remove libc_hidden_proto.
12660 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
12661 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
12662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
12663 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
12664 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12665 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
12666 * sysdeps/unix/sysv/linux/scandir64.c: New file.
12667
458b94f6
JM
126682018-04-20 Joseph Myers <joseph@codesourcery.com>
12669
12670 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
12671 New macro.
12672 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
12673 Increase to 24.
12674 (_dl_aarch64_cap_flags): Add asimdfhm.
12675
9f0437e8
CLT
126762018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
12677
12678 * sysdeps/nios2/libm-test-ulps: Update.
12679
298d0e31
AZ
126802018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12681
50511ca4
AZ
12682 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
12683 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
12684
298d0e31
AZ
12685 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
12686 requirements.
12687 (_DIRENT_MATCHES_DIRENT64): Undef
12688 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
12689 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
12690 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
12691 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
12692 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
12693 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
12694 use getdents64 syscalls as base.
12695 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
12696 symbol if required.
12697 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
12698 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
12699 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
12700 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
12701 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
12702 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
12703 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
12704 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
12705 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12706 (__get_clockfreq_via_proc_openprom): Use __getdents64.
12707 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
12708
0085be14
SL
127092018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
12710
12711 * scripts/test_printers_common.py (init_test): Disable lock elision.
12712
da796524
SL
127132018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
12714
12715 * math/test-tgmath.c (count_double, count_float,
12716 count_ldouble, count_cdouble, count_cfloat,
12717 count_cldouble): Use volatile int.
12718
0dd25301
ST
127192018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
12720
12721 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
12722 (conformtest-xfail-conds): Add i386-gnu.
cbc256b1 12723 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
0dd25301
ST
12724 i386-gnu.
12725 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
12726 ipc_perm.cuid, ipc_perm.cgid): Likewise.
12727 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
12728 msqid_ds.msg_lrpid): Likewise.
12729 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
12730 Likewise.
12731 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
12732 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
9d9f8f03
ST
12733 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
12734 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
12735 unsigned int.
12736 (struct statvfs64): Likewise.
f55a4fde
ST
12737 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
12738 Likewise.
77b93390
ST
12739 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
12740 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
12741 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
12742 instead of wait_queue.
12743 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
12744 instead of vm_area_struct.
5cd2931a
ST
12745 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
12746 struct sched_param definition to it.
e60c3f2b
ST
12747 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12748 * bits/types/struct_sched_param.h: New file.
12749 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
12750 <bits/types/struct_sched_param.h> instead of <sched.h>.
12751 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
5cd2931a
ST
12752 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
12753 generic version but include <bits/pthreadtypes.h> to make struct
12754 sigevent's sigev_notify_attributes field a pthread_attr_t*.
ed370924
ST
12755 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
12756 non-compliant.
a564872d
ST
12757 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
12758 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
12759 [__USE_XOPEN] (OFDEL): New macro.
12760 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
a279b8ed 12761 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
5dbfe13b
ST
12762 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
12763 prototypes.
12764 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
12765 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
81b032c8
ST
12766 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
12767 non-compliant.
12768 * sysdeps/i386/sys/ucontext.h: Likewise.
12769 * sysdeps/m68k/sys/ucontext.h: Likewise.
12770 * sysdeps/mips/sys/ucontext.h: Likewise.
12771 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
f00b62ec
ST
12772 * sysdeps/mach/hurd/i386/Makefile
12773 (test-xfail-POSIX/fcntl.h/conform): Add.
12774 (test-xfail-POSIX/signal.h/conform): Add.
12775 (test-xfail-POSIX/semaphore.h/conform): Add.
12776 (test-xfail-POSIX/regex.h/conform): Add.
12777 (test-xfail-POSIX/aio.h/conform): Add.
12778 (test-xfail-POSIX/mqueue.h/conform): Add.
12779 (test-xfail-POSIX/sys/types.h/conform): Add.
12780 (test-xfail-UNIX98/fcntl.h/conform): Add.
12781 (test-xfail-UNIX98/netdb.h/conform): Add.
12782 (test-xfail-UNIX98/signal.h/conform): Add.
12783 (test-xfail-UNIX98/semaphore.h/conform): Add.
12784 (test-xfail-UNIX98/regex.h/conform): Add.
12785 (test-xfail-UNIX98/aio.h/conform): Add.
12786 (test-xfail-UNIX98/ftw.h/conform): Add.
12787 (test-xfail-UNIX98/mqueue.h/conform): Add.
12788 (test-xfail-UNIX98/netinet/in.h/conform): Add.
12789 (test-xfail-UNIX98/sys/wait.h/conform): Add.
12790 (test-xfail-UNIX98/sys/sem.h/conform): Add.
12791 (test-xfail-UNIX98/sys/uio.h/conform): Add.
12792 (test-xfail-UNIX98/sys/socket.h/conform): Add.
12793 (test-xfail-UNIX98/sys/types.h/conform): Add.
12794 (test-xfail-UNIX98/stdlib.h/conform): Add.
12795 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
12796 (test-xfail-POSIX2008/fcntl.h/conform): Add.
12797 (test-xfail-POSIX2008/netdb.h/conform): Add.
12798 (test-xfail-POSIX2008/signal.h/conform): Add.
12799 (test-xfail-POSIX2008/semaphore.h/conform): Add.
12800 (test-xfail-POSIX2008/regex.h/conform): Add.
12801 (test-xfail-POSIX2008/aio.h/conform): Add.
12802 (test-xfail-POSIX2008/mqueue.h/conform): Add.
12803 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
12804 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
12805 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
12806 (test-xfail-POSIX2008/sys/types.h/conform): Add.
12807 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
12808 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
12809 (test-xfail-XOPEN2K/netdb.h/conform): Add.
12810 (test-xfail-XOPEN2K/signal.h/conform): Add.
12811 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
12812 (test-xfail-XOPEN2K/regex.h/conform): Add.
12813 (test-xfail-XOPEN2K/aio.h/conform): Add.
12814 (test-xfail-XOPEN2K/ftw.h/conform): Add.
12815 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
12816 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
12817 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
12818 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
12819 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
12820 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
12821 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
12822 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
12823 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
12824 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
12825 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
12826 (test-xfail-XOPEN2K8/signal.h/conform): Add.
12827 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
12828 (test-xfail-XOPEN2K8/regex.h/conform): Add.
12829 (test-xfail-XOPEN2K8/aio.h/conform): Add.
12830 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
12831 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
12832 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
12833 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
12834 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
12835 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
12836 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
12837 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
12838 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
12839 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
cbc256b1
ST
12840 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
12841 i386-gnu.
12842 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
12843 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
0dd25301 12844
d6397de3
JM
128452018-04-18 Joseph Myers <joseph@codesourcery.com>
12846
12847 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
12848 --enable-obsolete for powerpc-linux-gnuspe.
12849
8323a902
ST
128502018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
12851
3dc0814c 12852 * conform/data/sys/un.h-data: Allow sun_ prefix.
c5896a45 12853 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
d4379e02 12854 prototypes.
c5896a45
ST
12855 * sysdeps/mach/include/mach.h: Likewise.
12856 * sysdeps/mach/include/mach/mig_support.h: Likewise.
12857 * sysdeps/mach/include/mach_error.h: Likewise.
8323a902 12858
743b9c2a
AZ
128592018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12860
12861 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
12862 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
12863 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
12864 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
12865
326e74e7
AS
128662018-04-16 Andreas Schwab <schwab@suse.de>
12867
12868 [BZ #19527]
12869 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
12870
a14d8acd
PM
128712018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
12872
12873 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
12874 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
12875
a700e7cb
DD
128762018-04-12 DJ Delorie <dj@redhat.com>
12877
12878 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12879 version to 4.16.
12880
d8abfab7
SL
128812018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
12882
12883 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
12884 (struct kernel_sigaction): Use the same definition on 31bit as is used
12885 on 64bit.
12886
583a27d5
FW
128872018-04-09 Florian Weimer <fweimer@redhat.com>
12888
12889 [BZ #23037]
12890 * resolv/res_send.c (send_dg): Use designated initializers instead
12891 of assignment to zero-initialize other fields of struct mmsghdr.
12892
243f59e5
AZ
128932018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12894
942de61a
AZ
12895 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
12896 __READDIR_ALIAS): Undefine after usage.
12897 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
12898 __READDIR_R_ALIAS): Likewise.
12899 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
12900 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
12901 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
12902 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
12903 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
12904 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
12905 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
12906 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12907 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
12908 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
12909 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
12910 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
12911 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
12912 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
12913 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
12914 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
12915 * sysdeps/unix/sysv/linux/readdir.c: New file.
12916 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
12917 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
12918 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
12919
243f59e5
AZ
12920 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
12921
690c3475
AS
129222018-04-06 Andreas Schwab <schwab@linux-m68k.org>
12923
12924 * manual/charset.texi (Converting a Character): Fix typo.
12925
b4a5d26d
AZ
129262018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12927
bbc2062a
AZ
12928 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12929
fa7c6199
AZ
12930 * sysdeps/arm/libm-test-ulps: Update.
12931
b4a5d26d
AZ
12932 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
12933 as base implementation.
12934 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
12935 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
12936 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12937 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12938 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12939 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
12940 remove unrequired definitions and update comments.
12941 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
12942 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
12943 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
12944 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
12945 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
12946 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
12947 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
12948 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
12949 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
12950 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
12951 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
12952 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12953 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
12954 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
12955 and RESET_SA_RESTORER hooks.
12956
db9e55ff
SL
129572018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
12958
12959 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12960
cf138b0c
FW
129612018-04-05 Florian Weimer <fweimer@redhat.com>
12962
12963 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
12964 integer overflow, memory leak on error, and indeterminate errno
12965 value. Add a null wide character to terminate the result string.
12966 * manual/charset.texi (Converting a Character): Mention embedded
12967 null bytes in the mbrtowc input string. Explain what happens in
12968 the -2 result case. Do not claim that mbrtowc is simple or
12969 obvious to use. Adjust the description of the code example. Use
12970 @code, not @var, for concrete variables.
12971
0f339252
FW
129722018-04-05 Florian Weimer <fweimer@redhat.com>
12973
12974 * manual/examples/mbstouwcs.c: New file.
12975 * manual/charset.texi (Converting a Character): Include it.
12976
e5f9508a
ST
129772018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
12978
c120981d
ST
12979 * include/dirent.h (dirfd): Add hidden proto.
12980 * dirent/dirfd.c (dirfd): Add hidden def.
12981 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
12982 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
e5f9508a 12983
b2fd61ca
TMQMF
129842018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12985
12986 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
12987 sin, cos and sincos to 1 ULP.
12988
10a446dd
MR
129892018-04-04 Maciej W. Rozycki <macro@mips.com>
12990
e7feec37
MR
12991 [BZ #19818]
12992 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
12993 symbols.
12994 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
12995 * elf/tst-absolute-sym.c: New file.
12996 * elf/tst-absolute-sym-lib.c: New file.
12997 * elf/tst-absolute-sym-lib.lds: New file.
12998 * elf/Makefile (tests): Add `tst-absolute-sym'.
12999 (modules-names): Add `tst-absolute-sym-lib'.
13000 (LDLIBS-tst-absolute-sym-lib.so): New variable.
13001 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
13002 ($(objpfx)tst-absolute-sym): New dependency.
13003
10a446dd
MR
13004 [BZ #19818]
13005 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
13006 parameter.
13007 (SYMBOL_ADDRESS): New macro.
13008 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
13009 SYMBOL_ADDRESS for symbol address calculation.
13010 * elf/dl-runtime.c (_dl_fixup): Likewise.
13011 (_dl_profile_fixup): Likewise.
13012 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
13013 * elf/rtld.c (dl_main): Likewise.
13014 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
13015 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
13016 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
13017 (elf_machine_rela): Likewise.
13018 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
13019 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
13020 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
13021 (elf_machine_rela): Likewise.
13022 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13023 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
13024 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
13025 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
13026 Likewise.
13027 (elf_machine_reloc): Likewise.
13028 (elf_machine_got_rel): Likewise.
13029 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
13030 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
13031 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13032 Likewise.
13033 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13034 Likewise.
13035 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
13036 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13037 Likewise.
13038 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13039 Likewise.
13040 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13041 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
13042 Likewise.
13043 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
13044 Likewise.
13045 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
13046 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13047
9185f86d
ZW
130482018-04-04 Zack Weinberg <zackw@panix.com>
13049
13050 * sysdeps/generic/internal-signals.h: Include signal.h,
13051 sigsetops.h, and stdbool.h.
13052 (__libc_signal_block_all): Actually block all signals.
13053 (__libc_signal_block_app): Likewise.
13054 (__libc_signal_restore_set): Actually restore the signal mask.
13055
b07367bc
FW
130562018-04-04 Florian Weimer <fweimer@redhat.com>
13057
13058 inet: Actually build and run tst-deadline.
13059 * inet/Makefile (tests-internal): Add tst-deadline and do not
13060 overwrite the variable.
13061 (tests-static-internal): Remove variable.
13062
f2652643
L
130632018-04-03 H.J. Lu <hongjiu.lu@intel.com>
13064
13065 [BZ #22947]
13066 * bits/uio-ext.h (RWF_APPEND): New.
13067 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
13068 * manual/llio.texi: Document RWF_APPEND.
13069 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
13070 (RWF_SUPPORTED): Add RWF_APPEND.
13071
d2dc5467
AZ
130722018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13073
13074 [BZ #22391]
13075 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
13076 check for internal nptl signals.
13077 * nptl/sigaction.c (__sigaction): Likewise.
13078 * signal/sigaddset.c (sigaddset): Likewise.
13079 * signal/sigdelset.c (sigdelset): Likewise.
13080 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
13081 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
13082 value.
13083 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
13084 to filter out internal nptl signals.
13085 * signal/tst-sigset.c (do_test): Check ech signal indidually and
13086 also check realtime signals using standard macros.
13087 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
13088 __is_internal_signal, __libc_signal_block_all,
13089 __libc_signal_block_app, __libc_signal_restore_set): New functions.
13090 * sysdeps/nptl/sigfillset.c: Remove file.
13091 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
13092 Change return to bool.
13093 (__clear_internal_signals): Remove SIGTIMER clean since it is
13094 equal to SIGCANEL on Linux.
13095 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
13096 signal set was constructed using standard functions.
13097
511ed56f
ST
130982018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
13099
92846492
ST
13100 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
13101 ifname is too long.
e8ef51b1
ST
13102 * hurd/hurdsig.c (interrupted_reply_port_location): Use
13103 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
ff297b70
ST
13104 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
13105 hidden def.
13106 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
d8440a21
ST
13107 * signal/sigaddset.c: Include <sigsetopts.h>.
13108 * signal/sigdelset.c: Likewise.
511ed56f 13109
e88ecbbf
WD
131102018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13111
13112 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
13113 (__cos): Likewise.
13114 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
13115 logic as sin and cos.
13116
aef3e255
WD
131172018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13118
13119 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
13120 inputs. Return correct sign.
13121 (do_sincos): Remove small input check before do_sin, let do_sin set
13122 the sign.
13123 (__sin): Likewise.
13124 (__cos): Likewise.
13125
72f6e9a3
WD
131262018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13127
13128 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
13129 (do_cos_slow): Likewise.
13130 (do_sin_slow): Likewise.
13131 (reduce_and_compute): Likewise.
13132 (slow): Likewise.
13133 (slow1): Likewise.
13134 (slow2): Likewise.
13135 (sloww): Likewise.
13136 (sloww1): Likewise.
13137 (sloww2): Likewise.
13138 (bslow): Likewise.
13139 (bslow1): Likewise.
13140 (bslow2): Likewise.
13141 (cslow2): Likewise.
13142
64909583
WD
131432018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13144
13145 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
13146 (do_cos): Remove corp parameter and calculations.
13147 (do_sin): Likewise.
13148 (do_sincos): Remove cor variable.
13149 (__sin): Use do_sincos for huge inputs.
13150 (__cos): Likewise.
13151 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
13152 (reduce_and_compute_sincos): Remove unused function.
13153
d9469deb
WD
131542018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13155
13156 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
13157 reduce_sincos, improve accuracy to 136 bits.
13158 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
13159 (__sin): Use improved reduction and simplified do_sincos calculation.
13160 (__cos): Likewise.
13161 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
13162
7a5640f2
WD
131632018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13164
13165 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
13166 (do_sincos_2): Likewise.
13167 (__sin): Remove middle range reduction case.
13168 (__cos): Likewise.
13169 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
13170 reduction case.
13171
19a8b9a3
WD
131722018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
13173
13174 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
13175 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
13176 inputs.
13177 (__cos): Likewise.
13178 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
13179
f72aa11d
JM
131802018-04-03 Joseph Myers <joseph@codesourcery.com>
13181
13182 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19a8b9a3 13183 version to 4.16
f72aa11d 13184
8e4754ed
AZ
131852018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13186
13187 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
13188 Remove definitions.
13189 (opendir_oflags): Use O_DIRECTORY regardless.
13190 (__opendir, __opendirat): Remove need_isdir_precheck usage.
13191 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
13192
8e2666ea
ST
131932018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13194
13195 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
13196 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
13197 macros.
13198 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
13199 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
13200 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
13201 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
deed72f6
ST
13202 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
13203 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
8e2666ea 13204
ad2b41bf
ST
13205 * htl/Makefile: Bump licence to LGPL 2.1+.
13206 * htl/alloca_cutoff.c: Likewise.
13207 * htl/cthreads-compat.c: Likewise.
13208 * htl/lockfile.c: Likewise.
13209 * htl/pt-alloc.c: Likewise.
13210 * htl/pt-cancel.c: Likewise.
13211 * htl/pt-cleanup.c: Likewise.
13212 * htl/pt-create.c: Likewise.
13213 * htl/pt-dealloc.c: Likewise.
13214 * htl/pt-detach.c: Likewise.
13215 * htl/pt-exit.c: Likewise.
13216 * htl/pt-getattr.c: Likewise.
13217 * htl/pt-initialize.c: Likewise.
13218 * htl/pt-internal.h: Likewise.
13219 * htl/pt-join.c: Likewise.
13220 * htl/pt-self.c: Likewise.
13221 * htl/pt-setcancelstate.c: Likewise.
13222 * htl/pt-setcanceltype.c: Likewise.
13223 * htl/pt-sigmask.c: Likewise.
13224 * htl/pt-spin-inlines.c: Likewise.
13225 * htl/pt-testcancel.c: Likewise.
13226 * htl/pt-yield.c: Likewise.
13227 * htl/tests/test-1.c: Likewise.
13228 * htl/tests/test-10.c: Likewise.
13229 * htl/tests/test-11.c: Likewise.
13230 * htl/tests/test-12.c: Likewise.
13231 * htl/tests/test-13.c: Likewise.
13232 * htl/tests/test-14.c: Likewise.
13233 * htl/tests/test-15.c: Likewise.
13234 * htl/tests/test-16.c: Likewise.
13235 * htl/tests/test-17.c: Likewise.
13236 * htl/tests/test-2.c: Likewise.
13237 * htl/tests/test-3.c: Likewise.
13238 * htl/tests/test-4.c: Likewise.
13239 * htl/tests/test-5.c: Likewise.
13240 * htl/tests/test-6.c: Likewise.
13241 * htl/tests/test-7.c: Likewise.
13242 * htl/tests/test-8.c: Likewise.
13243 * htl/tests/test-9.c: Likewise.
13244 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
13245 * sysdeps/htl/bits/cancelation.h: Likewise.
13246 * sysdeps/htl/bits/pthread-np.h: Likewise.
13247 * sysdeps/htl/bits/pthread.h: Likewise.
13248 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
13249 * sysdeps/htl/bits/semaphore.h: Likewise.
13250 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
13251 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
13252 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
13253 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
13254 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
13255 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
13256 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
13257 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
13258 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
13259 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
13260 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
13261 * sysdeps/htl/old_pt-atfork.c: Likewise.
13262 * sysdeps/htl/pt-atfork.c: Likewise.
13263 * sysdeps/htl/pt-attr-destroy.c: Likewise.
13264 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
13265 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
13266 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
13267 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
13268 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
13269 * sysdeps/htl/pt-attr-getscope.c: Likewise.
13270 * sysdeps/htl/pt-attr-getstack.c: Likewise.
13271 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
13272 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
13273 * sysdeps/htl/pt-attr-init.c: Likewise.
13274 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
13275 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
13276 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
13277 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
13278 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
13279 * sysdeps/htl/pt-attr-setscope.c: Likewise.
13280 * sysdeps/htl/pt-attr-setstack.c: Likewise.
13281 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
13282 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
13283 * sysdeps/htl/pt-attr.c: Likewise.
13284 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
13285 * sysdeps/htl/pt-barrier-init.c: Likewise.
13286 * sysdeps/htl/pt-barrier-wait.c: Likewise.
13287 * sysdeps/htl/pt-barrier.c: Likewise.
13288 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
13289 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
13290 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
13291 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
13292 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
13293 * sysdeps/htl/pt-cond-destroy.c: Likewise.
13294 * sysdeps/htl/pt-cond-init.c: Likewise.
13295 * sysdeps/htl/pt-cond-signal.c: Likewise.
13296 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
13297 * sysdeps/htl/pt-cond-wait.c: Likewise.
13298 * sysdeps/htl/pt-cond.c: Likewise.
13299 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
13300 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
13301 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
13302 * sysdeps/htl/pt-condattr-init.c: Likewise.
13303 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
13304 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
13305 * sysdeps/htl/pt-destroy-specific.c: Likewise.
13306 * sysdeps/htl/pt-equal.c: Likewise.
13307 * sysdeps/htl/pt-getconcurrency.c: Likewise.
13308 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
13309 * sysdeps/htl/pt-getschedparam.c: Likewise.
13310 * sysdeps/htl/pt-getspecific.c: Likewise.
13311 * sysdeps/htl/pt-init-specific.c: Likewise.
13312 * sysdeps/htl/pt-key-create.c: Likewise.
13313 * sysdeps/htl/pt-key-delete.c: Likewise.
13314 * sysdeps/htl/pt-key.h: Likewise.
13315 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
13316 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
13317 * sysdeps/htl/pt-mutex-init.c: Likewise.
13318 * sysdeps/htl/pt-mutex-lock.c: Likewise.
13319 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
13320 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
13321 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
13322 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
13323 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
13324 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
13325 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
13326 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
13327 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
13328 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
13329 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
13330 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
13331 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
13332 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
13333 * sysdeps/htl/pt-mutexattr.c: Likewise.
13334 * sysdeps/htl/pt-once.c: Likewise.
13335 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
13336 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
13337 * sysdeps/htl/pt-rwlock-init.c: Likewise.
13338 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
13339 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
13340 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
13341 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
13342 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
13343 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
13344 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
13345 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
13346 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
13347 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
13348 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
13349 * sysdeps/htl/pt-setconcurrency.c: Likewise.
13350 * sysdeps/htl/pt-setschedparam.c: Likewise.
13351 * sysdeps/htl/pt-setschedprio.c: Likewise.
13352 * sysdeps/htl/pt-setspecific.c: Likewise.
13353 * sysdeps/htl/pt-spin.c: Likewise.
13354 * sysdeps/htl/pt-startup.c: Likewise.
13355 * sysdeps/htl/pthread.h: Likewise.
13356 * sysdeps/htl/sem-close.c: Likewise.
13357 * sysdeps/htl/sem-destroy.c: Likewise.
13358 * sysdeps/htl/sem-getvalue.c: Likewise.
13359 * sysdeps/htl/sem-init.c: Likewise.
13360 * sysdeps/htl/sem-open.c: Likewise.
13361 * sysdeps/htl/sem-post.c: Likewise.
13362 * sysdeps/htl/sem-timedwait.c: Likewise.
13363 * sysdeps/htl/sem-trywait.c: Likewise.
13364 * sysdeps/htl/sem-unlink.c: Likewise.
13365 * sysdeps/htl/sem-wait.c: Likewise.
13366 * sysdeps/hurd/htl/pt-kill.c: Likewise.
13367 * sysdeps/i386/htl/pt-machdep.h: Likewise.
13368 * sysdeps/mach/htl/pt-block.c: Likewise.
13369 * sysdeps/mach/htl/pt-spin.c: Likewise.
13370 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
13371 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
13372 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
13373 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
13374 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
13375 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
13376 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
13377 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
13378 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
13379 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
13380 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
13381 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
13382 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
13383 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
13384 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
13385 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
13386 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
13387 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
13388 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
13389 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
13390 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
13391 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
13392 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
13393 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
13394 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
13395 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
13396 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
13397 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
13398 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
13399 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
13400 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
13401 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
13402 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
13403 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
13404 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
13405 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
13406 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
13407 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
13408 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
13409 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
13410 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
13411 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
13412 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
13413
fb03b04b
ST
13414 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
13415 * README: Remove the mention of out-of-tree patches needed for
13416 GNU/Hurd.
13417
fa9e1555
ST
13418 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
13419 (UTIME_NOW, UTIME_OMIT): Define macros.
13420
f6fb29d2
ST
13421 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
13422 instead of pthread_detach.
13423 (__cthread_fork): Call __pthread_create instead of pthread_create.
13424 (__cthread_keycreate): Call __pthread_key_create instead of
13425 pthread_key_create.
13426 (__cthread_getspecific): Call __pthread_getspecific instead of
13427 pthread_getspecific.
13428 (__cthread_setspecific): Call __pthread_setspecific instead of
13429 pthread_setspecific.
13430 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
13431 __pthread_mutex_unlock instead of pthread_mutex_lock and
13432 pthread_mutex_unlock.
13433 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
13434 ___pthread_get_cleanup_stack.
13435 (__pthread_get_cleanup_stack): New strong alias.
13436 * htl/pt-create.c: Include <pthreadP.h>.
13437 (entry_point): Call __pthread_exit instead of pthread_exit.
13438 (pthread_create): Rename to __pthread_create.
13439 (pthread_create): New strong alias.
13440 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
13441 (pthread_detach): New strong alias.
13442 (__pthread_detach): Call __pthread_cond_broadcast instead of
13443 pthread_cond_broadcast.
fe9748cc
ST
13444 * htl/pt-exit.c: Include <pthreadP.h>.
13445 (__pthread_exit): Call __pthread_setcancelstate and
13446 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
13447 __pthread_get_cleanup_stack.
f6fb29d2
ST
13448 * htl/pt-testcancel.c: Include <pthreadP.h>.
13449 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
13450 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
13451 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
13452 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
13453 pthread_attr_getstacksize.
13454 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
13455 Rename to __pthread_attr_getstackaddr.
13456 (pthread_attr_getstackaddr): New strong alias.
13457 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
13458 Rename to __pthread_attr_getstacksize.
13459 (pthread_attr_getstacksize): New strong alias.
13460 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
13461 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
13462 (pthread_attr_setstack): New strong alias.
13463 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
13464 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
13465 pthread_attr_getstacksize, pthread_attr_setstacksize and
13466 pthread_attr_setstackaddr.
13467 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
13468 Rename to __pthread_attr_setstackaddr.
13469 (pthread_attr_setstackaddr): New strong alias.
13470 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
13471 Rename to __pthread_attr_setstacksize.
13472 (pthread_attr_setstacksize): New strong alias.
13473 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
13474 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
13475 pthread_exit.
13476 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
13477 (__pthread_key_create): New hidden def.
13478 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
13479 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
13480 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
13481 __pthread_exit, __pthread_key_create, __pthread_getspecific,
13482 __pthread_setspecific, __pthread_setcancelstate,
13483 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
13484 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
13485 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
13486 declarations.
13487 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
13488 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
13489 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
13490 (pthread_attr_setstackaddr): New strong alias.
13491 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
13492 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
13493 (pthread_attr_setstacksize): New strong alias.
13494 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
13495 (call_exit): Call __pthread_exit instead of pthread_exit.
13496 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
13497 (_pthread_mutex_init): New hidden definition.
13498 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
13499 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
13500 instead of pthread_attr_init and pthread_attr_setstack.
13501
dba2bdbe
ST
13502 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
13503 __vm_deallocate instead of vm_allocate and vm_deallocate.
13504 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
13505 setenv.
13506 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
13507 of geteuid.
13508 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
13509 strdup.
13510 * hurd/siginfo.c: Include <libioP.h>.
13511 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
13512 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
13513 munmap.
dba2bdbe
ST
13514 * mach/devstream.c: Include <libioP.h>.
13515 (dealloc_ref): Call __mach_port_deallocate instead of
13516 mach_port_deallocate.
13517 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
13518 Call __mach_port_deallocate instead of mach_port_deallocate.
13519 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
13520 pathconf.
13521 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
13522 munmap.
13523 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
13524 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
13525 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
13526 of munmap.
13527 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
13528 of close.
13529 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
13530 instead of sysconf.
13531 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
13532 __clock_gettime instead of clock_gettime.
13533 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
13534 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
13535 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
13536 * sysdeps/unix/bsd/stty.c (stty): Likewise.
13537 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
13538 tcgetattr.
13539 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
13540 __clock_gettime and __nanosleep instead of clock_gettime and
13541 nanosleep.
7a8f45e3
ST
13542 * hurd/catch-signal.c (hurd_catch_signal): Rename to
13543 __hurd_catch_signal.
13544 (hurd_catch_signal): New strong alias.
13545 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
13546 __hurd_catch_signal instead of hurd_catch_signal.
13547 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
13548 * hurd/hurdexec.c (_hurd_init): Add hidden def.
13549 * hurd/hurdinit.c (_hurd_init): Add hidden def.
13550 * hurd/hurdsig.c: Include <mach/mig_support.h>.
13551 (_hurd_thread_sigstate): Add hidden def.
13552 (_hurd_internal_post_signal): Use __mutex_unlock instead of
13553 mutex_unlock.
13554 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
13555 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
13556 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
13557 __hurd_file_name_path_lookup.
13558 (hurd_file_name_path_lookup): New strong alias.
13559 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
13560 hurd_file_name_path_lookup.
13561 * mach/errstring.c (mach_error_type): Add hidden def.
13562 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
13563 * mach/mutex-init.c (__mutex_init): Add hidden def.
13564 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
13565 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
13566 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
13567 * sysdeps/mach/hurd/getcwd.c
13568 (_hurd_canonicalize_directory_name_internal): Rename to
13569 __hurd_canonicalize_directory_name_internal.
13570 (_hurd_canonicalize_directory_name_internal): New strong alias.
13571 (__canonicalize_directory_name_internal, __getcwd): Call
13572 __hurd_canonicalize_directory_name_internal instead of
13573 _hurd_canonicalize_directory_name_internal.
13574 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
13575 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
13576 hidden defs.
13577 * sysdeps/hurd/include/hurd.h: New file.
13578 * sysdeps/hurd/include/hurd/fd.h: New file.
13579 * sysdeps/hurd/include/hurd/signal.h: New file.
13580 * sysdeps/mach/include/lock-intern.h: New file.
13581 * sysdeps/mach/include/mach.h: New file.
13582 * sysdeps/mach/include/mach/mig_support.h: New file.
13583 * sysdeps/mach/include/mach_error.h: New file.
a758c293
ST
13584 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
13585 prototype.
13586 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
13587 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
13588 _HEADER_H_HIDDEN_DEF macro.
13589 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
13590 _hurd_fd_error_signal): Add hidden prototype.
13591 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
13592 hidden def.
82dbf555
ST
13593 * libio/iolibio.h (_IO_puts): New hidden prototype.
13594 * libio/ioputs.c (_IO_puts): New hidden def.
171488a2
ST
13595 * sysdeps/mach/hurd/localplt.data: New file.
13596
33574c17
ST
135972018-04-02 Agustina Arzille <avarzille@riseup.net>
13598 Amos Jeffries <squid3@treenet.co.nz>
13599 David Michael <fedora.dm0@gmail.com>
13600 Marco Gerards <marco@gnu.org>
13601 Marcus Brinkmann <marcus@gnu.org>
13602 Neal H. Walfield <neal@gnu.org>
13603 Pino Toscano <toscano.pino@tiscali.it>
13604 Richard Braun <rbraun@sceen.net>
13605 Roland McGrath <roland@gnu.org>
13606 Samuel Thibault <samuel.thibault@ens-lyon.org>
13607 Thomas DiModica <ricinwich@yahoo.com>
13608 Thomas Schwinge <tschwinge@gnu.org>
13609
13610 * htl: New directory.
13611 * sysdeps/htl: New directory.
13612 * sysdeps/hurd/htl: New directory.
13613 * sysdeps/i386/htl: New directory.
13614 * sysdeps/mach/htl: New directory.
13615 * sysdeps/mach/hurd/htl: New directory.
13616 * sysdeps/mach/hurd/i386/htl: New directory.
13617 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
13618 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
13619 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
13620
03e2aa50
ST
136212018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13622
13623 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
13624 signals in thread created for runing timers.
13625
1aa52ced
FW
136262018-04-01 Florian Weimer <fweimer@redhat.com>
13627
13628 * support/support_format_addrinfo.c (support_format_addrinfo):
13629 Include unknown error number in formatted result.
13630
4d76d3e5
FW
136312018-03-29 Florian Weimer <fweimer@redhat.com>
13632
13633 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
13634 capture SIGBUS.
13635
d39c0a45
AZ
136362018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13637
13638 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
13639 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
13640 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13641 (__ASSUME_CLONE_BACKWARDS): Define.
13642
cc8a1620
JH
136432018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
13644
57408435 13645 [BZ #23024]
cc8a1620
JH
13646 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
13647 early when linux sentinel value is set.
13648
8bfd94d0
ST
136492018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13650
13651 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
13652
f178e59f
AS
136532018-03-27 Andreas Schwab <schwab@suse.de>
13654
13655 [BZ #23005]
13656 * resolv/res_send.c (__res_context_send): Return ENOMEM if
13657 allocation of private copy of nsaddr_list fails.
13658
5f45f96a
JM
136592018-03-26 Joseph Myers <joseph@codesourcery.com>
13660
13661 [BZ #16552]
13662 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
13663 * sysdeps/unix/sysv/linux/umount.c: ... here.
13664 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
13665 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
13666 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
13667 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
13668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
13669 * sysdeps/unix/sysv/linux/umount.S: Likewise.
13670 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
13671
3dfd23eb
AS
136722018-03-26 Andreas Schwab <schwab@suse.de>
13673
13674 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
13675 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
13676 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
13677 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
13678 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
13679 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
13680 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
13681 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
13682 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
13683 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
13684 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
13685 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
13686 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
13687 (R_RISCV_NUM): Define.
13688
fa97d2ab
ST
136892018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
13690
13691 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
13692 TLS declaration of errno.
37be82a0
ST
13693 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
13694 __libc_setup_tls.
13695 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
13696 (ARCH_SETUP_TLS): Likewise.
13697 * sysdeps/mach/hurd/libc-start.h: New file copied from
13698 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
978a6803
ST
13699 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
13700 instead of __libc_setup_tls.
37be82a0 13701 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
978a6803
ST
13702 __libc_setup_tls before initializing libpthread and running _hurd_init
13703 which starts the signal thread.
13704 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
13705 Declare function.
2d813d7b 13706 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fa97d2ab 13707
b8114edd
L
137082018-03-24 H.J. Lu <hongjiu.lu@intel.com>
13709
13710 [BZ #22998]
13711 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
13712 after it is defined.
13713
cd66c0e5
AS
137142018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
13715 Max Horn <max@quendi.de>
13716
13717 [BZ #22644]
43d4f3d5 13718 CVE-2017-18269
cd66c0e5
AS
13719 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
13720 branch conditions.
13721 * string/test-memmove.c (do_test2): New testcase.
13722
a4406139
JM
137232018-03-22 Joseph Myers <joseph@codesourcery.com>
13724
13725 * sysdeps/generic/frame.h: Remove file.
13726 * sysdeps/arm/frame.h: Likewise.
13727 * sysdeps/hppa/frame.h: Likewise.
13728 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
13729 macro.
13730 (GET_FRAME): Likewise.
13731 (GET_STACK): Likewise.
13732 (CALL_SIGHANDLER): Likewise.
13733 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
13734 Likewise.
13735 (GET_FRAME): Likewise.
13736 (GET_STACK): Likewise.
13737 (CALL_SIGHANDLER): Likewise.
13738 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
13739 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13740 (GET_FRAME): Likewise.
13741 (GET_STACK): Likewise.
13742 (CALL_SIGHANDLER): Likewise.
13743 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
13744 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13745 (GET_FRAME): Likewise.
13746 (GET_STACK): Likewise.
13747 (ADVANCE_STACK_FRAME): Likewise.
13748 (CALL_SIGHANDLER): Likewise.
13749 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
13750 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13751 (GET_FRAME): Likewise.
13752 (GET_STACK): Likewise.
13753 (CALL_SIGHANDLER): Likewise.
13754 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
13755 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13756 (GET_FRAME): Likewise.
13757 (GET_STACK): Likewise.
13758 (CALL_SIGHANDLER): Likewise.
13759 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
13760 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13761 (GET_FRAME): Likewise.
13762 (GET_STACK): Likewise.
13763 (CALL_SIGHANDLER): Likewise.
13764 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
13765 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13766 (GET_FRAME): Likewise.
13767 (GET_STACK): Likewise.
13768 (CALL_SIGHANDLER): Likewise.
13769 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
13770 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13771 (GET_FRAME): Likewise.
13772 (GET_STACK): Likewise.
13773 (CALL_SIGHANDLER): Likewise.
13774 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
13775 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13776 (GET_FRAME): Likewise.
13777 (GET_STACK): Likewise.
13778 (CALL_SIGHANDLER): Likewise.
13779 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
13780 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13781 (GET_FRAME): Likewise.
13782 (GET_STACK): Likewise.
13783 (CALL_SIGHANDLER): Likewise.
13784 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
13785 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13786 (GET_FRAME): Likewise.
13787 (GET_STACK): Likewise.
13788 (CALL_SIGHANDLER): Likewise.
13789 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
13790 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13791 (GET_FRAME): Likewise.
13792 (GET_STACK): Likewise.
13793 (CALL_SIGHANDLER): Likewise.
13794 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
13795 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13796 (FIRST_FRAME_POINTER): Likewise.
13797 (ADVANCE_STACK_FRAME): Likewise.
13798 (GET_STACK): Likewise.
13799 (GET_FRAME): Likewise.
13800 (CALL_SIGHANDLER): Likewise.
13801 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
13802 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13803 (ADVANCE_STACK_FRAME): Likewise.
13804 (GET_STACK): Likewise.
13805 (GET_FRAME): Likewise.
13806 (CALL_SIGHANDLER): Likewise.
13807 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
13808 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13809 (GET_FRAME): Likewise.
13810 (GET_STACK): Likewise.
13811 (CALL_SIGHANDLER): Likewise.
13812 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
13813 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13814 (GET_FRAME): Likewise.
13815 (GET_STACK): Likewise.
13816 (CALL_SIGHANDLER): Likewise.
13817
ffec7b27
JM
138182018-03-21 Joseph Myers <joseph@codesourcery.com>
13819
13820 * sysdeps/x86_64/backtrace.c: Move to ....
13821 * debug/backtrace.c: ... here.
13822 * sysdeps/aarch64/backtrace.c: Remove file.
13823 * sysdeps/alpha/backtrace.c: Likewise.
13824 * sysdeps/hppa/backtrace.c: Likewise.
13825 * sysdeps/ia64/backtrace.c: Likewise.
13826 * sysdeps/mips/backtrace.c: Likewise.
13827 * sysdeps/nios2/backtrace.c: Likewise.
13828 * sysdeps/riscv/backtrace.c: Likewise.
13829 * sysdeps/sh/backtrace.c: Likewise.
13830 * sysdeps/tile/backtrace.c: Likewise.
13831
8a07b0c4
JM
138322018-03-20 Joseph Myers <joseph@codesourcery.com>
13833
d0c5d731
JM
13834 [BZ #22987]
13835 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
13836 function.
13837 (fdimf): Likewise.
13838 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
13839
8a07b0c4
JM
13840 [BZ #17343]
13841 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
13842 possibly overflowing computations.
13843
ceb54b9b
ST
138442018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
13845
13846 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
13847 values from Linux-specific section now that it is in the GNU section.
13848 * sysdeps/gnu/errlist.c: Regenerate.
13849
8d3f9e85
JM
138502018-03-20 Joseph Myers <joseph@codesourcery.com>
13851
13852 * math/Makefile (libm-narrow-fns): Add sub.
13853 (libm-test-funcs-narrow): Likewise.
13854 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
13855 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
13856 * math/gen-auto-libm-tests.c (test_functions): Add sub.
13857 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
13858 (NARROW_SUB_ROUND_TO_ODD): Likewise.
13859 (NARROW_SUB_TRIVIAL): Likewise.
13860 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
13861 macro.
13862 (__dsubl): Likewise.
13863 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
13864 dsub.
13865 (CFLAGS-nldbl-dsub.c): New variable.
13866 (CFLAGS-nldbl-fsub.c): Likewise.
13867 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13868 __nldbl_dsubl.
13869 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
13870 prototype.
13871 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
13872 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
13873 * math/auto-libm-test-in: Add tests of sub.
13874 * math/auto-libm-test-out-narrow-sub: New generated file.
13875 * math/libm-test-narrow-sub.inc: New file.
13876 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
13877 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
13878 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
13879 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
13880 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
13881 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
13882 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
13883 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
13884 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
13885 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
13886 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
13887 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
13888 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
13889 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
13890 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
13891 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
13892 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
13893 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
13894 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13895 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13896 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13897 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13898 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13899 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13900 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13901 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13902 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13903 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13904 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13905 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13906 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13907 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13912 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13913 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13914 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13915 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13916 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13917 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13918 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
13919 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
13920 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13921 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13922
d473f015
JM
139232018-03-19 Joseph Myers <joseph@codesourcery.com>
13924
13925 [BZ #20079]
13926 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
13927
fbce6f72
WD
139282018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
13929
13930 * benchtests/bench-timing.h (attribute_hidden): Undefine.
13931
72e7ffc3
RB
139322018-03-18 Richard Braun <rbraun@sceen.net>
13933
13934 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
13935 thread reference.
13936
542c20a1
AA
139372018-03-18 Agustina Arzille <avarzille@riseup.net>
13938
13939 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
13940 (__libc_cleanup_fct): Define function.
13941 (__libc_cleanup_region_start, __libc_cleanup_region_end,
13942 __libc_cleanup_end): Rewrite implementation using
13943 __attribute__ ((__cleanup__)).
13944 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
fb4cc8a0
AA
13945 * hurd/Makefile (routines): Add hurdlock.
13946 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
13947 interface.
13948 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
13949 * hurd/hurdpid.c: Include <lowlevellock.h>
13950 (_S_msg_proc_newids): Use lll_wait to synchronize.
13951 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
13952 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
13953 * mach/Makefile (lock-headers): Remove machine-lock.h.
13954 * mach/lock-intern.h: Include <lowlevellock.h> instead of
13955 <machine-lock.h>.
13956 (__spin_lock_t): New type.
13957 (__SPIN_LOCK_INITIALIZER): New macro.
13958 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
13959 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
13960 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
13961 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
13962 (__mutex_init): Initialize with lll.
13963 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
13964 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
13965 needing lll.
13966 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13967 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
13968 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
13969 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
13970 (__setpgid): Use lll for synchronization.
13971 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
13972 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
13973 instead of <cthreads.h>.
13974 (_IO_lock_inexpensive): New macro
13975 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
13976 (__libc_lock_self0): New declaration.
13977 (__libc_lock_owner_self): New macro.
13978 (__libc_key_t): Remove type.
13979 (_LIBC_LOCK_INITIALIZER): New macro.
13980 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
13981 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
13982 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
13983 __libc_lock_define_initialized_recursive,
13984 __rtld_lock_define_initialized_recursive,
13985 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
13986 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
13987 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
13988 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
13989 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
13990 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
13991 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
13992 New macros.
13993 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
13994 * hurd/hurdlock.c: New file.
13995 * hurd/hurdlock.h: New file.
13996 * mach/lowlevellock.h: New file
542c20a1 13997
9a37922e
ST
139982018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13999
14000 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
489999cc
ST
14001 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
14002 when opening a symlink with O_NOFOLLOW.
72103e73
ST
14003 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
14004 path when flags contains O_NOFOLLOW.
14005 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
14006 if flags contains O_DIRECTORY and the result is a directory.
aa218929
ST
14007 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
14008 oneself when the pointer given in D is nul (as set by ext2fs).
20bc801b
ST
14009 * sysdeps/mach/hurd/mlockall.c: New file.
14010 * sysdeps/mach/hurd/munlockall.c: New file.
9a37922e 14011
34e6a869
ST
140122018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
14013
14014 * hurd/hurdsig.c: Include <pthread.h>.
14015 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
14016 get the signal thread stack layout.
dc33bef3
ST
14017 * hurd/Makefile (headers): Remove threadvar.h.
14018 (inline-headers): Remove threadvar.h.
14019 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
14020 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
14021 __hurd_threadvar_max, __hurd_errno_location.
14022 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
14023 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
14024 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
14025 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
14026 unless TLS is not initialized yet, in which case we do not need a
14027 critical section yet anyway.
14028 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
14029 <machine-sp.h>.
14030 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
14031 declarations.
14032 (__hurd_threadvar_index): Remove enum.
14033 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
14034 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
14035 inlines.
14036 (__hurd_reply_port0): New variable declaration.
14037 (__hurd_local_reply_port): New macro.
14038 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
14039 (interrupted_reply_port_location): Add thread_t parameter. Use it
14040 with THREAD_TCB to access thread-local variables.
14041 (_hurdsig_abort_rpcs): Pass ss->thread to
14042 interrupted_reply_port_location.
14043 (_hurd_internal_post_signal): Likewise.
14044 (_hurdsig_init): Use presence of cthread_fork instead of
14045 __hurd_threadvar_stack_mask to start signal thread by hand.
14046 Remove signal thread threadvar initialization.
14047 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
14048 * hurd/sigunwind.c: Include <hurd/threadvar.h>
14049 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
14050 of threadvar.
14051 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
14052 __libc_lock_self0.
14053 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
14054 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
14055 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
14056 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
14057 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
14058 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
14059 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
14060 define variables.
14061 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
14062 <hurd/threadvar.h>.
14063 [IS_IN(rtld)] (rtld_errno): New variable.
14064 [IS_IN(rtld)] (__errno_location): New weak function.
14065 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
14066 * sysdeps/mach/hurd/errno.c: Remove file.
14067 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
14068 (__fork): Remove THREADVAR_SPACE macro and its use.
14069 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
14070 variable.
14071 (init): Do not initialize threadvar.
14072 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
14073 symbol.
14074 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
14075 __hurd_local_reply_port instead of threadvar.
14076 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
14077 _hurd_sigstate fields.
14078 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
14079 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
14080 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
14081 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
14082 instead of threadvar.
14083 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
14084 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
14085 (use_threadvar, global_reply_port): Remove variables.
14086 (__hurd_reply_port0): New variable.
14087 (__mig_get_reply_port): Use __hurd_local_reply_port and
14088 __hurd_reply_port0 instead of threadvar.
14089 (__mig_dealloc_reply_port): Likewise.
14090 (__mig_init): Do not initialize threadvar.
14091 * sysdeps/mach/hurd/profil.c: Fix comment.
c2fb08c7
ST
14092 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
14093 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
14094 cthread_keycreate, cthread_getspecific, cthread_setspecific to
14095 __cthread_fork, __cthread_detach, __pthread_getattr_np,
14096 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
14097 __cthread_setspecific.
14098 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
14099 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
14100 __cthread_t instead of cthread_fork, cthread_detach,
14101 pthread_getattr_np, pthread_attr_getstack.
14102 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
14103 __cthread_keycreate.
14104 (cthread_getspecific): Rename to __cthread_getspecific.
14105 (cthread_setspecific): Rename to __cthread_setspecific.
14106 (__libc_getspecific): Use __cthread_getspecific instead of
14107 cthread_getspecific.
14108 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
14109 __cthread_keycreate instead of cthread_keycreate.
14110 (__libc_setspecific): Use __cthread_setspecific instead of
14111 cthread_setspecific.
14112 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
14113 Likewise.
dd28d4ba
ST
14114 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
14115 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
14116 testing whether it is defined.
34e6a869 14117
f8baf2a2
ST
141182018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14119
14120 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
14121 Define macro.
14122 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
14123 * sysdeps/mach/i386/thread_state.h
14124 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
14125 i386_THREAD_STATE.
14126 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
14127 i386_THREAD_STATE.
14128 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
14129
14130 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
14131 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
14132
14133 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
14134 macros.
14135 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
14136 descriptor instead of creating a new one.
14137 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
14138
14139 * mach/setup-thread.c: Include <ldsodefs.h>.
14140 (__mach_setup_thread): Call _dl_allocate_tls, pass
14141 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
14142 MACHINE_THREAD_STATE_FLAVOR, before getting
14143 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
14144 MACHINE_THREAD_STATE_FLAVOR with the result.
14145 * hurd/hurdfault.c (_hurdsig_fault_init): Call
14146 MACHINE_THREAD_STATE_FIX_NEW.
14147 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
14148 too. Add original thread parameter.
14149
34ba96b8
JM
141502018-03-16 Joseph Myers <joseph@codesourcery.com>
14151
5d75b75f
JM
14152 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
14153 Remove inline function.
14154
34ba96b8
JM
14155 * sysdeps/i386/fpu/libm-test-ulps: Update.
14156 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
14157
22679b2c
WD
141582018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
14159
14160 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
14161 commit.
14162
c429a8d8
JM
141632018-03-15 Joseph Myers <joseph@codesourcery.com>
14164
14165 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
14166 (__sincos_code): Remove define and undefine.
14167 [__FAST_MATH__] (__sincos): Remove inline function.
14168 [__FAST_MATH__] (__sincosf): Remove inline function.
14169 [__FAST_MATH__] (__sincosl): Remove inline function.
14170 (__atan2l): Remove inline functions.
14171 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
14172 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
14173 function.
14174 (floor): Remove inline function.
14175 (ceil): Likewise.
14176 [__FAST_MATH__] (__ldexp_code): Remove macro.
14177 [__FAST_MATH__] (ldexp): Remove inline function.
14178 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
14179 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
14180 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
14181 [__USE_ISOC99] (__lrint_code): Remove macro.
14182 [__USE_ISOC99] (__llrint_code): Likewise.
14183 [__USE_ISOC99] (lrintf): Remove inline function.
14184 [__USE_ISOC99] (lrint): Likewise.
14185 [__USE_ISOC99] (lrintl): Likewise.
14186 [__USE_ISOC99] (llrint): Likewise.
14187 [__USE_ISOC99] (llrintf): Likewise.
14188 [__USE_ISOC99] (llrintl): Likewise.
14189
700593fd
WD
141902018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14191
14192 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
14193 (__ieee754_sqrtf): Remove.
14194 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
14195 (__ieee754_sqrtf): Remove.
14196 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
14197 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
14198 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
14199 (__ieee754_sqrtf): Remove.
14200 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
14201 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
14202 (sqrtf): Remove.
14203 (sqrtl): Remove.
14204 (__ieee754_sqrt): Remove.
14205 (__ieee754_sqrtf): Remove.
14206 (__ieee754_sqrtl): Remove.
14207 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
14208 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
14209 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
14210 (__ieee754_sqrtf): Remove.
14211 (__ieee754_sqrtl): Remove.
14212
f67a8147
WD
142132018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14214
14215 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
14216 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
14217 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
14218 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
14219 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
14220 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14221 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14222 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
14223 Likewise.
14224 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
14225 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
14226 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
14227 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
14228 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
14229 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
14230 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
14231 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
14232 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
14233 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
14234 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
14235 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
14236 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
14237 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
14238 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
14239 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
14240 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14241 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
14242 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
14243 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
14244 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14245 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14246 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
14247 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
14248 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
14249 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
14250 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14251 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14252 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
14253 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
14254 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
14255 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
14256 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
14257 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
14258 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14259 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14260 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
14261 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
14262 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
14263 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
14264
1294b189
WD
142652018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14266
14267 * include/math.h (sqrt): Declare with asm redirect.
14268 (sqrtf): Likewise.
14269 (sqrtl): Likewise.
14270 (sqrtf128): Likewise.
14271 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
14272 nonlib and libnldbl with -fmath-errno.
14273 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
14274 * math/w_sqrt_template.c: Likewise.
14275 * math/w_sqrtf_compat.c: Likewise.
14276 * math/w_sqrtl_compat.c: Likewise.
14277 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
14278 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
14279 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
14280 complex.h.
14281
f1c8185d
WD
142822018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
14283
14284 * benchtests/Makefile: Define _ISOMAC.
14285 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
14286 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
14287 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
14288 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
14289 * benchtests/bench-timing.h: Define attribute_hidden.
14290
b47c3e76
SP
142912018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
14292
14293 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
14294 mov + lsr.
14295
807fee29
RL
142962018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14297
14298 [BZ #22963]
14299 * localedata/locales/cs_CZ (mon): Rename to...
14300 (alt_mon): This.
14301 (mon): Import from CLDR (genitive case).
14302
e7155a28
RL
143032018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14304
14305 [BZ #22937]
14306 * localedata/locales/el_CY (abmon): Rename to...
14307 (ab_alt_mon): This.
14308 (abmon): Import from CLDR (abbreviated genitive case).
14309 * localedata/locales/el_GR (abmon): Rename to...
14310 (ab_alt_mon): This.
14311 (abmon): Import from CLDR (abbreviated genitive case).
14312
71d7b121
RL
143132018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
14314
14315 [BZ #22932]
14316 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
14317
a00bffe8
RB
143182018-03-15 Robert Buj <robert.buj@gmail.com>
14319
14320 [BZ #22848]
14321 * localedata/locales/ca_ES (abmon): Rename to...
14322 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
14323 (mon): Rename to...
14324 (alt_mon): This.
14325 (abmon): Import from CLDR (genitive case, month names preceded by
14326 "de" or "d’").
14327 (mon): Likewise.
14328 (abday): Synchronize with CLDR.
14329 (d_t_fmt): Likewise.
14330 (d_fmt): Likewise.
14331 (am_pm): Likewise.
14332
14333 (LC_TIME): Improve indentation.
14334 (LC_TELEPHONE): Likewise.
14335 (LC_NAME): Likewise.
14336 (LC_ADDRESS): Likewise.
14337
f9555d73
JM
143382018-03-14 Joseph Myers <joseph@codesourcery.com>
14339
14340 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
14341 (lrintf): Remove definitions used only with old GCC.
14342 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
14343 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
14344 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
14345 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
14346 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
14347 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
14348 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
14349 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
14350 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
14351 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
14352 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
14353 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
14354 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
14355 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
14356 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
14357 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
14358 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
14359 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
14360 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
14361 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
14362 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
14363 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
14364 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
14365 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
14366 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
14367 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
14368 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
14369 [__FAST_MATH__] (__M_SQRT2): Remove macro.
14370
d46f84de
SP
143712018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
14372
14373 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
14374 instruction to unbreak builds with binutils 2.26 and older.
14375
7108f1f9
SP
143762018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
14377
14378 * sysdeps/aarch64/strncmp.S (count): New macro.
14379 (strncmp): Store misaligned length in SRC1 in COUNT.
14380 (mutual_align): Adjust.
14381 (misaligned8): Load dword at a time when it is safe.
14382
2cc7bad0
ZW
143832018-03-12 Zack Weinberg <zackw@panix.com>
14384
14385 [BZ #1190]
14386 [BZ #19476]
14387 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
14388 if the _IO_EOF_SEEN bit is already set; update commentary.
14389 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
14390 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
14391
14392 * support/support_openpty.c, support/tty.h: New files.
14393 * support/Makefile (libsupport-routines): Add support_openpty.
14394
14395 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
14396 New test cases.
14397 * libio/Makefile (tests): Add tst-fgetc-after-eof.
14398 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
14399
778f1974
DL
144002018-03-12 Dmitry V. Levin <ldv@altlinux.org>
14401
14402 * po/pt_BR.po: Update translations.
14403
da6d4404
DM
144042018-03-12 David Michael <fedora.dm0@gmail.com>
14405
14406 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
14407 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
14408 get a port to the startup server.
14409
d3da750d
ZW
144102018-03-11 Zack Weinberg <zackw@panix.com>
14411
14412 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
14413 before nldbl-compat.h.
14414
054b72cc
ZW
144152018-03-10 Zack Weinberg <zackw@panix.com>
14416
0d13dfa1
ZW
14417 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
14418 math.h or math_private.h.
14419
14420 * sysdeps/alpha/fpu/s_isnan.c
14421 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
14422 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
14423 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
14424 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
14425 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
14426 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
14427 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
14428 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
14429 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
14430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
14431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
14432 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
14433 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
14434 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
14435 Include math_private.h.
14436
14437 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
14438 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
14439 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
14440 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
14441 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
14442 * sysdeps/powerpc/power7/fpu/s_logb.c:
14443 Include math.h and math_private.h.
14444
054b72cc
ZW
14445 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
14446 uses of $at in .set noat / .set at.
14447
6253bacd
L
144482018-03-10 H.J. Lu <hongjiu.lu@intel.com>
14449
14450 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
14451 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
14452 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
14453 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
14454 Likewise.
14455
229855e5
FW
144562018-03-09 Florian Weimer <fweimer@redhat.com>
14457
14458 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
14459 in comment.
14460
9aa5c222
AJ
144612018-03-09 Aurelien Jarno <aurelien@aurel32.net>
14462
14463 [BZ #22919]
14464 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
14465 Add nop before __startcontext, add explaining comments.
14466
3dc21497
AZ
144672018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14468
e921c89e
AZ
14469 [BZ #22926]
14470 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
14471 empty for __SPE__.
14472 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
14473 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
14474 Do not build hardware transactional code for __SPE__.
14475 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
14476 (__lll_trylock_elision): Likewise.
14477 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
14478 (__lll_unlock_elision): Likewise.
14479
d9f26dab 14480 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
3dc21497
AZ
14481 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
14482 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
14483 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
14484 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
14485 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
14486 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
14487 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
14488 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
14489 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
14490 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
14491 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
14492 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
14493 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
14494 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
14495 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
14496 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
14497 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
14498 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
14499 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
14500 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
14501 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14502 (__ASSUME_CLONE_BACKWARDS): Define.
14503 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
14504 __clone2 if __NR_clone2 is defined.
14505 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14506 (__ASSUME_CLONE_BACKWARDS): Likewise.
14507 * sysdeps/unix/sysv/linux/i386/kernel-features.h
14508 (__ASSUME_CLONE_BACKWARDS): Likewise.
14509 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14510 (__ASSUME_CLONE2): Likewise.
14511 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14512 (__ASSUME_CLONE_BACKWARDS3): Likewise.
14513 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
14514 variants and the define architecture can use.
14515 (__ASSUME_CLONE_DEFAULT): Define as default.
14516 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14517 (__ASSUME_CLONE_BACKWARDS): Likewise.
14518 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14519 (__ASSUME_CLONE_BACKWARDS): Likewise.
14520 * sysdeps/unix/sysv/linux/s390/kernel-features.h
14521 (__ASSUME_CLONE_BACKWARDS2): Likewise.
14522
adc95fb0
SP
145232018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
14524
4e54d918
SP
14525 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
14526
30a81dae
SP
14527 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
14528 time.
14529
adc95fb0
SP
14530 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
14531 (do_test_limit): Likewise.
14532
14533 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
14534 for every implementation.
14535 (do_test): Likewise.
14536
14537 * benchtests/bench-strncmp.c: Convert output to json.
14538
4e9066bc
ST
145392018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14540
14541 * io/futimens.c: Add missing start-of-file descriptive comment.
14542 * io/utime.c: Likewise.
14543 * misc/futimesat.c: Likewise.
14544 * misc/utimes.c: Likewise.
14545 * sysdeps/mach/hurd/futimesat.c: Likewise.
14546 * sysdeps/mach/hurd/utimes.c: Likewise.
14547 * sysdeps/posix/utime.c: Likewise.
14548 * sysdeps/posix/utimes.c: Likewise.
14549 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
14550 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
14551 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
14552 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
14553
ec1300cf
ST
145542018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
14555
14556 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
14557 hurd_futimes.
14558 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
14559 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
14560 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
14561 (__futimens): Move implementation to...
14562 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
14563 utime_tvalue_from_tspec): ... new helper functions.
14564 (hurd_futimens): New function.
14565 * sysdeps/mach/hurd/futimesat.c: New file.
14566 * sysdeps/mach/hurd/utimensat.c: New file.
14567
bbe762d1
FC
145682018-03-05 Flávio Cruz <flaviocruz@gmail.com>
14569
14570 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
14571 UTIME_OMIT): New macros.
14572 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
14573 before reverting to converting time spec to time value and calling
14574 __file_utimes.
14575 * sysdeps/mach/hurd/utime-helper.c: New file.
14576 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
14577 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
14578 reverting to utime_tvalue_from_tval and __file_utimes.
14579 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
14580 (__lutimes): Just call hurd_futimens after lookup.
14581 * sysdeps/mach/hurd/utimes.c: Likewise.
14582
a1ede3a4
ST
145832018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
14584
14585 * bits/sigaction.h: Add include guard.
14586 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
14587 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
14588 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
14589 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
14590 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
14591 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
14592 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
14593 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
14594 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
14595
6900d2ca
JM
145962018-03-05 Joseph Myers <joseph@codesourcery.com>
14597
14598 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
14599 -Wmaybe-uninitialized for -Os.
14600 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
14601 this disabling.
14602
68448be2
AZ
146032018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14604
5226a81f
AZ
14605 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
14606 __INO_T_MATCHES_INO64_T is defined.
14607 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
14608 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
14609 of definition.
14610 * dirent/alphasort64.c: Likewise.
14611 * dirent/scandir.c: Likewise.
14612 * dirent/scandir64-tail.c: Likewise.
14613 * dirent/scandir64.c: Likewise.
14614 * dirent/scandirat.c: Likewise.
14615 * dirent/scandirat64.c: Likewise.
14616 * dirent/versionsort.c: Likewise.
14617 * dirent/versionsort64.c: Likewise.
14618 * include/dirent.h: Likewise.
14619
fbd01e6c
AZ
14620 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
14621 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
14622 for socketpair endpoint.
14623 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
14624 WRITE_BUFFER_SIZE as buffer size for sending socket.
14625 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
14626 issue on system where send is implemented with sendto syscall.
14627 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
14628 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
14629 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
14630 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
14631
68448be2
AZ
14632 [BZ #21269]
14633 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
14634 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
14635 sa_restorer for vDSO case.
14636 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
14637
eb1ca47e
ST
146382018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
14639
14640 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
e30c291a
ST
14641 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
14642 * hurd/hurd/ioctl.h: Include <mach/port.h>
14643 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
f4bff843
ST
14644 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
14645 <mach/mach_types.h> and <mach/message.h>.
430fd945
ST
14646 (headers): Move mach/param.h to bits/mach/param.h.
14647 * sysdeps/mach/i386/mach/param.h: Move file to ...
14648 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
14649 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
14650 of <mach/param.h>.
3403cb7d
ST
14651 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
14652 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
14653 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
48d34cbc
ST
14654 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
14655 trivial, for C++ conformity.
44c6376c 14656 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
95dfdbd2
ST
14657 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
14658 Process mig output through $(migheadersed).
14659 * hurd/Makefile (migheadersed): Define variable.
a726c87a
ST
14660 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
14661 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
14662 headers.
ba89615d
ST
14663 * hurd/hurd.h: Include <bits/types/sigset_t.h>
14664 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
14665 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
14666 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
14667 <bits/types/sigset_t.h>.
14668 [!defined __USE_GNU]: Do not #error out.
14669 (struct hurd_sigstate): Use _NSIG instead of NSIG.
14670 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
14671 Include <stddef.h> and <bits/types/sigset_t.h>
14672 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
14673 instead of sighandler_t.
974393ea
ST
14674 * stdlib/errno.h (error_t): Move definition to...
14675 * bits/types/error_t.h: ... new header.
14676 * stdlib/Makefile (headers): Add bits/types/error_t.h.
14677 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
14678 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
14679 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
14680 * hurd/hurd.h: Include <bits/types/error_t.h>
14681 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
14682 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
14683 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
14684 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
14685 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
14686 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
8d965cde 14687 * sysdeps/mach/hurd/futimens.c: New file.
eb1ca47e 14688
eaf6753f
AS
146892018-03-03 Andreas Schwab <schwab@linux-m68k.org>
14690
14691 [BZ #22918]
14692 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
14693 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
14694 * nscd/gai.c (__nss_hosts_database): Readd definition.
14695 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
14696 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
14697 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
14698
4dc23804
JM
146992018-03-02 Joseph Myers <joseph@codesourcery.com>
14700
14701 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
14702 (ifunc_one): Likewise.
14703
1c81d55f
DD
147042018-03-01 DJ Delorie <dj@delorie.com>
14705
14706 [BZ #22342]
14707 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
14708 key value.
14709
b717c14f
MR
147102018-03-01 Maciej W. Rozycki <macro@mips.com>
14711
14712 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
14713 `match_pid' parameter.
14714 (td_ta_thr_iter): Update accordingly.
14715
1efe1358
FW
147162018-03-01 Florian Weimer <fweimer@redhat.com>
14717
14718 * nptl/Makefile (install-lib-ldscripts): Remove.
14719 (install): Remove rule.
14720 ($(inst_libdir)/libpthread.so): Likewise.
14721
a527f09c
MF
147222018-03-01 Mike FABIAN <mfabian@redhat.com>
14723
14724 [BZ #22896]
14725 * localedata/locales/an_ES: update month and day names,
14726 improve d_fmt, improve postal_fmt, add country_post,
14727 add country_isbn
14728
35d660b0
MF
147292018-03-01 Mike FABIAN <mfabian@redhat.com>
14730
14731 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
14732 Ukrainian instead of Bulgarian.
14733
1a2f44a8
FW
147342018-03-01 Florian Weimer <fweimer@redhat.com>
14735
14736 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
14737 reference.
14738
bd60ce86
FW
147392018-03-01 Florian Weimer <fweimer@redhat.com>
14740
14741 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
14742 * nptl/Makefile (routines): Add pthread_atfork.
14743 (static-only-routines): Set to pthread_atfork.
14744 (libpthread-routines): Remove pthread_atfork.
14745 (libpthread-static-only-routines): Remove.
14746 (install): Update comment.
14747 (libpthread.so): Do not install libpthread_nonshared.a.
14748 (tests): Do not link with libpthread_nonshared.a.
14749 (generated): Remove libpthread_nonshared.a.
14750 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
14751 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
14752 with libpthread_nonshared.a.
14753
000f290f
JM
147542018-02-28 Joseph Myers <joseph@codesourcery.com>
14755
e2bcf6a8
JM
14756 [BZ #22902]
14757 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
14758 (libc_feholdexcept_setroundf128): New macro.
14759 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
14760
000f290f
JM
14761 [BZ #15105]
14762 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
14763 libc_hidden_def.
14764 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
14765 * include/inttypes.h: New file.
14766
02f2fead
JM
147672018-02-27 Joseph Myers <joseph@codesourcery.com>
14768
14769 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
14770 -Os in two more places.
14771
874c56d7
MF
147722018-02-27 Mike FABIAN <mfabian@redhat.com>
14773
14774 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
14775 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
14776 be sorted correctly at the moment because of a bug.
14777
15973854
MF
147782018-02-27 Mike FABIAN <mfabian@redhat.com>
14779
14780 [BZ #22550] - es_ES locale (and other es_* locales): collation should
14781 treat ñ as a primary different character, sync the collation
14782 for Spanish with CLDR.
14783 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
14784 * localedata/Makefile: Add new test files.
14785 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
14786 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
14787 collation order.
14788 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
14789 * localedata/am_ET.UTF-8.in: New test file.
14790 * localedata/az_AZ.UTF-8.in: Likewise.
14791 * localedata/be_BY.UTF-8.in: Likewise.
14792 * localedata/ber_DZ.UTF-8.in: Likewise.
14793 * localedata/ber_MA.UTF-8.in: Likewise.
14794 * localedata/bg_BG.UTF-8.in: Likewise.
14795 * localedata/br_FR.UTF-8.in: Likewise.
14796 * localedata/cmn_TW.UTF-8.in: Likewise.
14797 * localedata/crh_UA.UTF-8.in: Likewise.
14798 * localedata/csb_PL.UTF-8.in: Likewise.
14799 * localedata/cv_RU.UTF-8.in: Likewise.
14800 * localedata/cy_GB.UTF-8.in: Likewise.
14801 * localedata/dz_BT.UTF-8.in: Likewise.
14802 * localedata/eo.UTF-8.in: Likewise.
14803 * localedata/es_ES.UTF-8.in: Likewise.
14804 * localedata/fa_IR.UTF-8.in: Likewise.
14805 * localedata/fi_FI.UTF-8.in: Likewise.
14806 * localedata/fil_PH.UTF-8.in: Likewise.
14807 * localedata/fur_IT.UTF-8.in: Likewise.
14808 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
14809 * localedata/ha_NG.UTF-8.in: Likewise.
14810 * localedata/ig_NG.UTF-8.in: Likewise.
14811 * localedata/ik_CA.UTF-8.in: Likewise.
14812 * localedata/kk_KZ.UTF-8.in: Likewise.
14813 * localedata/ku_TR.UTF-8.in: Likewise.
14814 * localedata/ky_KG.UTF-8.in: Likewise.
14815 * localedata/ln_CD.UTF-8.in: Likewise.
14816 * localedata/mi_NZ.UTF-8.in: Likewise.
14817 * localedata/ml_IN.UTF-8.in: Likewise.
14818 * localedata/mn_MN.UTF-8.in: Likewise.
14819 * localedata/mr_IN.UTF-8.in: Likewise.
14820 * localedata/mt_MT.UTF-8.in: Likewise.
14821 * localedata/nb_NO.UTF-8.in: Likewise.
14822 * localedata/om_KE.UTF-8.in: Likewise.
14823 * localedata/os_RU.UTF-8.in: Likewise.
14824 * localedata/ps_AF.UTF-8.in: Likewise.
14825 * localedata/ro_RO.UTF-8.in: Likewise.
14826 * localedata/ru_RU.UTF-8.in: Likewise.
14827 * localedata/sc_IT.UTF-8.in: Likewise.
14828 * localedata/se_NO.UTF-8.in: Likewise.
14829 * localedata/sq_AL.UTF-8.in: Likewise.
14830 * localedata/sv_SE.UTF-8.in: Likewise.
14831 * localedata/szl_PL.UTF-8.in: Likewise.
14832 * localedata/tg_TJ.UTF-8.in: Likewise.
14833 * localedata/tk_TM.UTF-8.in: Likewise.
14834 * localedata/tt_RU.UTF-8.in: Likewise.
14835 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
14836 * localedata/ug_CN.UTF-8.in: Likewise.
14837 * localedata/uz_UZ.UTF-8.in: Likewise.
14838 * localedata/vi_VN.UTF-8.in: Likewise.
14839 * localedata/yi_US.UTF-8.in: Likewise.
14840 * localedata/yo_NG.UTF-8.in: Likewise.
14841 * localedata/zh_CN.UTF-8.in: Likewise.
14842 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
14843 file and fix bugs in the collation.
14844 * localedata/locales/az_AZ: Likewise.
14845 * localedata/locales/be_BY: Likewise.
14846 * localedata/locales/ber_DZ: Likewise.
14847 * localedata/locales/ber_MA: Likewise.
14848 * localedata/locales/bg_BG: Likewise.
14849 * localedata/locales/br_FR: Likewise.
14850 * localedata/locales/br_FR@euro: Likewise.
14851 * localedata/locales/ca_ES: Likewise.
14852 * localedata/locales/cns11643_stroke: Likewise.
14853 * localedata/locales/crh_UA: Likewise.
14854 * localedata/locales/cs_CZ: Likewise.
14855 * localedata/locales/csb_PL: Likewise.
14856 * localedata/locales/cv_RU: Likewise.
14857 * localedata/locales/cy_GB: Likewise.
14858 * localedata/locales/da_DK: Likewise.
14859 * localedata/locales/dz_BT: Likewise.
14860 * localedata/locales/en_CA: Likewise.
14861 * localedata/locales/eo: Likewise.
14862 * localedata/locales/es_CU: Likewise.
14863 * localedata/locales/es_EC: Likewise.
14864 * localedata/locales/es_ES: Likewise.
14865 * localedata/locales/es_US: Likewise.
14866 * localedata/locales/et_EE: Likewise.
14867 * localedata/locales/fa_IR: Likewise.
14868 * localedata/locales/fi_FI: Likewise.
14869 * localedata/locales/fil_PH: Likewise.
14870 * localedata/locales/fur_IT: Likewise.
14871 * localedata/locales/gez_ER@abegede: Likewise.
14872 * localedata/locales/ha_NG: Likewise.
14873 * localedata/locales/hr_HR: Likewise.
14874 * localedata/locales/hsb_DE: Likewise.
14875 * localedata/locales/hu_HU: Likewise.
14876 * localedata/locales/ig_NG: Likewise.
14877 * localedata/locales/ik_CA: Likewise.
14878 * localedata/locales/is_IS: Likewise.
14879 * localedata/locales/iso14651_t1_pinyin: Likewise.
14880 * localedata/locales/kk_KZ: Likewise.
14881 * localedata/locales/ku_TR: Likewise.
14882 * localedata/locales/ky_KG: Likewise.
14883 * localedata/locales/ln_CD: Likewise.
14884 * localedata/locales/lt_LT: Likewise.
14885 * localedata/locales/lv_LV: Likewise.
14886 * localedata/locales/mi_NZ: Likewise.
14887 * localedata/locales/ml_IN: Likewise.
14888 * localedata/locales/mn_MN: Likewise.
14889 * localedata/locales/mr_IN: Likewise.
14890 * localedata/locales/mt_MT: Likewise.
14891 * localedata/locales/nb_NO: Likewise.
14892 * localedata/locales/om_KE: Likewise.
14893 * localedata/locales/os_RU: Likewise.
14894 * localedata/locales/pl_PL: Likewise.
14895 * localedata/locales/ps_AF: Likewise.
14896 * localedata/locales/ro_RO: Likewise.
14897 * localedata/locales/ru_RU: Likewise.
14898 * localedata/locales/ru_UA: Likewise.
14899 * localedata/locales/sc_IT: Likewise.
14900 * localedata/locales/se_NO: Likewise.
14901 * localedata/locales/si_LK: Likewise.
14902 * localedata/locales/sq_AL: Likewise.
14903 * localedata/locales/sv_FI: Likewise.
14904 * localedata/locales/sv_FI@euro: Likewise.
14905 * localedata/locales/sv_SE: Likewise.
14906 * localedata/locales/szl_PL: Likewise.
14907 * localedata/locales/tg_TJ: Likewise.
14908 * localedata/locales/ti_ER: Likewise.
14909 * localedata/locales/tk_TM: Likewise.
14910 * localedata/locales/tl_PH: Likewise.
14911 * localedata/locales/tr_TR: Likewise.
14912 * localedata/locales/tt_RU: Likewise.
14913 * localedata/locales/tt_RU@iqtelif: Likewise.
14914 * localedata/locales/ug_CN: Likewise.
14915 * localedata/locales/uk_UA: Likewise.
14916 * localedata/locales/uz_UZ: Likewise.
14917 * localedata/locales/uz_UZ@cyrillic: Likewise.
14918 * localedata/locales/vi_VN: Likewise.
14919 * localedata/locales/yi_US: Likewise.
14920 * localedata/locales/yo_NG: Likewise.
14921
ce6636b0
MF
149222018-02-27 Mike FABIAN <mfabian@redhat.com>
14923
14924 * gen-locales.mk: Make test files which contain @ modifiers in their
14925 name work.
14926 * localedata/gen-locale.sh: Likewise.
14927
ac3a3b4b
MF
149282018-02-27 Mike FABIAN <mfabian@redhat.com>
14929
14930 * posix/tst-fnmatch.input: Fix results for range expressions
14931 for non C locales.
14932 * posix/tst-regexloc.c: Do not use a range expression for
14933 de_DE.ISO-8859-1 locale.
14934
770cbe14
MF
149352018-02-27 Mike FABIAN <mfabian@redhat.com>
14936
14937 * posix/bug-regex5.c: Fix test case because with the new
14938 iso14651_t1_common file, the da_DK locale now has 6 collating elements
14939 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
14940 file.
14941
0fc355d9
MF
149422018-02-27 Mike FABIAN <mfabian@redhat.com>
14943
14944 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
14945 downloaded from ISO, the collation order of @-. and space has changed.
14946 Therefore, this test file needed to be adapted.
14947 * localedata/fr_CA.UTF-8.in: Likewise.
14948 * localedata/fr_FR.UTF-8.in: Likewise.
14949 * localedata/uk_UA.UTF-8.in: Likewise.
14950
43f3893f
MF
149512018-02-27 Mike FABIAN <mfabian@redhat.com>
14952
14953 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
14954 order of ȥ in the new iso14651_t1_common file.
14955 * localedata/pl_PL.UTF-8.in: Likewise.
14956
df74ef78
MF
149572018-02-27 Mike FABIAN <mfabian@redhat.com>
14958
14959 * localedata/locales/iso14651_t1_common: Add sections for various
14960 scripts to the iso14651_t1_common file.
14961
d5adfbad
MF
149622018-02-27 Mike FABIAN <mfabian@redhat.com>
14963
14964 * localedata/locales/iso14651_t1_common: Use the code point of a
14965 character in the fourth collation level instead of IGNORE for all
14966 entries which have IGNORE on all 4 levels.
14967
5f5a9610
MF
149682018-02-27 Mike FABIAN <mfabian@redhat.com>
14969
14970 * localedata/locales/iso14651_t1_common: Add some convenient collation
14971 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
14972 rules similar to those in CLDR.
14973
8a97e900
MF
149742018-02-27 Mike FABIAN <mfabian@redhat.com>
14975
14976 * localedata/locales/iso14651_t1_common: The new version of this
14977 file downloaded from ISO contained several syntax errors which
14978 are fixed by this patch.
14979
bbdd2fba
MF
149802018-02-27 Mike FABIAN <mfabian@redhat.com>
14981
14982 * localedata/locales/iso14651_t1_common: replace all <U.....>
14983 with <U000.....> because glibc understands only 4 digit or 8 digit
14984
1569e551
MF
149852018-02-27 Mike FABIAN <mfabian@redhat.com>
14986
14987 * localedata/locales/iso14651_t1_common: Necessary changes
14988 to make the file downloaded from ISO usable by glibc.
14989
9479b6d5
MF
149902018-02-27 Mike FABIAN <mfabian@redhat.com>
14991
14992 [BZ #14095]
14993 * localedata/locales/iso14651_t1_common: Update file to
14994 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
14995
03b540b3
ST
149962018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14997
14998 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
14999 of <nptl/pthreadP.h>
15000 (thread_attr_compare): Move function to...
eb937a52 15001 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
03b540b3 15002 * sysdeps/nptl/timer_routines.h: ... new header.
7211eba6 15003 * sysdeps/mach/hurd/gai_misc.h: New file.
03b540b3 15004
20602c72
JM
150052018-02-26 Joseph Myers <joseph@codesourcery.com>
15006
f54d8f73
JM
15007 * string/strcoll_l.c: Include <libc-diag.h>.
15008 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
15009 declarations of seq1 and seq2.
15010
20602c72
JM
15011 [BZ #15105]
15012 * stdlib/atoi.c (atoi): Use libc_hidden_def.
15013 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
15014
f5f473a9
DL
150152018-02-26 Dmitry V. Levin <ldv@altlinux.org>
15016
15017 [BZ #22433]
15018 [BZ #22807]
15019 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
15020 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
15021 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
15022 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
15023 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
15024 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
15025
398c6fdd
TMQMF
150262018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15027
15028 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
15029 macros used in __ptrace_request.
15030
f5d1f629
L
150312018-02-23 H.J. Lu <hongjiu.lu@intel.com>
15032
15033 [BZ #22792]
15034 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
15035 to $(CC).
15036 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
15037 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
15038 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
15039 <tcb-offsets.h>.
15040
54412d20
JM
150412018-02-23 Joseph Myers <joseph@codesourcery.com>
15042
15043 [BZ #15105]
15044 * ctype/ctype.c (tolower): Use libc_hidden_def.
15045 (toupper): Likewise.
15046 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
15047 [!_ISOMAC] (toupper): Likewise.
15048
81be4b5e
MF
150492018-02-23 Mike FABIAN <mfabian@redhat.com>
15050
15051 * localedata/Makefile: Remove --quiet argument when
15052 installing locales
15053
9d5cfd8e
MF
150542018-02-23 Mike FABIAN <mfabian@redhat.com>
15055
15056 [BZ #17438]
15057 * localedata/locales/pt_BR (LC_TIME): use / instead of -
15058 in d_fmt.
15059 * localedata/locales/pt_PT (LC_TIME): likewise
15060
6c7269f3
MF
150612018-02-23 Mike FABIAN <mfabian@redhat.com>
15062
15063 [BZ #22646]
15064 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
15065 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
15066 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
15067
92aabad9
AZ
150682018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15069
4cdc25a4
AZ
15070 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15071
27761a10
AZ
15072 * nptl/Makefile (routines): Remove unregister-atfork.
15073 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
15074 (fork_handler_alloc): Remove function.
15075 (fork_handlers, fork_handler_init): New variables.
15076 (__fork_lock): Rename to atfork_lock.
15077 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
15078 to use a dynamic array to add/remove atfork handlers.
15079 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
15080 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
15081 Remove declaration.
15082 (fork_handler): Remove next, refcntr, and need_signal member.
15083 (__run_fork_handler_type): New enum.
15084 (__run_fork_handlers): New prototype.
15085 * nptl/register-atfork.c: Remove file.
15086 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
15087
92aabad9
AZ
15088 * sysdeps/nptl/nptl-signals.h: Move to ...
15089 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
15090 comments.
15091 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
15092 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
15093 unnecessary check for SIGTIMER.
15094 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
15095 remove unnecessary removal of SIGTIMER.
15096 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
15097 include-signals.h rename.
15098 * nptl/pthreadP.h: Likewise.
15099 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
15100 __is_internal_signal instead of __nptl_is_internal_signal.
15101
fdcc6253
AW
151022018-02-22 Andrew Waterman <andrew@sifive.com>
15103
7e04eb29 15104 [BZ # 22884]
fdcc6253
AW
15105 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
15106 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
15107 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
15108 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
15109
8090720a
DD
151102018-02-22 DJ Delorie <dj@delorie.com>
15111
15112 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
15113
6ca24c43
SP
151142018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
15115
15116 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
15117 do_misaligned, not misaligned8.
15118
e9537ddd
SE
151192018-02-22 Steve Ellcey <sellcey@cavium.com>
15120
15121 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
15122 Add memcpy_thunderx2.
15123 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
15124 Increment to 4.
15125 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
15126 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
15127 and IS_THUNDERX2PA checks.
15128 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
15129 Use macro to set name appropriately.
15130 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
15131 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
15132 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
15133 New macro.
15134 (IS_THUNDERX2): New macro.
15135
6e336476
SL
151362018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
15137
15138 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15139
34957904
ZW
151402018-02-21 Zack Weinberg <zackw@panix.com>
15141
30bfee26
ZW
15142 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
15143 Define here, unconditionally.
15144 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
15145 * libio/libioP.h: Remove #if 0 blocks.
15146 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
15147 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
15148 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
15149
15150 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
15151 Assume weak_alias is always defined.
15152
15153 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
15154 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
15155 Remove #if 0 and #ifdef TODO blocks.
15156 Assume text_set_element is always defined.
15157
15158 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
15159 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
15160 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
15161
df6c012b
ZW
15162 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
15163 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
15164 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
15165 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
15166 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
15167 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
15168 Reformat bit flags for _flags field to make occupancy clearer.
15169 Update commentary.
15170 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
15171 Keep definitions consistent with those in libio/libio.h.
15172
15173 * libio/libio.h (_IO_file_flags): Remove macro.
15174 All uses changed to _flags.
15175
177aad3f
ZW
15176 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
15177 (__HAVE_COLUMN, _IO_BE): Don't define.
15178 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
15179 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
15180 * libio/libioP.h (EOF): Don't define.
15181 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
15182 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
15183 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
15184 testing _IO_UNIFIED_JUMPTABLES.
15185
9964a145
ZW
15186 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
15187 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
15188 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
15189 (_IO_size_t): Delete; all uses changed to size_t.
15190 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
15191 (_IO_off_t): Delete; all uses changed to off_t.
15192 (_IO_off64_t): Delete; all uses changed to off64_t.
15193 (_IO_pid_t): Delete; all uses changed to pid_t.
15194 (_IO_uid_t): Delete; all uses changed to uid_t.
15195 (_IO_wint_t): Delete; all uses changed to wint_t.
15196 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
15197 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
15198 (_IO_cookie_io_functions_t): Delete; all uses changed to
15199 cookie_io_functions_t.
15200 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
15201 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
15202 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
15203 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
15204
15205 * libio/iofopncook.c: Remove unnecessary forward declarations.
15206 * libio/iolibio.h: Correct outdated commentary.
15207 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
15208 * stdio-common/fxprintf.c (__fxprintf_nocancel):
15209 Remove unnecessary casts.
15210 * stdio-common/getline.c: Use _IO_getdelim directly.
15211 Don't redefine ssize_t.
15212 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
15213 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
15214 Remove outdated comments.
15215 * stdio-common/vfscanf.c: Don't redefine va_list.
15216
34957904
ZW
15217 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
15218 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
15219 Remove preprocessor conditionals on _LIBC and __USE_GNU,
15220 which are always true, and __cplusplus, which is always false.
15221
30ac923d
JM
152222018-02-21 Joseph Myers <joseph@codesourcery.com>
15223
039c721a
JM
15224 [BZ #15105]
15225 [BZ #19463]
15226 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
15227 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
15228 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
15229 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
15230 libc_hidden_proto.
15231 [!_ISOMAC] (putc_unlocked): Likewise.
15232 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
15233 define inline if [__USE_EXTERN_INLINES].
15234 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
15235 putc_unlocked.
15236
30ac923d
JM
15237 [BZ #15105]
15238 [BZ #19463]
15239 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
15240 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
15241 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
15242 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
15243 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
15244 getc_unlocked.
15245 * time/tzfile.c (__tzfile_read): Likewise.
15246
7ec5f946
MF
152472018-02-21 Mike FABIAN <mfabian@redhat.com>
15248
15249 [BZ #22517]
15250 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
15251
0d217f40
RJ
152522018-02-21 Rical Jasan <ricaljasan@pacific.net>
15253
15254 * io/fcntl.h: Fix a typo in a comment.
15255
862b4502
RJ
152562018-02-21 Rical Jasan <ricaljasan@pacific.net>
15257
15258 [BZ #22862]
15259 * include/features.h: Add _ISOC11_SOURCE to test for whether to
15260 define _DEFAULT_SOURCE.
15261 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
15262
999a6dab
FW
152632018-02-21 Florian Weimer <fweimer@redhat.com>
15264
15265 [BZ #20890]
15266 * elf/cache.c (save_cache): Call fsync on temporary file before
15267 renaming it.
15268 (save_aux_cache): Call fdatasync on temporary file before renaming
15269 it.
15270
52a01100
FW
152712018-02-21 Florian Weimer <fweimer@redhat.com>
15272
15273 [BZ #22787]
15274 * include/caller.h: Remove file.
15275 * elf/dl-caller.c: Likewise.
15276 * elf/Makefile (dl-routines): Remove dl-caller.
15277 (shared-only-routines): Do not add dl-caller.
15278 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
15279 __check_caller.
15280 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
15281 member.
15282 (dl_open_worker): Do not call __check_caller.
15283 (_dl_open): Do not set caller_dl_open member.
15284 * elf/rtld.c (_rtld_global_ro): Do not initialize
15285 _dl_check_caller member.
15286 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
15287 _dl_check_caller member.
15288 (_dl_check_caller): Remove declaration.
15289 * sysdeps/unix/sysv/linux/dl-execstack.c
15290 (_dl_make_stack_executable): Do not call __check_caller.
15291
b5bf62e4
ST
152922018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
15293
15294 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
315304d2 15295 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
b5bf62e4 15296
e8d190b9
RJ
152972018-02-20 Rical Jasan <ricaljasan@pacific.net>
15298
15299 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
15300 description.
15301
6a3962c4
RJ
153022018-02-20 Rical Jasan <ricaljasan@pacific.net>
15303
da81ae64 15304 [BZ #16335]
6a3962c4
RJ
15305 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
15306 of 199606L, 200112L, and 200809L.
15307 (_XOPEN_SOURCE): Document special values of 600 and 700.
15308 (_ISOC11_SOURCE): Document macro.
15309 (_ATFILE_SOURCE): Likewise.
15310 (_FORTIFY_SOURCE): Likewise.
15311
ec481ad8
JM
153122018-02-19 Joseph Myers <joseph@codesourcery.com>
15313
15314 [BZ #15105]
15315 [BZ #19463]
15316 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
15317 and define as weak alias of __ferror_unlocked. Use
15318 libc_hidden_weak.
15319 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
15320 libc_hidden_proto.
15321 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
15322 function if [__USE_EXTERN_INLINES].
15323 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
15324 ferror_unlocked.
15325
7d15ef84
RJ
153262018-02-19 Rical Jasan <ricaljasan@pacific.net>
15327
15328 [BZ #6889]
15329 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
15330
f8d79582
AJ
153312018-02-18 Aurelien Jarno <aurelien@aurel32.net>
15332
15333 [BZ #22818]
15334 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
15335 the GLIBC_2.1 version.
15336
56456a2a
AJ
153372018-02-18 Aurelien Jarno <aurelien@aurel32.net>
15338
15339 [BZ #21508]
15340 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
15341 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
15342 intl/tst-gettext-de.po from po/de.po by removing the
15343 POT-Creation-Date line.
15344 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
15345 ../po/de.po.
15346 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
15347 ../po/de.po.
15348
13768813
ST
153492018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
15350
15351 * mach/Makefile (headers): Add mach/param.h.
15352 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
15353 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
dd1efd8c
ST
15354 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
15355 (__ptsname_r): Move implementation to...
15356 (__ptsname_internal): ... new function. Add filling the STP
15357 structure.
13768813 15358
6aca1b61
JDA
153592018-02-17 John David Anglin <danglin@gcc.gnu.org>
15360
15361 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
15362 idouble to 1 ULP.
15363
16efad51
RJ
153642018-02-16 Rical Jasan <ricaljasan@pacific.net>
15365
15366 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
15367 syntax.
15368
87245073
SL
153692018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15370
15371 * nptl/Makefile (tst-mutex8-ENV): Delete.
15372 * nptl/tst-mutex8.c (check_type):
15373 Add runtime check if mutex will be elided.
15374
7fc03cf3
JM
153752018-02-15 Joseph Myers <joseph@codesourcery.com>
15376
db9881ec
JM
15377 [BZ #20980]
15378 [BZ #21234]
15379 * manual/install.texi (Configuring and compiling): Describe
15380 passing CC and CFLAGS on configure command line, not as
15381 environment variables. Use @code markup on those variables.
15382 Specify what options go in CC and what go in CFLAGS. Note the
15383 requirement to compile with optimization.
15384 * INSTALL: Regenerated.
15385
3785b31c
JM
15386 [BZ #18124]
15387 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
15388 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
15389 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
15390 __sigprocmask instead of sigprocmask.
15391 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
15392 Likewise.
15393 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
15394 __sigsetjmp and sigprocmask.
15395
055ac2a7
JM
15396 [BZ #15105]
15397 * include/argz.h (argz_next): Use libc_hidden_proto.
15398 (__argz_next): Likewise.
15399 * string-argz-next.c (__argz_next): Use libc_hidden_def.
15400 (argz_next): Use libc_hidden_weak.
15401
e4452a2d
JM
15402 [BZ #15105]
15403 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
15404 libc_hidden_proto.
15405 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
15406 libc_hidden_def.
15407
499b3153
JM
15408 [BZ #15105]
15409 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
15410 libc_hidden_proto.
15411 * libio/iofputs.c (fputs): Use libc_hidden_weak.
15412
7fc03cf3
JM
15413 [BZ #15105]
15414 [BZ #19463]
15415 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
15416 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
15417 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
15418 (__feof_unlocked): New declaration, and inline function if
15419 [__USE_EXTERN_INLINES].
15420 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
15421 instead of feof_unlocked.
15422 * intl/localealias.c [_LIBC] (FEOF): Likewise.
15423 * nss/nsswitch.c (nss_parse_file): Likewise.
15424 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
15425 Likewise.
15426 * time/getdate.c (__getdate_r): Likewise.
15427 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
15428 Define as macro to call __feof_unlocked.
15429
0c8a67a5
WD
154302018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
15431
15432 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
15433
610ee1fc
WD
154342018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
15435
15436 * math/Makefile: Remove mpexp.c and mplog.c
15437 * sysdeps/i386/fpu/mpexp.c: Delete file.
15438 * sysdeps/i386/fpu/mplog.c: Likewise.
15439 * sysdeps/ia64/fpu/mpexp.c: Likewise.
15440 * sysdeps/ia64/fpu/mplog.c: Likewise.
15441 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
15442 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
15443 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
15444 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15445 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
15446 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
15447 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
15448 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
15449 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
15450 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
15451 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
15452 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
15453 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
15454 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
15455 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
15456 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
15457
8e7196c8
SL
154582018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
15459
15460 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15461
4f55ad0b
AZ
154622018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15463
15464 * sysdeps/sh/libm-test-ulps: Update.
15465
261a851c
TMQMF
154662018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15467
15468 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
15469 idouble to 1 ULP.
15470
e16deca6
ZW
154712018-02-12 Zack Weinberg <zackw@panix.com>
15472
15473 [BZ #19239]
15474 * posix/sys/types.h: Don't include sys/sysmacros.h.
15475 * misc/sys/sysmacros.h: Remove the conditional deprecation
15476 warnings for the macros defined by this header.
15477
de800d83
SN
154782018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
15479
15480 * manual/probes.texi: Remove slowexp probes.
15481 * math/Makefile: Remove slowexp.
15482 * sysdeps/generic/math_private.h (__slowexp): Remove.
15483 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
15484 document error bounds.
15485 * sysdeps/i386/fpu/slowexp.c: Remove.
15486 * sysdeps/ia64/fpu/slowexp.c: Remove.
15487 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
15488 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
15489 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
15490 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
15491 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
15492 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
15493 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
15494 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
15495 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
15496 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
15497 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
15498
c3d466cb
WD
154992018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
15500
15501 [BZ #13932]
15502 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
15503 * benchtests/pow-inputs: Update comment for slow path cases.
15504 * manual/probes.texi (slowpow_p10): Delete removed probe.
15505 (slowpow_p10): Likewise.
15506 * math/Makefile: Remove halfulp.c and slowpow.c.
15507 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
15508 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
15509 (__halfulp): Remove.
15510 (__slowpow): Remove.
15511 * sysdeps/i386/fpu/halfulp.c: Delete file.
15512 * sysdeps/i386/fpu/slowpow.c: Likewise.
15513 * sysdeps/ia64/fpu/halfulp.c: Likewise.
15514 * sysdeps/ia64/fpu/slowpow.c: Likewise.
15515 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
15516 improve comments and add error analysis.
15517 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
15518 (power1): Remove function:
15519 (log1): Remove error argument, add error analysis.
15520 (my_log2): Remove function.
15521 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
15522 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15523 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
15524 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
15525 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
15526 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
15527 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
15528 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
15529 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
15530 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
15531 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
15532 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
15533 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
15534 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
15535
7bb087bd
ST
155362018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
15537
15538 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
15539 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
15540
2fd4bbaa
DL
155412018-02-10 Dmitry V. Levin <ldv@altlinux.org>
15542
15543 [BZ #22433]
15544 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
15545 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
15546 and PTRACE_SETHBPREGS.
15547
402ecba4
ZW
155482018-02-10 Zack Weinberg <zackw@panix.com>
15549
15550 [BZ #22830]
15551 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
15552 correctly.
15553 * malloc/tst-malloc-stats-cancellation.c: New test case.
15554 * malloc/Makefile: Add new test case.
15555
4f5b921e
WD
155562018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
15557
15558 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
15559
a85b70db
JM
155602018-02-10 Joseph Myers <joseph@codesourcery.com>
15561
d8742dd8
JM
15562 * math/Makefile (libm-narrow-fns): Add add.
15563 (libm-test-funcs-narrow): Likewise.
15564 * math/Versions (GLIBC_2.28): Add narrowing add functions.
15565 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
15566 * math/gen-auto-libm-tests.c (test_functions): Add add.
15567 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
15568 (NARROW_ADD_ROUND_TO_ODD): Likewise.
15569 (NARROW_ADD_TRIVIAL): Likewise.
15570 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
15571 macro.
15572 (__daddl): Likewise.
15573 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
15574 dadd.
15575 (CFLAGS-nldbl-dadd.c): New variable.
15576 (CFLAGS-nldbl-fadd.c): Likewise.
15577 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15578 __nldbl_daddl.
15579 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
15580 prototype.
15581 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
15582 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
15583 * math/auto-libm-test-in: Add tests of add.
15584 * math/auto-libm-test-out-narrow-add: New generated file.
15585 * math/libm-test-narrow-add.inc: New file.
15586 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
15587 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
15588 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
15589 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
15590 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
15591 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
15592 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
15593 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
15594 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
15595 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
15596 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
15597 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
15598 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
15599 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
15600 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
15601 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
15602 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
15603 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
15604 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15605 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15606 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15607 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15608 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15609 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15610 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15611 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15612 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15613 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15614 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15615 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15616 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15617 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15622 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15623 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15624 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15625 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15626 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15627 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15628 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
15629 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
15630 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15631 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15632
a85b70db
JM
15633 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
15634 (f128-pairs): New variable.
15635 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
15636 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
15637 to CFLAGS.
15638 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
15639 Also make tests add $(f128-loader-link) to gnulib-tests.
15640
6a1ff640
DD
156412018-02-09 DJ Delorie <dj@redhat.com>
15642
15643 [BZ #22827]
15644 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
15645 64-bit ELF type for 64-bit ELF objects.
15646
bfd47587
JM
156472018-02-09 Joseph Myers <joseph@codesourcery.com>
15648
31958338
JM
15649 * math/libm-test-driver.c (snan_tests_arg): New variable.
15650 * math/libm-test-support.h (snan_tests_arg): New declaration.
15651 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
15652
8e554659
JM
15653 * math/Makefile (test-type-pairs): New variable.
15654 (test-type-pairs-f64xf128-yes): Likewise.
15655 (tests): Add test-narrow-macros.
15656 (libm-test-funcs-narrow): New variable.
15657 (libm-test-c-narrow): Likewise.
15658 (generated): Add $(libm-test-c-narrow).
15659 (libm-tests-base-narrow): New variable.
15660 (libm-tests-narrow): Likewise.
15661 (libm-tests): Add $(libm-tests-narrow).
15662 (libm-tests-for-type): Handle $(libm-tests-narrow).
15663 (libm-test-c-narrow-obj): New variable.
15664 ($(libm-test-c-narrow-obj)): New rule.
15665 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
15666 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
15667 $(o-iterator) to set dependencies and CFLAGS.
15668 * math/gen-auto-libm-tests.c: Document use for narrowing
15669 functions.
15670 (output_for_one_input_case): Take argument NARROW.
15671 (generate_output): Likewise. Update call to
15672 output_for_one_input_case.
15673 (main): Take --narrow option. Update call to generate_output.
15674 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
15675 (apply_lit): Update call to _apply_lit.
15676 (apply_arglit): New function.
15677 (parse_args): Handle "a" arguments.
15678 (parse_auto_input): Handle format names using ":".
15679 * math/README.libm-test: Document "a" parameter type.
15680 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
15681 (ARG_TYPE_TRUE_MIN): Likewise.
15682 (ARG_TYPE_MAX): Likwise.
15683 (ARG_MIN_EXP): Likewise.
15684 (ARG_MAX_EXP): Likewise.
15685 (ARG_MANT_DIG): Likewise.
15686 (TEST_COND_arg_ibm128): Likewise.
15687 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
15688 (TEST_COND_arg_fmt): New macro.
15689 (init_max_error): Update prototype.
15690 * math/libm-test-support.c (test_ibm128): New variable.
15691 (init_max_error): Take argument testing_ibm128 and set test_ibm128
15692 instead of using [TEST_COND_ibm128] conditional.
15693 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
15694 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
15695 [TEST_NARROW] (TEST_MSG): New definition.
15696 (arg_plus_zero): New macro.
15697 (arg_minus_zero): Likewise.
15698 (arg_plus_infty): Likewise.
15699 (arg_minus_infty): Likewise.
15700 (arg_qnan_value_pl): Likewise.
15701 (arg_qnan_value): Likewise.
15702 (arg_snan_value_pl): Likewise.
15703 (arg_snan_value): Likewise.
15704 (arg_max_value): Likewise.
15705 (arg_min_value): Likewise.
15706 (arg_min_subnorm_value): Likewise.
15707 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
15708 (RUN_TEST_LOOP_aa_f): New macro.
15709 (TEST_SUFF): New macro.
15710 (TEST_SUFF_STR): Likewise.
15711 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
15712 (TEST_COND_any_ibm128): New macro.
15713 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
15714 this_func. Update call to init_max_error.
15715 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
15716 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
15717 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
15718 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
15719 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
15720 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
15721 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
15722 * math/test-math-scalar.h (TEST_NARROW): Likewise.
15723 * math/test-math-vector.h (TEST_NARROW): Likewise.
15724 * math/test-arg-double.h: New file.
15725 * math/test-arg-float128.h: Likewise.
15726 * math/test-arg-float32x.h: Likewise.
15727 * math/test-arg-float64.h: Likewise.
15728 * math/test-arg-float64x.h: Likewise.
15729 * math/test-arg-ldouble.h: Likewise.
15730 * math/test-math-narrow.h: Likewise.
15731 * math/test-narrow-macros.c: Likewise.
15732 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
15733 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
15734 test-narrow-macros-ldbl-64.
15735 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
15736
63716ab2
JM
15737 * math/bits/mathcalls-narrow.h: New file.
15738 * include/bits/mathcalls-narrow.h: Likewise.
15739 * math/math-narrow.h: Likewise.
15740 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
15741 (__MATHCALL_NARROW_ARGS_2): Likewise.
15742 (__MATHCALL_NARROW_ARGS_3): Likewise.
15743 (__MATHCALL_NARROW_NORMAL): Likewise.
15744 (__MATHCALL_NARROW_REDIR): Likewise.
15745 (__MATHCALL_NARROW): Likewise.
15746 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
15747 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
15748 defined.
15749 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
15750 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
15751 (libm-narrow-fns): New variable.
15752 (libm-narrow-types-basic): Likewise.
15753 (libm-narrow-types-ldouble-yes): Likewise.
15754 (libm-narrow-types-float128-yes): Likewise.
15755 (libm-narrow-types-float128-alias-yes): Likewise.
15756 (libm-narrow-types): Likewise.
15757 (libm-routines): Add narrowing functions.
15758 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
15759 (libc_feholdexcept_setroundf128): New macro.
15760 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
15761 * sysdeps/ieee754/float128/float128_private.h: Include
15762 <math/math-narrow.h>.
15763 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
15764 Undefine and redefine.
15765 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
15766 (libm_alias_float_ldouble): Undefine and redefine.
15767 (libm_alias_double_ldouble): Likewise.
15768
bfd47587
JM
15769 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
15770
3f8d9d58
WD
157712018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
15772
15773 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
15774 FPCR/FPSR.
15775
1f6676d7
RJ
157762018-02-09 Rical Jasan <ricaljasan@pacific.net>
15777
15778 * manual/creature.texi: Convert references to gcc.info to gcc.
15779 * manual/stdio.texi: Likewise.
15780 * manual/string.texi: Likewise.
15781
d80441dd
JM
157822018-02-07 Joseph Myers <joseph@codesourcery.com>
15783
15081be9
JM
15784 [BZ #17979]
15785 * posix/bits/types.h (__int_least8_t): New typedef.
15786 (__uint_least8_t): Likewise.
15787 (__int_least16_t): Likewise.
15788 (__uint_least16_t): Likewise.
15789 (__int_least32_t): Likewise.
15790 (__uint_least32_t): Likewise.
15791 (__int_least64_t): Likewise.
15792 (__uint_least64_t): Likewise.
15793 * sysdeps/generic/stdint.h (int_least8_t): Define using
15794 __int_least8_t.
15795 (int_least16_t): Define using __int_least16_t.
15796 (int_least32_t): Define using __int_least32_t.
15797 (int_least64_t): Define using __int_least64_t.
15798 (uint_least8_t): Define using __uint_least8_t.
15799 (uint_least16_t): Define using __uint_least16_t.
15800 (uint_least32_t): Define using __uint_least32_t.
15801 (uint_least64_t): Define using __uint_least64_t.
15802 * wcsmbs/uchar.h: Include <bits/types.h>.
15803 (char16_t): Define using __uint_least16_t conditional only on
15804 [!__USE_ISOCXX11].
15805 (char32_t): Define using __uint_least32_t conditional only on
15806 [!__USE_ISOCXX11].
15807 * wcsmbs/test-char-types.c: New file.
15808 * wcsmbs/Makefile (tests): Add test-char-types.
15809
d80441dd
JM
15810 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
15811 version to 4.0.1.
15812
6c6c962a
ZW
158132018-02-07 Zack Weinberg <zackw@panix.com>
15814
63fb8f9a
ZW
15815 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
15816 Delete all contents except for definitions of _G_HAVE_MMAP and
15817 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
15818 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
15819 sysdeps/unix/sysv/linux/_G_config.h. Make same content
15820 change as above.
15821
15822 * libio/libio.h: Don't include bits/_G_config.h here.
15823 Include stddef.h with __need_wchar_t defined. Include
15824 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
15825 Define _IO_iconv_t here, directly.
15826 Don't define _IO_HAVE_ST_BLKSIZE.
15827 * libio/libioP.h: Include _G_config.h here. Move include of
15828 shlib-compat.h up with rest of includes. Simplify conditionals
15829 controlling definition of _IO_JUMPS_OFFSET.
15830
15831 * csu/init.c: Remove always-true #if around entire file.
15832 Don't include stdio.h. Set _IO_stdin_used to hardwired
15833 constant 0x20001, and update commentary.
15834 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
15835 Replace all uses of _G_va_list with __gnuc_va_list.
15836 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
15837 instead of #if _IO_HAVE_ST_BLKSIZE.
15838 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
15839 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
15840 not #ifdef.
15841
6c6c962a
ZW
15842 * libio/bits/libio.h: Move back to libio/libio.h and adjust
15843 multiple-include guard to match.
15844 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
15845 into this file.
15846 Remove preprocessor conditionals that are always true and/or
15847 redundant to other preprocessor conditionals in the same nest.
15848 Include shlib-compat.h unconditionally.
15849 Error out if _LIBC is not defined, or if _ISOMAC is defined,
15850 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
15851 defined after including stdio.h.
15852 Use __BEGIN_DECLS/__END_DECLS.
15853
15854 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
15855 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
15856 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
15857
a4fea3f2
ZW
158582018-02-07 Zack Weinberg <zackw@panix.com>
15859
15860 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
15861 New single-type headers split from _G_config.h.
15862 * libio/bits/types/cookie_io_functions_t.h
15863 * libio/bits/types/struct_FILE.h
15864 New single-type headers split from libio.h.
15865
15866 * libio/Makefile: Install the above new headers. Don't install
15867 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
15868 bits/libio-ldbl.h.
15869 * libio/_G_config.h, libio/libio.h: Delete file.
15870
15871 * libio/bits/libio.h: Remove improper-inclusion guard.
15872 Include stdio.h and don't repeat anything that it does.
15873 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
15874 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
15875 __io_read_fn as cookie_read_function_t,
15876 __io_write_fn as cookie_write_function_t,
15877 __io_seek_fn as cookie_seek_function_t,
15878 __io_close_fn as cookie_close_function_t,
15879 and _IO_cookie_io_functions_t as cookie_io_functions_t.
15880 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
15881 here, in the "compatibility defines" section. Remove an #if 0
6c6c962a 15882 block. Use the "body" macros from bits/types/struct_FILE.h to
a4fea3f2
ZW
15883 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
15884 and _IO_ferror_unlocked.
15885 Move prototypes of __uflow and __overflow...
15886
15887 * libio/stdio.h: ...here. Don't include bits/libio.h.
15888 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
6c6c962a 15889 directly from stdarg.h. Include bits/types/__fpos_t.h,
a4fea3f2
ZW
15890 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
15891 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
15892 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
15893 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
15894 cookie_io_functions_t, not _IO_cookie_io_functions_t;
15895 __ssize_t, not _IO_ssize_t. Unconditionally define
15896 BUFSIZ as 8192 and EOF as (-1).
15897
15898 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
15899 macros from bits/types/struct_FILE.h instead of _IO_* macros
15900 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
15901 instead of _IO_ssize_t.
15902 * libio/bits/stdio2.h: Similarly.
15903
15904 * libio/iolibio.h: Add multiple-include guard.
15905 Include bits/libio.h after stdio.h.
15906 * libio/libioP.h: Add multiple-include guard.
15907 Include stdio.h and bits/libio.h before iolibio.h.
15908
6c6c962a 15909 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
a4fea3f2
ZW
15910 * include/bits/types/cookie_io_functions_t.h
15911 * include/bits/types/struct_FILE.h: New wrappers.
15912
15913 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
6c6c962a
ZW
15914 Get definitions of _G_fpos_t and _G_fpos64_t from
15915 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
15916 respectively. Remove improper-inclusion guards.
a4fea3f2 15917
6c6c962a 15918 * conform/data/stdio.h-data: Update expectations of va_list.
a4fea3f2 15919 * scripts/check-installed-headers.sh: Remove special case for
6c6c962a 15920 libio.h and _G_config.h.
a4fea3f2 15921
ce999220
JM
159222018-02-07 Joseph Myers <joseph@codesourcery.com>
15923
8b4a1182
JM
15924 [BZ #15105]
15925 [BZ #19463]
15926 * include/sys/sysmacros.h [!_ISOMAC]
15927 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
15928 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
15929 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
15930 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
15931 libc_hidden_proto.
15932 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
15933 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
15934 Likewise.
15935 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
15936 Undefine and redefine to add use __gnu_dev_ prefix.
15937 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
15938 Likewise.
15939 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
15940 and define as hidden inline function.
15941 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
15942 Likewise.
15943 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
15944 Likewise.
15945 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
15946 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
15947 (gnu_dev_minor): Likewise.
15948 (gnu_dev_makedev): Likewise.
15949 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
15950 makedev.
15951 * posix/wordexp.c (exec_comm_child): Likewise.
15952 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
15953 instead of minor and __gnu_dev_major instead of major.
15954 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
15955 __gnu_dev_major instead of major.
15956 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
15957 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
15958 instead of gnu_dev_minor.
15959 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
15960 (SLAVE_P): Likewise.
15961 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
15962 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
15963 instead of major.
15964
ce999220
JM
15965 [BZ #21313]
15966 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
15967 in another place.
15968 * locale/weightwc.h (findidx): Likewise.
15969
b7c83ca3
WD
159702018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
15971
15972 * manual/probes.texi (slowlog): Delete documentation of removed probe.
15973 (slowlog_inexact): Likewise
15974 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
15975 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
15976
388ff7bd
IG
159772018-02-07 Igor Gnatenko <ignatenko@redhat.com>
15978
15979 [BZ #22797]
15980 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
15981 missing second underscore to parameter name.
15982
663e7d78
JM
159832018-02-06 Joseph Myers <joseph@codesourcery.com>
15984
0d40d0ec
JM
15985 [BZ #14508]
15986 [BZ #15512]
15987 [BZ #17082]
15988 [BZ #20530]
15989 * bits/byteswap.h: Update file comment. Do not include
15990 <bits/byteswap-16.h>.
15991 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
15992 constant.
15993 (__bswap_16): Define as inline function.
15994 (__bswap_constant_32): Reformat definition.
15995 (__bswap_32): Always define as inline function, not macro, using
15996 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
15997 otherwise __bswap_constant_32.
15998 (__bswap_constant_64): Reformat definition. Do not use
15999 __extension__ here.
16000 (__bswap_64): Always define as inline function, not macro. Use
16001 __extension__ on function definition. Use __builtin_bswap64 if
16002 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
16003 * string/test-endian-file-scope.c: New file.
16004 * string/test-endian-sign-conversion.c: Likewise.
16005 * string/Makefile (headers): Remove bits/byteswap-16.h.
16006 (tests): Add test-endian-file-scope and
16007 test-endian-sign-conversion.
16008 (CFLAGS-test-endian-sign-conversion.c): New variable.
16009 * bits/byteswap-16.h: Remove file.
16010 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
16011 * sysdeps/ia64/bits/byteswap.h: Likewise.
16012 * sysdeps/m68k/bits/byteswap.h: Likewise.
16013 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16014 * sysdeps/s390/bits/byteswap.h: Likewise.
16015 * sysdeps/tile/bits/byteswap.h: Likewise.
16016 * sysdeps/x86/bits/byteswap-16.h: Likewise.
16017 * sysdeps/x86/bits/byteswap.h: Likewise.
16018
383e87c9
JM
16019 [BZ #17721]
16020 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
16021 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
16022 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
16023 199901L] (__restrict): Define to restrict.
16024
d92c2759
JM
16025 [BZ #19667]
16026 * string/testcopy.c: Include <support/support.h>. Do not include
16027 <malloc.h>. Use <support/test-driver.c>.
16028 (main): Rename to do_test. Make static. Use xmalloc instead of
16029 malloc.
16030
625fb764
JM
16031 [BZ #13575]
16032 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
16033 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
16034 (SSIZE_MAX): Define to INT_MAX.
16035 * posix/test-ssize-max.c: New file.
16036 * posix/Makefile (tests): Add test-ssize-max.
16037
02325d6c
JM
16038 [BZ #19668]
16039 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
16040 <support/support.h>. Do not include <malloc.h>.
16041 (query_auxv): Use xmalloc instead of malloc.
16042
663e7d78
JM
16043 [BZ #14553]
16044 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
16045 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
16046 instead of loff_t.
16047
6d7aa2b5
FW
160482018-02-06 Florian Weimer <fweimer@redhat.com>
16049
16050 [BZ #18023]
16051 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16052 Use scratch_buffer instead of extend_alloca.
16053
de6da571
ZW
160542018-02-06 Zack Weinberg <zackw@panix.com>
16055
26c07172
ZW
16056 * libio/stdio.h: Don't define getc or putc as macros.
16057 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
16058 not _IO_getc and _IO_putc.
16059
de6da571
ZW
16060 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
16061 * stdio-common/tstgetln.c: Don't redefine ssize_t.
16062
92669d6e
JM
160632018-02-06 Joseph Myers <joseph@codesourcery.com>
16064
c2b84df9
JM
16065 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
16066 (TCP_FASTOPEN_NO_COOKIE): Likewise.
16067
41376f8c
JM
16068 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
16069
d28bf648
JM
16070 [BZ #14890]
16071 * elf/elf.h (NT_PRFPREG): New macro.
16072 (NT_S390_VXRS_LOW): Likewise.
16073 (NT_S390_VXRS_HIGH): Likewise.
16074 (NT_S390_GS_CB): Likewise.
16075 (NT_S390_GS_BC): Likewise.
16076 (NT_S390_RI_CB): Likewise.
16077
e76def72
JM
16078 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
16079 (MAP_SYNC): New macro.
16080 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
16081 Likewise.
16082 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
16083 (MAP_SYNC): Likewise.
16084 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
16085 (MAP_SYNC): Likewise.
16086 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
16087 (MAP_SYNC): Likewise.
16088 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
16089 (MAP_SYNC): Likewise.
16090 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
16091 (MAP_SYNC): Likewise.
16092 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
16093 (MAP_SYNC): Likewise.
16094 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
16095 Likewise.
16096 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
16097 Likewise.
16098
92669d6e
JM
16099 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
16100 (MAP_SHARED_VALIDATE): New macro.
16101 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16102 (MAP_SHARED_VALIDATE): Likewise.
16103
6a5cac49
L
161042018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16105
16106 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
16107 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
16108 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
16109
b44e0dfb
L
161102018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16111
16112 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
16113 (DT_NUM): Updated to 35.
16114
f886c16c
L
161152018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16116
16117 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
16118 __builtin_expect with __glibc_likely and __glibc_unlikely.
16119 (elf_machine_rela): Likewise.
16120 (elf_machine_lazy_rel): Likewise.
16121
06fbebff
L
161222018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16123
16124 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
8f4bf93f 16125 __builtin_expect with __glibc_likely and __glibc_unlikely.
06fbebff
L
16126 (elf_machine_lazy_rel): Likewise.
16127
371b220f
L
161282018-02-05 H.J. Lu <hongjiu.lu@intel.com>
16129
16130 [BZ #22638]
16131 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
16132 SHARED.
65805016 16133 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
371b220f 16134
f649a1b8
AS
161352018-02-05 Andreas Schwab <schwab@suse.de>
16136
16137 [BZ #22761]
16138 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
16139 string.
16140
9fdb340e
ST
161412018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16142
16143 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
16144 not check against PTHREAD_STACK_MIN.
16145
09e56b9e
SM
161462018-02-02 Sean McKean <smckean83@gmail.com>
16147
16148 [BZ #22735]
16149 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
16150
d4b4a00a
FW
161512018-02-02 Florian Weimer <fweimer@redhat.com>
16152
16153 [BZ #22753]
16154 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
16155 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
16156 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
16157 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
16158 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
16159 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
16160 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
16161 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
16162 * manual/llio.texi (Scatter-Gather): Mention offset -1.
16163 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
16164 * misc/tst-preadvwritev2.c (do_test): Call it.
16165 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
16166
3dfcbfa1
SP
161672018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
16168
84c94d2f
SP
16169 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
16170
96e6a716
SP
16171 * benchtests/bench-memcmp.c: Print json instead of plain text.
16172
3dfcbfa1
SP
16173 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
16174 every test run.
16175
049375e2
JM
161762018-02-01 Joseph Myers <joseph@codesourcery.com>
16177
39f898c6
JM
16178 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16179 version to 4.15.
16180 (s390_sthyi): New syscall.
16181
6f9a3dd8
JM
16182 * sysdeps/generic/ldbl-classify-compat.h: New file.
16183 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
16184 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
16185 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
16186 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
16187 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
16188 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
16189 * sysdeps/ieee754/dbl-64/s_finite.c: Include
16190 <ldbl-classify-compat.h>.
16191 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16192 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
16193 <ldbl-classify-compat.h>.
16194 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16195 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
16196 <ldbl-classify-compat.h>.
16197 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16198 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
16199 <ldbl-classify-compat.h>.
16200 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16201 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
16202 <ldbl-classify-compat.h>.
16203 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16204 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
16205 <ldbl-classify-compat.h>.
16206 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
16207 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
16208 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
16209 * sysdeps/m68k/coldfire/math_private.h: Remove file.
16210 * sysdeps/microblaze/math_private.h: Likewise.
16211 * sysdeps/nios2/math_private.h: Likewise.
16212 * sysdeps/sh/math_private.h: Likewise.
16213
eb65a3d5
JM
16214 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
16215 * sysdeps/m68k/coldfire/math_private.h: ... here.
16216 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
16217 * sysdeps/tile/math_private.h: Likewise.
16218 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
16219 Remove macro.
16220 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
16221 Likewise.
16222
8a6bb1d0
JM
16223 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
16224 Remove macro.
16225 (libc_fetestexcept): Likewise.
16226 (libc_feupdateenv_test): Likewise.
16227 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
16228 (libc_fetestexcept): Likewise.
16229 (libc_feupdateenv_test): Likewise.
16230 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
16231 (libc_fetestexcept): Likewise.
16232 (libc_feupdateenv_test): Likewise.
16233 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
16234 (libc_fetestexcept): Likewise.
16235 (libc_feupdateenv_test): Likewise.
16236
ae1fcb7b
JM
16237 * sysdeps/generic/math_private.h
16238 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
16239 New inline function.
16240 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
16241 Likewise.
16242
b1c347e2
JM
16243 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
16244 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
16245 * sysdeps/generic/math_private.h
16246 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
16247 inline function.
16248 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
16249 Likewise.
16250 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
16251 Likewise.
16252 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
16253 Likewise.
16254 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
16255 Likewise.
16256 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
16257 Likewise.
16258 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
16259 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
16260 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
16261 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
16262 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
16263 (__fegetenv): Likewise.
16264 (fesetenv): Likewise.
16265 (__fesetenv): Likewise.
16266 (feupdateenv): Likewise.
16267 (__feupdateenv): Likewise.
16268 (fegetround): Likewise.
16269 (__fegetround): Likewise.
16270 (fesetround): Likewise.
16271 (__fesetround): Likewise.
16272
d23a4962
JM
16273 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
16274 (feraiseexcept): New macro.
16275 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
16276 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
16277 Remove macro.
16278 (__feraiseexcept): Likewise.
16279 (feclearexcept): Likewise.
16280 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
16281 (__feraiseexcept): Likewise.
16282 (feclearexcept): Likewise.
16283 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
16284 (__feraiseexcept): Likewise.
16285 (feclearexcept): Likewise.
16286 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
16287 (__feraiseexcept): Likewise.
16288 (feclearexcept): Likewise.
16289 (fetestexcept): Likewise.
16290
5f167950
JM
16291 * sysdeps/m68k/coldfire/math-tests.h: New file.
16292
ccc9035a
JM
16293 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
16294 * sysdeps/m68k/bits/fenv.h: ... here.
16295 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
16296 not define.
16297 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
16298 Likewise.
16299 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
16300 Likewise.
16301 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
16302 Likewise.
16303 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
16304 Likewise.
16305 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
16306 Define to 0.
16307 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
16308 (__FE_UNDEFINED): New enum constant.
16309 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
16310 Do not define.
16311 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
16312 Likewise.
16313 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
16314 Likewise.
16315 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
16316 to match generic bits/fenv.h.
16317 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
16318 Do not define.
16319
049375e2
JM
16320 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
16321 packed on bits.
16322 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
16323 * soft-fp/half.h (union _FP_UNION_H): Likewise.
16324 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
16325 * soft-fp/single.h (union _FP_UNION_S): Likewise.
16326
f1d73681
CD
163272018-02-01 Carlos O'Donell <carlos@redhat.com>
16328 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
16329 Joseph Myers <joseph@codesourcery.com>
16330
16331 [BZ #21314]
16332 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
16333 (__log1p): Disable -Wmaybe-uninitialized for -Os around
16334 computation using c.
16335 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
16336 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
16337 computation using c.
16338
242cbc90
DL
163392018-02-01 Dmitry V. Levin <ldv@altlinux.org>
16340
086ee48e
DL
16341 * version.h (RELEASE): Set to "development".
16342 (VERSION): Set to "2.27.9000".
16343 * NEWS (2.28): New section.
16344
23158b08
DL
16345 * version.h (RELEASE): Set to "stable".
16346 (VERSION): Set to "2.27".
16347 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
16348
242cbc90
DL
16349 * NEWS: Add the list of bugs fixed in 2.27.
16350
673e2305
AZ
163512018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16352
16353 * stdlib/test-atexit-race-common.c (do_test): Check stack size
16354 against PTHREAD_STACK_MIN.
16355
ced64e01
DL
163562018-02-01 Dmitry V. Levin <ldv@altlinux.org>
16357
16358 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
16359 New entries.
16360 (Rafal Luzynski, Andreas Schwab): Update.
16361
c10c9a5e
RL
163622018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
16363
16364 [BZ #10871]
16365 * NEWS: List the languages which actually use the alternative
16366 months feature in this release. Also explain that "alt_mon" and
16367 "ab_alt_mon" are optional.
16368
650ba77a
IM
163692018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
16370
16371 [BZ #22765]
16372 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
16373
93493119
DL
163742018-01-31 Dmitry V. Levin <ldv@altlinux.org>
16375
16376 * manual/install.texi (Tools for Compilation): Update the newest
16377 versions of gcc, binutils, texinfo, gawk, bison, and sed.
16378 * INSTALL: Regenerated.
16379
363e4519 163802018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
407552cf
ST
16381
16382 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
16383 instead of __builtin_expect.
16384
d7536874
FW
163852018-01-30 Florian Weimer <fweimer@redhat.com>
16386
16387 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
16388 data.
16389 * nss/tst-nss-getpwent.c (do_test): Likewise.
16390
9a1b267d
RL
163912018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
16392
16393 [BZ #10871]
16394 * localedata/locales/hr_HR (mon): Rename to...
16395 (alt_mon): This.
16396 (mon): Import from CLDR (genitive case).
16397 (d_t_fmt): Update the comment.
16398
9a179328
AS
163992018-01-29 Andreas Schwab <schwab@linux-m68k.org>
16400
16401 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
16402 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
16403 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
16404
e01e0ddc
ST
164052018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
16406
16407 * mach/Versions: Fix version when __mach_host_self_ was added.
16408 * hurd/Versions: Fix version when _hurd_exec_paths was added.
16409 * sysdeps/mach/hurd/i386/ld.abilist: New file.
16410 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
16411 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
16412 * sysdeps/mach/hurd/i386/libc.abilist: New file.
16413 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
16414 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
16415 * sysdeps/mach/hurd/i386/libm.abilist: New file.
16416 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
16417 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
16418 * sysdeps/mach/hurd/i386/librt.abilist: New file.
16419 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
ba729de6
ST
16420 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
16421 || to respect codestyle.
2aadb705
ST
16422 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
16423 (do_test_bz20181): Rename accordingly.
406e7a0a
ST
16424 * malloc/malloc.c: Include <assert.h>.
16425 (assert): Do not define.
16426 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
99dfbef4
ST
16427 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
16428 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
ac56adbb 16429 * sysdeps/mach/hurd/hp-timing.h: New file.
ef4cf463 16430 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
e01e0ddc 16431
521877e1
PD
164322018-01-29 Darius Rad <darius@bluespec.com>
16433
16434 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
16435
532cf290
PD
164362018-01-29 Palmer Dabbelt <palmer@sifive.com>
16437
16438 * sysdeps/init_array/crti.S (.section .init_array): Add
16439 PREINIT_FUNCTION when defined.
40ca951b 16440 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
4215e276 16441 * config.h.in: Regenerate.
ba9e25a6
PD
16442 * manual/platform.texi: Add RISC-V documenation for
16443 __riscv_flush_icache.
c776fa11
PD
16444 * sysdeps/riscv/__longjmp.S: New file.
16445 * sysdeps/riscv/backtrace.c: Likewise.
16446 * sysdeps/riscv/bits/endian.h: Likewise.
16447 * sysdeps/riscv/bits/setjmp.h: Likewise.
16448 * sysdeps/riscv/bits/wordsize.h: Likewise.
16449 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
16450 * sysdeps/riscv/bsd-setjmp.c: Likewise.
16451 * sysdeps/riscv/dl-trampoline.S: Likewise.
16452 * sysdeps/riscv/gccframe.h: Likewise.
16453 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
16454 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
16455 * sysdeps/riscv/machine-gmon.h: Likewise.
16456 * sysdeps/riscv/memusage.h: Likewise.
16457 * sysdeps/riscv/setjmp.S: Likewise.
16458 * sysdeps/riscv/sys/asm.h: Likewise.
16459 * sysdeps/riscv/tls-macros.h: Likewise.
33712660
PD
16460 * sysdeps/riscv/dl-tls.h: New file.
16461 * sysdeps/riscv/libc-tls.c: Likewise.
16462 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
16463 * sysdeps/riscv/nptl/tls.h: Likewise.
16464 * sysdeps/riscv/stackinfo.h: Likewise.
67236aeb
PD
16465 * sysdeps/riscv/bits/fenv.h: New file.
16466 * sysdeps/riscv/e_sqrtl.c: Likewise.
16467 * sysdeps/riscv/fpu_control.h: Likewise.
16468 * sysdeps/riscv/math-tests.h: Likewise.
16469 * sysdeps/riscv/nofpu/Implies: Likewise.
16470 * sysdeps/riscv/sfp-machine.h: Likewise.
16471 * sysdeps/riscv/tininess.h: Likewise.
b2cb5e02
PD
16472 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
16473 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
16474 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
16475 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
16476 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
16477 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
16478 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
16479 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
16480 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
16481 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
16482 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
16483 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
16484 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
16485 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
16486 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
16487 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
16488 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
16489 * sysdeps/riscv/rvd/s_finite.c: Likewise.
16490 * sysdeps/riscv/rvd/s_fma.c: Likewise.
16491 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
16492 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
16493 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
16494 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
16495 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
16496 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
16497 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
16498 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
16499 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
16500 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
16501 * sysdeps/riscv/rvf/fegetround.c: Likewise.
16502 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
16503 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
16504 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
16505 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
16506 * sysdeps/riscv/rvf/fesetround.c: Likewise.
16507 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
16508 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
16509 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
16510 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
16511 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
16512 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
16513 * sysdeps/riscv/rvf/math_private.h: Likewise.
16514 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
16515 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
16516 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
16517 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
16518 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
16519 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
16520 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
16521 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
16522 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
16523 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
16524 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
16525 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
16526 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
16527 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
16528 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
16529 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
d1c09b24
PD
16530 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
16531 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
16532 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
16533 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
36960f0c
PD
16534 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
16535 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
16536 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
16537 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
16538 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
16539 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
16540 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
16541 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
16542 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
7f33b09c
PD
16543 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
16544 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
16545 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
16546 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
16547 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
16548 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
16549 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
16550 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
16551 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
16552 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
16553 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
16554 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
16555 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
16556 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
16557 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
16558 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
16559 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
16560 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
16561 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
16562 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
16563 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
16564 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
ee53fed9
PD
16565 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
16566 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
16567 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
2268c433
PD
16568 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
16569 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
16570 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
16571 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
16572 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
16573 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
16574 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
16575 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
16576 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
16577 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
16578 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16579 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
16580 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
16581 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
c5061557
PD
16582 * sysdeps/riscv/Implies: New file.
16583 * sysdeps/riscv/Makefile: Likewise.
16584 * sysdeps/riscv/configure: Likewise.
16585 * sysdeps/riscv/configure.ac: Likewise.
16586 * sysdeps/riscv/nptl/Makefile: Likewise.
16587 * sysdeps/riscv/preconfigure: Likewise.
16588 * sysdeps/riscv/rv64/Implies-after: Likewise.
16589 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
16590 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
16591 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
16592 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
16593 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
16594 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
16595 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
16596 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
16597 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
16598 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
16599 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
0fd5d876
PD
16600 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
16601 (Config): Likewise.
532cf290 16602
cdd14619
FW
166032018-01-29 Florian Weimer <fweimer@redhat.com>
16604
16605 [BZ #22701]
16606 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
16607 libnsl_hidden_proto.
16608 * include/rpcsvc/yp.h (yp_xdrall): Declare with
16609 libnsl_hidden_proto.
16610 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
16611 * nis/Makefile (libnsl-routines): Add nss-default only for
16612 build-obsolete-nsl.
16613 * nis/nis_defaults.c (__nis_default_ttl): Add
16614 libnsl_hidden_nolink_def.
16615 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
16616 declaration.
16617 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
16618 * nis/ypclnt.c (yp_maplist): Likewise.
16619
b7ccb5de
RN
166202018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
16621
16622 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16623 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
16624
522623e4
JM
166252018-01-29 Joseph Myers <joseph@codesourcery.com>
16626
e3aa6999
JM
16627 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
16628 clean -dxfq for git updates when replacing sources.
16629
088de7d0
JM
16630 * scripts/build-many-glibcs.py (Config.build_gcc): Use
16631 --disable-libcilkrts unconditionally, not just for the final GCC
16632 build for Hurd.
16633
522623e4
JM
16634 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
16635 version to 4.15.
16636
8b406f87
RL
166372018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16638
16639 [BZ #10871]
16640 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
16641 case).
16642
105e90bd
RL
166432018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16644
16645 [BZ #10871]
16646 * localedata/locales/be_BY (mon): Rename to...
16647 (alt_mon): This, then synchronize with CLDR (nominative case).
16648 (abmon): Rename to...
16649 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
16650 (mon): Import from CLDR (genitive case).
16651 (abmon): Likewise.
16652 * localedata/locales/be_BY@latin (mon): Rename to...
16653 (alt_mon): This.
16654 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
16655
16656 * localedata/locales/be_BY@latin (lang_name): Reworded to
16657 "biełaruskaja mova".
16658
561cb414
RL
166592018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16660
16661 [BZ #10871]
16662 * localedata/locales/el_CY (mon): Renamed to...
16663 (alt_mon): This.
16664 (mon): Import from CLDR (genitive case).
16665 * localedata/locales/el_GR: Likewise.
16666
f7bdf30d
RL
166672018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
16668
16669 [BZ #10871]
16670 * localedata/locales/ru_RU (mon): Rename to...
16671 (alt_mon): This.
16672 (abmon): Rename to...
16673 (ab_alt_mon): This.
16674 (mon): Import from CLDR (genitive case).
16675 (abmon): Copy from the old content except the 5th month which is
16676 now in the genitive case, even when abbreviated.
16677 * localedata/locales/ru_UA: Likewise.
16678 * time/tst-strptime.c (day_tests): Add an actual example of
16679 a difference between %b and %Ob in Russian.
16680
85285a0c
ST
166812018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16682
16683 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
da8168df
ST
16684 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
16685 a `c' variable.
3538a4b6 16686 * resolv/res-close.c: Include <stdlib.h>.
b29848b9
ST
16687 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
16688 <sys/wait.h>, <time.h>, <sys/uio.h>.
16689 (NOT_CANCEL_H): Add inclusion guard.
4f66dc23 16690 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
147d1dbb
ST
16691 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
16692 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
16693 return 0.
05ebfe87
ST
16694 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
16695 vm_address_t * to ElfW(Addr) * for dl_main parameter.
61a3a8c6
ST
16696 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
16697 instead of void *.
16698 * sysdeps/pthread/timer_create.c (timer_create): Do not use
16699 timer_ptr2id to cast struct timer_node * to void *.
d4d5b2dd
ST
16700 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
16701 --disable-libcilkrts to gcc configure.
19fd8d0d
ST
16702 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
16703 and make them the default for now.
903d3633
ST
16704 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
16705 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
7dab2d00
ST
16706 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
16707 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
16708 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
16709 MACH_IPC_COMPAT.
06fac9f5
ST
16710 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
16711 __task_terminate would ever return successfully.
f8177753
ST
16712 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
16713 to global scope.
41cdb1eb
ST
16714 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
16715 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
660b7bff
ST
16716 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
16717 critical section to make code simpler and avoid warning.
16718 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
16719 critical section to make code simpler and avoid warning.
844bf921
ST
16720 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
16721 const char * instead of char *.
f8bee46c
ST
16722 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
16723 __hurd_file_name_split, hurd_file_name_split,
16724 __hurd_directory_name_split, hurd_directory_name_split,
16725 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
16726 hurd_file_name_path_lookup): Make lookup function parameter take a
16727 const char *name instead of char *name.
16728 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
16729 __hurd_directory_name_split): Likewise.
16730 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
16731 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
40066975
ST
16732 * sysdeps/mach/hurd/check_native.c: New file.
16733 * sysdeps/mach/hurd/check_pf.c: New file.
7c5b106d
ST
16734 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
16735 (__freeifaddrs): Define macro to freeifaddrs.
5f982b0b
ST
16736 * sysdeps/mach/hurd/libhurduser.abilist: New file.
16737 * sysdeps/mach/libmachuser.abilist: New file.
cef7166a
ST
16738 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
16739 (do_test_bz20181): Rename accordingly.
16740 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
3fc1ecf9
ST
16741 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
16742 <sys/mount.h>.
28f6186f
ST
16743 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
16744 version only if __USE_EXTERN_INLINES is defined.
16745 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
16746 __hurd_sockfail): Likewise.
16747 (_hurd_fd_get): Always declare functions, and provide inline versions
16748 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
16749 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
16750 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
16751 _hurd_port_set): Always declare functions, and provide inline versions
16752 only if __USE_EXTERN_INLINES and _LIBC are defined and
16753 IS_IN(libc).
16754 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
16755 _hurd_critical_section_unlock): Likewise.
16756 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
16757 * __hurd_threadvar_location): Likewise.
16758 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
16759 _hurd_userlink_clear): Likewise.
16760 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
16761 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
16762 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
16763 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
16764 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
16765 __spin_lock_locked): Likewise.
16766 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
16767 __spin_lock_locked): Likewise.
16768 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
16769 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
16770 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
16771 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
16772 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
b1025304
ST
16773 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
16774 _POSIX_NO_TRUNC): Define to 0.
a902a086
ST
16775 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
16776 check size against PTHREAD_STACK_MIN.
625ba81e
ST
16777 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
16778 IS_IN(libpthread)]: Include <sigsetops.h>.
2e52dff4
ST
16779 * mach/Makefile (user-interfaces): Add mach/gnumach.
16780 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
16781 * sysdeps/mach/configure (mach_interface_list): Regenerate.
80463dc6
ST
16782 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
16783 instead of invalid -1.
1f89ac71
ST
16784 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
16785 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
16786 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
16787 <net/ppp_defs.h>.
85285a0c 16788
1fd1e27c 167892018-01-27 Thomas Schwinge <tschwinge@gnu.org>
84814e2a
TS
16790
16791 * hurd/fcntl-internal.h: New file.
16792
3854c5a8
JC
167932018-01-27 James Clarke <jrtc27@jrtc27.com>
16794
7e23a7dd
JC
16795 * sysdeps/hppa/fpu/libm-test-ulps: Update.
16796
3854c5a8
JC
16797 * sysdeps/alpha/fpu/libm-test-ulps: Update.
16798
5503f413
AS
167992018-01-26 Andreas Schwab <schwab@linux-m68k.org>
16800
16801 [BZ #22701]
16802 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
16803 Build only shared objects.
16804
caaf7804
CD
168052018-01-26 Carlos O'Donell <carlos@redhat.com>
16806
16807 * README: Update for hppa.
16808
1cbf818d
PM
168092018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
16810
caaf7804
CD
16811 * sysdeps/sparc/fpu/libm-test-ulps: Update
16812 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
1cbf818d 16813
caaf7804 168142018-01-26 Carlos O'Donell <carlos@redhat.com>
2ec0e7ea
CD
16815
16816 Revert:
16817
16818 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16819
16820 [BZ #22563]
16821 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
16822 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
16823 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
16824 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
16825 to feature_1.
16826
16827 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16828
16829 [BZ #22563]
16830 * bits/types/__cancel_jmp_buf_tag.h: New file.
16831 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
16832 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
16833 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
16834 * nptl/Makefile (headers): Add
16835 bits/types/__cancel_jmp_buf_tag.h.
16836 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
16837 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
16838 * sysdeps/nptl/pthread.h: Include
16839 <bits/types/__cancel_jmp_buf_tag.h>.
16840 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
16841 __cancel_jmp_buf.
16842 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
16843
65f6c94e
RL
168442018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
16845
16846 [BZ #10871]
16847 * localedata/locales/uk_UA (mon): Renamed to...
16848 (alt_mon): This.
16849 (alt_digits): "0" removed and then renamed to...
16850 (mon): This.
16851 (date_fmt): Definition changed not to use the alternative
16852 digits hack.
16853
fb58aac5
PD
168542018-01-25 Palmer Dabbelt <palmer@sifive.com>
16855
16856 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
16857 FLAG_RISCV_FLOAT_ABI_DOUBLE.
16858 * elf/elf.h (EF_RISCV_RVC): New define.
16859 (EF_RISCV_FLOAT_ABI): Likewise.
16860 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
16861 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
16862 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
16863 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
16864 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
16865 define.
16866 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
16867
128c43a2
AS
168682018-01-25 Andreas Schwab <schwab@suse.de>
16869
16870 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
16871 single quotes.
16872 * sysdeps/gnu/configure: Regenerate.
16873 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
16874 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
16875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
16876 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
16877 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
16878 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
16879 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
16880 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
16881
f9015003
ST
168822018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
16883
48130690 16884 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
47c4b4b0 16885 URL, and run autoconf, make it the default for now.
f9015003 16886
91b2cffa
JM
168872018-01-24 Joseph Myers <joseph@codesourcery.com>
16888
3005b705
JM
16889 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
16890 soft-float ColdFire configuration.
16891
69231fab
JM
16892 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
16893 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
16894 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
16895
d4c7e1d0
JM
16896 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
16897 MicroBlaze file.
16898
0cfe5be5
JM
16899 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
16900 ....
16901 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
16902 ... here.
16903 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
16904 New file.
16905
91b2cffa
JM
16906 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
16907 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
16908 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
16909 file.
16910
c739e191
SN
169112018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
16912
16913 [BZ #22742]
16914 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
16915 Rename to __reserved and add comment.
16916 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
16917 Rename to __reserved.
16918
394b5bac
JM
169192018-01-24 Joseph Myers <joseph@codesourcery.com>
16920
16921 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
16922 i686-gnu configurations.
16923 (Context.run_builds): Include mig, gnumach and hurd in components
16924 considered.
16925 (Context.checkout): Add mig, gnumach and hurd to components.
16926 (Context.checkout_tar): Add URL mappings for mig, gnumach and
16927 hurd.
16928 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
16929 (Config.build): Install gnumach headers, build mig and install
16930 hurd headers for 'gnu' OS.
16931 (Config.install_gnumach_headers): New function.
16932 (Config.install_hurd_headers): Likewise.
16933 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
16934 when building for 'gnu' OS.
16935
28c3f14f
TK
169362018-01-23 Tobias Klauser <tklauser@distanz.ch>
16937
16938 * manual/tunables.texi (Hardware Capability Tunables): Fix
16939 spelling.
16940
0f5e2da1
RJ
169412018-01-22 Rical Jasan <ricaljasan@pacific.net>
16942
16943 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
16944 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
16945 (ALTMON_11, ALTMON_12): Improve documentation.
16946 * manual/time.texi (strftime): Likewise.
16947
7817b14a
RL
169482018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16949
16950 [BZ #10871]
16951 * localedata/locales/pl_PL: Alternative month names added,
16952 primary month names are genitive now.
16953 * time/tst-strptime.c (day_tests): Actually use a genitive case
16954 of a month name in Polish language.
16955
22390764
RL
169562018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16957
16958 [BZ #10871]
16959 * manual/locale.texi: Document ALTMON_1..12 constants for
16960 nl_langinfo. Specify when to use ALTMON instead of MON.
16961 * manual/time.texi (strftime, strptime): Document GNU extension
16962 permitting O modifier with %B and %b. Specify when to use
16963 %OB instead of %B.
16964
761a585c
RL
169652018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16966
16967 [BZ #10871]
16968 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
16969 names, define them as the same as abbreviated month names explicitly.
16970 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
16971 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
16972 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
16973 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
16974 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
16975 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
16976 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
16977 _NL_WABALTMON_12): New enum constants.
16978 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
16979 wab_alt_mon, and ab_alt_mon_defined members.
16980 (time_output): Output ab_alt_mon and wab_alt_mon members.
16981 (time_read): Read them, initialize them as copies of abmon and wabmon
16982 respectively if they are missing, initialize ab_alt_mon_defined.
16983 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
16984 * locale/programs/locfile-kw.h: Regenerate.
16985 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
16986 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
16987 and ru_RU.UTF-8.
16988 * time/strftime_l.c (a_altmonth, aam_len): New macros.
16989 [!COMPILE_WIDE] (ABALTMON_1): New macro.
16990 (__strftime_internal): Handle %Ob and %Oh formats.
16991 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
16992 (__strptime_internal): Handle %Ob and %Oh formats.
16993 * time/tst-strptime.c (day_tests): Add more tests to parse different
16994 forms of month names including the new %Ob format specifier.
16995
95cb863a
RL
169962018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16997
16998 [BZ #10871]
16999 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
17000 define them as the same as primary full month names explicitly.
17001 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
17002 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
17003 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
17004 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
17005 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
17006 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
17007 _NL_WALTMON_12): New enum constants.
17008 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
17009 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
17010 macros.
17011 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
17012 walt_mon, and alt_mon_defined members.
17013 (time_output): Output alt_mon and walt_mon members.
17014 (time_read): Read them, initialize them as copies of mon and wmon
17015 respectively if they are missing, initialize alt_mon_defined.
17016 * locale/programs/locfile-kw.gperf (alt_mon): Define.
17017 * locale/programs/locfile-kw.h: Regenerate.
17018 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
17019 * localedata/tst-langinfo.c (map): Add tests for the new constants
17020 ALTMON_1 .. ALTMON_12.
17021 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
17022 and pl_PL.UTF-8.
17023 * time/strftime_l.c (f_altmonth): New macro.
17024 (__strftime_internal): Handle %OB format.
17025 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
17026 (__strptime_internal): Handle %OB format.
17027 * time/tst-strptime.c (day_tests): Add tests to parse different forms
17028 of month names including the new %OB format specifier.
17029
4612268a
TMQMF
170302018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17031
17032 [BZ #22685]
17033 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
17034 from ABORT_TRANSACTION.
17035 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
17036 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
17037 ABORT_TRANSACTION_IMPL): Likewise.
17038 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
17039 Linux code, but remove the code that aborts transactions.
17040
64f63cb4
ST
170412018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
17042
17043 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
17044
32ac6e92
RL
170452018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
17046
17047 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
17048 in date: "2004-14-09" should be "2004-09-14".
17049 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
17050 "2003-15-09" should be "2003-09-15".
17051
8e448310
AS
170522018-01-18 Arjun Shankar <arjun@redhat.com>
17053
17054 [BZ #22343]
71aa429b 17055 [BZ #22774]
4590634f 17056 CVE-2018-6485
71aa429b 17057 CVE-2018-6551
8e448310
AS
17058 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
17059 after padding.
17060 (_int_memalign): check for integer overflow before calling
17061 _int_malloc.
17062 * malloc/tst-malloc-too-large.c: New test.
17063 * malloc/Makefile: Add tst-malloc-too-large.
17064
e234d7cb
RL
170652018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
17066
17067 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
17068 in date: "2017-24-07" should be "2017-07-24".
17069 * localedata/locales/mai_IN: Likewise.
17070 * localedata/locales/mai_NP: Likewise.
17071
48b66019
DL
170722018-01-17 Dmitry V. Levin <ldv@altlinux.org>
17073
17074 * po/ru.po: Update translations.
17075
1eeddc58
JM
170762018-01-17 Joseph Myers <joseph@codesourcery.com>
17077
17078 [BZ #22719]
17079 * sysdeps/hppa/backtrace.c: New file.
17080
207a72e2
L
170812018-01-17 H.J. Lu <hongjiu.lu@intel.com>
17082
17083 [BZ #22715]
17084 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
17085 align La_x86_64_retval to VEC_SIZE.
17086
4942c4ea
JM
170872018-01-16 Joseph Myers <joseph@codesourcery.com>
17088
17089 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
17090 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
17091
10d200db
FW
170922018-01-16 Florian Weimer <fweimer@redhat.com>
17093
17094 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
17095 Move tst-thread-exit-clobber ...
17096 [$(CXX)] (tests-unsupported): ... to here.
17097
953c49cc
SN
170982018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
17099
17100 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
17101 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
17102 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
17103 (_dl_aarch64_cap_flags): Update.
17104 (_DL_HWCAP_COUNT): Update.
17105
afce1991
SN
171062018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
17107
17108 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
17109 (_DL_HWCAP_LAST): Remove.
17110 (_DL_HWCAP_COUNT): Move to ...
17111 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
17112 (_DL_HWCAP_COUNT): ... here.
17113
b725132d
FW
171142018-01-16 Florian Weimer <fweimer@redhat.com>
17115
17116 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
17117 mode with GNU extensions.
17118
c9e613a7
AH
171192018-01-15 Alan Hayward <alan.hayward@arm.com>
17120
17121 * elf/elf.h (NT_ARM_SVE): Define.
17122
860b0240
FW
171232018-01-15 Florian Weimer <fweimer@redhat.com>
17124
17125 [BZ #22636]
17126 * nptl/tst-minstack-throw.cc: New file.
17127 * nptl/Makefile (tests): Add tst-minstack-throw.
17128 (LDLIBS-tst-minstack-throw): Link with libstdc++.
17129 [!CXX] (tests-unsupported): Add tst-minstack-throw.
17130
16d0f6ac
JM
171312018-01-15 Joseph Myers <joseph@codesourcery.com>
17132
17133 * scripts/build-many-glibcs.py (Context.checkout): Default
17134 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
17135 version to 1.1.0.
17136
505d3910
CD
171372018-01-13 Carlos O'Donell <carlos@redhat.com>
17138
17139 [BZ #22707]
17140 * elf/elf.h (DF_1_STUB): Define.
17141 (DF_1_PIE): Define.
17142
af1e6be4
TMQMF
171432018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17144
17145 [BZ #22697]
17146 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
17147 Do not add 0.5 to integer or out-of-range arguments.
17148
98d13ce0
DL
171492018-01-12 Dmitry V. Levin <ldv@altlinux.org>
17150
17151 * po/bg.po: Update translations.
17152 * po/cs.po: Likewise.
17153 * po/de.po: Likewise.
17154 * po/ko.po: Likewise.
17155 * po/pl.po: Likewise.
17156 * po/sv.po: Likewise.
17157 * po/uk.po: Likewise.
17158 * po/vi.po: Likewise.
17159
3d1d7928
SN
171602018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17161
17162 * aarch64/start.S (_start): Use __wrap_main.
17163 (__wrap_main): New local symbol.
17164
52a713fd
DL
171652018-01-12 Dmitry V. Levin <ldv@altlinux.org>
17166
17167 [BZ #22679]
17168 CVE-2018-1000001
17169 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
17170 generic_getcwd if the path returned by getcwd syscall is not absolute.
17171 * io/tst-getcwd-abspath.c: New test.
17172 * io/Makefile (tests): Add tst-getcwd-abspath.
17173
249a5895
IK
171742018-01-12 Istvan Kurucsai <pistukem@gmail.com>
17175
17176 * malloc/malloc.c (malloc_consolidate): Add size check.
17177
1a51e46e
FW
171782018-01-12 Florian Weimer <fweimer@redhat.com>
17179
17180 * support/write_message.c (write_message): Preserve errno.
17181 * support/check.c (print_failure): Likewise.
17182 * support/support_test_verify_impl.c (support_test_verify_impl):
17183 Likewise.
17184 * support/support_test_compare_failure.c
17185 (support_test_compare_failure): Likewise.
17186
9a08a366
FW
171872018-01-12 Florian Weimer <fweimer@redhat.com>
17188
17189 [BZ #22701]
17190 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
17191 Prevent installation of libnsl.so.
17192 (libnsl-inhibit-o): Do not build (or install) static libraries.
17193
80647883 171942018-01-12 Egmont Koblinger <egmont@gmail.com>
f172187b
EK
17195
17196 [BZ #22657]
17197 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
17198 before the day number which may produce a double space.
17199 (date_fmt): Likewise.
17200
c8924f1f
JM
172012018-01-12 Joseph Myers <joseph@codesourcery.com>
17202
17203 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
17204 instead of fegetenv.
17205
da09e6fa
JM
172062018-01-11 Joseph Myers <joseph@codesourcery.com>
17207
17208 [BZ #22702]
17209 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
17210 comment to say exceptions are discarded.
17211 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
17212 __fegetenv.
17213 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
17214 be enabled.
17215
08c6e952
FW
172162018-01-11 Florian Weimer <fweimer@redhat.com>
17217
17218 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
17219 and error message.
17220
d8b77890
FW
172212018-01-11 Florian Weimer <fweimer@redhat.com>
17222
17223 [BZ #22636]
17224 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
17225 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
17226
b303185d
JM
172272018-01-10 Joseph Myers <joseph@codesourcery.com>
17228
17229 [BZ #22693]
17230 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
17231 negative arguments in test for NaN or infinity argument.
17232
ee61d028
DL
172332018-01-10 Dmitry V. Levin <ldv@altlinux.org>
17234
17235 * po/libc.pot: Regenerate.
17236
f993b875
FW
172372018-01-10 Florian Weimer <fweimer@redhat.com>
17238
17239 [BZ #22636]
17240 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
17241 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
17242
09085ede
ST
172432018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17244
17245 * hurd/hurd/fd.h: Include <fcntl.h>
17246 (__hurd_at_flags): New function.
17247 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
17248 with call to __hurd_at_flags.
17249 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
17250 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
17251 __faccessat
17252 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
17253 (__access_noerrno): Use __faccessat_common instead of access_common.
17254 (__access): Likewise.
17255 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
17256 with a call to __faccessat.
17257 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
17258 (__faccessat_common): ... this. Move implementation of __access into it when
17259 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
17260 reauthenticate_cwdir_at helper to implement AT mechanism.
17261 (__faccessat_noerrno): New function, just calls __faccessat_common.
17262 (__faccessat): New function, just calls __faccessat_common.
17263 (faccessat): Define weak alias.
17264
12727488
JM
172652018-01-10 Joseph Myers <joseph@codesourcery.com>
17266
87faac55
JM
17267 [BZ #22691]
17268 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17269 (CFLAGS-s_fmaxmagl.c): New variable.
17270 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
17271
12727488
JM
17272 [BZ #22690]
17273 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
17274 long int for arguments of possibly overflowing addition or
17275 subtraction.
17276 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17277
e134ca17
JM
172782018-01-09 Joseph Myers <joseph@codesourcery.com>
17279
b2584ac2
JM
17280 [BZ #22688]
17281 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17282 (CFLAGS-e_remainderl.c): New variable.
17283
e134ca17
JM
17284 [BZ #22687]
17285 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
17286 variable.
17287 (CFLAGS-s_cacoshl.c): Likewise.
17288 (CFLAGS-s_casinhl.c): Likewise.
17289 (CFLAGS-s_catanl.c): Likewise.
17290 (CFLAGS-s_catanhl.c): Likewise.
17291 (CFLAGS-s_cexpl.c): Likewise.
17292 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
17293 (CFLAGS-s_csinhl.c): Likewise.
17294 (CFLAGS-s_clogl.c): Likewise.
17295 (CFLAGS-s_clog10l.c): Likewise.
17296 (CFLAGS-s_csinl.c): Likewise.
17297 (CFLAGS-s_csqrtl.c): Likewise.
17298
d31a4a48
ST
172992017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
173002017-01-09 Svante Signell <svante.signell@gmail.com>
311ba8dc
ST
17301
17302 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
17303 (_hurd_exec_paths): New function.
17304 * hurd/hurd.h (_hurd_exec): Deprecate function.
17305 (_hurd_exec_paths): Declare function.
17306 * hurd/Versions: Export _hurd_exec_paths.
17307 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
17308 (__execve): Use __getcwd to build absolute path, and use
17309 _hurd_exec_paths instead of _hurd_exec.
17310 * sysdeps/mach/hurd/spawni.c: Likewise.
17311 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
17312 _hurd_exec.
17313
d7ff3f11
DL
173142018-01-08 Dmitry V. Levin <ldv@altlinux.org>
17315
17316 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
17317 test instead of failing in case of ENOENT returned by posix_openpt.
17318
401311cf
FW
173192018-01-08 Florian Weimer <fweimer@redhat.com>
17320
17321 resolv: Support binary labels in test framework.
17322 * support/resolv_test.c (struct to_be_freed): Remove.
17323 (struct compressed_name): New.
17324 (allocate_compressed_name, ascii_tolower)
17325 (compare_compressed_name): New functions.
17326 (struct resolv_response_builder): Update type of
17327 compression_offsets for use with tsearch. Rempve to_be_freed.
17328 (response_push_pointer_to_free): Remove function.
17329 (resolv_response_add_name): Rewrite using struct compressed_name
17330 and tsearch instead of hsearch_r.
17331 (response_builder_allocate): Remove initialization of
17332 compression_offsets.
17333 (response_builder_free): Update for removal of to_be_freed. Use
17334 tdestroy instead of hdestroy_r.
17335 * resolv/Makefile (tests): Add tst-resolv-binary.
17336 (tst-resolv-binary): Link with -lresolv -lpthread.
17337
2b3aa446
FW
173382018-01-08 Florian Weimer <fweimer@redhat.com>
17339
17340 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
17341 time. Pass positive flag instead of negative flag to
17342 support_test_compare_failure.
17343 (support_test_compare_failure): Change negative parameter to
17344 positive.
17345 * support/support_test_compare_failure.c (report)
17346 (support_test_compare_failure): Likewise.
17347 * support/tst-test_compare.c (return_ssize_t, return_int): New.
17348 (do_test): Check int/size_t, ssize_t/size_t comparisons.
17349
630f4cc3
SN
173502018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
17351
17352 [BZ #22637]
17353 * nptl/descr.h (stackblock, stackblock_size): Update comments.
17354 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
17355 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
17356 stacksize.
17357 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
17358
c70e4e9c
L
173592018-01-08 H.J. Lu <hongjiu.lu@intel.com>
17360
17361 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17362 Add s_sincosf-sse2 and s_sincosf-fma.
17363 (CFLAGS-s_sincosf-fma.c): New.
17364 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
17365 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
17366 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
17367 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
17368 __sincosf is defined.
17369
579396ee
FW
173702018-01-08 Florian Weimer <fweimer@redhat.com>
17371
17372 * nptl/tst-thread-exit-clobber.cc: New file.
17373 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
17374 C++11 mode.
17375 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
17376 (tests): Add tst-thread-exit-clobber.
17377 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
17378
dabd75b6
FW
173792018-01-08 Florian Weimer <fweimer@redhat.com>
17380
17381 * support/check.h (support_static_assert): Define.
17382 (TEST_COMPARE): Use it.
17383
c2e014cc
AJ
173842018-01-07 Aurelien Jarno <aurelien@aurel32.net>
17385
17386 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
17387 [!__RLIM_T_MATCHES_RLIM64_T]
17388 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
17389 __getrlimit64. Add libc_hidden_weak.
17390
31a98837
PD
173912018-01-06 Palmer Dabbelt <palmer@sifive.com>
17392
17393 * elf/elf.h (R_RISCV_NONE): New define.
17394 (R_RISCV_32): Likewise.
17395 (R_RISCV_64): Likewise.
17396 (R_RISCV_RELATIVE): Likewise.
17397 (R_RISCV_COPY): Likewise.
17398 (R_RISCV_JUMP_SLOT): Likewise.
17399 (R_RISCV_TLS_DTPMOD32): Likewise.
17400 (R_RISCV_TLS_DTPMOD64): Likewise.
17401 (R_RISCV_TLS_DTPREL32): Likewise.
17402 (R_RISCV_TLS_DTPREL64): Likewise.
17403 (R_RISCV_TLS_TPREL32): Likewise.
17404 (R_RISCV_TLS_TPREL64): Likewise.
00505532
PD
17405 * Makerules (make-link-multidir): Make directories before linking into
17406 them.
150bbac1
PD
17407 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
17408 define.
17409 (VDSO_HASH_LINUX_4_15): Likewise.
1598f3ad
PD
17410 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
17411 in subdirectories of lib.
8e13c51b
PD
17412 * nptl/Makefile (/librt.so): Always depend on
17413 "$(shared-thread-library)".
31a98837 17414
fad7d57e
ST
174152018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17416
17417 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
4a5ce6e9
ST
17418 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
17419 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
17420 (___tls_get_addr).
17421 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
107a35a5
ST
17422 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
17423 "-O2 -march=i686".
01c7e549 17424 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
f417d92c
ST
17425 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
17426 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
17427 * sysdeps/gnu/glob-lstat-compat.c: New file.
17428 * sysdeps/gnu/glob64-lstat-compat.c: New file.
200fc24b 17429 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
fad7d57e 17430
3a32b716
TMQMF
174312018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17432
17433 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
17434 Reserve 16 chars to reloc_addr before calling _itoa_word.
17435
24731685
AJ
174362018-01-05 Aurelien Jarno <aurelien@aurel32.net>
17437
17438 [BZ #22678]
17439 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
17440 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
17441
19be56d8
AJ
17442 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
17443 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
17444
a6d0afb5
AJ
17445 * resource/tst-getrlimit.c: Add copyright header.
17446
8e900969
AJ
174472018-01-05 Aurelien Jarno <aurelien@aurel32.net>
17448 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17449
17450 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
17451 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
17452 Define __GI_getrlimit64 as weak alias of __getrlimit64.
17453 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
17454 instead.
17455 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
17456 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
17457 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
17458 RLIM64_INFINITY): Fix values to match the kernel ones.
17459 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
17460 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
17461 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
17462 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
17463 getrlimit64@@GLIBC_2_27.
17464 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
17465 and setrlimit64.
17466 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
17467 getrlimit, setrlimit, getrlimit64 and setrlimit64.
17468 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
17469 setrlimit, getrlimit64 and setrlimit64.
17470
0d0bc784
AJ
174712018-01-05 Aurelien Jarno <aurelien@aurel32.net>
17472
17473 [BZ #22648]
17474 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
17475 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
17476
ba374b6d
JM
174772018-01-04 Joseph Myers <joseph@codesourcery.com>
17478
17479 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
17480 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
17481 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
17482
4854ddd8
AZ
174832018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17484
b0a4eca2
AZ
17485 [BZ #15479]
17486 [BZ #22666]
17487 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
17488 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
17489
4854ddd8
AZ
17490 [BZ #15479]
17491 [BZ #22665]
17492 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
17493 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
17494 * sysdeps/alpha/fpu/s_floor.c: Likewise.
17495 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
17496
8a5df95f
FW
174972018-01-04 Florian Weimer <fweimer@redhat.com>
17498
17499 [BZ #22667]
17500 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
17501 Align the stack before calling exit.
17502 * stdlib/tst-makecontext-align.c: New file.
17503 * stdlib/Makefile (tests): Add tst-makecontext-align.
17504
82eef55f
FW
175052018-01-04 Florian Weimer <fweimer@redhat.com>
17506
17507 Add support for calling dlvsym from libc.so.
17508 * include/dlfcn.h (__libc_dlvsym): Declare.
17509 * elf/Makefile (tests-static-internal): Add
17510 tst-libc_dlvsym-static.
17511 (tests-internal): Add tst-libc_dlvsym.
17512 (modules-names): Add tst-libc_dlvsym-dso.
17513 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
17514 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
17515 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
17516 object tst-libc_dlvsym-dso.so needs to be built before running
17517 these tests.
17518 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
17519 * elf/Versions: Export __libc_dlvsym.
17520 * elf/dl-libc.c (struct do_dlvsym_args): New.
17521 (do_dlvsym, __libc_dlvsym): New functions.
17522 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
17523 (_dl_open_hook2): New variable.
17524 (__libc_register_dl_open_hook): Set it.
17525 * elf/tst-libc_dlvsym-dso.c: New file.
17526 * elf/tst-libc_dlvsym-static.c: Likewise.
17527 * elf/tst-libc_dlvsym.c: Likewise.
17528 * elf/tst-libc_dlvsym.h: Likewise.
17529
1714fc06
ST
175302018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
17531
17532 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
17533 include <sys/mount.h>.
17534
3c7d0312
WD
175352018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
17536
17537 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
17538 Add __NO_MATH_ERRNO__ check.
17539
7eff0954
JM
175402018-01-02 Joseph Myers <joseph@codesourcery.com>
17541
17542 * sysdeps/mips/mips32/libm-test-ulps: Update.
17543 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17544
77f49956
FW
175452018-01-02 Florian Weimer <fweimer@redhat.com>
17546
17547 * misc/tst-pselect.c: Add copyright header.
17548
363e4519 175492018-01-02 Aurelien Jarno <aurelien@aurel32.net>
d35989be
AJ
17550
17551 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
17552 comment.
17553 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
17554 comment.
17555 (settrlimit): Rename into setrlimit.
17556 (__sttrlimit): Rename into __setrlimit.
17557
3e4226ff
AJ
17558 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
17559 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
17560 never defined in that case.
17561
b9256ab6
JM
175622018-01-02 Joseph Myers <joseph@codesourcery.com>
17563
28fd6a44
JM
17564 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
17565
a4933a15
JM
17566 * sysdeps/arm/libm-test-ulps: Update.
17567
b9256ab6
JM
17568 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
17569 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
17570
4cf82d23
RS
175712018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17572
17573 * NEWS: Add cosf and sincosf to list of optimized functions.
17574
6a9dd7a7
AJ
175752018-01-02 Aurelien Jarno <aurelien@aurel32.net>
17576
17577 [BZ #22660]
17578 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
17579 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
17580 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
17581 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
17582
dbba87d5
DL
175832018-01-01 Dmitry V. Levin <ldv@altlinux.org>
17584
b05cb613
DL
17585 [BZ #22433]
17586 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
17587
dbba87d5
DL
17588 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
17589 making a copy of it.
17590
688903eb
JM
175912018-01-01 Joseph Myers <joseph@codesourcery.com>
17592
66ac23de
JM
17593 * manual/texinfo.tex: Update to version 2017-12-26.21 with
17594 trailing whitespace removed.
17595 * scripts/config.guess: Update to version 2018-01-01.
17596 * scripts/config.sub: Update to version 2018-01-01.
17597 * scripts/move-if-change: Update from gnulib.
17598
09533208
JM
17599 * NEWS: Update copyright dates.
17600 * catgets/gencat.c (print_version): Likewise.
17601 * csu/version.c (banner): Likewise.
17602 * debug/catchsegv.sh: Likewise.
17603 * debug/pcprofiledump.c (print_version): Likewise.
17604 * debug/xtrace.sh (do_version): Likewise.
17605 * elf/ldconfig.c (print_version): Likewise.
17606 * elf/ldd.bash.in: Likewise.
17607 * elf/pldd.c (print_version): Likewise.
17608 * elf/sotruss.sh: Likewise.
17609 * elf/sprof.c (print_version): Likewise.
17610 * iconv/iconv_prog.c (print_version): Likewise.
17611 * iconv/iconvconfig.c (print_version): Likewise.
17612 * locale/programs/locale.c (print_version): Likewise.
17613 * locale/programs/localedef.c (print_version): Likewise.
17614 * login/programs/pt_chown.c (print_version): Likewise.
17615 * malloc/memusage.sh (do_version): Likewise.
17616 * malloc/memusagestat.c (print_version): Likewise.
17617 * malloc/mtrace.pl: Likewise.
17618 * manual/libc.texinfo: Likewise.
17619 * nptl/version.c (banner): Likewise.
17620 * nscd/nscd.c (print_version): Likewise.
17621 * nss/getent.c (print_version): Likewise.
17622 * nss/makedb.c (print_version): Likewise.
17623 * posix/getconf.c (main): Likewise.
17624 * scripts/test-installation.pl: Likewise.
17625 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
17626
688903eb
JM
17627 * All files with FSF copyright notices: Update copyright dates
17628 using scripts/update-copyrights.
17629 * locale/programs/charmap-kw.h: Regenerated.
17630 * locale/programs/locfile-kw.h: Likewise.
17631
4f820792
ZW
176322017-12-31 Zack Weinberg <zackw@panix.com>
17633
17634 * libio/bits/libio-ldbl.h: Correct check for improper
17635 inclusion. Add own multiple include guard.
17636
3e3c904d
AJ
176372017-12-30 Aurelien Jarno <aurelien@aurel32.net>
17638 Dmitry V. Levin <ldv@altlinux.org>
17639
17640 [BZ #22625]
31f96325 17641 CVE-2017-16997
3e3c904d
AJ
17642 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
17643 string token expansion. Check for NULL pointer or empty string possibly
17644 returned by expand_dynamic_string_token.
17645 (decompose_rpath): Check for empty path after dynamic string
17646 token expansion.
17647
7e21972b
DL
176482017-12-29 Dmitry V. Levin <ldv@altlinux.org>
17649
c48831d0
DL
17650 [BZ #22433]
17651 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
17652
ac583f50
DL
17653 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
17654 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
17655 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
17656 and PTRACE_SYSCALL.
17657 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
17658 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17659 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17660 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17661 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17662 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
17663
7e21972b
DL
17664 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
17665 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
17666 __ptrace_peeksiginfo_flags, ptrace): Move to ...
17667 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
17668 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17669 bits/ptrace-shared.h.
17670 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
17671 <bits/ptrace-shared.h>.
17672 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
17673 __ptrace_peeksiginfo_flags, ptrace): Remove.
17674 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17675 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17676 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17677 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17678 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
17679
72f29e3a
AJ
176802017-12-29 Aurelien Jarno <aurelien@aurel32.net>
17681
17682 [BZ #17804]
17683 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
17684 end of the loop. Improve comments.
17685
54e4efc2
AJ
176862017-12-29 Zack Weinberg <zackw@panix.com>
17687
17688 [BZ #22615]
17689 * manual/errno.texi (Checking for Errors): Explicitly say that errno
17690 might be set on success.
17691
f8aa69be
AJ
176922017-12-29 Aurelien Jarno <aurelien@aurel32.net>
17693
17694 [BZ #22611]
17695 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
17696 is unchanged on success.
17697
97f13188
DL
176982017-12-27 Dmitry V. Levin <ldv@altlinux.org>
17699
2bd86632
DL
17700 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
17701 updated.
17702 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
17703 expand_dynamic_string_token): Likewise.
17704 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
17705 is_path argument.
17706
1c36e1e6
DL
17707 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
17708 contains ':'.
17709
97f13188
DL
17710 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
17711 is set and name contains ':', and all code depending on these checks.
17712
48a8f832
ZW
177132017-12-24 Zack Weinberg <zackw@panix.com>
17714
17715 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
17716 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
17717 respectively.
17718 * libio/libio.h: Rename the original version of this file to
17719 libio/bits/libio.h. Error out if not included by stdio.h or the
17720 stub libio.h.
17721 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
17722 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
17723 if not included by bits/libio.h or the stub _G_config.h.
17724 * sysdeps/unix/sysv/linux/_G_config.h: Move to
17725 sysdeps/unix/sysv/linux/bits. Error out if not included by
17726 bits/libio.h or the stub _G_config.h.
17727 * libio/stdio.h: Include bits/libio.h, not libio.h.
17728 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
17729 well as libio.h and _G_config.h.
17730
17731 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
17732 * libio/strfile.h, stdio-common/vfscanf.c
17733 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
17734 Include stdio.h, not _G_config.h nor libio.h.
17735 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
17736 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
17737
17738 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
17739
a47ad79a
DL
177402017-12-23 Dmitry V. Levin <ldv@altlinux.org>
17741
17742 [BZ #22347]
17743 * stdlib/getrandom.c (getrandom): Fix comment.
17744 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
17745
363e4519 177462017-12-23 Aurelien Jarno <aurelien@aurel32.net>
e65a5644 17747
f5c558f3
AJ
17748 [BZ #21161]
17749 * manual/arith.texi (strtoul): Fix a typo.
17750
e65a5644
AJ
17751 [BZ #22596]
17752 * manual/arith.texi (finite): Fix the description of the return
17753 value.
17754
ed8ae46b
EB
177552017-12-22 Eric Blake <ebb9@byu.net>
17756
17757 Avoid gcc warnings on cygwin
17758 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
17759 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
17760 Avoid unused variable.
17761
bad7a0c8
FW
177622017-12-22 Florian Weimer <fweimer@redhat.com>
17763
17764 * io/Makefile (routines): Add copy_file_range.
17765 (tests): Add tst-copy_file_range.
17766 (tests-static, tests-internal): Add tst-copy_file_range-compat.
17767 * io/Versions (GLIBC_2.27): Export copy_file_range.
17768 * io/copy_file_range-compat.c: New file.
17769 * io/copy_file_range.c: Likewise.
17770 * io/tst-copy_file_range-compat.c: Likewise.
17771 * io/tst-copy_file_range.c: Likewise.
17772 * manual/llio.texi (Copying File Data): New section.
17773 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
17774 * support/Makefile (libsupport-routines): Add support-xfstat,
17775 xftruncate, xlseek.
17776 * support/support-xfstat.c: New file.
17777 * support/xftruncate.c: Likewise.
17778 * support/xlseek.c: Likewise.
17779 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
17780 * sysdeps/unix/sysv/linux/**.abilist: Update.
17781 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
17782
6cb86fd2
SN
177832017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
17784
17785 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17786 disable-multi-arch variant to aarch64-linux-gnu.
17787
41d11b15
JM
177882017-12-20 Joseph Myers <joseph@codesourcery.com>
17789
17790 * manual/texinfo.tex: Update to version 2017-12-18.20 with
17791 trailing whitespace removed.
17792 * scripts/config.guess: Update to version 2017-12-17.
17793 * scripts/config.sub: Update to version 2017-11-23.
17794 * scripts/install-sh: Update to version 2017-09-23.17.
17795 * scripts/move-if-change: Update to version 2017-09-13 06:45.
17796
4735850f
AZ
177972017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17798
8d2d239c
AZ
17799 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
17800 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
17801 * sysdeps/tile/_mcount.S (__mcount): Likewise.
17802 * sysdeps/tile/crti.S (_init, _fini): Likewise.
17803 * sysdeps/tile/crtn.S: Likewise.
17804 * sysdeps/tile/dl-start.S (_start): Likewise.
17805 * sysdeps/tile/dl-trampoline.S: Likewise.
17806 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
17807 * sysdeps/tile/start.S (_start): Likewise.
17808 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
17809 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
17810 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
17811 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
17812 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
17813 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
17814 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
17815
24d1d8ec
AZ
17816 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
17817 comment.
17818 * sysdeps/tile/preconfigure: Remove tilegx folder.
17819 * sysdeps/tile/tilegx/Implies: Move definitions to ...
17820 * sysdeps/tile/Implies: ... here.
17821 * sysdeps/tile/tilegx/Makefile: Move rules to ...
17822 * sysdeps/tile/Makefile: ... here.
17823 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
17824 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
17825 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
17826 * sysdeps/tile/bits/wordsize.h: ... here.
17827 * sysdeps/tile/tilegx/*: Move to ...
17828 * sysdeps/tile/*: ... here.
17829 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
17830 * sysdeps/tile/tilegx32/Implies: ... here.
17831 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
17832 * sysdeps/tile/tilegx64/Implies: ... here.
17833 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
17834 to ...
17835 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
17836 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
17837 * sysdeps/unix/sysv/linux/tile/*: ... here.
17838 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
17839 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
17840 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
17841 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
17842
ed95f611
AZ
17843 * README: Remove tilepro-*-linux-gnu from supported architecture.
17844 * scripts/build-many-glibcs.py: Likewise.
17845 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
17846 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
17847 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
17848 elf_machine_matches_host, elf_machine_dynamic,
17849 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
17850 howto, elf_machine_rela): Likewise.
17851 * sysdeps/tile/dl-start.S (_start): Likewise.
17852 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
17853 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
17854 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
17855 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
17856 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
17857 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
17858 Likewise.
17859 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
17860 * sysdeps/tile/preconfigure: Likewise.
17861 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
17862 POINTER_CHK_GUARD): Likewise.
17863 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
17864 * sysdeps/tile/start.S (_start): Likewise.
17865 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
17866 Likewise.
17867 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
17868 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
17869 CMOVNEZ): Remove.
17870 * sysdeps/unix/sysv/linux/tile/bits/environments.h
17871 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
17872 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
17873 Likewise.
17874 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
17875 * sysdeps/tile/tilepro/Implies: Remove file.
17876 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
17877 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
17878 * sysdeps/tile/tilepro/memchr.c: Likewise.
17879 * sysdeps/tile/tilepro/memcpy.S: Likewise.
17880 * sysdeps/tile/tilepro/memset.c: Likewise.
17881 * sysdeps/tile/tilepro/memusage.h: Likewise.
17882 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
17883 * sysdeps/tile/tilepro/strchr.c: Likewise.
17884 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
17885 * sysdeps/tile/tilepro/strlen.c: Likewise.
17886 * sysdeps/tile/tilepro/strrchr.c: Likewise.
17887 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
17888 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
17889 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
17890 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
17891 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
17892 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
17893 Likewise.
17894 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
17895 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17896 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
17897 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
17898 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17899 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
17900 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
17901 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
17902 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
17903 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
17904 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
17905 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
17906 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
17907 tilepro mention in comment.
17908
4735850f
AZ
17909 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
17910 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
17911 * nptl/pthread_join_common.c: New file: common function used on
17912 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
17913 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
17914 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
17915 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
17916 (cleanup): Move definition to pthread_join_common.c.
17917 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
17918 Remove superflous checks.
17919 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
17920 Likewise.
17921
8bfb461e
SN
179222017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
17923
17924 * sysdeps/aarch64/libm-test-ulps: Update.
17925
4e001969
AZ
179262017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17927
17928 * sysdeps/aarch64/memset.S (MEMSET): Define.
17929
8a26ad2a
FW
179302017-12-20 Florian Weimer <fweimer@redhat.com>
17931
17932 [BZ #22635]
17933 nptl: Provide full implementation of pthread_self in libc.so.
17934 * nptl/Makefile (routines): Add pthread_self.
17935 (libpthread-routines): Replace pthread_self with
17936 compat-pthread_self.
17937 * nptl/forward.c (pthread_self): Remove.
17938 * nptl/nptl-init.c (pthread_functions): Do not initialize
17939 ptr_pthread_self.
17940 * nptl/pthread_self.c (pthread_self): Remove weak alias.
17941 * nptl/compat-pthread_self.c: New file.
17942 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
17943 Remove ptr_pthread_self.
17944
5069ff32
AR
179452017-12-19 Arnold D. Robbins <arnold@skeeve.com>
17946
17947 * posix/regcomp.c: Fix spelling in comments.
17948 * posix/regex.h: Likewise.
17949 * posix/regex_internal.c: Likewise.
17950 * posix/regexec.c: Likewise.
17951
c85e54ac
GG
179522017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
17953
17954 [BZ #22377]
17955 * math/Makefile [C++] (tests): Add test for iseqsig.
17956 * math/math.h [C++] (iseqsig): New implementation, which does
17957 not rely on __MATH_TG/__builtin_types_compatible_p.
17958 * math/test-math-iseqsig.cc: New file.
17959 * sysdeps/powerpc/powerpc64le/Makefile
17960 (CFLAGS-test-math-iseqsig.cc): New variable.
17961
10e93d96
DL
179622017-12-19 Dmitry V. Levin <ldv@altlinux.org>
17963
17964 * elf/dl-load.c (is_trusted_path): Remove.
17965 (fillin_rpath): Remove check_trusted argument and its use,
17966 all callers changed.
17967
ce16eb52
L
179682017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17969
17970 [BZ #22630]
17971 * Makeconfig (link-pie-before-libc): Replace -pie with
17972 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
17973 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
17974 (tst-dlopen-aout-no-pie): New.
17975 (LDFLAGS-tst-prelink): Removed.
17976 (tst-prelink-no-pie): New.
17977 (LDFLAGS-tst-main1): Removed.
17978 (tst-main1-no-pie): New.
17979 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
17980 (tst-gmon-no-pie): New.
17981
126adc89
L
179822017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17983
17984 * manual/install.texi: Document that --enable-static-pie
17985 implies PIE.
17986 * INSTALL: Regenerated.
17987
648615e1
BE
179882017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
17989
17990 [BZ #21309]
17991 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
17992 unsigned.
17993
f1e00502
JM
179942017-12-19 Joseph Myers <joseph@codesourcery.com>
17995
17996 Revert:
17997
17998 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17999
18000 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18001
18002 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18003
18004 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
18005 <errno.h>. Include "eexp.tbl".
18006 (half): New constant.
18007 (one): Likewise.
18008 (__ieee754_exp): Rewrite.
18009 (__slowexp): Remove prototype.
18010 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
18011 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
18012 * sysdeps/i386/fpu/slowexp.c: Likewise.
18013 * sysdeps/ia64/fpu/slowexp.c: Likewise.
18014 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
18015 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
18016 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
18017 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18018 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
18019 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
18020 comment.
18021 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
18022 (CPPFLAGS-slowexp.c): Remove variable.
18023 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18024 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
18025 (CFLAGS-slowexp-fma.c): Remove variable.
18026 (CFLAGS-slowexp-fma4.c): Likewise.
18027 (CFLAGS-slowexp-avx.c): Likewise.
18028 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
18029 define as macro.
18030 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
18031 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
18032 * math/Makefile (type-double-routines): Remove slowexp.
18033 * manual/probes.texi (slowexp_p6): Remove.
18034 (slowexp_p32): Likewise.
18035
d711a00f
AZ
180362017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18037
e184ac3a
AZ
18038 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
18039 arithmetic.
18040
d711a00f
AZ
18041 * lib/glob.c (glob): Do not pass NULL to mempcpy.
18042
6f58c10d
JM
180432017-12-19 Joseph Myers <joseph@codesourcery.com>
18044
18045 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18046
6fd0a3c6
PM
180472017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18048
18049 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
18050 <errno.h>. Include "eexp.tbl".
18051 (half): New constant.
18052 (one): Likewise.
18053 (__ieee754_exp): Rewrite.
18054 (__slowexp): Remove prototype.
18055 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
18056 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
18057 * sysdeps/i386/fpu/slowexp.c: Likewise.
18058 * sysdeps/ia64/fpu/slowexp.c: Likewise.
18059 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
18060 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
18061 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
18062 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18063 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
18064 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
18065 comment.
18066 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
18067 (CPPFLAGS-slowexp.c): Remove variable.
18068 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18069 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
18070 (CFLAGS-slowexp-fma.c): Remove variable.
18071 (CFLAGS-slowexp-fma4.c): Likewise.
18072 (CFLAGS-slowexp-avx.c): Likewise.
18073 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
18074 define as macro.
18075 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
18076 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
18077 * math/Makefile (type-double-routines): Remove slowexp.
18078 * manual/probes.texi (slowexp_p6): Remove.
18079 (slowexp_p32): Likewise.
18080
3bb1ef58
AZ
180812017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18082 James Clarke <jrtc27@jrtc27.com>
18083
18084 [BZ #22603]
18085 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
18086 addition.
18087
554e3d51
AZ
180882017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18089
18090 [BZ #22605]
18091 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
18092 code.
18093
cba595c3
L
180942017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18095
18096 [BZ #22563]
18097 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18098 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
18099 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18100 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
18101 to feature_1.
18102
f81ddabf
L
181032017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18104
18105 [BZ #22563]
18106 * bits/types/__cancel_jmp_buf_tag.h: New file.
18107 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
18108 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
18109 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
18110 * nptl/Makefile (headers): Add
18111 bits/types/__cancel_jmp_buf_tag.h.
18112 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
18113 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
18114 * sysdeps/nptl/pthread.h: Include
18115 <bits/types/__cancel_jmp_buf_tag.h>.
18116 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
18117 __cancel_jmp_buf.
18118 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
18119
1a49fc59
L
181202017-12-18 H.J. Lu <hongjiu.lu@intel.com>
18121
18122 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18123 --enable-static-pie variants to x86_64, x32 and i686.
18124
8e52f573
JM
181252017-12-19 Joseph Myers <joseph@codesourcery.com>
18126
66425185
JM
18127 [BZ #22631]
18128 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
18129 argument for attrubutes. All callers changed.
18130 (__inline_mathop1): Likewise. All callers changed.
18131 (__inline_mathop): Likewise. All callers changed.
18132 [__USE_MISC] (scalbn): Use __inline_forward instead of
18133 __inline_forward_c.
18134 [__USE_ISOC99] (scalbln): Likewise.
18135 [__USE_ISOC99] (nearbyint): Likewise.
18136 [__USE_ISOC99] (lrint): Likewise.
18137 [__USE_MISC] (scalbnf): Likewise.
18138 [__USE_ISOC99] (scalblnf): Likewise.
18139 [__USE_ISOC99] (nearbyintf): Likewise.
18140 [__USE_ISOC99] (lrintf): Likewise.
18141 [__USE_MISC] (scalbnl): Likewise.
18142 [__USE_ISOC99] (scalblnl): Likewise.
18143 [__USE_ISOC99] (nearbyintl): Likewise.
18144 [__USE_ISOC99] (lrintl): Likewise.
18145 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
18146 __inline_mathop and __m81_defun changed.
18147
8e52f573
JM
18148 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
18149 CPU or FPU for ARM hard-float configurations.
18150
1421f39b
JM
181512017-12-18 Joseph Myers <joseph@codesourcery.com>
18152
40c4162d
JM
18153 * nptl/tst-attr3.c: Include <libc-diag.h>.
18154 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
18155
5983df32
JM
18156 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
18157
1421f39b
JM
18158 * string/tester.c (test_strncat): Also disable -Warray-bounds
18159 warnings for two tests.
18160
00c714df
L
181612017-12-18 H.J. Lu <hongjiu.lu@intel.com>
18162
18163 [BZ #22614]
18164 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
18165 $(cc-pie-default) == yes.
18166 * config.make.in (cc-pie-default): New.
18167 * configure.ac (libc_cv_pie_default): Renamed to ...
18168 (libc_cv_cc_pie_default): This.
18169 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
18170 * configure: Regenerated.
18171
8e1472d2
FW
181722017-12-18 Florian Weimer <fweimer@redhat.com>
18173
18174 [BZ #20204]
18175 ld.so: Harden dl-libc/libdl hooks.
18176 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
18177 (rtld_active): New function.
18178 * dlfcn/dladdr.c (__dladdr): Call it.
18179 * dlfcn/dladdr1.c (__dladdr1): Likewise.
18180 * dlfcn/dlclose.c (__dlcose): Likewise.
18181 * dlfcn/dlerror.c (__dlerror): Likewise.
18182 * dlfcn/dlinfo.c (__dlinfo): Likewise.
18183 * dlfcn/dlmopen.c (__dlmopen): Likewise.
18184 * dlfcn/dlopen.c (__dlopen): Likewise.
18185 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18186 * dlfcn/dlsym.c (__dlsym): Likewise.
18187 * dlfcn/dlvsym.c (__dlvsym): Likewise.
18188 * libio/vtables.c (_IO_vtable_check): Likewise.
18189 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
18190 (__libc_dlclose): Likewise.
18191 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
18192 assignment.
18193
49b036bc
JM
181942017-12-18 Joseph Myers <joseph@codesourcery.com>
18195
18196 [BZ #22446]
18197 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
18198 buffers for readlink input and output.
18199
368b6c8d
ST
182002017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
18201
c85c564d
ST
18202 [BZ #22624]
18203 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
18204 inhibit_stack_protector.
18205
368b6c8d
ST
18206 [BZ #22624]
18207 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
18208 inhibit_stack_protector.
18209
bb195224
DL
182102017-12-18 Dmitry V. Levin <ldv@altlinux.org>
18211
18212 [BZ #22627]
18213 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
18214 code and invocation.
18215
14d886ed
SN
182162017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
18217
18218 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
18219
7d38eb38
AJ
182202017-12-16 Aurelien Jarno <aurelien@aurel32.net>
18221
18222 [BZ #22505]
18223 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
18224
2e77deef
RS
182252017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18226
18227 * sysdeps/s390/fpu/libm-test-ulps: Update.
18228
0b9bef6d
RS
182292017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18230
18231 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18232
984ae996
RS
182332017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18234
18235 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
18236 constants to s_sincosf.h file.
18237 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18238 * sysdeps/ieee754/flt-32/s_sincosf.c: New
18239 implementation.
18240 * sysdeps/ieee754/flt-32/s_sincosf.h:
18241 New file.
18242
363e4519 182432017-12-12 Carlos O'Donell <carlos@redhat.com>
93930ea9
CD
18244
18245 [BZ #14681]
18246 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
18247 before mtrace.
18248
9d7a3741
L
182492017-12-15 H.J. Lu <hongjiu.lu@intel.com>
18250
18251 [BZ #19574]
18252 * INSTALL: Regenerated.
18253 * Makeconfig (real-static-start-installed-name): New.
18254 (pic-default): Updated for --enable-static-pie.
18255 (pie-default): New for --enable-static-pie.
18256 (default-pie-ldflag): Likewise.
18257 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
18258 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
18259 Replace $(static-start-installed-name) with
18260 $(real-static-start-installed-name).
18261 (+prectorT): Updated for --enable-static-pie.
18262 (+postctorT): Likewise.
18263 (CFLAGS-.o): Add $(pie-default).
18264 (CFLAGS-.op): Likewise.
18265 * NEWS: Mention --enable-static-pie.
18266 * config.h.in (ENABLE_STATIC_PIE): New.
18267 * configure.ac (--enable-static-pie): New configure option.
18268 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
18269 (have-static-pie): Likewise.
18270 Enable static PIE if linker supports --no-dynamic-linker.
18271 (ENABLE_STATIC_PIE): New AC_DEFINE.
18272 (enable-static-pie): New LIBC_CONFIG_VAR.
18273 * configure: Regenerated.
18274 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
18275 gr$(start-installed-name) for --enable-static-pie.
18276 (extra-objs): Likewise.
18277 (install-lib): Likewise.
18278 (extra-objs): Add static-reloc.o and static-reloc.os
18279 ($(objpfx)$(start-installed-name)): Also depend on
18280 $(objpfx)static-reloc.o.
18281 ($(objpfx)r$(start-installed-name)): New.
18282 ($(objpfx)g$(start-installed-name)): Also depend on
18283 $(objpfx)static-reloc.os.
18284 ($(objpfx)gr$(start-installed-name)): New.
18285 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
18286 in libc.a.
18287 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
18288 initimage.
18289 * csu/static-reloc.c: New file.
18290 * elf/Makefile (routines): Add dl-reloc-static-pie.
18291 (elide-routines.os): Likewise.
18292 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
18293 (tst-tls1-static-non-pie-no-pie): New.
18294 * elf/dl-reloc-static-pie.c: New file.
18295 * elf/dl-support.c (_dl_get_dl_main_map): New function.
18296 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
18297 STATIC_PIE_BOOTSTRAP.
18298 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
18299 * gmon/Makefile (tests): Add tst-gmon-static-pie.
18300 (tests-static): Likewise.
18301 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
18302 (tst-gmon-static-no-pie): New.
18303 (CFLAGS-tst-gmon-static-pie.c): Likewise.
18304 (CRT-tst-gmon-static-pie): Likewise.
18305 (tst-gmon-static-pie-ENV): Likewise.
18306 (tests-special): Likewise.
18307 ($(objpfx)tst-gmon-static-pie.out): Likewise.
18308 (clean-tst-gmon-static-pie-data): Likewise.
18309 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
18310 * gmon/tst-gmon-static-pie.c: New file.
18311 * manual/install.texi: Document --enable-static-pie.
18312 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
18313 (_dl_get_dl_main_map): Likewise.
18314 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
18315 * sysdeps/x86_64/configure.ac: Likewise.
18316 * sysdeps/i386/configure: Regenerated.
18317 * sysdeps/x86_64/configure: Likewise.
18318 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
18319 (ASFLAGS-.op): Likewise.
18320
95511aab
JM
183212017-12-15 Joseph Myers <joseph@codesourcery.com>
18322
18323 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
18324 * posix/tst-mmap-offset.c (fname): Use /tmp.
18325 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
18326
a7e3edf4
SE
183272017-12-15 Steve Ellcey <sellcey@cavium.com>
18328
18329 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
18330
d232f2e1
TS
183312017-12-15 Thomas Schwinge <thomas@codesourcery.com>
18332
18333 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
18334 errno.
18335
174edbde
JM
183362017-12-15 Joseph Myers <joseph@codesourcery.com>
18337
5170fa49
JM
18338 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
18339 --with-float=hard for arm-linux-gnueabihf configurations.
18340
f2da2fd8
JM
18341 [BZ #14121]
18342 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
18343 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
18344 ($(mo-installed)): Use $(objpfx)%.mo.
18345 (realclean): Remove rule.
18346
0c4fe28d
JM
18347 * po/Makefile (linguas): Remove rule and dependencies.
18348 (linguas.mo): Likewise.
18349 (.PHONY): Do not depend on linguas and linguas.mo.
18350 (podir): Remove variable.
18351 (pofiles): Likewise.
18352 [$(pofiles)] (%.po): Remove rule.
18353
174edbde
JM
18354 * sysdeps/sparc/sparc32/Makefile
18355 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
18356 start-of-line whitespace in argument of echo.
18357 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
18358 with whitespace. Generate __wrap_.udiv alias.
18359 * sysdeps/sparc/sparc32/rem.S: Regenerated.
18360 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18361 * sysdeps/sparc/sparc32/udiv.S: Likewise.
18362 * sysdeps/sparc/sparc32/urem.S: Likewise.
18363
1e36806f
RS
183642017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18365
18366 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
18367 for aligned inputs.
18368
aa6932aa
SP
183692017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
18370
5f1603c3
SP
18371 * benchtests/bench-strcmp.c: Print output in JSON format.
18372
aa6932aa
SP
18373 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
18374
3ff3dfa5
FW
183752017-12-14 Florian Weimer <fweimer@redhat.com>
18376
18377 [BZ #22607]
18378 CVE-2017-1000409
18379 * elf/dl-load.c (_dl_init_paths): Compute number of components in
18380 the expanded path string.
18381
8a0b17e4
FW
183822017-12-14 Florian Weimer <fweimer@redhat.com>
18383
18384 [BZ #22606]
18385 CVE-2017-1000408
18386 * elf/dl-load.c (system_dirs): Update comment.
18387 (nsystem_dirs_len): Use array_length.
18388 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
18389
f58bd7f0
FW
183902017-12-14 Florian Weimer <fweimer@redhat.com>
18391
18392 Simplify compiling most of support/ outside of glibc.
18393 * support/check_addrinfo.c: Include <string.h>.
18394 * support/check_dns_packet.c: Likewise.
18395 * support/check_hostent.c: Likewise.
18396 * support/support_can_chroot.c: Include <support/xunistd.h>.
18397 * support/support_format_addrinfo.c: Include <stdlib.h>
18398 * support/support_format_dns_packet.c: Include <stdbool.h>.
18399 * support/support_format_hostent.c: Include <stdlib.h>.
18400 * support/support_format_netent.c: Likewise.
18401 * support/support_write_string.c: Include <support/xunistd.h>.
18402 * support/xdlfcn.c: Include <stddef.h>.
18403
4ca945e9
L
184042017-12-14 H.J. Lu <hongjiu.lu@intel.com>
18405
18406 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
18407
1b6e07f8
PM
184082017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18409 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18410
e6a1c5dc
PM
18411 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
18412 (sysdeps_routines): Add memset-niagara7.
18413 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
18414 Likewise.
18415 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
18416 file.
18417 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
18418 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
18419 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
18420 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
18421 Add niagara7 option.
18422 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
18423 memset.
18424
1b6e07f8
PM
18425 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
18426 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
18427 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
18428 Likewise.
18429 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
18430 New file.
18431 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
18432 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
18433 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
18434 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
18435 and __memmove_niagara7.
18436 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
18437 Add niagara7 option.
18438 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
18439 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
18440 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
18441 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
18442 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
18443
bfb7bf22
JM
184442017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
18445
767a26d6
JM
18446 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
18447 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
18448 * sysdeps/sparc/sparc64/memmove.S: Likewise.
18449 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
18450
bfb7bf22
JM
18451 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
18452 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
18453 _dl_sparc_cap_flags array.
18454 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
18455
2bce01eb
SP
184562017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
18457
18458 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
18459 time whenever possible.
18460
363e4519 184612017-12-12 Carlos O'Donell <carlos@redhat.com>
243b6333
CD
18462
18463 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
18464 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
18465
6f7c0092
JM
184662017-12-12 Joseph Myers <joseph@codesourcery.com>
18467
18468 * soft-fp/fmadf4.c: Move to ....
18469 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
18470 * soft-fp/fmasf4.c: Move to ....
18471 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
18472 * soft-fp/fmatf4.c: Move to ....
18473 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
18474 * sysdeps/ieee754/soft-fp/Makefile: New file.
18475 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
18476 * sysdeps/arm/preconfigure: Regenerated.
18477 * sysdeps/arm/nofpu/Implies: New file.
18478 * sysdeps/arm/s_fma.c: Remove file.
18479 * sysdeps/arm/s_fmaf.c: Likewise.
18480 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
18481 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
18482 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
18483 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
18484 * sysdeps/microblaze/s_fma.c: Remove file.
18485 * sysdeps/microblaze/s_fmaf.c: Likewise.
18486 * sysdeps/mips/mips32/nofpu/Implies: New file.
18487 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
18488 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
18489 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
18490 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
18491 * sysdeps/mips/ieee754/s_fma.c: Remove file.
18492 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
18493 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
18494 implementation.
18495 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
18496 * sysdeps/nios2/s_fma.c: Remove file.
18497 * sysdeps/nios2/s_fmaf.c: Likewise.
18498 * sysdeps/sh/nofpu/Implies: New file.
18499 * sysdeps/sh/s_fma.c: Remove file.
18500 * sysdeps/sh/s_fmaf.c: Likewise.
18501 * sysdeps/tile/Implies: Add ieee754/soft-fp.
18502 * sysdeps/tile/s_fma.c: Remove file.
18503 * sysdeps/tile/s_fmaf.c: Likewise.
18504
ac817e08
L
185052017-12-12 H.J. Lu <hongjiu.lu@intel.com>
18506
18507 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18508 Add s_cosf-sse2 and s_cosf-fma.
18509 (CFLAGS-s_cosf-fma.c): New.
18510 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
18511 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
18512 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
18513
eb428576
SE
185142017-12-12 Steve Ellcey <sellcey@cavium.com>
18515
18516 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
18517
c80acdc3
AZ
185182017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18519
cc683f7e
AZ
18520 * libio/Makefile (tests): Add tst-bz22415.
18521 (tst-bz22415-ENV): New rule.
18522 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
18523 (tests-special): Add tst-bz22415-mem.out.
18524 ($(objpfx)tst-bz22415-mem.out): New rule.
18525 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
18526 in case of a successful seek operation.
18527 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18528 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
18529 buffer is required.
18530 * libio/tst-bz22415.c: New test.
18531
c80acdc3
AZ
18532 * sysdeps/ia64/fpu/libm-test-ulps: Update.
18533
363e4519 185342017-12-12 James Clarke <jrtc27@jrtc27.com>
89bd8016
JC
18535
18536 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
18537 __IPC_64 to 0 to avoid IPC_64 being set.
18538
4e0dca54
SN
185392017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
18540
18541 [BZ #22593]
18542 * math/bits/mathcalls.h (nextafter): Remove const.
18543 (nexttoward): Likewise.
18544
8df5d347
JM
185452017-12-12 Joseph Myers <joseph@codesourcery.com>
18546
18547 * configure.ac (--with-fp): Remove configure option.
18548 (with_fp_cond): New variable.
18549 (libc_cv_with_fp): New configure test. Use this variable instead
18550 of with_fp.
18551 * configure: Regenerated.
18552 * config.make.in (with-fp): Use @libc_cv_with_fp@.
18553 * manual/install.texi (Configuring and compiling): Remove
18554 --without-fp.
18555 * INSTALL: Regenerated.
18556 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
18557 * sysdeps/mips/preconfigure (with_fp_cond): Define.
18558 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
18559 * sysdeps/sh/preconfigure (with_fp_cond): Define.
18560 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
18561 use --without-fp to configure glibc.
18562
0cee1257
RJ
185632017-12-12 Rical Jasan <ricaljasan@pacific.net>
18564
18565 * manual/locale.texi (nl_langinfo): Fix a typo.
18566
363e4519 185672017-12-12 Aurelien Jarno <aurelien@aurel32.net>
f54ad2f9
AJ
18568
18569 [BZ #22588]
18570 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
18571
36975e8e
L
185722017-12-11 H.J. Lu <hongjiu.lu@intel.com>
18573
18574 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
18575 (CFLAGS-argp-parse.c): Likewise.
18576 (CFLAGS-argp-fmtstream.c): Likewise.
18577 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
18578 (CPPFLAGS-sha512-crypt.c): Likewise.
18579 (CPPFLAGS-md5-crypt.c): Likewise.
18580 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
18581 (CFLAGS-stack_chk_fail_local.c): Likewise.
18582 (CFLAGS-backtrace.c): Likewise.
18583 (CFLAGS-sprintf_chk.c): Likewise.
18584 (CFLAGS-snprintf_chk.c): Likewise.
18585 (CFLAGS-vsprintf_chk.c): Likewise.
18586 (CFLAGS-vsnprintf_chk.c): Likewise.
18587 (CFLAGS-asprintf_chk.c): Likewise.
18588 (CFLAGS-vasprintf_chk.c): Likewise.
18589 (CFLAGS-obprintf_chk.c): Likewise.
18590 (CFLAGS-dprintf_chk.c): Likewise.
18591 (CFLAGS-vdprintf_chk.c): Likewise.
18592 (CFLAGS-printf_chk.c): Likewise.
18593 (CFLAGS-fprintf_chk.c): Likewise.
18594 (CFLAGS-vprintf_chk.c): Likewise.
18595 (CFLAGS-vfprintf_chk.c): Likewise.
18596 (CFLAGS-gets_chk.c): Likewise.
18597 (CFLAGS-fgets_chk.c): Likewise.
18598 (CFLAGS-fgets_u_chk.c): Likewise.
18599 (CFLAGS-fread_chk.c): Likewise.
18600 (CFLAGS-fread_u_chk.c): Likewise.
18601 (CFLAGS-swprintf_chk.c): Likewise.
18602 (CFLAGS-vswprintf_chk.c): Likewise.
18603 (CFLAGS-wprintf_chk.c): Likewise.
18604 (CFLAGS-fwprintf_chk.c): Likewise.
18605 (CFLAGS-vwprintf_chk.c): Likewise.
18606 (CFLAGS-vfwprintf_chk.c): Likewise.
18607 (CFLAGS-fgetws_chk.c): Likewise.
18608 (CFLAGS-fgetws_u_chk.c): Likewise.
18609 (CFLAGS-read_chk.c): Likewise.
18610 (CFLAGS-pread_chk.c): Likewise.
18611 (CFLAGS-pread64_chk.c): Likewise.
18612 (CFLAGS-recv_chk.c): Likewise.
18613 (CFLAGS-recvfrom_chk.c): Likewise.
18614 (CFLAGS-tst-longjmp_chk.c): Likewise.
18615 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
18616 (CFLAGS-tst-longjmp_chk2.c): Likewise.
18617 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
18618 (CFLAGS-tst-longjmp_chk3.c): Likewise.
18619 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
18620 (CFLAGS-tst-chk1.c): Likewise.
18621 (CFLAGS-tst-chk2.c): Likewise.
18622 (CFLAGS-tst-chk3.c): Likewise.
18623 (CFLAGS-tst-chk4.cc): Likewise.
18624 (CFLAGS-tst-chk5.cc): Likewise.
18625 (CFLAGS-tst-chk6.cc): Likewise.
18626 (CFLAGS-tst-lfschk1.c): Likewise.
18627 (CFLAGS-tst-lfschk2.c): Likewise.
18628 (CFLAGS-tst-lfschk3.c): Likewise.
18629 (CFLAGS-tst-lfschk4.cc): Likewise.
18630 (CFLAGS-tst-lfschk5.cc): Likewise.
18631 (CFLAGS-tst-lfschk6.cc): Likewise.
18632 (CFLAGS-tst-ssp-1.c): Likewise.
18633 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
18634 (CFLAGS-scandir64.c): Likewise.
18635 (CFLAGS-scandir-tail.c): Likewise.
18636 (CFLAGS-scandir64-tail.c): Likewise.
18637 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
18638 (CFLAGS-dl-tunables.c): Likewise.
18639 (CFLAGS-dl-runtime.c): Likewise.
18640 (CFLAGS-dl-lookup.c): Likewise.
18641 (CFLAGS-dl-iterate-phdr.c): Likewise.
18642 (CFLAGS-vismain.c): Likewise.
18643 (CFLAGS-tst-linkall-static.c): Likewise.
18644 (CFLAGS-tst-linkall-static.c): Likewise.
18645 (CPPFLAGS-dl-load.c): Likewise.
18646 (CFLAGS-ldconfig.c): Likewise.
18647 (CFLAGS-dl-cache.c): Likewise.
18648 (CFLAGS-cache.c): Likewise.
18649 (CFLAGS-rtld.c): Likewise.
18650 (CFLAGS-multiload.c): Likewise.
18651 (CFLAGS-filtmod1.c): Likewise.
18652 (CFLAGS-tst-align.c): Likewise.
18653 (CFLAGS-tst-align2.c): Likewise.
18654 (CFLAGS-tst-alignmod.c): Likewise.
18655 (CFLAGS-tst-alignmod2.c): Likewise.
18656 (CPPFLAGS-tst-execstack.c): Likewise.
18657 (CFLAGS-tst-ptrguard1-static.c): Likewise.
18658 (CFLAGS-tst-latepthreadmod.c): Likewise.
18659 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
18660 (CFLAGS-getgrnam_r.c): Likewise.
18661 (CFLAGS-getgrent_r.c): Likewise.
18662 (CFLAGS-getgrent.c): Likewise.
18663 (CFLAGS-fgetgrent.c): Likewise.
18664 (CFLAGS-fgetgrent_r.c): Likewise.
18665 (CFLAGS-putgrent.c): Likewise.
18666 (CFLAGS-initgroups.c): Likewise.
18667 (CFLAGS-getgrgid.c): Likewise.
18668 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
18669 (CFLAGS-getsgent.c): Likewise.
18670 (CFLAGS-fgetsgent.c): Likewise.
18671 (CFLAGS-fgetsgent_r.c): Likewise.
18672 (CFLAGS-putsgent.c): Likewise.
18673 (CFLAGS-getsgnam.c): Likewise.
18674 (CFLAGS-getsgnam_r.c): Likewise.
18675 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
18676 (CFLAGS-iconv_charmap.c): Likewise.
18677 (CFLAGS-dummy-repertoire.c): Likewise.
18678 (CFLAGS-charmap.c): Likewise.
18679 (CFLAGS-linereader.c): Likewise.
18680 (CFLAGS-simple-hash.c): Likewise.
18681 (CFLAGS-gconv_conf.c): Likewise.
18682 (CFLAGS-iconvconfig.c): Likewise.
18683 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
18684 (CFLAGS-gethstbyad.c): Likewise.
18685 (CFLAGS-gethstbynm_r.c): Likewise.
18686 (CFLAGS-gethstbynm.c): Likewise.
18687 (CFLAGS-gethstbynm2_r.c): Likewise.
18688 (CFLAGS-gethstbynm2.c): Likewise.
18689 (CFLAGS-gethstent_r.c): Likewise.
18690 (CFLAGS-gethstent.c): Likewise.
18691 (CFLAGS-rcmd.c): Likewise.
18692 (CFLAGS-getnetbynm_r.c): Likewise.
18693 (CFLAGS-getnetbynm.c): Likewise.
18694 (CFLAGS-getnetbyad_r.c): Likewise.
18695 (CFLAGS-getnetbyad.c): Likewise.
18696 (CFLAGS-getnetent_r.c): Likewise.
18697 (CFLAGS-getnetent.c): Likewise.
18698 (CFLAGS-getaliasent_r.c): Likewise.
18699 (CFLAGS-getaliasent.c): Likewise.
18700 (CFLAGS-getrpcent_r.c): Likewise.
18701 (CFLAGS-getrpcent.c): Likewise.
18702 (CFLAGS-getservent_r.c): Likewise.
18703 (CFLAGS-getservent.c): Likewise.
18704 (CFLAGS-getprtent_r.c): Likewise.
18705 (CFLAGS-getprtent.c): Likewise.
18706 (CFLAGS-either_ntoh.c): Likewise.
18707 (CFLAGS-either_hton.c): Likewise.
18708 (CFLAGS-getnetgrent.c): Likewise.
18709 (CFLAGS-getnetgrent_r.c): Likewise.
18710 (CFLAGS-tst-checks-posix.c): Likewise.
18711 (CFLAGS-tst-sockaddr.c): Likewise.
18712 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
18713 (CFLAGS-tst-translit.c): Likewise.
18714 (CFLAGS-tst-gettext2.c): Likewise.
18715 (CFLAGS-tst-codeset.c): Likewise.
18716 (CFLAGS-tst-gettext3.c): Likewise.
18717 (CFLAGS-tst-gettext4.c): Likewise.
18718 (CFLAGS-tst-gettext5.c): Likewise.
18719 (CFLAGS-tst-gettext6.c): Likewise.
18720 * io/Makefile (CFLAGS-open.c): Likewise.
18721 (CFLAGS-open64.c): Likewise.
18722 (CFLAGS-creat.c): Likewise.
18723 (CFLAGS-creat64.c): Likewise.
18724 (CFLAGS-fcntl.c): Likewise.
18725 (CFLAGS-poll.c): Likewise.
18726 (CFLAGS-ppoll.c): Likewise.
18727 (CFLAGS-lockf.c): Likewise.
18728 (CFLAGS-statfs.c): Likewise.
18729 (CFLAGS-fstatfs.c): Likewise.
18730 (CFLAGS-statvfs.c): Likewise.
18731 (CFLAGS-fstatvfs.c): Likewise.
18732 (CFLAGS-fts.c): Likewise.
18733 (CFLAGS-fts64.c): Likewise.
18734 (CFLAGS-ftw.c): Likewise.
18735 (CFLAGS-ftw64.c): Likewise.
18736 (CFLAGS-lockf.c): Likewise.
18737 (CFLAGS-posix_fallocate.c): Likewise.
18738 (CFLAGS-posix_fallocate64.c): Likewise.
18739 (CFLAGS-fallocate.c): Likewise.
18740 (CFLAGS-fallocate64.c): Likewise.
18741 (CFLAGS-read.c): Likewise.
18742 (CFLAGS-write.c): Likewise.
18743 (CFLAGS-test-stat.c): Likewise.
18744 (CFLAGS-test-lfs.c): Likewise.
18745 * libio/Makefile (CFLAGS-fileops.c): Likewise.
18746 (CFLAGS-fputc.c): Likewise.
18747 (CFLAGS-fputwc.c): Likewise.
18748 (CFLAGS-freopen64.c): Likewise.
18749 (CFLAGS-freopen.c): Likewise.
18750 (CFLAGS-fseek.c): Likewise.
18751 (CFLAGS-fseeko64.c): Likewise.
18752 (CFLAGS-fseeko.c): Likewise.
18753 (CFLAGS-ftello64.c): Likewise.
18754 (CFLAGS-ftello.c): Likewise.
18755 (CFLAGS-fwide.c): Likewise.
18756 (CFLAGS-genops.c): Likewise.
18757 (CFLAGS-getc.c): Likewise.
18758 (CFLAGS-getchar.c): Likewise.
18759 (CFLAGS-getwc.c): Likewise.
18760 (CFLAGS-getwchar.c): Likewise.
18761 (CFLAGS-iofclose.c): Likewise.
18762 (CFLAGS-iofflush.c): Likewise.
18763 (CFLAGS-iofgetpos64.c): Likewise.
18764 (CFLAGS-iofgetpos.c): Likewise.
18765 (CFLAGS-iofgets.c): Likewise.
18766 (CFLAGS-iofgetws.c): Likewise.
18767 (CFLAGS-iofputs.c): Likewise.
18768 (CFLAGS-iofputws.c): Likewise.
18769 (CFLAGS-iofread.c): Likewise.
18770 (CFLAGS-iofsetpos64.c): Likewise.
18771 (CFLAGS-iofsetpos.c): Likewise.
18772 (CFLAGS-ioftell.c): Likewise.
18773 (CFLAGS-iofwrite.c): Likewise.
18774 (CFLAGS-iogetdelim.c): Likewise.
18775 (CFLAGS-iogetline.c): Likewise.
18776 (CFLAGS-iogets.c): Likewise.
18777 (CFLAGS-iogetwline.c): Likewise.
18778 (CFLAGS-ioputs.c): Likewise.
18779 (CFLAGS-ioseekoff.c): Likewise.
18780 (CFLAGS-ioseekpos.c): Likewise.
18781 (CFLAGS-iosetbuffer.c): Likewise.
18782 (CFLAGS-iosetvbuf.c): Likewise.
18783 (CFLAGS-ioungetc.c): Likewise.
18784 (CFLAGS-ioungetwc.c): Likewise.
18785 (CFLAGS-oldfileops.c): Likewise.
18786 (CFLAGS-oldiofclose.c): Likewise.
18787 (CFLAGS-oldiofgetpos64.c): Likewise.
18788 (CFLAGS-oldiofgetpos.c): Likewise.
18789 (CFLAGS-oldiofsetpos64.c): Likewise.
18790 (CFLAGS-oldiofsetpos.c): Likewise.
18791 (CFLAGS-peekc.c): Likewise.
18792 (CFLAGS-putc.c): Likewise.
18793 (CFLAGS-putchar.c): Likewise.
18794 (CFLAGS-putwc.c): Likewise.
18795 (CFLAGS-putwchar.c): Likewise.
18796 (CFLAGS-rewind.c): Likewise.
18797 (CFLAGS-wfileops.c): Likewise.
18798 (CFLAGS-wgenops.c): Likewise.
18799 (CFLAGS-oldiofopen.c): Likewise.
18800 (CFLAGS-iofopen.c): Likewise.
18801 (CFLAGS-iofopen64.c): Likewise.
18802 (CFLAGS-oldtmpfile.c): Likewise.
18803 (CFLAGS-tst_putwc.c): Likewise.
18804 * locale/Makefile (CFLAGS-md5.c): Likewise.
18805 (CFLAGS-charmap.c): Likewise.
18806 (CFLAGS-locfile.c): Likewise.
18807 (CFLAGS-charmap-dir.c): Likewise.
18808 * login/Makefile (CFLAGS-grantpt.c): Likewise.
18809 (CFLAGS-getpt.c): Likewise.
18810 (CFLAGS-pt_chown.c): Likewise.
18811 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
18812 (CFLAGS-obstack.c): Likewise.
18813 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
18814 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
18815 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
18816 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
18817 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
18818 (CFLAGS-test-tgmath.c): Likewise.
18819 (CFLAGS-test-tgmath2.c): Likewise.
18820 (CFLAGS-test-tgmath-ret.c): Likewise.
18821 (CFLAGS-test-powl.c): Likewise.
18822 (CFLAGS-test-snan.c): Likewise.
18823 (CFLAGS-test-signgam-finite.c): Likewise.
18824 (CFLAGS-test-signgam-finite-c99.c): Likewise.
18825 (CFLAGS-test-signgam-finite-c11.c): Likewise.
18826 (CFLAGS-test-signgam-uchar.c): Likewise.
18827 (CFLAGS-test-signgam-uchar-init.c): Likewise.
18828 (CFLAGS-test-signgam-uchar-static.c): Likewise.
18829 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
18830 (CFLAGS-test-signgam-uint.c): Likewise.
18831 (CFLAGS-test-signgam-uint-init.c): Likewise.
18832 (CFLAGS-test-signgam-uint-static.c): Likewise.
18833 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
18834 (CFLAGS-test-signgam-ullong.c): Likewise.
18835 (CFLAGS-test-signgam-ullong-init.c): Likewise.
18836 (CFLAGS-test-signgam-ullong-static.c): Likewise.
18837 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
18838 (CFLAGS-test-math-cxx11.cc): Likewise.
18839 (CFLAGS-test-math-isinff.cc): Likewise.
18840 (CFLAGS-test-math-iszero.cc): Likewise.
18841 (CFLAGS-test-math-issignaling.cc): Likewise.
18842 (CFLAGS-test-math-iscanonical.cc): Likewise.
18843 (CFLAGS-test-iszero-excess-precision.c): Likewise.
18844 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
18845 (CFLAGS-test-flt-eval-method.c): Likewise.
18846 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
18847 (CFLAGS-test-finite-macros.c): Likewise.
18848 * misc/Makefile (CFLAGS-select.c): Likewise.
18849 (CFLAGS-tsearch.c): Likewise.
18850 (CFLAGS-lsearch.c): Likewise.
18851 (CFLAGS-pselect.c): Likewise.
18852 (CFLAGS-readv.c): Likewise.
18853 (CFLAGS-writev.c): Likewise.
18854 (CFLAGS-preadv.c): Likewise.
18855 (CFLAGS-preadv64.c): Likewise.
18856 (CFLAGS-pwritev.c): Likewise.
18857 (CFLAGS-pwritev64.c): Likewise.
18858 (CFLAGS-preadv2.c): Likewise.
18859 (CFLAGS-preadv64v2.c): Likewise.
18860 (CFLAGS-pwritev2.c): Likewise.
18861 (CFLAGS-pwritev64v2.c): Likewise.
18862 (CFLAGS-usleep.c): Likewise.
18863 (CFLAGS-syslog.c): Likewise.
18864 (CFLAGS-error.c): Likewise.
18865 (CFLAGS-getpass.c): Likewise.
18866 (CFLAGS-mkstemp.c): Likewise.
18867 (CFLAGS-mkstemp64.c): Likewise.
18868 (CFLAGS-getsysstats.c): Likewise.
18869 (CFLAGS-getusershell.c): Likewise.
18870 (CFLAGS-err.c): Likewise.
18871 (CFLAGS-tst-tsearch.c): Likewise.
18872 (CFLAGS-msync.c): Likewise.
18873 (CFLAGS-fdatasync.c): Likewise.
18874 (CFLAGS-fsync.c): Likewise.
18875 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
18876 (CFLAGS-unwind.c): Likewise.
18877 (CFLAGS-unwind-forcedunwind.c): Likewise.
18878 (CFLAGS-pthread_cancel.c): Likewise.
18879 (CFLAGS-pthread_setcancelstate.c): Likewise.
18880 (CFLAGS-pthread_setcanceltype.c): Likewise.
18881 (CFLAGS-cancellation.c): Likewise.
18882 (CFLAGS-libc-cancellation.c): Likewise.
18883 (CFLAGS-pthread_exit.c): Likewise.
18884 (CFLAGS-forward.c): Likewise.
18885 (CFLAGS-pthread_testcancel.c): Likewise.
18886 (CFLAGS-pthread_join.c): Likewise.
18887 (CFLAGS-pthread_timedjoin.c): Likewise.
18888 (CFLAGS-pthread_once.c): Likewise.
18889 (CFLAGS-pthread_cond_wait.c): Likewise.
18890 (CFLAGS-sem_wait.c): Likewise.
18891 (CFLAGS-sem_timedwait.c): Likewise.
18892 (CFLAGS-fcntl.c): Likewise.
18893 (CFLAGS-lockf.c): Likewise.
18894 (CFLAGS-pread.c): Likewise.
18895 (CFLAGS-pread64.c): Likewise.
18896 (CFLAGS-pwrite.c): Likewise.
18897 (CFLAGS-pwrite64.c): Likewise.
18898 (CFLAGS-wait.c): Likewise.
18899 (CFLAGS-waitpid.c): Likewise.
18900 (CFLAGS-sigwait.c): Likewise.
18901 (CFLAGS-msgrcv.c): Likewise.
18902 (CFLAGS-msgsnd.c): Likewise.
18903 (CFLAGS-tcdrain.c): Likewise.
18904 (CFLAGS-open.c): Likewise.
18905 (CFLAGS-open64.c): Likewise.
18906 (CFLAGS-pause.c): Likewise.
18907 (CFLAGS-recv.c): Likewise.
18908 (CFLAGS-send.c): Likewise.
18909 (CFLAGS-accept.c): Likewise.
18910 (CFLAGS-sendto.c): Likewise.
18911 (CFLAGS-connect.c): Likewise.
18912 (CFLAGS-recvfrom.c): Likewise.
18913 (CFLAGS-recvmsg.c): Likewise.
18914 (CFLAGS-sendmsg.c): Likewise.
18915 (CFLAGS-close.c): Likewise.
18916 (CFLAGS-read.c): Likewise.
18917 (CFLAGS-write.c): Likewise.
18918 (CFLAGS-nanosleep.c): Likewise.
18919 (CFLAGS-sigsuspend.c): Likewise.
18920 (CFLAGS-msync.c): Likewise.
18921 (CFLAGS-fdatasync.c): Likewise.
18922 (CFLAGS-fsync.c): Likewise.
18923 (CFLAGS-pt-system.c): Likewise.
18924 (CFLAGS-tst-cleanup2.c): Likewise.
18925 (CFLAGS-tst-cleanupx2.c): Likewise.
18926 (CFLAGS-flockfile.c): Likewise.
18927 (CFLAGS-ftrylockfile.c): Likewise.
18928 (CFLAGS-funlockfile.c): Likewise.
18929 (CFLAGS-tst-initializers1.c): Likewise.
18930 (CFLAGS-tst-initializers1-c89.c): Likewise.
18931 (CFLAGS-tst-initializers1-c99.c): Likewise.
18932 (CFLAGS-tst-initializers1-c11.c): Likewise.
18933 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
18934 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
18935 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
18936 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
18937 (CFLAGS-nscd_getgr_r.c): Likewise.
18938 (CFLAGS-nscd_gethst_r.c): Likewise.
18939 (CFLAGS-nscd_getai.c): Likewise.
18940 (CFLAGS-nscd_initgroups.c): Likewise.
18941 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
18942 (CFLAGS-pause.c): Likewise.
18943 (CFLAGS-pread.c): Likewise.
18944 (CFLAGS-pread64.c): Likewise.
18945 (CFLAGS-pwrite.c): Likewise.
18946 (CFLAGS-pwrite64.c): Likewise.
18947 (CFLAGS-sleep.c): Likewise.
18948 (CFLAGS-wait.c): Likewise.
18949 (CFLAGS-waitid.c): Likewise.
18950 (CFLAGS-waitpid.c): Likewise.
18951 (CFLAGS-getopt.c): Likewise.
18952 (CFLAGS-wordexp.c): Likewise.
18953 (CFLAGS-sysconf.c): Likewise.
18954 (CFLAGS-pathconf.c): Likewise.
18955 (CFLAGS-fpathconf.c): Likewise.
18956 (CFLAGS-spawn.c): Likewise.
18957 (CFLAGS-spawnp.c): Likewise.
18958 (CFLAGS-spawni.c): Likewise.
18959 (CFLAGS-glob.c): Likewise.
18960 (CFLAGS-glob64.c): Likewise.
18961 (CFLAGS-getconf.c): Likewise.
18962 (CFLAGS-nanosleep.c): Likewise.
18963 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
18964 (CFLAGS-getpwent.c): Likewise.
18965 (CFLAGS-getpw.c): Likewise.
18966 (CFLAGS-fgetpwent_r.c): Likewise.
18967 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
18968 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
18969 (CFLAGS-mq_timedreceive.c): Likewise.
18970 (CFLAGS-mq_timedsend.c): Likewise.
18971 (CFLAGS-clock_nanosleep.c): Likewise.
18972 (CFLAGS-librt-cancellation.c): Likewise.
18973 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
18974 (CFLAGS-getspent.c): Likewise.
18975 (CFLAGS-fgetspent.c): Likewise.
18976 (CFLAGS-fgetspent_r.c): Likewise.
18977 (CFLAGS-putspent.c): Likewise.
18978 (CFLAGS-getspnam.c): Likewise.
18979 (CFLAGS-getspnam_r.c): Likewise.
18980 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
18981 (CFLAGS-sigsuspend.c): Likewise.
18982 (CFLAGS-sigtimedwait.c): Likewise.
18983 (CFLAGS-sigwait.c): Likewise.
18984 (CFLAGS-sigwaitinfo.c): Likewise.
18985 (CFLAGS-sigreturn.c): Likewise.
18986 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
18987 (CFLAGS-vfwprintf.c): Likewise.
18988 (CFLAGS-tmpfile.c): Likewise.
18989 (CFLAGS-tmpfile64.c): Likewise.
18990 (CFLAGS-tempname.c): Likewise.
18991 (CFLAGS-psignal.c): Likewise.
18992 (CFLAGS-vprintf.c): Likewise.
18993 (CFLAGS-cuserid.c): Likewise.
18994 (CFLAGS-errlist.c): Likewise.
18995 (CFLAGS-siglist.c): Likewise.
18996 (CFLAGS-scanf15.c): Likewise.
18997 (CFLAGS-scanf17.c): Likewise.
18998 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
18999 (CFLAGS-msort.c): Likewise.
19000 (CFLAGS-qsort.c): Likewise.
19001 (CFLAGS-system.c): Likewise.
19002 (CFLAGS-fmtmsg.c): Likewise.
19003 (CFLAGS-strfmon.c): Likewise.
19004 (CFLAGS-strfmon_l.c): Likewise.
19005 (CFLAGS-strfromd.c): Likewise.
19006 (CFLAGS-strfromf.c): Likewise.
19007 (CFLAGS-strfroml.c): Likewise.
19008 (CFLAGS-tst-bsearch.c): Likewise.
19009 (CFLAGS-tst-qsort.c): Likewise.
19010 (CFLAGS-tst-makecontext2.c): Likewise.
19011 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
19012 (CFLAGS-xnlm_prot.c): Likewise.
19013 (CFLAGS-xrstat.c): Likewise.
19014 (CFLAGS-xyppasswd.c): Likewise.
19015 (CFLAGS-xklm_prot.c): Likewise.
19016 (CFLAGS-xrex.c): Likewise.
19017 (CFLAGS-xsm_inter.c): Likewise.
19018 (CFLAGS-xmount.c): Likewise.
19019 (CFLAGS-xrusers.c): Likewise.
19020 (CFLAGS-xspray.c): Likewise.
19021 (CFLAGS-xnfs_prot.c): Likewise.
19022 (CFLAGS-xrquota.c): Likewise.
19023 (CFLAGS-xkey_prot.c): Likewise.
19024 (CFLAGS-auth_unix.c): Likewise.
19025 (CFLAGS-key_call.c): Likewise.
19026 (CFLAGS-pmap_rmt.c): Likewise.
19027 (CFLAGS-clnt_perr.c): Likewise.
19028 (CFLAGS-openchild.c): Likewise.
19029 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
19030 (CFLAGS-msgsnd.c): Likewise.
19031 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
19032 * time/Makefile (CFLAGS-tzfile.c): Likewise.
19033 (CFLAGS-tzset.c): Likewise.
19034 (CFLAGS-getdate.c): Likewise.
19035 (CFLAGS-test_time.c): Likewise.
19036 (CPPFLAGS-tst-tzname.c): Likewise.
19037 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
19038 (CFLAGS-zic.c): Likewise.
19039 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
19040 (CFLAGS-wcswidth.c): Likewise.
19041 (CFLAGS-wcstol.c): Likewise.
19042 (CFLAGS-wcstoul.c): Likewise.
19043 (CFLAGS-wcstoll.c): Likewise.
19044 (CFLAGS-wcstoull.c): Likewise.
19045 (CFLAGS-wcstod.c): Likewise.
19046 (CFLAGS-wcstold.c): Likewise.
19047 (CFLAGS-wcstof128.c): Likewise.
19048 (CFLAGS-wcstof.c): Likewise.
19049 (CFLAGS-wcstol_l.c): Likewise.
19050 (CFLAGS-wcstoul_l.c): Likewise.
19051 (CFLAGS-wcstoll_l.c): Likewise.
19052 (CFLAGS-wcstoull_l.c): Likewise.
19053 (CFLAGS-wcstod_l.c): Likewise.
19054 (CFLAGS-wcstold_l.c): Likewise.
19055 (CFLAGS-wcstof128_l.c): Likewise.
19056 (CFLAGS-wcstof_l.c): Likewise.
19057 (CPPFLAGS-tst-wchar-h.c): Likewise.
19058 (CPPFLAGS-wcstold_l.c): Likewise.
583dd860 19059
f4b2aea6
PC
190602017-12-11 Paul A. Clarke <pc@us.ibm.com>
19061
19062 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
19063
c9cd7b0c
AZ
190642017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19065 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19066
19067 * manual/tunables.texi (Hardware Capability Tunables): Document
19068 glibc.tune.cached_memopt.
19069 * sysdeps/powerpc/cpu-features.c: New file.
19070 * sysdeps/powerpc/cpu-features.h: New file.
19071 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
19072 _dl_powerpc_cpu_features.
19073 * sysdeps/powerpc/dl-tunables.list: New file.
19074 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
19075 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
19076 (INIT_ARCH): Initialize use_aligned_memopt.
19077 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
19078 IS_IN(rtld))]: Restrict dl_platform_init availability and
19079 initialize CPU features used by tunables.
19080 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
19081 Add memcpy-power8-cached.
19082 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
19083 __memcpy_power8_cached.
19084 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
19085 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
19086 New file.
19087
e70c6fee
L
190882017-12-11 H.J. Lu <hongjiu.lu@intel.com>
19089
19090 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
19091 (CFLAGS-noinl-tester.c): Likewise.
19092 (CFLAGS-tst-strlen.c): Likewise.
19093 (CFLAGS-stratcliff.c): Likewise.
19094 (CFLAGS-test-ffs.c): Likewise.
19095 (CFLAGS-tst-inlcall.c): Likewise.
19096 (CFLAGS-tst-xbzero-opt.c): Likewise.
19097 (CFLAGS-memcpy.c): Likewise.
19098 (CFLAGS-wordcopy.c): Likewise.
19099
dee94366
SL
191002017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
19101
19102 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
19103 Store r15 on stack and add cfi rule.
19104 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
19105 Likewise.
19106
363e4519 191072017-12-10 Aurelien Jarno <aurelien@aurel32.net>
f648728c
AJ
19108
19109 [BZ #22577]
19110 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
19111 call.
19112
9d0ffa60
L
191132017-12-07 H.J. Lu <hongjiu.lu@intel.com>
19114
19115 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19116 Add s_sinf-sse2 and s_sinf-fma.
19117 (CFLAGS-s_sinf-fma.c): New.
19118 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
19119 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
19120 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
19121
9574c7b6
L
191222017-12-07 H.J. Lu <hongjiu.lu@intel.com>
19123
19124 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
19125
d15e83c5
JM
191262017-12-07 Joseph Myers <joseph@codesourcery.com>
19127
19128 [BZ #22568]
19129 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
19130 part of result to imaginary part of argument if it is zero and the
19131 real part of the argument is not finite.
19132 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
19133 of result to real part of argument if it is zero and the imaginary
19134 part of the argument is not finite.
19135
d89756eb
MF
191362017-12-07 Mike FABIAN <mfabian@redhat.com>
19137
19138 [BZ #22524]
19139 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
19140 and to the list of locales to be built for testing.
19141 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
19142 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
19143 and build the collation rules upon that.
19144
1f9055ce
JM
191452017-12-07 Joseph Myers <joseph@codesourcery.com>
19146
19147 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
19148 * manual/math.texi (Mathematics): Document support for _Float32.
19149 * math/Makefile (test-types): Add float32.
19150 * math/Versions (GLIBC_2.27): Add _Float32 functions.
19151 * stdlib/Versions (GLIBC_2.27): Likewise.
19152 * wcsmbs/Versions (GLIBC_2.27): Likewise.
19153 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
19154 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19155 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19156 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19157 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19158 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19159 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19160 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19161 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19162 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19163 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19164 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19165 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19166 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19167 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19168 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19169 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19170 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19171 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19172 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19173 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
19174 Likewise.
19175 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19176 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19177 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19178 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19179 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19181 Likewise.
19182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
19183 Likewise.
19184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19185 Likewise.
19186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19187 Likewise.
19188
19189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
19190 Likewise.
19191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
19192 Likewise.
19193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
19194 Likewise.
19195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
19196 Likewise.
19197 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19198 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19199 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19200 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19201 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19202 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19203 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19204 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19205 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19206 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19207 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
19208 Likewise.
19209 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19210 Likewise.
19211 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19212 Likewise.
19213 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19214 Likewise.
19215 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19216 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19217 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19218 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19219 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19220 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19221 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19222 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19223
5244527d
JM
192242017-12-06 Joseph Myers <joseph@codesourcery.com>
19225
fb1ca2aa
JM
19226 * stdlib/strtof.c: Include <bits/floatn.h>
19227 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
19228 and later undefine as macro. Define as weak alias if
19229 [!USE_WIDE_CHAR].
19230 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
19231 and later undefine as macro. Define as weak alias if
19232 [USE_WIDE_CHAR].
19233 * stdlib/strtof_l.c: Include <bits/floatn.h>
19234 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
19235 and later undefine as macro. Define as weak alias if
19236 [!USE_WIDE_CHAR].
19237 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
19238 and later undefine as macro. Define as weak alias if
19239 [USE_WIDE_CHAR].
19240
fc10cc3f
JM
19241 * stdlib/strfromf.c: Include <bits/floatn.h>.
19242 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
19243 and later undefine as macro and define as weak alias.
19244
e420d228
JM
19245 * math/test-float32.h: New file.
19246
26007a2f
JM
19247 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
19248 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
19249 (libm_alias_float_other_r): Create f32 alias.
19250 (libm_alias_float_r): Use semicolon before call to
19251 libm_alias_float_other_r.
19252
c191f64c
JM
19253 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
19254 second argument to libm_alias_float_other.
19255 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
19256 second argument to libm_alias_float_other.
19257 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
19258 argument to libm_alias_float_other.
19259
5244527d
JM
19260 [BZ #22561]
19261 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
19262 real part of result for argument 0 + i * NaN.
19263 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
19264 results for tests of 0 + i * NaN.
19265
d73fac82
AZ
192662017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19267
19268 * sysdeps/alpha/fpu/libm-test-ulps: Update.
19269
7ec094e8
DM
192702017-12-06 David S. Miller <davem@davemloft.net>
19271
19272 * sysdeps/sparc/fpu/libm-test-ulps: Update
19273 exp_{downward,towardzero,upward} ulps.
19274
53994f12
JM
192752017-12-06 Joseph Myers <joseph@codesourcery.com>
19276
1dbe6f64
JM
19277 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
19278 variables static.
19279
53994f12
JM
19280 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
19281 (Y0_2D): Likewise.
19282 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
19283 (Y0_2D): Likewise.
19284 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
19285 (Y0_2D): Likewise.
19286 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
19287 (Y0_2D): Likewise.
19288
62ea2193
MF
192892017-12-06 Mike FABIAN <mfabian@redhat.com>
19290
19291 [BZ #22515]
19292 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
19293 and to the list of locales to be built for testing.
19294 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
19295 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
19296 and build the collation rules upon that.
19297
87235d70
RS
192982017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19299
19300 * NEWS: Add sinf to list of optimized functions.
19301
0d93b7fd
JM
193022017-12-06 Joseph Myers <joseph@codesourcery.com>
19303
19304 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
19305 (__HAVE_FLOAT32X): Likewise.
19306 * manual/math.texi (Mathematics): Document support for _Float64
19307 and _Float32x.
19308 * math/Makefile (test-types): Add float64 and float32x.
19309 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
19310 functions.
19311 * stdlib/Versions (GLIBC_2.27): Likewise.
19312 * wcsmbs/Versions (GLIBC_2.27): Likewise.
19313 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
19314 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19315 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19316 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19317 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19318 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19319 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19320 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19321 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19322 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19323 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19324 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19325 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19326 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19327 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19328 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19329 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19330 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19331 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19332 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19333 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
19334 Likewise.
19335 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19336 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19337 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19338 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19339 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19341 Likewise.
19342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
19343 Likewise.
19344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19345 Likewise.
19346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19347 Likewise.
19348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
19349 Likewise.
19350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
19351 Likewise.
19352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
19353 Likewise.
19354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
19355 Likewise.
19356 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19357 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19358 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19359 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19360 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19361 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19362 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19363 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19364 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19365 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19366 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
19367 Likewise.
19368 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19369 Likewise.
19370 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19371 Likewise.
19372 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19373 Likewise.
19374 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19375 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19376 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19377 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19378 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19379 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19380 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19381 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19382
f7787234
JM
193832017-12-05 Joseph Myers <joseph@codesourcery.com>
19384
19385 * bits/floatn-common.h: Include <bits/long-double.h>.
19386 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
19387 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
19388 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
19389 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
19390 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
19391 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
19392 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19393 (__builtin_huge_valf64): Use __builtin_huge_vall.
19394 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19395 (__builtin_inff64): Use __builtin_infl.
19396 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19397 (__builtin_nanf64): Use __builtin_nanl.
19398 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
19399 (__builtin_nansf64): Use __builtin_nansl.
19400
363e4519
DL
194012017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
19402 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
07ed18d2
RA
19403 Carlos O'Donnell <carlos@redhat.com>
19404
19405 * elf/dl-tunables.list: Add elision parameters.
19406 * manual/tunables.texi: Add entries about elision tunable.
19407 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
19408 Add callback functions to dynamically enable/disable elision.
19409 Add multiple callbacks functions to set elision parameters.
19410 Deleted __libc_enable_secure check.
19411 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
19412 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
19413 * configure: Regenerated.
19414 * configure.ac: Option enable_lock_elision was deleted.
19415 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
19416 * config.make.in: Remove references to enable_lock_elision.
19417 * manual/install.texi: Elision configure option was removed.
19418 * INSTALL: Regenerated to remove enable_lock_elision.
19419 * nptl/Makefile:
19420 Disable elision so it can verify error case for destroying a mutex.
19421 * sysdeps/powerpc/nptl/elide.h:
19422 Cleanup ENABLE_LOCK_ELISION check.
19423 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
19424 * sysdeps/s390/configure: Regenerated.
19425 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
19426 * nptl/tst-mutex8.c:
19427 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
19428 * sysdeps/powerpc/powerpc32/sysdep.h:
19429 Deleted all ENABLE_LOCK_ELISION checks.
19430 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19431 * sysdeps/powerpc/sysdep.h: Likewise.
19432 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
19433 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
19434 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
19435 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
19436 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
19437 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
19438 enable-lock-elision.
19439
a5a2a76b
JM
194402017-12-05 Joseph Myers <joseph@codesourcery.com>
19441
19442 * stdlib/strtod.c: Include <bits/floatn.h>.
19443 (BUILD_DOUBLE): New macro.
19444 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19445 (strtof64): Define and later undefine as macro. Define as weak
19446 alias if [!USE_WIDE_CHAR].
19447 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19448 (wcstof64): Define and later undefine as macro. Define as weak
19449 alias if [USE_WIDE_CHAR].
19450 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19451 (strtof32x): Define and later undefine as macro. Define as weak
19452 alias if [!USE_WIDE_CHAR].
19453 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19454 (wcstof32x): Define and later undefine as macro. Define as weak
19455 alias if [USE_WIDE_CHAR].
19456 * stdlib/strtod_l.c: Include <bits/floatn.h>.
19457 (BUILD_DOUBLE): New macro.
19458 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19459 (strtof64_l): Define and later undefine as macro. Define as weak
19460 alias if [!USE_WIDE_CHAR].
19461 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
19462 (wcstof64_l): Define and later undefine as macro. Define as weak
19463 alias if [USE_WIDE_CHAR].
19464 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19465 (strtof32x_l): Define and later undefine as macro. Define as weak
19466 alias if [!USE_WIDE_CHAR].
19467 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
19468 (wcstof32x_l): Define and later undefine as macro. Define as weak
19469 alias if [USE_WIDE_CHAR].
19470
94d80dfc
AZ
194712017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19472
19473 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
19474 (reduced): Use ones as double instead of integer.
19475
00d54af7
SN
194762017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
19477
19478 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
19479
f2d64d62
JM
194802017-12-05 Joseph Myers <joseph@codesourcery.com>
19481
1f70eae4
JM
19482 * stdlib/strfromd.c: Include <bits/floatn.h>.
19483 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
19484 and later undefine as macro and define as weak alias.
19485 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
19486 Likewise.
19487
e2c4dce5
JM
19488 * math/test-float32x.h: New file.
19489 * math/test-float64.h: Likewise.
19490
f2d64d62
JM
19491 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
19492 (libm_alias_double_other_r_f64): New macro.
19493 (libm_alias_double_other_r_f32x): Likewise.
19494 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
19495 libm_alias_double_other_r_f32x.
19496 (libm_alias_double_r): Use semicolon before call to
19497 libm_alias_double_other_r.
19498 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
19499 <bits/floatn.h>.
19500 (libm_alias_double_other_r_f64): New macro.
19501 (libm_alias_double_other_r_f32x): Likewise.
19502 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
19503 libm_alias_double_other_r_f32x.
19504
91c318e7
L
195052017-12-05 H.J. Lu <hongjiu.lu@intel.com>
19506
19507 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
19508 int.
19509 (SINF_FUNC): Likewise. Replace floor with simple casts.
19510
de9661d6
MF
195112017-12-05 Mike FABIAN <mfabian@redhat.com>
19512
19513 [BZ #22517]
19514 * localedata/Makefile: Add et_EE.UTF-8 to test-input
19515 and to the list of locales to be built for testing.
19516 * localedata/et_EE.UTF-8.in: New file for testing the collation.
19517 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
19518 and build the collation rules upon that.
19519
f18b8dc7
CM
195202017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
19521
19522 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
19523 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
19524 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
19525 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
19526 instead of __insn__xxx.
19527 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
19528 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
19529 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
19530 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
19531 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
19532 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
19533
446d22e9
FW
195342017-12-05 Florian Weimer <fweimer@redhat.com>
19535
19536 Linux: Implement interfaces for memory protection keys
19537 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
19538 xsignal, xsysconf.
19539 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
19540 * support/xunistd.h (xsysconf): Declare.
19541 * support/xraise.c: New file.
19542 * support/xsigaction.c: Likewise.
19543 * support/xsignal.c: Likewise.
19544 * support/xsysconf.c: Likewise.
19545 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
19546 pkey_set, pkey_get, pkey_mprotect.
19547 [misc] (tests): Add tst-pkey.
19548 (tst-pkey): Link with -lpthread.
19549 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
19550 pkey_free, pkey_set, pkey_get, pkey_mprotect.
19551 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
19552 (PKEY_DISABLE_WRITE): Define.
19553 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
19554 Declare.
19555 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
19556 (SEGV_PKUERR): Add.
19557 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
19558 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
19559 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
19560 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
19561 Add.
19562 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
19563 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
19564 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
19565 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
19566 * sysdeps/unix/sysv/linux/**.abilist: Update.
19567
da616c14
FW
195682017-12-05 Florian Weimer <fweimer@redhat.com>
19569
19570 * support/tst-test_compare.c (subprocess): Use long long instead
19571 of long argument for consistent type width across 32-bit and
19572 64-bit architectures.
19573 (do_test): Adjust expected output.
19574
216933b2
JM
195752017-12-05 Joseph Myers <joseph@codesourcery.com>
19576
19577 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
19578 (cosf): Define using libm_alias_float.
19579 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
19580 (fabsf): Define using libm_alias_float.
19581 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
19582 (fmaf): Define using libm_alias_float.
19583 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
19584 (rintf): Define using libm_alias_float.
19585 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
19586 (sinf): Define using libm_alias_float.
19587 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
19588 <libm-alias-float.h>.
19589 (modff): Define using libm_alias_float.
19590 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
19591 <libm-alias-float.h>.
19592 (logbf): Define using libm_alias_float.
19593 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
19594 <libm-alias-float.h>.
19595 (ceilf): Define using libm_alias_float.
19596 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
19597 <libm-alias-float.h>.
19598 (copysignf): Define using libm_alias_float.
19599 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
19600 <libm-alias-float.h>.
19601 (floorf): Define using libm_alias_float.
19602 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
19603 <libm-alias-float.h>.
19604 (llrintf): Define using libm_alias_float.
19605 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
19606 <libm-alias-float.h>.
19607 (llroundf): Define using libm_alias_float.
19608 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
19609 <libm-alias-float.h>.
19610 (lrintf): Define using libm_alias_float.
19611 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
19612 <libm-alias-float.h>.
19613 (lroundf): Define using libm_alias_float.
19614 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
19615 <libm-alias-float.h>.
19616 (nearbyintf): Define using libm_alias_float.
19617 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
19618 <libm-alias-float.h>.
19619 (rintf): Define using libm_alias_float.
19620 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
19621 <libm-alias-float.h>.
19622 (roundf): Define using libm_alias_float.
19623 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
19624 <libm-alias-float.h>.
19625 (truncf): Define using libm_alias_float.
19626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
19627 Include <libm-alias-float.h>.
19628 (ceilf): Define using libm_alias_float.
19629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
19630 Include <libm-alias-float.h>.
19631 (copysignf): Define using libm_alias_float.
19632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
19633 Include <libm-alias-float.h>.
19634 (floorf): Define using libm_alias_float.
19635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
19636 Include <libm-alias-float.h>.
19637 (llrintf): Define using libm_alias_float.
19638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
19639 Include <libm-alias-float.h>.
19640 (llroundf): Define using libm_alias_float.
19641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
19642 Include <libm-alias-float.h>.
19643 (logbf): Define using libm_alias_float.
19644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
19645 Include <libm-alias-float.h>.
19646 (lrintf): Define using libm_alias_float.
19647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
19648 Include <libm-alias-float.h>.
19649 (lroundf): Define using libm_alias_float.
19650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
19651 Include <libm-alias-float.h>.
19652 (modff): Define using libm_alias_float.
19653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
19654 Include <libm-alias-float.h>.
19655 (roundf): Define using libm_alias_float.
19656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
19657 Include <libm-alias-float.h>.
19658 (truncf): Define using libm_alias_float.
19659 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
19660 <libm-alias-float.h>.
19661 (llrintf): Define using libm_alias_float.
19662 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
19663 <libm-alias-float.h>.
19664 (llroundf): Define using libm_alias_float.
19665 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
19666 <libm-alias-float.h>.
19667 (ceilf): Define using libm_alias_float.
19668 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
19669 <libm-alias-float.h>.
19670 (floorf): Define using libm_alias_float.
19671 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
19672 <libm-alias-float.h>.
19673 (llroundf): Define using libm_alias_float.
19674 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
19675 <libm-alias-float.h>.
19676 (lroundf): Define using libm_alias_float.
19677 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
19678 <libm-alias-float.h>.
19679 (roundf): Define using libm_alias_float.
19680 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
19681 <libm-alias-float.h>.
19682 (truncf): Define using libm_alias_float.
19683 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
19684 <libm-alias-float.h>.
19685 (copysignf): Define using libm_alias_float.
19686 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
19687 <libm-alias-float.h>.
19688 (llrintf): Define using libm_alias_float.
19689 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
19690 <libm-alias-float.h>.
19691 (llroundf): Define using libm_alias_float.
19692 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
19693 <libm-alias-float.h>.
19694 (lrintf): Define using libm_alias_float.
19695 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
19696 <libm-alias-float.h>.
19697 (lroundf): Define using libm_alias_float.
19698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
19699 <libm-alias-float.h>.
19700 (ceilf): Define using libm_alias_float.
19701 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
19702 <libm-alias-float.h>.
19703 (copysignf): Define using libm_alias_float.
19704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
19705 <libm-alias-float.h>.
19706 (cosf): Define using libm_alias_float.
19707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
19708 <libm-alias-float.h>.
19709 (floorf): Define using libm_alias_float.
19710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
19711 <libm-alias-float.h>.
19712 (llrintf): Define using libm_alias_float.
19713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
19714 <libm-alias-float.h>.
19715 (llroundf): Define using libm_alias_float.
19716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
19717 <libm-alias-float.h>.
19718 (logbf): Define using libm_alias_float.
19719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
19720 <libm-alias-float.h>.
19721 (modff): Define using libm_alias_float.
19722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
19723 <libm-alias-float.h>.
19724 (roundf): Define using libm_alias_float.
19725 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
19726 <libm-alias-float.h>.
19727 (sinf): Define using libm_alias_float.
19728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
19729 <libm-alias-float.h>.
19730 (truncf): Define using libm_alias_float.
19731 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
19732 <libm-alias-float.h>.
19733 (ceilf): Define using libm_alias_float.
19734 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
19735 <libm-alias-float.h>.
19736 (copysignf): Define using libm_alias_float.
19737 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
19738 <libm-alias-float.h>.
19739 (floorf): Define using libm_alias_float.
19740 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
19741 <libm-alias-float.h>.
19742 (llrintf): Define using libm_alias_float.
19743 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
19744 <libm-alias-float.h>.
19745 (llroundf): Define using libm_alias_float.
19746 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
19747 <libm-alias-float.h>.
19748 (nearbyintf): Define using libm_alias_float.
19749 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
19750 <libm-alias-float.h>.
19751 (rintf): Define using libm_alias_float.
19752 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
19753 <libm-alias-float.h>.
19754 (roundf): Define using libm_alias_float.
19755 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
19756 <libm-alias-float.h>.
19757 (truncf): Define using libm_alias_float.
19758 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
19759 <libm-alias-float.h>.
19760 (ceilf): Define using libm_alias_float.
19761 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
19762 <libm-alias-float.h>.
19763 (floorf): Define using libm_alias_float.
19764 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
19765 <libm-alias-float.h>.
19766 (llroundf): Define using libm_alias_float.
19767 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
19768 <libm-alias-float.h>.
19769 (roundf): Define using libm_alias_float.
19770 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
19771 <libm-alias-float.h>.
19772 (truncf): Define using libm_alias_float.
19773 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
19774 <libm-alias-float.h>.
19775 (copysignf): Define using libm_alias_float.
19776 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
19777 <libm-alias-float.h>.
19778 (llrintf): Define using libm_alias_float.
19779 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
19780 <libm-alias-float.h>.
19781 (llroundf): Define using libm_alias_float.
19782 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
19783 <libm-alias-float.h>.
19784 (cosf): Define using libm_alias_float.
19785 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
19786 <libm-alias-float.h>.
19787 (llrintf): Define using libm_alias_float.
19788 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
19789 <libm-alias-float.h>.
19790 (llroundf): Define using libm_alias_float.
19791 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
19792 <libm-alias-float.h>.
19793 (sinf): Define using libm_alias_float.
19794
93485524
FW
197952017-12-04 Florian Weimer <fweimer@redhat.com>
19796
19797 * support/check.h (TEST_COMPARE): Define.
19798 (support_test_compare_failure): Declare.
19799 * support/Makefile (libsupport-routines): Add
19800 support_test_compare_failure.
19801 (tests): Add tst-test_compare.
19802 * support /support_test_compare_failure.c: New file.
19803 * support/tst-test_compare.c: Likewise.
19804
96b06a19
MF
198052017-12-04 Mike FABIAN <mfabian@redhat.com>
19806
19807 [BZ #22527]
19808 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
19809 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
19810 available, this rewrite of the collation rules does reproduce
19811 the test file in the same order.
19812
1f6d91f3
MF
198132017-12-04 Mike FABIAN <mfabian@redhat.com>
19814
19815 [BZ #10580]
19816 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
19817 digraphs in the month and day names. Using single code points for
19818 digraphs is deprecated. While there are dedicated Unicode
19819 codepoints, for the digraphs, these are included for backwards
19820 compatibility and modern texts use a sequence of Basic Latin
19821 characters. See: https://www.unicode.org/faq/ligature_digraph.html
19822 This makes the month and day names agree exactly with CLDR now,
19823 CLDR does not use the single code points for the digraphs either.
19824
2e49fed8
CM
198252017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
19826
19827 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
19828
73895b49
JM
198292017-12-04 Joseph Myers <joseph@codesourcery.com>
19830
19831 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
19832 of floor.
19833
4c1d801a
SP
198342017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
19835
19836 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
19837 Define only for libc.so.
19838
478593e6
SL
198392017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
19840
19841 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19842 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
19843 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
19844 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
19845 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19846
7863a711
RS
198472017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19848
19849 [BZ #5997]
19850 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
19851
800a496a
JDA
198522017-12-02 John David Anglin <danglin@gcc.gnu.org>
19853
b3f7fb12
JDA
19854 [BZ libc/19170]
19855 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
19856 PREINIT_FUNCTION_WEAK is nonzero.
19857 (gmon_initializer): New function. Put procedure label for it in
19858 .init_array section.
19859 (_init): Don't call PREINIT_FUNCTION.
19860 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
19861 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
19862 value when map argument is null.
19863
800a496a
JDA
19864 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
19865 depi instruction from PIC pc-relative sequence.
19866 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
19867 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
19868 (elf_machine_load_address): Likewise.
19869 (elf_machine_runtime_setup): Likewise.
19870
d17542d2
JM
198712017-12-02 Joseph Myers <joseph@codesourcery.com>
19872
19873 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
19874 <libm-alias-double.h>.
19875 (logb): Define using libm_alias_double.
19876 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
19877 <libm-alias-double.h>.
19878 (copysign): Define using libm_alias_double.
19879 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
19880 <libm-alias-double.h>.
19881 (llrint): Define using libm_alias_double.
19882 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
19883 <libm-alias-double.h>.
19884 (llround): Define using libm_alias_double.
19885 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
19886 <libm-alias-double.h>.
19887 (lrint): Define using libm_alias_double.
19888 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
19889 <libm-alias-double.h>.
19890 (lround): Define using libm_alias_double.
19891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
19892 Include <libm-alias-double.h>.
19893 (copysign): Define using libm_alias_double.
19894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
19895 Include <libm-alias-double.h>.
19896 (llrint): Define using libm_alias_double.
19897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
19898 Include <libm-alias-double.h>.
19899 (llround): Define using libm_alias_double.
19900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
19901 <libm-alias-double.h>.
19902 (logb): Define using libm_alias_double.
19903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
19904 Include <libm-alias-double.h>.
19905 (lrint): Define using libm_alias_double.
19906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
19907 Include <libm-alias-double.h>.
19908 (lround): Define using libm_alias_double.
19909 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
19910 <libm-alias-double.h>.
19911 (llrint): Define using libm_alias_double.
19912 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
19913 <libm-alias-double.h>.
19914 (llround): Define using libm_alias_double.
19915 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
19916 <libm-alias-double.h>.
19917 (llround): Define using libm_alias_double.
19918 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
19919 <libm-alias-double.h>.
19920 (lround): Define using libm_alias_double.
19921 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
19922 <libm-alias-double.h>.
19923 (copysign): Define using libm_alias_double.
19924 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
19925 <libm-alias-double.h>.
19926 (llrint): Define using libm_alias_double.
19927 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
19928 <libm-alias-double.h>.
19929 (llround): Define using libm_alias_double.
19930 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
19931 <libm-alias-double.h>.
19932 (lrint): Define using libm_alias_double.
19933 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
19934 <libm-alias-double.h>.
19935 (lround): Define using libm_alias_double.
19936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
19937 <libm-alias-double.h>.
19938 (copysign): Define using libm_alias_double.
19939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
19940 <libm-alias-double.h>.
19941 (llrint): Define using libm_alias_double.
19942 (lrint): Likewise.
19943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
19944 <libm-alias-double.h>.
19945 (llround): Define using libm_alias_double.
19946 (lround): Likewise.
19947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
19948 <libm-alias-double.h>.
19949 (logb): Define using libm_alias_double.
19950 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
19951 <libm-alias-double.h>.
19952 (copysign): Define using libm_alias_double.
19953 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
19954 <libm-alias-double.h>.
19955 (llrint): Define using libm_alias_double.
19956 (lrint): Likewise.
19957 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
19958 <libm-alias-double.h>.
19959 (llround): Define using libm_alias_double.
19960 (lround): Likewise.
19961 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
19962 <libm-alias-double.h>.
19963 (llround): Define using libm_alias_double.
19964 (lround): Likewise.
19965 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
19966 <libm-alias-double.h>.
19967 (copysign): Define using libm_alias_double.
19968 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
19969 <libm-alias-double.h>.
19970 (llrint): Define using libm_alias_double.
19971 (lrint): Likewise.
19972 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
19973 <libm-alias-double.h>.
19974 (llround): Define using libm_alias_double.
19975 (lround): Likewise.
19976 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
19977 <libm-alias-double.h>.
19978 (llrint): Define using libm_alias_double.
19979 (lrint): Likewise.
19980 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
19981 <libm-alias-double.h>.
19982 (llround): Define using libm_alias_double.
19983 (lround): Likewise.
19984
ec2cf3f4
JM
199852017-12-01 Joseph Myers <joseph@codesourcery.com>
19986
0ddde474
JM
19987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
19988 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
19989 compat symbol based on llround.
19990
0d5ba561
JM
19991 * sysdeps/powerpc/power7/fpu/s_logb.c
19992 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
19993 symbol based on __logb, not on logb.
19994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
19995 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
19996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
19997 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
19998
51ea3b20
JM
19999 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
20000 (rint): Define using libm_alias_double.
20001 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
20002 <libm-alias-double.h>.
20003 (modf): Define using libm_alias_double.
20004 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
20005 <libm-alias-double.h>.
20006 (ceil): Define using libm_alias_double.
20007 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
20008 <libm-alias-double.h>.
20009 (floor): Define using libm_alias_double.
20010 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
20011 <libm-alias-double.h>.
20012 (nearbyint): Define using libm_alias_double.
20013 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
20014 <libm-alias-double.h>.
20015 (rint): Define using libm_alias_double.
20016 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
20017 <libm-alias-double.h>.
20018 (round): Define using libm_alias_double.
20019 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
20020 <libm-alias-double.h>.
20021 (trunc): Define using libm_alias_double.
20022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
20023 <libm-alias-double.h>.
20024 (ceil): Define using libm_alias_double.
20025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
20026 Include <libm-alias-double.h>.
20027 (floor): Define using libm_alias_double.
20028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
20029 <libm-alias-double.h>.
20030 (modf): Define using libm_alias_double.
20031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
20032 Include <libm-alias-double.h>.
20033 (round): Define using libm_alias_double.
20034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
20035 Include <libm-alias-double.h>.
20036 (trunc): Define using libm_alias_double.
20037 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
20038 <libm-alias-double.h>.
20039 (ceil): Define using libm_alias_double.
20040 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
20041 <libm-alias-double.h>.
20042 (floor): Define using libm_alias_double.
20043 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
20044 <libm-alias-double.h>.
20045 (round): Define using libm_alias_double.
20046 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
20047 <libm-alias-double.h>.
20048 (trunc): Define using libm_alias_double.
20049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
20050 <libm-alias-double.h>.
20051 (ceil): Define using libm_alias_double.
20052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
20053 <libm-alias-double.h>.
20054 (floor): Define using libm_alias_double.
20055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
20056 <libm-alias-double.h>.
20057 (modf): Define using libm_alias_double.
20058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
20059 <libm-alias-double.h>.
20060 (round): Define using libm_alias_double.
20061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
20062 <libm-alias-double.h>.
20063 (trunc): Define using libm_alias_double.
20064 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
20065 <libm-alias-double.h>.
20066 (ceil): Define using libm_alias_double.
20067 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
20068 <libm-alias-double.h>.
20069 (floor): Define using libm_alias_double.
20070 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
20071 <libm-alias-double.h>.
20072 (nearbyint): Define using libm_alias_double.
20073 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
20074 <libm-alias-double.h>.
20075 (rint): Define using libm_alias_double.
20076 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
20077 <libm-alias-double.h>.
20078 (round): Define using libm_alias_double.
20079 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
20080 <libm-alias-double.h>.
20081 (trunc): Define using libm_alias_double.
20082 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
20083 <libm-alias-double.h>.
20084 (ceil): Define using libm_alias_double.
20085 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
20086 <libm-alias-double.h>.
20087 (floor): Define using libm_alias_double.
20088 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
20089 <libm-alias-double.h>.
20090 (round): Define using libm_alias_double.
20091 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
20092 <libm-alias-double.h>.
20093 (trunc): Define using libm_alias_double.
20094
ec2cf3f4
JM
20095 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
20096 (fabs): Define using libm_alias_double.
20097 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
20098 (fma): Define using libm_alias_double.
20099 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
20100 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
20101 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
20102 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
20103
5b7bd975
AZ
201042017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20105
0594b13f
AZ
20106 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
20107
dbdfcf3b
AZ
20108 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
20109 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
20110 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
20111
5b7bd975
AZ
20112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
20113 due redirect macro.
20114
ef9ecfa6
AS
201152017-12-01 Andreas Schwab <schwab@linux-m68k.org>
20116
20117 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
20118
5b4e5e78
AZ
201192017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20120
2a14526b
AZ
20121 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
20122 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
20123 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
20124 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
20125
dbeb74ef 20126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1c051a9b
AZ
20127 (libm-sysdep_routines): Add s_nearbyintf-generic and
20128 s_nearbyint-generic.
20129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
20130 New file.
20131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
20132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
20133 Likewise.
20134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
20135 Likewise.
20136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
20137 file.
20138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
20139 Likewise.
20140
20141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
dbeb74ef
AZ
20142 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
20143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
20144 file.
20145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
20146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
20147 Likewise.
20148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
20149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
20150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
20151
fa7ded96
AZ
20152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20153 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
20154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
20155 file.
20156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
20157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
20158 Likewise.
20159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
20160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
20161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
20162
e240cf0e
AZ
20163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20164 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
20165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
20166 file.
20167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
20168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
20169 Likewise.
20170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
20171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
20172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
20173
5b4e5e78
AZ
20174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20175 (sysdep_calls): New rule.
20176 (sysdep_routines): Use sysdep_calls as base.
20177 (libm-sysdep_routines): Add generic rule for symbols shared with
20178 libc. Add s_copysign-generic and s_copysign-generic objects.
20179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
20180 New file.
20181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
20182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
20183 Likewise.
20184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
20185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
20186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
20187
d985adae
MF
201882017-12-01 Mike FABIAN <mfabian@redhat.com>
20189
20190 [BZ #22519]
20191 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
20192 the list of locales to be built for testing.
20193 * localedata/is_IS.UTF-8.in: New file.
20194 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
20195 on iso14651_t1.
20196
ff84a0e0
JM
201972017-12-01 Joseph Myers <joseph@codesourcery.com>
20198
20199 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
20200 <libm-alias-float.h>.
20201 (fabsf): Define using libm_alias_float.
20202
ef5d8b43
L
202032017-11-30 H.J. Lu <hongjiu.lu@intel.com>
20204
20205 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
20206
c0535adf
JM
202072017-11-30 Joseph Myers <joseph@codesourcery.com>
20208
f938b397
JM
20209 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
20210 <libm-alias-float.h>.
20211 (fabsf): Define using libm_alias_float.
20212 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
20213 <libm-alias-float.h>.
20214 (lrintf): Define using libm_alias_float.
20215 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
20216 <libm-alias-float.h>.
20217 (rintf): Define using libm_alias_float.
20218
2251fad0
JM
20219 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
20220 <libm-alias-double.h>.
20221 (fabs): Define using libm_alias_double.
20222 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
20223 <libm-alias-double.h>.
20224 (lrint): Define using libm_alias_double.
20225 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
20226 <libm-alias-double.h>.
20227 (rint): Define using libm_alias_double.
20228
e53df1de
JM
20229 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
20230 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
20231 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
20232 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
20233 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
20234 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
20235 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
20236 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
20237 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
20238 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
20239 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
20240 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
20241 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
20242 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
20243 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
20244 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
20245 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
20246 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
20247 s_atan_template.c.
20248 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
20249 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
20250 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
20251 s_ceil_template.c.
20252 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
20253 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
20254 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
20255 s_cos_template.c.
20256 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
20257 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
20258 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
20259 s_expm1_template.c.
20260 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
20261 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
20262 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
20263 s_fabs_template.c.
20264 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
20265 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
20266 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
20267 s_floor_template.c.
20268 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
20269 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
20270 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
20271 s_frexp_template.c.
20272 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
20273 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
20274 s_lrint_template.c.
20275 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
20276 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
20277 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
20278 s_modf_template.c.
20279 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
20280 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
20281 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
20282 s_nearbyint_template.c.
20283 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
20284 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
20285 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
20286 s_remquo_template.c.
20287 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
20288 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
20289 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
20290 s_rint_template.c.
20291 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
20292 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
20293 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
20294 s_sin_template.c.
20295 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
20296 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
20297 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
20298 s_sincos_template.c.
20299 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
20300 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
20301 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
20302 s_tan_template.c.
20303 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
20304 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
20305 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
20306 s_tanh_template.c.
20307 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
20308 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
20309 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
20310 s_trunc_template.c.
20311 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
20312 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
20313 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
20314 s_atan.c instead of including s_atan.c.
20315 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
20316 s_atanf.c instead of including s_atanf.c.
20317 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
20318 s_atanl.c instead of including s_atanl.c.
20319 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
20320 instead of s_atan.c.
20321 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
20322 instead of s_atanf.c.
20323 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
20324 instead of s_atanl.c.
20325
c0535adf
JM
20326 * scripts/update-copyrights: Do not handle intl/plural.c
20327 specially.
20328
1faaf703
JB
203292017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
20330
20331 [BZ #22432]
20332 * configure.ac (BISON): Require to be present.
20333 * configure: Regenerated.
20334 * intl/Makefile (generated): Add plural.c.
20335 [$(BISON) != no]: Make code unconditional.
20336 (plural.c): Change rule to $(objpfx)plural.c.
20337 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
20338 * intl/plural.c: Remove.
20339 * manual/install.texi (Tools for Compilation): Document bison as
20340 required.
20341 * INSTALL: Regenerated.
20342
faec6323
JM
203432017-11-30 Joseph Myers <joseph@codesourcery.com>
20344
bd6ea9ed
JM
20345 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
20346 <libm-alias-double.h>.
20347 (llrint): Define using libm_alias_double.
20348 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
20349 <libm-alias-float.h>.
20350 (llrintf): Define using libm_alias_float.
20351 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
20352 <libm-alias-ldouble.h>.
20353 (llrintl): Define using libm_alias_ldouble.
20354
faec6323
JM
20355 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
20356 declare_mgen_alias instead of weak_alias.
20357 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
20358 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
20359 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
20360
023cade3
AZ
203612017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20362
9e2279a0
AZ
20363 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20364 Add add_n-generic.
20365 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
20366 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
20367 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
20368
75f37c71
AZ
20369 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20370 Add submul_1-generic.
20371 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
20372 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
20373 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
20374
b70cbbfc 20375 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
dda1d2e8
AZ
20376 Add addmul_1-generic.
20377 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
20378 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
20379 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
20380
20381 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
b70cbbfc
AZ
20382 Add sub_n-generic.
20383 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
20384 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
20385 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
20386
023cade3
AZ
20387 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
20388 Add mul_1-generic.
20389 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
20390 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
20391 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
20392
fbb5fd03
MF
203932017-11-30 Mike FABIAN <mfabian@redhat.com>
20394
20395 According to CLDR, collation rules for Serbian and Bosnian
20396 should be the same as for Croatian.
20397
20398 [BZ #22534]
20399 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
20400 and to the list of locales to be built for testing.
20401 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
20402 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
20403 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
20404 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
20405
5e56e937
MF
204062017-11-30 Mike FABIAN <mfabian@redhat.com>
20407
20408 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
20409 to make test case pass.
20410 * localedata/hr_HR.UTF-8.in: Add more test strings.
20411
cf4341ca
MF
204122017-11-30 Mike FABIAN <mfabian@redhat.com>
20413
20414 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
20415
363e4519 204162017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
9ca6b343
DSN
20417
20418 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
20419 the list of locales to built for testing.
20420 * localedata/hr_HR.UTF-8.in: New file.
20421
363e4519 204222017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
37075ae1
DSN
20423
20424 [BZ #10580]
20425 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
20426 iso14651_t1.
20427 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
20428 CLDR (except use ligatures for the digraphs, CLDR does not use
20429 the ligatures), add first_workday, some fixes in the date and time
20430 formats.
20431 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
20432 for Đ and đ.
20433 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
20434 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
20435 Add int_p_cs_precedes and int_n_cs_precedes.
20436 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
20437 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
20438 LC_MONETARY now).
20439 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
20440 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
20441 name_miss.
20442 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
20443 and lang_lib. Change postal_fmt.
20444
f33632cc
L
204452017-11-30 H.J. Lu <hongjiu.lu@intel.com>
20446
20447 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
20448 <setjmp.h>.
20449 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
20450 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
20451 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
20452 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
20453 * sysdeps/generic/setjmpP.h: New file.
20454 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
20455 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
20456 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
20457 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
20458 Add jmp_buf-ssp.sym.
20459 (tests): Add tst-saved_mask-1.
20460
34697694
AS
204612017-11-30 Arjun Shankar <arjun@redhat.com>
20462
20463 [BZ #22375]
37ac8e63 20464 CVE-2017-17426
34697694
AS
20465 * malloc/malloc.c (__libc_malloc): Use checked_request2size
20466 instead of request2size.
20467
3e5efdbd
JM
204682017-11-30 Joseph Myers <joseph@codesourcery.com>
20469
18305fba
JM
20470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
20471 (__lllrint): Remove alias.
20472 (lllrint): Likewise.
20473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
20474 (__lllrintf): Likewise.
20475 (lllrintf): Likewise.
20476
3e5efdbd
JM
20477 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
20478 <libm-alias-float.h>.
20479 (copysignf): Define using libm_alias_float.
20480 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
20481 <libm-alias-float.h>.
20482 (fabsf): Define using libm_alias_float.
20483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
20484 Include <libm-alias-float.h>.
20485 (copysignf): Define using libm_alias_float.
20486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
20487 <libm-alias-float.h>.
20488 (fabsf): Define using libm_alias_float.
20489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
20490 <libm-alias-float.h>.
20491 (fdimf): Define using libm_alias_float.
20492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
20493 <libm-alias-float.h>.
20494 (fmaf): Define using libm_alias_float.
20495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
20496 <libm-alias-float.h>.
20497 (llrintf): Define using libm_alias_float.
20498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
20499 Include <libm-alias-float.h>.
20500 (nearbyintf): Define using libm_alias_float.
20501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
20502 <libm-alias-float.h>.
20503 (rintf): Define using libm_alias_float.
20504 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
20505 <libm-alias-float.h>.
20506 (llrintf): Define using libm_alias_float.
20507 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
20508 <libm-alias-float.h>.
20509 (lrintf): Define using libm_alias_float.
20510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
20511 <libm-alias-float.h>.
20512 (nearbyintf): Define using libm_alias_float.
20513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
20514 <libm-alias-float.h>.
20515 (rintf): Define using libm_alias_float.
20516 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
20517 <libm-alias-float.h>.
20518 (ceilf): Define using libm_alias_float.
20519 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
20520 <libm-alias-float.h>.
20521 (floorf): Define using libm_alias_float.
20522 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
20523 <libm-alias-float.h>.
20524 (fmaf): Define using libm_alias_float.
20525 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
20526 <libm-alias-float.h>.
20527 (lrintf): Define using libm_alias_float.
20528 (llrintf): Likewise.
20529 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
20530 <libm-alias-float.h>.
20531 (nearbyintf): Define using libm_alias_float.
20532 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
20533 <libm-alias-float.h>.
20534 (rintf): Define using libm_alias_float.
20535 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
20536 <libm-alias-float.h>.
20537 (truncf): Define using libm_alias_float.
20538 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
20539 <libm-alias-float.h>.
20540 (copysignf): Define using libm_alias_float.
20541 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
20542 <libm-alias-float.h>.
20543 (fabsf): Define using libm_alias_float.
20544 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
20545 <libm-alias-float.h>.
20546 (lrintf): Define using libm_alias_float.
20547 (llrintf): Likewise.
20548 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
20549 <libm-alias-float.h>.
20550 (nearbyintf): Define using libm_alias_float.
20551 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
20552 <libm-alias-float.h>.
20553 (rintf): Define using libm_alias_float.
20554
011fba7e
JM
205552017-11-29 Joseph Myers <joseph@codesourcery.com>
20556
875cd548
JM
20557 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
20558 <libm-alias-double.h>.
20559 (copysign): Define using libm_alias_double.
20560 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
20561 <libm-alias-double.h>.
20562 (fabs): Define using libm_alias_double.
20563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
20564 Include <libm-alias-double.h>.
20565 (copysign): Define using libm_alias_double.
20566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
20567 <libm-alias-double.h>.
20568 (fabs): Define using libm_alias_double.
20569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
20570 <libm-alias-double.h>.
20571 (fdim): Define using libm_alias_double.
20572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
20573 <libm-alias-double.h>.
20574 (fma): Define using libm_alias_double.
20575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
20576 <libm-alias-double.h>.
20577 (llrint): Define using libm_alias_double.
20578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
20579 Include <libm-alias-double.h>.
20580 (nearbyint): Define using libm_alias_double.
20581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
20582 <libm-alias-double.h>.
20583 (rint): Define using libm_alias_double.
20584 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
20585 <libm-alias-double.h>.
20586 (fabs): Define using libm_alias_double.
20587 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
20588 <libm-alias-double.h>.
20589 (llrint): Define using libm_alias_double.
20590 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
20591 <libm-alias-double.h>.
20592 (nearbyint): Define using libm_alias_double.
20593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
20594 <libm-alias-double.h>.
20595 (rint): Define using libm_alias_double.
20596 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
20597 <libm-alias-double.h>.
20598 (ceil): Define using libm_alias_double.
20599 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
20600 <libm-alias-double.h>.
20601 (floor): Define using libm_alias_double.
20602 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
20603 <libm-alias-double.h>.
20604 (fma): Define using libm_alias_double.
20605 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
20606 <libm-alias-double.h>.
20607 (lrint): Define using libm_alias_double.
20608 (llrint): Likewise.
20609 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
20610 <libm-alias-double.h>.
20611 (nearbyint): Define using libm_alias_double.
20612 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
20613 <libm-alias-double.h>.
20614 (rint): Define using libm_alias_double.
20615 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
20616 <libm-alias-double.h>.
20617 (trunc): Define using libm_alias_double.
20618 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
20619 <libm-alias-double.h>.
20620 (copysign): Define using libm_alias_double.
20621 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
20622 <libm-alias-double.h>.
20623 (fabs): Define using libm_alias_double.
20624 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
20625 <libm-alias-double.h>.
20626 (lrint): Define using libm_alias_double.
20627 (llrint): Likewise.
20628 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
20629 <libm-alias-double.h>.
20630 (nearbyint): Define using libm_alias_double.
20631 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
20632 <libm-alias-double.h>.
20633 (rint): Define using libm_alias_double.
20634
cf4ebc27
JM
20635 [BZ #22229]
20636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
20637 <math_ldbl_opt.h>.
20638 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
20639
0c097378
JM
20640 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20641 SPARC --disable-multi-arch glibc variants.
20642
34bb10aa
JM
20643 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
20644 <libm-alias-float.h>.
20645 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20646 if [SHARED].
20647 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
20648 <libm-alias-float.h>.
20649 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20650 if [SHARED].
20651 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
20652 <libm-alias-float.h>.
20653 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20654 if [SHARED].
20655 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
20656 <libm-alias-float.h>.
20657 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20658 if [SHARED].
20659 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
20660 <libm-alias-float.h>.
20661 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20662 if [SHARED].
20663 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
20664 <libm-alias-float.h>.
20665 (ceilf): Define using libm_alias_float.
20666 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
20667 <libm-alias-float.h>.
20668 (floorf): Define using libm_alias_float.
20669 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
20670 <libm-alias-float.h>.
20671 (fmaf): Define using libm_alias_float.
20672 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
20673 <libm-alias-float.h>.
20674 (nearbyintf): Define using libm_alias_float.
20675 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
20676 <libm-alias-float.h>.
20677 (rintf): Define using libm_alias_float.
20678 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
20679 <libm-alias-float.h>.
20680 (truncf): Define using libm_alias_float.
20681 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
20682 (copysignf): Define using libm_alias_float.
20683 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
20684 (cosf): Define using libm_alias_float.
20685 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
20686 (fabsf): Define using libm_alias_float.
20687 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
20688 (fmaxf): Define using libm_alias_float.
20689 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
20690 (fminf): Define using libm_alias_float.
20691 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
20692 (llrintf): Define using libm_alias_float.
20693 [!__ILP32__] (lrintf): Likewise.
20694 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
20695 (sincosf): Define using libm_alias_float.
20696 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
20697 (sinf): Define using libm_alias_float.
20698 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
20699 (lrintf): Define using libm_alias_float.
20700
011fba7e
JM
20701 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
20702 <libm-alias-double.h>.
20703 (atan): Define using libm_alias_double.
20704 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
20705 <libm-alias-double.h>.
20706 (ceil): Define using libm_alias_double.
20707 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
20708 <libm-alias-double.h>.
20709 (floor): Define using libm_alias_double.
20710 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
20711 <libm-alias-double.h>.
20712 (fma): Define using libm_alias_double.
20713 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
20714 <libm-alias-double.h>.
20715 (nearbyint): Define using libm_alias_double.
20716 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
20717 <libm-alias-double.h>.
20718 (rint): Define using libm_alias_double.
20719 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
20720 <libm-alias-double.h>.
20721 (sin): Define using libm_alias_double.
20722 (cos): Likewise.
20723 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
20724 <libm-alias-double.h>.
20725 (tan): Define using libm_alias_double.
20726 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
20727 <libm-alias-double.h>.
20728 (trunc): Define using libm_alias_double.
20729 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
20730 (copysign): Define using libm_alias_double.
20731 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
20732 (fabs): Define using libm_alias_double.
20733 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
20734 (fmax): Define using libm_alias_double.
20735 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
20736 (fmin): Define using libm_alias_double.
20737 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
20738 (llrint): Define using libm_alias_double.
20739 [!__ILP32__] (lrint): Likewise.
20740 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
20741 (lrint): Define using libm_alias_double.
20742
1cbd7bfe
AZ
207432017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20744
21bfcc3d
AZ
20745 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
20746 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
20747 objects.
20748 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
20749 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
20750 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
20751 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
20752 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
20753 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
20754
522228dd
AZ
20755 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
20756 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
20757 objects.
20758 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
20759 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
20760 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
20761 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
20762 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
20763 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
20764
2a6f4fab
AZ
20765 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
20766 (libm-sysdep_routines): Add s_nearbyint-generic and
20767 s_nearbyintf-generic objects.
20768 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
20769 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
20770 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
20771 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
20772 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
20773 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
20774
712b5b83
AZ
20775 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
20776 Add s_finitef-generic and s_finite-generic objects.
20777 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
20778 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
20779 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
20780 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
20781 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
20782 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
20783
c96d3335
AZ
20784 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
20785 Add s_isinff-generic and s_isinf-generic objects.
20786 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
20787 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
20788 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
20789 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
20790 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
20791 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
20792
c6862a23
AZ
20793 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
20794 Add s_isnanf-generic and s_isnan-generic objects.
20795 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
20796 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
20797 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
20798 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
20799 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
20800 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
20801
1cbd7bfe
AZ
20802 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
20803 macro.
20804 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
20805 rule.
20806 (sysdep_routines): Use sysdep_calls as base.
20807 (libm-sysdep_routines): Add generic rule for symbols shared with
20808 libc. Add s_signbit-generic and s_signbitf-generic objects.
20809 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
20810 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
20811 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
20812 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
20813 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
20814 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
20815
aa1142c5
JM
208162017-11-29 Joseph Myers <joseph@codesourcery.com>
20817
20818 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
20819 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
20820 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
20821 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
20822 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
20823 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
20824 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
20825 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
20826 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
20827 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
20828 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
20829 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
20830 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
20831 libm_alias_float_r.
20832 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
20833 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
20834 (logf): Likewise.
20835 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
20836 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
20837 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
20838 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
20839 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
20840 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
20841 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
20842 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
20843 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
20844 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
20845 libm_alias_float.
20846 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
20847 (cosf): Likewise.
20848 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
20849 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
20850 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
20851 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
20852 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
20853 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
20854 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
20855 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
20856 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
20857 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
20858 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
20859 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
20860 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
20861 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
20862 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
20863 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
20864 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
20865 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
20866 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
20867 libm_alias_float.
20868 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
20869 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
20870 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
20871 * sysdeps/ia64/fpu/w_lgammaf_main.c
20872 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
20873 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
20874
363e4519
DL
208752017-11-28 Mike FABIAN <mfabian@redhat.com>
20876 Alexandre Oliva <aoliva@redhat.com>
8da25eec
AO
20877
20878 [BZ #17750]
20879 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
20880 * localedata/fr_CA.UTF-8.in: New file with test data for backward
20881 accents sorting.
20882 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
20883 sorting.
20884 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
20885 * localedata/locales/de_DE (LC_COLLATE): Likewise.
20886 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
20887 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
20888 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
20889 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
20890 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
20891 instead of “ifdef DIACRIT_BACKWARD”.
20892
a55430cb
AZ
208932017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20894
20895 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
20896 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
20897 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
20898 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
20899 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
20900 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
20901 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
20902 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
20903 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
20904 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
20905 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
20906 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
20907 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
20908 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
20909 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
20910 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
20911 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
20912 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
20913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20914 ($(have-as-vis3) == yes): Remove conditional.
20915 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
20916 Likewise.
20917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
20918 file.
20919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
20920 file.
20921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
20922 file.
20923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
20924 file.
20925 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
20926 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
20927 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
20928 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
20929 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
20930 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
20931 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
20932 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
20933
0609ec0a
JM
209342017-11-29 Joseph Myers <joseph@codesourcery.com>
20935
20936 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
20937 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
20938 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
20939 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
20940 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
20941 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
20942 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
20943 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
20944 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
20945 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
20946 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
20947 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
20948 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
20949 libm_alias_double_r.
20950 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
20951 (log): Likewise.
20952 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
20953 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
20954 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
20955 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
20956 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
20957 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
20958 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
20959 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
20960 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
20961 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
20962 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
20963 libm_alias_double.
20964 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
20965 (cos): Likewise.
20966 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
20967 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
20968 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
20969 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
20970 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
20971 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
20972 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
20973 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
20974 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
20975 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
20976 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
20977 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
20978 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
20979 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
20980 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
20981 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
20982 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
20983 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
20984 libm_alias_double.
20985 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
20986 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
20987 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
20988 * sysdeps/ia64/fpu/w_lgamma_main.c
20989 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
20990 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
20991
d5bfa34a
JDA
209922017-11-28 John David Anglin <danglin@gcc.gnu.org>
20993
20994 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
20995 address of $global$ into %dp register earlier. Use pc-relative
20996 instruction sequence for PIC case.
20997
bc4e8f9b
JM
209982017-11-28 Joseph Myers <joseph@codesourcery.com>
20999
e4602cba
JM
21000 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
21001 (asinhf): Define using libm_alias_float.
21002 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
21003 (atanf): Define using libm_alias_float.
21004 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
21005 (cbrtf): Define using libm_alias_float.
21006 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
21007 (ceilf): Define using libm_alias_float.
21008 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
21009 (copysignf): Define using libm_alias_float.
21010 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
21011 (expm1f): Define using libm_alias_float.
21012 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
21013 (fabsf): Define using libm_alias_float.
21014 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
21015 (floorf): Define using libm_alias_float.
21016 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21017 (fmaxf): Define using libm_alias_float.
21018 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
21019 (fminf): Define using libm_alias_float.
21020 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
21021 (frexpf): Define using libm_alias_float.
21022 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
21023 (llrintf): Define using libm_alias_float.
21024 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
21025 (logbf): Define using libm_alias_float.
21026 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
21027 (lrintf): Define using libm_alias_float.
21028 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
21029 (nearbyintf): Define using libm_alias_float.
21030 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
21031 (remquof): Define using libm_alias_float.
21032 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
21033 (rintf): Define using libm_alias_float.
21034 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
21035 (truncf): Define using libm_alias_float.
21036 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
21037 <libm-alias-float.h>.
21038 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21039 if [SHARED].
21040 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
21041 <libm-alias-float.h>.
21042 (expf): Define using libm_alias_float, or libm_alias_float_other
21043 if [SHARED].
21044 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
21045 <libm-alias-float.h>.
21046 (log2f): Define using libm_alias_float, or libm_alias_float_other
21047 if [SHARED].
21048 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
21049 <libm-alias-float.h>.
21050 (logf): Define using libm_alias_float, or libm_alias_float_other
21051 if [SHARED].
21052 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
21053 <libm-alias-float.h>.
21054 (powf): Define using libm_alias_float, or libm_alias_float_other
21055 if [SHARED].
21056 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
21057 <libm-alias-float.h>.
21058 (cosf): Define using libm_alias_float.
21059 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
21060 <libm-alias-float.h>.
21061 (sincosf): Define using libm_alias_float.
21062 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
21063 <libm-alias-float.h>.
21064 (sinf): Define using libm_alias_float.
21065 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21066 (fmaxf): Define using libm_alias_float.
21067 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
21068 (fminf): Define using libm_alias_float.
21069 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
21070 <libm-alias-float.h>.
21071 (fmaf): Define using libm_alias_float.
21072
bc4e8f9b
JM
21073 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
21074 (asinh): Define using libm_alias_double.
21075 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
21076 (atan): Define using libm_alias_double.
21077 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
21078 (cbrt): Define using libm_alias_double.
21079 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
21080 (ceil): Define using libm_alias_double.
21081 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
21082 (copysign): Define using libm_alias_double.
21083 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
21084 (expm1): Define using libm_alias_double.
21085 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
21086 (fabs): Define using libm_alias_double.
21087 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
21088 (fdim): Define using libm_alias_double.
21089 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
21090 (floor): Define using libm_alias_double.
21091 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
21092 (fmax): Define using libm_alias_double.
21093 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
21094 (fmin): Define using libm_alias_double.
21095 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
21096 (frexp): Define using libm_alias_double.
21097 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
21098 (llrint): Define using libm_alias_double.
21099 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
21100 (logb): Define using libm_alias_double.
21101 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
21102 (lrint): Define using libm_alias_double.
21103 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
21104 (nearbyint): Define using libm_alias_double.
21105 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
21106 (remquo): Define using libm_alias_double.
21107 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
21108 (rint): Define using libm_alias_double.
21109 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
21110 (trunc): Define using libm_alias_double.
21111 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
21112 (fmax): Define using libm_alias_double.
21113 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
21114 (fmin): Define using libm_alias_double.
21115 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
21116 (fma): Define using libm_alias_double.
21117
8d81ce0c
L
211182017-11-28 H.J. Lu <hongjiu.lu@intel.com>
21119
21120 [BZ #22370]
21121 * elf/dl-hwcaps.c (ROUND): Removed.
21122 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
21123 and ELF_NOTE_NEXT_OFFSET.
21124 * elf/dl-load.c (ROUND): Removed.
21125 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
21126 * elf/readelflib.c (ROUND): Removed.
21127 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
21128 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
21129 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
21130 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
21131
6940bd96
JM
211322017-11-28 Joseph Myers <joseph@codesourcery.com>
21133
313ba463
JM
21134 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
21135 [!__fmaf] (fmaf): Define using libm_alias_float.
21136
6940bd96
JM
21137 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
21138 [!__fma] (fma): Define using libm_alias_double.
21139 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
21140
22c69b6a
MF
211412017-11-28 Mike FABIAN <mfabian@redhat.com>
21142
21143 [BZ #22336]
21144 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
21145 and implement the collation rules for cs from CLDR on top of that.
21146 * Makefile: Add cs_CZ.UTF-8 to test-input.
21147 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
21148
8d7d3ba8
SP
211492017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
21150
21151 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
21152
0422ed1e
VR
211532017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
21154 Icarus Sparry <icarus.w.sparry@intel.com>
21155
21156 * benchtests/Makefile:Add BENCHSET to allow subsets of
21157 benchmarks to be run.
21158 * benchtests/README: Add documentation for: Running subsets of
21159 benchmarks.
21160
0595e360
VR
211612017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
21162
d5090db3
VR
21163 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
21164 range of tests names.
21165
0595e360
VR
21166 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
21167 result from property and remove "max", min" and "mean" from
21168 required properties based on benchtests/bench-skeleton.c.
21169
b4c645c2
FW
211702017-11-28 Florian Weimer <fweimer@redhat.com>
21171
21172 [BZ #20826]
21173 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
21174 due to Internet requirement.
21175 * posix/Makefile (tests): Remove tst-getaddrinfo4,
21176 tst-getaddrinfo5.
21177 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
21178
88684de7
AZ
211792017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21180
69056564
AZ
21181 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21182 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
21183 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
21184 (sysdep_routines): Add memset-ultra1.
21185 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
21186 file.
21187 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
21188 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
21189 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
21190 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
21191 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
21192 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
21193 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
21194 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21195
88684de7
AZ
21196 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
21197 file.
21198 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
21199 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
21200 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
21201 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
21202 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
21203 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
21204 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
21205 macro.
21206 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21207 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
21208 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
21209 (sysdep_routines): Add memcpy-ultra1.
21210 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
21211 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
21212
d8124864
JM
212132017-11-28 Joseph Myers <joseph@codesourcery.com>
21214
f433d0b3
JM
21215 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
21216 (cfloat_versions): Take function argument without trailing 'f'.
21217 Call libm_alias_float_other.
21218 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
21219 * sysdeps/alpha/fpu/cargf.c: Likewise.
21220 * sysdeps/alpha/fpu/cimagf.c: Likewise.
21221 * sysdeps/alpha/fpu/conjf.c: Likewise.
21222 * sysdeps/alpha/fpu/crealf.c: Likewise.
21223 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
21224 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
21225 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
21226 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
21227 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
21228 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
21229 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
21230 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
21231 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
21232 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
21233 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
21234 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
21235 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
21236 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
21237 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
21238 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
21239 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
21240 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
21241 (clog10f): Use libm_alias_float_other.
21242 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
21243 (ceilf): Define using libm_alias_float.
21244 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
21245 (copysignf): Define using libm_alias_float.
21246 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
21247 (fabsf): Define using libm_alias_float.
21248 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
21249 (floorf): Define using libm_alias_float.
21250 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
21251 (fmaxf): Define using libm_alias_float.
21252 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
21253 (fminf): Define using libm_alias_float.
21254 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
21255 (lrintf): Define using libm_alias_float.
21256 (llrintf): Likewise.
21257 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
21258 (lroundf): Define using libm_alias_float.
21259 (llroundf): Likewise.
21260 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
21261 (rintf): Define using libm_alias_float.
21262 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
21263 (truncf): Define using libm_alias_float.
21264
15ff4900
JM
21265 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
21266 (ceilf): Define using libm_alias_float.
21267 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
21268 (floorf): Define using libm_alias_float.
21269 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
21270 (fmaf): Define using libm_alias_float.
21271 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
21272 (fmaxf): Define using libm_alias_float.
21273 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
21274 (fminf): Define using libm_alias_float.
21275 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
21276 (llrintf): Define using libm_alias_float.
21277 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
21278 (llroundf): Define using libm_alias_float.
21279 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
21280 (lrintf): Define using libm_alias_float.
21281 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
21282 (lroundf): Define using libm_alias_float.
21283 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
21284 <libm-alias-float.h>.
21285 (nearbyintf): Define using libm_alias_float.
21286 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
21287 (rintf): Define using libm_alias_float.
21288 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
21289 (roundf): Define using libm_alias_float.
21290 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
21291 (truncf): Define using libm_alias_float.
21292
5de60638
JM
21293 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
21294 (ceil): Define using libm_alias_double.
21295 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
21296 (copysign): Define using libm_alias_double.
21297 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
21298 (fabs): Define using libm_alias_double.
21299 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
21300 (floor): Define using libm_alias_double.
21301 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
21302 (fmax): Define using libm_alias_double.
21303 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
21304 (fmin): Define using libm_alias_double.
21305 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
21306 (lrint): Define using libm_alias_double.
21307 (llrint): Likewise.
21308 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
21309 (lround): Define using libm_alias_double.
21310 (llround): Likewise.
21311 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
21312 (rint): Define using libm_alias_double.
21313 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
21314 (trunc): Define using libm_alias_double.
21315
d8124864
JM
21316 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
21317 (libm_alias_double_r): Add semicolon after weak_alias call.
21318
f07d2ec8
JM
213192017-11-27 Joseph Myers <joseph@codesourcery.com>
21320
21321 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
21322 (ceil): Define using libm_alias_double.
21323 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
21324 (floor): Define using libm_alias_double.
21325 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
21326 (fma): Define using libm_alias_double.
21327 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
21328 (fmax): Define using libm_alias_double.
21329 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
21330 (fmin): Define using libm_alias_double.
21331 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
21332 (llrint): Define using libm_alias_double.
21333 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
21334 (llround): Define using libm_alias_double.
21335 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
21336 (lrint): Define using libm_alias_double.
21337 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
21338 (lround): Define using libm_alias_double.
21339 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
21340 (nearbyint): Define using libm_alias_double.
21341 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
21342 (rint): Define using libm_alias_double.
21343 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
21344 (round): Define using libm_alias_double.
21345 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
21346 (trunc): Define using libm_alias_double.
21347
4bab0224
FW
213482017-11-27 Florian Weimer <fweimer@redhat.com>
21349
21350 * sysdeps/unix/sysv/linux/mlock2.c: New file.
21351 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
21352 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
21353 (tests): Add tst-mlock2.
21354 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
21355 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
21356 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
21357 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
21358 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
21359 for mlock. Document mlock2.
21360
a23aa5b7
JM
213612017-11-27 Joseph Myers <joseph@codesourcery.com>
21362
21363 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
21364 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
21365 Likewise.
21366 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
21367 Likewise.
21368 * sysdeps/x86/Makeconfig: New file.
21369 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
21370 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21371 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
21372 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21373 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21374 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21375 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
21376 Likewise.
21377 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21378 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21379 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21380 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21381 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21382 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
21383 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
21384 * manual/math.texi (Mathematics): Document support for _Float64x.
21385 * math/Versions (GLIBC_2.27): Add _Float64x functions.
21386 * stdlib/Versions (GLIBC_2.27): Likewise.
21387 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21388 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21389 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21390 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21391 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21392 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21393 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21394 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21395 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21396 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21397 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21398 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21400 Likewise.
21401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21402 Likewise.
21403 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21404 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21405 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21406 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21407 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21408 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21409 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21410 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21411 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21412 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21413 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21414 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21415 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21416 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21417
c2c299fd
AS
214182017-11-27 Andreas Schwab <schwab@suse.de>
21419
21420 * elf/Makefile (dl-routines): Add dl-sort-maps.
21421 * elf/dl-sort-maps.c: New file.
21422 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
21423 (_dl_sort_maps): Declare.
21424 * elf/dl-fini.c (_dl_sort_fini): Remove.
21425 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
21426 * elf/dl-close.c (_dl_close_worker): Likewise.
21427 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
21428 open-coding it.
21429 * elf/dl-open.c (dl_open_worker): Likewise.
21430
9d4b0117
JM
214312017-11-24 Joseph Myers <joseph@codesourcery.com>
21432
de61465c
JM
21433 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
21434 using libm_alias_float128.
21435 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
21436 Likewise.
21437 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
21438 Likewise.
21439 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
21440 (setpayloadsigf128): Likewise.
21441 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
21442 Likewise.
21443 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
21444 Likewise.
21445
9ae6d171
JM
21446 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
21447 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
21448 -mfloat128 to CFLAGS.
21449 ($(foreach
21450 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
21451 Likewise.
21452 (CFLAGS-libm-test-support-float64x.c): New variable.
21453 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
21454 $(f128-loader-link) to gnulib-tests.
21455
6e70d156
JM
21456 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
21457 (libm_alias_float128_other_r): If
21458 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
21459 alias.
21460 (libm_alias_float128_r): Add semicolon after weak_alias call.
21461 * sysdeps/generic/libm-alias-ldouble.h
21462 (libm_alias_ldouble_other_r_f128): New macro.
21463 (libm_alias_ldouble_other_r_f64x): Likewise.
21464 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
21465 and libm_alias_ldouble_other_r_f64x.
21466 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
21467 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
21468 (libm_alias_ldouble_other_r_f128): New macro.
21469 (libm_alias_ldouble_other_r_f64x): Likewise.
21470 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
21471 and libm_alias_ldouble_other_r_f64x.
21472
df2806cd
JM
21473 * stdlib/strfroml.c: Always include <stdlib.h>.
21474 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
21475 undefine as macro and define as weak alias.
21476 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
21477 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
21478 <stdlib.h>.
21479 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
21480 Define and later undefine as macro and define as weak alias.
21481
0df4fe35
JM
21482 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
21483 Define and later undefine as macro. Define as weak alias if
21484 [!USE_WIDE_CHAR].
21485 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
21486 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21487 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
21488 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
21489 Define and later undefine as macro. Define as weak alias if
21490 [!USE_WIDE_CHAR].
21491 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
21492 Define and later undefine as macro. Define as weak alias if
21493 [USE_WIDE_CHAR].
21494 * sysdeps/ieee754/float128/strtof128_l.c
21495 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
21496 Define and later undefine as macro. Define as weak alias if
21497 [!USE_WIDE_CHAR].
21498 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
21499 Define and later undefine as macro. Define as weak alias if
21500 [USE_WIDE_CHAR].
21501 * sysdeps/ieee754/ldbl-128/strtold_l.c
21502 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
21503 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
21504 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
21505 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21506 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
21507 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
21508 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
21509 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
21510 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21511 * sysdeps/ieee754/ldbl-96/strtold_l.c
21512 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
21513 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
21514 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
21515 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
21516
ae7207d0
JM
21517 * math/test-float64x.h: New file.
21518 * math/Makefile (type-float64x-yes): New variable.
21519 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
21520
9596fc69
JM
21521 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
21522 function-like macro.
21523 (min_of_type_): Likewise.
21524 (min_of_type_l): Likewise.
21525 (min_of_type_f128): Likewise.
21526 (min_of_type): Pass () as last argument of __MATH_TG.
21527
46453c3c
JM
21528 * stdlib/tst-strtod-round-skeleton.c
21529 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
21530 headers.
21531
01e659e7
JM
21532 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
21533 for combinations of long double with _Float64 and _Float64x.
21534
5c60afdd
JM
21535 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
21536 (__DECL_SIMD_cosf32): Likewise.
21537 (__DECL_SIMD_cosf64): Likewise.
21538 (__DECL_SIMD_cosf32x): Likewise.
21539 (__DECL_SIMD_cosf64x): Likewise.
21540 (__DECL_SIMD_cosf128x): Likewise.
21541 (__DECL_SIMD_sinf16): Likewise.
21542 (__DECL_SIMD_sinf32): Likewise.
21543 (__DECL_SIMD_sinf64): Likewise.
21544 (__DECL_SIMD_sinf32x): Likewise.
21545 (__DECL_SIMD_sinf64x): Likewise.
21546 (__DECL_SIMD_sinf128x): Likewise.
21547 (__DECL_SIMD_sincosf16): Likewise.
21548 (__DECL_SIMD_sincosf32): Likewise.
21549 (__DECL_SIMD_sincosf64): Likewise.
21550 (__DECL_SIMD_sincosf32x): Likewise.
21551 (__DECL_SIMD_sincosf64x): Likewise.
21552 (__DECL_SIMD_sincosf128x): Likewise.
21553 (__DECL_SIMD_logf16): Likewise.
21554 (__DECL_SIMD_logf32): Likewise.
21555 (__DECL_SIMD_logf64): Likewise.
21556 (__DECL_SIMD_logf32x): Likewise.
21557 (__DECL_SIMD_logf64x): Likewise.
21558 (__DECL_SIMD_logf128x): Likewise.
21559 (__DECL_SIMD_expf16): Likewise.
21560 (__DECL_SIMD_expf32): Likewise.
21561 (__DECL_SIMD_expf64): Likewise.
21562 (__DECL_SIMD_expf32x): Likewise.
21563 (__DECL_SIMD_expf64x): Likewise.
21564 (__DECL_SIMD_expf128x): Likewise.
21565 (__DECL_SIMD_powf16): Likewise.
21566 (__DECL_SIMD_powf32): Likewise.
21567 (__DECL_SIMD_powf64): Likewise.
21568 (__DECL_SIMD_powf32x): Likewise.
21569 (__DECL_SIMD_powf64x): Likewise.
21570 (__DECL_SIMD_powf128x): Likewise.
21571
9d4b0117
JM
21572 * stdlib/Versions (libc): Move entries for wcstof128 and
21573 wcstof128_l to ....
21574 * wcsmbs/Versions (libc): ... here.
21575 Include <float128-abi.h>.
21576
7911dd47
FW
215772017-11-24 Florian Weimer <fweimer@redhat.com>
21578
21579 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21580 bits/mman-shared.h.
21581 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
21582 <bits/mman-shared.h>.
21583 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
21584 to ...
21585 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
21586 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
21587 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
21588 <bits/mman-shared.h>.
21589
c45d78aa
AZ
215902017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21591
21592 [BZ #22457]
21593 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
21594 posix_memalign/free.
21595 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
21596
3ffc4cc1
MF
215972017-11-22 Mike FABIAN <mfabian@redhat.com>
21598
21599 [BZ #22469]
21600 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
21601 and implement the collation rules for pl from CLDR on top of that.
21602 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
21603 of locales to be built for testing.
21604 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
21605
3a327316
JM
216062017-11-23 Joseph Myers <joseph@codesourcery.com>
21607
21608 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
21609 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
21610 libm_alias_ldouble_other.
21611 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
21612 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
21613 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
21614 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
21615 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
21616 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
21617 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
21618 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
21619 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
21620 libm_alias_ldouble_r.
21621 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
21622 libm_alias_ldouble_other.
21623 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
21624 (log10l): Likewise.
21625 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
21626 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
21627 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
21628 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
21629 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
21630 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
21631 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
21632 (atan2l): Likewise.
21633 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
21634 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
21635 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
21636 libm_alias_ldouble.
21637 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
21638 (cosl): Likewise.
21639 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
21640 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
21641 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
21642 (expl): Likewise.
21643 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
21644 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
21645 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
21646 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
21647 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
21648 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
21649 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
21650 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
21651 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
21652 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
21653 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
21654 libm_alias_ldouble.
21655 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
21656 libm_alias_ldouble_other.
21657 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
21658 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
21659 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
21660 libm_alias_ldouble.
21661 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
21662 libm_alias_ldouble_other.
21663 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
21664 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
21665 * sysdeps/ia64/fpu/w_lgammal_main.c
21666 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
21667 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
21668
0a947e06
FW
216692017-11-23 Florian Weimer <fweimer@redhat.com>
21670
21671 * malloc/malloc.c (tcache_thread_shutdown): Rename from
21672 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
21673 alike. Remove freeres marker.
21674 * malloc/arena.c (arena_thread_freeres): Call
21675 tcache_thread_shutdown.
21676
67f36c79
FW
216772017-11-23 Florian Weimer <fweimer@redhat.com>
21678
21679 [BZ #22459]
21680 Export nscd hash function as __nss_hash.
21681 * include/nss.h (__nss_hash): Declare.
21682 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
21683 symbol.
21684 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
21685 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
21686 of __nscd_hash.
21687 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
21688 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
21689 * nss/Makefiles (routines): Add nss_hash.
21690 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
21691 * nss/nss_hash.c: Rename from nis/nis_hash.c.
21692 (__nss_hash): Rename from __nis_hash. Define hidden alias.
21693 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
21694
cccb6d4e
FW
216952017-11-23 Florian Weimer <fweimer@redhat.com>
21696
21697 [BZ #22478]
21698 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
21699 Return error code, not -1.
21700 * signal/tst-sigwait-eintr.c: New file.
21701 * signal/Makefile (tests): Add tst-sigwait-eintr.
21702
59d2cbb1
FW
217032017-11-23 Florian Weimer <fweimer@redhat.com>
21704
21705 Linux: Add memfd_create system call wrapper
21706 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
21707 tst-memfd_create.
21708 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
21709 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
21710 [__USE_GNU] (memfd_create): Declare.
21711 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
21712 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
21713 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
21714 * sysdeps/unix/sysv/linux/**.abilist: Update.
21715 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
21716
a90d1ac2
JM
217172017-11-22 Joseph Myers <joseph@codesourcery.com>
21718
0a9d1d62
JM
21719 * localedata/gen-locale.sh: Fix typo in variable name.
21720
754034c4
JM
21721 * resolv/res_debug.c (p_secstodate): Condition definition on
21722 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
21723 directly as __p_secstodate, and as a compat symbol. Do not use
21724 libresolv_hidden_def.
21725 * resolv/resolv.h (p_secstodate): Remove macro and function
21726 declaration.
21727 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
21728 using p_secstodate.
21729 * include/resolv.h (__p_secstodate): Do not use
21730 libresolv_hidden_proto.
21731 * resolv/Makefile (tests): Move tst-p_secstodate to ....
21732 (tests-internal): ... here.
21733 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
21734 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
21735 and declare and use __p_secstodate and use compat_symbol_reference
21736 in that case.
21737 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
21738 implementation returning 77.
21739
f120cda6
JM
21740 [BZ #22463]
21741 * resolv/res_debug.c: Include <libc-diag.h>.
21742 (p_secstodate): Assert time_t at least as wide as u_long. On
21743 overflow, use integer seconds since the epoch as output, or use
21744 "<overflow>" as output and set errno to EOVERFLOW if integer
21745 seconds since the epoch would be 14 or more characters.
21746 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
21747 for sprintf call.
21748 * resolv/tst-p_secstodate.c: New file.
21749 * resolv/Makefile (tests): Add tst-p_secstodate.
21750 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
21751
a90d1ac2
JM
21752 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
21753 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
21754 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
21755
0285e6bd
PE
217562017-11-22 Paul Eggert <eggert@cs.ucla.edu>
21757
21758 * posix/regcomp.c (init_word_char): Add comments.
21759
4bae6150
JM
217602017-11-22 Joseph Myers <joseph@codesourcery.com>
21761
21762 [BZ #22447]
21763 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
21764 strlen to compute length of ut_user and set trailing NUL byte of
21765 result explicitly.
21766
4b7af5fc
MF
217672017-11-21 Mike FABIAN <mfabian@redhat.com>
21768
21769 [BZ #15537]
21770 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
21771 using “copy "iso14651_t1"” and then implementing the
21772 collation rules for lv from CLDR on top of that.
21773 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
21774 of locales to be built for testing.
21775 * lv_LV.UTF-8.in: New file with test data to test the Latvian
21776 sorting.
21777
922bb78c
JM
217782017-11-21 Joseph Myers <joseph@codesourcery.com>
21779
21780 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
21781 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
21782 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
21783 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
21784 [__USE_MISC] (MADV_HWPOISON): New macro.
21785 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
21786
a3aaa598
AZ
217872017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21788
21789 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
21790 -Wmissing-braces on GCC 4.9.
21791
8beba15d
SL
217922017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
21793
21794 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
21795 * sysdeps/s390/s390-32/start.S (_start): Likewise
21796 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
21797 (thread_start): Likewise.
21798 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
21799 (thread_start): Likewise.
21800 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
21801 (__makecontext_ret): Likewise.
21802 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
21803 (__makecontext_ret): Likewise.
21804
80eb52e3
SL
218052017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
21806
21807 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
21808 __wcschrnul): Remove attribute_hidden.
21809
567d8c1f
PE
218102017-11-20 Paul Eggert <eggert@cs.ucla.edu>
21811
21812 regex: don't assume uint64_t or uint32_t
21813 This avoids -Werror=overflow errors for 32-bit systems in
21814 the 64-bit case. Problem reported by Joseph Myers in:
21815 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
21816 Also, when this code is used in Gnulib it ports to platforms
21817 that lack uint64_t and uint32_t. The C standard doesn't guarantee
21818 them, and on some 32-bit compilers there is no uint64_t.
21819 Problem reported by Gianluigi Tiesi in:
21820 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
21821 * posix/regcomp.c (init_word_char): Don't assume that the types
21822 uint64_t and uint32_t exist. Adapted from Gnulib patch
21823 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
21824 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
21825
4d7632ff
SP
218262017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
21827
5a67c4fa
SP
21828 * sysdeps/aarch64/memset-reg.h: New file.
21829 * sysdeps/aarch64/memset.S: Use it.
21830 (__memset): Rename to MEMSET macro.
21831 [ZVA_MACRO]: Use zva_macro.
21832 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
21833 Add memset_generic and memset_falkor.
21834 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
21835 (__libc_ifunc_impl_list): Add memset ifuncs.
21836 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
21837 local variable zva_size.
21838 * sysdeps/aarch64/multiarch/memset.c: New file.
21839 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
21840 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
21841 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
21842 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
21843 (DCZID_DZP_MASK): New macro.
21844 (DCZID_BS_MASK): Likewise.
21845 (init_cpu_features): Read and set zva_size.
21846 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
21847 (struct cpu_features): New member zva_size.
21848
eb332f9f
SP
21849 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
21850 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
21851 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
21852
4d7632ff
SP
21853 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
21854 backwards. Fix timing computation.
21855 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
21856 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
21857 on memset by N at a time. Fix timing computation.
21858
a465b89e
FW
218592017-11-20 Florian Weimer <fweimer@redhat.com>
21860
21861 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
21862 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
21863
0f74bbf5
FW
218642017-11-19 Florian Weimer <fweimer@redhat.com>
21865
21866 manual: Document mprotect
21867 * manual/memory.texi (Memory Protection): New section.
21868 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
21869 documentation of PROT_* flags and reference the Memory Protection
21870 section instead.
21871
f6e965ee
FW
218722017-11-19 Florian Weimer <fweimer@redhat.com>
21873
21874 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
21875 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
21876 (Scatter-Gather): ... to here. Remove misleading comment.
21877
363e4519 218782017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
ea69a5c8 21879
5f9d1949
CB
21880 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
21881 style.
21882
ea69a5c8
CB
21883 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
21884 when /proc/<pid>/setgroups does not exist.
21885
8db7f48c
FW
218862017-11-18 Florian Weimer <fweimer@redhat.com>
21887
21888 * sysdeps/unix/sysv/linux/tst-ttyname.c
21889 (become_root_in_mount_ns): Remove.
21890 (do_in_chroot_1): Call support_enter_mount_namespace.
21891 (do_in_chroot_2): Likewise.
21892 (do_test): Call support_become_root early.
21893
273a0c49
FW
218942017-11-18 Florian Weimer <fweimer@redhat.com>
21895
21896 * support/namespace.h (support_enter_mount_namespace): Declare.
21897 * support/support_enter_mount_namespace.c: New file.
21898 * support/Makefile (libsupport-routines): Add
21899 support_enter_mount_namespace.
21900
8adfb0ee
FW
219012017-11-18 Florian Weimer <fweimer@redhat.com>
21902
21903 * support/temp_file.c (support_create_temp_directory): Use
21904 test_dir and do not rely on the presence of the XXXXXX suffix.
21905 * support/temp_file.h (support_create_temp_directory): Update
21906 comment.
21907 * support/tst-xreadlink.c (do_test): Adjust.
21908 * support/support_chroot.c (support_chroot_create): Likewise.
21909
df0c40ee
TMQMF
219102017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21911
21912 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
21913 macro.
21914 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
21915 htm-no-suspend.
21916
015c6dc2
JM
219172017-11-17 Joseph Myers <joseph@codesourcery.com>
21918
f58e5f48
JM
21919 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
21920 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
21921 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
21922 (ceill): Define using libm_alias_ldouble.
21923 * sysdeps/x86_64/fpu/s_copysignl.S: Include
21924 <libm-alias-ldouble.h>.
21925 (copysignl): Define using libm_alias_ldouble.
21926 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
21927 (fabsl): Define using libm_alias_ldouble.
21928 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
21929 (floorl): Define using libm_alias_ldouble.
21930 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
21931 (fmaxl): Define using libm_alias_ldouble.
21932 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
21933 (fminl): Define using libm_alias_ldouble.
21934 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
21935 (llrintl): Define using libm_alias_ldouble.
21936 (lrintl): Likewise.
21937 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
21938 <libm-alias-ldouble.h>.
21939 (nearbyintl): Define using libm_alias_ldouble.
21940 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
21941 (truncl): Define using libm_alias_ldouble.
21942 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
21943 <libm-alias-ldouble.h>.
21944 (lrintl): Define using libm_alias_ldouble.
21945
2ce30701
JM
21946 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
21947 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
21948 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
21949 (asinhl): Define using libm_alias_ldouble.
21950 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
21951 (atanl): Define using libm_alias_ldouble.
21952 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
21953 (cbrtl): Define using libm_alias_ldouble.
21954 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
21955 (ceill): Define using libm_alias_ldouble.
21956 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
21957 (copysignl): Define using libm_alias_ldouble.
21958 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
21959 (fabsl): Define using libm_alias_ldouble.
21960 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
21961 (floorl): Define using libm_alias_ldouble.
21962 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
21963 (fmaxl): Define using libm_alias_ldouble.
21964 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
21965 (fminl): Define using libm_alias_ldouble.
21966 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
21967 (frexpl): Define using libm_alias_ldouble.
21968 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
21969 (llrintl): Define using libm_alias_ldouble.
21970 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
21971 (logbl): Define using libm_alias_ldouble.
21972 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
21973 (lrintl): Define using libm_alias_ldouble.
21974 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
21975 (nearbyintl): Define using libm_alias_ldouble.
21976 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
21977 (nextafterl): Define using libm_alias_ldouble.
21978 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
21979 (remquol): Define using libm_alias_ldouble.
21980 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
21981 (rintl): Define using libm_alias_ldouble.
21982 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
21983 (truncl): Define using libm_alias_ldouble.
21984 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
21985 (fmaxl): Define using libm_alias_ldouble.
21986 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
21987 (fminl): Define using libm_alias_ldouble.
21988
015c6dc2
JM
21989 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
21990 to C syntax instead of availability and properties of types.
21991 * bits/floatn.h [!__ASSEMBLER]: Likewise.
21992 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
21993 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
21994 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
21995 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
21996 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
21997
ce003e5d
FW
219982017-11-17 Florian Weimer <fweimer@redhat.com>
21999
22000 support_become_root: Enable file creation in namespaces.
22001 * support/support_become_root.c (setup_mapping): New function.
22002 (support_become_root): Call it.
22003
e7df6c5c
JM
220042017-11-17 Joseph Myers <joseph@codesourcery.com>
22005
22006 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
22007 macro.
22008
58a813bf
AZ
220092017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22010
22011 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
22012 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
22013
f97773d1
JM
220142017-11-16 Joseph Myers <joseph@codesourcery.com>
22015
6a6aa1f3
JM
22016 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
22017
f97773d1
JM
22018 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
22019 version to 4.14.
22020
a306c790
SP
220212017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
22022
7b0fb870
SP
22023 * INSTALL: Fix botched up regeneration.
22024
22025 * NEWS: Update sourceare link to https.
a306c790
SP
22026 * configure.ac: Likewise.
22027 * crypt/md5test-giant.c: Likewise.
22028 * dlfcn/bug-atexit1.c: Likewise.
22029 * dlfcn/bug-atexit2.c: Likewise.
22030 * localedata/README: Likewise.
22031 * malloc/tst-mallocfork.c: Likewise.
22032 * manual/install.texi: Likewise.
22033 * nptl/tst-pthread-getattr.c: Likewise.
22034 * stdio-common/tst-fgets.c: Likewise.
22035 * stdio-common/tst-fwrite.c: Likewise.
22036 * sunrpc/Makefile: Likewise.
22037 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
22038 * wcsmbs/tst-mbrtowc2.c: Likewise.
7b0fb870
SP
22039 * configure: Regenerate.
22040 * INSTALL: Regenerate.
a306c790 22041
7532837d
MS
220422017-11-15 Martin Sebor <msebor@redhat.com>
22043
22044 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
22045 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
22046 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
22047
495a56fd
LS
220482017-11-15 Luke Shumaker <lukeshu@parabola.nu>
22049
d9611e30
LS
22050 [BZ #22145]
22051 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
22052 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
22053
a09dfc19
LS
22054 [BZ #22145]
22055 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
22056 Defer is_pty check until end of the function.
22057 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22058
2fbce9c2
LS
22059 [BZ #22145]
22060 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
22061 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
22062 (ttyname): Likewise.
22063 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
22064 (__ttyname_r): Likewise.
22065
d10d6cab
LS
22066 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
22067 int to bool.
22068
9b5a8750
LS
22069 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
22070
495a56fd
LS
22071 * manual/terminal.texi (Is It a Terminal):
22072 Mention ENODEV for ttyname and ttyname_r.
22073
fa680dc6
JM
220742017-11-15 Joseph Myers <joseph@codesourcery.com>
22075
78cde19f
JM
22076 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
22077 constant and macro.
22078
fa680dc6
JM
22079 * sysdeps/unix/sysv/linux/bits/mman-linux.h
22080 [__USE_MISC] (MADV_WIPEONFORK): New macro.
22081 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
22082 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
22083 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
22084 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
22085
ad4f43a2
AZ
220862017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22087
1ba1d8a4
AZ
22088 * signal/sigrelse.c (sigrelse): Optimize implementation.
22089
ad4f43a2
AZ
22090 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
22091 (__sigpause): Rely on __sigsuspend to implement single thread
22092 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
22093
d0212d42
JM
220942017-11-15 Joseph Myers <joseph@codesourcery.com>
22095
22096 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
22097 kernel version to 4.14.
22098
2180fee1
SE
220992017-11-15 Steve Ellcey <sellcey@cavium.com>
22100
22101 [BZ #22442]
22102 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
22103 Check if ifname is too long.
22104
cad7ca39
LS
221052017-11-15 Luke Shumaker <lukeshu@parabola.nu>
22106
22107 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
22108
58c9f659
MF
221092017-11-15 Mike FABIAN <mfabian@redhat.com>
22110
22111 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
22112 was accidentally lost.
22113
0fa87c01
MF
221142017-11-15 Mike FABIAN <mfabian@redhat.com>
22115
22116 * localedata/locales/az_IR: Add standard copyright header.
22117
34eb4157
FW
221182017-11-15 Florian Weimer <fweimer@redhat.com>
22119
22120 [BZ #22439]
22121 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
22122 not just the top one. Output a new "subheaps" statistic.
22123
7a9368a1
FW
221242017-11-15 Florian Weimer <fweimer@redhat.com>
22125
22126 [BZ #22408]
22127 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
22128 under the per-arena lock.
22129 * malloc/Makefile (tests): Add tst-malloc_info.
22130 (tst-malloc_info): Link with libpthread.
22131 * malloc/tst-malloc_info.c: New file.
22132
be3a79a3
JM
221332017-11-15 Joseph Myers <joseph@codesourcery.com>
22134
22135 [BZ #21660]
22136 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
22137 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
22138 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
22139 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
22140 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
22141 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
22142 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
22143 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
22144 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
22145 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
22146 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
22147 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
22148 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
22149 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
22150 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
22151 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
22152 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
22153 (__floating_type): Likewise.
22154 (__real_integer_type): Likewise.
22155 (__complex_integer_type): Likewise.
22156 (__expr_is_real): Likewise.
22157 (__tgmath_real_type_sub): Likewise.
22158 (__tgmath_real_type): Likewise.
22159 (__tgmath_complex_type_sub): Likewise.
22160 (__tgmath_complex_type): Likewise.
22161 (__TGMATH_F128): Likewise.
22162 (__TGMATH_CF128): Likewise.
22163 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
22164 new macros.
22165 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
22166 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
22167 Likewise.
22168 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
22169 Likewise.
22170 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
22171 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
22172 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
22173 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
22174 Likewise.
22175 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
22176 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
22177 Likewise.
22178 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
22179 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
22180 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
22181 Likewise.
22182 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
22183 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
22184 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
22185 (cimag): Likewise.
22186 (creal): Likewise.
22187
ec72135e
JM
221882017-11-14 Joseph Myers <joseph@codesourcery.com>
22189
2e64ec9c
JM
22190 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
22191 for stpncpy calls for GCC 8.
22192 (test_strncat): Disable -Wstringop-truncation warning for strncat
22193 calls for GCC 8. Disable -Wstringop-overflow= warning for one
22194 strncat call for GCC 7.
22195 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
22196 calls for GCC 8.
22197 (test_memcmp): Use memcpy instead of strncpy for calls not copying
22198 trailing NUL.
22199
ec72135e
JM
22200 * string/bug-strncat1.c: Include <libc-diag.h>.
22201 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
22202
363e4519 222032017-11-13 Claude Paroz <claude@2xlibre.net>
a259f5d3
CP
22204
22205 [BZ #22387]
22206 * localedata/locales/aa_DJ: Improved readibility by replacing
22207 <Uxxxx> sequences in the ASCII printable range by their ASCII
22208 character equivalents.
22209 * localedata/locales/aa_ER: Likewise.
22210 * localedata/locales/aa_ER@saaho: Likewise.
22211 * localedata/locales/aa_ET: Likewise.
22212 * localedata/locales/af_ZA: Likewise.
22213 * localedata/locales/agr_PE: Likewise.
22214 * localedata/locales/ak_GH: Likewise.
22215 * localedata/locales/am_ET: Likewise.
22216 * localedata/locales/anp_IN: Likewise.
22217 * localedata/locales/ar_AE: Likewise.
22218 * localedata/locales/ar_BH: Likewise.
22219 * localedata/locales/ar_DZ: Likewise.
22220 * localedata/locales/ar_EG: Likewise.
22221 * localedata/locales/ar_IN: Likewise.
22222 * localedata/locales/ar_IQ: Likewise.
22223 * localedata/locales/ar_JO: Likewise.
22224 * localedata/locales/ar_KW: Likewise.
22225 * localedata/locales/ar_LB: Likewise.
22226 * localedata/locales/ar_LY: Likewise.
22227 * localedata/locales/ar_MA: Likewise.
22228 * localedata/locales/ar_OM: Likewise.
22229 * localedata/locales/ar_QA: Likewise.
22230 * localedata/locales/ar_SA: Likewise.
22231 * localedata/locales/ar_SD: Likewise.
22232 * localedata/locales/ar_SS: Likewise.
22233 * localedata/locales/ar_SY: Likewise.
22234 * localedata/locales/ar_TN: Likewise.
22235 * localedata/locales/ar_YE: Likewise.
22236 * localedata/locales/as_IN: Likewise.
22237 * localedata/locales/ast_ES: Likewise.
22238 * localedata/locales/ayc_PE: Likewise.
22239 * localedata/locales/az_AZ: Likewise.
22240 * localedata/locales/az_IR: Likewise.
22241 * localedata/locales/be_BY: Likewise.
22242 * localedata/locales/be_BY@latin: Likewise.
22243 * localedata/locales/bem_ZM: Likewise.
22244 * localedata/locales/ber_DZ: Likewise.
22245 * localedata/locales/ber_MA: Likewise.
22246 * localedata/locales/bg_BG: Likewise.
22247 * localedata/locales/bhb_IN: Likewise.
22248 * localedata/locales/bho_IN: Likewise.
22249 * localedata/locales/bi_VU: Likewise.
22250 * localedata/locales/bn_BD: Likewise.
22251 * localedata/locales/bn_IN: Likewise.
22252 * localedata/locales/bo_CN: Likewise.
22253 * localedata/locales/bo_IN: Likewise.
22254 * localedata/locales/br_FR: Likewise.
22255 * localedata/locales/brx_IN: Likewise.
22256 * localedata/locales/bs_BA: Likewise.
22257 * localedata/locales/byn_ER: Likewise.
22258 * localedata/locales/ca_AD: Likewise.
22259 * localedata/locales/ca_ES: Likewise.
22260 * localedata/locales/ca_FR: Likewise.
22261 * localedata/locales/ca_IT: Likewise.
22262 * localedata/locales/ce_RU: Likewise.
22263 * localedata/locales/chr_US: Likewise.
22264 * localedata/locales/cmn_TW: Likewise.
22265 * localedata/locales/crh_UA: Likewise.
22266 * localedata/locales/cs_CZ: Likewise.
22267 * localedata/locales/csb_PL: Likewise.
22268 * localedata/locales/cv_RU: Likewise.
22269 * localedata/locales/cy_GB: Likewise.
22270 * localedata/locales/da_DK: Likewise.
22271 * localedata/locales/de_AT: Likewise.
22272 * localedata/locales/de_BE: Likewise.
22273 * localedata/locales/de_CH: Likewise.
22274 * localedata/locales/de_DE: Likewise.
22275 * localedata/locales/de_IT: Likewise.
22276 * localedata/locales/de_LI: Likewise.
22277 * localedata/locales/de_LU: Likewise.
22278 * localedata/locales/doi_IN: Likewise.
22279 * localedata/locales/dv_MV: Likewise.
22280 * localedata/locales/dz_BT: Likewise.
22281 * localedata/locales/el_CY: Likewise.
22282 * localedata/locales/el_GR: Likewise.
22283 * localedata/locales/en_AG: Likewise.
22284 * localedata/locales/en_AU: Likewise.
22285 * localedata/locales/en_BW: Likewise.
22286 * localedata/locales/en_CA: Likewise.
22287 * localedata/locales/en_DK: Likewise.
22288 * localedata/locales/en_GB: Likewise.
22289 * localedata/locales/en_HK: Likewise.
22290 * localedata/locales/en_IE: Likewise.
22291 * localedata/locales/en_IL: Likewise.
22292 * localedata/locales/en_IN: Likewise.
22293 * localedata/locales/en_NG: Likewise.
22294 * localedata/locales/en_NZ: Likewise.
22295 * localedata/locales/en_PH: Likewise.
22296 * localedata/locales/en_SG: Likewise.
22297 * localedata/locales/en_US: Likewise.
22298 * localedata/locales/en_ZA: Likewise.
22299 * localedata/locales/en_ZM: Likewise.
22300 * localedata/locales/en_ZW: Likewise.
22301 * localedata/locales/eo: Likewise.
22302 * localedata/locales/es_AR: Likewise.
22303 * localedata/locales/es_BO: Likewise.
22304 * localedata/locales/es_CL: Likewise.
22305 * localedata/locales/es_CO: Likewise.
22306 * localedata/locales/es_CR: Likewise.
22307 * localedata/locales/es_CU: Likewise.
22308 * localedata/locales/es_DO: Likewise.
22309 * localedata/locales/es_EC: Likewise.
22310 * localedata/locales/es_ES: Likewise.
22311 * localedata/locales/es_GT: Likewise.
22312 * localedata/locales/es_HN: Likewise.
22313 * localedata/locales/es_MX: Likewise.
22314 * localedata/locales/es_NI: Likewise.
22315 * localedata/locales/es_PA: Likewise.
22316 * localedata/locales/es_PE: Likewise.
22317 * localedata/locales/es_PR: Likewise.
22318 * localedata/locales/es_PY: Likewise.
22319 * localedata/locales/es_SV: Likewise.
22320 * localedata/locales/es_US: Likewise.
22321 * localedata/locales/es_UY: Likewise.
22322 * localedata/locales/es_VE: Likewise.
22323 * localedata/locales/et_EE: Likewise.
22324 * localedata/locales/eu_ES: Likewise.
22325 * localedata/locales/eu_ES@euro: Likewise.
22326 * localedata/locales/fa_IR: Likewise.
22327 * localedata/locales/ff_SN: Likewise.
22328 * localedata/locales/fi_FI: Likewise.
22329 * localedata/locales/fil_PH: Likewise.
22330 * localedata/locales/fo_FO: Likewise.
22331 * localedata/locales/fr_BE: Likewise.
22332 * localedata/locales/fr_CA: Likewise.
22333 * localedata/locales/fr_CH: Likewise.
22334 * localedata/locales/fr_FR: Likewise.
22335 * localedata/locales/fr_LU: Likewise.
22336 * localedata/locales/fur_IT: Likewise.
22337 * localedata/locales/fy_DE: Likewise.
22338 * localedata/locales/fy_NL: Likewise.
22339 * localedata/locales/ga_IE: Likewise.
22340 * localedata/locales/gd_GB: Likewise.
22341 * localedata/locales/gez_ER: Likewise.
22342 * localedata/locales/gez_ET: Likewise.
22343 * localedata/locales/gl_ES: Likewise.
22344 * localedata/locales/gu_IN: Likewise.
22345 * localedata/locales/gv_GB: Likewise.
22346 * localedata/locales/ha_NG: Likewise.
22347 * localedata/locales/hak_TW: Likewise.
22348 * localedata/locales/he_IL: Likewise.
22349 * localedata/locales/hi_IN: Likewise.
22350 * localedata/locales/hif_FJ: Likewise.
22351 * localedata/locales/hne_IN: Likewise.
22352 * localedata/locales/hr_HR: Likewise.
22353 * localedata/locales/hsb_DE: Likewise.
22354 * localedata/locales/ht_HT: Likewise.
22355 * localedata/locales/hu_HU: Likewise.
22356 * localedata/locales/hy_AM: Likewise.
22357 * localedata/locales/i18n: Likewise.
22358 * localedata/locales/ia_FR: Likewise.
22359 * localedata/locales/id_ID: Likewise.
22360 * localedata/locales/ig_NG: Likewise.
22361 * localedata/locales/ik_CA: Likewise.
22362 * localedata/locales/is_IS: Likewise.
22363 * localedata/locales/it_CH: Likewise.
22364 * localedata/locales/it_IT: Likewise.
22365 * localedata/locales/iu_CA: Likewise.
22366 * localedata/locales/ja_JP: Likewise.
22367 * localedata/locales/ka_GE: Likewise.
22368 * localedata/locales/kk_KZ: Likewise.
22369 * localedata/locales/kl_GL: Likewise.
22370 * localedata/locales/kn_IN: Likewise.
22371 * localedata/locales/ko_KR: Likewise.
22372 * localedata/locales/kok_IN: Likewise.
22373 * localedata/locales/ks_IN: Likewise.
22374 * localedata/locales/ks_IN@devanagari: Likewise.
22375 * localedata/locales/ku_TR: Likewise.
22376 * localedata/locales/kw_GB: Likewise.
22377 * localedata/locales/ky_KG: Likewise.
22378 * localedata/locales/lb_LU: Likewise.
22379 * localedata/locales/lg_UG: Likewise.
22380 * localedata/locales/li_BE: Likewise.
22381 * localedata/locales/li_NL: Likewise.
22382 * localedata/locales/lij_IT: Likewise.
22383 * localedata/locales/ln_CD: Likewise.
22384 * localedata/locales/lo_LA: Likewise.
22385 * localedata/locales/lt_LT: Likewise.
22386 * localedata/locales/lv_LV: Likewise.
22387 * localedata/locales/lzh_TW: Likewise.
22388 * localedata/locales/mag_IN: Likewise.
22389 * localedata/locales/mai_IN: Likewise.
22390 * localedata/locales/mg_MG: Likewise.
22391 * localedata/locales/mhr_RU: Likewise.
22392 * localedata/locales/mi_NZ: Likewise.
22393 * localedata/locales/mk_MK: Likewise.
22394 * localedata/locales/ml_IN: Likewise.
22395 * localedata/locales/mn_MN: Likewise.
22396 * localedata/locales/mni_IN: Likewise.
22397 * localedata/locales/mr_IN: Likewise.
22398 * localedata/locales/ms_MY: Likewise.
22399 * localedata/locales/mt_MT: Likewise.
22400 * localedata/locales/my_MM: Likewise.
22401 * localedata/locales/nan_TW: Likewise.
22402 * localedata/locales/nan_TW@latin: Likewise.
22403 * localedata/locales/nb_NO: Likewise.
22404 * localedata/locales/nds_DE: Likewise.
22405 * localedata/locales/nds_NL: Likewise.
22406 * localedata/locales/ne_NP: Likewise.
22407 * localedata/locales/nhn_MX: Likewise.
22408 * localedata/locales/niu_NU: Likewise.
22409 * localedata/locales/niu_NZ: Likewise.
22410 * localedata/locales/nl_AW: Likewise.
22411 * localedata/locales/nl_BE: Likewise.
22412 * localedata/locales/nl_NL: Likewise.
22413 * localedata/locales/nn_NO: Likewise.
22414 * localedata/locales/nr_ZA: Likewise.
22415 * localedata/locales/nso_ZA: Likewise.
22416 * localedata/locales/oc_FR: Likewise.
22417 * localedata/locales/om_ET: Likewise.
22418 * localedata/locales/om_KE: Likewise.
22419 * localedata/locales/or_IN: Likewise.
22420 * localedata/locales/os_RU: Likewise.
22421 * localedata/locales/pa_IN: Likewise.
22422 * localedata/locales/pa_PK: Likewise.
22423 * localedata/locales/pap_AW: Likewise.
22424 * localedata/locales/pap_CW: Likewise.
22425 * localedata/locales/pl_PL: Likewise.
22426 * localedata/locales/ps_AF: Likewise.
22427 * localedata/locales/pt_BR: Likewise.
22428 * localedata/locales/pt_PT: Likewise.
22429 * localedata/locales/quz_PE: Likewise.
22430 * localedata/locales/raj_IN: Likewise.
22431 * localedata/locales/ro_RO: Likewise.
22432 * localedata/locales/ru_RU: Likewise.
22433 * localedata/locales/ru_UA: Likewise.
22434 * localedata/locales/rw_RW: Likewise.
22435 * localedata/locales/sa_IN: Likewise.
22436 * localedata/locales/sat_IN: Likewise.
22437 * localedata/locales/sc_IT: Likewise.
22438 * localedata/locales/sd_IN: Likewise.
22439 * localedata/locales/sd_IN@devanagari: Likewise.
22440 * localedata/locales/se_NO: Likewise.
22441 * localedata/locales/sgs_LT: Likewise.
22442 * localedata/locales/shs_CA: Likewise.
22443 * localedata/locales/si_LK: Likewise.
22444 * localedata/locales/sid_ET: Likewise.
22445 * localedata/locales/sk_SK: Likewise.
22446 * localedata/locales/sl_SI: Likewise.
22447 * localedata/locales/sm_WS: Likewise.
22448 * localedata/locales/so_DJ: Likewise.
22449 * localedata/locales/so_ET: Likewise.
22450 * localedata/locales/so_KE: Likewise.
22451 * localedata/locales/so_SO: Likewise.
22452 * localedata/locales/sq_AL: Likewise.
22453 * localedata/locales/sq_MK: Likewise.
22454 * localedata/locales/sr_ME: Likewise.
22455 * localedata/locales/sr_RS: Likewise.
22456 * localedata/locales/sr_RS@latin: Likewise.
22457 * localedata/locales/ss_ZA: Likewise.
22458 * localedata/locales/st_ZA: Likewise.
22459 * localedata/locales/sv_FI: Likewise.
22460 * localedata/locales/sv_SE: Likewise.
22461 * localedata/locales/sw_KE: Likewise.
22462 * localedata/locales/sw_TZ: Likewise.
22463 * localedata/locales/szl_PL: Likewise.
22464 * localedata/locales/ta_IN: Likewise.
22465 * localedata/locales/ta_LK: Likewise.
22466 * localedata/locales/tcy_IN: Likewise.
22467 * localedata/locales/te_IN: Likewise.
22468 * localedata/locales/tg_TJ: Likewise.
22469 * localedata/locales/th_TH: Likewise.
22470 * localedata/locales/the_NP: Likewise.
22471 * localedata/locales/ti_ER: Likewise.
22472 * localedata/locales/ti_ET: Likewise.
22473 * localedata/locales/tig_ER: Likewise.
22474 * localedata/locales/tk_TM: Likewise.
22475 * localedata/locales/tl_PH: Likewise.
22476 * localedata/locales/tn_ZA: Likewise.
22477 * localedata/locales/to_TO: Likewise.
22478 * localedata/locales/tpi_PG: Likewise.
22479 * localedata/locales/tr_CY: Likewise.
22480 * localedata/locales/tr_TR: Likewise.
22481 * localedata/locales/ts_ZA: Likewise.
22482 * localedata/locales/tt_RU: Likewise.
22483 * localedata/locales/tt_RU@iqtelif: Likewise.
22484 * localedata/locales/ug_CN: Likewise.
22485 * localedata/locales/uk_UA: Likewise.
22486 * localedata/locales/unm_US: Likewise.
22487 * localedata/locales/ur_IN: Likewise.
22488 * localedata/locales/ur_PK: Likewise.
22489 * localedata/locales/uz_UZ: Likewise.
22490 * localedata/locales/uz_UZ@cyrillic: Likewise.
22491 * localedata/locales/ve_ZA: Likewise.
22492 * localedata/locales/vi_VN: Likewise.
22493 * localedata/locales/wa_BE: Likewise.
22494 * localedata/locales/wae_CH: Likewise.
22495 * localedata/locales/wal_ET: Likewise.
22496 * localedata/locales/wo_SN: Likewise.
22497 * localedata/locales/xh_ZA: Likewise.
22498 * localedata/locales/yi_US: Likewise.
22499 * localedata/locales/yo_NG: Likewise.
22500 * localedata/locales/yue_HK: Likewise.
22501 * localedata/locales/yuw_PG: Likewise.
22502 * localedata/locales/zh_CN: Likewise.
22503 * localedata/locales/zh_HK: Likewise.
22504 * localedata/locales/zh_SG: Likewise.
22505 * localedata/locales/zh_TW: Likewise.
22506 * localedata/locales/zu_ZA: Likewise.
22507
cae87e64
FW
225082017-11-13 Florian Weimer <fweimer@redhat.com>
22509
22510 * support/next_to_fault.h, support/next_to_fault.c: New files.
22511 * support/Makefile (libsupport-routines): Add next_to_fault.
22512 * resolv/tst-inet_pton.c (struct next_to_fault)
22513 (next_to_fault_allocate, next_to_fault_free): Remove.
22514 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
22515
4a306ef1
L
225162017-11-13 H.J. Lu <hongjiu.lu@intel.com>
22517
22518 * elf/dl-support.c: Include <dl-procruntime.c>.
22519 * include/link.h: Include <link_map.h>.
22520 * sysdeps/generic/dl-procruntime.c: New file.
22521 * sysdeps/generic/link_map.h: Likewise.
22522 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
22523 the writable ld.so namespace.
22524
e69897bf
PE
225252017-11-12 Paul Eggert <eggert@cs.ucla.edu>
22526
22527 timezone: pacify GCC -Wstringop-truncation
22528 Problem reported by Martin Sebor in:
22529 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
22530 * timezone/zic.c (writezone): Use memcpy, not strncpy.
22531
1ffe1ccb
FW
225322017-11-12 Florian Weimer <fweimer@redhat.com>
22533
eceed671
FW
22534 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
22535 tst-xreadlink.
22536 (tests): Add tst-xreadlink.
1ffe1ccb
FW
22537 * support/support.h (xstrndup): Declare.
22538 * support/xunistd.h (xunlink, xreadlink): Declare.
22539 * support/temp_file.h (support_create_temp_directory): Declare.
22540 * support/temp_file.c (support_create_temp_directory): New function.
22541 * support/support_chroot.c (support_chroot_create): Use it.
22542 * support/xreadlink.c: New file.
22543 * support/xstrndup.c: Likewise.
22544 * support/xunlink.c: Likewise.
22545 * support/tst-xreadlink.c: Likewise.
22546
456b40a9
JDA
225472017-11-11 John David Anglin <danglin@gcc.gnu.org>
22548
22549 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
22550
c0a25aa9
FW
225512017-11-11 Florian Weimer <fweimer@redhat.com>
22552
22553 [BZ #22409]
22554 [BZ #22412]
22555 * resolv/res_comp.c (printable_string, binary_hnok)
22556 (binary_leading_dash): New functions.
22557 (res_hnok): Reimplement using these functions and ns_name_pton.
22558 (res_ownok): Likewise.
22559 (res_mailok): Reimplement using printable_string, ns_name_pton and
22560 binary_hnok.
22561 (res_dnok): Reimplement using printable_string and ns_name_pton.
22562 * resolv/tst-res_hnok.c (tests): Add additional tests.
22563 (LETTERDIGITS, PRINTABLE): Define.
22564 (do_test): Adjust one_char results.
22565
9e0ad304
FW
225662017-11-11 Florian Weimer <fweimer@redhat.com>
22567
22568 [BZ #22413]
22569 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
22570 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
22571
e2a9fca8
FW
225722017-11-11 Florian Weimer <fweimer@redhat.com>
22573
22574 * resolv/tst-ns_name_pton.c: New file.
22575 * resolv/Makefile (tests): Add tst-ns_name_pton.
22576 (tst-ns_name_pton): Link against libresolv.
22577
5c1a6923
FW
225782017-11-11 Florian Weimer <fweimer@redhat.com>
22579
22580 * resolv/tst-res_hnok.c: New file.
22581 * resolv/Makefile (tests): Add tst-res_hnok.
22582 (tst-res_hnok): Link against libresolv.
22583
a19c0a1d
FW
225842017-11-11 Florian Weimer <fweimer@redhat.com>
22585
22586 * resolv/tst-resolv-network.c: Use test framework instead explicit
22587 main function.
22588
8cb5295d
L
225892017-11-09 H.J. Lu <hongjiu.lu@intel.com>
22590
22591 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
22592 <jmp_buf-macros.h>.
22593 [!_ISOMAC] (STR_HELPER): New.
22594 [!_ISOMAC] (STR): Likewise.
22595 [!_ISOMAC] (TEST_SIZE): Likewise.
22596 [!_ISOMAC] (TEST_ALIGN): Likewise.
22597 [!_ISOMAC] (TEST_OFFSET): Likewise.
22598 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
22599 field offsets of jmp_buf as well as sigjmp_buf.
22600 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
22601 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
22602 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
22603 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
22604 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
22605 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
22606 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
22607 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
22608 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
22609 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
22610 Likewise.
22611 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
22612 Likewise.
22613 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
22614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
22615 Likewise.
22616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
22617 Likewise.
22618 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
22619 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
22620 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
22621 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
22622 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
22623 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
22624 Likewise.
22625 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
22626 Likewise.
22627 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
22628 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
22629 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
22630
58c4a161
JM
226312017-11-07 Joseph Myers <joseph@codesourcery.com>
22632
3683b423
JM
22633 * include/float.h
22634 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22635 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
22636 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22637 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
22638 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22639 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
22640 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22641 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
22642 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22643 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
22644 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22645 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
22646 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22647 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
22648 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22649 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
22650 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22651 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
22652 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22653 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
22654 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22655 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
22656 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22657 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
22658 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22659 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
22660 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22661 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
22662 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22663 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
22664 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22665 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
22666 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22667 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
22668 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22669 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
22670 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22671 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
22672 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22673 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
22674 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22675 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
22676 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22677 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
22678 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22679 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
22680 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22681 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
22682 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22683 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
22684 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22685 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
22686 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22687 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
22688 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22689 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
22690 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22691 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
22692 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22693 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
22694 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22695 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
22696 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22697 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
22698 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22699 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
22700 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22701 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
22702 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22703 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
22704 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22705 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
22706 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22707 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
22708 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22709 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
22710 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22711 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
22712 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22713 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
22714 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22715 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
22716 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22717 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
22718 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22719 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
22720 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
22721 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
22722
58c4a161
JM
22723 * stdlib/tst-strtod.h (F16): New macro.
22724 (F32): Likewise.
22725 (F64): Likewise.
22726 (F32X): Likewise.
22727 (F64X): Likewise.
22728 (F128X): Likewise.
22729 (IF_FLOAT16): Likewise.
22730 (IF_FLOAT32): Likewise.
22731 (IF_FLOAT64): Likewise.
22732 (IF_FLOAT32X): Likewise.
22733 (IF_FLOAT64X): Likewise.
22734 (IF_FLOAT128X): Likewise.
22735 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
22736 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
22737 (STRTOD_TEST_FOREACH): Likewise.
22738 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
22739 (CHOOSE_f64): Likewise.
22740 (CHOOSE_f32x): Likewise.
22741 (CHOOSE_f64x): Likewise.
22742
feda96a1
AS
227432017-11-07 Andreas Schwab <schwab@suse.de>
22744
22745 * nptl/Makefile (tests-internal): Remove tst-typesizes.
22746
1bd0cbb8
MF
227472017-11-07 Mike FABIAN <mfabian@redhat.com>
22748
22749 [BZ #22403]
22750 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
22751 to be escaped.
22752 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
22753 to be escaped.
22754
363e4519 227552017-11-07 Claude Paroz <claude@2xlibre.net>
d8301314
CP
22756
22757 [BZ #22403]
22758 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
22759 to be escaped.
22760 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
22761 to be escaped.
22762 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
22763 to be escaped.
22764
dff91cd4
AZ
227652017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22766
06be6368
AZ
22767 [BZ #22298]
22768 * nptl/allocatestack.c (allocate_stack): Check if
22769 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
22770 __PTHREAD_MUTEX_HAVE_PREV is defined.
22771 * nptl/descr.h (pthread): Likewise.
22772 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
22773 Likewise.
22774 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
22775 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
22776 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
22777 * sysdeps/nptl/bits/thread-shared-types.h
22778 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
22779 defines.
22780 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
22781 of __WORDSIZE for internal layout.
22782 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
22783 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
22784 instead of __WORDSIZE whether to use an union for __spins and __list
22785 fields.
22786 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
22787 case.
22788 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
22789 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
22790 defines.
22791 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
22792 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22793 Likewise.
22794 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
22795 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22796 Likewise.
22797 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
22798 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22799 Likewise.
22800 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
22801 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22802 Likewise.
22803 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
22804 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22805 Likewise.
22806 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
22807 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22808 Likewise.
22809 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
22810 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22811 Likewise.
22812 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
22813 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22814 Likewise.
22815 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
22816 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22817 Likewise.
22818 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
22819 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22820 Likewise.
22821 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
22822 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22823 Likewise.
22824 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
22825 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22826 Likewise.
22827 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
22828 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22829 Likewise.
22830 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
22831 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22832 Likewise.
22833
72b3c6ee
AZ
22834 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
22835 New macros.
22836 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
22837 checks for expected input type size.
22838 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
22839 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
22840 Likewise.
22841 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
22842 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
22843 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
22844 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
22845 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
22846 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
22847 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
22848 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
22849 superflous runtime assert check.
22850 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
22851 Likewise.
22852 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
22853 Likewise.
22854 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
22855 Likewise.
22856 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
22857 Likewise.
22858 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
22859 Likewise.
22860 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
22861 Likewise.
22862 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
22863 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
22864 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
22865 Likewise.
22866 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
22867 Likewise.
22868 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
22869 Likewise.
22870 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
22871 Likewise.
22872 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
22873 Likewise.
22874 * nptl/pthread_attr_setinheritsched.c
22875 (__pthread_attr_setinheritsched): Likewise.
22876 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
22877 Likewise.
22878 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
22879 Likewise.
22880 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
22881 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
22882 __old_pthread_attr_setstack): Likewise.
22883 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
22884 Likewise.
22885 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
22886 Likewise.
22887 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
22888 Likewise.
22889 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
22890 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
22891 Likewise.
22892 * nptl/tst-typesizes.c: Remove file.
22893
dff91cd4
AZ
22894 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
22895 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
22896 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
22897 checks for internal pthread_mutex_t offsets.
22898 * sysdeps/aarch64/nptl/pthread-offsets.h
22899 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
22900 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
22901 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
22902 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
22903 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
22904 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
22905 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
22906 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
22907 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
22908 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
22909 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
22910 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
22911 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
22912 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
22913 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
22914 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
22915 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
22916 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
22917
b7fc95f8
FW
229182017-11-07 Florian Weimer <fweimer@redhat.com>
22919
22920 * bits/mman-linux.h: Move ...
22921 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
22922 comment.
22923 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
22924 outdated comment.
22925
6b860364
RS
229262017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22927
22928 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
22929 Redefine STRNLEN as __strnlen_power8.
22930
802c1f16
AZ
229312017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22932
d83da3a4
AZ
22933 * signal/sighold.c (sighold): Optimize implementation.
22934
6a4235f1
AZ
22935 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
22936 __NR_rt_sigqueueinfo.
22937
8b0e795a
AZ
22938 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
22939 __sigtimedwait.
22940 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
22941 assume __NR_rt_sigtimedwait.
22942 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
22943 and add LIBC_CANCEL_HANDLED for cancellation marking.
22944 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
22945
a1a638dd
AZ
22946 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
22947 (sysdeps_routines): Add memchr_noneon.
22948 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
22949 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
22950 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
22951 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
22952 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
22953 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
22954 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
22955
802c1f16
AZ
22956 * sysdeps/arm/arm-ifunc.h: New file.
22957 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
22958 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
22959 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
22960 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
22961 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
22962 (__memcpy_neon): Avoid create hidden alias.
22963 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
22964 (__memcpy_vfp): Likewise.
22965 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
22966 (sysdep_routines): Add memcpy_arm.
22967 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
22968
abcb584d
L
229692017-11-06 H.J. Lu <hongjiu.lu@intel.com>
22970
22971 [BZ #22362]
22972 * Makerules (make-link-multidir): New.
22973 * config.make.in (multidir): New.
22974 * configure.ac (libc_cv_multidir): New. AC_SUBST.
22975 * configure: Regenerated.
22976 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
22977 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
22978 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
22979 New target.
22980
4e2dff67
JM
229812017-11-06 Joseph Myers <joseph@codesourcery.com>
22982
22983 [BZ #22402]
22984 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
22985 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
22986
a1c7cd3c
MF
229872017-11-04 Mike FABIAN <mfabian@redhat.com>
22988
22989 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
22990 to be escaped.
22991
b9af29c0
FW
229922017-11-04 Florian Weimer <fweimer@redhat.com>
22993
22994 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
22995
4ca70e1a
JM
229962017-11-03 Joseph Myers <joseph@codesourcery.com>
22997
22998 * math/math.h [__HAVE_DISTINCT_FLOAT16
22999 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
23000 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
23001 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
23002 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
23003 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
23004 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
23005 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23006 (__MATH_TG_F32): New macro.
23007 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23008 (__MATH_TG_F64X): Likewise.
23009 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
23010 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
23011
ba0e6668
DL
230122017-11-03 Dmitry V. Levin <ldv@altlinux.org>
23013
23014 * po/de.po: Update translations.
23015 * po/ru.po: Likewise.
23016
bc18a6d3
FW
230172017-11-03 Florian Weimer <fweimer@redhat.com>
23018
23019 * manual/filesys.texi (Hard Links): Document linkat.
23020
97255170
JM
230212017-11-03 Joseph Myers <joseph@codesourcery.com>
23022
86ec4865
JM
23023 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
23024 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
23025 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
23026 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
23027 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
23028 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
23029 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
23030 the same as _Float128.
23031 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
23032 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
23033 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
23034
97255170
JM
23035 * stdlib/stdlib.h
23036 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
23037 Declare.
23038 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
23039 Likewise.
23040 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
23041 Likewise.
23042 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23043 (strtof32x): Likewise.
23044 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23045 (strtof64x): Likewise.
23046 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23047 (strtof128x): Likewise.
23048 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23049 (strfromf16): Likewise.
23050 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23051 (strfromf32): Likewise.
23052 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23053 (strfromf64): Likewise.
23054 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23055 (strfromf32x): Likewise.
23056 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23057 (strfromf64x): Likewise.
23058 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23059 (strfromf128x): Likewise.
23060 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
23061 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
23062 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
23063 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
23064 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
23065 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
23066
6d58ce5e
RH
230672017-11-03 Richard Henderson <rth@twiddle.net>
23068
23069 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
23070
659ca267
SN
230712017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23072
23073 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
23074
94d2f0af
SN
230752017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23076
23077 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
23078 DT_TLSDESC_GOT initialization.
23079 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
23080 (_dl_tlsdesc_resolve_hold): Likewise.
23081 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
23082 (_dl_tlsdesc_resolve_hold): Likewise.
23083 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
23084 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
23085
28e1ddf3
SN
230862017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23087
23088 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
23089
0ca3d1d6
SN
230902017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23091
23092 [BZ #18572]
23093 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
23094 non-lazily for R_ARM_TLS_DESC.
23095
2c1d4e5f
SN
230962017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23097
23098 [BZ #17078]
23099 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
23100 R_ARM_TLS_DESC case.
23101 (elf_machine_lazy_rel): Remove the prelink check.
23102
91c5a366
SN
231032017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23104
23105 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
23106 DT_TLSDESC_GOT initialization.
23107 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
23108 (_dl_tlsdesc_resolve_rela): Likewise.
23109 (_dl_tlsdesc_resolve_hold): Likewise.
23110 (_dl_tlsdesc_undefweak): Remove ldar.
23111 (_dl_tlsdesc_dynamic): Likewise.
23112 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
23113 (_dl_tlsdesc_resolve_rela): Likewise.
23114 (_dl_tlsdesc_resolve_hold): Likewise.
23115 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
23116 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
23117 (_dl_tlsdesc_resolve_rela): Likewise.
23118 (_dl_tlsdesc_resolve_hold): Likewise.
23119
b7cf203b
SN
231202017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23121
23122 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
23123 binding and initialization non-lazily for R_AARCH64_TLSDESC.
23124
0cc5b022
SN
231252017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23126
23127 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
23128 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23129
43ddff2e
JM
231302017-11-02 Joseph Myers <joseph@codesourcery.com>
23131
23132 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
23133 Declare.
23134 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
23135 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
23136 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
23137 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
23138 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
23139 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
23140 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
23141 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
23142 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
23143 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
23144 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
23145
5baac970
MF
231462017-11-02 Mike FABIAN <mfabian@redhat.com>
23147
23148 [BZ #22382]
23149 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
23150 * localedata/locales/tpi_PG: Add standard header.
23151
ef11081f
FW
231522017-11-02 Florian Weimer <fweimer@redhat.com>
23153
23154 test-errno-linux: quotactl can fail with EPERM in containers.
23155 * sysdeps/unix/sysv/linux/test-errno-linux.c
23156 (LIST, LIST_FORWARD): New macros.
23157 (check_error_in_list): New function.
23158 (test_wrp_rv): Accept list of permitted error codes.
23159 (test_wrp_rv2): Remove.
23160 (test_wrp): Call test_wrp_rv with list of error codes.
23161 (test_wrp2): Accept list of error codes.
23162 (do_test): Adjust. Allow EPERM for quotactl.
23163
d10b132b
FW
231642017-11-02 Florian Weimer <fweimer@redhat.com>
23165
23166 * stdio-common/bug16.c (do_test): Use array_length.
23167 * stdio-common/errlist.c (_sys_nerr): Likewise.
23168 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
23169 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
23170 * stdio-common/psiginfo.c (psiginfo): Use array_length.
23171 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
23172 (do_test): Use array_length.
23173 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
23174 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
23175 * stdio-common/tst-printf-round.c (do_test): Likewise.
23176 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
23177 (CHECK): Use array_length.
23178 * stdio-common/tstdiomisc.c (t3, F): Likewise.
23179 * stdio-common/tstscanf.c (main): Likewise.
23180 * stdio-common/vfprintf.c (process_string_arg): Likewise.
23181
c94a5688
FW
231822017-11-02 Florian Weimer <fweimer@redhat.com>
23183
23184 Add array_length and array_end macros.
23185 * include/array_length.h: New file.
23186
2fac6a6c
FW
231872017-11-02 Florian Weimer <fweimer@redhat.com>
23188
23189 [BZ #22332]
23190 * posix/tst-glob-tilde.c (do_noescape): New variable.
23191 (one_test): Process it.
23192 (do_test): Set do_noescape. Add unescaping test case.
23193
2f1b212e
JM
231942017-11-01 Joseph Myers <joseph@codesourcery.com>
23195
260fbd0a
JM
23196 * math/complex.h
23197 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
23198 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
23199 with appropriate macros defined and undefined.
23200 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
23201 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23202 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
23203 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23204 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
23205 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23206 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
23207 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23208 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
23209 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
23210
2f1b212e
JM
23211 * math/complex.h
23212 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
23213 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
23214 that for long double. Do not condition define and undefine of
23215 _Mdouble_complex_ on [__CFLOAT128].
23216
95b93c6e
L
232172017-11-01 H.J. Lu <hongjiu.lu@intel.com>
23218
23219 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
23220 of <sysdeps/generic/sysdep.h>.
23221 (ALIGNARG): Removed.
23222 (ASM_SIZE_DIRECTIVE): Likewise.
23223 (ENTRY): Likewise.
23224 (END): Likewise.
23225 (ENTRY_CHK): Likewise.
23226 (END_CHK): Likewise.
23227 (syscall_error): Likewise.
23228 (mcount): Likewise.
23229 (PSEUDO_END): Likewise.
23230 (L): Likewise.
23231 (atom_text_section): Likewise.
23232 * sysdeps/x86/sysdep.h: New file.
23233 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
23234 of <sysdeps/generic/sysdep.h>.
23235 (ALIGNARG): Removed.
23236 (ASM_SIZE_DIRECTIVE): Likewise.
23237 (ENTRY): Likewise.
23238 (END): Likewise.
23239 (ENTRY_CHK): Likewise.
23240 (END_CHK): Likewise.
23241 (syscall_error): Likewise.
23242 (mcount): Likewise.
23243 (PSEUDO_END): Likewise.
23244 (L): Likewise.
23245 (atom_text_section): Likewise.
23246
1bb36539
RL
232472017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
23248
23249 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
23250 category of LC_CTYPE set to "i18n:2012".
23251 * localedata/locales/i18n_ctype: Regenerate.
23252
067f5d97 232532017-10-31 Yury Norov <ynorov@caviumnetworks.com>
e8681faa 23254
87bbc4cf
YN
23255 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
23256 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
23257 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
23258 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
23259
e8681faa
YN
23260 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
23261 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
23262 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
23263 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
23264
540af6e2
JM
232652017-10-31 Joseph Myers <joseph@codesourcery.com>
23266
43e66283
JM
23267 * math/complex.h
23268 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
23269 New macro.
23270 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
23271 Likewise.
23272 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
23273 Likewise.
23274 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23275 (CMPLXF32X): Likewise.
23276 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23277 (CMPLXF64X): Likewise.
23278 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23279 (CMPLXF128X): Likewise.
23280
540af6e2
JM
23281 * math/math.h
23282 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
23283 (__MATH_EVAL_FMT2): Define to add 0.0f.
23284
58af72b4
AM
232852017-10-31 Alan Modra <amodra@gmail.com>
23286
23287 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
23288 include sysdep.h.
23289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
23290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
23291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
23292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
23293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
23294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
23295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
23296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
23297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
23298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
23299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
23300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
23301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
23302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
23303 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
23304 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
23305 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
23306 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
23307 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
23308 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
23309 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
23310 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
23311 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
23312 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
23313 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
23314 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
23315 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
23316 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
23317 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
23318 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
23319 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
23320 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
23321 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
23322 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
23323 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
23324 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
23325 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
23326 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
23327 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
23328 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
23329 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
23330 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
23331 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
23332 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
23333 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
23334 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
23335 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
23336 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
23337 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
23338 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
23339 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
23340 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
23341 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
23342 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
23343 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
23344 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
23345 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
23346 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
23347 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
23348 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
23349 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
23350 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
23351 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
23352 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
23353 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
23354 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
23355 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
23356 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
23357 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
23358
23359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
23360 include sysdep.h and math_ldbl_opt.h.
23361
23362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
23363 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
23364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
23365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
23366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
23367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
23368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
23369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
23370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
23371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
23372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
23373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
23374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
23375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
23376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
23377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
23378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
23379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
23380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
23381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
23382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
23383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
23384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
23385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
23386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
23387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
23388
112f30b3
AM
233892017-10-31 Alan Modra <amodra@gmail.com>
23390
23391 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
23392 string/strncase_l.c, not string/strncase.c.
23393 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
23394 (libc_hidden_def): Redefine.
23395
e9e7eced
AM
233962017-10-31 Alan Modra <amodra@gmail.com>
23397
23398 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
23399 (__STRCMP, STRCMP, __strcasecmp_l): Define.
23400 (__strcasecmp): Don't define.
23401
f7b465cf
AM
234022017-10-31 Alan Modra <amodra@gmail.com>
23403
23404 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
23405 IS_IN (libc).
23406 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
23407 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
23408 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
23409
d46b09f9
AM
234102017-10-31 Alan Modra <amodra@gmail.com>
23411
23412 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
23413 USE_AS_STPNCPY.
23414
e9b8e194
AM
234152017-10-31 Alan Modra <amodra@gmail.com>
23416
23417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
23418 Redefine only when SHARED.
23419
eda162dd
JM
234202017-10-30 Joseph Myers <joseph@codesourcery.com>
23421
b61afe8c
JM
23422 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
23423 Include <bits/math-finite.h> with appropriate macros defined and
23424 undefined.
23425 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
23426 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
23427 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
23428 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
23429 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
23430
eda162dd
JM
23431 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
23432 [!_Mlong_double_] (_Mlong_double_): Likewise.
23433 [!_Mfloat16_] (_Mfloat16_): Likewise.
23434 [!_Mfloat32_] (_Mfloat32_): Likewise.
23435 [!_Mfloat64_] (_Mfloat64_): Likewise.
23436 [!_Mfloat128_] (_Mfloat128_): Likewise.
23437 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
23438 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
23439 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
23440 (_Mdouble_): Define without indirection through those macros.
23441 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
23442 [!_Mfloat128_] (_Mfloat128_): Likewise.
23443 [_Mlong_double_] (_Mlong_double_): Likewise.
23444 (_Mdouble_): Define without indirection through those macros.
23445 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
23446 not add -D_Mlong_double_=double.
23447 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
23448 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
23449
4ad5106e
L
234502017-10-30 H.J. Lu <hongjiu.lu@intel.com>
23451
23452 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
23453
fe326df7
L
234542017-10-30 H.J. Lu <hongjiu.lu@intel.com>
23455
23456 * sysdeps/x86/libc-start.c: Reformat.
23457
c5cc4514
L
234582017-10-30 H.J. Lu <hongjiu.lu@intel.com>
23459
23460 [BZ #22353]
23461 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
23462 (1): Renamed to ...
23463 (L(Src0)): This.
23464 (L(Src1)): New.
23465 (L(Src2)): Likewise.
23466 (L(1)): Renamed to ...
23467 (L(Src3)): This.
23468
ce12269f
JM
234692017-10-30 Joseph Myers <joseph@codesourcery.com>
23470
23471 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
23472 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
23473 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
23474 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
23475 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
23476 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
23477 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
23478 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
23479 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
23480 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
23481 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
23482 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
23483 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
23484 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
23485 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
23486 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
23487 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
23488 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
23489 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
23490 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
23491 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
23492 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
23493 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
23494 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
23495 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
23496 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
23497 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
23498 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
23499 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
23500 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
23501 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
23502 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
23503 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
23504 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
23505 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
23506 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
23507 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
23508 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
23509 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
23510 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
23511 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
23512 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
23513 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
23514 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
23515 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
23516 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
23517 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
23518 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
23519 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
23520 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
23521 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
23522 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
23523 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
23524 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
23525 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
23526 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
23527 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
23528 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
23529 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
23530 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
23531 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
23532 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
23533 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
23534 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
23535 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
23536 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
23537
4484b9e2
FW
235382017-10-30 Florian Weimer <fweimer@redhat.com>
23539
23540 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
23541 always defined.
23542 * io/tst-mkdirat.c (do_test): Likewise.
23543 * io/tst-mkfifoat.c (do_test): Likewise.
23544 * io/tst-mknodat.c (do_test): Likewise.
23545 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
23546 * locale/programs/locale.c (select_dirs): Likewise.
23547 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
23548 * posix/bug-glob2.c (my_readdir): Likewise.
23549 * posix/tst-dir.c (main): Likewise.
23550 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
23551 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
23552
68fe16dd
FW
235532017-10-30 Florian Weimer <fweimer@redhat.com>
23554
23555 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
23556 just __USE_GNU.
23557
dadf23f0
FW
235582017-10-30 Florian Weimer <fweimer@redhat.com>
23559
23560 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
23561 Convert to support/test-driver.c.
23562 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
23563 New macro parameters.
23564 (PRINTF): Remove macro. Use test_verbose conditionals instead.
23565 * posix/tst-gnuglob.c: New file.
23566 * posix/tst-gnuglob64.c: Likewise.
23567 * posix/Makefile (tests): Add tst-gnuglob64.
23568
363e4519 235692017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
fbcecc08
MF
23570
23571 [BZ #19485]
23572 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
23573 and use a better translation for March in “mon”.
23574 * localedata/locales/csb_PL: Use more ASCII to improve the
23575 readability of the source.
23576
b110af82
MF
235772017-10-30 Mike FABIAN <mfabian@redhat.com>
23578
23579 [BZ #13953]
23580 * localedata/locales/km_KH: Use ASCII as much
23581 as possible for better readability of the source and
23582 remove useless comments.
23583 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
23584 was commented out and apparently wrong anyway because it was
23585 using Lao characters. If Buddhist era should be used
23586 for km_KH, a native speaker should write the correct formaat
23587 for Khmer.
23588 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
23589 (According to CLDR, the first weekday for Cambodia is Sunday).
23590 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
23591 (These were using Lao characters which must be wrong. If we get
23592 the correct data from a native speaker, we could add it back, until
23593 then it is better not to have name_mr and name_mrs at all than
23594 having it wrong).
23595
f301e533
RL
235962017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
23597
23598 * locale/loadlocale.c: Correct size of
23599 _nl_value_type_LC_<category> arrays.
23600
7e9d7073
JM
236012017-10-27 Joseph Myers <joseph@codesourcery.com>
23602
23603 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
23604 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
23605 with appropriate macros defined and undefined.
23606 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
23607 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
23608 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
23609 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
23610 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
23611
63d3b468
L
236122017-10-27 H.J. Lu <hongjiu.lu@intel.com>
23613
23614 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
23615 "-O2 -march=i586".
23616
a4cc02c7
MF
236172017-10-27 Mike FABIAN <mfabian@redhat.com>
23618
23619 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
23620 with lowercase letters to make it agree with CLDR.
23621
1e5971ec
MF
236222017-10-27 Mike FABIAN <mfabian@redhat.com>
23623
23624 [BZ #15260]
23625 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
23626 first letters of yesstr and nostr in yesexpr and noexpr,
23627 not for the full words.
23628 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
23629 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
23630 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
23631 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
23632 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
23633 first letters of yesstr and nostr in yesexpr and noexpr,
23634 until now only English was matched in yesexpr and noexpr.
23635 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
23636 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
23637 fil but not for tl. As tl and fil are very similar, using fil
23638 is probably better than using English.
23639
363e4519 236402017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
bc5fc7de
MF
23641
23642 [BZ #21706]
23643 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
23644 in yesstr and nostr.
23645
5d220788
JM
236462017-10-26 Joseph Myers <joseph@codesourcery.com>
23647
ecc7da5b
JM
23648 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
23649 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
23650 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
23651 Likewise.
23652 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
23653 Likewise.
23654 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
23655 Likewise.
23656 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
23657 Likewise.
23658 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23659 (SNANF128X): Likewise.
23660
5d220788
JM
23661 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
23662 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
23663 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23664 (HUGE_VAL_F32): Likewise.
23665 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23666 (HUGE_VAL_F64): Likewise.
23667 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23668 (HUGE_VAL_F32X): Likewise.
23669 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23670 (HUGE_VAL_F64X): Likewise.
23671 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23672 (HUGE_VAL_F128X): Likewise.
23673
363e4519 236742017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
67ad7163
TV
23675
23676 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
23677 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
23678 for the br_FR locale.
23679
363e4519 236802017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
408dff7e
TV
23681
23682 [BZ #21706]
23683 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
23684
337ff3c5
CD
236852017-10-25 Carlos O'Donell <carlos@redhat.com>
23686
02eec681
CD
23687 * locale/programs/record-status.h: Define globals, and function
23688 prototypes. Move function bodies...
23689 * locale/programs/record-status.c: ... to here. New file.
23690 * iconv/Makefile (iconv_prog-modules): Add record-status.
23691 * locale/Makefile (lib-modules): Likewise.
23692 * iconv/iconv_prog.c: Remove verbose.
23693 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
23694 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
23695 record a warning about ASCII compatibility.
23696 * locale/programs/ld-monetary.c (monetary_finish): If
23697 warn_int_curr_symbol is true then record a warning about the symbol
23698 not being in our ISO 4217 list.
23699 * locale/programs/locale.c: Include record-status.h. Remove verbose.
23700 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
23701 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
23702 (OPT_NO_WARN): Define.
23703 (OPT_WARN): Define.
23704 (options): Add entry for --no-warnings, and --warnings.
23705 (set_warnings): New function to enable/disable warnings.
23706 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
23707 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
23708 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
23709 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
23710 Pass flags to generate_locale.
23711 (generate_locale): Accept new flag argument and pass it to localedef
23712 invocation.
23713 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
23714 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
23715
56fa555a
CD
23716 * localedata/Makefile (test-input-data): Use full file name.
23717 * localedata/da_DK.in: Rename to...
23718 * localedata/da_DK.ISO-8859-1.in: ...this.
23719 * localedata/de_DE.in: Rename to...
23720 * localedata/de_DE.ISO-8859-1.in: ...this.
23721 * localedata/en_US.in: Rename to...
23722 * localedata/en_US.ISO-8859-1.in: ...this.
23723 * localedata/fr_FR.in: Rename to...
23724 * localedata/fr_FR.UTF-8.in: ... this.
23725 * localedata/hr_HR.in: Rename to...
23726 * localedata/hr_HR.ISO-8859-2.in: ...this.
23727 * localedata/hu_HU.in: Rename to...
23728 * localedata/hu_HU.UTF-8.in: ...this.
23729 * localedata/si_LK.in: Rename to...
23730 * localedata/si_LK.UTF-8.in: ...this.
23731 * localedata/sv_SE.in: Rename to...
23732 * localedata/sv_SE.ISO-8859-1.in: ...this.
23733 * localedata/tr_TR.in: Rename to...
23734 * localedata/tr_TR.UTF-8.in: ...this.
23735 * localedata/uk_UA.in: Rename to...
23736 * localedata/uk_UA.UTF-8.in: ...this.
23737 * localedata/sort-test.sh: Test file is locale name with the
23738 suffix.
23739
337ff3c5
CD
23740 * localedata/unicode-gen/Makefile (check_i18n): Rename to
23741 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
23742 file.
23743 * localedata/locales/i18n_ctype: Regenerate.
23744 * localedata/locales/tr_TR: Likewise.
23745 * localedata/locales/translit_circle: Likewise.
23746 * localedata/locales/translit_cjk_compat: Likewise.
23747 * localedata/locales/translit_combining: Likewise.
23748 * localedata/locales/translit_compat: Likewise.
23749 * localedata/locales/translit_font: Likewise.
23750 * localedata/locales/translit_fraction: Likewise.
23751
63da5cd4
RS
237522017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23753
23754 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
23755 lxvd2x/stxvd2x with lvx/stvx.
23756 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
23757
a122dbfb
L
237582017-10-25 H.J. Lu <hongjiu.lu@intel.com>
23759
23760 * include/alloc_buffer.h: Replace "if if " with "if " in
23761 comments.
23762 * sysdeps/mips/memcpy.S: Likkewise.
23763 * sysdeps/mips/memset.S: Likewise.
23764 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
23765 Likewise.
23766 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
23767 Likewise.
23768 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
23769 Likewise.
23770
9be7530c
MF
237712017-10-25 Mike FABIAN <mfabian@redhat.com>
23772
23773 [BZ #15261]
23774 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
23775 yesexpr and noexpr.
23776 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
23777 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
23778 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
23779 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
23780 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
23781 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
23782 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
23783
6ccbf6ff
MF
237842017-10-25 Mike FABIAN <mfabian@redhat.com>
23785
23786 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
23787 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
23788 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
23789 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
23790 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
23791 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
23792 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
23793 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
23794 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
23795 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
23796 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
23797 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
23798
58b1a7ea
MF
237992017-10-25 Mike FABIAN <mfabian@redhat.com>
23800
23801 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
23802 as possible for better readability of the source.
23803 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
23804 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
23805 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
23806 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
23807 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
23808 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
23809 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
23810 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
23811 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
23812 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
23813 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
23814 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
23815 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
23816 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
23817 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
23818 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
23819 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
23820 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
23821 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
23822 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
23823 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
23824 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
23825 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
23826 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
23827 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
23828 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
23829 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
23830 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
23831 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
23832 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
23833 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
23834 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
23835 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
23836 * localedata/locales/en_US (LC_MESSAGES): Likewise.
23837 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
23838 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
23839 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
23840 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
23841 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
23842 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
23843 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
23844 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
23845 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
23846 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
23847 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
23848 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
23849 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
23850 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
23851 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
23852 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
23853 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
23854 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
23855 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
23856 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
23857 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
23858 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
23859 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
23860 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
23861 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
23862 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
23863 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
23864 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
23865 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
23866 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
23867 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
23868 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
23869 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
23870 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
23871 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
23872 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
23873 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
23874 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
23875 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
23876 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
23877 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
23878 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
23879 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
23880 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
23881 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
23882 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
23883 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
23884 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
23885 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
23886 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
23887 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
23888 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
23889 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
23890 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
23891 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
23892 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
23893 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
23894 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
23895 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
23896 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
23897 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
23898 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
23899 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
23900 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
23901 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
23902 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
23903 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
23904 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
23905 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
23906 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
23907 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
23908 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
23909 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
23910 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
23911 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
23912 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
23913 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
23914 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
23915 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
23916 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
23917 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
23918 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
23919 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
23920 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
23921 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
23922 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
23923 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
23924 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
23925 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
23926 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
23927 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
23928 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
23929 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
23930 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
23931 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
23932 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
23933 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
23934 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
23935 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
23936 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
23937 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
23938 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
23939 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
23940 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
23941 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
23942 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
23943 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
23944 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
23945 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
23946 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
23947 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
23948 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
23949 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
23950 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
23951 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
23952 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
23953 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
23954 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
23955 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
23956 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
23957 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
23958 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
23959 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
23960 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
23961 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
23962 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
23963 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
23964 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
23965 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
23966 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
23967 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
23968 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
23969 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
23970 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
23971 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
23972 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
23973 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
23974 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
23975 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
23976 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
23977
17e78edb
MF
239782017-10-25 Mike FABIAN <mfabian@redhat.com>
23979
23980 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
23981 (Use first letters of yesstr and nostr correctly instead of using
23982 full words).
23983
74e7284f
MF
239842017-10-25 Mike FABIAN <mfabian@redhat.com>
23985
23986 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
23987 (Use first letters of yesstr and nostr correctly).
23988
b41a0ff1
MF
239892017-10-25 Mike FABIAN <mfabian@redhat.com>
23990
23991 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
23992 also check for the first characters of yesstr and nostr.
23993 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
23994 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
23995
d971f380
MF
239962017-10-25 Mike FABIAN <mfabian@redhat.com>
23997
23998 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
23999 also check for Chinese characters.
24000
effc9e1d
MF
240012017-10-25 Mike FABIAN <mfabian@redhat.com>
24002
24003 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
24004 match also for the contents of yesstr and nostr. As the first letter
24005 of yesstr and nostr is equal, checking only for the first letter
24006 is not enough.
24007
10320881
MF
240082017-10-25 Mike FABIAN <mfabian@redhat.com>
24009
24010 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
24011 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
24012
d8682a15
MF
240132017-10-25 Mike FABIAN <mfabian@redhat.com>
24014
24015 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
24016 of main contributor.
24017
1bfb86ae
MF
240182017-10-25 Mike FABIAN <mfabian@redhat.com>
24019
24020 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
24021 instead of using English.
24022
da33d60b
MF
240232017-10-25 Mike FABIAN <mfabian@redhat.com>
24024
24025 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
24026 by including the first letters of nostr and yesexpr in the regexp.
24027 Also make it more readable by using ASCII where possible.
24028
725bbb3e
MF
240292017-10-25 Mike FABIAN <mfabian@redhat.com>
24030
24031 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
24032 the first letter of nostr in the regexp. It agrees with CLDR now.
24033 Also make it more readable by using ASCII where possible.
24034
fe043d8a
MF
240352017-10-24 Mike FABIAN <mfabian@redhat.com>
24036
24037 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
24038 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
24039 these strings contain a U+17D6 (which somewhat looks like a colon)
24040 instead of a real colon to separate the full words for “yes”
24041 and “no” from the single letter responses.
24042
360a8df3
MF
240432017-10-24 Mike FABIAN <mfabian@redhat.com>
24044
24045 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
24046 it agree with CLDR (include the first letter of yesstr).
24047 Also make it more readable by using ASCII where possible.
24048
bab7b6b0
MF
240492017-10-24 Mike FABIAN <mfabian@redhat.com>
24050
24051 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
24052 and improve yesexpr and noexpr. The yesstr and nostr apparently
24053 came from CLDR. And CLDR has a bug there: these strings contain
24054 a U+0903 (which looks like a colon) instead of a real colon
24055 to separate the full words for “yes” and “no” from the single
24056 letter responses.
24057
3e79f758
MF
240582017-10-24 Mike FABIAN <mfabian@redhat.com>
24059
24060 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
24061 letters of the full yesstr and nostr in yesexpr and noexpr.
24062
4960c879
MF
240632017-10-24 Mike FABIAN <mfabian@redhat.com>
24064
24065 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
24066 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
24067 * localedata/locales/an_ES: Make source more readable by using ASCII
24068 where possible.
24069
b06a054f
MF
240702017-10-24 Mike FABIAN <mfabian@redhat.com>
24071
24072 [BZ #20952]
24073 * localedata/locales/yuw_PG: New file.
24074 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
24075 * locale/iso-639.def: Add Yau (Uruwa).
24076
905a7725
WD
240772017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
24078
24079 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
24080
3f6bb8a3
WD
240812017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
24082
24083 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
24084 (__libc_realloc): Likewise.
24085 (_mid_memalign): Likewise.
24086 (__libc_calloc): Likewise.
24087
1d479c8c
MF
240882017-10-23 Mike FABIAN <mfabian@redhat.com>
24089
24090 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
24091 by adding the generic +1 and -0 as in all other locales.
24092 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
24093 day names and make it more readable by using ASCII where possible.
24094
91c3985c
JM
240952017-10-24 Joseph Myers <joseph@codesourcery.com>
24096
24097 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
24098 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
24099
aa95a241
AZ
241002017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24101
24102 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
24103 WNOHANG in waitpid call.
24104
db9bab09
SP
241052017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
24106
a2e0a7f1
SP
24107 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
24108 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
24109
db9bab09
SP
24110 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
24111 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
24112 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
24113 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
24114 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
24115 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
24116 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
24117 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
24118 variables.
24119
5062680c
MC
241202017-10-23 Michael Collison <michael.collison@arm.com>
24121
24122 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
24123 with __builtin_sqrt.
24124 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
24125 with __builtin_sqrtf.
24126 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
24127 with __builtin_ceil.
24128 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
24129 with __builtin_ceilf.
24130 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
24131 with __builtin_floor.
24132 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
24133 with __builtin_floorf.
24134 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
24135 with __builtin_fma.
24136 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
24137 with __builtin_fmaf.
24138 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
24139 with __builtin_fmax.
24140 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
24141 with __builtin_fmaxf.
24142 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
24143 with __builtin_fmin.
24144 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
24145 with __builtin_fminf.
24146 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
24147 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
24148 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
24149 with builtin_rint and conversion to int.
24150 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
24151 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
24152 with builtin_llround.
24153 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
24154 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
24155 with builtin_rint and conversion to long int.
24156 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
24157 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
24158 with builtin_lround.
24159 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
24160 with builtin_lroundf.
24161 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
24162 statements with __builtin_nearbyint.
24163 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
24164 statements with __builtin_nearbyintf.
24165 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
24166 with __builtin_rint.
24167 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
24168 with __builtin_rintf.
24169 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
24170 with __builtin_round.
24171 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
24172 with __builtin_roundf.
24173 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
24174 with __builtin_trunc.
24175 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
24176 with __builtin_truncf.
be080b6c
SN
24177 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
24178 and s_l[l]round[f].c too.
5062680c 24179
174935af
AM
241802017-10-23 Alan Modra <amodra@gmail.com>
24181
24182 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
24183 Adjust stack after restoring regs. Add missing LR cfi_restore.
24184
750a0e49
AM
241852017-10-23 Alan Modra <amodra@gmail.com>
24186
24187 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
24188 Move LR save and frame setup/teardown and LR restore to
24189 immediately around memset call. Provide cfi.
24190
5313581c
L
241912017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24192
24193 * sysdeps/i386/fpu/e_powf.S: Removed.
24194 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
24195 * sysdeps/i386/fpu/w_powf.c: Likewise.
24196 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
24197 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24198 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24199 Add e_powf-sse2.
24200 (CFLAGS-e_powf-sse2.c): New.
24201 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
24202 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
24203
6089a3ee
L
242042017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24205
24206 * sysdeps/i386/fpu/e_log2f.S: Removed.
24207 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
24208 * sysdeps/i386/fpu/w_log2f.c: Likewise.
24209 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
24210 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24211 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24212 Add e_log2f-sse2.
24213 (CFLAGS-e_log2f-sse2.c): New.
24214 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
24215 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
24216
80bb5935
L
242172017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24218
24219 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24220 Add e_powf-fma.
24221 (CFLAGS-e_powf-fma.c): New.
24222 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
24223 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
24224
5c7adbd8
L
242252017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24226
24227 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24228 Add e_log2f-fma.
24229 (CFLAGS-e_log2f-fma.c): New.
24230 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
24231 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
24232
0ccc7153
L
242332017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24234
24235 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24236 Add e_logf-fma.
24237 (CFLAGS-e_logf-fma.c): New.
24238 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
24239 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
24240
fe596486
L
242412017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24242
24243 * sysdeps/i386/fpu/e_logf.S: Removed.
24244 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
24245 * sysdeps/i386/fpu/w_logf.c: Likewise.
24246 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
24247 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
24248 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24249 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24250 Add e_logf-sse2.
24251 (CFLAGS-e_logf-sse2.c): New.
24252 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
24253 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
24254
7eda65f6
L
242552017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24256
24257 * sysdeps/i386/fpu/e_exp2f.S: Removed.
24258 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
24259 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
24260 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24261 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24262 Add e_exp2f-sse2.
24263 (CFLAGS-e_exp2f-sse2.c): New.
24264 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
24265 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
24266
5d15c969
L
242672017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24268
24269 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24270 Add e_exp2f-fma.
24271 (CFLAGS-e_exp2f-fma.c): New.
24272 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
24273 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
24274
b2f6137e
L
242752017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24276
24277 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
24278 * sysdeps/i386/fpu/e_expf.S: Likewise.
24279 * sysdeps/i386/fpu/math_errf.c: Likewise.
24280 * sysdeps/i386/fpu/w_expf.c: Likewise.
24281 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
24282 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24283 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
24284 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
24285 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24286 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
24287 Remove e_expf-ia32.
24288 (CFLAGS-e_expf-sse2.c): New.
24289 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
24290 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
24291
e1f59beb
L
242922017-10-22 H.J. Lu <hongjiu.lu@intel.com>
24293
24294 * sysdeps/x86_64/fpu/e_expf.S: Removed.
24295 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
24296 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
24297 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
24298 e_expf.c.
24299 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
24300 New.
24301 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
24302 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
24303 Renamed to ...
24304 (__redirect_expf): This.
24305 (SYMBOL_NAME): Changed to expf.
24306 (__ieee754_expf): Renamed to ...
24307 (__expf): This.
24308 (__GI___expf): This.
24309 (__ieee754_expf): Add strong_alias.
24310 (__expf_finite): Likewise.
24311 (__expf): New.
24312 Include <sysdeps/ieee754/flt-32/e_expf.c>.
24313
363e4519 243142017-10-22 Paul Eggert <eggert@cs.ucla.edu>
a159b53f
PE
24315
24316 [BZ #22332]
24317 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
24318 unescaping.
24319
e80fc1fc
FW
243202017-10-21 Florian Weimer <fweimer@redhat.com>
24321
24322 * posix/Makefile (tests): Add tst-glob-tilde.
24323 (tests-special): Add tst-glob-tilde-mem.out
24324 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
24325 (tst-glob-tilde-mem.out): Add mtrace check.
24326 * posix/tst-glob-tilde.c: New file.
24327
797ba44b
JM
243282017-10-20 Joseph Myers <joseph@codesourcery.com>
24329
24330 * bits/floatn-common.h: New file.
24331 * math/Makefile (headers): Add bits/floatn-common.h.
24332 * bits/floatn.h: Include <bits/floatn-common.h>.
24333 * sysdeps/ia64/bits/floatn.h: Likewise.
24334 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
24335 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
24336 * sysdeps/powerpc/bits/floatn.h: Likewise.
24337 * sysdeps/x86/bits/floatn.h: Likewise.
24338
fe05e1cb
AZ
243392017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24340
8f6f5362
AZ
24341 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
24342 indicates whether compiler emits an warning for alias for
24343 functions with incompatible types.
24344
fe05e1cb
AZ
24345 [BZ #22273]
24346 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
24347 the auxiliary process is terminated by a signal before calling _exit
24348 or execve.
24349
b52b0d79
L
243502017-10-20 H.J. Lu <hongjiu.lu@intel.com>
24351
24352 [BZ #21265]
24353 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
24354 New.
24355 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
24356 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
24357 and bit_arch_XSAVEC_Usable if needed.
24358 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
24359 and bit_arch_Use_dl_runtime_resolve_opt.
24360 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
24361 Removed.
24362 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
24363 (bit_arch_Prefer_No_AVX512): Updated.
24364 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
24365 (bit_arch_XSAVEC_Usable): New.
24366 (STATE_SAVE_OFFSET): Likewise.
24367 (STATE_SAVE_MASK): Likewise.
24368 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
24369 (cpu_features): Add xsave_state_size and xsave_state_full_size.
24370 (index_arch_Use_dl_runtime_resolve_opt): Removed.
24371 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
24372 (index_arch_XSAVEC_Usable): New.
24373 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
24374 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
24375 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
24376 is enabled.
24377 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
24378 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
24379 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
24380 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
24381 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
24382 _dl_runtime_resolve_xsavec.
24383 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
24384 Removed.
24385 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
24386 instead of VEC_SIZE.
24387 (REGISTER_SAVE_BND0): Removed.
24388 (REGISTER_SAVE_BND1): Likewise.
24389 (REGISTER_SAVE_BND3): Likewise.
24390 (REGISTER_SAVE_RAX): Always defined to 0.
24391 (VMOV): Removed.
24392 (_dl_runtime_resolve_avx): Likewise.
24393 (_dl_runtime_resolve_avx_slow): Likewise.
24394 (_dl_runtime_resolve_avx_opt): Likewise.
24395 (_dl_runtime_resolve_avx512): Likewise.
24396 (_dl_runtime_resolve_avx512_opt): Likewise.
24397 (_dl_runtime_resolve_sse): Likewise.
24398 (_dl_runtime_resolve_sse_vex): Likewise.
24399 (USE_FXSAVE): New.
24400 (_dl_runtime_resolve_fxsave): Likewise.
24401 (USE_XSAVE): Likewise.
24402 (_dl_runtime_resolve_xsave): Likewise.
24403 (USE_XSAVEC): Likewise.
24404 (_dl_runtime_resolve_xsavec): Likewise.
24405 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
24406 Removed.
24407 (_dl_runtime_resolve_avx512_opt): Likewise.
24408 (_dl_runtime_resolve_avx): Likewise.
24409 (_dl_runtime_resolve_avx_opt): Likewise.
24410 (_dl_runtime_resolve_sse): Likewise.
24411 (_dl_runtime_resolve_sse_vex): Likewise.
24412 (_dl_runtime_resolve_fxsave): New.
24413 (_dl_runtime_resolve_xsave): Likewise.
24414 (_dl_runtime_resolve_xsavec): Likewise.
24415
363e4519 244162017-10-20 Paul Eggert <eggert@cs.ucla.edu>
c369d66e
PE
24417
24418 [BZ #22320]
24419 CVE-2017-15670
24420 * posix/glob.c (__glob): Fix one-byte overflow.
24421
6d43de4b
WD
244222017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
24423
24424 * malloc/malloc.c (sysdep-cancel.h): Add include.
24425
a15d53e2
WD
244262017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
24427
24428 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
24429
b9a558e7
WH
244302017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
24431
24432 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
24433 (tests): Remove $(objpfx)ga_test depdendency.
24434 * resolv/ga_test.c: Remove file.
24435
b6b08b8e
MF
244362017-10-20 Mike FABIAN <mfabian@redhat.com>
24437
24438 [BZ #18812]
24439 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
24440 * localedata/locales/kab_DZ: New file.
24441
9ba7e810
L
244422017-10-20 H.J. Lu <hongjiu.lu@intel.com>
24443
24444 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
24445 _dl_relocate_static_pie instead of _dl_start to compute load
24446 address in static PIE.
24447
4027a4fd
L
244482017-10-20 H.J. Lu <hongjiu.lu@intel.com>
24449
24450 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
24451
2f9314b4
MF
244522017-10-20 Mike FABIAN <mfabian@redhat.com>
24453
24454 [BZ #13605]
24455 * localedata/SUPPORTED: Add shn_MM/UTF-8.
24456 * localedata/locales/shn_MM: New file.
24457
63b4baa4
FW
244582017-10-20 Florian Weimer <fweimer@redhat.com>
24459
24460 [BZ #22321]
24461 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
24462 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
24463 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
24464 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
24465 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
24466 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
24467
95ccb619
L
244682017-10-19 H.J. Lu <hongjiu.lu@intel.com>
24469
24470 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24471
37bb78cb
JM
244722017-10-19 Joseph Myers <joseph@codesourcery.com>
24473
76f2ed92
JM
24474 * sysdeps/mips/ieee754/bits/floatn.h: New file.
24475
37bb78cb
JM
24476 [BZ #22322]
24477 * sysdeps/mips/bits/long-double.h: Move to ....
24478 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
24479
d74e6f6c
WD
244802017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
24481
24482 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
24483
363e4519 244842017-10-19 Valery Reznic <valery_reznic@yahoo.com>
4d916f0f
L
24485 H.J. Lu <hongjiu.lu@intel.com>
24486
24487 [BZ #22299]
24488 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
24489 GLRO(dl_platform) to NULL.
24490 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
24491 (modules-names): Add tst-platformmod-1 and
24492 x86_64/tst-platformmod-2.
24493 (CFLAGS-tst-platform-1.c): New.
24494 (CFLAGS-tst-platformmod-1.c): Likewise.
24495 (CFLAGS-tst-platformmod-2.c): Likewise.
24496 (LDFLAGS-tst-platformmod-2.so): Likewise.
24497 ($(objpfx)tst-platform-1): Likewise.
24498 ($(objpfx)tst-platform-1.out): Likewise.
24499 (tst-platform-1-ENV): Likewise.
24500 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
24501 * sysdeps/x86_64/tst-platform-1.c: New file.
24502 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
24503 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
24504
4b0fa403
MF
245052017-10-19 Mike FABIAN <mfabian@redhat.com>
24506
24507 [BZ #13994]
24508 * locale/iso-639.def: Add Karbi.
24509 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
24510 * localedata/locales/mjw_IN: New file.
24511
81325b12
JM
245122017-10-18 Joseph Myers <joseph@codesourcery.com>
24513
24514 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
24515 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
24516 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
24517 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
24518 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
24519 (libm_alias_ldouble_other_r): Also create _Float128 alias.
24520 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
24521 <bits/floatn.h>.
24522 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
24523 (libm_alias_ldouble_other_r): Also create _Float128 alias.
24524 * manual/math.texi (Mathematics): Document additional architecture
24525 support for _Float128.
24526 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
24527 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24528 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24529 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24530 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24531 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24532 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24533 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24534 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24535 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24536 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24537 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24538 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24539 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24540 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24541
a68ba2f3
SN
245422017-10-18 Renlin Li <renlin.li@arm.com>
24543
24544 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
24545 _DYNAMIC symbol to calculate load address.
24546
346729f6
PC
245472017-10-18 Paul A. Clarke <pc@us.ibm.com>
24548
24549 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
24550 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
24551 summary bits.
24552 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
24553 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
24554
508b1e71
MF
245552017-10-18 Mike FABIAN <mfabian@redhat.com>
24556
24557 [BZ #16777]
24558 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
24559 and improve readability by using more ASCII.
24560 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
24561 and improve readability by using more ASCII.
24562
2c2245b9
WD
245632017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
24564
24565 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
24566 not all targets support atomics on bool.
24567
13c92696
JM
245682017-10-17 Joseph Myers <joseph@codesourcery.com>
24569
24570 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
24571 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
24572 __f128.
24573 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
24574 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
24575 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
24576 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
24577 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
24578 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
24579
71d85045
AZ
245802017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24581
24582 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
24583 defines.
24584
3381be5c
WD
245852017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24586
24587 [BZ #22159]
24588 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
24589 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
24590 (do_check_remalloced_chunk): Fix build bug.
24591 (do_check_malloc_state): Add assert that checks arena->top.
24592 (malloc_consolidate): Remove initialization.
24593 (int_mallinfo): Remove call to malloc_consolidate.
24594 (__libc_mallopt): Clarify why malloc_consolidate is needed.
24595
e956075a
WD
245962017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24597
24598 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
24599 (have_fastchunks): Remove.
24600 (clear_fastchunks): Remove.
24601 (set_fastchunks): Remove.
24602 (malloc_state): Add have_fastchunks.
24603 (malloc_init_state): Use have_fastchunks.
24604 (do_check_malloc_state): Remove incorrect invariant checks.
24605 (_int_malloc): Use have_fastchunks.
24606 (_int_free): Likewise.
24607 (malloc_consolidate): Likewise.
24608
e4dd4ace
WD
246092017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
24610
24611 * malloc/malloc.c (tcache_put): Inline.
24612 (tcache_get): Inline.
24613
5bf58bc7
AJ
246142017-10-17 Jordi Mallach <jordi@gnu.org>
24615
24616 Aurelien Jarno <aurelien@aurel32.net>
24617 [BZ #2522]
24618 * localedata/locales/ca_ES@valencia: New file.
24619 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
24620
386e1c26
RN
246212017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
24622
24623 [BZ #22296]
24624 * math/math.h: Let signbit use the builtin in C++ mode with gcc
24625 < 6.x
24626
4e17c78e
AZ
246272017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24628
3d265601
AZ
24629 * scripts/build-many-glibcs.py (Context.add_all_configs):
24630 Add arm-linux-gnueabihf multiarch extra_glibcs.
24631
4e17c78e
AZ
24632 * sysdeps/generic/ifunc-init.h: New file.
24633 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
24634
56a752ab
MF
246352017-10-17 Mike FABIAN <mfabian@redhat.com>
24636
24637 [BZ #22019]
24638 * localedata/locales/el_GR: Set n_cs_precedes to 0.
24639 * localedata/locales/el_CY: copy "el_GR" because it is identical.
24640 * stdlib/tst-strfmon_l.c: adapt test case.
24641
c38a4bfd
JM
246422017-10-16 Joseph Myers <joseph@codesourcery.com>
24643
24644 * sysdeps/generic/float128-abi.h: New file.
24645 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
24646 non-__prefixed symbols to ....
24647 * math/Versions: ... here. Include <float128-abi.h>.
24648 * stdlib/Versions ... and here. Include <float128-abi.h>
24649
76009b26
FW
246502017-10-16 Florian Weimer <fweimer@redhat.com>
24651
24652 * version.h (VERSION): Switch to ".9000" as the development
24653 version suffix.
24654
7ece6cd5
FW
246552017-10-16 Florian Weimer <fweimer@redhat.com>
24656
24657 [BZ #22050]
24658 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
24659 compat_symbol_reference to access non-default version.
24660
d8287b36
FW
246612017-10-16 Florian Weimer <fweimer@redhat.com>
24662
24663 * malloc/Makefile (others-extras): Set to mcheck-init.o.
24664
3480ddc4
CD
246652017-10-16 Carlos O'Donell <carlos@redhat.com>
24666
24667 * include/shlib-compat.h (compat_symbol_reference): Update
24668 comment.
24669
02010e79
JM
246702017-10-16 Joseph Myers <joseph@codesourcery.com>
24671
596f7013
JM
24672 * math/Makefile (test-types): Add
24673 $(type-float128-$(float128-alias-fcts)).
24674 * math/test-float128.h (TYPE_STR): Define conditional on
24675 [FLT128_MANT_DIG == LDBL_MANT_DIG].
24676 (ULP_IDX): Likewise.
24677 (ULP_I_IDX): Likewise.
24678
02010e79
JM
24679 * stdlib/strtold.c: Include <bits/floatn.h>
24680 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
24681 and later undefine as macro. Define as weak alias if
24682 [!USE_WIDE_CHAR].
24683 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
24684 and later undefine as macro. Define as weak alias if
24685 [USE_WIDE_CHAR].
24686 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
24687 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
24688 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24689 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
24690 Define and later undefine as macro. Define as weak alias if
24691 [USE_WIDE_CHAR].
24692 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
24693 <bits/floatn.h>.
24694 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
24695 Define and later undefine as macro. Define as weak alias if
24696 [!USE_WIDE_CHAR].
24697 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
24698 Define and later undefine as macro. Define as weak alias if
24699 [USE_WIDE_CHAR].
24700
ea91c315
CD
247012017-10-15 Carlos O'Donell <carlos@redhat.com>
24702
24703 * localedata/collate-test.c (allocate_arrays): Don't use \n in
24704 record_verbose messages.
24705
8e57c943
L
247062017-10-15 H.J. Lu <hongjiu.lu@intel.com>
24707
24708 [BZ #22052]
24709 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
24710 to silence -O3 -Wall warning with GCC 7.
24711
a4777c46
L
247122017-10-14 H.J. Lu <hongjiu.lu@intel.com>
24713
24714 * Makeconfig (+link-static-before-libc): Use the first of
24715 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
24716 * gmon/Makefile (tests): Add tst-gmon-static.
24717 (tests-static): Likewise.
24718 (CFLAGS-tst-gmon-static.c): New.
24719 (CRT-tst-gmon-static): Likewise.
24720 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
24721 (tst-gmon-static-ENV): Likewise.
24722 (tests-special): Likewise.
24723 ($(objpfx)tst-gmon-static.out): Likewise.
24724 (clean-tst-gmon-static-data): Likewise.
24725 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
24726 * gmon/tst-gmon-static-gprof.sh: New file.
24727 * gmon/tst-gmon-static.c: Likewise.
24728
bc3821bb
CD
247292017-10-13 Carlos O'Donell <carlos@redhat.com>
24730
24731 [BZ #22295]
24732 * locale/programs/linereader.c (get_string): Don't warn on
24733 non-symbolic character.
24734
a3e23a2c
CD
24735 [BZ #22294]
24736 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
24737 int_curr_symbol.
24738
f16491eb
CD
24739 [BZ #22292]
24740 * locale/programs/record-status.h: New file
24741 * locale/programs/locale.c: Add comment.
24742 * locale/programs/charmap-dir.c: Don't include error.h.
24743 (charmap_opendir): Use record_error.
24744 * locale/programs/charmap.c: Don't include error.h.
24745 (charmap_read): Use record_error, and record_warning.
24746 (parse_charmap): Likewise.
24747 * locale/programs/ld-address.c: Don't include error.h.
24748 (address_finish): Use record_error, and record_warning.
24749 * locale/programs/ld-collate.c: Don't include error.h.
24750 (collate_finish): Use record_error, and record_error_at_line.
24751 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
24752 (ctype_class_new): Likewise.
24753 (ctype_map_new): Likewise.
24754 (set_one_default): Likewise.
24755 (set_class_defaults): Likewise.
24756 (translit_flatten): Likewise.
24757 (allocate_arrays): Use record_error, and record_verbose.
24758 * locale/programs/ld-identification.c: Don't include error.h.
24759 (indentation_finish): Use record_error and record_warning.
24760 * locale/programs/ld-measurement.c: Don't include error.h.
24761 (measurement_finish): Use record_error.
24762 * locale/programs/ld-messages.c
24763 (message_finish): Likewise.
24764 * locale/programs/ld-monetary.c
24765 (monetary_finish): Likewise.
24766 * locale/programs/ld-name.c (name_finish): Use record_error
24767 and record_warning.
24768 * locale/programs/ld-numeric.c
24769 (numeric_finish): Use record_error.
24770 * locale/programs/ld-paper.c: Don't include error.h.
24771 (paper_finish): Use record_error.
24772 * locale/programs/ld-telephone.c: Don't include error.h.
24773 (telephone_finish): Use record_error.
24774 * locale/programs/ld-time.c (time_finish): Likewise.
24775 * locale/programs/linereader.h (lr_error): Make inline func.
24776 * locale/programs/localedef.c: Define recorded_warning_count,
24777 and recorded_error_count.
24778 (main): Use record_error. Use recorded_error_count and
24779 recorded_warning_count to issue correct error returns.
24780 (add_to_readlist): Use record_error.
24781 (find_locale): Likewise.
24782 (load_locale): Likewise.
24783 * locale/programs/localedef.h: Remove be_quiet
24784 and WITH_CUR_LOCALE.
24785 * locale/programs/locarchive.c (compare_from_file): Use
24786 record_error.
24787 * locale/programs/locfile.c (write_locale_data): Use
24788 record_error.
24789 * locale/programs/repertoire.c: Dont include error.h.
24790 (repertoire_complain): Use record_error.
24791 * localedata/tst-fmon.sh: Expect failures from localedef.
24792 * localedata/tst-locale.sh: Likewise.
24793 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
24794
8dc8be75
CD
24795 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
24796 (REPORTS): Likewise.
24797 (check): Likewise.
24798 (i18n): Rename to...
24799 (i18n_ctype): ...this.
24800 (i18n-report): Rename to...
24801 (i18n_ctype-report): ...this.
24802 * localedata/locales/i18n_ctype: Regenerate.
24803 * localedata/locales/i18n: copy i18n_ctype.
24804
f8718a9e
JM
248052017-10-13 Joseph Myers <joseph@codesourcery.com>
24806
18c08b96
JM
24807 * stdlib/strfroml.c: Include <bits/floatn.h>.
24808 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
24809 Define before include of <stdlib.h> and undefine afterwards, then
24810 define as weak alias.
24811
f8718a9e
JM
24812 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
24813 Undefine and restore default definition. Use
24814 libm_alias_ldouble_other.
24815
e4f530da
PZ
248162017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
24817
24818 [BZ #22153]
24819 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
24820 in coredumps.
24821
86445888
JC
248222017-10-13 James Clarke <jrtc27@jrtc27.com>
24823
24824 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
24825 Assign sym_map to be map for local symbols, as TLS relocations
24826 use sym_map to determine whether the symbol is defined and to
24827 extract the TLS information.
24828 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
24829 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
24830
179dcdb7
TMQMF
248312017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24832
e8dbd6a3
TMQMF
24833 [BZ #22189]
24834 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
24835 (math_force_eval): Add powerpc version.
24836
179dcdb7
TMQMF
24837 [BZ #22142]
24838 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
24839 -DBL_MAX.
24840 (do_test): Likewise.
24841 * stdio-common/tst-printf.sh: Likewise.
24842 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
24843 ifdef clause in order to set the carry bit right. Replace r0 by
24844 0 without changing the behavior.
24845
7d25d410
JM
248462017-10-13 Joseph Myers <joseph@codesourcery.com>
24847
006e7664
JM
24848 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
24849 <libm-alias-ldouble.h>.
24850 (fabsl): Define using libm_alias_ldouble.
24851 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
24852 <libm-alias-ldouble.h>.
24853 (fabsl): Define using libm_alias_ldouble.
24854
1def91b3
JM
24855 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
24856 Remove conditional code.
24857
7d25d410
JM
24858 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
24859 Rename to __clog10_internal_l.
24860 (__clog10_internal_l): Define aliases using
24861 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
24862 with __clog10.
24863
077ee129
RS
248642017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24865
24866 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
24867 * benchtests/sincosf-inputs: New file.
24868 * benchtests/cosf-inputs: New file.
24869 * benchtests/sinf-inputs: New file.
24870
5ba41de9
SN
248712017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
24872
24873 * posix/tst-spawn.c (do_test): Wait for both children.
24874
d165ca64
L
248752017-10-12 H.J. Lu <hongjiu.lu@intel.com>
24876
24877 [BZ #22284]
24878 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
24879 tests-pie): Add tst-gmon-pie.
24880 (CFLAGS-tst-gmon-pie.c): New.
24881 (CRT-tst-gmon-pie): Likewise.
24882 (tst-gmon-pie-ENV): Likewise.
24883 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
24884 ($(objpfx)tst-gmon-pie.out): Likewise.
24885 (clean-tst-gmon-pie-data): Likewise.
24886 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
24887 * gmon/gmon.c [PIC]: Include <link.h>.
24888 [PIC] (callback): New function.
24889 (write_hist): Add an argument for load address. Subtract load
24890 address from PCs.
24891 (write_call_graph): Likewise.
24892 (write_gmon): Call __dl_iterate_phdr to get load address, pass
24893 it to write_hist and write_call_graph.
7bacdcfc 24894 * gmon/tst-gmon-pie.c: New file.
d165ca64 24895
bc9620d0
JM
248962017-10-11 Joseph Myers <joseph@codesourcery.com>
24897
24898 * math/Makefile (test-types-basic): New variable.
24899 (test-types): Likewise.
24900 (libm-test-support): Use $(test-types) instead of $(types).
24901 (libm-tests-base-normal): Likewise.
24902 (libm-tests-base-finite): Likewise.
24903 (libm-tests-base-inline): Likewise.
24904 (generated): Likewise.
24905 ($(objpfx)libm-test-support-$(t).c): Likewise.
24906 (libm-tests-for-type iterator): Likewise.
24907 (libm-test-support iterator): Likewise.
24908 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
24909 (ulp_idx): Use ULP_IDX.
24910 * math/test-ldouble.h: Include <float.h>.
24911 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
24912 (ULP_IDX): New macro.
24913 (ULP_I_IDX): Likewise.
24914 * math/test-double.h (ULP_IDX): Likewise.
24915 (ULP_I_IDX): Likewise.
24916 * math/test-float.h (ULP_IDX): Likewise.
24917 (ULP_I_IDX): Likewise.
24918 * math/test-float128.h (ULP_IDX): Likewise.
24919 (ULP_I_IDX): Likewise.
24920
09c76a74
AZ
249212017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24922
24923 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
24924 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24925 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24926 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
24927 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24928 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
24929 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
24930 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24931 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24932 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24933 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
24934 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24935 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24936 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24937 (SINGLE_THREAD_BY_GLOBAL): Define.
24938 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24939 Likewise.
24940 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24941 Likewise.
24942 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24943 Likewise.
24944 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24945 Likewise.
24946 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
24947 (SINGLE_THREAD_BY_GLOBAL): Likewise.
24948 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24949 Likewise.
24950
2faa42da
AS
249512017-10-11 Andreas Schwab <schwab@suse.de>
24952
24953 * nis/Makefile (aux): Remove.
24954 * nscd/Makefile (aux): Add nscd_hash.
24955 (nscd-modules): Likewise.
24956 ($(objpfx)nscd): Don't depend on libnsl.
24957 * nscd/nscd_hash.c: New file.
24958 * nscd/nscd_hash.h: Likewise.
24959 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
24960 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
24961 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
24962 instead of <nis/rpcsvc/nis.h>.
24963 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
24964
d8425e11
FW
249652017-10-11 Florian Weimer <fweimer@redhat.com>
24966
24967 [BZ #22078]
24968 Avoid large NSS buffers with many addresses, aliases.
24969 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
24970 using dynarrays and struct alloc_buffer.
24971 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
24972 (tst-nss-files-hosts-multi): Link with -ldl.
24973 * nss/tst-nss-files-hosts-multi.c: New file.
24974
78e806fd
FW
249752017-10-11 Florian Weimer <fweimer@redhat.com>
24976
24977 [BZ #18023]
24978 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
24979 scratch_buffer. Eliminate gotos.
24980
541f19ba
JM
249812017-10-11 Joseph Myers <joseph@codesourcery.com>
24982
0ff64d3a
JM
24983 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
24984 libm_alias_ldouble_other.
24985 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
24986 undefine and redefine.
24987 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
24988 (exp10l): Do not define here.
24989 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
24990 (weak_alias): Undefine and redefine.
24991 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
24992 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
24993 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
24994 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
24995
541f19ba
JM
24996 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
24997 [!__fma] (fma): Define using libm_alias_double.
24998 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
24999 [!__fmaf] (fmaf): Define using libm_alias_float.
25000 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
25001 (fmal): Define using libm_alias_ldouble.
25002
24b6515d
JM
250032017-10-10 Joseph Myers <joseph@codesourcery.com>
25004
25005 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
25006 New macro.
25007 (libm_alias_double_other): Likewise.
25008 (libm_alias_double_r): Use libm_alias_double_other_r.
25009 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
25010 New macro.
25011 (libm_alias_float_other): Likewise.
25012 (libm_alias_float_r): Use libm_alias_float_other_r.
25013 * sysdeps/generic/libm-alias-float128.h
25014 (libm_alias_float128_other_r): New macro.
25015 (libm_alias_float128_other): Likewise.
25016 (libm_alias_float128_r): Use libm_alias_float128_other_r.
25017 * sysdeps/generic/libm-alias-ldouble.h
25018 (libm_alias_ldouble_other_r): New macro.
25019 (libm_alias_ldouble_other): Likewise.
25020 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
25021 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
25022 (libm_alias_double_other_r): New macro.
25023 (libm_alias_double_other): Likewise.
25024 (libm_alias_double_r): Use libm_alias_double_other_r.
25025 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
25026 (libm_alias_ldouble_other_r): New macro.
25027 (libm_alias_ldouble_other): Likewise.
25028 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
25029 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
25030 [!USE_AS_COMPAT]: Use libm_alias_double_other.
25031 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
25032 [!USE_AS_COMPAT]: Use libm_alias_float_other.
25033 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
25034 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
25035 * math/w_exp2f.c: Use libm_alias_float_other.
25036 * math/w_expf.c: Likewise.
25037 * math/w_log2f.c: Likewise.
25038 * math/w_logf.c: Likewise.
25039 * math/w_powf.c: Likewise.
25040 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
25041 [!__exp2f]: Use libm_alias_float_other.
25042 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
25043 [!__expf]: Use libm_alias_float_other.
25044 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
25045 [!__log2f]: Use libm_alias_float_other.
25046 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
25047 [!__logf]: Use libm_alias_float_other.
25048 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
25049 [!__powf]: Use libm_alias_float_other.
25050
8ed70de2
FW
250512017-10-10 Florian Weimer <fweimer@redhat.com>
25052
25053 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
25054 function.
25055 (_nss_files_gethostbyname3_r): Call it.
25056
a8dce619
JM
250572017-10-09 Joseph Myers <joseph@codesourcery.com>
25058
25059 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
25060 error. Remove default definition of declare_mgen_alias.
25061 [!declare_mgen_alias_r]: Likewise.
25062 * sysdeps/generic/math-type-macros-double.h
25063 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
25064 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
25065 (declare_mgen_alias_r): Likewise.
25066 * sysdeps/generic/math-type-macros-float128.h
25067 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
25068 * sysdeps/generic/math-type-macros-ldouble.h
25069 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
25070 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
25071 macro.
25072 (declare_mgen_alias_r_s): Likewise.
25073 (declare_mgen_alias_r): Likewise.
25074 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
25075 (lgamma_r): Define using libm_alias_double_r.
25076 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
25077 (lgammaf_r): Define using libm_alias_float_r.
25078 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
25079 (lgammal_r): Define using libm_alias_ldouble_r.
25080 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
25081 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
25082
bedac136
AZ
250832017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25084
25085 * lib/glob.c (__glob_pattern_type): Remove now-spurious
25086 extern declaration.
25087
c7509db2
JM
250882017-10-09 Joseph Myers <joseph@codesourcery.com>
25089
25090 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
25091
d6c064e9
JW
250922017-10-09 Jonathan Wakely <jwakely@redhat.com>
25093
25094 [BZ #21326]
25095 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
25096 [__cplusplus >= 201103] (__USE_ISOC99): Define.
25097 * math/Makefile (test-math-cxx11): New test.
25098 * math/test-math-cxx11.cc: New file.
25099
98e07420
CB
251002017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
25101
25102 * login/openpty.c (openpty): Close slave pty file descriptor on error.
25103
645ac9aa
CB
25104 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
25105 call to allocate the slave pty file descriptor.
25106
fd3b4e7c
JM
251072017-10-06 Joseph Myers <joseph@codesourcery.com>
25108
f85a176f
JM
25109 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
25110 [!__fma] (fma): Define using libm_alias_double.
25111 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
25112 [!__fma] (fma): Define using libm_alias_double.
25113
fd3b4e7c
JM
25114 * sysdeps/ieee754/float128/float128_private.h: Include
25115 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
25116 (libm_alias_ldouble_r): Undefine and redefine.
25117 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
25118 <libm-alias-ldouble.h>.
25119 (asinhl): Define using libm_alias_ldouble.
25120 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
25121 <libm-alias-ldouble.h>.
25122 (atanl): Define using libm_alias_ldouble.
25123 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
25124 <libm-alias-ldouble.h>.
25125 (cbrtl): Define using libm_alias_ldouble.
25126 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
25127 <libm-alias-ldouble.h>.
25128 (ceill): Define using libm_alias_ldouble.
25129 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
25130 <libm-alias-ldouble.h>.
25131 (copysignl): Define using libm_alias_ldouble.
25132 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
25133 <libm-alias-ldouble.h>.
25134 (cosl): Define using libm_alias_ldouble.
25135 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
25136 <libm-alias-ldouble.h>.
25137 (erfl): Define using libm_alias_ldouble.
25138 (erfcl): Likewise.
25139 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
25140 <libm-alias-ldouble.h>.
25141 (expm1l): Define using libm_alias_ldouble.
25142 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
25143 <libm-alias-ldouble.h>.
25144 (fabsl): Define using libm_alias_ldouble.
25145 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
25146 <libm-alias-ldouble.h>.
25147 (floorl): Define using libm_alias_ldouble.
25148 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
25149 <libm-alias-ldouble.h>.
25150 (fmal): Define using libm_alias_ldouble.
25151 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
25152 <libm-alias-ldouble.h>.
25153 (frexpl): Define using libm_alias_ldouble.
25154 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
25155 libm_alias_ldouble.
25156 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
25157 <libm-alias-ldouble.h>.
25158 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
25159 libm_alias_ldouble.
25160 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
25161 <libm-alias-ldouble.h>.
25162 (getpayloadl): Define using libm_alias_ldouble.
25163 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
25164 <libm-alias-ldouble.h>.
25165 (llrintl): Define using libm_alias_ldouble.
25166 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
25167 <libm-alias-ldouble.h>.
25168 (llroundl): Define using libm_alias_ldouble.
25169 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
25170 <libm-alias-ldouble.h>.
25171 (logbl): Define using libm_alias_ldouble.
25172 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
25173 <libm-alias-ldouble.h>.
25174 (lrintl): Define using libm_alias_ldouble.
25175 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
25176 <libm-alias-ldouble.h>.
25177 (lroundl): Define using libm_alias_ldouble.
25178 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
25179 <libm-alias-ldouble.h>.
25180 (modfl): Define using libm_alias_ldouble.
25181 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
25182 <libm-alias-ldouble.h>.
25183 (nearbyintl): Define using libm_alias_ldouble.
25184 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
25185 <libm-alias-ldouble.h>.
25186 (nextafterl): Define using libm_alias_ldouble.
25187 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
25188 <libm-alias-ldouble.h>.
25189 (nextupl): Define using libm_alias_ldouble.
25190 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
25191 <libm-alias-ldouble.h>.
25192 (remquol): Define using libm_alias_ldouble.
25193 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
25194 <libm-alias-ldouble.h>.
25195 (rintl): Define using libm_alias_ldouble.
25196 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
25197 <libm-alias-ldouble.h>.
25198 (roundevenl): Define using libm_alias_ldouble.
25199 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
25200 <libm-alias-ldouble.h>.
25201 (roundl): Define using libm_alias_ldouble.
25202 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
25203 using libm_alias_ldouble.
25204 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
25205 <libm-alias-ldouble.h>.
25206 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
25207 Define using libm_alias_ldouble.
25208 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
25209 <libm-alias-ldouble.h>.
25210 (sincosl): Define using libm_alias_ldouble.
25211 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
25212 <libm-alias-ldouble.h>.
25213 (sinl): Define using libm_alias_ldouble.
25214 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
25215 <libm-alias-ldouble.h>.
25216 (tanhl): Define using libm_alias_ldouble.
25217 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
25218 <libm-alias-ldouble.h>.
25219 (tanl): Define using libm_alias_ldouble.
25220 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
25221 <libm-alias-ldouble.h>.
25222 (totalorderl): Define using libm_alias_ldouble.
25223 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
25224 <libm-alias-ldouble.h>.
25225 (totalordermagl): Define using libm_alias_ldouble.
25226 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
25227 <libm-alias-ldouble.h>.
25228 (truncl): Define using libm_alias_ldouble.
25229 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
25230 libm_alias_ldouble.
25231 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
25232 libm_alias_ldouble.
25233 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
25234 <libm-alias-ldouble.h>.
25235 (weak_alias): Do not undefine and redefine.
25236 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25237 (copysignl): Define with long_double_symbol only if [IS_IN
25238 (libc)].
25239 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
25240 <libm-alias-ldouble.h>.
25241 (weak_alias): Do not undefine and redefine.
25242 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25243 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
25244 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
25245 <libm-alias-ldouble.h>.
25246 (weak_alias): Do not undefine and redefine.
25247 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
25248 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
25249 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
25250 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
25251 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
25252 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
25253 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
25254 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
25255 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
25256 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
25257 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
25258 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
25259 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
25260 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
25261 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
25262 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
25263 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
25264 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
25265 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
25266 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
25267 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
25268 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
25269 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
25270 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
25271 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
25272 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
25273
1e26d351
CD
252742017-10-06 Carlos O'Donell <carlos@redhat.com>
25275
25276 [BZ #22111]
25277 * malloc/malloc.c (tcache_shutting_down): Use bool type.
25278 (tcache_thread_freeres): Set tcache_shutting_down before
25279 freeing the tcache.
25280 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
25281 * malloc/tst-malloc-tcache-leak.c: New file.
25282
d1386762
RS
252832017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25284
25285 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
25286 back to powerpc32 file.
25287 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
25288 (memrchr): Add __memrchr_power8 to ifunc list.
25289 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
25290 extra bytes for unaligned inputs.
25291
6dff1983
JM
252922017-10-06 Joseph Myers <joseph@codesourcery.com>
25293
25294 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
25295 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
25296 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
25297 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
25298 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
25299
86f9568a
JM
253002017-10-05 Joseph Myers <joseph@codesourcery.com>
25301
0db0b931
JM
25302 * sysdeps/arm/libm-test-ulps: Update.
25303
86f9568a
JM
25304 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
25305 <libm-alias-ldouble.h>.
25306 (asinhl): Define using libm_alias_ldouble.
25307 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
25308 <libm-alias-ldouble.h>.
25309 (cbrtl): Define using libm_alias_ldouble.
25310 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
25311 <libm-alias-ldouble.h>.
25312 (copysignl): Define using libm_alias_ldouble.
25313 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
25314 <libm-alias-ldouble.h>.
25315 (cosl): Define using libm_alias_ldouble.
25316 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
25317 <libm-alias-ldouble.h>.
25318 (erfl): Define using libm_alias_ldouble.
25319 (erfcl): Likewise.
25320 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
25321 <libm-alias-ldouble.h>.
25322 (fmal): Define using libm_alias_ldouble.
25323 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
25324 <libm-alias-ldouble.h>.
25325 (frexpl): Define using libm_alias_ldouble.
25326 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
25327 libm_alias_ldouble.
25328 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
25329 <libm-alias-ldouble.h>.
25330 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
25331 libm_alias_ldouble.
25332 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
25333 <libm-alias-ldouble.h>.
25334 (getpayloadl): Define using libm_alias_ldouble.
25335 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
25336 <libm-alias-ldouble.h>.
25337 (llrintl): Define using libm_alias_ldouble.
25338 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
25339 <libm-alias-ldouble.h>.
25340 (llroundl): Define using libm_alias_ldouble.
25341 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
25342 <libm-alias-ldouble.h>.
25343 (lrintl): Define using libm_alias_ldouble.
25344 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
25345 <libm-alias-ldouble.h>.
25346 (lroundl): Define using libm_alias_ldouble.
25347 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
25348 <libm-alias-ldouble.h>.
25349 (modfl): Define using libm_alias_ldouble.
25350 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
25351 <libm-alias-ldouble.h>.
25352 (nextupl): Define using libm_alias_ldouble.
25353 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
25354 <libm-alias-ldouble.h>.
25355 (remquol): Define using libm_alias_ldouble.
25356 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
25357 <libm-alias-ldouble.h>.
25358 (roundevenl): Define using libm_alias_ldouble.
25359 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
25360 <libm-alias-ldouble.h>.
25361 (roundl): Define using libm_alias_ldouble.
25362 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
25363 using libm_alias_ldouble.
25364 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
25365 <libm-alias-ldouble.h>.
25366 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
25367 <libm-alias-ldouble.h>.
25368 (setpayloadsigl): Define using libm_alias_ldouble.
25369 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
25370 <libm-alias-ldouble.h>.
25371 (sincosl): Define using libm_alias_ldouble.
25372 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
25373 <libm-alias-ldouble.h>.
25374 (sinl): Define using libm_alias_ldouble.
25375 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
25376 <libm-alias-ldouble.h>.
25377 (tanhl): Define using libm_alias_ldouble.
25378 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
25379 <libm-alias-ldouble.h>.
25380 (tanl): Define using libm_alias_ldouble.
25381 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
25382 <libm-alias-ldouble.h>.
25383 (totalorderl): Define using libm_alias_ldouble.
25384 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
25385 <libm-alias-ldouble.h>.
25386 (totalordermagl): Define using libm_alias_ldouble.
25387 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
25388 libm_alias_ldouble.
25389 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
25390 libm_alias_ldouble.
25391
9ec87fd2
SP
253922017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
25393
dd5bc7f1
SP
25394 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
25395 memmove_falkor.
25396 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
25397 (__libc_ifunc_impl_list): Likewise.
25398 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
25399 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
25400
5bfb0404
SP
25401 * benchtests/bench-memmove-walk.c: New file.
25402 * benchtests/Makefile (string-benchset): Add it.
25403
36bb8edf
SP
25404 * benchtests/bench-memset-walk.c: New file.
25405 * benchtests/Makefile (string-benchset): Add it.
25406
9ec87fd2
SP
25407 * benchtests/bench-memcpy-walk.c: New file.
25408 * benchtests/Makefile (string-benchset): Add it.
25409
1e9522c6
FW
254102017-10-05 Florian Weimer <fweimer@redhat.com>
25411
25412 nscd: Eliminate compilation time dependency in the build output.
25413 * nscd/nscd_stat.c (STATDATA_VERSION)
25414 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
25415 (STATDATA_VERSION_FULL): New macro definitions.
25416 (compilation): Remove.
25417 (struct statdata): Adjust version member.
25418 (send_stats): Set version from STATDATA_VERSION_FULL.
25419 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
25420
644d3857
JM
254212017-10-05 Joseph Myers <joseph@codesourcery.com>
25422
25423 * configure.ac (--enable-add-ons): Remove option.
25424 (machine): Do not mention add-ons in comment.
25425 (LIBC_PRECONFIGURE): Likewise.
25426 (add_ons): Remove variable and sanity checks and logic to locate
25427 add-ons.
25428 (add_ons_automatic): Remove variable.
25429 (configured_add_ons): Likewise.
25430 (add_ons_sfx): Likewise.
25431 (add_ons_pfx): Likewise.
25432 (add_on_subdirs): Likewise.
25433 (sysnames_add_ons): Likewise. Remove loop over add-ons and
25434 consideration of add-ons in Implies handling.
25435 (sysdeps_add_ons): Likewise.
25436 * configure: Regenerated.
25437 * libidn/configure.ac: Remove.
25438 * libidn/configure: Likewise.
25439 * sysdeps/unix/inet/configure.ac: New file.
25440 * sysdeps/unix/inet/configure: New generated file.
25441 * sysdeps/unix/inet/Subdirs: Add libidn.
25442 * Makeconfig (sysdeps-srcdirs): Remove variable.
25443 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
25444 ($(common-objpfx)config.status): Do not depend on add-on files.
25445 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
25446 comment.
25447 (all-subdirs): Do not include $(add-on-subdirs).
25448 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
25449 * config.make.in (add-ons): Remove variable.
25450 (add-on-subdirs): Likewise.
25451 (sysdeps-add-ons): Likewise.
25452 * manual/Makefile (add-chapters): Remove.
25453 ($(objpfx)texis): Do not depend on $(add-chapters).
25454 (nonexamples): Do not handle $(add-chapters).
25455 (examples): Do not handle $(add-ons).
25456 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
25457 libc-texinfo.sh.
25458 * manual/install.texi (Installation): Do not mention add-ons.
25459 (--enable-add-ons): Do not document configure option.
25460 * INSTALL: Regenerated.
25461 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
25462 * manual/maint.texi (Hierarchy Conventions): Do not mention
25463 add-ons.
25464 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
25465 --enable-add-ons.
25466 * scripts/gen-sorted.awk: Do not handle Subdirs files from
25467 add-ons.
25468 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
25469 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
25470
19f82f35
AS
254712017-10-05 Andreas Schwab <schwab@suse.de>
25472
25473 [BZ #15142]
25474 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
25475 (_IO_flush_all_lockp): Always lock list_all_lock.
25476 (_IO_flush_all_linebuffered): Likewise.
25477 (_IO_unbuffer_all): Likewise.
25478
91e7cf98
FW
254792017-10-05 Florian Weimer <fweimer@redhat.com>
25480
25481 [BZ #15436]
25482 Do not flush stdio streams on abort.
25483 * stdlib/abort.c (fflush): Remove macro definition.
25484 (abort): Remove stages related to stdio flushing.
25485
0c251257
FW
254862017-10-05 Florian Weimer <fweimer@redhat.com>
25487
25488 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
25489
7ea59e3e
SL
254902017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
25491
25492 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
25493
84d0e6f0
FW
254942017-10-05 Florian Weimer <fweimer@redhat.com>
25495
25496 * support/support_format_hostent.c (support_format_hostent): Add
25497 more error information for NETDB_INTERNAL.
25498
ee417882
L
254992017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25500
25501 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
25502 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
25503 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
25504 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
25505 AC_DEFINE if multi-arch is enabled.
25506 * sysdeps/i386/configure: Regenerated.
25507
a67029ff
L
255082017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25509
25510 * Makeconfig (+link-static-before-libc): Use
25511 $(DEFAULT-LDFLAGS-$(@F)).
25512 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
25513 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
25514 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
25515
5dba84b3
L
255162017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25517
25518 * elf/Makefile (tests): Add tst-main1.
25519 (modules-names): Add tst-main1mod.
25520 ($(objpfx)tst-main1): New.
25521 (CRT-tst-main1): Likewise.
25522 (LDFLAGS-tst-main1): Likewise.
25523 (LDLIBS-tst-main1): Likewise.
25524 (tst-main1mod.so-no-z-defs): Likewise.
25525 * elf/tst-main1.c: New file.
25526 * elf/tst-main1mod.c: Likewise.
25527
758f1bfa
L
255282017-10-04 H.J. Lu <hongjiu.lu@intel.com>
25529
25530 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
25531
7e16a5d1
JM
255322017-10-04 Joseph Myers <joseph@codesourcery.com>
25533
25534 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
25535 (fma): Define using libm_alias_double.
25536 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
25537 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
25538 <math_ldbl_opt.h>.
25539 (fmal): Do not define as compat symbol here.
25540 * sysdeps/alpha/fpu/s_fma.c: New file.
25541
db4f87ba
SN
255422017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
25543
25544 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
25545
72d13ed1
JM
255462017-10-04 Joseph Myers <joseph@codesourcery.com>
25547
32d372d5
JM
25548 [BZ #22229]
25549 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
25550 <math_ldbl_opt.h>
25551 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
25552 and libc.
25553 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
25554 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
25555 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
25556 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
25557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25558 Include <math_ldbl_opt.h>
25559 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
25560 and libc.
25561 (compat_symbol): Undefine and redefine.
25562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
25563 <math_ldbl_opt.h>
25564 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
25565 (compat_symbol): Undefine and redefine.
25566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
25567 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
25568 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
25569 GLIBC_2_1 for libm.
25570 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
25571 GLIBC_2.0 copysignl symbol.
25572 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
25573 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
25574
72d13ed1
JM
25575 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
25576
11c4f501
FW
255772017-10-04 Florian Weimer <fweimer@redhat.com>
25578
25579 * scripts/check-local-headers.sh: Ignore nspr4 header file
25580 directory in addition to nspr.
25581
57b4af19
GT
255822017-10-04 Guido Trentalancia <guido@trentalancia.net>
25583
25584 [BZ #17956]
25585 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
25586 * configure: Regenerate.
25587 * crypt/Makefile (nss-cpp-flags): New variable.
25588 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
25589 (CPPFLAGS-md5-crypt.c): Use it.
25590 * scripts/check-local-headers.sh: Ignore nspr header file
25591 directory.
25592
64d1e08e
AS
255932017-10-04 Andreas Schwab <schwab@suse.de>
25594
25595 * nis/Makefile (services): Remove compat.
25596 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
25597 ($(objpfx)libnss_compat.so): Remove rule.
25598 * nis/Versions (libnss_compat): Remove.
25599 * nss/Makefile (services): Add compat.
25600 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
25601 * nss/Versions (libnss_compat): Define.
25602 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
25603 Don't include <rpc/types.h>. Replace bool_t by bool.
25604 * nss/nss_compat/compat-initgroups.c: Likewise.
25605 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
25606 instead of <rpcsrv/ypclnt.h>.
25607 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
25608 yp_get_default_domain.
25609 * nss/nss_compat/compat-pwd.c: Likewise.
25610 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
25611 yp_get_default_domain.
25612 * nss/nss_compat/nisdomain.c: New file.
25613 * nss/nss_compat/nisdomain.h: Likewise.
25614
86c27ade
SN
256152017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
25616
25617 [BZ #22244]
25618 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
25619 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25620
8f8f8ef7
SN
256212017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
25622
25623 [BZ #22243]
25624 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
25625 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
25626
95577475
L
256272017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25628
25629 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
25630 "movl main@GOTOFF(%ebx), %eax".
25631
02d2d892
L
256322017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25633
25634 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
25635 allow undefined _DYNAMIC in PIE libc.a.
25636 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
25637 Likewse.
25638
0c609d19
L
256392017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25640
25641 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
25642 check _DYNAMIC.
25643
c34a19ed
L
256442017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25645
25646 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
25647 check _DYNAMIC.
25648
cdd4155d
L
256492017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25650
25651 * math/test-math-iscanonical.cc (error): Replace bool with int.
25652
4699cb8b
JM
256532017-10-03 Joseph Myers <joseph@codesourcery.com>
25654
d8f619b3
JM
25655 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
25656 (modf): Define using libm_alias_double, only if [!__modf].
25657 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
25658 <libm-alias-double.h>.
25659 (modf): Define using libm_alias_double, only if [!__modf].
25660 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
25661 compat symbol here.
25662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
25663 (weak_alias): Do not undefine and redefine.
25664 (strong_alias): Likewise.
25665 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
25666 (weak_alias): Likewise.
25667 (strong_alias): Likewise.
25668
4699cb8b
JM
25669 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
25670 (logb): Define using libm_alias_double, only if [!__logb].
25671 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
25672 <libm-alias-double.h>.
25673 (logb): Define using libm_alias_double, only if [!__logb].
25674 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
25675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
25676 (weak_alias): Do not undefine and redefine.
25677 (strong_alias): Likewise.
25678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
25679 (weak_alias): Likewise.
25680 (strong_alias): Likewise.
25681
bcc4e4bb
L
256822017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25683
25684 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
25685 Check SHARED instead PIC.
25686
39793865
JM
256872017-10-03 Joseph Myers <joseph@codesourcery.com>
25688
7f1cbdf8
JM
25689 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
25690 [!__fmaf] (fmaf): Define using libm_alias_float.
25691
39793865
JM
25692 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
25693 (frexp): Define using libm_alias_double.
25694 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
25695 <libm-alias-double.h>.
25696 (frexp): Define using libm_alias_double.
25697 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
25698 compat symbol here.
25699
aa0235df
GG
257002017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25701
25702 [BZ #22235]
25703 * math/math.h: Trivial fix for unbalanced parentheses in comment.
25704 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
25705 (CFLAGS-test-math-iscanonical.cc): New variable.
25706 * math/test-math-iscanonical.cc: New file.
25707 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
25708 Provide a C++ implementation based on function overloading,
25709 rather than using __MATH_TG, which uses C-only builtins.
25710 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
25711 Likewise.
25712 * sysdeps/powerpc/powerpc64le/Makefile
25713 (CFLAGS-test-math-iscanonical.cc): New variable.
25714
a1132b5e
JM
257152017-10-03 Joseph Myers <joseph@codesourcery.com>
25716
25717 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
25718 (ceil): Define using libm_alias_double.
25719 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
25720 (floor): Define using libm_alias_double.
25721 * sysdeps/ieee754/dbl-64/s_llround.c: Include
25722 <libm-alias-double.h>.
25723 (llround): Define using libm_alias_double.
25724 * sysdeps/ieee754/dbl-64/s_lround.c: Include
25725 <libm-alias-double.h>.
25726 (lround): Define using libm_alias_double.
25727 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
25728 <libm-alias-double.h>.
25729 (nearbyint): Define using libm_alias_double.
25730 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
25731 <libm-alias-double.h>.
25732 (remquo): Define using libm_alias_double.
25733 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
25734 (rint): Define using libm_alias_double.
25735 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
25736 (round): Define using libm_alias_double.
25737 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
25738 (trunc): Define using libm_alias_double.
25739 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
25740 <libm-alias-double.h>.
25741 (ceil): Define using libm_alias_double.
25742 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
25743 <libm-alias-double.h>.
25744 (floor): Define using libm_alias_double.
25745 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
25746 <libm-alias-double.h>.
25747 (llround): Define using libm_alias_double.
25748 [_LP64] (lround): Likewise.
25749 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
25750 <libm-alias-double.h>.
25751 [!_LP64] (lround): Define using libm_alias_double.
25752 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
25753 <libm-alias-double.h>.
25754 (nearbyint): Define using libm_alias_double.
25755 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
25756 <libm-alias-double.h>.
25757 (remquo): Define using libm_alias_double.
25758 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
25759 <libm-alias-double.h>.
25760 (rint): Define using libm_alias_double.
25761 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
25762 <libm-alias-double.h>.
25763 (round): Define using libm_alias_double.
25764 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
25765 <libm-alias-double.h>.
25766 (trunc): Define using libm_alias_double.
25767 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
25768 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
25769 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
25770 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
25771 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
25772 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
25773 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
25774 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
25775 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
25776
f275f64e
SN
257772017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25778
25779 * math/w_remainder.c: New file.
25780 * math/w_remainderf.c: New file.
25781 * math/w_remainderl.c: New file.
25782
b8818ab5
L
257832017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25784
25785 * elf/rtld.c (BOOTSTRAP_MAP): New.
25786 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
25787 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
25788 Likewise.
25789 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
25790 Likewise.
25791 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
25792 Likewise.
25793
3d1870fa
ST
257942017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
25795
25796 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
25797 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
25798 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
25799 rtld_hidden_data_ver): Define to empty.
25800 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
25801 __assert_perror_fail): Likewise.
25802 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25803 (__rewinddir): Likewise.
25804 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25805 (__profile_frequency): Likewise.
25806 * include/setjmp.h (__sigsetjmp): Likewise.
25807 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
25808 __libc_sigaction): Likewise.
25809 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
25810 not set hidden attribute.
25811 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
25812 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
25813 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
25814 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
25815 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
25816 __fxstatat64): Likewise.
25817 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25818 (__uname): Likewise.
25819 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25820 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
25821 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
25822 (NO_RTLD_HIDDEN): Set.
25823 * sysdeps/mach/hurd/configure: Refresh.
25824 * config.h.in: Refresh.
25825
527cd19c
JM
258262017-10-02 Joseph Myers <joseph@codesourcery.com>
25827
38722448
JM
25828 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
25829 (atan): Define using libm_alias_double.
25830 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
25831 (tan): Define using libm_alias_double.
25832 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
25833 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
25834
527cd19c
JM
25835 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
25836 define as weak alias of __atan. Do not define any aliases if
25837 [__atan].
25838 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
25839 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
25840 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
25841 as weak alias of __tan. Do not define any aliases if [__tan].
25842 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
25843 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
25844 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
25845 __atan.
25846 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
25847 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
25848 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
25849 and define as weak alias of __atan.
25850 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
25851 __atan.
25852 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
25853 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
25854 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
25855 define as weak alias of __tan.
25856
bdc5c592
SN
258572017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25858
25859 * math/w_lgamma.c: New file.
25860 * math/w_lgammaf.c: New file.
25861 * math/w_lgammal.c: New file.
25862
bd4430c2
SN
258632017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25864
25865 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
25866 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
25867 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
25868 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
25869 * sysdeps/ieee754/flt-32/w_logf.c: New file.
25870 * sysdeps/ieee754/flt-32/w_powf.c: New file.
25871 * sysdeps/i386/fpu/w_log2f.c: New file.
25872 * sysdeps/i386/fpu/w_logf.c: New file.
25873 * sysdeps/i386/fpu/w_powf.c: New file.
25874 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
25875 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
25876 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
25877
f7a0b063
SN
258782017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25879 H.J. Lu <hongjiu.lu@intel.com>
25880
25881 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
25882 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
25883 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
25884 * sysdeps/ieee754/flt-32/w_expf.c: New file.
25885 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
25886 the new expf code.
25887 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
25888 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
25889 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
25890 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
25891 * sysdeps/i386/fpu/w_exp2f.c: New file.
25892 * sysdeps/i386/fpu/w_expf.c: New file.
25893 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
25894 * sysdeps/x86_64/fpu/w_expf.c: New file.
25895
72d3d281
SN
258962017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25897
25898 * math/Versions (logf): New libm symbol at GLIBC_2.27.
25899 (log2f): Likewise.
25900 (powf): Likewise.
25901 * math/w_log2f.c: New file.
25902 * math/w_logf.c: New file.
25903 * math/w_powf.c: New file.
25904 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
25905 * math/w_logf_compat.c (__logf_compat): Likewise.
25906 * math/w_powf_compat.c (__powf_compat): Likewise.
25907 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
25908 * sysdeps/ia64/fpu/e_logf.S: Likewise.
25909 * sysdeps/ia64/fpu/e_powf.S: Likewise.
25910 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
25911 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25912 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25913 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25914 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25915 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25916 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25917 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25918 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25919 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25920 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25921 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25923 Likewise.
25924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25925 Likewise.
25926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25927 Likewise.
25928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25929 Likewise.
25930 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25931 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25932 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25933 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25934 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25935 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25936 Likewise.
25937 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25938 Likewise.
25939 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25940 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25941 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25942
59ba2d2b
RS
259432017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25944
25945 * sysdeps/powerpc/powerpc64/multiarch/Makefile
25946 (sysdep_routines): Add memrchr_power8.
25947 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25948 (memrchr): Add __memrchr_power8 to list of memrchr functions.
25949 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
25950 New file.
25951 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
25952 (memrchr): Add __memrchr_power8 to ifunc list.
25953 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
25954
397286ea
L
259552017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25956
25957 [BZ #18822]
25958 * sysdeps/unix/sysv/linux/posix_fadvise64.c
25959 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
25960 libc_hidden_def.
25961 * sysdeps/unix/sysv/linux/posix_fallocate64.c
25962 (__posix_fallocate64_l64): Likewise.
25963
d0a4512b
L
259642017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25965
25966 [BZ #18822]
25967 * sysdeps/unix/sysv/linux/sched_setaffinity.c
25968 (__sched_setaffinity_new): Add libc_hidden_proto and
25969 libc_hidden_def.
25970
c0769f70
L
259712017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25972
25973 [BZ #18822]
25974 * include/glob.h (__glob64): Add libc_hidden_proto.
25975 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
25976 libc_hidden_def.
25977
0e7d5b6e
L
259782017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25979
25980 [BZ #18822]
25981 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
25982 attribute_hidden.
25983
bde06c87
L
259842017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25985
25986 [BZ #18822]
25987 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
25988
fa426590
L
259892017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25990
25991 [BZ #18822]
25992 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
25993 libc_hidden_def.
25994
2f8a05d8
L
259952017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25996
25997 [BZ #18822]
25998 * csu/version.c (__libc_print_version): Add attribute_hidden.
25999
7bfd08ac
L
260002017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26001
26002 [BZ #18822]
26003 * include/libc-internal.h (__init_misc): Add attribute_hidden.
26004
0e1fd06c
L
260052017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26006
26007 [BZ #18822]
26008 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
26009
36e7ae1e
L
260102017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26011
26012 [BZ #18822]
26013 * nscd/nscd_helper.c (__nis_hash): New prototype.
26014
87078544
L
260152017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26016
26017 [BZ #18822]
26018 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
26019 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
26020 libc_hidden_def.
26021 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
26022 * termios/tcgetattr.c (__tcgetattr): Likewise.
26023
dd3121df
L
260242017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26025
26026 [BZ #18822]
26027 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
26028 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
26029 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
26030 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
26031 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
26032
047d1a81
L
260332017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26034
26035 [BZ #18822]
26036 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
26037
fd331b11
L
260382017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26039
26040 [BZ #18822]
26041 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
26042 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
26043
57f859bd
L
260442017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26045
26046 [BZ #18822]
26047 * intl/hash-string.h (__hash_string): Add attribute_hidden.
26048
d1903329
L
260492017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26050
26051 [BZ #18822]
26052 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
26053 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
26054
b4744101
L
260552017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26056
26057 [BZ #18822]
26058 * include/ifreq.h: New file.
26059 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
26060 (__ifreq): Likewise.
26061 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
26062 (__ifreq): Likewise.
26063
43b7dfd1
L
260642017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26065
26066 [BZ #18822]
26067 * include/idna.h: New file.
26068 * inet/getnameinfo.c: Include <idna.h> instead of
26069 <libidn/idna.h>.
26070 (__idna_to_unicode_lzlz): Removed.
26071 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
26072 <libidn/idna.h>.
26073 (__idna_to_ascii_lz): Removed.
26074 (__idna_to_unicode_lzlz): Likewise.
26075
2c0cd8f8
L
260762017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26077
26078 [BZ #18822]
26079 * include/plural-exp.h: New file.
26080 * intl/plural-exp.c: Include <plural-exp.h> instead of
26081 "plural-exp.h".
26082
8369d216
L
260832017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26084
26085 [BZ #18822]
26086 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
26087 "getsourcefilter.h".
26088 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
26089 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
26090 "getsourcefilter.h".
26091 (__get_sol): Removed.
26092
a0aef783
L
260932017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26094
26095 [BZ #18822]
26096 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
26097 to ...
26098 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
26099
3ee8209b
L
261002017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26101
26102 [BZ #18822]
26103 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
26104 attribute_hidden.
26105
6036fc38
L
261062017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26107
26108 [BZ #18822]
26109 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
26110
fe84fed0
L
261112017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26112
26113 [BZ #18822]
26114 * include/search.h (__tdestroy): Add libc_hidden_proto.
26115 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
26116
048dd681
L
261172017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26118
26119 [BZ #18822]
26120 * include/assert.h (__assert_fail_base): Add attribute_hidden.
26121
6e342af6
L
261222017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26123
26124 [BZ #18822]
26125 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
26126 attribute_hidden.
26127
6a088436
L
261282017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26129
26130 [BZ #18822]
26131 * include/signal.h (__kill): Add libc_hidden_proto.
26132 (__sigblock): Likewise.
26133 (__sigprocmask): Likewise.
26134 (__sigaltstack): Likewise.
26135 * signal/kill.c (__kill): Add libc_hidden_def.
26136 * signal/sigblock.c (__sigblock): Likewise.
26137 * signal/sigprocmask.c (__sigprocmask): Likewise.
26138 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
26139 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
26140 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
26141 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
26142 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
26143 Likewise.
26144 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
26145 Likewise.
26146 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
26147 (__sigprocmask): Likewise.
26148 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
26149 Likewise.
26150 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
26151 (__sigprocmask): Likewise.
26152 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
26153 Likewise.
26154
78cf1d74
L
261552017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26156
26157 [BZ #18822]
26158 * include/string.h (__strsep): Add libc_hidden_proto.
26159 * string/strsep.c (__strsep): Add libc_hidden_def.
26160
85b35894
L
261612017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26162
26163 [BZ #18822]
26164 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
26165 attribute_hidden.
26166 (__spawni): Likewise.
26167
225f7eec
L
261682017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26169
26170 [BZ #18822]
26171 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
26172 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
26173 libc_hidden_def.
26174
372fe247
L
261752017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26176
26177 [BZ #18822]
26178 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
26179
9e5ee8b8
L
261802017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26181
26182 [BZ #18822]
26183 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
26184 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
26185 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
26186 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
26187 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
26188 Likewise.
26189 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
26190 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
26191
2ff16592
L
261922017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26193
26194 [BZ #18822]
26195 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
26196 (__dcigettext): Likewise.
26197
b5648377
L
261982017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26199
26200 [BZ #18822]
26201 * include/sys/sysinfo.h (__get_nprocs_conf): Add
26202 libc_hidden_proto.
26203 (__get_nprocs): Likewise.
26204 (__get_phys_pages): Likewise.
26205 (__get_avphys_pages): Likewise.
26206 (__get_child_max): Add attribute_hidden.
26207 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
26208 (__get_nprocs): Likewise.
26209 (__get_phys_pages): Likewise.
26210 (__get_avphys_pages): Likewise.
26211 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
26212 libc_hidden_def.
26213 (__get_nprocs): Likewise.
26214 (__get_phys_pages): Likewise.
26215 (__get_avphys_pages): Likewise.
26216 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
26217 libc_hidden_def.
26218 (__get_nprocs_conf): Likewise.
26219 (__get_phys_pages): Likewise.
26220 (__get_avphys_pages): Likewise.
26221
0389a6aa
L
262222017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26223
26224 [BZ #18822]
26225 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
26226 attribute_hidden.
26227 (__netlink_close): Likewise.
26228 (__netlink_free_handle): Likewise.
26229 (__netlink_request): Likewise.
26230
d48354d8
L
262312017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26232
26233 [BZ #18822]
26234 * include/rpc/rpc.h (__rpc_thread_variables): Add
26235 attribute_hidden.
26236 (__rpc_thread_svc_cleanup): Likewise.
26237 (__rpc_thread_clnt_cleanup): Likewise.
26238 (__rpc_thread_key_cleanup): Likewise.
26239
d6daff12
L
262402017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26241
26242 [BZ #18822]
26243 * include/sys/uio.h (__readv): Add libc_hidden_proto.
26244 (__writev): Likewise.
26245 * misc/readv.c (__readv): Add libc_hidden_def.
26246 * misc/writev.c (__writev): Likewise.
26247 * sysdeps/posix/readv.c (__readv): Likewise.
26248 * sysdeps/posix/writev.c (__writev): Likewise.
26249 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
26250 (__readv): Likewise.
26251 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
26252 (__writev): Likewise.
26253
b68f8620
L
262542017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26255
26256 [BZ #18822]
26257 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
26258 (__regcomp): Add libc_hidden_proto.
26259 (__regexec): Likewise.
26260 (__regfree): Likewise.
26261 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
26262 (__regfree): Likewise.
26263 * posix/regexec.c (__regexec): Likewise.
26264
59c04e67
L
262652017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26266
26267 [BZ #18822]
26268 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
26269 (__getutent): Likewise.
26270 (__getutid): Likewise.
26271 (__getutline): Likewise.
26272 (__pututline): Likewise.
26273 (__getutent_r): Likewise.
26274 (__getutid_r): Likewise.
26275 (__getutline_r): Likewise.
26276 (__utmpname): Add attribute_hidden.
26277 (__setutent): Likewise.
26278 (__endutent): Likewise.
26279 * login/getutent.c (__getutent): Add libc_hidden_def.
26280 * login/getutent_r.c (__getutent_r): Likewise.
26281 (__pututline): Likewise.
26282 * login/getutid.c (__getutid): Likewise.
26283 * login/getutid_r.c (__getutid_r): Likewise.
26284 * login/getutline.c (__getutline): Likewise.
26285 * login/getutline_r.c (__getutline_r): Likewise.
26286 * login/updwtmp.c (__updwtmp): Likewise.
26287
4587a421
L
262882017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26289
26290 [BZ #18822]
26291 * include/dirent.h (__opendir): Always add attribute_hidden.
26292 (__fdopendir): Likewise.
26293 (__closedir): Likewise.
26294 (__readdir): Likewise.
26295 (__readdir64): Add libc_hidden_proto.
26296 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
26297 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
26298 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
26299 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
26300 New alias.
26301
9635ce69
L
263022017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26303
26304 [BZ #18822]
26305 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
26306 * include/netdb.h (__gethostbyaddr_r): Likewise.
26307 (__gethostbyname_r): Likewise.
26308 (__gethostbyname2_r): Likewise.
26309 (__getnetbyaddr_r): Likewise.
26310 (__getnetbyname_r): Likewise.
26311 (__getservbyname_r): Likewise.
26312 (__getservbyport_r): Likewise.
26313 (__getprotobyname_r): Likewise.
26314 (__getprotobynumber_r): Likewise.
26315 (__getnetgrent_r): Likewise.
26316 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
26317 (__getrpcbynumber_r): Likewise.
26318 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
26319
2e0a6909
L
263202017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26321
26322 [BZ #18822]
26323 * include/stdio.h (__fcloseall): Add attribute_hidden.
26324 (__getline): Likewise.
26325 (__path_search): Likewise.
26326 (__gen_tempname): Likewise.
26327 (__libc_message): Likewise.
26328 (__flockfile): Likewise.
26329 (__funlockfile): Likewise.
26330 (__fxprintf): Likewise.
26331 (__fxprintf_nocancel): Likewise.
26332
94fd682c
L
263332017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26334
26335 [BZ #18822]
26336 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
26337 (__sgetsgent_r): Likewise.
26338
e1b33bba
L
263392017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26340
26341 [BZ #18822]
26342 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
26343 (__statfs64): Likewise.
26344 (__fstatfs64): Likewise.
26345 * include/sys/statvfs.h (__statvfs64): Likewise.
26346 (__fstatvfs64): Likewise.
26347 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
26348 (__statfs_filesize_max): Likewise.
26349 (__statfs_symlinks): Likewise.
26350 (__statfs_chown_restricted): Likewise.
26351
b0f56784
L
263522017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26353
26354 [BZ #18822]
26355 * include/time.h (__tzstring): Add attribute_hidden.
26356 (__tzfile_read): Likewise.
26357 (__tzfile_compute): Likewise.
26358 (__tzfile_default): Likewise.
26359 (__tzset_parse_tz): Likewise.
26360 (__offtime): Likewise.
26361 (__asctime_r): Likewise.
26362 (__tzset): Likewise.
26363 (__tz_convert): Likewise.
26364 (__getdate_r): Likewise.
26365 (__getclktck): Likewise.
26366
a4338d99
L
263672017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26368
26369 [BZ #18822]
26370 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
26371 (__nscd_unmap): Likewise.
26372 (__nscd_cache_search): Likewise.
26373 (__nscd_get_nl_timestamp): Likewise.
26374 (__nscd_getpwnam_r): Likewise.
26375 (__nscd_getpwuid_r): Likewise.
26376 (__nscd_getgrnam_r): Likewise.
26377 (__nscd_getgrgid_r): Likewise.
26378 (__nscd_gethostbyname_r): Likewise.
26379 (__nscd_gethostbyname2_r): Likewise.
26380 (__nscd_gethostbyaddr_r): Likewise.
26381 (__nscd_getai): Likewise.
26382 (__nscd_getgrouplist): Likewise.
26383 (__nscd_getservbyname_r): Likewise.
26384 (__nscd_getservbyport_r): Likewise.
26385 (__nscd_innetgr): Likewise.
26386 (__nscd_setnetgrent): Likewise.
26387
a2ca1652
L
263882017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26389
26390 [BZ #18822]
26391 * include/gmp.h: Declare internal functions only if _ISOMAC is
26392 undefined.
26393 (__mpn_extract_double): Add attribute_hidden.
26394 (__mpn_extract_long_double): Likewise.
26395 (__mpn_extract_float128): Likewise.
26396 (__mpn_construct_float): Likewise.
26397 (__mpn_construct_double): Likewise.
26398 (__mpn_construct_long_double): Likewise.
26399 (__mpn_construct_float128): Likewise.
26400 (mpn_add_1): Likewise.
26401 (mpn_addmul_1): Likewise.
26402 (mpn_add_n): Likewise.
26403 (mpn_cmp): Likewise.
26404 (mpn_divrem): Likewise.
26405 (mpn_lshift): Likewise.
26406 (mpn_mul): Likewise.
26407 (mpn_mul_1): Likewise.
26408 (mpn_rshift): Likewise.
26409 (mpn_sub_1): Likewise.
26410 (mpn_submul_1): Likewise.
26411 (mpn_sub_n): Likewise.
26412
44af8a32
L
264132017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26414
26415 [BZ #18822]
26416 * include/wchar.h (__wcsnlen): Add attribute_hidden.
26417 (__wcscat): Likewise.
26418 (__btowc): Likewise.
26419 (__wcrtomb): Likewise.
26420 (__mbsrtowcs): Likewise.
26421 (__wcsrtombs): Likewise.
26422 (__mbsnrtowcs): Likewise.
26423 (__wcsnrtombs): Likewise.
26424 (__wcsncpy): Likewise.
26425 (__wcpncpy): Likewise.
26426 (__wmemcpy): Likewise.
26427 (__wmempcpy): Likewise.
26428 (__wmemmove): Likewise.
26429 (__wcschrnul): Likewise.
26430 (__vfwscanf): Likewise.
26431 (__vswprintf): Likewise.
26432 (__fwprintf): Likewise.
26433 (__vfwprintf): Likewise.
26434
783cd767
L
264352017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26436
26437 [BZ #18822]
26438 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
26439 (__getgrgid_r): Likewise.
26440 (__getgrnam_r): Likewise.
26441 * include/pwd.h (__getpwuid_r): Likewise.
26442 (__getpwnam_r): Likewise.
26443 (__fgetpwent_r): Likewise.
26444 * include/shadow.h (__getspnam_r): Likewise.
26445 (__sgetspent_r): Likewise.
26446 (__fgetspent_r): Likewise.
26447
7ec4b39a
L
264482017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26449
26450 [BZ #18822]
26451 * include/unistd.h (__access): Add attribute_hidden.
26452 (__lseek64): Likewise.
26453 (__libc_pread64): Likewise.
26454 (__pipe2): Likewise.
26455 (__sleep): Likewise.
26456 (__chdir): Likewise.
26457 (__fchdir): Likewise.
26458 (__getcwd): Likewise.
26459 (__rmdir): Likewise.
26460 (__execvpe): Likewise.
26461 (__execve): Likewise.
26462 (__setsid): Likewise.
26463 (__getuid): Likewise.
26464 (__geteuid): Likewise.
26465 (__getgid): Likewise.
26466 (__getegid): Likewise.
26467 (__getgroups): Likewise.
26468 (__group_member): Likewise.
26469 (__ttyname_r): Likewise.
26470 (__isatty): Likewise.
26471 (__readlink): Likewise.
26472 (__unlink): Likewise.
26473 (__gethostname): Likewise.
26474 (__profil): Likewise.
26475 (__getdtablesize): Likewise.
26476 (__brk): Likewise.
26477 (__ftruncate): Likewise.
26478 (__ftruncate64): Likewise.
26479
8345a760
L
264802017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26481
26482 [BZ #18822]
26483 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
26484 * argp/argp-fs-xinl.c: Likewise.
26485 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
26486 * argp/argp-parse.c: Include <argp.h>.
26487 * argp/argp-xinl.c: Likewise.
26488 * include/argp-fmtstream.h: New file.
26489 * include/argp.h (__argp_error): Add attribute_hidden.
26490 (__argp_failure): Likewise.
26491 (__argp_input): Likewise.
26492 (__argp_state_help): Likewise.
26493
c26dd7c6
L
264942017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26495
26496 [BZ #18822]
26497 * include/wchar.h (____wcstof_l_internal): New prototype.
26498 (____wcstod_l_internal): Likewise.
26499 (____wcstold_l_internal): Likewise.
26500 (____wcstol_l_internal): Likewise.
26501 (____wcstoul_l_internal): Likewise.
26502 (____wcstoll_l_internal): Likewise.
26503 (____wcstoull_l_internal): Likewise.
26504 (____wcstof128_l_internal): Likewise.
26505 * sysdeps/ieee754/float128/wcstof128.c
26506 (____wcstof128_l_internal): Removed.
26507 * sysdeps/ieee754/float128/wcstof128_l.c
26508 (____wcstof128_l_internal): Likewise.
26509 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
26510 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
26511 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
26512 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
26513 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
26514 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
26515 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
26516 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
26517 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
26518 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
26519
3aff5644
L
265202017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26521
26522 [BZ #18822]
26523 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
26524 instead of <sys/statvfs.h>.
26525 (__internal_statvfs): Removed.
26526 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
26527 instead of <sys/statvfs.h>.
26528 (__internal_statvfs64): Removed.
26529 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
26530 "internal_statvfs.h" instead of <sys/statvfs.h>.
26531 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
26532 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
26533 instead of <sys/statvfs.h>.
26534 (__internal_statvfs): Removed.
26535 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
26536 instead of <sys/statvfs.h>.
26537 (__internal_statvfs64): Removed.
26538
8bcdb7e0
L
265392017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26540
26541 [BZ #18822]
26542 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
26543 (__gconv_close): Likewise.
26544 (__gconv): Likewise.
26545 (__gconv_find_transform): Likewise.
26546 (__gconv_lookup_cache): Likewise.
26547 (__gconv_compare_alias_cache): Likewise.
26548 (__gconv_load_cache): Likewise.
26549 (__gconv_get_path): Likewise.
26550 (__gconv_close_transform): Likewise.
26551 (__gconv_release_cache): Likewise.
26552 (__gconv_find_shlib): Likewise.
26553 (__gconv_release_shlib): Likewise.
26554 (__gconv_get_builtin_trans): Likewise.
26555 (__gconv_compare_alias): Likewise.
26556 * include/dlfcn.h (_dlerror_run): Likewise.
26557 * include/stdio.h (__fortify_fail_abort): Likewise.
26558 * include/time.h (__tz_compute): Likewise.
26559 (__strptime_internal): Likewise.
26560 * intl/gettextP.h (_nl_find_domain): Likewise.
26561 (_nl_load_domain): Likewise.
26562 (_nl_find_msg): Likewise.
26563 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
26564 (EXTRACT_PLURAL_EXPRESSION): Likewise.
26565 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
26566 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
26567 (__gai_find_request): Likewise.
26568 (__gai_remove_request): Likewise.
26569 (__gai_notify): Likewise.
26570 (__gai_notify_only): Likewise.
26571 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
26572 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
26573 (_dl_non_dynamic_init): Likewise.
26574 (_dl_aux_init): Likewise.
26575 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
26576 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
26577 Likewise.
26578 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
26579 (__wcsmbs_clone_conv): Likewise.
26580 (__wcsmbs_named_conv): Likewise.
26581
8ed3b643
L
265822017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26583
26584 [BZ #18822]
26585 * include/stdlib.h (__random): Add attribute_hidden.
26586 (__random_r): Likewise.
26587 (__srandom_r): Likewise.
26588 (__initstate_r): Likewise.
26589 (__setstate_r): Likewise.
26590 (__erand48_r): Likewise.
26591 (__nrand48_r): Likewise.
26592 (__jrand48_r): Likewise.
26593 (__srand48_r): Likewise.
26594 (__seed48_r): Likewise.
26595 (__lcong48_r): Likewise.
26596 (__drand48_iterate): Likewise.
26597 (__setenv): Likewise.
26598 (__unsetenv): Likewise.
26599 (__clearenv): Likewise.
26600 (__ptsname_r): Likewise.
26601 (__posix_openpt): Likewise.
26602 (__add_to_environ): Likewise.
26603 (__realpath): Add libc_hidden_proto.
26604 (__ecvt_r): Likewise.
26605 (__fcvt_r): Likewise.
26606 (__qecvt_r): Likewise.
26607 (__qfcvt_r): Likewise.
26608 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
26609 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
26610
ef9b6f73
L
266112017-10-01 H.J. Lu <hongjiu.lu@intel.com>
26612
26613 [BZ #18822]
26614 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
26615 * include/time.h (__mktime_internal): Likewise.
26616 * libio/iolibio.h (__fopen_internal): Likewise.
26617
8da92e72
JDA
266182017-10-01 John David Anglin <danglin@gcc.gnu.org>
26619
26620 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
26621 pointer in frame.
26622 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
26623 Correct offset used to restore PIC register.
26624
388784cf
JDA
266252017-09-30 John David Anglin <danglin@gcc.gnu.org>
26626
26627 [BZ libc/22165]
26628 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
26629 code to load address of __getcontext_ret when generating PIC code.
26630
2000067a
L
266312017-09-30 H.J. Lu <hongjiu.lu@intel.com>
26632
26633 * elf/Makefile (tests-static-internal): Add
26634 tst-tls1-static-non-pie.
26635 (LDFLAGS-tst-tls1-static-non-pie): New.
26636 * elf/tst-tls1-static-non-pie.c: New file.
26637
1e2bffd0
JM
266382017-09-29 Joseph Myers <joseph@codesourcery.com>
26639
26640 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
26641 (asinh): Define using libm_alias_double.
26642 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
26643 (cbrt): Define using libm_alias_double.
26644 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
26645 <libm-alias-double.h>.
26646 (copysign): Define using libm_alias_double.
26647 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
26648 (erf): Define using libm_alias_double.
26649 (erfc): Likewise.
26650 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
26651 (expm1): Define using libm_alias_double.
26652 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
26653 (fabs): Define using libm_alias_double.
26654 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
26655 libm_alias_double.
26656 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
26657 <libm-alias-double.h>.
26658 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
26659 libm_alias_double.
26660 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
26661 <libm-alias-double.h>.
26662 (getpayload): Define using libm_alias_double.
26663 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
26664 <libm-alias-double.h>.
26665 (llrint): Define using libm_alias_double.
26666 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
26667 (lrint): Define using libm_alias_double.
26668 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
26669 <libm-alias-double.h>.
26670 (nextup): Define using libm_alias_double.
26671 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
26672 <libm-alias-double.h>.
26673 (roundeven): Define using libm_alias_double.
26674 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
26675 libm_alias_double.
26676 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
26677 <libm-alias-double.h>.
26678 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
26679 using libm_alias_double.
26680 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
26681 (cos): Define using libm_alias_double.
26682 (sin): Likewise.
26683 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
26684 <libm-alias-double.h>.
26685 (sincos): Define using libm_alias_double.
26686 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
26687 (tanh): Define using libm_alias_double.
26688 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
26689 <libm-alias-double.h>.
26690 (totalorder): Define using libm_alias_double.
26691 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
26692 <libm-alias-double.h>.
26693 (totalordermag): Define using libm_alias_double.
26694 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
26695 libm_alias_double.
26696 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
26697 libm_alias_double.
26698 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
26699 <libm-alias-double.h>.
26700 (getpayload): Define using libm_alias_double.
26701 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
26702 <libm-alias-double.h>.
26703 (roundeven): Define using libm_alias_double.
26704 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
26705 <libm-alias-double.h>.
26706 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
26707 <libm-alias-double.h>.
26708 (totalorder): Define using libm_alias_double.
26709 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
26710 <libm-alias-double.h>.
26711 (totalordermag): Define using libm_alias_double.
26712 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
26713 libc compat symbol here.
26714 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
26715 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
26716 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
26717 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
26718 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
26719 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
26720 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
26721 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
26722 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
26723 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
26724
8172aad9
L
267252017-09-29 H.J. Lu <hongjiu.lu@intel.com>
26726
26727 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
26728 _dl_relocate_static_pie instead of _dl_start to compute load
26729 address in static PIE. Return 0 if _DYNAMIC is undefined for
26730 static executable.
26731
54464e74
L
267322017-09-29 H.J. Lu <hongjiu.lu@intel.com>
26733
26734 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
26735 _DYNAMIC is undefined for static executable.
26736
f6c5e5bc
L
267372017-09-29 H.J. Lu <hongjiu.lu@intel.com>
26738
26739 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
26740
2f92505d
JM
267412017-09-29 Joseph Myers <joseph@codesourcery.com>
26742
26743 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26744
bd8d53bb
WD
267452017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
26746
26747 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
26748 (__ieee754_lgamma_r): Use fabs rather than __fabs.
26749 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
26750 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
26751 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
26752 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
26753 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
26754 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
26755 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
26756 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
26757 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
26758 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
26759 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
26760 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
26761 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
26762 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
26763 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
26764
fffb1507
WD
267652017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
26766
26767 * math/bits/cmathcalls.h (cimag): Remove inline.
26768 (creal): Remove inline.
26769 (conj): Remove inline.
26770
4ea49f4c
SN
267712017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
26772
26773 * math/Makefile (type-float-routines): Add e_powf_log2_data.
26774 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
26775 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
26776 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
26777 (issignalingf_inline): Likewise.
26778 (POWF_LOG2_TABLE_BITS): Likewise.
26779 (POWF_LOG2_POLY_ORDER): Likewise.
26780 (POWF_SCALE_BITS): Likewise.
26781 (POWF_SCALE): Likewise.
26782 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
26783 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
26784 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
26785
875c76c7
SN
267862017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
26787
26788 * math/Makefile (type-float-routines): Add e_log2f_data.
26789 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
26790 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
26791 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
26792 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
26793 * sysdeps/i386/fpu/e_log2f_data.c: New file.
26794 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
26795 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
26796
90c42e40
SN
267972017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
26798
26799 * math/Makefile (type-float-routines): Add e_logf_data.
26800 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
26801 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
26802 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
26803 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
26804 * sysdeps/i386/fpu/e_logf_data.c: New file.
26805 * sysdeps/ia64/fpu/e_logf_data.c: New file.
26806 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
26807
4088d8dd
L
268082017-09-28 H.J. Lu <hongjiu.lu@intel.com>
26809
26810 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
26811 undefined _DYNAMIC in PIE libc.a.
26812 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
26813 Likewse.
26814
4d3693ec
WD
268152017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
26816
26817 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
26818 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
26819 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
26820 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
26821 (__signbit): Remove.
26822 (__signbitl): Remove.
26823 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
26824 (__signbit): Remove.
26825 (__signbitl): Remove.
26826 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
26827 (__signbit): Remove.
26828 (__signbitl): Remove.
26829 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
26830 (__signbit): Remove.
26831 (__signbitl): Remove.
26832 * sysdeps/tile/bits/mathinline.h: Delete file.
26833 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
26834 (__signbit): Remove.
26835 (__signbitl): Remove.
26836
1e6d0723
WD
268372017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
26838
26839 * math/math.h: Improve handling of C99 isgreater macros.
26840 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
26841 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
26842 * sysdeps/powerpc/bits/mathinline.h: Likewise.
26843 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26844 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
26845
b2f03cf3
SN
268462017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
26847
26848 * sysdeps/aarch64/libm-test-ulps: Update.
26849
f124cb38
JM
268502017-09-28 Joseph Myers <joseph@codesourcery.com>
26851
26852 [BZ #22225]
26853 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26854 math_opt_barrier on argument when doing arithmetic on it.
26855 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
26856 Likewise. Use math_force_eval not math_opt_barrier after
26857 arithmetic.
26858 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
26859 math_opt_barrier on argument when doing arithmetic on it.
26860 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
26861 Likewise.
26862
7edd0691
L
268632017-09-27 H.J. Lu <hongjiu.lu@intel.com>
26864
26865 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
26866 libc_hidden_def.
26867 (__freeifaddrs): Likewise.
26868
2c7bbfaf
ST
268692017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
26870
26871 * include/dirent.h (__dirfd): New declaration.
26872 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
26873 alias.
26874 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
26875 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
26876 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
52a1f181
ST
26877 * include/unistd.h (__revoke): New declaration.
26878 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
26879 alias.
26880 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
26881 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
26882 revoke.
64a4af28
ST
26883 * include/dirent.h (__seekdir): New declaration.
26884 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
26885 redefine as weak alias.
26886 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
26887 of seekdir.
4009ddc6
ST
26888 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
26889 and use libc_hidden_def on them.
26890 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
26891 them.
26892 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
26893 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
26894 instead of getifaddrs and freeifaddrs.
2c7bbfaf 26895
825adeee
L
268962017-09-26 H.J. Lu <hongjiu.lu@intel.com>
26897
26898 [BZ #18822]
26899 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
26900 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
26901 (__dso_handle): Remove declaration.
26902 * dlfcn/tstatexit.c (__dso_handle): Removed.
26903 (main): Don't check __dso_handle.
26904 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
26905 (main): Don't check __dso_handle.
26906 * include/dso_handle.h: New file.
26907 * malloc/mtrace.c: Include <dso_handle.h>.
26908 (mtrace): Pass __dso_handle directly.
26909 * nptl/pthread_atfork.c: Include <dso_handle.h>.
26910 (__dso_handle): Remove declaration.
26911 (__pthread_atfork): Pass __dso_handle directly.
26912 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
26913 (__dso_handle): Removed.
26914 * posix/wordexp-test.c: Include <dso_handle.h>.
26915 (__dso_handle): Remove declaration.
26916 (__app_register_atfork): Pass __dso_handle directly.
26917 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
26918 (__dso_handle): Remove declaration.
26919 (at_quick_exit): Pass __dso_handle directly.
26920 * stdlib/atexit.c: Include <dso_handle.h>.
26921 (__dso_handle): Remove declaration.
26922 (atexit): Pass __dso_handle directly.
26923 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
26924 (__dso_handle): Removed.
26925
bfb0deb3
JM
269262017-09-26 Joseph Myers <joseph@codesourcery.com>
26927
26928 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
26929 using VDSO.
26930
cebcb9f8
AM
269312017-09-26 Alexey Makhalov <amakhalov@vmware.com>
26932
26933 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
26934 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
26935 values to correct default value for given type.
26936
592d5c75
L
269372017-09-26 H.J. Lu <hongjiu.lu@intel.com>
26938
26939 [BZ #22101]
26940 * elf/Makefile (tests): Add tst-debug1.
26941 ($(objpfx)tst-debug1): New.
26942 ($(objpfx)tst-debug1.out): Likewise.
26943 ($(objpfx)tst-debug1mod1.so): Likewise.
26944 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
26945 with p_filesz == 0.
26946 * elf/tst-debug1.c: New file.
26947
2d9193f2
JM
269482017-09-26 Joseph Myers <joseph@codesourcery.com>
26949
26950 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
26951 Define using __ifunc.
26952
4c5a7a02
TMQMF
269532017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26954
26955 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
26956 exp2f() values.
26957
12ef66c4
JM
269582017-09-26 Joseph Myers <joseph@codesourcery.com>
26959
26960 [BZ #22156]
26961 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
26962
44dade71
FW
269632017-09-26 Florian Weimer <fweimer@redhat.com>
26964
26965 * resolv/Makefile (tests-internal): Fix typo in comment.
26966
eaca16f1
FW
269672017-09-26 Florian Weimer <fweimer@redhat.com>
26968
26969 * resolv/nss_dns/dns-host.c: Fix typo in comment.
26970
ccf970c7
AZ
269712017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26972
5f9f31ad
AZ
26973 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
26974 Use an union instead of a max_align_t array for __space,
26975 so that __space is the same size on all platforms.
26976 * malloc/scratch_buffer_grow_preserve.c
26977 (__libc_scratch_buffer_grow_preserve): Likewise.
26978
ccf970c7
AZ
26979 [BZ #22183]
26980 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
26981 version to 2.
26982 * posix/Makefile (routines): Add glob-lstat-compat and
26983 glob64-lstat-compat.
26984 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
26985 * posix/glob-lstat-compat.c: New file.
26986 * posix/glob64-lstat-compat.c: Likewise.
26987 * posix/tst-glob_lstat_compat.c: Likewise.
26988 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
26989 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
26990 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
26991 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
26992 Likewise.
26993 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
26994 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
26995 * posix/glob.c (glob_lstat): New function.
26996 (glob): Rename to __glob and add versioned symbol to 2.27.
26997 (glob_in_dir): Use glob_lstat.
26998 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
26999 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
27000 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
27001 2.27.
27002 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
27003 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
27004 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
27005 gl_lstat on glob call.
27006 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
27007 and glob64 symbols.
27008 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27009 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
27010 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
27011 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
27012 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
27013 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
27014 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
27015 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
27016 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
27017 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27018 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27019 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
27020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
27021 Likewise.
27022 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
27023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
27024 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27025 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27026 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
27027 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27028 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27029 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
27030 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
27031 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
27032 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
27033 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
27034
b4396163
L
270352017-09-25 H.J. Lu <hongjiu.lu@intel.com>
27036
27037 * configure.ac (AS): Require binutils 2.25 or later.
27038 * configure: Regenerated.
27039
8f834987
PP
270402017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
27041
27042 [BZ #22207]
27043 * stdlib/test-atexit-race-common.c (do_test): Minimize required
27044 VM size.
27045
3de93d19
DD
270462017-09-25 DJ Delorie <dj@redhat.com>
27047
27048 [BZ #22161]
27049 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
27050 resetting timeout.
27051
9947638d
SL
270522017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
27053
27054 * sysdeps/ieee754/dbl-64/sincos32.h
27055 [SINCCOS32_H]: Remove define.
27056 [SINCOS32_H]: Define.
27057
f5f0f526
SN
270582017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
27059
27060 * math/Versions (expf): New libm symbol at GLIBC_2.27.
27061 (exp2f): Likewise.
27062 * math/w_exp2f.c: New file.
27063 * math/w_expf.c: New file.
27064 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
27065 * math/w_expf_compat.c (__expf_compat): Likewise.
27066 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
27067 * sysdeps/ia64/fpu/e_expf.S: Likewise.
27068 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
27069 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27070 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
27071 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
27072 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27073 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27074 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
27075 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
27076 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
27077 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
27078 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27079 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
27080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
27081 Likewise.
27082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
27083 Likewise.
27084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27085 Likewise.
27086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
27087 Likewise.
27088 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27089 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27090 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
27091 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27092 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27093 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
27094 Likewise.
27095 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
27096 Likewise.
27097 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
27098 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27099 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27100
72aa6233
SN
271012017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
27102
27103 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
27104 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
27105 (roundtoint, converttoint): Likewise.
27106 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
27107 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
27108 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
27109 * sysdeps/ieee754/flt-32/math_config.h: New file.
27110 * sysdeps/ieee754/flt-32/math_errf.c: New file.
27111 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
27112 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
27113 * sysdeps/i386/fpu/math_errf.c: New file.
27114 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
27115 * sysdeps/ia64/fpu/math_errf.c: New file.
27116 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
27117 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
27118
5e6f3253
ST
271192017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
27120
27121 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
27122 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
27123 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
27124 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
27125 to make sure that these symbols are defined.
b38a42a0
ST
27126 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
27127 of <limits.h>
27128 (__need_NULL): Do not define.
27129 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
27130 alignment.
27131 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
27132 CMGROUP_MAX, cmsgcred): Do not define.
27133 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
27134 NULL.
27135 * bits/socket.h: Likewise.
fcafcd16
ST
27136 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
27137 __gettimeofday instead of gettimeofday.
27138 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
27139 instead of settimeofday.
5e6f3253 27140
2f49ce7d
JM
271412017-09-22 Joseph Myers <joseph@codesourcery.com>
27142
27143 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
27144 (asinhf): Define using libm_alias_float.
27145 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
27146 (atanf): Define using libm_alias_float.
27147 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
27148 (cbrtf): Define using libm_alias_float.
27149 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
27150 (ceilf): Define using libm_alias_float.
27151 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
27152 <libm-alias-float.h>.
27153 (copysignf): Define using libm_alias_float.
27154 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
27155 (cosf): Define using libm_alias_float.
27156 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
27157 (erff): Define using libm_alias_float.
27158 (erfcf): Likewise.
27159 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
27160 (expm1f): Define using libm_alias_float.
27161 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
27162 (fabsf): Define using libm_alias_float.
27163 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
27164 (floorf): Define using libm_alias_float.
27165 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
27166 (frexpf): Define using libm_alias_float.
27167 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
27168 libm_alias_float.
27169 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
27170 <libm-alias-float.h>.
27171 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
27172 libm_alias_float.
27173 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
27174 <libm-alias-float.h>.
27175 (getpayloadf): Define using libm_alias_float.
27176 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
27177 <libm-alias-float.h>.
27178 (llrintf): Define using libm_alias_float.
27179 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
27180 <libm-alias-float.h>.
27181 (llroundf): Define using libm_alias_float.
27182 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
27183 (logbf): Define using libm_alias_float.
27184 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
27185 (lrintf): Define using libm_alias_float.
27186 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
27187 (lroundf): Define using libm_alias_float.
27188 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
27189 (modff): Define using libm_alias_float.
27190 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
27191 <libm-alias-float.h>.
27192 (nearbyintf): Define using libm_alias_float.
27193 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
27194 <libm-alias-float.h>.
27195 (nextafterf): Define using libm_alias_float.
27196 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
27197 <libm-alias-float.h>.
27198 (nextupf): Define using libm_alias_float.
27199 * sysdeps/ieee754/flt-32/s_remquof.c: Include
27200 <libm-alias-float.h>.
27201 (remquof): Define using libm_alias_float.
27202 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
27203 (rintf): Define using libm_alias_float.
27204 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
27205 <libm-alias-float.h>.
27206 (roundevenf): Define using libm_alias_float.
27207 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
27208 (roundf): Define using libm_alias_float.
27209 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
27210 using libm_alias_float.
27211 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
27212 <libm-alias-float.h>.
27213 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
27214 Define using libm_alias_float.
27215 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
27216 <libm-alias-float.h>.
27217 (sincosf): Define using libm_alias_float.
27218 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
27219 (sinf): Define using libm_alias_float.
27220 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
27221 (tanf): Define using libm_alias_float.
27222 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
27223 (tanhf): Define using libm_alias_float.
27224 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
27225 <libm-alias-float.h>.
27226 (totalorderf): Define using libm_alias_float.
27227 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
27228 <libm-alias-float.h>.
27229 (totalordermagf): Define using libm_alias_float.
27230 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
27231 (truncf): Define using libm_alias_float.
27232 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
27233 libm_alias_float.
27234 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
27235 libm_alias_float.
27236
c5c4a626
GG
272372017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27238
27239 [BZ #22146]
27240 math/math.h: Let fpclassify use the builtin in C++ mode, even
27241 when optimazing for size.
27242
23947846
JM
272432017-09-22 Joseph Myers <joseph@codesourcery.com>
27244
27245 * csu/Makefile (generated): Do not add version-info.h.
27246 (before-compile): Likewise.
27247 (all-Banner-files): Remove variable.
27248 ($(objpfx)version-info.h): Remove rule.
27249 * csu/version.c (banner): Do not include "version-info.h".
27250 * libidn/Banner: Remove.
27251 * manual/contrib.texi (Simon Josefsson): New entry.
27252
9ac3c682
GG
272532017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27254
27255 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27256 Remove conditionals on LDBL_MANT_DIG.
27257 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
27258 (__ieee754_lgammal_r): Likewise.
27259
d2f0ed09
GG
272602017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27261
27262 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
27263 _Float128 and L().
27264 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
27265 _Float128 and L(). Replace _Float128 with long double and L(x)
27266 with xL, throughout the file.
27267 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
27268 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
27269 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
27270 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
27271
c5c2e667
GG
272722017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27273
27274 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
27275 sysdeps/ieee754/ldbl-128ibm.
27276 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
27277 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
27278 of including it. Keep _Float128 and L() intact. These will be
27279 reviewed by a separate patch.
27280 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
27281 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
27282 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
27283 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
27284
e010deb2
GG
272852017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27286
27287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
27288 (__finitef128): Define to __redirect___finitef128.
27289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
27290 (__isinff128): Define to __redirect___isinff128.
27291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
27292 (__isnanf128): Define to __redirect___isnanf128.
27293
ffa44804
GG
272942017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27295
27296 * sysdeps/powerpc/powerpc64le/Makefile
27297 (CFLAGS-tst-strtod-nan-locale.c): New variable.
27298 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
27299
e5e4d7cc
PP
273002017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
27301 Carlos O'Donell <carlos@redhat.com>
27302
27303 [BZ #22180]
27304 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
27305 * stdlib/test-dlclose-exit-race.c: New file.
27306 * stdlib/test-dlclose-exit-race-helper.c: New file.
27307 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
27308
c10c5267
JM
273092017-09-21 Joseph Myers <joseph@codesourcery.com>
27310
27311 * crypt/Banner: Remove file.
27312 * nptl/Banner: Likewise.
27313 * resolv/Banner: Likewise.
27314 * soft-fp/Banner: Likewise.
27315 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
27316 ($(objpfx)version.d): Remove dependency on banner.h.
27317 ($(objpfx)version.os): Likewise.
27318 * nptl/version.c (banner): Do not include banner.h.
27319 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
27320 Jelinek and BIND code.
27321
1cc9e59a
PP
273222017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
27323 Carlos O'Donell <carlos@redhat.com>
27324
27325 * support/xdlfcn.h: New file.
27326 * support/xdlfcn.c: New file.
27327 * support/Makefile (libsupport-routines): Add xdlfcn.
27328 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
27329
ae8372d7
JM
273302017-09-20 Joseph Myers <joseph@codesourcery.com>
27331
27332 [BZ #20142]
27333 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27334 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
27335 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
27336 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
27337 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
27338 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
27339 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
27340 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
27341
26e70aec
PP
273422017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
27343 Ricky Zhou <rickyz@google.com>
27344 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
27345
27346 [BZ #14333]
27347 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
27348 Remove atomics.
27349 (__new_exitfn): Fail registration when we finished at_exit processing.
27350 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
27351 * stdlib/on_exit.c (__on_exit): Likewise.
27352 * stdlib/exit.c (__exit_funcs_done): New variable.
27353 (__run_exit_handlers): Use __exit_funcs_lock.
27354 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
27355 declarations.
27356 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
27357 (test-cxa_atexit-race, test-on_exit-race): New tests.
27358 * stdlib/test-atexit-race-common.c: New file.
27359 * stdlib/test-atexit-race.c: New file.
27360 * stdlib/test-at_quick_exit-race.c: New file.
27361 * stdlib/test-cxa_atexit-race.c: New file.
27362 * stdlib/test-on_exit-race.c: New file.
27363
0525ce48
SN
273642017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
27365
27366 * benchtests/Makefile: Add exp2f and log2f benchmarks.
27367 * benchtests/exp2f-inputs: Copy of expf-inputs.
27368 * benchtests/log2f-inputs: Copy of logf-inputs.
27369
d82468d1
JM
273702017-09-19 Joseph Myers <joseph@codesourcery.com>
27371
27372 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
27373 Explicitly take address of first element of array arguments in
27374 call to INLINE_SYSCALL.
27375
43ffc53a
AS
273762017-09-19 Andreas Schwab <schwab@suse.de>
27377
27378 [BZ #22134]
27379 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
27380 execveat first.
27381 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
27382 unimplemented.
27383 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
27384 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
27385 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27386 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
27387 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27388 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
27389 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27390 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
27391 * posix/Makefile (tests): Add tst-fexecve.
27392 * posix/tst-fexecve.c: New file.
27393
a5dcc87e
WD
273942017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
27395
27396 * benchtests/Makefile: Add logf benchmark.
27397 * benchtests/logf-inputs: Add reduced trace from wrf_r.
27398
7024d544
WD
273992017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
27400
27401 * benchtests/Makefile: Add expf benchmark.
27402 * benchtests/expf-inputs: Add reduced trace from wrf_r.
27403
ca3a382e
WD
274042017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
27405
27406 * csu/Makefile: Add -funwind-tables to libc-start.c.
27407 * debug/Makefile: Add -funwind-tables to backtrace.c.
27408 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
27409 * sysdeps/arm/Makefile: Likewise.
27410 * sysdeps/i386/Makefile: Likewise.
27411 * sysdeps/m68k/Makefile: Likewise.
27412 * sysdeps/mips/Makefile: Likewise.
27413 * sysdeps/nios2/Makefile: Likewise.
27414 * sysdeps/sh/Makefile: Likewise.
27415 * sysdeps/sparc/Makefile: Likewise.
27416
eb375def
JM
274172017-09-19 Joseph Myers <joseph@codesourcery.com>
27418
27419 * benchtests/Makefile (bench-math): Add trunc and truncf.
27420 (CFLAGS-bench-trunc.c): New variable.
27421 (CFLAGS-bench-truncf.c): Likewise.
27422 * benchtests/trunc-inputs: New file.
27423 * benchtests/truncf-inputs: Likewise.
27424
bd17ba29
RS
274252017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27426
27427 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
27428
92892fdb
JM
274292017-09-18 Joseph Myers <joseph@codesourcery.com>
27430
6d9b0b5a
JM
27431 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
27432 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
27433 redefine.
27434 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
27435 (exp10l): Define as weak alias.
27436 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
27437 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
27438 and redefine.
27439 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
27440 (remainderl): Define as weak alias.
27441
92892fdb
JM
27442 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
27443 (fmal): Define using libm_alias_ldouble.
27444 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
27445 (acoshl): Define using libm_alias_ldouble.
27446 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
27447 (acosl): Define using libm_alias_ldouble.
27448 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
27449 (asinl): Define using libm_alias_ldouble.
27450 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
27451 (atan2l): Define using libm_alias_ldouble.
27452 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
27453 (atanhl): Define using libm_alias_ldouble.
27454 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
27455 (coshl): Define using libm_alias_ldouble.
27456 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
27457 (exp10l): Define using libm_alias_ldouble.
27458 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
27459 (exp2l): Define using libm_alias_ldouble.
27460 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
27461 (expl): Define using libm_alias_ldouble.
27462 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
27463 (fmodl): Define using libm_alias_ldouble.
27464 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
27465 (hypotl): Define using libm_alias_ldouble.
27466 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
27467 (j0l): Define using libm_alias_ldouble.
27468 (y0l): Likewise.
27469 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
27470 (j1l): Define using libm_alias_ldouble.
27471 (y1l): Likewise.
27472 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
27473 (jnl): Define using libm_alias_ldouble.
27474 (ynl): Likewise.
27475 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
27476 (log10l): Define using libm_alias_ldouble.
27477 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
27478 (log2l): Define using libm_alias_ldouble.
27479 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
27480 (logl): Define using libm_alias_ldouble.
27481 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
27482 (powl): Define using libm_alias_ldouble.
27483 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
27484 (remainderl): Define using libm_alias_ldouble.
27485 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
27486 (sinhl): Define using libm_alias_ldouble.
27487 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
27488 (sqrtl): Define using libm_alias_ldouble.
27489 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
27490 (tgammal): Define using libm_alias_ldouble.
27491 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
27492 (exp10l): Do not use long_double_symbol here.
27493 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
27494 [LIBM_SVID_COMPAT] (remainderl): Likewise.
27495 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
27496 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
27497 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
27498 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
27499 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
27500 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
27501 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
27502 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
27503 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
27504 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
27505 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
27506 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
27507 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
27508 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
27509 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
27510 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
27511 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
27512 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
27513 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
27514 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
27515
6cd380dd
WB
275162017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
27517
27518 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
27519 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
27520
1c6d89e9
ST
275212017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
27522
27523 * io/read.c (read): Add libc_hidden_weak.
27524 * sysdeps/mach/hurd/read.c (read): Likewise.
27525 * io/write.c (write): Likewise.
27526 * sysdeps/mach/hurd/write.c (write): Likewise.
27527 * io/pread64.c (__pread64): Likewise.
27528 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
27529 * posix/pread64.c (__pread64): Add libc_hidden_def.
27530
06b1de23
SP
275312017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
27532
140647ea
SP
27533 * benchtests/scripts/compare_strings.py: New option -g.
27534 (draw_graph): Print a message that a graph is being generated.
27535 (process_results): Generate graph only if -g is passed.
27536 (main): Process option -g.
27537
5a6547b7
SP
27538 * benchtests/scripts/compare_strings.py (process_results):
27539 Better spacing for output.
27540
06b1de23
SP
27541 * benchtests/scripts/compare_strings.py: Use argparse.
27542 * benchtests/README: Document existence of compare_strings.py.
27543
c67a2328
JM
275442017-09-15 Joseph Myers <joseph@codesourcery.com>
27545
9ac44708
JM
27546 * math/s_fma.c: Include <libm-alias-double.h>.
27547 (fma): Define using libm_alias_double.
27548 * math/s_nextafter.c: Include <libm-alias-double.h>.
27549 (nextafter): Define using libm_alias_double.
27550 * math/w_acos_compat.c: Include <libm-alias-double.h>.
27551 (acos): Define using libm_alias_double.
27552 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
27553 (aocsh): Define using libm_alias_double.
27554 * math/w_asin_compat.c: Include <libm-alias-double.h>.
27555 (asin): Define using libm_alias_double.
27556 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
27557 (atan2): Define using libm_alias_double.
27558 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
27559 (atanh): Define using libm_alias_double.
27560 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
27561 (cosh): Define using libm_alias_double.
27562 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
27563 (exp10): Define using libm_alias_double.
27564 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
27565 (exp2): Define using libm_alias_double.
27566 * math/w_exp_compat.c: Include <libm-alias-double.h>.
27567 (exp): Define using libm_alias_double.
27568 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
27569 (fmod): Define using libm_alias_double.
27570 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
27571 (hypot): Define using libm_alias_double.
27572 * math/w_j0_compat.c: Include <libm-alias-double.h>.
27573 (j0): Define using libm_alias_double.
27574 (y0): Likewise.
27575 * math/w_j1_compat.c: Include <libm-alias-double.h>.
27576 (j1): Define using libm_alias_double.
27577 (y1): Likewise.
27578 * math/w_jn_compat.c: Include <libm-alias-double.h>.
27579 (jn): Define using libm_alias_double.
27580 (yn): Likewise.
27581 * math/w_log10_compat.c: Include <libm-alias-double.h>.
27582 (log10): Define using libm_alias_double.
27583 * math/w_log2_compat.c: Include <libm-alias-double.h>.
27584 (log2): Define using libm_alias_double.
27585 * math/w_log_compat.c: Include <libm-alias-double.h>.
27586 (log): Define using libm_alias_double.
27587 * math/w_pow_compat.c: Include <libm-alias-double.h>.
27588 (pow): Define using libm_alias_double.
27589 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
27590 (remainder): Define using libm_alias_double.
27591 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
27592 (sinh): Define using libm_alias_double.
27593 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
27594 (sqrt): Define using libm_alias_double.
27595 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
27596 (tgamma): Define using libm_alias_double.
27597 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
27598 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
27599 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
27600 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
27601 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
27602 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
27603 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
27604 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
27605 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
27606 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
27607 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
27608 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
27609 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
27610 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
27611 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
27612 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
27613 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
27614 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
27615 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
27616 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
27617 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
27618 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
27619 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
27620 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
27621 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
27622
c67a2328
JM
27623 * math/e_acoshl.c: Remove.
27624 * math/e_acosl.c: Likewise.
27625 * math/e_asinl.c: Likewise.
27626 * math/e_atan2l.c: Likewise.
27627 * math/e_atanhl.c: Likewise.
27628 * math/e_coshl.c: Likewise.
27629 * math/e_expl.c: Likewise.
27630 * math/e_fmodl.c: Likewise.
27631 * math/e_gammal_r.c: Likewise.
27632 * math/e_hypotl.c: Likewise.
27633 * math/e_j0l.c: Likewise.
27634 * math/e_j1l.c: Likewise.
27635 * math/e_jnl.c: Likewise.
27636 * math/e_lgammal_r.c: Likewise.
27637 * math/e_log10l.c: Likewise.
27638 * math/e_log2l.c: Likewise.
27639 * math/e_logl.c: Likewise.
27640 * math/e_powl.c: Likewise.
27641 * math/e_rem_pio2l.c: Likewise.
27642 * math/e_sinhl.c: Likewise.
27643 * math/e_sqrtf128.c: Likewise.
27644 * math/e_sqrtl.c: Likewise.
27645 * math/k_cosl.c: Likewise.
27646 * math/k_sinl.c: Likewise.
27647 * math/k_tanl.c: Likewise.
27648 * math/s_asinhl.c: Likewise.
27649 * math/s_atanl.c: Likewise.
27650 * math/s_cbrtl.c: Likewise.
27651 * math/s_erfl.c: Likewise.
27652 * math/s_expm1l.c: Likewise.
27653 * math/s_log1pl.c: Likewise.
27654 * math/s_tanhl.c: Likewise.
27655
61c45f25
TMQMF
276562017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27657
27658 [BZ #21745]
27659 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
27660 [$(subdir) = math] (sysdep_calls): New variable. Has the
27661 previous contents of sysdep_routines, but re-sorted..
27662 [$(subdir) = math] (sysdep_routines): Re-use the contents from
27663 sysdep_calls.
27664 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
27665 defined in sysdep_calls and replace by the respective m_* names.
27666 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
27667 (compat_symbol): Undefine to avoid duplicated compat symbols in
27668 libc.
27669
5bcdb315
JM
276702017-09-15 Joseph Myers <joseph@codesourcery.com>
27671
27672 * math/s_fmaf.c: Include <libm-alias-float.h>.
27673 (fmaf): Define using libm_alias_float.
27674 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
27675 (acosf): Define using libm_alias_float.
27676 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
27677 (acoshf): Define using libm_alias_float.
27678 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
27679 (asinf): Define using libm_alias_float.
27680 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
27681 (atan2f): Define using libm_alias_float.
27682 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
27683 (atanhf): Define using libm_alias_float.
27684 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
27685 (coshf): Define using libm_alias_float.
27686 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
27687 (exp10f): Define using libm_alias_float.
27688 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
27689 (fmodf): Define using libm_alias_float.
27690 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
27691 (hypotf): Define using libm_alias_float.
27692 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
27693 (j0f): Define using libm_alias_float.
27694 (y0f): Likewise.
27695 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
27696 (j1f): Define using libm_alias_float.
27697 (y1f): Likewise.
27698 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
27699 (jnf): Define using libm_alias_float.
27700 (ynf): Likewise.
27701 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
27702 (log10f): Define using libm_alias_float.
27703 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
27704 (log2f): Define using libm_alias_float.
27705 * math/w_logf_compat.c: Include <libm-alias-float.h>.
27706 (logf): Define using libm_alias_float.
27707 * math/w_powf_compat.c: Include <libm-alias-float.h>.
27708 (powf): Define using libm_alias_float.
27709 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
27710 (remainderf): Define using libm_alias_float.
27711 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
27712 (sinhf): Define using libm_alias_float.
27713 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
27714 (sqrtf): Define using libm_alias_float.
27715 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
27716 (tgammaf): Define using libm_alias_float.
27717
01f28812
JM
277182017-09-14 Joseph Myers <joseph@codesourcery.com>
27719
27720 * include/math.h (roundeven): Change hidden_proto call to
27721 __roundeven.
27722 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
27723 alias.
27724 [NO_LONG_DOUBLE] (__j0l): New strong alias.
27725 (y0): Rename to __y0 and define as weak alias.
27726 [NO_LONG_DOUBLE] (__y0l): New strong alias.
27727 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
27728 alias.
27729 (y0f): Rename to __y0f and define as weak alias.
27730 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
27731 alias.
27732 [NO_LONG_DOUBLE] (__j1l): New strong alias.
27733 (y1): Rename to __y1 and define as weak alias.
27734 [NO_LONG_DOUBLE] (__y1l): New strong alias.
27735 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
27736 alias.
27737 (y1f): Rename to __y1f and define as weak alias.
27738 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
27739 alias.
27740 [NO_LONG_DOUBLE] (__jnl): New strong alias.
27741 (yn): Rename to __yn and define as weak alias.
27742 [NO_LONG_DOUBLE] (__ynl): New strong alias.
27743 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
27744 alias.
27745 (ynf): Rename to __ynf and define as weak alias.
27746 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
27747 (fromfp): Define as weak alias.
27748 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
27749 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
27750 (fromfpx): Define as weak alias.
27751 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
27752 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
27753 __getpayload and define as weak alias.
27754 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
27755 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
27756 __roundeven and define as weak alias.
27757 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
27758 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
27759 __setpayload.
27760 (setpayload): Define as weak alias.
27761 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
27762 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
27763 __setpayloadsig.
27764 (setpayloadsig): Define as weak alias.
27765 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
27766 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
27767 __totalorder and define as weak alias.
27768 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
27769 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
27770 to __totalordermag and define as weak alias.
27771 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
27772 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
27773 (ufromfp): Define as weak alias.
27774 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
27775 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
27776 __ufromfpx.
27777 (ufromfpx): Define as weak alias.
27778 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
27779 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
27780 Rename to __getpayload and define as weak alias.
27781 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
27782 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
27783 Rename to __roundeven and define as weak alias.
27784 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
27785 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
27786 Rename to __totalorder and define as weak alias.
27787 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
27788 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
27789 (totalordermag): Rename to __totalordermag and define as weak
27790 alias.
27791 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
27792 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
27793 macro.
27794 (__roundevenl): Likewise.
27795 (__totalorderl): Likewise.
27796 (__totalordermagl): Likewise
27797 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
27798 __fromfpf128.
27799 (fromfpf128): Define as weak alias.
27800 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
27801 __fromfpxf128.
27802 (fromfpxf128): Define as weak alias.
27803 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
27804 __setpayloadf128.
27805 (setpayloadf128): Define as weak alias.
27806 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
27807 __setpayloadsigf128.
27808 (setpayloadsigf128): Define as weak alias.
27809 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
27810 __ufromfpf128.
27811 (ufromfpf128): Define as weak alias.
27812 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
27813 __ufromfpxf128.
27814 (ufromfpxf128): Define as weak alias.
27815 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
27816 (fromfpf): Define as weak alias.
27817 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
27818 __fromfpxf.
27819 (fromfpxf): Define as weak alias.
27820 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
27821 __getpayloadf and define as weak alias.
27822 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
27823 __roundevenf and define as weak alias.
27824 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
27825 __setpayloadf.
27826 (setpayloadf): Define as weak alias.
27827 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
27828 __setpayloadsigf.
27829 (setpayloadsigf): Define as weak alias.
27830 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
27831 __totalorderf and define as weak alias.
27832 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
27833 Rename to __totalordermagf and define as weak alias.
27834 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
27835 __ufromfpf.
27836 (ufromfpf): Define as weak alias.
27837 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
27838 __ufromfpxf.
27839 (ufromfpxf): Define as weak alias.
27840 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
27841 __fromfpl.
27842 (fromfpl): Define as weak alias.
27843 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
27844 __fromfpxl.
27845 (fromfpxl): Define as weak alias.
27846 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
27847 to __getpayloadl and define as weak alias.
27848 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
27849 __roundevenl and define as weak alias.
27850 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
27851 __setpayloadl.
27852 (setpayloadl): Define as weak alias.
27853 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
27854 __setpayloadsigl.
27855 (setpayloadsigl): Define as weak alias.
27856 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
27857 to __totalorderl and define as weak alias.
27858 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
27859 Rename to __totalordermagl and define as weak alias.
27860 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
27861 __ufromfpl.
27862 (ufromfpl): Define as weak alias.
27863 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
27864 __ufromfpxl.
27865 (ufromfpxl): Define as weak alias.
27866 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
27867 __fromfpl.
27868 (fromfpl): Define as weak alias.
27869 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
27870 __fromfpxl.
27871 (fromfpxl): Define as weak alias.
27872 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
27873 Rename to __getpayloadl and define as weak alias.
27874 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
27875 to __roundevenl and define as weak alias. Call __roundeven
27876 instead of roundeven.
27877 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
27878 __setpayloadl.
27879 (setpayloadl): Define as weak alias.
27880 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
27881 __setpayloadsigl.
27882 (setpayloadsigl): Define as weak alias.
27883 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
27884 Rename to __totalorderl and define as weak alias.
27885 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
27886 Rename to __totalordermagl and define as weak alias.
27887 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
27888 __ufromfpl.
27889 (ufromfpl): Define as weak alias.
27890 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
27891 __ufromfpxl.
27892 (ufromfpxl): Define as weak alias.
27893 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
27894 __fromfpl.
27895 (fromfpl): Define as weak alias.
27896 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
27897 __fromfpxl.
27898 (fromfpxl): Define as weak alias.
27899 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
27900 __getpayloadl and define as weak alias.
27901 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
27902 __roundevenl and define as weak alias.
27903 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
27904 __setpayloadl.
27905 (setpayloadl): Define as weak alias.
27906 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
27907 __setpayloadsigl.
27908 (setpayloadsigl): Define as weak alias.
27909 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
27910 __totalorderl and define as weak alias.
27911 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
27912 Rename to __totalordermagl and define as weak alias.
27913 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
27914 __ufromfpl.
27915 (ufromfpl): Define as weak alias.
27916 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
27917 __ufromfpxl.
27918 (ufromfpxl): Define as weak alias.
27919
29c933fb
SP
279202017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
27921
503c92c3
SP
27922 * benchtests/bench-string.h (realloc_bufs): New function.
27923 (test_init): Call it.
27924 * benchtests/bench-memset-large.c (do_test): Likewise.
27925 * benchtests/bench-memset.c (do_test): Likewise.
27926
29c933fb
SP
27927 * benchtests/bench-memset-large.c: Print output in JSON
27928 format.
27929 * benchtests/bench-memset.c: Likewise.
27930
799c8d69
MF
279312017-09-14 Mike FABIAN <mfabian@redhat.com>
27932
27933 [BZ #21084]
27934 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
27935 * iconvdata/Makefile: Add IBM858.
27936 * iconvdata/gconv-modules: Likewise.
27937 * iconvdata/tst-tables.sh: Likewise.
27938 * iconvdata/ibm858.c: New file.
27939 * localedata/charmaps/IBM858: Likewise.
27940
c207f7ce 279412017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
fcc82c06
AK
27942
27943 [BZ #22023]
27944 * locales/niu_NZ (LC_TIME): copy "niu_NU".
27945 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
27946
f28a0926
AK
279472017-09-14 Mike FABIAN <mfabian@redhat.com>
27948
27949 [BZ #22112]
27950 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
27951 and add tel_int_fmt.
27952
02093e62
JM
279532017-09-14 Joseph Myers <joseph@codesourcery.com>
27954
27955 * sysdeps/generic/libm-alias-float128.h: New file.
27956 * sysdeps/generic/math-type-macros-float128.h: Include
27957 <libm-alias-float128.h>.
27958 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
27959
1aae75ef
JM
279602017-09-13 Joseph Myers <joseph@codesourcery.com>
27961
27962 * sysdeps/generic/libm-alias-ldouble.h: New file.
27963 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
27964 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
27965 * sysdeps/generic/math-type-macros-ldouble.h: Include
27966 <libm-alias-ldouble.h>.
27967 [!declare_mgen_alias] (declare_mgen_alias): Define to use
27968 libm_alias_ldouble.
27969
bcea7ad6
SN
279702017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
27971
27972 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
27973 * math/w_exp_compat.c: ... here.
27974 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
27975 * math/w_expf_compat.c: ... here.
27976 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
27977 * math/w_expl_compat.c: ... here.
27978 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
27979 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
27980 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
27981 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
27982
0fc56478
JM
279832017-09-13 Joseph Myers <joseph@codesourcery.com>
27984
27985 * math/w_scalbln_template.c (strong_alias): Do not undefine and
27986 redefine.
27987 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
27988 macro.
27989 (ldexpl): Only define as compat symbol for libc, not libm.
27990 (scalbnl): Define as compat symbol for libc here.
27991 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
27992 define for [IS_IN (libc)].
27993 (__ldexpl_2): Remove alias.
27994 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
27995 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
27996 name in long_double_symbol call.
27997 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
27998 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
27999 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
28000 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
28001 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
28002 Remove macro.
28003 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
28004 Define as compat symbol.
28005
3ca622e4
AZ
280062017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28007
28008 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
28009 * sysdeps/unix/sysv/linux/alpha/Makefile
28010 [$(subdir) = csu] (sysdep_routines): Remove rule.
28011
620ff9ee
JM
280122017-09-13 Joseph Myers <joseph@codesourcery.com>
28013
28014 * sysdeps/generic/libm-alias-double.h: New file.
28015 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
28016 * sysdeps/generic/math-type-macros-double.h: Include
28017 <libm-alias-double.h>.
28018 [declare_mgen_alias] (declare_mgen_alias): Define to use
28019 libm_alias_double.
28020 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
28021 (M_LIBM_NEED_COMPAT): Remove macro.
28022 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
28023 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
28024 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
28025 code.
28026 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28027 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28028 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28029 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28030 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28031 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28032 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28033 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28034 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28035 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28036 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28037 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28038 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28039 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28040 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28041 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28042 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28043 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28044 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28045 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28046 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28047 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28048 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28049 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28050 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28051 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28052 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
28053 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
28054 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
28055 macro.
28056 (declare_mgen_alias): New macro.
28057 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
28058 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
28059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
28060 (M_LIBM_NEED_COMPAT): Remove macro.
28061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
28062 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
28063 <first-versions.h>.
28064 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
28065 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
28066
a891caff
JM
280672017-09-12 Joseph Myers <joseph@codesourcery.com>
28068
28069 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
28070 (declare_mgen_alias_2): Remove.
28071 * sysdeps/generic/math-type-macros-double.h
28072 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
28073 Likewise.
28074 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
28075 alias.
28076 (ldexp): Define with declare_mgen_alias.
28077 (scalbn): Likewise.
28078
a1a78204
SE
280792017-09-12 Steve Ellcey <sellcey@cavium.com>
28080
28081 * grp/initgroups.c: Include config.h.
28082 (DEFAULT_CONFIG): New macro.
28083 (internal_getgrouplist): Use DEFAULT_CONFIG.
28084 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28085 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
28086 (DEFAULT_DEFCONFIG): New macro.
28087 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
28088 * nss/grp-lookup.c: Include config.h
28089 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
28090 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
28091 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
28092 * manual/nss.texi: Update default values section.
28093
ef8adeb0
L
280942017-09-12 H.J. Lu <hongjiu.lu@intel.com>
28095
28096 [BZ #21967]
28097 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
28098 New.
28099 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
28100 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
28101 Handle MathVec_Prefer_No_AVX512.
28102 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
28103 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
28104 is set.
28105
a166531f
ST
281062017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
28107
28108 * posix/sched_primax.c (__sched_get_priority_max): Add
28109 libc_hidden_def.
28110 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
28111 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
28112 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
28113 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
28114 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
28115 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
28116 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
28117 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
28118 Add aliases.
28119
4b7d1efb
JM
281202017-09-11 Joseph Myers <joseph@codesourcery.com>
28121
28122 * sysdeps/generic/libm-alias-float.h: New file.
28123 * sysdeps/generic/math-type-macros-float.h: Include
28124 <libm-alias-float.h>.
28125 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
28126
45ff3463
L
281272017-09-11 H.J. Lu <hongjiu.lu@intel.com>
28128
28129 [BZ #22093]
28130 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
28131 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
28132 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
28133 (HWCAP_IMPORTANT): Likewise.
28134 (HWCAP_X86_64): New enum.
28135 (HWCAP_X86_AVX512_1): Updated.
28136 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
28137 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
28138 (modules-names): Add x86_64/tst-x86_64mod-1.
28139 (LDFLAGS-tst-x86_64mod-1.so): New.
28140 ($(objpfx)tst-x86_64-1): Likewise.
28141 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
28142 (tst-x86_64-1-clean): Likewise.
28143 * sysdeps/x86_64/tst-x86_64-1.c: New file.
28144 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
28145
891abfd3
SP
281462017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
28147
28148 * po/sv.po: Update translations.
28149 * po/fr.po: Likewise.
28150
00c3da43
ST
281512017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28152
28153 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
28154 seconds.
3bdfd9fb
ST
28155 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
28156 seconds.
65b22ebc 28157 * elf/rtld-Rules: Fix $(error) use.
00c3da43 28158
96480903
MF
281592017-09-09 Mike FABIAN <mfabian@redhat.com>
28160
28161 [BZ #14925]
28162 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
28163 * locale/iso-639.def: Change “Bengali” to “Bangla”.
28164 * localedata/locales/bn_BD: “Bengali” was still used in some
28165 comments. Change it to “Bangla”.
28166
4c03a696
MT
281672017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
28168
28169 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
28170
9c9ec581
SE
281712017-09-08 Steve Ellcey <sellcey@cavium.com>
28172
28173 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
28174 thunderx2t99p1 to list of cpu names.
28175 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
28176 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
28177
f00bce74
SE
281782017-09-08 Steve Ellcey <sellcey@cavium.com>
28179
28180 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
28181 Use strcmp instead of tunable_is_name.
28182
27342d17
JM
281832017-09-08 Joseph Myers <joseph@codesourcery.com>
28184
af1b7c8c
JM
28185 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28186 (F_GET_RW_HINT): New macro.
28187 [__USE_GNU] (F_SET_RW_HINT): Likewise.
28188 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
28189 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
28190 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
28191 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
28192 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
28193 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
28194 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
28195 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
28196
27342d17
JM
28197 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28198 (F_ADD_SEALS): New macro.
28199 [__USE_GNU] (F_GET_SEALS): Likewise.
28200 [__USE_GNU] (F_SEAL_SEAL): Likewise.
28201 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
28202 [__USE_GNU] (F_SEAL_GROW): Likewise.
28203 [__USE_GNU] (F_SEAL_WRITE): Likewise.
28204
c66c9082
AZ
282052017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28206
07b4f49d
AZ
28207 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
28208 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
28209 * posix/glob_internal.h (__glob_pattern_type):
28210 * posix/glob.c (glob):
28211 * posix/glob_pattern_p.c (__glob_pattern_p):
28212 Use them.
28213
116f1c64
AZ
28214 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
28215 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28216 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
28217 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
28218 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
28219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
28220 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
28221 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
28222 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
28223 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28224 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
28225 * sysdeps/wordsize-64/glob.c: Likewise.
28226 * sysdeps/wordsize-64/glob64.c: Likewise.
28227 * sysdeps/wordsize-64/globfree.c: Likewise.
28228 * sysdeps/wordsize-64/globfree64.c: Likewise.
28229 * sysdeps/unix/sysv/linux/glob.c: New file.
28230 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
28231 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
28232 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
28233 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
28234 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
28235 adds !GLOB_NO_OLD_VERSION as an extra condition.
28236 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
28237 using relative path instead of absolute one.
28238 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
28239 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28240 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28241 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
28242 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
28243 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
28244
ffca8901
AZ
28245 [BZ #1062]
28246 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
28247 (glob): Use the same scratch buffer for both getlogin_r and
28248 getpwnam_r. Don’t require preallocation of the login name. This
28249 simplifies storage allocation, and corrects the handling of
28250 long login names.
28251
5a79f975
AZ
28252 [BZ #1062]
28253 * posix/glob.c (glob): Port recent patches to platforms
28254 lacking getpwnam_r.
28255 (glob): Fix longstanding misuse of errno after getpwnam_r, which
28256 returns an error number rather than setting errno.
28257
e00f2425
AZ
28258 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
28259 instead of GCC extension.
28260 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
28261 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
28262 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
28263
5554304f
AZ
28264 [BZ #866]
28265 [BZ #1062]
28266 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
28267 * posix/bug-glob1.c: Remove file.
28268 * posix/tst-glob_symlinks.c: New file.
28269 * posix/glob.c (__lstat64): New macro.
28270 (is_dir): New function.
28271 (glob, glob_in_dir): Match symlinks even if they are dangling.
28272 (link_stat, link_exists_p): Remove. All uses removed.
28273
686f2ea1
AZ
28274 [BZ #1062]
28275 [BZ #19971]
28276 * posix/glob.c (struct readdir_result): Remove skip_entry member.
28277 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
28278 All uses removed.
28279
c66c9082 28280 [BZ #1062]
914c9994 28281 CVE-2017-15671
c66c9082
AZ
28282 * posix/Makefile (routines): Add globfree, globfree64, and
28283 glob_pattern_p.
28284 * posix/flexmember.h: New file.
28285 * posix/glob_internal.h: Likewise.
28286 * posix/glob_pattern_p.c: Likewise.
28287 * posix/globfree.c: Likewise.
28288 * posix/globfree64.c: Likewise.
28289 * sysdeps/gnu/globfree64.c: Likewise.
28290 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
28291 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
28292 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
28293 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
28294 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
28295 * sysdeps/wordsize-64/globfree.c: Likewise.
28296 * sysdeps/wordsize-64/globfree64.c: Likewise.
28297 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
28298 [NDEBUG): Remove comments.
28299 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
28300 (dirent_type): New type. Use uint_fast8_t not
28301 uint8_t, as C99 does not require uint8_t.
28302 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
28303 (struct readdir_result): Use dirent_type. Do not define skip_entry
28304 unless it is needed; this saves a byte on platforms lacking d_ino.
28305 (readdir_result_type, readdir_result_skip_entry):
28306 New functions, replacing ...
28307 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
28308 these functions, which were removed. This makes the callers
28309 easier to read. All callers changed.
28310 (D_INO_TO_RESULT): Now empty if there is no d_ino.
28311 (size_add_wrapv, glob_use_alloca): New static functions.
28312 (glob, glob_in_dir): Check for size_t overflow in several places,
28313 and fix some size_t checks that were not quite right.
28314 Remove old code using SHELL since Bash no longer
28315 uses this.
28316 (glob, prefix_array): Separate MS code better.
28317 (glob_in_dir): Remove old Amiga and VMS code.
28318 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
28319 separate files.
28320 (glob_in_dir): Do not rely on undefined behavior in accessing
28321 struct members beyond their bounds. Use a flexible array member
28322 instead
28323 (link_stat): Rename from link_exists2_p and return -1/0 instead of
28324 0/1. Caller changed.
28325 (glob): Fix memory leaks.
28326 * posix/glob64 (globfree64): Move to separate file.
28327 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
28328 (globfree64): Remove hidden alias.
28329 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
28330 oldglob.
28331 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
28332 separate file.
28333 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
28334 define.
28335 Move compat code to separate file.
28336 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
28337 separate file.
28338
78bfa877
L
283392017-09-07 H.J. Lu <hongjiu.lu@intel.com>
28340
28341 * resolv/tst-resolv-qtypes.c (domain): Changed to
28342 "const char domain[] =".
28343
05f0011f
JM
283442017-09-07 Joseph Myers <joseph@codesourcery.com>
28345
85bec0f2
JM
28346 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
28347 version to 3.1.6.
28348
5c23ee6e
JM
28349 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
28350 (TCP_MD5SIG_EXT): Likewise.
28351 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
28352 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
28353 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
28354
05f0011f
JM
28355 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
28356
7c9c5be9
MF
283572017-09-07 Mike FABIAN <mfabian@redhat.com>
28358
28359 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
28360
c207f7ce 283612017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
ae214523
AK
28362
28363 [BZ #22100]
28364 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
28365
507fe027
ST
283662017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
28367
28368 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
28369 before assuming that the file is empty. Avoid testing buffer content
28370 when nread == 0.
28371
65687ac7
AZ
283722017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28373
7bbbb4b9 28374 [BZ #18858]
65687ac7
AZ
28375 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
28376 Remove define.
28377 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
28378 Likewise.
28379 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
28380 Likewise.
28381 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
28382 Likewise.
28383 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
28384 Likewise.
28385 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
28386 Likewise.
28387 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
28388 Likewise.
28389
ab5ac271
FW
283902017-09-06 Florian Weimer <fweimer@redhat.com>
28391
28392 * malloc/dynarray_emplace_enlarge.c
28393 (__libc_dynarray_emplace_enlarge): Add missing else.
28394
a8304730
FW
283952017-09-06 Florian Weimer <fweimer@redhat.com>
28396
28397 [BZ #22096]
28398 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
28399 case of failure to obtain the global conf object.
28400
5670c4ab
FW
284012017-09-06 Florian Weimer <fweimer@redhat.com>
28402
28403 [BZ #22095]
28404 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
28405 dynarray allocation failure.
28406
c77eb969
FW
284072017-09-06 Florian Weimer <fweimer@redhat.com>
28408
28409 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
28410 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
28411 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
28412 New functions.
28413 (response): Call them. Add 'p', '6' flag processing.
28414 (test_reverse): New function.
28415 (test_get2_any): Call it.
28416 (test_no_inet6): Add 'p' test.
28417 (test_inet6): Likewise.
28418
5e9c4d17
FW
284192017-09-06 Florian Weimer <fweimer@redhat.com>
28420
28421 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
28422 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
28423 the QNAME.
28424 (test_gai): Adjust query names. Add additional tests.
28425 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
28426 test_get2. Adjust query names. Add additional tests.
28427 (test_no_inet6): New function, extracted from threadfunc.
28428 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
28429 Add additional tests.
28430
2ae5be04
MF
284312017-09-06 Mike FABIAN <mfabian@redhat.com>
28432
28433 [BZ #22070]
28434 * localedata/unicode-gen/utf8_gen.py: Set the width for
28435 characters with Prepended_Concatenation_Mark property to 1
28436 * localedata/charmaps/UTF-8: Updated using the improved script.
28437
af83ed5c
MF
284382017-09-06 Mike FABIAN <mfabian@redhat.com>
28439
28440 [BZ #21750]
28441 * localedata/unicode-gen/utf8_gen.py: Improve the script to
28442 use the range notation for all ranges of neighbouring characters
28443 with the same width.
28444
4f3647e4
JM
284452017-09-05 Joseph Myers <joseph@codesourcery.com>
28446
28447 * sysdeps/generic/math-type-macros-double.h: Include
28448 <math-svid-compat.h>.
28449 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
28450 * sysdeps/generic/math-type-macros-float.h: Include
28451 <math-svid-compat.h>.
28452 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
28453 * sysdeps/generic/math-type-macros-ldouble.h: Include
28454 <math-svid-compat.h>.
28455 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
28456 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
28457 condition.
28458 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
28459 * math/w_acosf_compat.c: Likewise.
28460 * math/w_acosh_compat.c: Likewise.
28461 * math/w_acoshf_compat.c: Likewise.
28462 * math/w_acoshl_compat.c: Likewise.
28463 * math/w_acosl_compat.c: Likewise.
28464 * math/w_asin_compat.c: Likewise.
28465 * math/w_asinf_compat.c: Likewise.
28466 * math/w_asinl_compat.c: Likewise.
28467 * math/w_atan2_compat.c: Likewise.
28468 * math/w_atan2f_compat.c: Likewise.
28469 * math/w_atan2l_compat.c: Likewise.
28470 * math/w_atanh_compat.c: Likewise.
28471 * math/w_atanhf_compat.c: Likewise.
28472 * math/w_atanhl_compat.c: Likewise.
28473 * math/w_cosh_compat.c: Likewise.
28474 * math/w_coshf_compat.c: Likewise.
28475 * math/w_coshl_compat.c: Likewise.
28476 * math/w_exp10_compat.c: Likewise.
28477 * math/w_exp10f_compat.c: Likewise.
28478 * math/w_exp10l_compat.c: Likewise.
28479 * math/w_exp2_compat.c: Likewise.
28480 * math/w_exp2f_compat.c: Likewise.
28481 * math/w_exp2l_compat.c: Likewise.
28482 * math/w_fmod_compat.c: Likewise.
28483 * math/w_fmodf_compat.c: Likewise.
28484 * math/w_fmodl_compat.c: Likewise.
28485 * math/w_hypot_compat.c: Likewise.
28486 * math/w_hypotf_compat.c: Likewise.
28487 * math/w_hypotl_compat.c: Likewise.
28488 * math/w_j0_compat.c: Likewise.
28489 * math/w_j0f_compat.c: Likewise.
28490 * math/w_j0l_compat.c: Likewise.
28491 * math/w_j1_compat.c: Likewise.
28492 * math/w_j1f_compat.c: Likewise.
28493 * math/w_j1l_compat.c: Likewise.
28494 * math/w_jn_compat.c: Likewise.
28495 * math/w_jnf_compat.c: Likewise.
28496 * math/w_jnl_compat.c: Likewise.
28497 * math/w_lgamma_r_compat.c: Likewise.
28498 * math/w_lgammaf_r_compat.c: Likewise.
28499 * math/w_lgammal_r_compat.c: Likewise.
28500 * math/w_log10_compat.c: Likewise.
28501 * math/w_log10f_compat.c: Likewise.
28502 * math/w_log10l_compat.c: Likewise.
28503 * math/w_log2_compat.c: Likewise.
28504 * math/w_log2f_compat.c: Likewise.
28505 * math/w_log2l_compat.c: Likewise.
28506 * math/w_log_compat.c: Likewise.
28507 * math/w_logf_compat.c: Likewise.
28508 * math/w_logl_compat.c: Likewise.
28509 * math/w_pow_compat.c: Likewise.
28510 * math/w_powf_compat.c: Likewise.
28511 * math/w_powl_compat.c: Likewise.
28512 * math/w_remainder_compat.c: Likewise.
28513 * math/w_remainderf_compat.c: Likewise.
28514 * math/w_remainderl_compat.c: Likewise.
28515 * math/w_sinh_compat.c: Likewise.
28516 * math/w_sinhf_compat.c: Likewise.
28517 * math/w_sinhl_compat.c: Likewise.
28518 * math/w_sqrt_compat.c: Likewise.
28519 * math/w_sqrtf_compat.c: Likewise.
28520 * math/w_sqrtl_compat.c: Likewise.
28521 * math/w_tgamma_compat.c: Likewise.
28522 * math/w_tgammaf_compat.c: Likewise.
28523 * math/w_tgammal_compat.c: Likewise.
28524 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
28525 [LIBM_SVID_COMPAT].
28526 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
28527 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
28528 [LIBM_SVID_COMPAT].
28529 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
28530 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
28531 [LIBM_SVID_COMPAT].
28532 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
28533 * sysdeps/i386/fpu/w_sqrt.c: New file.
28534 * sysdeps/ia64/fpu/w_acos.c: Likewise.
28535 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
28536 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
28537 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
28538 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
28539 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
28540 * sysdeps/ia64/fpu/w_asin.c: Likewise.
28541 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
28542 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
28543 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
28544 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
28545 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
28546 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
28547 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
28548 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
28549 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
28550 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
28551 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
28552 * sysdeps/ia64/fpu/w_exp.c: Likewise.
28553 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
28554 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
28555 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
28556 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
28557 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
28558 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
28559 * sysdeps/ia64/fpu/w_expf.c: Likewise.
28560 * sysdeps/ia64/fpu/w_expl.c: Likewise.
28561 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
28562 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
28563 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
28564 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
28565 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
28566 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
28567 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
28568 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
28569 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
28570 * sysdeps/ia64/fpu/w_log.c: Likewise.
28571 * sysdeps/ia64/fpu/w_log10.c: Likewise.
28572 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
28573 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
28574 * sysdeps/ia64/fpu/w_log2.c: Likewise.
28575 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
28576 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
28577 * sysdeps/ia64/fpu/w_logf.c: Likewise.
28578 * sysdeps/ia64/fpu/w_logl.c: Likewise.
28579 * sysdeps/ia64/fpu/w_pow.c: Likewise.
28580 * sysdeps/ia64/fpu/w_powf.c: Likewise.
28581 * sysdeps/ia64/fpu/w_powl.c: Likewise.
28582 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
28583 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
28584 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
28585 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
28586 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
28587 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
28588 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
28589 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
28590 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
28591 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
28592 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
28593 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
28594 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
28595 [LIBM_SVID_COMPAT].
28596 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
28597 * sysdeps/ieee754/k_standard.c: Likewise.
28598 * sysdeps/ieee754/k_standardf.c: Likewise.
28599 * sysdeps/ieee754/k_standardl.c: Likewise.
28600 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
28601 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
28602 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
28603 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
28604 long_double_symbol call on [LIBM_SVID_COMPAT].
28605 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
28606 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
28607 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
28608 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
28609 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
28610 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
28611 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
28612 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
28613 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
28614 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
28615 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
28616 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
28617 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
28618 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
28619 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
28620 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
28621 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
28622 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
28623 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
28624 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
28625 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
28626 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
28627
05b38d64
SE
286282017-09-05 Steve Ellcey <sellcey@cavium.com>
28629
28630 * include/shlib-compat.h (TEST_COMPAT): New Macro.
28631 * malloc/tst-mallocstate.c: Convert from test-skeleton
28632 to test-driver. Ifdef code using TEST_COMPAT macro.
28633 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
28634 * math/test-matherr.c: Likewise.
28635
99d67918
JM
286362017-09-05 Joseph Myers <joseph@codesourcery.com>
28637
28638 [BZ #22086]
28639 * debug/pcprofiledump.c (main): Use byte-swapped mask when
28640 comparing word with byte-swapped constant.
28641
c207f7ce 286422017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
3f802aeb
MF
28643
28644 [BZ #20498]
28645 * locale/iso-639.def: add Miskito.
28646 * localedata/SUPPORTED: Add miq_NI/UTF-8.
28647 * localedata/locales/miq_NI: New file.
28648
0a587a8a
L
286492017-09-04 H.J. Lu <hongjiu.lu@intel.com>
28650
28651 [BZ #18822]
28652 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
28653 (__mkdir): Likewise.
28654 * io/chmod.c (__chmod): Add libc_hidden_def.
28655 * io/mkdir.c (__mkdir): Likewise.
28656 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
28657 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
28658 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
28659 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
28660
f3a129b8
JM
286612017-09-04 Joseph Myers <joseph@codesourcery.com>
28662
1650e192
JM
28663 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
28664 version to 4.13.
28665
f3a129b8
JM
28666 [BZ #22082]
28667 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
28668 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
28669
b38042f5
FW
286702017-09-04 Florian Weimer <fweimer@redhat.com>
28671
28672 * math/math.h: Issue warning if log is defined.
28673
059b6404
JM
286742017-09-04 Joseph Myers <joseph@codesourcery.com>
28675
28676 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
28677 kernel version to 4.13.
28678
b794e16b
ST
286792017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
28680
28681 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
06cf9d31
ST
28682 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
28683 parameter.
01969395
ST
28684 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
28685 just <bits/types.h>.
dd2b31de 28686 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
ed95bf56 28687 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
dd2b31de 28688 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
ed95bf56 28689 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
2263ca7c
ST
28690 * misc/preadv2.c: Include <errno.h>.
28691 * misc/preadv64v2.c: Include <errno.h>.
28692 * misc/pwritev2.c: Include <errno.h>.
28693 * misc/pwritev64v2.c: Include <errno.h>.
28694 * sysdeps/posix/preadv2.c: Include <errno.h>.
28695 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
28696 Fix <unistd.h> inclusion.
28697 * sysdeps/posix/pwritev2.c: Include <errno.h>.
28698 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
cae3d712
ST
28699 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
28700 __strtoul_internal): New functions.
127e7773
ST
28701 * sysdeps/posix/pause.c: Include <sigsetops.h>.
28702 * sysdeps/posix/system.c: Include <sigsetops.h>.
f85958a7
ST
28703 * sysdeps/mach/hurd/i386/Makefile
28704 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
28705 [$(subdir) = csu] (sysdep-only-routines): Likewise.
28706 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1946d950
ST
28707 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
28708 __feraiseexcept_renamed to feraiseexcept instead of
28709 __GI_feraiseexcept.
56bf5497 28710 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
2ce1f9ef 28711 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
492cbbed
ST
28712 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
28713 RWF_NOWAIT): Define to 0 if undefined already.
28714 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
28715 boils down to 0.
6547ec0a
ST
28716 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
28717 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
b794e16b 28718
5a80d39d
JM
287192017-09-01 Joseph Myers <joseph@codesourcery.com>
28720
28721 * manual/math.texi (pow10): Do not document.
28722 (pow10f): Likewise.
28723 (pow10l): Likewise.
28724 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
28725 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
28726 * math/libm-test-exp10.inc (pow10_test): Remove.
28727 (do_test): Do not call pow10.
28728 * math/w_exp10_compat.c (pow10): Make into compat symbol.
28729 [NO_LONG_DOUBLE] (pow10l): Likewise.
28730 * math/w_exp10f_compat.c (pow10f): Likewise.
28731 * math/w_exp10l_compat.c (pow10l): Likewise.
28732 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
28733 (pow10): Make into compat symbol.
28734 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
28735 (pow10f): Make into compat symbol.
28736 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
28737 (pow10l): Make into compat symbol.
28738 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
28739 pow10.
28740 (CFLAGS-nldbl-pow10.c): Remove variable..
28741 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
28742 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
28743 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
28744 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
28745 Undefine and redefine.
28746 (pow10l): Make into compat symbol.
28747 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
28748 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
28749 * sysdeps/arm/libm-test-ulps: Likewise.
28750 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
28751 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
28752 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28753 * sysdeps/microblaze/libm-test-ulps: Likewise.
28754 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
28755 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28756 * sysdeps/nios2/libm-test-ulps: Likewise.
28757 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28758 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
28759 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28760 * sysdeps/sh/libm-test-ulps: Likewise.
28761 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28762 * sysdeps/tile/libm-test-ulps: Likewise.
28763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28764
3824fc38
PP
287652017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
28766
28767 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
28768
b3008279
L
287692017-09-01 H.J. Lu <hongjiu.lu@intel.com>
28770
28771 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
28772 "../ChangeLog.old/ChangeLog.8".
28773 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
28774 "../ChangeLog.old/ChangeLog.14".
28775
136fa185
L
287762017-09-01 H.J. Lu <hongjiu.lu@intel.com>
28777
28778 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
28779 Threads Library.
28780
c18d50a2
JM
287812017-09-01 Joseph Myers <joseph@codesourcery.com>
28782
28783 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
28784
bedbd859
L
287852017-09-01 H.J. Lu <hongjiu.lu@intel.com>
28786
28787 * csu/version.c (banner): Remove "by Roland McGrath et al.".
28788 * nptl/Banner: Remove "by Ulrich Drepper et al.".
28789
50c66c7a
PP
287902017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
28791
28792 * stdlib/tst-atexit-common.c (do_test): Test support for at least
28793 32 atexit handlers.
28794
a617bd11
ZW
287952017-09-01 Zack Weinberg <zackw@panix.com>
28796
28797 * math/math.h (HUGE_VAL): Improve commentary.
28798
e0d2eb5a
AZ
287992017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28800 Andreas Schwab <schwab@suse.de>
28801
28802 [BZ #21530]
28803 * include/stdio.h (__gen_tempfd): New function.
28804 * stdio-common/Makefile (routines): Add gentempfd.
28805 * stdio-common/gentempfd.c: New file.
28806 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
28807 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
28808 unnamed file first.
28809
f4a6be25
FW
288102017-09-01 Florian Weimer <fweimer@redhat.com>
28811
28812 [BZ #21915]
28813 [BZ #21922]
28814 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
28815 result to determine success or failure, not the errno value.
28816 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
28817 (tst-nss-files-hosts-erange): Link with -ldl.
28818 * nss/tst-nss-files-hosts-erange.c: New file.
28819 * nss/tst-resolv-basic.c (response): Handle nodata.example.
28820 (do_test): Add NO_DATA tests.
28821 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
28822 (do_test): Call it.
28823
5f8340f5
FW
288242017-09-01 Florian Weimer <fweimer@redhat.com>
28825
28826 [BZ #21922]
28827 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
28828 coming from gethostbyname2_r.
28829
65329bd2
FW
288302017-09-01 Florian Weimer <fweimer@redhat.com>
28831
28832 * support/namespace.h (struct support_chroot_configuration): Add
28833 hosts, host_conf.
28834 (struct support_chroot): Add path_hosts, path_host_conf.
28835 * support/support_chroot.c (write_file): New function.
28836 (support_chroot_create): Call it to process /etc/resolv.conf,
28837 /etc/hosts, /etc/host.conf.
28838 (support_chroot_free): Update.
28839
a2881ef0
FW
288402017-09-01 Florian Weimer <fweimer@redhat.com>
28841
28842 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
28843 status indicates it is set.
28844
ad816a5e
FW
288452017-09-01 Florian Weimer <fweimer@redhat.com>
28846
63b52889 28847 [BZ #20532]
ad816a5e
FW
28848 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
28849 function lookup failures more reliable.
28850
53250a21
FW
288512017-09-01 Florian Weimer <fweimer@redhat.com>
28852
28853 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
28854 (getcanonname): Likewise.
28855 (gaih_inet): Likewise.
28856
924b121c
FW
288572017-09-01 Florian Weimer <fweimer@redhat.com>
28858
28859 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
28860 (getcanonname): Likewise.
28861 (gaih_inet): Likewise.
28862
d9ff799a
SE
288632017-08-31 Steve Ellcey <sellcey@cavium.com>
28864 Richard Henderson <rth@twiddle.net>
28865
28866 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
28867 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
28868 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
28869 (IREG_SIZE, OREG_SIZE): New macros.
28870 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
28871 (IREG_SIZE, OREG_SIZE): New macros.
28872 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
28873 (IREG_SIZE): New macro.
28874 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
28875 (IREG_SIZE): New macro.
28876 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
28877 New includes.
28878 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
28879 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
28880 (__CONCATX): Handle exceptions correctly on large values that may
28881 set FE_INVALID.
28882 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
28883 Initialize if not already set.
28884 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
28885
102dde84
AZ
288862017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28887
28888 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
28889 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
28890 Likewise.
28891 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
28892 Likewise.
28893 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
28894 Likewise.
28895 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
28896 Likewise.
28897 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
28898 Likewise.
28899 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
28900 Likewise.
28901 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
28902 Likewise.
28903 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
28904 (NO_CANCELLATION): Likewise.
28905 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
28906 Likewise.
28907 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
28908 Likewise.
28909 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
28910 Likewise.
28911 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
28912 (NO_CANCELLATION): Likewise.
28913 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
28914 (NO_CANCELLATION): Likewise.
28915 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
28916 Likewise
28917 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
28918 Likewise.
28919 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
28920 Likewise.
28921 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
28922 Likewise.
28923 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
28924 hidden prototype.
28925 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
28926 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
28927
9eee633b
SE
289282017-08-31 Steve Ellcey <sellcey@cavium.com>
28929
28930 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
28931 in resolver call.
28932
65284eb7
FW
289332017-08-31 Florian Weimer <fweimer@redhat.com>
28934
28935 * include/libc-symbols.h (internal_function): Remove.
28936
41ad5ca6
FW
289372017-08-31 Florian Weimer <fweimer@redhat.com>
28938
28939 * stdlib/fmtmsg.c (internal_addseverity): Remove
28940 internal_function.
28941
2fa6d086
FW
289422017-08-31 Florian Weimer <fweimer@redhat.com>
28943
28944 * stdio-common/printf_fp.c (group_number): Remove
28945 internal_function.
28946 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
28947
b41bd5bc
FW
289482017-08-31 Florian Weimer <fweimer@redhat.com>
28949
28950 * posix/fnmatch.c (internal_function): Remove definition.
28951 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
28952 * posix/regcomp.c (peek_token, init_word_char)
28953 (duplicate_node_closure, fetch_token, peek_token)
28954 (peek_token_bracket, build_range_exp, build_collating_symbol):
28955 Likewise.
28956 * posix/regex_internal.c (re_string_construct_common)
28957 (create_ci_newstate, create_cd_newstate, re_string_allocate)
28958 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
28959 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
28960 (re_string_translate_buffer, re_string_reconstruct)
28961 (re_string_peek_byte_case, re_string_fetch_byte_case)
28962 (re_string_destruct, re_string_context_at, re_node_set_alloc)
28963 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
28964 (re_node_set_add_intersect, re_node_set_init_union)
28965 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
28966 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
28967 (re_dfa_add_node, calc_state_hash, re_acquire_state)
28968 (re_acquire_state_context): Likewise.
28969 * posix/regex_internal.h (internal_function): Remove definition.
28970 (re_string_realloc_buffers, build_wcs_buffer)
28971 (build_wcs_upper_buffer, build_upper_buffer)
28972 (re_string_translate_buffer, re_string_context_at)
28973 (re_string_char_size_at, re_string_wchar_at)
28974 (re_string_elem_size_at): Likewise.
28975 * posix/regexec.c (match_ctx_init, match_ctx_clean)
28976 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
28977 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
28978 (re_search_internal, re_search_2_stub, re_search_stub)
28979 (re_copy_regs, prune_impossible_nodes, check_matching)
28980 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
28981 (free_fail_stack_return, sift_states_iter_mb)
28982 (sift_states_backward, build_sifted_states)
28983 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
28984 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
28985 (check_subexp_limits, sift_states_bkref, merge_state_array)
28986 (find_recover_state, transit_state, merge_state_with_log)
28987 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
28988 (transit_state_mb, transit_state_bkref, get_subexp)
28989 (get_subexp_sub, find_subexp_node, check_arrival)
28990 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
28991 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
28992 (check_node_accept_bytes, find_collation_sequence_value)
28993 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
28994 (acquire_init_state_context, check_halt_node_context)
28995 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
28996 (sub_epsilon_src_nodes): Likewise.
28997 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
28998 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
28999 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
29000 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
29001 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
29002 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
29003 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
29004 * sysdeps/posix/ttyname.c (getttyname): Likewise.
29005 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
29006 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
29007 (PREADV): Likewise.
29008 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
29009 (PREADV): Likewise.
29010 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
29011 (PWRITEV): Likewise.
29012 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
29013 (PWRITEV): Likewise.
29014 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
29015 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
29016
83b09837
FW
290172017-08-31 Florian Weimer <fweimer@redhat.com>
29018
29019 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
29020 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
29021 Remove internal_function.
29022 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
29023 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
29024 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
29025 (__deallocate_stack, __libc_pthread_init)
29026 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
29027 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
29028 (__libc_disable_asynccancel, __librt_disable_asynccancel):
29029 Likewise.
29030 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
29031 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
29032 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
29033 Likewise.
29034 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
29035 (__pthread_mutex_unlock_usercnt): Likewise.
29036
116ac301
FW
290372017-08-31 Florian Weimer <fweimer@redhat.com>
29038
29039 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
29040 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
29041 (fts_safe_changedir): Remove internal_function.
29042 * io/ftw.c (internal_function): Remove definition.
29043 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
29044
9da93bd7
FW
290452017-08-31 Florian Weimer <fweimer@redhat.com>
29046
29047 * inet/deadline.c (__deadline_current_time)
29048 (__deadline_from_timeval, __deadline_to_ms): Remove
29049 internal_function.
29050 * inet/getnameinfo.c (nrl_domainname): Likewise.
29051 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
29052 * inet/inet6_option.c (add_pad): Likewise.
29053 * inet/net-internal.h (__deadline_current_time)
29054 (__deadline_from_timeval, __deadline_to_ms): Likewise.
29055 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
29056 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
29057 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
29058
a60eca2e
JM
290592017-08-31 Joseph Myers <joseph@codesourcery.com>
29060
c0c49d60
JM
29061 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
29062 include <bits/nan.h>.
29063 * math/Makefile (headers): Remove bits/nan.h.
29064 * bits/nan.h: Remove.
29065 * sysdeps/ieee754/bits/nan.h: Likewise.
29066 * sysdeps/mips/bits/nan.h: Likewise.
29067
5ef1b213
JM
29068 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
29069 not include <bits/inf.h>.
29070 * math/Makefile (headers): Remove bits/inf.h.
29071 * bits/inf.h: Remove.
29072 * sysdeps/ieee754/bits/inf.h: Likewise.
29073
a60eca2e
JM
29074 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
29075 bits/huge_vall.h or bits/huge_val_flt128.h.
29076 (HUGE_VAL): Define directly here.
29077 [__USE_ISOC99] (HUGE_VALF): Likewise.
29078 [__USE_ISOC99] (HUGE_VALL): Likewise.
29079 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29080 (HUGE_VAL_F128): Likewise.
29081 * math/Makefile (headers): Remove bits/huge_val.h,
29082 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
29083 * bits/huge_val.h: Remove.
29084 * bits/huge_val_flt128.h: Likewise.
29085 * bits/huge_valf.h: Likewise.
29086 * bits/huge_vall.h: Likewise.
29087 * sysdeps/ia64/bits/huge_vall.h: Likewise.
29088 * sysdeps/ieee754/bits/huge_val.h: Likewise.
29089 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
29090 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
29091 * sysdeps/sh/bits/huge_val.h: Likewise.
29092 * sysdeps/sparc/bits/huge_vall.h: Likewise.
29093 * sysdeps/x86/bits/huge_vall.h: Likewise.
29094
17e00cc6
FW
290952017-08-31 Florian Weimer <fweimer@redhat.com>
29096
29097 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
29098 internal_function.
29099 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
29100 Likewise.
29101 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
29102 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
29103 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
29104 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
29105 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29106 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
29107 * elf/dl-libc.c (dlerror_run): Likewise.
29108 * elf/dl-load.c (add_name_to_object, decompose_rpath)
29109 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
29110 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
29111 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
29112 Likewise.
29113 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
29114 (_dl_higher_prime_number, _dl_strtoul): Likewise.
29115 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
29116 * elf/dl-profile.c (_dl_start_profile): Likewise.
29117 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
29118 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
29119 Likewise.
29120 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
29121 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
29122 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
29123 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
29124 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
29125 (_dl_allocate_tls_storage): Likewise.
29126 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
29127 (_dl_check_all_versions): Likewise.
29128 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
29129 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
29130 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
29131 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29132 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
29133 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
29134 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
29135 internal_function from __dl_start.
29136 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
29137 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
29138 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
29139 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
29140 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
29141 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
29142 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
29143 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
29144 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
29145 (_dl_next_ld_env_entry, _dl_important_hwcaps)
29146 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
29147 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
29148 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
29149 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
29150 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
29151 Likewise.
29152 (struct rtld_global_ro): Remove internal_function from the
29153 _dl_lookup_symbol_x member.
29154 (_dl_symbol_value): Remove. No longer defined anywhere.
29155 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
29156 internal_function.
29157 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29158 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
29159 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
29160 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
29161 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
29162 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
29163 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
29164 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
29165 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
29166 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
29167 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
29168 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
29169
8d2f9410
FW
291702017-08-31 Florian Weimer <fweimer@redhat.com>
29171
29172 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
29173 Remove internal_function.
29174 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
29175 Likewise.
29176 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
29177 Likewise.
29178
86e4919f
FW
291792017-08-31 Florian Weimer <fweimer@redhat.com>
29180
29181 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
29182 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
29183 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
29184
59bd52b0
FW
291852017-08-31 Florian Weimer <fweimer@redhat.com>
29186
29187 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
29188 (__gai_enqueue_request): Remove internal_function.
29189 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
29190 (__gai_remove_request, __gai_notify, __gai_notify_only)
29191 (__gai_sigqueue): Likewise.
29192 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
29193 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
29194 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
29195 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
29196 Likewise.
29197
fc3d9497
FW
291982017-08-31 Florian Weimer <fweimer@redhat.com>
29199
29200 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
29201 * include/dirent.h (__opendirat, __getdents, __getdents64)
29202 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
29203 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
29204 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
29205 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
29206 Likewise.
29207 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
29208
18c54fac
FW
292092017-08-31 Florian Weimer <fweimer@redhat.com>
29210
29211 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
29212 internal_function.
29213 (GETCWD_RETURN_TYPE): Likewise.
29214
7e01f080
FW
292152017-08-31 Florian Weimer <fweimer@redhat.com>
29216
29217 * include/time.h (__tz_compute, __strptime_internal): Remove
29218 internal_function.
29219 * time/strptime_l.c (__strptime_internal): Likewise.
29220 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
29221
d7ccc6c9
FW
292222017-08-31 Florian Weimer <fweimer@redhat.com>
29223
29224 * iconv/gconv.c (__gconv): Remove internal_function.
29225 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
29226 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
29227 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
29228 (__gconv_release_cache): Likewise.
29229 * iconv/gconv_close.c (__gconv_close): Likewise.
29230 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
29231 (read_conf_file, __gconv_get_path): Likewise.
29232 * iconv/gconv_db.c (derivation_lookup, add_derivation)
29233 (__gconv_release_step, gen_steps, increment_counter)
29234 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
29235 (__gconv_close_transform, free_modules_db): Likewise.
29236 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
29237 Likewise.
29238 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
29239 (__gconv_find_transform, __gconv_lookup_cache)
29240 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
29241 (__gconv_close_transform, __gconv_release_cache)
29242 (__gconv_loaded_object, __gconv_release_shlib)
29243 (__gconv_compare_alias): Likewise.
29244 * iconv/gconv_open.c (__gconv_open): Likewise.
29245 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
29246 * iconv/iconvconfig.c (add_module): Likewise.
29247 * intl/dcigettext.c (plural_lookup, guess_category_value)
29248 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
29249 * intl/eval-plural.h (plural_eval): Likewise.
29250 * intl/finddomain.c (_nl_find_domain): Likewise.
29251 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
29252 (_nl_load_domain, _nl_find_msg): Likewise.
29253 (internal_function): Remove definition.
29254 * intl/loadinfo.h (internal_function): Likewise.
29255 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
29256 internal_function.
29257 * intl/localealias.c (internal_function): Remove definition.
29258 (read_alias_file): Remove internal_function.
29259 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
29260 * intl/plural-exp.h (internal_function): Remove definition.
29261 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
29262 internal_function.
29263 * intl/plural.c: Regenerate.
29264 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
29265 * locale/coll-lookup.c (__collidx_table_lookup)
29266 (__collseq_table_lookup): Likewise.
29267 * locale/coll-lookup.h (__collidx_table_lookup)
29268 (__collseq_table_lookup): Likewise.
29269 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
29270 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
29271 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
29272 (_nl_unload_locale): Likewise.
29273 * locale/localeinfo.h (struct __locale_data): Remove
29274 internal_function from cleanup member.
29275 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
29276 (_nl_remove_locale, _nl_load_locale_from_archive)
29277 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
29278 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
29279 (_nl_cleanup_time): Remove internal_function.
29280 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
29281 (_nl_parse_alt_digit): Likewise.
29282 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
29283 (_nl_select_era_entry): Likewise.
29284 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
29285 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
29286 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
7e01f080
FW
29287 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
29288 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
d7ccc6c9 29289
dab0eece
FW
292902017-08-31 Florian Weimer <fweimer@redhat.com>
29291
29292 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
29293 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
29294 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
29295 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
29296 Likewise.
29297 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
29298 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
29299 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
29300 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
29301 Likewise.
29302 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
29303
ab5bf7cf
FW
293042017-08-31 Florian Weimer <fweimer@redhat.com>
29305
29306 * misc/getttyent.c (skip, value): Remove internal_function.
29307 * misc/syslog.c (openlog_internal): Likewise.
29308 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
29309
75b3047e
FW
293102017-08-31 Florian Weimer <fweimer@redhat.com>
29311
29312 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
29313 (__nss_rewrite_field): Remove internal_function.
29314 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
29315 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
29316 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
29317 * nss/nsswitch.c (nss_parse_file, nss_getline)
29318 (nss_parse_service_list, nss_new_service): Likewise.
29319 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
29320 * nss/valid_field.c (__nss_valid_field): Likewise.
29321 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
29322
0c71122c
FW
293232017-08-31 Florian Weimer <fweimer@redhat.com>
29324
29325 * malloc/arena.c (__malloc_fork_lock_parent)
29326 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
29327 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
29328 internal_function from defintions.
29329 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
29330 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
29331 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
29332 internal_function from declarations.
29333 * malloc/malloc.c (internal_function): Do not define.
29334 (mem2mem_check): Remove internal_function from declaration.
29335 (munmap_chunk, mremap_chunk): Remove internal_function.
29336 * malloc/mtrace.c (tr_where): Likewise.
29337
ca4ec803
FW
293382017-08-31 Florian Weimer <fweimer@redhat.com>
29339
29340 * include/rpc/pmap_clnt.h (__get_socket): Remove
29341 internal_function.
29342 * sunrpc/auth_des.c (synchronize): Likewise.
29343 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
29344 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
29345 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
29346 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
29347 (key_call): Likewise.
29348 * sunrpc/pm_getport.c (__get_socket): Likewise.
29349 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
29350 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
29351 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
29352 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
29353 (invalidate): Likewise.
29354 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
29355 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
29356 (set_input_fragment, get_input_bytes): Likewise.
29357
24cffce7
FW
293582017-08-31 Florian Weimer <fweimer@redhat.com>
29359
29360 * malloc/malloc.c (_int_free): Remove locked variable and related
29361 asserts.
29362
ecd0747d
L
293632017-08-31 H.J. Lu <hongjiu.lu@intel.com>
29364
29365 [BZ #22051]
29366 * Makerules (build-module-helper-objlist): Filter out
29367 $(elf-objpfx)sofini.os.
29368 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
29369 needed.
29370
5f0704b6
FW
293712017-08-31 Florian Weimer <fweimer@redhat.com>
29372
29373 * libio/fcloseall.c: Assume weak_alias is defined.
29374 * libio/feof.c: Likewise.
29375 * libio/fileno.c: Likewise.
29376 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
29377 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
29378 definitions.
29379 (_IO_file_open): Call __open directly.
29380 (_IO_new_file_sync): Assume ESPIPE is defined.
29381 (_IO_file_seekoff_maybe_mmap): Call __read directly.
29382 (_IO_new_file_write): Call __write directly.
29383 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
29384 * libio/ftello64.c (__ftello64): Assume EIO is defined.
29385 * libio/genops.c: Assume _LIBC is defined.
29386 (save_for_backup): Remove internal_function.
29387 * libio/getc.c: Assume weak_alias is defined.
29388 * libio/getwc.c: Likewise.
29389 * libio/iofclose.c: Assume _LIBC is defined.
29390 * libio/iofdopen.c: Likewise.
29391 (_IO_fcntl): Remove macro definition.
29392 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
29393 Call __fcntl directly.
29394 * libio/iofflush.c: Assume weak_alias is defined.
29395 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
29396 defined.
29397 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
29398 * libio/iofgets.c: Likewise.
29399 * libio/iofopen.c: Assume _LIBC is defined.
29400 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
29401 * libio/iofputs.c: Assume weak_alias is defined.
29402 * libio/iofread.c: Likewise.
29403 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
29404 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
29405 * libio/ioftell.c: Assume weak_alias is defined.
29406 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
29407 * libio/iofwide.c: Assume _LIBC is defined.
29408 (_IO_fwide): Drop SHARED conditional because it is implied by
29409 SHLIB_COMPAT.
29410 * libio/iofwrite.c: Assume weak_alias is defined.
29411 * libio/iogetdelim.c: Likewise.
29412 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
29413 * libio/iogetwline.c (wmemcpy): Remove macro definition.
29414 (_IO_getwline): Call __wmemcpy directly.
29415 * libio/iopopen.c: Assume _LIBC is defined.
29416 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
29417 (_IO_close): Remove macro definitions.
29418 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
29419 _exit directly.
29420 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
29421 directly.
29422 * libio/ioputs.c: Assume weak_alias is defined.
29423 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
29424 * libio/iosetbuffer.c: Assume weak_alias is defined.
29425 * libio/iosetvbuf.c: Likewise.
29426 * libio/ioungetc.c: Likewise.
29427 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
29428 libc_hidden_def, libc_hidden_weak, NULL are defined.
29429 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
29430 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
29431 defined.
29432 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
29433 definitions.
29434 (_IO_old_file_init_internal): Drop SHARED conditional because it
29435 is implied by SHLIB_COMPAT.
29436 (_IO_old_file_fopen): Call __open directly.
29437 (_IO_old_file_sync): Assume ESPIPE is defined.
29438 (_IO_old_file_write): Call __write directly.
29439 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
29440 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
29441 Call __fcntl directly.
29442 * libio/oldiofgetpos.c: Assume weak_alias is defined.
29443 (_IO_old_fgetpos): Assume EIO is defined.
29444 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
29445 (_IO_old_fgetpos64): Assume EIO is defined.
29446 * libio/oldiofsetpos.c: Assume weak_alias is defined.
29447 (_IO_old_fsetpos): Assume EIO is defined.
29448 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
29449 (_IO_old_fsetpos64): Assume EIO is defined.
29450 * libio/oldiopopen.c: Assume _LIBC is defined.
29451 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
29452 (_IO_close): Remove macro definitions.
29453 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
29454 directly.
29455 (_IO_old_proc_close): Call __close, __waitpid directly.
29456 * libio/put.c: Assume weak_alias is defined.
29457 * libio/stdfiles.c: Assume _LIBC is defined.
29458 * libio/stdio.c: Likewise.
29459 * libio/wfileops.c: Likewise.
29460 (_IO_wfile_sync): Assume ESPIPE is defined.
29461 * libio/wgenops.c: Assume _LIBC is defined.
29462 (save_for_wbackup): Remove internal_function.
29463
5129873a
FW
294642017-08-31 Florian Weimer <fweimer@redhat.com>
29465
29466 * malloc/malloc.c (top_check): Change return type to void. Remove
29467 internal_function.
29468 * malloc/hooks.c (top_check): Likewise.
29469 (malloc_check, realloc_check, memalign_check): Adjust.
29470
4fa9b3bf
JM
294712017-08-30 Joseph Myers <joseph@codesourcery.com>
29472
29473 [BZ #21457]
29474 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
29475 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
29476 sigcontext and namespace requirements.
29477 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
29478 * sysdeps/m68k/sys/ucontext.h: Likewise.
29479 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
29480 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
29481 <bits/sigcontext.h>.
29482 (__ctx): Define earlier.
29483 (mcontext_t): Define structure contents rather than using struct
29484 sigcontext.
29485 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
29486 __glibc_reserved1 instead of __reserved.
29487 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
29488 <bits/sigcontext.h>.
29489 (__ctx): Define earlier.
29490 (mcontext_t): Define structure contents rather than using struct
29491 sigcontext.
29492 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
29493 mcontext_t instead of struct sigcontext.
29494 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
29495 <bits/sigcontext.h>.
29496 (__ctx): Define earlier.
29497 (mcontext_t): Define structure contents rather than using struct
29498 sigcontext.
29499 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
29500 <bits/sigcontext.h>.
29501 (__ctx): Define earlier.
29502 (mcontext_t): Define structure contents rather than using struct
29503 sigcontext.
29504 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
29505 mcontext_t instead of struct sigcontext.
29506 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
29507 mcontext_t instead of struct sigcontext.
29508 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
29509 <bits/sigcontext.h>.
29510 (__ctx): New macro.
29511 (struct __ia64_fpreg_mcontext): New type.
29512 (mcontext_t): Define structure contents rather than using struct
29513 sigcontext.
29514 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
29515 (uc_sigmask): Define using __ctx.
29516 (uc_stack): Likewise.
29517 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
29518 <bits/sigcontext.h>.
29519 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29520 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
29521 <bits/sigcontext.h>.
29522 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
29523 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
29524 <bits/sigcontext.h>.
29525 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
29526 <bits/sigcontext.h>.
29527 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
29528 <bits/sigcontext.h>.
29529 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
29530 <bits/sigcontext.h>.
29531 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
29532 <bits/sigcontext.h>.
29533 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
29534 <bits/sigcontext.h>.
29535 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
29536 <bits/sigcontext.h>.
29537 (__ctx): Define earlier.
29538 (mcontext_t): Define structure contents rather than using struct
29539 sigcontext.
29540 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
29541 <bits/sigcontext.h>. Include <bits/types.h>.
29542 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
29543 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
29544 (test-xfail-XPG42/ucontext.h/conform): Likewise.
29545 (test-xfail-UNIX98/signal.h/conform): Likewise.
29546 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
29547 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
29548 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
29549 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
29550 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
29551 (test-xfail-POSIX2008/signal.h/conform): Likewise.
29552 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
29553 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
29554 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
29555
5898f454
FW
295562017-08-30 Florian Weimer <fweimer@redhat.com>
29557
29558 * malloc/dynarray_emplace_enlarge.c
29559 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
29560 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
29561 * malloc/tst-dynarray.c (test_long_overflow): New function.
29562 (do_test): Call it.
29563
a9da0bb2
FW
295642017-08-30 Florian Weimer <fweimer@redhat.com>
29565
29566 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
29567 (set_arena_corrupt): Remove definitions.
29568 (mtrim): Do not check for corrupt arena.
29569 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
29570 Likewise.
29571
ac3ed168
FW
295722017-08-30 Florian Weimer <fweimer@redhat.com>
29573
29574 [BZ #21754]
29575 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
29576 check_action.
29577 (ptmalloc_init): Do not set or use check_action.
29578 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
29579 call to malloc_printerr. Remove return statement.
29580 (free_check): Likewise. Remove arena unlock.
29581 (top_check): Update comment. Adjust call to malloc_printerr.
29582 Remove heap repair code.
29583 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
29584 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
29585 (sysmalloc): Adjust call to malloc_printerr.
29586 (munmap_chunk, __libc_realloc): Likewise. Remove return
29587 statement.
29588 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
29589 Remove errout label and corresponding gotos.
29590 (_int_free): Likewise. Remove arena unlock.
29591 (do_set_mallopt_check): Do not set check_action.
29592 (malloc_printerr): Adjust parameter list. Do not mark arena as
29593 corrupt.
29594 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
29595 comment.
29596 * manual/probes.texi (Memory Allocation Probes): Remove
29597 memory_mallopt_check_action.
29598
44bcba80
SE
295992017-08-30 Steve Ellcey <sellcey@cavium.com>
29600
29601 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
29602 Use pointer to uint64_t instead of long int for sp.
29603
ec2c1fce
FW
296042017-08-30 Florian Weimer <fweimer@redhat.com>
29605
29606 [BZ #21754]
29607 * malloc/malloc.c (malloc_printerr): Always terminate the process,
29608 without printing a backtrace. Do not leak any information in the
29609 error message.
29610 * manual/memory.texi (Heap Consistency Checking): Update.
29611 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
29612
9ce673b6
FW
296132017-08-30 Florian Weimer <fweimer@redhat.com>
29614
29615 Do not scale NPTL tests with available number of CPUs.
29616 * nptl/tst-cond16.c (count): Set to constant value of 8.
29617 * nptl/tst-cond18.c (count): Likewise.
29618
2f1aef19
JM
296192017-08-29 Joseph Myers <joseph@codesourcery.com>
29620
29621 [BZ #22035]
29622 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
29623 Define to take a second argument that is a macro that
29624 concatentates a suffix, not the suffix itself.
29625 (__CONCAT_d): New macro.
29626 (__CONCAT_f): Likewise.
29627 (__CONCAT_l): Likewise.
29628
8325b477
PP
296292017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
29630
29631 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
29632 by child.
29633
319cbbf6
AZ
296342017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29635 Aurelien Jarno <aurelien@aurel32.net>
29636 Maciej W. Rozycki <macro@imgtec.com>
29637
29638 [BZ #21956]
29639 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
29640 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
29641 `mips16-syscall6' and `mips16-syscall7'.
29642 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
29643 (CFLAGS-mips16-syscall7.c): Remove.
29644 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
29645 Remove `__mips16_syscall5', `__mips16_syscall6' and
29646 `__mips16_syscall7'.
29647 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
29648 (__mips16_syscall0): Rename `__mips16_syscall_return' to
29649 `__mips_syscall_return'.
29650 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
29651 (__mips16_syscall1): Likewise.
29652 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
29653 (__mips16_syscall2): Likewise.
29654 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
29655 (__mips16_syscall3): Likewise.
29656 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
29657 (__mips16_syscall4): Likewise.
29658 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
29659 Remove.
29660 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
29661 Remove.
29662 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
29663 Remove.
29664 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
29665 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
29666 `__mips16_syscall5'. Remove prototype.
29667 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
29668 `__mips16_syscall6'. Remove prototype.
29669 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
29670 `__mips16_syscall7'. Remove prototype.
29671 (__nomips16, __mips16_syscall_return): Move to...
29672 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
29673 (__nomips16, __mips_syscall_return): ... here.
29674 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
29675 `__mips16_syscall_return' to `__mips_syscall_return'.
29676 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
29677 `internal_syscall##nr'.
29678 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
29679 `internal_syscall##nr'.
29680 (FORCE_FRAME_POINTER): Remove.
29681 (__mips_syscall5): New prototype.
29682 (internal_syscall5): Rewrite to call `__mips_syscall5'.
29683 (__mips_syscall6): New prototype.
29684 (internal_syscall6): Rewrite to call `__mips_syscall6'.
29685 (__mips_syscall7): New prototype.
29686 (internal_syscall7): Rewrite to call `__mips_syscall7'.
29687 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
29688 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
29689 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
29690 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
29691 (sysdep_routines): Add libc-do-syscall.
29692 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
29693 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
29694
01b87c65
AZ
296952017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29696
29697 [BZ #21672]
29698 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
29699 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
29700 (advise_stack_range): New function.
29701 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
29702 stack non required to advise_stack_range at allocatestack.c
29703
16f138a4
SN
297042017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29705
29706 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
29707
251bccfa
FW
297082017-08-29 Florian Weimer <fweimer@redhat.com>
29709
29710 [BZ #22026]
29711 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
29712 __end_fct. Mangle __end_fct after setting it to NULL.
29713 * iconv/Makefile (tests): Add tst-gconv-init-failure.
29714 (modules-names, modules-names-tests): Add
29715 tst-gconv-init-failure-mod.
29716 (gconv-modules): New target.
29717 (tst-gconv-init-failure-mod.so): Link against libsupport.
29718 (tst-gconv-init-failure): Depend on gconv-modules,
29719 tst-gconv-init-failure-mod.so.
29720 * iconv/tst-gconv-init-failure-mod.c: New file.
29721 * iconv/tst-gconv-init-failure.c: Likewise.
29722 * iconv/test-gconv-modules: Likewise.
29723
e7c18b9d
FW
297242017-08-29 Florian Weimer <fweimer@redhat.com>
29725
29726 [BZ #22025]
29727 * iconv/gconv_db.c (free_derivation): Remove redundant
29728 parentheses.
29729 (gen_steps): Unconditionally mangle __btowc_fct after
29730 initialization.
29731 (increment_counter): Likewise. Do not call init_fct for internal
29732 modules.
29733
7daada03
JM
297342017-08-29 Joseph Myers <joseph@codesourcery.com>
29735
29736 [BZ #22028]
29737 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
29738 (_MSUF_): Remove macro.
29739 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
29740 Likewise.
29741 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
29742 (__REDIRFROM_X): New macro.
29743 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
29744 Likewise.
29745 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
29746 (__REDIRTO_X): Likewise.
29747 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
29748 arguments.
29749 (__MATH_REDIRCALL_2): Likewise.
29750 (__MATH_REDIRCALL_INTERNAL): Likewise.
29751 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
29752 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
29753 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
29754 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
29755 * math/test-finite-macros.c: New file.
29756 * math/Makefile (tests): Add test-finite-macros.
29757 (CFLAGS-test-finite-macros.c): New variable.
29758
1cf1232c
PF
297592017-08-29 Patsy Franklin <pfrankli@redhat.com>
29760 Jeff Law <law@redhat.com>
29761
29762 [BZ #22025]
29763 Mangle NULL pointers in iconv/gconv.
29764 * iconv/gconv_cache.c (find_module): Demangle init_fct before
29765 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
29766 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
29767 is non-NULL before demangling the end_fct. Check for NULL
29768 end_fct after demangling.
29769 (__gconv_release_step): Demangle the end_fct before checking
29770 it for NULL. Remove assert on __shlibc_handle != NULL.
29771 (gen_steps): Don't check btowc_fct for NULL before mangling.
29772 Demangle init_fct before checking for NULL.
29773 (increment_counter): Likewise.
29774 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
29775 end_fct for NULL before mangling.
29776 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
29777 for NULL.
29778
c207f7ce 297792017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
f8de9568
AK
29780
29781 [BZ #21971]
29782 * locale/iso-639.def: add Morisyen.
29783
42496114
GG
297842017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29785
29786 [BZ #21930]
29787 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
29788 (iszero): New C++ implementation that does not use
29789 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
29790 signaling nans are enabled, since __builtin_types_compatible_p
29791 is a C-only feature.
29792 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
29793 defined, include ieee754_float128.h for access to the union and
29794 member ieee854_float128.ieee.
29795 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
29796 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
29797 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
29798 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
29799 options of test-math-zero on powerpc64le.
29800
5e2bc4ff
L
298012017-08-28 H.J. Lu <hongjiu.lu@intel.com>
29802
29803 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
29804 Change double to float.
29805
a48c0fb4
JM
298062017-08-28 Joseph Myers <joseph@codesourcery.com>
29807
29808 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
29809 unconditional.
29810 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
29811 conditional code; define contents only for [LIBM_SVID_COMPAT].
29812
ee17d4e9
FW
298132017-08-28 Florian Weimer <fweimer@redhat.com>
29814
29815 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
29816 (abi-lp64_be-options): Remove.
29817 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
29818 (abi-hard-options): Likewise.
29819 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
29820 (abi-o32_hard-options, abi-o32_soft_2008-options)
29821 (abi-o32_hard_2008-options, abi-n32_soft-options)
29822 (abi-n32_hard-options, abi-n32_soft_2008-options)
29823 (abi-n32_hard_2008-options, abi-n64_soft-options)
29824 (abi-n64_hard-options, abi-n64_soft_2008-options)
29825 (abi-n64_hard_2008-options): Likewise.
29826 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
29827 (abi-64-v1-options, abi-64-v2-options): Likewise.
29828 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
29829 (abi-64-options): Likewise.
29830 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
29831 (abi-64-options): Likewise.
29832 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
29833 (abi-64-options): Likewise.
29834 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
29835 (abi-64-options, abi-x32-options): Likewise.
29836
2dba5ce7
FW
298372017-08-28 Florian Weimer <fweimer@redhat.com>
29838
29839 Store supported list of SYS_* system calls in the source tree.
29840 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
29841 (bits/syscall.h): Generate from list file.
29842 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
29843 [$(subdir) = misc] (tests): Add tst-syscall-list.
29844 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
29845 [$(subdir) = misc] (tst-syscall-list-macros.list)
29846 [$(subdir) = misc] (tst-syscall-list-nr.list)
29847 (tst-syscall-list-sys.list): Helper targets for new
29848 tst-syscall-list test.
29849 [$(subdir) = misc] (tst-syscall-list.out): Run test script
29850 tst-syscall-list.sh.
29851 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
29852 target. Do not include bits/syscall.d.
29853 [$(subdir) = misc] (generated): Do not update.
29854 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
29855 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
29856 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
29857 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
29858
5f3b183d
PP
298592017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
29860
29861 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
29862 (tst-cxa_atexit, tst-on_exit): Likewise.
29863 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
29864 tst-cxa_atexit, and tst-on_exit.
29865 * stdlib/tst-atexit-common.c: New file.
29866 * stdlib/tst-atexit.c: New file.
29867 * stdlib/tst-at_quick_exit.c: New file.
29868 * stdlib/tst-cxa_atexit.c: New file.
29869 * stdlib/tst-on_exit.c: New file.
29870
2ef8d469
ST
298712017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
29872
29873 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
97e02ad2
ST
29874 * mach/stack_chk_fail_local.c: New file.
29875 * hurd/stack_chk_fail_local.c: New file.
29876 * mach/Machrules ($(interface-library)-routines): Add
29877 stack_chk_fail_local.
99ee4d26
ST
29878 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
29879 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
29880 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
29881 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
29882 * hurd/Makefile (CFLAGS-hurdstartup.o,
29883 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
2ef8d469 29884
7ab70c98
L
298852017-08-25 H.J. Lu <hongjiu.lu@intel.com>
29886
29887 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
29888 (index_cpu_*, index_arch_*): Removed.
29889
39e7a5a6
SN
298902017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29891
29892 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
29893 Use uint64_t instead of unsigned long.
29894
bba5c930
JM
298952017-08-25 Joseph Myers <joseph@codesourcery.com>
29896
a6ccdb08
JM
29897 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
29898 [__HAVE_DISTINCT_FLOAT128].
29899
23761119
JM
29900 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
29901 of <bits/math-finite.h>.
29902 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
29903 inclusion of <bits/math-finite.h>.
29904 * math/bits/math-finite.h (__REDIRTO_X): Do not define
29905 conditionally on [__MATH_DECLARING_LDOUBLE && defined
29906 __NO_LONG_DOUBLE_MATH].
29907 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
29908 (__MATH_REDIRCALL_2): Likewise.
29909 (__MATH_REDIRCALL_INTERNAL): Likewise.
29910 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
29911 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
29912 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
29913
bba5c930
JM
29914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
29915 Remove file.
29916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
29917 Likewise.
29918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
29919 Likewise.
29920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
29921 Likewise.
29922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
29923 Likewise.
29924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
29925 Likewise.
29926 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
29927 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
29928 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
29929 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
29930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
29931 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
29932 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
29933 w_sqrtf_compat-ppc32.
29934
3d7b66f6
GG
299352017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29936
29937 * math/math.h [defined __cplusplus] (issignaling): In the long
29938 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
29939 is not defined. Call __issignaling, otherwise.
29940
ebd6f007
AZ
299412017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29942
29943 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
29944 syscall definitions and replace __builtin_expect with __glibc_likely.
29945 * sysdeps/unix/syscall-template.S: Update comment about cancellable
29946 syscall.
29947 (SYSCALL_CANCELLABLE): Removedefinition
29948 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
29949 definition.
29950 (PSEUDO_END): Likewise.
29951 [IS_IN (libpthread)] (CENABLE): Likewise.
29952 [IS_IN (libpthread)] (CDISABLE): Likewise.
29953 [IS_IN (libc)] (CENABLE): Likewise.
29954 [IS_IN (libc)] (CENABLE): Likewise.
29955 [IS_IN (librt)] (CDISABLE): Likewise.
29956 [IS_IN (librt)] (CDISABLE): Likewise.
29957 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29958 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
29959 definition.
29960 (PSEUDO_END): Likewise.
29961 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
29962 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
29963 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
29964 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
29965 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
29966 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
29967 (CENABLE): Likewise.
29968 (CDISABLE): Likewise.
29969 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29970 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
29971 defintion.
29972 (PSEUDO_END): Likewise.
29973 [IS_IN (libpthread)] (CENABLE): Likewise.
29974 [IS_IN (libpthread)] (CDISABLE): Likewise.
29975 [IS_IN (libc)] (CENABLE): Likewise.
29976 [IS_IN (libc)] (CENABLE): Likewise.
29977 [IS_IN (librt)] (CDISABLE): Likewise.
29978 [IS_IN (librt)] (CDISABLE): Likewise.
29979 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29980 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
29981 definition.
29982 (PSEUDO_END): Likewise.
29983 [IS_IN (libpthread)] (CENABLE): Likewise.
29984 [IS_IN (libpthread)] (CDISABLE): Likewise.
29985 [IS_IN (libc)] (CENABLE): Likewise.
29986 [IS_IN (libc)] (CENABLE): Likewise.
29987 [IS_IN (librt)] (CDISABLE): Likewise.
29988 [IS_IN (librt)] (CDISABLE): Likewise.
29989 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29990 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
29991 definition.
29992 (PSEUDO_END): Likewise.
29993 [IS_IN (libpthread)] (CENABLE): Likewise.
29994 [IS_IN (libpthread)] (CDISABLE): Likewise.
29995 [IS_IN (libc)] (CENABLE): Likewise.
29996 [IS_IN (libc)] (CENABLE): Likewise.
29997 [IS_IN (librt)] (CDISABLE): Likewise.
29998 [IS_IN (librt)] (CDISABLE): Likewise.
29999 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30000 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
30001 definition.
30002 (PSEUDO_END): Likewise.
30003 [IS_IN (libpthread)] (CENABLE): Likewise.
30004 [IS_IN (libpthread)] (CDISABLE): Likewise.
30005 [IS_IN (libc)] (CENABLE): Likewise.
30006 [IS_IN (libc)] (CENABLE): Likewise.
30007 [IS_IN (librt)] (CDISABLE): Likewise.
30008 [IS_IN (librt)] (CDISABLE): Likewise.
30009 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30010 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
30011 definition.
30012 (PSEUDO_END): Likewise.
30013 [IS_IN (libpthread)] (CENABLE): Likewise.
30014 [IS_IN (libpthread)] (CDISABLE): Likewise.
30015 [IS_IN (libc)] (CENABLE): Likewise.
30016 [IS_IN (libc)] (CENABLE): Likewise.
30017 [IS_IN (librt)] (CDISABLE): Likewise.
30018 [IS_IN (librt)] (CDISABLE): Likewise.
30019 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30020 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
30021 definition.
30022 (PSEUDO_END): Likewise.
30023 [IS_IN (libpthread)] (CENABLE): Likewise.
30024 [IS_IN (libpthread)] (CDISABLE): Likewise.
30025 [IS_IN (libc)] (CENABLE): Likewise.
30026 [IS_IN (libc)] (CENABLE): Likewise.
30027 [IS_IN (librt)] (CDISABLE): Likewise.
30028 [IS_IN (librt)] (CDISABLE): Likewise.
30029 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30030 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
30031 Remove definition.
30032 (PSEUDO_END): Likewise.
30033 [IS_IN (libpthread)] (CENABLE): Likewise.
30034 [IS_IN (libpthread)] (CDISABLE): Likewise.
30035 [IS_IN (libc)] (CENABLE): Likewise.
30036 [IS_IN (libc)] (CENABLE): Likewise.
30037 [IS_IN (librt)] (CDISABLE): Likewise.
30038 [IS_IN (librt)] (CDISABLE): Likewise.
30039 (SINGLE_THREAD_P): Likewise.
30040 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
30041 definition.
30042 (PSEUDO_END): Likewise.
30043 [IS_IN (libpthread)] (CENABLE): Likewise.
30044 [IS_IN (libpthread)] (CDISABLE): Likewise.
30045 [IS_IN (libc)] (CENABLE): Likewise.
30046 [IS_IN (libc)] (CENABLE): Likewise.
30047 [IS_IN (librt)] (CDISABLE): Likewise.
30048 [IS_IN (librt)] (CDISABLE): Likewise.
30049 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30050 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
30051 definition.
30052 (PSEUDO_END): Likewise.
30053 [IS_IN (libpthread)] (CENABLE): Likewise.
30054 [IS_IN (libpthread)] (CDISABLE): Likewise.
30055 [IS_IN (libc)] (CENABLE): Likewise.
30056 [IS_IN (libc)] (CENABLE): Likewise.
30057 [IS_IN (librt)] (CDISABLE): Likewise.
30058 [IS_IN (librt)] (CDISABLE): Likewise.
30059 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30060 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
30061 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
30062 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
30063 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
30064 definition.
30065 (PSEUDO_END): Likewise.
30066 [IS_IN (libpthread)] (CENABLE): Likewise.
30067 [IS_IN (libpthread)] (CDISABLE): Likewise.
30068 [IS_IN (libc)] (CENABLE): Likewise.
30069 [IS_IN (libc)] (CENABLE): Likewise.
30070 [IS_IN (librt)] (CDISABLE): Likewise.
30071 [IS_IN (librt)] (CDISABLE): Likewise.
30072 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30073 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
30074 definition.
30075 (PSEUDO_END): Likewise.
30076 [IS_IN (libpthread)] (CENABLE): Likewise.
30077 [IS_IN (libpthread)] (CDISABLE): Likewise.
30078 [IS_IN (libc)] (CENABLE): Likewise.
30079 [IS_IN (libc)] (CENABLE): Likewise.
30080 [IS_IN (librt)] (CDISABLE): Likewise.
30081 [IS_IN (librt)] (CDISABLE): Likewise.
30082 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30083 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
30084 definition.
30085 (PSEUDO_END): Likewise.
30086 [IS_IN (libpthread)] (CENABLE): Likewise.
30087 [IS_IN (libpthread)] (CDISABLE): Likewise.
30088 [IS_IN (libc)] (CENABLE): Likewise.
30089 [IS_IN (libc)] (CENABLE): Likewise.
30090 [IS_IN (librt)] (CDISABLE): Likewise.
30091 [IS_IN (librt)] (CDISABLE): Likewise.
30092 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30093 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
30094 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30095 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
30096 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
30097 definition.
30098 (PSEUDO_END): Likewise.
30099 [IS_IN (libpthread)] (CENABLE): Likewise.
30100 [IS_IN (libpthread)] (CDISABLE): Likewise.
30101 [IS_IN (libc)] (CENABLE): Likewise.
30102 [IS_IN (libc)] (CENABLE): Likewise.
30103 [IS_IN (librt)] (CDISABLE): Likewise.
30104 [IS_IN (librt)] (CDISABLE): Likewise.
30105 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30106 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
30107 definition.
30108 (PSEUDO_END): Likewise.
30109 [IS_IN (libpthread)] (CENABLE): Likewise.
30110 [IS_IN (libpthread)] (CDISABLE): Likewise.
30111 [IS_IN (libc)] (CENABLE): Likewise.
30112 [IS_IN (libc)] (CENABLE): Likewise.
30113 [IS_IN (librt)] (CDISABLE): Likewise.
30114 [IS_IN (librt)] (CDISABLE): Likewise.
30115 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
30116
8aa48656
SN
301172017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
30118
30119 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
30120
fcaaca41
L
301212017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30122
30123 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30124
376b40a2
L
301252017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30126
30127 [BZ #21982]
30128 * string/stratcliff.c (do_test): Declare size, nchars, inner,
30129 middle and outer with size_t instead of int. Repleace %d and
30130 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
30131 "MAX (outer, nchars - 64)" to support unsigned outer and
30132 nchars. Also exit loop when outer == 0.
30133
2b0b9a1c
AZ
301342017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30135
30136 * include/fcntl.h (__fcntl_nocancel): Remove definition.
30137 * include/signal.h (__sigsuspend_nocancel): Likewise.
30138 * include/time.h (__nanosleep_nocancel): Likewise.
30139 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
30140 * login/utmp_file.c: Include non cancellable syscall header.
30141 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
30142 prototype.
30143
b9eaca8f
L
301442017-08-23 H.J. Lu <hongjiu.lu@intel.com>
30145
30146 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
30147 .byte sequences with AVX512F instructions.
30148 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
30149 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
30150 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
30151 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
30152 Likewise.
30153 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
30154 Likewise.
30155
5a706f64
SE
301562017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
30157 Steve Ellcey <sellcey@cavium.com>
30158
30159 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
30160 Use PTR_REG macro in cmp instruction.
30161
b513da7e
GG
301622017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30163
30164 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
30165 Change the return type of the ifunc resolver to match the return
30166 type of the target function.
30167
78ca091c
AZ
301682017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30169
b70b6026
AZ
30170 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
30171 (preadv64): Likewise.
30172 (pwrite64(: Likewise.
30173 (pwritev64): Likewise.
30174
78ca091c
AZ
30175 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
30176 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
30177 (LOAD_ARGS_0): Likewise.
30178 (LOAD_ARGS_1): Likewise.
30179 (LOAD_ARGS_2): Likewise.
30180 (LOAD_ARGS_3): Likewise.
30181 (LOAD_ARGS_4): Likewise.
30182 (LOAD_ARGS_5): Likewise.
30183 (LOAD_ARGS_6): Likewise.
30184 (LOAD_REGS_0): Likewise.
30185 (LOAD_REGS_1): Likewise.
30186 (LOAD_REGS_2): Likewise.
30187 (LOAD_REGS_3): Likewise.
30188 (LOAD_REGS_4): Likewise.
30189 (LOAD_REGS_5): Likewise.
30190 (LOAD_REGS_6): Likewise.
30191 (ASM_ARGS_0): Likewise.
30192 (ASM_ARGS_1): Likewise.
30193 (ASM_ARGS_2): Likewise.
30194 (ASM_ARGS_3): Likewise.
30195 (ASM_ARGS_4): Likewise.
30196 (ASM_ARGS_5): Likewise.
30197 (ASM_ARGS_6): Likewise.
30198 (LOAD_ARGS_TYPES_1): Likewise.
30199 (LOAD_ARGS_TYPES_2): Likewise.
30200 (LOAD_ARGS_TYPES_3): Likewise.
30201 (LOAD_ARGS_TYPES_4): Likewise.
30202 (LOAD_ARGS_TYPES_5): Likewise.
30203 (LOAD_ARGS_TYPES_6): Likewise.
30204 (LOAD_REGS_TYPES_1): Likewise.
30205 (LOAD_REGS_TYPES_2): Likewise.
30206 (LOAD_REGS_TYPES_3): Likewise.
30207 (LOAD_REGS_TYPES_4): Likewise.
30208 (LOAD_REGS_TYPES_5): Likewise.
30209 (LOAD_REGS_TYPES_6): Likewise.
30210 (TYPEFY): New define.
30211 (ARGIFY): Likewise.
30212 (internal_syscall0): Likewise.
30213 (internal_syscall1): Likewise.
30214 (internal_syscall2): Likewise.
30215 (internal_syscall3): Likewise.
30216 (internal_syscall4): Likewise.
30217 (internal_syscall5): Likewise.
30218 (internal_syscall6): Likewise.
30219 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
30220 (INTERNAL_SYSCALL_NCS): Remove define.
30221 (internal_syscall1): Add define.
30222
453a493d
GG
302232017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30224
30225 * math/w_remainder_compat.c: Remove duplicate inclusion of
30226 math-svid-compat.h.
30227 * math/w_remainderf_compat.c: Likewise.
30228 * math/w_remainderl_compat.c: Likewise.
30229
f2f048a5
GG
302302017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30231
30232 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30233
d9bef9c0
JM
302342017-08-22 Joseph Myers <joseph@codesourcery.com>
30235
30236 [BZ #21684]
30237 * math/tgmath.h (__floating_type): Simplify definitions.
30238 (__real_integer_type): New macro.
30239 (__complex_integer_type): Likewise.
30240 (__expr_is_real): Likewise.
30241 (__tgmath_real_type_sub): Update comment to describe handling of
30242 complex types.
30243 (__tgmath_complex_type_sub): New macro.
30244 (__tgmath_complex_type): Likewise.
30245 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30246 (__TGMATH_CF128): Use __expr_is_real.
30247 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
30248 __expr_is_real.
30249 (__TGMATH_BINARY_REAL_IMAG): Likewise.
30250 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
30251 * math/gen-tgmath-tests.py (Type.create_type): Create complex
30252 integer types.
30253
08d6eb46
AZ
302542017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30255
988f991b
AZ
30256 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
30257 macro.
30258 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
30259 alias.
30260 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
30261 Likewise.
30262
6f33fd04
AZ
30263 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
30264 nanosleep_not_cancel with __nanosleep_nocancel.
30265 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
30266 (__nanosleep_nocancel): New macro.
30267 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
30268 function.
30269 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
30270 macro.
30271 (__nanosleep_nocancel): New prototype.
30272
08d6eb46
AZ
30273 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
30274 pause_not_cancel with __pause_nocancel.
30275 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
30276 (__pause_nocancel): New macro.
30277 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
30278 macro.
30279 (__pause_nocancel): New prototype.
30280 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
30281
ee4e992e
MS
302822017-08-22 Martin Sebor <msebor@redhat.com>
30283
30284 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
30285 to return a pointer to the same type as the target function.
30286
20962acb
L
302872017-08-22 H.J. Lu <hongjiu.lu@intel.com>
30288
30289 [BZ #18822]
30290 [BZ #21986]
30291 * include/printf.h (__printf_fphex): Add attribute_hidden.
30292 (__guess_grouping): New prototype.
30293 * stdio-common/printf_fp.c (__guess_grouping): Removed.
30294 * stdio-common/reg-printf.c (__register_printf_specifier): Add
30295 libc_hidden_proto and libc_hidden_def.
30296 * stdlib/strfmon_l.c (__guess_grouping): Removed.
30297 (__vstrfmon_l): Remove the third argument passed to
30298 __guess_grouping.
30299
a16e8bc0
GG
303002017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30301
30302 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
30303 definition for issignaling that does not rely on __MATH_TG,
30304 since __MATH_TG uses __builtin_types_compatible_p, which is only
30305 available in C mode.
30306 (CFLAGS-test-math-issignaling.cc): New variable.
30307 * math/Makefile [CXX] (tests): Add test-math-issignaling.
30308 * math/test-math-issignaling.cc: New test for C++ implementation
30309 of type-generic issignaling.
30310 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
30311 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
30312 options of test-math-issignaling on powerpc64le.
30313
8d2ec553
L
303142017-08-22 H.J. Lu <hongjiu.lu@intel.com>
30315
30316 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30317 building libc.a.
30318 (hidden_proto): Likewise.
30319 (hidden_tls_proto): Likewise.
30320 (__hidden_proto): Likewise.
30321
a4d57b79
FW
303222017-08-22 Florian Weimer <fweimer@redhat.com>
30323
30324 math: Statically link tests of internal functionality.
30325 * math/Makefile (tests): Remove atest-exp, atest-sincos,
30326 atest-exp2.
30327 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
30328 (gmp-objs): Remove assignment.
30329 (atest-exp, atest-sincos, atest-exp2): Remove targets.
30330
75dfe623
JM
303312017-08-22 Joseph Myers <joseph@codesourcery.com>
30332
80f91666
JM
30333 [BZ #21987]
30334 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
30335 and copy to ...
30336 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
30337 ... here.
30338 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
30339 ... and here.
30340
75dfe623
JM
30341 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
30342 variable definitions above inclusion of ../Rules.
30343
ea99fcd0
JM
303442017-08-21 Joseph Myers <joseph@codesourcery.com>
30345
30346 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
30347 case calling __builtin_unreachable.
30348
19926de9
AZ
303492017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30350
a8410a5f
AZ
30351 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
30352 __waitpid_nocancel.
30353 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
30354 (__waitpid_nocancel): New macro.
30355 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
30356 macro.
30357 (__waitpid_nocancel): Replace macro with a function.
30358 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
30359 function.
30360
7369800c
AZ
30361 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
30362 __fcntl_nocancel.
30363 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
30364 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
30365
19926de9
AZ
30366 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
30367 __writev_nocancel_nostatus.
30368 (write_call_graph): Likewise.
30369 (write_bb_counts): Likewise.
30370 * resolv/herror.c (herror): Likewise.
30371 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
30372 macro.
30373 (__writev_nocancel_nostatus): New macro.
30374 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
30375 Remove macro.
30376 (__writev_nocancel_nostatus): New function.
30377
813378e9
JM
303782017-08-21 Joseph Myers <joseph@codesourcery.com>
30379
df1deda6
JM
30380 Revert:
30381 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30382
30383 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30384 building libc.a.
30385 (hidden_proto): Likewise.
30386 (hidden_tls_proto): Likewise.
30387 (__hidden_proto): Likewise.
30388
831bbd55
JM
30389 [BZ #21973]
30390 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
30391 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
30392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
30393 Likewise.
30394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
30395 Likewise.
30396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
30397 Likewise.
30398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
30399 Likewise.
30400 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
30401 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
30402 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
30403 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
30404 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
30405 GLIBC_2.0 sqrtl symbol.
30406
813378e9
JM
30407 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
30408 [__USE_MISC] (_LIB_VERSION): Likewise.
30409 [__USE_MISC] (struct exception): Likewise.
30410 [__USE_MISC] (matherr): Likewise.
30411 [__USE_MISC] (DOMAIN): Likewise.
30412 [__USE_MISC] (SING): Likewise.
30413 [__USE_MISC] (OVERFLOW): Likewise.
30414 [__USE_MISC] (UNDERFLOW): Likewise.
30415 [__USE_MISC] (TLOSS): Likewise.
30416 [__USE_MISC] (PLOSS): Likewise.
30417 [__USE_MISC] (HUGE): Likewise.
30418 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
30419 * math/math-svid-compat.h: New file.
30420 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
30421 and matherrl.
30422 * include/math.h [!_ISOMAC] (__matherr): Remove.
30423 * manual/arith.texi (FP Exceptions): Do not document matherr.
30424 * math/Makefile (tests): Change test-matherr to test-matherr-3.
30425 (tests-internal): New variable.
30426 (install-lib): Do not add libieee.a.
30427 (non-lib.a): Likewise.
30428 (extra-objs): Do not add libieee.a and ieee-math.o.
30429 (CPPFLAGS-s_lib_version.c): Remove variable.
30430 ($(objpfx)libieee.a): Remove rule.
30431 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
30432 * math/ieee-math.c: Remove.
30433 * math/libm-test-support.c (matherr): Remove.
30434 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
30435 and license notices. Include <math-svid-compat.h> and
30436 <shlib-compat.h>.
30437 (matherr): Undefine as macro. Use compat_symbol_reference.
30438 (_LIB_VERSION): Likewise.
30439 * math/test-matherr-2.c: New file.
30440 * math/test-matherr-3.c: Likewise.
30441 * sysdeps/generic/math_private.h (__kernel_standard): Remove
30442 declaration.
30443 (__kernel_standard_f): Likewise.
30444 (__kernel_standard_l): Likewise.
30445 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
30446 <math_private.h>. Include <math-svid-compat.h>.
30447 (_LIB_VERSION): Undefine as macro.
30448 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
30449 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
30450 [LIBM_SVID_COMPAT], use compat_symbol.
30451 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
30452 <math_private.h>. Include <math-svid-compat.h>.
30453 (matherr): Undefine as macro.
30454 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
30455 compat_symbol.
30456 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
30457 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
30458 compat_symbol_reference.
30459 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
30460 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
30461 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
30462 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
30463 (MATHERR_D): Remove declaration.
30464 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
30465 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
30466 [LIBM_BUILD] (pmatherrf): Likewise.
30467 [LIBM_BUILD] (pmatherr): Likewise.
30468 [LIBM_BUILD] (pmatherrl): Likewise.
30469 (DOMAIN): Likewise.
30470 (SING): Likewise.
30471 (OVERFLOW): Likewise.
30472 (UNDERFLOW): Likewise.
30473 (TLOSS): Likewise.
30474 (PLOSS): Likewise.
30475 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
30476 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
30477 compat_symbol.
30478 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
30479 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
30480 compat_symbol.
30481 * math/lgamma-compat.h: Include <math-svid-compat.h>.
30482 * math/w_acos_compat.c: Likewise.
30483 * math/w_acosf_compat.c: Likewise.
30484 * math/w_acosh_compat.c: Likewise.
30485 * math/w_acoshf_compat.c: Likewise.
30486 * math/w_acoshl_compat.c: Likewise.
30487 * math/w_acosl_compat.c: Likewise.
30488 * math/w_asin_compat.c: Likewise.
30489 * math/w_asinf_compat.c: Likewise.
30490 * math/w_asinl_compat.c: Likewise.
30491 * math/w_atan2_compat.c: Likewise.
30492 * math/w_atan2f_compat.c: Likewise.
30493 * math/w_atan2l_compat.c: Likewise.
30494 * math/w_atanh_compat.c: Likewise.
30495 * math/w_atanhf_compat.c: Likewise.
30496 * math/w_atanhl_compat.c: Likewise.
30497 * math/w_cosh_compat.c: Likewise.
30498 * math/w_coshf_compat.c: Likewise.
30499 * math/w_coshl_compat.c: Likewise.
30500 * math/w_exp10_compat.c: Likewise.
30501 * math/w_exp10f_compat.c: Likewise.
30502 * math/w_exp10l_compat.c: Likewise.
30503 * math/w_exp2_compat.c: Likewise.
30504 * math/w_exp2f_compat.c: Likewise.
30505 * math/w_exp2l_compat.c: Likewise.
30506 * math/w_fmod_compat.c: Likewise.
30507 * math/w_fmodf_compat.c: Likewise.
30508 * math/w_fmodl_compat.c: Likewise.
30509 * math/w_hypot_compat.c: Likewise.
30510 * math/w_hypotf_compat.c: Likewise.
30511 * math/w_hypotl_compat.c: Likewise.
30512 * math/w_j0_compat.c: Likewise.
30513 * math/w_j0f_compat.c: Likewise.
30514 * math/w_j0l_compat.c: Likewise.
30515 * math/w_j1_compat.c: Likewise.
30516 * math/w_j1f_compat.c: Likewise.
30517 * math/w_j1l_compat.c: Likewise.
30518 * math/w_jn_compat.c: Likewise.
30519 * math/w_jnf_compat.c: Likewise.
30520 * math/w_jnl_compat.c: Likewise.
30521 * math/w_lgamma_main.c: Likewise.
30522 * math/w_lgamma_r_compat.c: Likewise.
30523 * math/w_lgammaf_main.c: Likewise.
30524 * math/w_lgammaf_r_compat.c: Likewise.
30525 * math/w_lgammal_main.c: Likewise.
30526 * math/w_lgammal_r_compat.c: Likewise.
30527 * math/w_log10_compat.c: Likewise.
30528 * math/w_log10f_compat.c: Likewise.
30529 * math/w_log10l_compat.c: Likewise.
30530 * math/w_log2_compat.c: Likewise.
30531 * math/w_log2f_compat.c: Likewise.
30532 * math/w_log2l_compat.c: Likewise.
30533 * math/w_log_compat.c: Likewise.
30534 * math/w_logf_compat.c: Likewise.
30535 * math/w_logl_compat.c: Likewise.
30536 * math/w_pow_compat.c: Likewise.
30537 * math/w_powf_compat.c: Likewise.
30538 * math/w_powl_compat.c: Likewise.
30539 * math/w_remainder_compat.c: Likewise.
30540 * math/w_remainderf_compat.c: Likewise.
30541 * math/w_remainderl_compat.c: Likewise.
30542 * math/w_scalb_compat.c: Likewise.
30543 * math/w_scalbf_compat.c: Likewise.
30544 * math/w_scalbl_compat.c: Likewise.
30545 * math/w_sinh_compat.c: Likewise.
30546 * math/w_sinhf_compat.c: Likewise.
30547 * math/w_sinhl_compat.c: Likewise.
30548 * math/w_sqrt_compat.c: Likewise.
30549 * math/w_sqrtf_compat.c: Likewise.
30550 * math/w_sqrtl_compat.c: Likewise.
30551 * math/w_tgamma_compat.c: Likewise.
30552 * math/w_tgammaf_compat.c: Likewise.
30553 * math/w_tgammal_compat.c: Likewise.
30554 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
30555 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
30556 * sysdeps/ieee754/k_standard.c: Likewise.
30557 * sysdeps/ieee754/k_standardf.c: Likewise.
30558 * sysdeps/ieee754/k_standardl.c: Likewise.
30559 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
30560 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
30561 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
30562 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
30563 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
30564 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
30565 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
30566 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
30567 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
30568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
30569 Likewise.
30570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
30571 Likewise.
30572 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
30573 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
30574 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
30575 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
30576
4504783c
FW
305772017-08-21 Florian Weimer <fweimer@redhat.com>
30578
30579 [BZ #21864]
30580 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
30581 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
30582 Move before inclusion of ../Rules.
30583
b5889d25
FW
305842017-08-21 Florian Weimer <fweimer@redhat.com>
30585
30586 [BZ #21972]
30587 * assert/assert.h (assert): Use static_cast (bool) for C++.
30588 Use the ternary operator in the warning branch for GNU C.
30589 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
30590 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
30591 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
30592 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
30593 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
30594
41e673c1
L
305952017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30596
30597 [BZ #18822]
30598 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30599 (__syscall_clock_gettime): Add attribute_hidden.
30600 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
30601 (__start_context): Likewise.
30602
568ff429
L
306032017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30604
30605 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
30606 building libc.a.
30607 (hidden_proto): Likewise.
30608 (hidden_tls_proto): Likewise.
30609 (__hidden_proto): Likewise.
30610
7c41b4a1
L
306112017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30612
30613 * include/libc-symbols.h (attribute_hidden): Enable hidden
30614 visibility in libc.a compiled with PIE.
30615
483d7068
L
306162017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30617
30618 [BZ #18822]
30619 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
30620 Add attribute_hidden.
30621
306222017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30623
30624 [BZ #21864]
30625 * Makerules (all-nonlib): Add $(others-extras).
30626 * catgets/Makefile (others-extras): New.
30627 * elf/Makefile (others-extras): Likewise.
30628 * nss/Makefile (others-extras): Likewise.
30629
54e4b8f2
L
306302017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30631
30632 [BZ #18822]
30633 * csu/libc-start.c (__libc_multiple_libcs): Removed.
30634 * elf/dl-open.c: Include <libc-internal.h>.
30635 (__libc_multiple_libcs): Removed.
30636 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
30637 <hp-timing.h>.
30638 * include/libc-internal.h (__libc_multiple_libcs): New.
30639 * misc/sbrk.c: Include <libc-internal.h>.
30640 (__libc_multiple_libcs): Removed.
30641
1dbbb1ec
L
306422017-08-21 H.J. Lu <hongjiu.lu@intel.com>
30643
30644 [BZ #18822]
30645 * grp/initgroups.c (__nss_group_database): Removed.
30646 (__nss_initgroups_database): Likewise.
30647 * nscd/gai.c (__nss_hosts_database): Likewise.
30648 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
30649 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
30650 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
30651 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
30652 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
30653 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
30654 attribute_hidden.
30655 * nss/nsswitch.c (__nss_database_custom): Define only if
30656 USE_NSCD is defined.
30657 (__nss_configure_lookup): Use __nss_database_custom only if
30658 USE_NSCD is defined.
30659 * nss/nsswitch.h (__nss_database_custom): Declare only if
30660 USE_NSCD is defined. Add attribute_hidden.
30661 (__nss_setent): Add attribute_hidden.
30662 (__nss_endent): Likewise.
30663 (__nss_getent_r): Likewise.
30664 (__nss_getent): Likewise.
30665 (DEFINE_DATABASE): Declare __nss_##arg##_database.
30666
2585d7b8
L
306672017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30668
30669 [BZ #18822]
30670 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
30671 libc_hidden_proto and libc_hidden_def.
30672
c8dfa99c
L
306732017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30674
30675 [BZ #18822]
30676 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
30677 Add libc_hidden_proto.
30678 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
30679 Add libc_hidden_def.
30680
7ed87317
L
306812017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30682
30683 [BZ #21974]
30684 * gmon/Makefile (routines): Remove bb_init_func and
30685 bb_exit_func.
30686 (elide-routines.os): Removed.
9476b904
L
30687 * gmon/bb_exit_func.c: Likewise.
30688 * gmon/bb_init_func.c: Likewise.
7ed87317
L
30689 * include/sys/gmon.h (__bb): Likewise.
30690 (__bb_init_func): Likewise.
30691 (__bb_exit_func): Likewise.
91695eb1 30692 * sysdeps/alpha/bb_init_func.S: Likewise.
7ed87317 30693
94e6ba15
L
306942017-08-20 H.J. Lu <hongjiu.lu@intel.com>
30695
30696 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
30697 * include/setjmp.h (____longjmp_chk): Here. Add
30698 attribute_hidden.
30699
7550717e
L
307002017-08-19 H.J. Lu <hongjiu.lu@intel.com>
30701
30702 [BZ #18822]
30703 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
30704 attribute_hidden.
30705 (__strspn_sse2): Likewise.
30706
0bb2fabc
AZ
307072017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30708
c181840c
AZ
30709 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
30710 (close_not_cancel_no_status): Likewise.
30711 (__close_nocancel): New macro.
30712 (__close_nocancel_nostatus): Likewise.
30713 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
30714 macro.
30715 (close_not_cancel): Likewise.
30716 (close_not_cancel_no_status): Likewise.
30717 (__close_nocancel): New prototype.
30718 (__close_nocancel_nostatus): New function.
30719 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
30720 * catgets/open_catalog.c (__open_catalog): Replace
30721 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
30722 * gmon/gmon.c (write_gmon): Likewise.
30723 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
30724 * intl/loadmsgcat.c (close): Likewise.
30725 * io/ftw.c (open_dir_stream): Likewise.
30726 (ftw_startup): Likewise.
30727 * libio/fileops.c (_IO_file_open): Likewise.
30728 (_IO_file_close_mmap): Likewise.
30729 (_IO_file_close): Likewise.
30730 * libio/iopopen.c (_IO_dup2): Likewise.
30731 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30732 * locale/loadlocale.c (_nl_load_locale): Likewise.
30733 * login/utmp_file.c (pututline_file): Likewise.
30734 (endutent_file): Likewise.
30735 * misc/daemon.c (daemon): Likewise.
30736 * nscd/nscd_getai.c (__nscd_getai): Likewise.
30737 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
30738 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
30739 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
30740 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30741 * nscd/nscd_helper.c (open_socket): Likewise.
30742 (__nscd_open_socket): Likewise.
30743 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
30744 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
30745 (__nscd_innetgr): Likewise.
30746 * nss/nss_db/db-open.c (internal_setent): Likewise.
30747 * resolv/res-close.c (__res_iclose): Likewise.
30748 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
30749 * sysdeps/posix/closedir.c (__closedir): Likewise.
30750 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
30751 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
30752 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
30753 (opendir_tail): Likewise.
30754 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
30755 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
30756 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
30757 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
30758 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
30759 (gethostid): Likewise.
30760 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
30761 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30762 Likewise.
30763 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30764 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
30765 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
30766 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
30767 Likewise.
30768 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
30769 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
30770 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
30771 Likewise.
30772 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
30773 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
30774 Likewise.
30775 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
30776 Likewise.
30777 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
30778 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
30779 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
30780 __close_nocancel.
30781
0bb2fabc
AZ
30782 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
30783 (openat_not_cancel_3): Likewise.
30784 (openat64_not_cancel_3): Likewise).
30785 (openat_not_cancel_3): Likewise).
30786 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
30787 macro.
30788 (openat_not_cancel_3): Likewise.
30789 (openat64_not_cancel): Likewise.
30790 (openat64_not_cancel_3): Likewise.
30791 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
30792 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
30793 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
30794 __open{64}_nocancel.
30795 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
30796 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
30797 * sysdeps/posix/opendir.c (__opendirat): Likewise.
30798
65a086db
L
307992017-08-18 H.J. Lu <hongjiu.lu@intel.com>
30800
30801 [BZ #18822]
30802 * include/argz.h (__argz_create_sep): New function prototype.
30803 (__argz_append): Likewise.
30804 (__argz_add): Likewise.
30805 (__argz_add_sep): Likewise.
30806 (__argz_delete): Likewise.
30807 (__argz_insert): Likewise.
30808 (__argz_replace): Likewise.
30809 * string/argz.h (__argz_create_sep): Removed.
30810 (__argz_append): Likewise.
30811 (__argz_add): Likewise.
30812 (__argz_add_sep): Likewise.
30813 (__argz_delete): Likewise.
30814 (__argz_insert): Likewise.
30815 (__argz_replace): Likewise.
30816
62753d2c
L
308172017-08-18 H.J. Lu <hongjiu.lu@intel.com>
30818
30819 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
30820 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
30821 (GNU_PROPERTY_STACK_SIZE): Likewie.
30822 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
30823 (GNU_PROPERTY_LOPROC): Likewise.
30824 (GNU_PROPERTY_HIPROC): Likewise.
30825 (GNU_PROPERTY_LOUSER): Likewise.
30826 (GNU_PROPERTY_HIUSER): Likewise.
30827 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
30828 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
30829 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
30830 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
30831 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
30832 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
30833 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
30834 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
30835 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
30836 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
30837 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
30838 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
30839 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
30840 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
30841 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
30842 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
30843 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
30844 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
30845 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
30846 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
30847 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
30848 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
30849 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
30850
6913ad65
GG
308512017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30852
30853 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
30854 in C++ mode.
30855
47a67213
GG
308562017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30857
30858 [BZ #21930]
30859 * math/math.h (isinf): Check if in C or C++ mode before using
30860 __builtin_types_compatible_p, since this is a C mode feature.
30861
a748eb31
AZ
308622017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30863
c647fb88
AZ
30864 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
30865 (__write_nocancel): New macro.
30866 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
30867 Rewrite as a function prototype.
30868 (write_not_cancel): Remove macro.
30869 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
30870 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
30871 (write_gmon): Likewise.
30872 * libio/fileops.c (_IO_new_file_write): Likewise.
30873 * login/utmp_file.c (pututline_file): Likewise.
30874 (updwtmp_file): Likewise.
30875 * stdio-common/psiginfo.c (psiginfo): Likewise.
30876 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
30877 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
30878 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
30879 Likewise.
30880 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
30881 Likewise.
30882
a748eb31
AZ
30883 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
30884 (__read_nocancel): New macro.
30885 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
30886 __read_nocancel.
30887 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
30888 macro.
30889 (__read_nocancel): New prototype.
30890 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
30891 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
30892 with __read_nocancel.
30893 * intl/loadmsgcat.c (read): Likewise.
30894 * libio/fileops.c (_IO_file_read): Likewise.
30895 * locale/loadlocale.c (_nl_load_locale): Likewise.
30896 * login/utmp_file.c (getutent_r_file): Likewise.
30897 (internal_getut_r): Likewise.
30898 (getutline_r_file): Likewise.
30899 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
30900 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
30901 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
30902 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30903 Likewise.
30904 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
30905 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
30906 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
30907 Likewise.
30908 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
30909 Likewise.
30910 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
30911 Likewise.
30912 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
30913 Likewise.
30914 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
30915
098b9dd4
L
309162017-08-18 H.J. Lu <hongjiu.lu@intel.com>
30917
30918 [BZ #21966]
30919 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
30920 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
30921 usable.
30922
a3fe6a20
DD
309232017-08-17 DJ Delorie <dj@redhat.com>
30924
30925 * bug17079.c: Update to new test harness.
30926 * test-digits-dots.c: Likewise.
30927 * test-netdb.c: Likewise.
30928 * tst-field.c: Likewise.
30929 * tst-nss-getpwent.c: Likewise.
30930 * tst-nss-static.c: Likewise.
30931 * tst-nss-test1.c: Likewise.
30932 * tst-nss-test2.c: Likewise.
30933 * tst-nss-test3.c: Likewise.
30934 * tst-nss-test4.c: Likewise.
30935 * tst-nss-test5.c: Likewise.
30936
c2284574
AZ
309372017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30938
30939 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
30940 (open_not_cancel_2): Likewise.
30941 (open_nocancel): New macro.
30942 (open64_nocancel): Likewise.
30943 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
30944 (open_not_cancel_2): Likewise.
30945 (__open_nocancel): New prototype.
30946 (__open64_nocancel): Likewise.
30947 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
30948 __open_nocancel.
30949 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
30950 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
30951 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
30952 with __open_nocancel.
30953 * csu/check_fds.c (check_one_fd): Likewise.
30954 * gmon/gmon.c (write_gmon): Likewise.
30955 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
30956 * intl/loadmsgcat.c (open): Likewise.
30957 * libio/fileops.c (_IO_file_open): Likewise.
30958 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30959 * locale/loadlocale.c (_nl_load_locale): Likewise.
30960 * login/utmp_file.c (setutent_file): Likewise.
30961 * misc/daemon.c (daemon): Likewise.
30962 * nss/nss_db/db-open.c (internal_setent): Likewise.
30963 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
30964 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
30965 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
30966 (__opendir): Likewise.
30967 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
30968 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
30969 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
30970 (gethostid): Likewise.
30971 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
30972 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30973 Likewise.
30974 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30975 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
30976 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
30977 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
30978 Likewise.
30979 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
30980 Likewise.
30981 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
30982 Likewise.
30983 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
30984 Likewise.
30985 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
30986 Likewise.
30987 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
30988 Likewise.
30989 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
30990 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
30991
d4505b89
WD
309922017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
30993
30994 * benchtests/bench-skeleton.c (main): Add support for
30995 latency benchmarking.
30996 * benchtests/scripts/bench.py: Add support for latency benchmarking.
30997
34d6a3cb
L
309982017-08-17 H.J. Lu <hongjiu.lu@intel.com>
30999
31000 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
31001 the startup object.
31002
038d1caf
FW
310032017-08-17 Florian Weimer <fweimer@redhat.com>
31004
31005 * include/sys/socket.h (__opensock): Remove internal_function.
31006 * socket/opensock.c (__opensock): Likewise.
31007 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
31008
67f0aff0
JM
310092017-08-16 Joseph Myers <joseph@codesourcery.com>
31010
31011 [BZ #21944]
31012 * signal/bits/types/__sigval_t.h: New file.
31013 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
31014 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
31015 and define sigval_t using __sigval_t.
31016 * include/bits/types/__sigval_t.h: New file.
31017 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
31018 instead of <bits/types/__sigval_t.h>.
31019 (struct sigevent): Use __sigval_t instead of sigval_t.
31020 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
31021 instead of <bits/types/__sigval_t.h>.
31022 (siginfo_t): Use __sigval_t instead of sigval_t.
31023 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
31024 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
31025 (struct sigevent): Use __sigval_t instead of sigval_t.
31026 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
31027 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
31028 (siginfo_t): Use __sigval_t instead of sigval_t.
31029 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
31030
87e7bf4d
L
310312017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31032
31033 * NEWS: Remove "[Add new features here]" for 2.27.
31034
5047057f
JM
310352017-08-16 Joseph Myers <joseph@codesourcery.com>
31036
31037 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
31038 libc.so.
31039
20c7b195
L
310402017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31041
31042 * NEWS: Mention x86-64 FMA optimization.
31043
24a2e658
L
310442017-08-16 H.J. Lu <hongjiu.lu@intel.com>
31045
31046 [BZ #21912]
31047 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31048 Add e_expf-fma.
31049 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
31050 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
31051 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
31052
eedca977
AS
310532017-08-16 Andreas Schwab <schwab@suse.de>
31054
403143e1
FW
31055 [BZ #16750]
31056 CVE-2009-5064
eedca977
AS
31057 * elf/ldd.bash.in: Never run file directly.
31058
f59f7adb
L
310592017-08-15 H.J. Lu <hongjiu.lu@intel.com>
31060
31061 [BZ #21955]
31062 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
31063 (L(SP_INF_0)): Likewise.
31064
6b11a6ad
FW
310652017-08-15 Florian Weimer <fweimer@redhat.com>
31066
31067 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
31068 run-built-tests.
31069
bbf5c438
FW
310702017-08-15 Florian Weimer <fweimer@redhat.com>
31071
31072 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
31073 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
31074 BROKEN_THREAD_SIGNALS code.
31075 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
31076 request_list): Remove caller_pid member used for
31077 BROKEN_THREAD_SIGNALS.
31078 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
31079 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
31080 Remove BROKEN_THREAD_SIGNALS support.
31081 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
31082 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
31083
6014c65d
FW
310842017-08-15 Florian Weimer <fweimer@redhat.com>
31085
31086 * gmon/Makefile (tests): Add tst-gmon.
31087 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
31088 Set.
31089 (tests-special): Add tst-gmon-prof.out.
31090 (tst-gmon.out): Depend on clean-tst-gmon-data.
31091 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
31092 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
31093 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
31094 startup object.
31095 * aclocal.m4 (GPROF): Set and substitute.
31096 * config.amke.in (GPROF): Set.
31097 * configure: Regenerate.
31098
ee72219a
GR
310992017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
31100
31101 * elf/elf.h A (NT_PPC_TAR): New macro.
31102 (NT_PPC_PPR): Likewise.
31103 (NT_PPC_DSCR): Likewise.
31104 (NT_PPC_EBB): Likewise.
31105 (NT_PPC_PMU): Likewise.
31106 (NT_PPC_TM_CGPR): Likewise.
31107 (NT_PPC_TM_CFPR): Likewise.
31108 (NT_PPC_TM_CVMX): Likewise.
31109 (NT_PPC_TM_CVSX): Likewise.
31110 (NT_PPC_TM_SPR): Likewise.
31111 (NT_PPC_TM_CTAR): Likewise.
31112 (NT_PPC_TM_CPPR): Likewise.
31113 (NT_PPC_TM_CDSCR): Likewise.
31114
4ebf934e
FW
311152017-08-15 Florian Weimer <fweimer@redhat.com>
31116
31117 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
31118 regparm (2) instead of internal_function.
31119 (_MCOUNT_DECL): Adjust.
31120
e9f57484
SL
311212017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
31122
31123 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
31124 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
31125
88ff4d55
JM
311262017-08-14 Joseph Myers <joseph@codesourcery.com>
31127
31128 * conform/data/sys/wait.h-data (si_value): Do not expect for
31129 XPG42.
31130
c88ffc23
FW
311312017-08-14 Florian Weimer <fweimer@redhat.com>
31132
31133 [BZ #21962]
31134 NSS: Create stubs for accidentally exported lookup functions.
31135 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
31136 Remove declaration.
31137 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
31138 (ether_hostton): Call __nss_ethers_lookup2 instead.
31139 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
31140 (ether_ntohost): Call __nss_ethers_lookup2 instead.
31141 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
31142 (setup): Call __nss_netgroup_lookup2 instead.
31143 * nss/Makefile (routines): Add compat-lookup.
31144 * nss/Versions (GLIBC_2.27): Add symbol version.
31145 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
31146 (DB_COMPAT_FCT): Remove.
31147 * nss/compat-lookup.c: New file.
31148 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
31149 from databases.def.
31150 * nss/service-lookup.c (NO_COMPAT): Remove definition.
31151 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
31152 (netname2user): Call __nss_publickey_lookup2 instead.
31153 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
31154 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
31155 instead.
31156
35a29136 311572017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1f14d0c3
AZ
31158 Sergei Trofimovich <slyfox@inbox.ru>
31159
31160 [BZ #21908]
31161 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
31162 Rename to MMAP2_PAGE_UNIT.
31163 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
31164 __OFF_T_MATCHES_OFF64_T is not defined.
31165 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
31166 uint64_t.
31167 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
31168 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
31169
fbdc1e3e
FW
311702017-08-14 Florian Weimer <fweimer@redhat.com>
31171
31172 i386: Do not set internal_function.
31173 * config.h.in (USE_REGPARMS, internal_function): Remove.
31174 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
31175 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
31176
b3f85fd2
FW
311772017-08-14 Florian Weimer <fweimer@redhat.com>
31178
31179 * elf/dl-init.c (_dl_init): Remove internal_function.
31180 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
31181 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
31182
630bf491
FW
311832017-08-14 Florian Weimer <fweimer@redhat.com>
31184
31185 * elf/rtld.c (_dl_start): Remove internal_function.
31186 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
31187 _dl_start.
31188
9fa7449b
FW
311892017-08-14 Florian Weimer <fweimer@redhat.com>
31190
31191 * elf/dl-fini.c (_dl_fini): Remove internal_function
31192 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
31193
73322d5f
L
311942017-08-14 H.J. Lu <hongjiu.lu@intel.com>
31195
d863cd71 31196 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
73322d5f
L
31197 (bit_cpu_SHSTK): Likewise.
31198 (index_cpu_IBT): Likewise.
31199 (index_cpu_SHSTK): Likewise.
31200 (reg_IBT): Likewise.
31201 (reg_SHSTK): Likewise.
31202 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
31203 Handle index_cpu_IBT and index_cpu_SHSTK.
31204
dbc303ef
MF
312052017-08-14 Mike FABIAN <mfabian@redhat.com>
31206
31207 [BZ #19982]
31208 * po/fr.po: Fix spelling mistake.
31209
3012cfb0
FW
312102017-08-13 Florian Weimer <fweimer@redhat.com>
31211
31212 * elf/dl-addr.c (_dl_addr): Remove internal_function.
31213 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
31214 (_dl_catch_error, _dl_receive_error): Likewise.
31215 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
31216 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
31217 (_dl_deallocate_tls): Likewise.
31218 * include/dlfcn.h (_dl_addr): Likewise.
31219 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
31220 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
31221 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
31222 Likewise.
31223
52bcdf26
FW
312242017-08-13 Florian Weimer <fweimer@redhat.com>
31225
31226 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
31227 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
31228 internal_function.
31229 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
31230
e1d2ae8d
FW
312312017-08-13 Florian Weimer <fweimer@redhat.com>
31232
31233 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
31234 internal_function.
31235 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
31236 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
31237 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
31238 internal_function from _dl_make_stack_executable_hook member.
31239 (_dl_make_stack_executable): Remove internal_function.
31240 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
31241 Likewise.
31242 * sysdeps/unix/sysv/linux/dl-execstack.c
31243 (_dl_make_stack_executable): Likewise.
31244
c4ce0382
FW
312452017-08-13 Florian Weimer <fweimer@redhat.com>
31246
31247 * sysdeps/unix/sysv/linux/netlinkaccess.h
31248 (__netlink_assert_response): Remove internal_function.
31249 * sysdeps/unix/sysv/linux/netlink_assert_response.c
31250 (__netlink_assert_response): Likewise.
31251
c4d767f7
FW
312522017-08-13 Florian Weimer <fweimer@redhat.com>
31253
31254 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
31255 internal_function.
31256 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
31257
b2297409
FW
312582017-08-13 Florian Weimer <fweimer@redhat.com>
31259
31260 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
31261 internal_function.
31262 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
31263 * inet/netgroup.h (__internal_setnetgrent)
31264 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
31265 * inet/getnetgrent_r.c (__internal_setnetgrent)
31266 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
31267 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
31268 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
31269 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
31270 * nss/nsswitch.h (db_lookup_function): Likewise.
31271
1b0bfc69
FW
312722017-08-13 Florian Weimer <fweimer@redhat.com>
31273
31274 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
31275 Remove internal_function.
31276 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
31277 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
31278 message argument on the stack.
31279 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
31280 Likeweise.
31281
a6bd8722
MF
312822017-08-12 Mike FABIAN <mfabian@redhat.com>
31283
31284 Adapt test case data to the changes in the thousands
31285 separators.
31286
31287 [BZ #20756]
31288 * localedata/tst-langinfo.sh: Adapt test case data.
31289 * stdlib/tst-strfmon_l.c: Likewise.
31290 * stdlib/tst-strtod4.c: Likewise.
31291 * stdlib/tst-strtod5i.c: Likewise.
31292
8b2c63e4
FW
312932017-08-11 Florian Weimer <fweimer@redhat.com>
31294
31295 [BZ #21242]
31296 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
31297 Suppress pedantic warning resulting from statement expression.
31298 (__ASSERT_FUNCTION): Add missing __extension__.
31299
61c98291
SP
313002017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
31301
86c6519e
SP
31302 * benchtests/bench-memmove-large.c: Print output in JSON
31303 format.
31304 * benchtests/bench-memmove.c: Likewise.
31305
61c98291
SP
31306 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
31307 * benchtests/bench-memchr.c (do_one_test): Likewise.
31308 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
31309 * benchtests/bench-memcpy.c (do_one_test): Likewise.
31310 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
31311 * benchtests/bench-memmove.c (do_one_test): Likewise.
31312 * benchtests/bench-memset-large.c (do_one_test): Likewise.
31313 * benchtests/bench-memset.c (do_one_test): Likewise.
31314 * benchtests/bench-string.h (test_init): Remove memsets.
31315
925733a9
RJ
313162017-08-10 Rical Jasan <ricaljasan@pacific.net>
31317
31318 * manual/lang.texi
31319 (Computing the Width of an Integer Data Type): Rename section to
31320 "Width of an Integer Type". Remove inaccurate statement regarding
31321 lack of C language facilities for determining width of integer
31322 types, and reorder content to improve flow and context of
31323 discussion.
31324
4fcdfbfc
RJ
313252017-08-10 Rical Jasan <ricaljasan@pacific.net>
31326
31327 * lang.texi (va_copy): Change standard from ISO to C99.
31328 (__va_copy): Add standard and header annotation.
31329 Update description for clarity of origins and current use.
31330
4d98ace9
GG
313312017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31332
31333 [BZ #21941]
31334 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
31335 xssqrtqp requires operands to be in Vector Registers
31336 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
31337 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
31338 (__ieee754_sqrtf128): Likewise.
31339
92236903
WD
313402017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
31341
31342 * sysdeps/aarch64/memcmp.S (memcmp):
31343 Rewrite of optimized memcmp.
31344
2449ae7b
FW
313452017-08-10 Florian Weimer <fweimer@redhat.com>
31346
31347 Introduce ld.so exceptions.
31348 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
31349 (_dl_exception_create, _dl_exception_create_format)
31350 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
31351 (_dl_catch_exception): Declare.
31352 (_dl_catch_error): Update comment.
31353 * elf/dl-error-skeleton.c (struct catch): Replace objname,
31354 errstring, malloced members with exception member.
31355 (_dl_out_of_memory): Remove.
31356 (fatal_error): New function, extracted from _dl_signal_error.
31357 (_dl_signal_exception, _dl_signal_cexception): New functions.
31358 (_dl_signal_error): Call _dl_exception_create to allocate an
31359 exception object.
31360 (_dl_catch_exception): New function, based on _dl_catch_error.
31361 (_dl_catch_error): Implement using _dl_catch_exception.
31362 * elf/dl-exception.c: New file.
31363 * elf/Makefile (dl-routines): Add dl-exception.
31364 (elide-routines.os): Likewise.
31365 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
31366 _dl_exception_create_format, _dl_exception_free.
31367 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
31368 _dl_signal_exception.
31369 * elf/dl-lookup.c (make_string): Remove.
31370 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
31371 _dl_signal_cexception, _dl_exception_free.
31372 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
31373 _dl_signal_exception.
31374 * elf/dl-sym.c (do_sym): Likewise.
31375 * elf/dl-version.c (make_string): Remove.
31376 (match_symbol): Use _dl_exception_create_format,
31377 _dl_signal_cexception, _dl_exception_free.
31378 (_dl_check_map_versions): Likewise.
31379 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
31380 _dl_catch_exception.
31381 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
31382 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
31383 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
31384 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
31385 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
31386 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
31387 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
31388 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
31389 Likewise.
31390 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
31391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
31392 (ld.so): Likewise.
31393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
31394 (ld.so): Likewise.
31395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
31396 Likewise.
31397 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
31398 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
31399 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
31400 Likewise.
31401 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
31402 Likewise.
31403 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
31404
f87cc2bf
FW
314052017-08-10 Florian Weimer <fweimer@redhat.com>
31406
31407 * inet/net-internal.h (__inet6_scopeid_pton): Remove
31408 attribute_hidden, internal_function.
31409 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
31410 internal_function.
31411
eac43cbb
FW
314122017-08-10 Florian Weimer <fweimer@redhat.com>
31413
31414 * malloc/malloc.c (get_max_fast): Reimplement as an inline
31415 function which calls __builtin_unreachable.
31416
bd80111e
MF
314172017-08-10 Mike FABIAN <mfabian@redhat.com>
31418
31419 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
31420 Indian monetary formatting
31421 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
31422 test cases.
31423
60e2846e
DL
314242017-08-09 Dmitry V. Levin <ldv@altlinux.org>
31425
68dc02d1
DL
31426 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
31427 Fix typo in comment.
31428
60e2846e
DL
31429 [BZ #21928]
31430 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
31431 PTRACE_SEIZE_DEVEL): Remove.
31432 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
31433 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31434 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31435 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31436 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31437
3d452dab
JM
314382017-08-09 Joseph Myers <joseph@codesourcery.com>
31439
24d9f53a
JM
31440 * posix/bits/types.h (__qaddr_t): Remove.
31441
3d452dab
JM
31442 [BZ #21457]
31443 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
31444 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31445 __glibc_reserved1.
31446 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
31447 (ucontext_t): Use __ctx with uc_flags.
31448 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
31449 (__ctxt): Likewise.
31450 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31451 __glibc_reserved1.
31452 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
31453 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31454 __glibc_reserved1.
31455 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
31456 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31457 __glibc_reserved1.
31458 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
31459 macro.
31460 (ucontext_t): Use __ctx with uc_flags.
31461 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
31462 (ucontext_t): Use __ctx with uc_flags.
31463 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
31464 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
31465 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
31466 (ucontext_t): Use __ctx with uc_flags.
31467 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
31468 undefine further down.
31469 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
31470 __glibc_reserved1.
31471 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
31472 undefine further down.
31473 (ucontext_t): Use __ctx with uc_flags.
31474 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
31475 undefine further down.
31476 (ucontext_t): Use __ctx with uc_flags.
31477 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
31478 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
31479 Rename uc_pad to __glibc_reserved1.
31480 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
31481 undefine further down.
31482 (ucontext_t): Use __ctx with uc_flags.
31483 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
31484 further down.
31485 (ucontext_t): Use __ctx with uc_flags.
31486 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
31487 __ctx with uc_flags.
31488 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
31489 (ucontext_t): Use __ctx with uc_flags.
31490 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
31491 __ctx with uc_flags.
31492
30161498
FW
314932017-08-09 Florian Weimer <fweimer@redhat.com>
31494
31495 [BZ #21932]
31496 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
31497 before early return.
31498
5797b410
AS
314992017-08-09 Andreas Schwab <schwab@suse.de>
31500
139237a4 31501 [BZ #21041]
5797b410
AS
31502 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
31503 renamed alias.
31504
139237a4 31505 [BZ #21041]
40c06a3d
AS
31506 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
31507 tst-compat-forwarder.
31508 (modules-names): Add tst-compat-forwarder-mod.
31509 ($(objpfx)tst-compat-forwarder): Depend on
31510 $(objpfx)tst-compat-forwarder-mod.so.
31511 * nptl/tst-compat-forwarder.c: New file.
31512 * nptl/tst-compat-forwarder-mod.c: New file.
31513
36ada5f6
SP
315142017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
31515
0e02b510
SP
31516 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
31517 comments.
31518
36ada5f6
SP
31519 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
31520 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
31521 memcpy_falkor.
31522 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
31523 Bump.
31524 (__libc_ifunc_impl_list): Add __memcpy_falkor.
31525 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
31526 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
31527 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
31528 Add falkor.
31529 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
31530 New macro.
31531
9995c839
AZ
315322017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31533
31534 [BZ #759]
31535 * manual/setjmp.texi (getcontex): Document uc_stack value
31536 compatibility differences.
31537
f17a4233
JM
315382017-08-08 Joseph Myers <joseph@codesourcery.com>
31539
31540 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
31541 (old_malloc_hook): Likewise.
31542 (old_memalign_hook): Likewise.
31543 (old_realloc_hook): Likewise.
31544 (struct hdr): Likewise.
31545 (flood): Likewise.
31546 (freehook): Likewise.
31547 (mallochook): Likewise.
31548 (memalignhook): Likewise.
31549 (reallochook): Likewise.
31550 (mprobe): Likewise.
31551 * malloc/mtrace.c (mallwatch): Likewise.
31552 (tr_old_free_hook): Likewise.
31553 (tr_old_malloc_hook): Likewise.
31554 (tr_old_realloc_hook): Likewise.
31555 (tr_old_memalign_hook): Likewise.
31556 (tr_where): Likewise.
31557 (lock_and_info): Likewise.
31558 (tr_freehook): Likewise.
31559 (tr_mallochook): Likewise.
31560 (tr_reallochook): Likewise.
31561 (tr_memalignhook): Likewise.
31562 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
31563 * misc/mmap.c (__mmap): Likewise.
31564 * misc/mmap64.c (__mmap64): Likewise.
31565 * misc/mprotect.c (__mprotect): Likewise.
31566 * misc/msync.c (msync): Likewise.
31567 * misc/munmap.c (__munmap): Likewise.
31568 * posix/posix_madvise.c (posix_madvise): Likewise.
31569 * socket/send.c (__send): Likewise.
31570 * socket/sendto.c (__sendto): Likewise.
31571 * socket/setsockopt.c (__setsockopt): Likewise.
31572 * string/memcmp.c (__ptr_t): Remove macro.
31573 (MEMCMP): Use void * instead of ptr_t.
31574 * string/memrchr.c (__ptr_t): Remove macro.
31575 (__memrchr): Use void * instead of ptr_t.
31576 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
31577 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
31578 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
31579 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
31580 * sysdeps/mach/msync.c (msync): Likewise.
31581 * sysdeps/mach/munmap.c (__munmap): Likewise.
31582 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
31583 Likewise.
31584 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31585 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
31586 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
31587 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
31588 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
31589 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
31590 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
31591 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
31592 Likewise.
31593 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
31594 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
31595 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
31596 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
31597 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
31598 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
31599 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
31600 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
31601 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
31602 Likewise.
31603 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
31604 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
31605 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
31606 (MEMCMP): Use void * instead of ptr_t.
31607 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
31608 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
31609
0df595b2
FW
316102017-08-08 Florian Weimer <fweimer@redhat.com>
31611
31612 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
31613 return statement.
31614
086df229
L
316152017-08-08 H.J. Lu <hongjiu.lu@intel.com>
31616
31617 [BZ #21913]
31618 * csu/libc-tls.c: Include <startup.h> first.
31619 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
31620 * elf/dl-tunables.c: Include <startup.h> first.
31621 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
31622 * sysdeps/generic/startup.h: New file.
31623 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
31624 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
31625 (I386_USE_SYSENTER): New. Defined to 0.
31626
fc5ad702
AS
316272017-08-08 Andreas Schwab <schwab@suse.de>
31628
31629 [BZ #21041]
31630 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
31631 * nptl/pt-system.c (system): Likewise.
31632
852d6312
AZ
316332017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31634
31635 [BZ #21780]
31636 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
31637 EOPNOTSUPP.
31638 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
31639 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
31640 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
31641 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
31642 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
31643 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
31644 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
31645
8b164787
JM
316462017-08-07 Joseph Myers <joseph@codesourcery.com>
31647
cd65836b
JM
31648 [BZ #21899]
31649 * bits/sigaction.h (struct sigaction): Define sa_handler and
31650 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
31651 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31652 [__USE_XOPEN_EXTENDED].
31653 (SA_RESTART): Likewise.
31654 (SA_NODEFER): Likewise.
31655 (SA_RESETHAND): Likewise.
31656 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
31657 (struct sigaction): Define sa_handler and sa_sigaction using union
31658 also for [__USE_XOPEN_EXTENDED].
31659 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31660 [__USE_XOPEN_EXTENDED].
31661 (SA_RESTART): Likewise.
31662 (SA_NODEFER): Likewise.
31663 (SA_RESETHAND): Likewise.
31664 * sysdeps/unix/sysv/linux/bits/sigaction.h
31665 (struct sigaction): Define sa_handler and sa_sigaction using union
31666 also for [__USE_XOPEN_EXTENDED].
31667 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31668 [__USE_XOPEN_EXTENDED].
31669 (SA_RESTART): Likewise.
31670 (SA_NODEFER): Likewise.
31671 (SA_RESETHAND): Likewise.
31672 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
31673 (struct sigaction): Define sa_handler and sa_sigaction using union
31674 also for [__USE_XOPEN_EXTENDED].
31675 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31676 [__USE_XOPEN_EXTENDED].
31677 (SA_RESTART): Likewise.
31678 (SA_NODEFER): Likewise.
31679 (SA_RESETHAND): Likewise.
31680 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
31681 (struct sigaction): Define sa_handler and sa_sigaction using union
31682 also for [__USE_XOPEN_EXTENDED].
31683 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31684 [__USE_XOPEN_EXTENDED].
31685 (SA_RESTART): Likewise.
31686 (SA_NODEFER): Likewise.
31687 (SA_RESETHAND): Likewise.
31688 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
31689 (struct sigaction): Define sa_handler and sa_sigaction using union
31690 also for [__USE_XOPEN_EXTENDED].
31691 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31692 [__USE_XOPEN_EXTENDED].
31693 (SA_RESTART): Likewise.
31694 (SA_NODEFER): Likewise.
31695 (SA_RESETHAND): Likewise.
31696 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
31697 (struct sigaction): Define sa_handler and sa_sigaction using union
31698 also for [__USE_XOPEN_EXTENDED].
31699 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31700 [__USE_XOPEN_EXTENDED].
31701 (SA_RESTART): Likewise.
31702 (SA_NODEFER): Likewise.
31703 (SA_RESETHAND): Likewise.
31704 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
31705 (struct sigaction): Define sa_handler and sa_sigaction using union
31706 also for [__USE_XOPEN_EXTENDED].
31707 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31708 [__USE_XOPEN_EXTENDED].
31709 (SA_RESTART): Likewise.
31710 (SA_NODEFER): Likewise. Define directly rather than as alias.
31711 (SA_RESETHAND): Likewise.
31712 (SA_INTERRUPT): Define only for [__USE_MISC].
31713 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
31714 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
31715 [__USE_MISC].
31716 (SA_STACK): Define only for [__USE_MISC].
31717 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
31718 (struct sigaction): Define sa_handler and sa_sigaction using union
31719 also for [__USE_XOPEN_EXTENDED].
31720 (SA_ONSTACK): Change [__USE_UNIX98] condition to
31721 [__USE_XOPEN_EXTENDED].
31722 (SA_RESTART): Likewise.
31723 (SA_NODEFER): Likewise.
31724 (SA_RESETHAND): Likewise.
31725 (SA_NOPTRACE): Define only for [__USE_MISC].
31726
d9fee042
JM
31727 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
31728 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
31729 (struct catalog_info): Likewise.
31730 * inet/htontest.c (lo): Likewise.
31731 (foo): Likewise.
31732 * inet/inet_lnaof.c (inet_lnaof): Likewise.
31733 * inet/inet_net.c (inet_network): Likewise.
31734 * inet/inet_netof.c (inet_netof): Likewise.
31735 * inet/rcmd.c (__ivaliduser): Likewise.
31736 (iruserok): Likewise.
31737 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
31738 * locale/programs/locale-spec.c (locale_special): Likewise.
31739 * nis/nis_findserv.c (struct findserv_req): Likewise.
31740 (__nis_findfastest_with_timeout): Likewise.
31741 * nss/test-netdb.c (test_network): Likewise.
31742 * resolv/inet_neta.c (inet_neta): Likewise.
31743 * resolv/ns_date.c (ns_datetosecs): Likewise.
31744 (SECS_PER_DAY): Likewise.
31745 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
31746 Likewise.
31747 * resolv/res_comp.c (__putlong): Likewise.
31748 (__putshort): Likewise.
31749 (_getlong): Likewise.
31750 (_getshort): Likewise.
31751 * resolv/res_debug.c (p_time): Likewise.
31752 (precsize_ntoa): Likewise.
31753 (precsize_aton): Likewise.
31754 (latlon2ul): Likewise.
31755 (loc_aton): Likewise.
31756 (loc_ntoa): Likewise.
31757 * resolv/res_hconf.c (struct netaddr): Likewise.
31758 (_res_hconf_reorder_addrs): Likewise.
31759 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
31760 (clnttcp_control): Likewise.
31761 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31762 (clntudp_control): Likewise.
31763 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
31764 (clntunix_control): Likewise.
31765 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
31766 * sunrpc/rpc/auth.h (union des_block): Likewise.
31767 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
31768 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
31769 (xdrrec_create): Likewise.
31770 (xdrrec_endofrecord): Likewise.
31771 (flush_out): Likewise.
31772 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
31773 (xdrstdio_putlong): Likewise.
31774 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
31775 Likewise.
31776
8b164787
JM
31777 * misc/sys/cdefs.h (__long_double_t): Remove.
31778 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
31779 instead of __long_double_t,
31780 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
31781
7ee38e60
SP
317822017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
31783
dd3e86ad
SP
31784 * benchtests/scripts/compare_strings.py: Avoid display error when
31785 running on a text terminal.
31786
b115e819
SP
31787 * benchtests/scripts/compare_strings.py (main): Add an
31788 optional -base option.
31789 (process_results): New argument base_func.
31790
7ee38e60
SP
31791 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
31792 hardcoding memcpy.
31793 * benchtests/bench-memcpy-large.c (test_name): Likewise.
31794 * benchtests/bench-memcpy-random.c (test_name): Likewise.
31795
d5afb385
AS
317962017-08-07 Andreas Schwab <schwab@suse.de>
31797
31798 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
31799 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
31800 * intl/Makefile ($(objpfx)tst-gettext.out)
31801 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
31802 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
31803 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
31804 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
31805 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
31806 * posix/Makefile ($(objpfx)globtest.out)
31807 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
31808 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
31809 ($(objpfx)tst-printf.out): Likewise.
31810 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
31811 ($(objpfx)tst-setcontext3.out): Likewise.
31812
57a72fa3
L
318132017-08-07 H.J. Lu <hongjiu.lu@intel.com>
31814
31815 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31816 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
31817 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
31818 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
31819 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
31820 and mptan-fma.
31821 (CFLAGS-doasin-fma.c): New.
31822 (CFLAGS-dosincos-fma.c): Likewise.
31823 (CFLAGS-e_asin-fma.c): Likewise.
31824 (CFLAGS-e_atan2-fma.c): Likewise.
31825 (CFLAGS-e_exp-fma.c): Likewise.
31826 (CFLAGS-e_log-fma.c): Likewise.
31827 (CFLAGS-e_pow-fma.c): Likewise.
31828 (CFLAGS-halfulp-fma.c): Likewise.
31829 (CFLAGS-mpa-fma.c): Likewise.
31830 (CFLAGS-mpatan-fma.c): Likewise.
31831 (CFLAGS-mpatan2-fma.c): Likewise.
31832 (CFLAGS-mpexp-fma.c): Likewise.
31833 (CFLAGS-mplog-fma.c): Likewise.
31834 (CFLAGS-mpsqrt-fma.c): Likewise.
31835 (CFLAGS-mptan-fma.c): Likewise.
31836 (CFLAGS-s_atan-fma.c): Likewise.
31837 (CFLAGS-sincos32-fma.c): Likewise.
31838 (CFLAGS-slowexp-fma.c): Likewise.
31839 (CFLAGS-slowpow-fma.c): Likewise.
31840 (CFLAGS-s_sin-fma.c): Likewise.
31841 (CFLAGS-s_tan-fma.c): Likewise.
31842 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
31843 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
31844 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
31845 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
31846 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
31847 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
31848 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
31849 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
31850 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
31851 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
31852 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
31853 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
31854 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
31855 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
31856 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
31857 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
31858 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
31859 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
31860 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
31861 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
31862 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
31863 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
31864 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
31865 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
31866 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31867 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31868 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31869 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
31870 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31871 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31872 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31873
219dd320
JM
318742017-08-04 Joseph Myers <joseph@codesourcery.com>
31875
31876 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
31877 (min_of_type_f): New macro.
31878 (min_of_type_): Likewise.
31879 (min_of_type_l): Likewise.
31880 (min_of_type_f128): Likewise.
31881 (min_of_type): Define using __MATH_TG and taking an expression
31882 argument.
31883 (math_check_force_underflow): Pass expression instead of type to
31884 min_of_type.
31885 (math_check_force_underflow_nonneg): Likewise.
31886
64d4dea6
L
318872017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31888
31889 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
31890 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
31891 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
31892
973da22a
L
318932017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31894
31895 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31896 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
31897 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
31898 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
31899 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
31900 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
31901 memcpy_chk-nonshared, mempcpy_chk-nonshared,
31902 memmove_chk-nonshared and memset_chk-nonshared
31903 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
31904 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
31905 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
31906 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
31907 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
31908 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
31909 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
31910 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
31911 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
31912 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
31913 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
31914 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
31915 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
31916 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
31917 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
31918 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
31919 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
31920 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
31921 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
31922 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
31923 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
31924 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
31925 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
31926 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
31927 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
31928 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
31929 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
31930 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
31931 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
31932 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
31933 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
31934 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
31935 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
31936 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
31937 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
31938 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
31939 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
31940 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
31941 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
31942 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
31943 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
31944 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
31945 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
31946 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
31947 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
31948 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
31949 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
31950 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
31951 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
31952 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
31953 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
31954 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
31955 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
31956 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
31957 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
31958 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
31959 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
31960 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
31961 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
31962 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
31963 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
31964 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
31965 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
31966 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
31967 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
31968 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
31969 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
31970 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
31971 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
31972 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
31973 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
31974 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31975 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31976 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31977 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31978 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31979 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31980 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31981 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31982 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31983 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31984 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31985 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31986 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31987 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
31988 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
31989 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31990 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
31991 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31992 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31993 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31994 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31995 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31996 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31997 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
31998 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
31999 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
32000 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
32001 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32002 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
32003 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32004 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32005 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32006 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32007 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32008 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32009 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32010 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32011
8537e0f6
L
320122017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32013
32014 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
32015 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
32016 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
32017 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
32018 svml_d_log2_core-sse2, svml_d_log4_core-sse,
32019 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
32020 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
32021 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
32022 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
32023 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
32024 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
32025 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
32026 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
32027 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
32028 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
32029 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
32030 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
32031 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
32032 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
32033 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
32034 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
32035 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
32036 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
32037 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
32038 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
32039 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
32040 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
32041 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
32042 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
32043 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
32044 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
32045 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
32046 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
32047 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
32048 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
32049 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
32050 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
32051 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
32052 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
32053 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
32054 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
32055 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
32056 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
32057 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
32058 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
32059 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
32060 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
32061 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
32062 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
32063 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
32064 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
32065 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
32066 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
32067 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
32068 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
32069 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
32070 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
32071 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
32072 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
32073 ...
32074 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
32075 Don't include <sysdep.h> nor <init-arch.h>.
32076 (_ZGVbN2v_cos): Removed.
32077 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
32078 ...
32079 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
32080 Don't include <sysdep.h> nor <init-arch.h>.
32081 (_ZGVdN4v_cos): Removed.
32082 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
32083 ...
32084 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
32085 Don't include <sysdep.h> nor <init-arch.h>.
32086 (_ZGVeN8v_cos): Removed.
32087 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
32088 ...
32089 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
32090 Don't include <sysdep.h> nor <init-arch.h>.
32091 (_ZGVbN2v_exp): Removed.
32092 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
32093 ...
32094 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
32095 Don't include <sysdep.h> nor <init-arch.h>.
32096 (_ZGVdN4v_exp): Removed.
32097 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
32098 ...
32099 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
32100 Don't include <sysdep.h> nor <init-arch.h>.
32101 (_ZGVeN8v_exp): Removed.
32102 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
32103 ...
32104 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
32105 Don't include <sysdep.h> nor <init-arch.h>.
32106 (_ZGVbN2v_log): Removed.
32107 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
32108 ...
32109 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
32110 Don't include <sysdep.h> nor <init-arch.h>.
32111 (_ZGVdN4v_log): Removed.
32112 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
32113 ...
32114 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
32115 Don't include <sysdep.h> nor <init-arch.h>.
32116 (_ZGVeN8v_log): Removed.
32117 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
32118 ...
32119 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
32120 Don't include <sysdep.h> nor <init-arch.h>.
32121 (_ZGVbN2vv_pow): Removed.
32122 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
32123 ...
32124 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
32125 Don't include <sysdep.h> nor <init-arch.h>.
32126 (_ZGVdN4vv_pow): Removed.
32127 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
32128 ...
32129 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
32130 Don't include <sysdep.h> nor <init-arch.h>.
32131 (_ZGVeN8vv_pow): Removed.
32132 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
32133 ...
32134 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
32135 Don't include <sysdep.h> nor <init-arch.h>.
32136 (_ZGVbN2v_sin): Removed.
32137 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
32138 ...
32139 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
32140 Don't include <sysdep.h> nor <init-arch.h>.
32141 (_ZGVbN4v_sin): Removed.
32142 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
32143 ...
32144 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
32145 Don't include <sysdep.h> nor <init-arch.h>.
32146 (_ZGVbN8v_sin): Removed.
32147 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
32148 ...
32149 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
32150 Don't include <sysdep.h> nor <init-arch.h>.
32151 (_ZGVbN2vvv_sincos): Removed.
32152 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
32153 ...
32154 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
32155 Don't include <sysdep.h> nor <init-arch.h>.
32156 (_ZGVdN4vvv_sincos): Removed.
32157 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
32158 ...
32159 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
32160 Don't include <sysdep.h> nor <init-arch.h>.
32161 (_ZGVeN8vvv_sincos): Removed.
32162 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
32163 ...
32164 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
32165 Don't include <sysdep.h> nor <init-arch.h>.
32166 (_ZGVeN16v_cosf): Removed.
32167 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
32168 ...
32169 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
32170 Don't include <sysdep.h> nor <init-arch.h>.
32171 (_ZGVbN4v_cosf): Removed.
32172 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
32173 ...
32174 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
32175 Don't include <sysdep.h> nor <init-arch.h>.
32176 (_ZGVdN8v_cosf): Removed.
32177 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
32178 ...
32179 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
32180 Don't include <sysdep.h> nor <init-arch.h>.
32181 (_ZGVeN16v_expf): Removed.
32182 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
32183 ...
32184 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
32185 Don't include <sysdep.h> nor <init-arch.h>.
32186 (_ZGVbN4v_expf): Removed.
32187 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
32188 ...
32189 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
32190 Don't include <sysdep.h> nor <init-arch.h>.
32191 (_ZGVdN8v_expf): Removed.
32192 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
32193 ...
32194 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
32195 Don't include <sysdep.h> nor <init-arch.h>.
32196 (_ZGVeN16v_logf): Removed.
32197 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
32198 ...
32199 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
32200 Don't include <sysdep.h> nor <init-arch.h>.
32201 (_ZGVbN4v_logf): Removed.
32202 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
32203 ...
32204 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
32205 Don't include <sysdep.h> nor <init-arch.h>.
32206 (_ZGVdN8v_logf): Removed.
32207 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
32208 ...
32209 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
32210 Don't include <sysdep.h> nor <init-arch.h>.
32211 (_ZGVeN16vv_powf): Removed.
32212 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
32213 ...
32214 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
32215 Don't include <sysdep.h> nor <init-arch.h>.
32216 (_ZGVbN4vv_powf): Removed.
32217 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
32218 ...
32219 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
32220 Don't include <sysdep.h> nor <init-arch.h>.
32221 (_ZGVdN8vv_powf): Removed.
32222 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
32223 ...
32224 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
32225 Don't include <sysdep.h> nor <init-arch.h>.
32226 (_ZGVeN16vvv_sincosf): Removed.
32227 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
32228 ...
32229 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
32230 Don't include <sysdep.h> nor <init-arch.h>.
32231 (_ZGVbN4vvv_sincosf): Removed.
32232 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
32233 ...
32234 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
32235 Don't include <sysdep.h> nor <init-arch.h>.
32236 (_ZGVdN8vvv_sincosf): Removed.
32237 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
32238 ...
32239 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
32240 Don't include <sysdep.h> nor <init-arch.h>.
32241 (_ZGVeN16v_sinf): Removed.
32242 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
32243 ...
32244 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
32245 Don't include <sysdep.h> nor <init-arch.h>.
32246 (_ZGVbN4v_sinf): Removed.
32247 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
32248 ...
32249 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
32250 Don't include <sysdep.h> nor <init-arch.h>.
32251 (_ZGVdN8v_sinf): Removed.
32252
10a87ca4
L
322532017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32254
32255 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32256 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
32257 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
32258 s_rint-sse4_1 and s_rintf-sse4_1.
32259 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
32260 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
32261 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
32262 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
32263 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
32264 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
32265 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
32266 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
32267 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
32268 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
32269 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
32270 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32271 (__ceil): Removed.
32272 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
32273 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
32274 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32275 (__ceilf): Removed.
32276 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
32277 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
32278 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32279 (__floor): Removed.
32280 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
32281 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
32282 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32283 (__floorf): Removed.
32284 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
32285 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
32286 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32287 (__nearbyint): Removed.
32288 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
32289 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
32290 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32291 (__nearbyintf): Removed.
32292 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
32293 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
32294 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32295 (__rint): Removed.
32296 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
32297 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
32298 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
32299 (__rintf): Removed.
32300
1e8e527d
L
323012017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32302
32303 * sysdeps/i386/start.S (_start): Check Check PIC instead of
32304 SHARED. Avoid dynamic relocation against main in static PIE.
32305
e13daad7
L
323062017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32307
32308 [BZ #21815]
32309 * elf/Makefile (CFLAGS-tst-prelink.c): New.
32310 (LDFLAGS-tst-prelink): Likewise.
32311
627c69c8
L
323122017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32313
32314 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
32315 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
32316 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
32317 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
32318 (INTERNAL_SYSCALL_NCS): Likewise.
32319 (LOADARGS_1): Likewise.
32320 (LOADARGS_5): Likewise.
32321 (RESTOREARGS_1): Likewise.
32322 (RESTOREARGS_5): Likewise.
32323
fc11ff8d
L
323242017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32325
32326 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
32327 (MEMPCPY_SYMBOL): Likewise.
32328 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
32329 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
32330 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
32331 in libc.a.
32332 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32333 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
32334 Likewise.
32335 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
32336 (__hidden_ver1): Don't use in libc.a.
32337 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
32338 (__mempcpy): Don't create a weak alias in libc.a.
32339 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
32340 libc.a.
32341 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
32342 (__hidden_ver1): Don't use in libc.a.
32343
19f1a11e
L
323442017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32345
32346 * config.make.in (have-insert): New.
32347 * configure.ac (libc_cv_insert): New. Set to yes if linker
32348 supports INSERT in linker script.
32349 (AC_SUBST(libc_cv_insert): New.
32350 * configure: Regenerated.
32351 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
32352 if $(have-insert) == yes.
32353
3093fd5e
L
323542017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32355
32356 * elf/Makefile (tests): Add vismain only if
32357 $(have-protected-data) == yes.
32358 (tests-pie): Likewise.
32359
d2cf37c0
L
323602017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32361
32362 [BZ #21871]
32363 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
32364 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
32365
c8a0e6ec
L
323662017-08-04 H.J. Lu <hongjiu.lu@intel.com>
32367
32368 [BZ #21790]
32369 * sysdeps/i386/i586/memset.S
32370 (__memset_zero_constant_len_parameter): Removed.
32371 * sysdeps/i386/i686/memset.S
32372 (__memset_zero_constant_len_parameter): Likewise.
32373 * sysdeps/i386/i686/multiarch/memset_chk.S
32374 (__memset_zero_constant_len_parameter): Likewise.
32375 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
32376 Likewise.
32377
2b34e271
AJ
323782017-08-03 Aurelien Jarno <aurelien@aurel32.net>
32379
32380 * stdlib/getentropy.c (getentropy): Change return type to int.
32381
144bdab0
AJ
323822017-08-03 Aurelien Jarno <aurelien@aurel32.net>
32383
32384 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
32385
24ab7723
JM
323862017-08-03 Joseph Myers <joseph@codesourcery.com>
32387
32388 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
32389 u_intN_t.
32390 * math/s_nexttowardf.c (__nexttowardf): Likewise.
32391 * sysdeps/generic/math_private.h (ieee_double_shape_type):
32392 Likewise.
32393 (ieee_float_shape_type): Likewise.
32394 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
32395 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
32396 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
32397 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32398 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
32399 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
32400 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
32401 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
32402 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
32403 Likewise.
32404 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
32405 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
32406 (__ieee754_yn): Likewise.
32407 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
32408 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
32409 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
32410 Likewise.
32411 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
32412 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
32413 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
32414 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
32415 (__erfc): Likewise.
32416 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
32417 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
32418 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
32419 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
32420 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
32421 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
32422 Likewise.
32423 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
32424 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
32425 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
32426 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
32427 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
32428 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
32429 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
32430 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
32431 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
32432 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
32433 (__issignaling): Likewise.
32434 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
32435 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
32436 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
32437 Likewise.
32438 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32439 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
32440 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
32441 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
32442 Likewise.
32443 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
32444 Likewise.
32445 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
32446 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
32447 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
32448 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
32449 (__erfcf): Likewise.
32450 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
32451 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
32452 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
32453 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
32454 Likewise.
32455 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
32456 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
32457 Likewise.
32458 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
32459 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
32460 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
32461 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
32462 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
32463 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
32464 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
32465 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
32466 Likewise.
32467 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
32468 Likewise.
32469 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
32470 Likewise.
32471 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
32472 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
32473 Likewise.
32474 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
32475 Likewise.
32476 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
32477 (__ieee754_ynl): Likewise.
32478 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
32479 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
32480 Likewise.
32481 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
32482 Likewise.
32483 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
32484 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
32485 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32486 Likewise.
32487 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
32488 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
32489 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
32490 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
32491 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
32492 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
32493 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
32494 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
32495 Likewise.
32496 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
32497 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
32498 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
32499 Likewise.
32500 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
32501 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
32502 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
32503 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
32504 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
32505 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32506 Likewise.
32507 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
32508 Likewise.
32509 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32510 Likewise.
32511 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32512 Likewise.
32513 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
32514 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
32515 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32516 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
32517 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
32518 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
32519 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
32520 Likewise.
32521 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
32522 Likewise.
32523 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
32524 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32525 Likewise.
32526 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
32527 (__ieee754_remainderl): Likewise.
32528 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32529 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32530 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
32531 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
32532 Likewise.
32533 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
32534 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32535 Likewise.
32536 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
32537 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
32538 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
32539 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
32540 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
32541 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
32542 Likewise.
32543 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
32544 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
32545 (__ieee754_y0l): Likewise.
32546 (pzero): Likewise.
32547 (qzero): Likewise.
32548 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32549 (__ieee754_y1l): Likewise.
32550 (pone): Likewise.
32551 (qone): Likewise.
32552 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
32553 (__ieee754_ynl): Likewise.
32554 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
32555 (__ieee754_lgammal_r): Likewise.
32556 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
32557 Likewise.
32558 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
32559 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
32560 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
32561 (__erfcl): Likewise.
32562 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
32563 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
32564 Likewise.
32565 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
32566 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
32567 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
32568 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
32569 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
32570 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32571 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32572 Likewise.
32573 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
32574 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
32575 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
32576 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
32577 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32578 Likewise.
32579 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
32580 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
32581 Likewise.
32582 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
32583 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
32584 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
32585 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
32586 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
32587
964263bb
FW
325882017-08-03 Florian Weimer <fweimer@redhat.com>
32589
32590 [BZ #21885]
32591 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
32592 on memory allocation failure.
32593
e98c925f
AM
325942017-08-03 Alan Modra <amodra@gmail.com>
32595
32596 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
32597 tst-tlsopt-powerpc.c with function name change and no test harness.
32598 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
32599 Call tls_get_addr_opt_test.
32600 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
32601 (modules-names): Add mod-tlsopt-powerpc.
32602 (mod-tlsopt-powerpc.so-no-z-defs): Define.
32603 (tst-tlsopt-powerpc): Depend on .so.
32604 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
32605 define. Expand use in TLS_GD and TLS_LD.
32606
8ee1abdb
ST
326072017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32608
32609 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
32610 function.
3da5756e 32611 * sysdeps/posix/shm_open.c: Include <pthread.h>.
8ee1abdb 32612
42df8d59
JM
326132017-08-02 Joseph Myers <joseph@codesourcery.com>
32614
32615 [BZ #21686]
32616 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
32617 comparing size with that of double.
32618 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
32619 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
32620 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
32621 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
32622 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32623 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
32624 unsigned __int128 types.
32625
b7f95f49
SE
326262017-08-02 Steve Ellcey <sellcey@cavium.com>
32627
32628 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
32629 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
32630 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
32631 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
32632 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
32633
5b736bc9
L
326342017-08-02 H.J. Lu <hongjiu.lu@intel.com>
32635
32636 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
32637
dfc93c41
L
326382017-08-02 H.J. Lu <hongjiu.lu@intel.com>
32639
32640 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
32641 of SHARED.
32642 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
32643 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32644 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32645 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32646 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32647 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32648 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32649
2fee621d
JM
326502017-08-02 Joseph Myers <joseph@codesourcery.com>
32651
32652 [BZ #21685]
32653 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
32654 bit-field expressions passed to sizeof or typeof.
32655 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32656 (__TGMATH_F128): Likewise.
32657 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32658 (__TGMATH_CF128): Likewise.
32659 (__TGMATH_UNARY_REAL_ONLY): Likewise.
32660 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
32661 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
32662 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
32663 (__TGMATH_BINARY_REAL_ONLY): Likewise.
32664 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
32665 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
32666 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
32667 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
32668 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
32669 (__TGMATH_UNARY_REAL_IMAG): Likewise.
32670 (__TGMATH_UNARY_IMAG): Likewise.
32671 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
32672 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32673 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
32674 type.
32675 (define_vars_for_type): Handle bit_field type specially.
32676 (Tests.__init__): Declare structure with bit-field element.
32677
b358255f
L
326782017-08-02 H.J. Lu <hongjiu.lu@intel.com>
32679
32680 [BZ #21791]
32681 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
32682 (MEMCPY_CHK): Define only if SHARED is defined.
32683 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
32684 Likewise.
32685 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
32686 Likewise.
edf66db1
SP
32687
32688See ChangeLog.18 for earlier changes.