]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Add F_SEAL_FUTURE_WRITE from Linux 5.1 to bits/fcntl-linux.h.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
bee1f2c4
JM
12019-05-23 Joseph Myers <joseph@codesourcery.com>
2
3 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
4 (F_SEAL_FUTURE_WRITE): New macro.
5
481c30cb
AH
62019-05-23 Alexandra Hajkova <ahajkova@redhat.com>
7
8 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
9 * elf/tst-ldconfig-bad-aux-cache.c: New file.
10 * elf/tst-ldconfig_aux-cache.root: New directory.
11 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
12 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
13 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
14
cb755eed
ZW
152019-05-22 Zack Weinberg <zackw@panix.com>
16
17 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
18 host type.
19 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
20 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
21
22 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
23 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
24 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
25 Delete.
26
27 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
28 Issue an #error if used with a compiler in SPE-float mode.
29 * sysdeps/powerpc/powerpc32/__longjmp_common.S
30 * sysdeps/powerpc/powerpc32/setjmp_common.S
31 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
32 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
33 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
34 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
35 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
36 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
37 Remove code to preserve SPE register state.
38
39 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
40 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
41 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
42 Remove __SPE__ ifndefs.
43
46ae0732
WD
442019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
45
46 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
47 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
48 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
49 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
50 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
51 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
52 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
53 (INNER_LOOP_ITERS_MEDIUM): New define.
54 (INNER_LOOP_ITERS_SMALL): New define.
55 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
56 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
57 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
58 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
59 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
60
004e52fe
AZ
612019-05-21 Adhemeval Zanella <adhemerval.zanella@linaro.org>
62
63 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
64 New define.
65 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
66 (SEMTIMEDOP_IPC_ARGS): Likewise.
67
c9c15ac3
FW
682019-05-21 Florian Weimer <fweimer@redhat.com>
69
70 [BZ #24584]
71 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
72 before updating __counter field and release it afterwards. Add
73 overflow check.
74 * iconv/gconv.h (struct __gconv_step): Mention synchronization
75 requirement for __counter member.
76
7e740ab2
FW
772019-05-21 Florian Weimer <fweimer@redhat.com>
78
79 [BZ #24583]
80 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
81 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
82 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
83 instead of __gconv_release_step.
84 * libio/Makefile (tests): Add tst-wfile-gconv.
85 (tests-container): Add tst-wfile-ascii.
86 (tst-wfile-gconv-ENV): Enable mtrace.
87 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
88 (tests-special): Add tst-wfile-gconv-mem.out.
89 (tst-wfile-gconv.out): Depend on locales.
90 (tst-wfile-gconv-mem.out): Add mtrace rule.
91 * libio/tst-wfile-ascii.c: New file.
92 * libio/tst-wfile-gconv.c: Likewise.
93
09e1b0e3
FW
942019-05-20 Florian Weimer <fweimer@redhat.com>
95
96 [BZ #24588]
97 libio: Remove codecvt vtable.
98 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
99 __libio_codecvt.
100 * libio/iofgetpos.c (_IO_new_fgetpos): Call
101 __libio_codecvt_encoding.
102 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
103 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
104 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
105 * libio/iofwide.c (__libio_codecvt): Remove variable.
106 (_IO_fwide): Do not copy __libio_codecvt.
107 (__libio_codecvt_out): Rename from do_out and export.
108 (do_unshift): Remove function.
109 (__libio_codecvt_in): Rename from do_in and export.
110 (__libio_codecvt_encoding): Rename from do_encoding and export.
111 (do_always_noconv): Remove function.
112 (__libio_codecvt_length): Rename from do_length and export.
113 (do_max_length): Remove function.
114 * libio/libio.h (enum __codecvt_result): Remove definition; moved
115 to libioP.h.
116 (struct _IO_codecvt): Remove fields __codecvt_destr,
117 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
118 __codecvt_do_encoding, __codecvt_do_always_noconv,
119 __codecvt_do_length, __codecvt_do_max_length.
120 * libio/libioP.h (enum __codecvt_result): Define; moved from
121 libio.h.
122 (__libio_codecvt_out, __libio_codecvt_in)
123 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
124 functions.
125 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
126 (_IO_wfile_underflow): Call __libio_codecvt_in.
127 (_IO_wfile_underflow): Likewise.
128 (_IO_wfile_underflow_mmap): Likewise.
129 (_IO_wfile_sync): Call __libio_codecvt_encoding,
130 __libio_codecvt_length.
131 (adjust_wide_data): Call __libio_codecvt_encoding,
132 __libio_codecvt_in.
133 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
134 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
135 __libio_codecvt_length.
136
75c51570
FW
1372019-05-20 Florian Weimer <fweimer@redhat.com>
138
139 * support/support.h (support_sbindir_prefix): Declare.
140 (support_install_rootsbindir): Update comment.
141 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
142 * support/support_paths.c (support_sbindir_prefix): Define.
143
ff6bec7d
MC
1442019-05-20 Mike Crowe <mac@mcrowe.com>
145
b62bb3bc
MC
146 * support/timespec.c: Add backslash to correct newline in failure
147 message.
148
ff6bec7d
MC
149 * support/timespec.h: Correct confusing comment.
150
dfba907f
AZ
1512019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
152
236c18e5
AZ
153 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
154 define.
155 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
156 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
157 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
158 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
159
dfba907f
AZ
160 [BZ #24570]
161 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
162 usage.
163
13886008
JM
1642019-05-20 Joseph Myers <joseph@codesourcery.com>
165
166 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
167 (NT_ARM_PACG_KEYS): Likewise.
168
1f50f2ad
WD
1692019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
170
171 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
172 (tcache_put): Remove redundant assert.
173 (tcache_get): Remove redundant asserts.
174 (__libc_malloc): Check tcache count is not zero.
175 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
176
fef7c63c
FW
1772019-05-17 Florian Weimer <fweimer@redhat.com>
178
179 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
180
5f161b23
JM
1812019-05-16 Joseph Myers <joseph@codesourcery.com>
182
183 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
184 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
185 0x050100].
186 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
187 Likewise.
188 * sysdeps/unix/sysv/linux/sh/kernel-features.h
189 (__ASSUME_STATX): Likewise.
190
ec255a97
FW
1912019-05-16 Florian Weimer <fweimer@redhat.com>
192
193 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
194 flags argument.
195 (LINE_PARSER): Do not map IPv4 addresses.
196 (internal_nis_gethostent_r): Remove flags argument. Adjust call
197 to parse_line.
198 (_nss_nis_gethostent_r): Always pass AF_INET to
199 internal_nis_gethostent_r.
200 (internal_gethostbyname2_r): Remove flags argument. Adjust call
201 to parse_line.
202 (_nss_nis_gethostbyname2_r): Adjust call to
203 internal_nis_gethostent_r.
204 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
205 call to internal_nis_gethostent_r.
206 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
207 from parse_line.
208 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
209 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
210 Remove flags argument. Do not map IPv4 addresses.
211 (internal_nisplus_gethostent_r): Adjust call to
212 _nss_nisplus_parse_hostent.
213 (internal_gethostbyname2_r): Remove flags argument. Adjust call
214 to _nss_nisplus_parse_hostent.
215 (_nss_nisplus_gethostbyname2_r): Adjust call to
216 internal_gethostbyname2_r.
217 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
218 Adjust call to internal_gethostbyname2_r.
219 (_nss_nisplus_gethostbyaddr_r): Adjust call to
220 _nss_nisplus_parse_hostent.
221 (_nss_nisplus_gethostbyname4_r): Adjust call to
222 internal_gethostbyname2_r.
223
9c02d078
FW
2242019-05-16 Florian Weimer <fweimer@redhat.com>
225
226 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
227 Remove flags.
228 (LINE_PARSER): Remove address mapping.
229 (EXTRA_ARGS_VALUE): Remove flags argument.
230 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
231 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
232 gethostbyname3_multi.
233 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
234 _nss_files_gethostbyname3_r.
235 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
236
85b0e1e8
FW
2372019-05-16 Florian Weimer <fweimer@redhat.com>
238
239 * support/support_test_compare_blob.c (report_blob): Report
240 incorrect NULL blobs.
241
11b451c8
MW
2422019-05-15 Mark Wielaard <mark@klomp.org>
243
244 [BZ# 24476]
245 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
246 __libc_once_get (once) and static_buf == NULL.
247 (__dlerror): Check we have a valid key, set result to static_buf
248 otherwise.
249
32ff3975
AS
2502019-05-15 Andreas Schwab <schwab@suse.de>
251
252 [BZ #20568]
253 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
254 __codecvt_do_length.
255 * libio/Makefile (tests): Add tst-wfile-sync.
256 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
257 * libio/tst-wfile-sync.c: New file.
258 * libio/tst-wfile-sync.input: New file.
259
a9368c34
FW
2602019-05-15 Florian Weimer <fweimer@redhat.com>
261
262 nss: Turn __nss_database_lookup into a compatibility symbol.
263 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
264 __nss_database_lookup.
265 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
266 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
267 __nss_database_lookup.
268 (__nss_next): Move to …
269 * nss/compat-lookup.c (nss_next): … here. Change it to fail
270 unconditionally.
271 (__nss_database_lookup): New function.
272 * nss/Versions (GLIBC_2.0): Update comment.
273 (GLIBC_PRIVATE): Export __nss_database_lookup2.
274 * grp/initgroups.c (internal_getgrouplist): Call
275 __nss_database_lookup2 instead of __nss_database_lookup.
276 * nscd/aicache.c (addhstaiX): Likewise.
277 * nscd/initgrcache.c (addinitgroupsX): Likewise.
278 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
279 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
280 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
281 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
282 Likewise.
283 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
284 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
285 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
286
d50f0918 2872019-05-15 Alexandra Hajkova <ahajkova@redhat.com>
32ff3975 288
d50f0918
AH
289 * support/support.h (support_install_rootsbindir): New variable.
290 * support/support_paths.c: Likewise.
291 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
292
7ac6fad9
FW
2932019-05-15 Florian Weimer <fweimer@redhat.com>
294
295 * iconv/gconv.h (__gconv_transliterate): Move declaration …
296 * iconv/gconv_int.h (__gconv_transliterate): … here.
297 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
298 * iconv/skeleton.c: Likewise.
299
04b261bd
FW
3002019-05-14 Florian Weimer <fweimer@redhat.com>
301
302 Linux: Add the tgkill function.
303 * bits/signal_ext.h: New file.
304 * manual/signal.texi (Signaling Another Process): Document tgkill.
305 * signal/Makefile (headers): Add bits/signal_ext.h.
306 * signal/signal.h: Include <bits/signal_ext.h>.
307 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
308 (tst-tgkill): Link with libpthread.
309 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
310 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
311 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
312 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
313 tgkill.
314 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
315 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
316 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
317 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
318 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
319 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
320 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
321 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
322 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
323 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
324 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
325 Likewise.
326 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
327 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
328 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
330 Likewise.
331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
332 Likewise.
333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
334 Likewise.
335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
336 Likewise.
337 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
338 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
339 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
340 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
341 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
342 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
343 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
344 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
345
6807f47b
CD
3462019-05-14 Carlos O'Donell <carlos@redhat.com>
347
348 * manual/search.texi (Tree Search Function): Adjust twalk_r
349 documentation.
350
fdb8a0be
AZ
3512019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
352
da2b83ef
AZ
353 [BZ #24544]
354 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
355 pre-defined value.
356
c7ac9caa
AZ
357 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
358 * support/support.h (support_bindir_prefix): New variable.
359 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
360
91f043ae
AZ
361 * config.make.in (bindir): New variable.
362
c50e1c26
AZ
363 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
364 (lll_trylock): Call __lll_trylock.
365 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
366 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
367 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
368 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
369 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
370 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
371 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
372 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
373 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
374 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
375 lowlevellock-futex.h.
376
959aff9f
AZ
377 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
378 initialization for LLL_LOCK_INITIALIZER different than 0.
379 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
380 Assume LLL_LOCK_INITIALIZER being 0.
381 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
382 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
383 Likewise.
384 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
385 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
386
d7e4c642
AZ
387 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
388 Optimize futex call and add systemtap probe.
389
fdb8a0be
AZ
390 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
391 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
392 __libc_disable_asynccancel, __librt_enable_asynccancel,
393 __libc_disable_asynccancel, __librt_enable_asynccancel,
394 __librt_disable_asynccancel): Move to ...
395 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
396 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
397 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
398 * sysdeps/generic/single-thread.h: New file.
399 * sysdeps/unix/sysdep.h: Include single-thread.h.
400 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
401 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
402
f6efec90
MF
4032019-05-08 Mike FABIAN <mfabian@redhat.com>
404
405 [BZ #24535]
406 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
407 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
408 Unicode 12.1.0.
409 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
410 * localedata/unicode-gen/PropList.txt: Likewise.
411 * localedata/unicode-gen/UnicodeData.txt: Likewise.
412 * localedata/charmaps/UTF-8: Regenerate.
413 * localedata/locales/i18n_ctype: Likewise.
414 * localedata/locales/tr_TR: Likewise.
415 * localedata/locales/translit_circle: Likewise.
416 * localedata/locales/translit_cjk_compat: Likewise.
417 * localedata/locales/translit_combining: Likewise.
418 * localedata/locales/translit_compat: Likewise.
419 * localedata/locales/translit_font: Likewise.
420 * localedata/locales/translit_fraction: Likewise.
421
5ad533e8
WD
4222019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
423
424 [BZ #24531]
425 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
426 (do_set_tcache_count): Only update if count is small enough.
427 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
428
4aee85f9
FW
4292019-05-10 Florian Weimer <fweimer@redhat.com>
430
431 * nptl/sem_close.c (struct walk_closure): Define.
432 (walker): Adjust for __twalk_r.
433 (sem_close): Call __twalk_r.
434
eb669ff5
AZ
4352019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
436
437 * support/timespec.c (test_timespec_before_impl,
438 test_timespec_equal_or_after_impl): print timespec member as intmax_t
439 insted of long int.
440
51983996
MC
4412019-05-09 Mike Crowe <mac@mcrowe.com>
442
44ac6ee9
MC
443 * nptl/tst-abstime.c: Use libsupport.
444
495514ee
MC
445 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
446 small bug where only tv.tv_usec was checked which could cause an
447 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
448 than a second.
449
450 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
451 libsupport.
452
40d0816f
MC
453 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
454 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
455
d8e0b901
MC
456 * nptl/tst-cond11.c: Use libsupport.
457
51983996
MC
458 * support/timespec.h: New file. Provide timespec helper functions
459 along with macros in the style of those in check.h.
460 * support/timespec.c: New file. Implement check functions declared
461 in support/timespec.h.
462 * support/timespec-add.c: New file from gnulib containing
463 timespec_add implementation that handles overflow.
464 * support/timespec-sub.c: New file from gnulib containing
465 timespec_sub implementation that handles overflow.
466 * support/README: Mention timespec.h.
467
18aa51ee
SN
4682019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
469
470 [BZ #24537]
471 * nptl/Makefile: Move tst-eintr1 to xtests.
472
252296c6
AZ
4732019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
474
ae45cf84
AZ
475 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
476 TRUNC handling.
477 (round_mode): Add definition for TRUNC.
478 * sysdeps/powerpc/fpu/s_trunc.c: New file.
479 * sysdeps/powerpc/fpu/s_truncf.c: New file.
480 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
481 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
482 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
483 Likewise.
484 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
485 Likewise.
486 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
487 Likewise.
488 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
489 Likewise.
490 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
491 file.
492 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
493 Likewise.
494 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
495 Likewise.
496 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
497 Likewise.
498 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
499 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
500 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
501 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
502 s_truncf-power5+, and s_truncf-ppc64.
503 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
504 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
505 file.
506 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
508 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
509 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
510 file.
511 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
512 Likewise.
513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
514 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
515 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
516 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
517 s_truncf-power5+, and s_truncf-ppc64.
518 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
519 file.
520 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
521 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
522 Likewise.
523 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
524 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
525 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
526 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
527 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
528
a1cb1888
AZ
529 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
530 ROUND handling.
531 (round_mode): Add definition for ROUND.
532 (round_to_integer_float): Likewise.
533 * sysdeps/powerpc/fpu/s_round.c: New file.
534 * sysdeps/powerpc/fpu/s_roundf.c: New file.
535 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
536 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
537 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
538 Likewise.
539 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
540 Likewise.
541 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
542 Likewise.
543 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
544 Likewise.
545 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
546 file.
547 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
548 Likewise.
549 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
550 Likewise.
551 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
552 Likewise.
553 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
554 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
555 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
556 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
557 s_roundf-power5+, and s_roundf-ppc64.
558 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
559 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
560 file.
561 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
563 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
564 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
565 file.
566 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
567 Likewise.
568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
569 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
570 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
571 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
572 s_roundf-power5+, and s_roundf-ppc64.
573 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
574 file.
575 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
576 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
577 Likewise.
578 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
579 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
580 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
581 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
582 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
583
252296c6
AZ
584 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
585 Add FLOOR option.
586 (round_mode): Add definition for FLOOR.
587 * sysdeps/powerpc/fpu/s_floor.c: New file.
588 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
589 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
590 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
592 Remove file.
593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
594 Likewise
595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
596 Likewise.
597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
598 Likewise.
599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
600 New file.
601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
602 Likewise.
603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
604 Likewise.
605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
606 Likewise.
607 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
608 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
609 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
610 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
611 s_floorf-power5+, and s_floorf-ppc64.
612 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
613 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
614 file.
615 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
617 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
618 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
619 file.
620 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
621 Likewise.
622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
623 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
624 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
625 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
626 s_floorf-power5+, and s_floorf-ppc64.
627 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
628 file.
629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
630 file.
631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
632 Likewise.
633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
634 Likewise.
635 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
636 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
637 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
638 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
639
33647a72
MC
6402019-05-08 Mike Crowe <mac@mcrowe.com>
641
642 * support/xclock_gettime.c (xclock_gettime): New file. Provide
643 clock_gettime wrapper for use in tests that fails the test rather
644 than returning failure.
645
646 * support/xtime.h: New file to declare xclock_gettime.
647
648 * support/Makefile: Add xclock_gettime.c.
649
650 * support/README: Mention xtime.h.
651
b2f601ba
FW
6522019-05-08 Florian Weimer <fweimer@redhat.com>
653
654 malloc/tst-mallocfork2: Use process-shared barriers.
655 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
656 (signal_count, sigusr1_sender_pid): Remove.
657 (iterations): Define constant.
658 (shared): New variable.
659 (sigusr1_received): Update comment.
660 (sigusr1_handler): Do not send SIGSTOP to the sender process.
661 (signal_sender): Optional use barriers to avoid sending signals
662 during irrelevant times.
663 (do_it): Initialize variable shared. Use xfork for error
664 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
665 the iteration count, independent of signal delivery. Check for
666 deadlocks in fork. Introduce barriers for reducing signal
667 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
668 replaced by the barriers. Count signals during fork/free/malloc
669 and report them.
670 * malloc/Makefile (tst-mallocfork): Link with libpthread.
671
c4a392cf
JM
6722019-05-07 Joseph Myers <joseph@codesourcery.com>
673
7621676f
JM
674 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
675 version to 5.1.
676 (clock_adjtime64) New syscall.
677 (clock_getres_time64) Likewise.
678 (clock_gettime64) Likewise.
679 (clock_nanosleep_time64) Likewise.
680 (clock_settime64) Likewise.
681 (futex_time64) Likewise.
682 (io_pgetevents_time64) Likewise.
683 (io_uring_enter) Likewise.
684 (io_uring_register) Likewise.
685 (io_uring_setup) Likewise.
686 (mq_timedreceive_time64) Likewise.
687 (mq_timedsend_time64) Likewise.
688 (pidfd_send_signal) Likewise.
689 (ppoll_time64) Likewise.
690 (pselect6_time64) Likewise.
691 (recvmmsg_time64) Likewise.
692 (rt_sigtimedwait_time64) Likewise.
693 (sched_rr_get_interval_time64) Likewise.
694 (semtimedop_time64) Likewise.
695 (timer_gettime64) Likewise.
696 (timer_settime64) Likewise.
697 (timerfd_gettime64) Likewise.
698 (timerfd_settime64) Likewise.
699 (utimensat_time64) Likewise.
700
c4a392cf
JM
701 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
702 version to 9 branch.
703
32e902a9
AY
7042019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
705
706 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
707 __memmove_thunderx2 to the list of implementations
708 * sysdeps/aarch64/multiarch/memmove.c: Likewise
709 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
710 (__memmove_thunderx2): Rewritten using SIMD ld/st
711 (__memcpy_thunderx2): Fixed handling overlapping cases.
712 Used ldp/stp instead of ldr/str if possible. Made loops
713 tails branchless.
714
ac3da35d
FW
7152019-05-03 Florian Weimer <fweimer@redhat.com>
716
717 * misc/tst-tsearch.c (walk_tree): Add more error checking.
718
b2af6fb2
AZ
7192019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
720
7dfde28a 721 [BZ #24506]
b2af6fb2
AZ
722 * elf/tst-pldd.c (in_str_list): New function.
723 (do_test): Add default names for ld and libc as one option.
724
7b807a35
FW
7252019-05-02 Florian Weimer <fweimer@redhat.com>
726
727 misc: Add twalk_r function.
728 * include/search.h (__twalk_r): Declare.
729 * manual/examples/twalk.c: New file.
730 * manual/search.texi (Tree Search Function): Document twalk_r.
731 * misc/Versions (2.30): Export twalk_r.
732 (GLIBC_PRIVATE): Export __twalk_r.
733 * misc/search.h [__USE_GNU] (twalk_r): Declare.
734 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
735 (twalk_r): Add weak alias.
736 * misc/tst-tsearch.c (struct walk_trace_element): Define.
737 (walk_trace): New variable.
738 (struct twalk_with_twalk_r_closure): Define.
739 (twalk_with_twalk_r_action): New function.
740 (twalk_with_twalk_r): Likewise.
741 (walk_action): Call walk_trace_add.
742 (walk_tree_with): Rename from walk_tree. Add walk argument.
743 (walk_tree): New function.
744 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
745 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
746 Likewise.
747 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
748 Likewise.
749 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
750 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
751 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
752 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
753 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
754 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
755 Likewise.
756 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
757 Likewise.
758 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
759 Likewise.
760 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
761 (GLIBC_2.30): Likewise.
762 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
763 (GLIBC_2.30): Likewise.
764 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
765 (GLIBC_2.30): Likewise.
766 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
767 (GLIBC_2.30): Likewise.
768 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
769 Likewise.
770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
771 (GLIBC_2.30): Likewise.
772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
773 (GLIBC_2.30): Likewise.
774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
775 (GLIBC_2.30): Likewise.
776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
777 (GLIBC_2.30): Likewise.
778 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
779 Likewise.
780 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
781 Likewise.
782 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
783 Likewise.
784 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
785 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
786 Likewise.
787 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
788 Likewise.
789 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
790 Likewise.
791 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
792 Likewise.
793
20aa5819
PE
7942019-04-30 Paul Eggert <eggert@cs.ucla.edu>
795
796 Make mktime etc. compatible with __time64_t
797 Keep these functions compatible with Gnulib while adding
798 __time64_t support. The basic idea is to move private API
799 declarations from include/time.h to time/mktime-internal.h, since
800 the former file cannot easily be shared with Gnulib whereas the
801 latter can.
802 Also, do some other minor cleanup while in the neighborhood.
803 * include/time.h: Include stdbool.h, time/mktime-internal.h.
804 (__mktime_internal): Move this prototype to time/mktime-internal.h,
805 since Gnulib needs it.
806 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
807 Move these macros to time/mktime-internal.h, since Gnulib needs them.
808 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
809 (in_time_t_range): New static function.
810 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
811 so that glibc users are not tempted to use __time64_t.
812 * time/mktime-internal.h: Rewrite so that it does both glibc
813 and Gnulib work. Include time.h if not _LIBC.
814 (mktime_offset_t) [!_LIBC]: Define for gnulib.
815 (__time64_t): New type or macro, moved here from
816 posix/bits/types.h.
817 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
818 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
819 from include/time.h.
820 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
821 New macros, taken from GNulib.
822 (__mktime_internal): New prototype, moved here from include/time.h.
823 * time/mktime.c (mktime_min, mktime_max, convert_time)
824 (ranged_convert, __mktime_internal, __mktime64):
825 * time/timegm.c (__timegm64):
826 Use __time64_t, not time_t.
827 * time/mktime.c: Stop worrying about whether time_t is floating-point.
828 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
829 Rename from mktime.
830 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
831 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
832 for libc_hidden_def.
833 Include errno.h.
834 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
835 Rename from timegm.
836 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
837
87c266d7
MR
8382019-04-30 Maciej W. Rozycki <macro@wdc.com>
839
840 [BZ #19444]
841 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
842 from `-Wmaybe-uninitialized'.
843 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
844
c4c0848b
AZ
8452019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
846
6cac323c
AZ
847 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
848 function.
849 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
850 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
851 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
852 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
853 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
855 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
857 Remove file.
858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
859 Likewise.
860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
861 Likewise.
862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
863 Likewise.
864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
865 New file.
866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
867 Likewise.
868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
869 Likewise.
870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
871 Likewise.
872 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
873 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
874 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
875 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
876 Likewise.
877 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
878 Likewise.
879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
880 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
881 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
882 file.
883 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
884 Likewise.
885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
886 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
887 * here.
888 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
889 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
890 s_ceilf-power5+, and s_ceilf-ppc64.
891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
892 file.
893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
896 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
897 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
898 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
899 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
900
c4c0848b
AZ
901 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
902 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
903 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
904
f492fc99
YD
9052019-04-29 Yann Droneaud <ydroneaud@opteya.com>
906
907 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
908 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
909 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
910 (sem_getvalue): Likewise.
911
c57afec0
FW
9122019-04-26 Florian Weimer <fweimer@redhat.com>
913
914 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
915 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
916
a8ff215e
FW
9172019-04-26 Florian Weimer <fweimer@redhat.com>
918
919 Makeconfig: Move -Wl,-rpath-link options before library references.
920 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
921 (link-libc): Remove $(link-libc-rpath-link).
922
9232019-04-25 Florian Weimer <fweimer@redhat.com>
924
925 * Makeconfig (+link-pie-before-libc): Remove $(CC).
926 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
927 (+link-static-before-libc): Remove $(CC).
928 (+link-static, +link-static-tests): Add $(CC).
929 (+link-before-libc): Remove $(CC).
930 (+link, +link-pie, +link-pie-printers): Add $(CC).
931
e30fb31c
FW
9322019-04-26 Florian Weimer <fweimer@redhat.com>
933
934 * Makeconfig (+link-pie-before-libc): Remove $(CC).
935 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
936 (+link-static-before-libc): Remove $(CC).
937 (+link-static, +link-static-tests): Add $(CC).
938 (+link-before-libc): Remove $(CC).
939 (+link, +link-pie, +link-pie-printers): Add $(CC).
940
deacca00
DA
9412019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
942
943 [BZ#24484]
944 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
945
b5ffdc48
FW
9462019-04-25 Florian Weimer <fweimer@redhat.com>
947
948 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
949 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
950 (bench-link-targets): New variable.
951 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
952
94a4e9e4
FW
9532019-04-25 Florian Weimer <fweimer@redhat.com>
954
955 Also enable BIND_NOW for programs if --enable-bind-now.
956 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
957 (+link-pie): Use $(link-extra-flags).
958 (+link-static): Likewise.
959 [! $(build-pie-default)] (+link): Likewise.
960 * manual/install.texi (Configuring and compiling): Update
961 --enable-bind-now description.
962 * INSTALL: Regenerated.
963
fe92a91f
WD
9642019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
965
966 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
967 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
968
f9b645b4
MF
9692019-04-24 Mike Frysinger <vapier@gentoo.org>
970
971 [BZ #18465]
972 * malloc/Makefile (others): Add memusagestat.
973 ($(objpfx)memusagestat): Delete rule.
974 (LDLIBS-memusagestat): New variable.
975
439bf534
FW
9762019-04-24 Florian Weimer <fweimer@redhat.com>
977
978 * locale/Makefile (tests-special): Guard setting by
979 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
980 to run while cross-compiling.
981
1a4c2735
AZ
9822019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
983
984 [BZ #18035]
985 * elf/Makefile (tests-container): Add tst-pldd.
986 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
987 (E(find_maps)): Avoid use alloca, use default read file operations
988 instead of explicit LFS names, and fix infinite loop.
989 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
990 (get_process_info): Use _Static_assert instead of assert, use default
991 directory operations instead of explicit LFS names, and free some
992 leadek pointers.
993 * elf/tst-pldd.c: New file.
994
2d398aa2
L
9952019-04-23 H.J. Lu <hongjiu.lu@intel.com>
996
997 * malloc/arena.c (do_set_mallopt_check): Removed.
998
e485b2b6
FW
9992019-04-23 Florian Weimer <fweimer@redhat.com>
1000
1001 locale: Add LOCPATH diagnostics to the locale program.
1002 * locale/programs/locale.c (setlocale_failed): New variable.
1003 (try_setlocale): New function.
1004 (quote_string): Likewise.
1005 (setlocale_diagnostics): Likewise.
1006 (main): Call try_setlocale instead of setlocale. Call
1007 setlocale_diagnostics.
1008 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
1009 (tst-locale-locpath.out): New target.
1010 * locale/tst-locale-locpath.sh: New file.
1011
25f7a3c9
AZ
10122019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1013
1014 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
1015 to 2.30 notes.
1016
9bf8e29c
AZ
10172019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1018
1019 [BZ #23741]
1020 * malloc/hooks.c (malloc_check, realloc_check): Use
1021 __builtin_add_overflow on overflow check and adapt to
1022 checked_request2size change.
1023 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
1024 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
1025 allocation size to PTRDIFF_MAX.
1026 (REQUEST_OUT_OF_RANGE): Remove macro.
1027 (checked_request2size): Change to inline function and limit maximum
1028 requested size to PTRDIFF_MAX.
1029 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
1030 maximum allocation size to PTRDIFF_MAX.
1031 (_mid_memalign): Use _int_memalign call for overflow check.
1032 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
1033 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
1034 limit maximum requested size to PTRDIFF_MAX.
1035 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
1036 valloc, pvalloc): Add __attribute_alloc_size__.
1037 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
1038 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
1039 larger than PTRDIFF_MAX.
1040 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
1041 around tests of malloc with negative sizes.
1042 * malloc/tst-posix_memalign.c (do_test): Likewise.
1043 * malloc/tst-pvalloc.c (do_test): Likewise.
1044 * malloc/tst-valloc.c (do_test): Likewise.
1045 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
1046 with resulting size allocation larger than PTRDIFF_MAX with
1047 reallocarray_nowarn.
1048 (reallocarray_nowarn): New function.
1049 * NEWS: Mention the malloc function semantic change.
1050
0e169691
AZ
10512019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1052
52faba65
AZ
1053 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
1054 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
1055
3a16dd78
AZ
1056 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
1057 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
1058 * sysdeps/powerpc/fpu/s_fma.c: New file.
1059 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
1060
1dac8bd6
AZ
1061 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
1062 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
1063
a3ae315a
AZ
1064 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
1065 the magic flag store.
1066 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
1067 Likewise.
1068 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
1069 Likewise.
1070 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
1071 Remove rt_sigreturn call.
1072
ffe8a9a8
AZ
1073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1074 Remove rt_sigreturn call.
1075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1076 Likewise.
1077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
1078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1079
0e169691
AZ
1080 * support/Makefile (libsupport-routines): Add support_subprocess,
1081 xposix_spawn, xposix_spawn_file_actions_addclose, and
1082 xposix_spawn_file_actions_adddup2.
1083 (tst-support_capture_subprocess-ARGS): New rule.
1084 * support/capture_subprocess.h (support_capture_subprogram): New
1085 prototype.
1086 * support/support_capture_subprocess.c (support_capture_subprocess):
1087 Refactor to use support_subprocess and support_capture_poll.
1088 (support_capture_subprogram): New function.
1089 * support/tst-support_capture_subprocess.c (write_mode_to_str,
1090 str_to_write_mode, test_common, parse_int, handle_restart,
1091 do_subprocess, do_subprogram, do_multiple_tests): New functions.
1092 (do_test): Add support_capture_subprogram tests.
1093 * support/subprocess.h: New file.
1094 * support/support_subprocess.c: Likewise.
1095 * support/xposix_spawn.c: Likewise.
1096 * support/xposix_spawn_file_actions_addclose.c: Likewise.
1097 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
1098 * support/xspawn.h: Likewise.
1099
bae8cf0e
MG
11002019-04-17 Mike Gerow <gerow@google.com>
1101
1102 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
1103 groups limit.
1104
e3f454ba
FW
11052019-04-11 Florian Weimer <fweimer@redhat.com>
1106
1107 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
1108 domain with empty string.
1109 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1110
32d85c11
FW
11112019-04-11 Florian Weimer <fweimer@redhat.com>
1112
1113 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
1114 comment.
1115 (alloc_buffer_next): Change return type to non-const. Update
1116 comment.
1117
221710af
FW
11182019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
1119
1120 * manual/time.texi (Formatting Calendar Time): Add missing percent
1121 sign to conversion specifier.
1122
e621246e
CD
11232019-04-09 Carlos O'Donell <carlos@redhat.com>
1124 Kwok Cheung Yeung <kcy@codesourcery.com>
1125
1126 [BZ #16573]
1127 * malloc/mtrace.c: Define prototypes for all hooks.
1128 (set_default_hooks): New function.
1129 (set_trace_hooks): Likewise.
1130 (save_default_hooks): Likewise.
1131 (tr_freehook): Use new s*_hooks functions.
1132 (tr_mallochook): Likewise.
1133 (tr_reallochook): Likewise.
1134 (tr_memalignhook): Likewise.
1135 (mtrace): Likewise.
1136 (muntrace): Likewise.
1137
648279f4
WD
11382019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1139
1140 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
1141 (generic_stpcpy): New function.
1142 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
1143 (generic_stpncpy): New function.
1144 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
1145 (generic_strcat): New function.
1146 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
1147 (generic_strcpy): New function.
1148 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
1149 (STUPID_STRNCAT): Remove function.
1150 (generic_strncat): New function.
1151 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
1152 (STUPID_STRNCPY): Remove function.
1153 (generic_strncpy): New function.
1154 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
1155 (generic_strnlen): New function.
1156 (memchr_strnlen): New function.
1157 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
1158 (memchr_strlen): Likewise.
1159
93eebae5
WD
11602019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1161
1162 * benchtests/bench-strstr.c (input): Add realistic input text.
1163 (stupid_strstr): Remove function.
1164 (basic_strstr): Add function.
1165 (twoway_strstr): Add function.
1166 (do_one_test): Add result checking.
1167 (do_test): Use new input text. Remove accidental early matches.
1168 (test_main): Improve range of tests, reduce unaligned cases.
1169
a173d09f
WD
11702019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1171
1172 * benchtests/bench-memmem.c (simple_memmem): Remove function.
1173 (basic_memmem): Add function.
1174 (twoway_memmem): Add function.
1175
6103c0a8
WD
11762019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1177
1178 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
1179 * benchtests/bench-malloc-thread.c: Likewise.
1180 * benchtests/bench-skeleton.c: Likewise.
1181 * benchtests/bench-strtod.c: Likewise.
1182 * benchtests/bench-timing.h: Likewise.
1183
33322186
FW
11842019-04-08 Florian Weimer <fweimer@redhat.com>
1185
1186 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
1187 definitions.
1188 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
1189 RES_INSECURE2 security checks.
1190 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
1191 RES_INSECURE2 handling.
1192
3f8b44be
FW
11932019-04-08 Florian Weimer <fweimer@redhat.com>
1194
1195 resolv: Remove support for RES_USE_INET6 and the inet6 option.
1196 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
1197 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
1198 GETHOSTBYNAME.
1199 * resolv/Makefile (tests): Remove tst-res_use_inet6.
1200 (tests-internal): Update justification for tst-resolv-res_init,
1201 tst-resolv-res_init-thread.
1202 (tst-res_use_inet6): Remove target.
1203 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
1204 * resolv/res_debug.c (p_option): Remove "inet6" support.
1205 * resolv/res_init.c (res_setoptions): Likewise.
1206 * resolv/res_use_inet6.h: Remove file.
1207 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
1208 definition.
1209 (res_use_inet6): Always return false.
1210 * resolv/resolv.h (RES_USE_INET6): Remove definition.
1211 * resolv/resolv_context.h: Adjust file comment.
1212 (struct resolv_context): Update comment on __next field.
1213 (__resolv_context_put): Update comment.
1214 * resolv/tst-res_use_inet6.c: Remove file.
1215 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
1216 "inet6" support.
1217 (test_cases): Adjust test case.
1218 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
1219 (thread_byname2_af_inet6): Use old byname_inet6 code.
1220 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
1221 (gai): Remove do_inet6 argument.
1222 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
1223 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
1224 (thread_gai_unspec_inet6): Remove functions.
1225 (do_test): Adjust thread_funcs.
1226 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
1227 RES_USE_INET6 flag.
1228 (gaih_inet): Do not disable RES_USE_INET6 flag.
1229
6b5c8607 12302019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
94e358f6
AY
1231
1232 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
1233 and remove redundant code.
1234
e3fd0b0e
AZ
12352019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1236
f82ed45d
AZ
1237 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
1238 New rule.
1239 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
1240 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
1241 Likewise.
1242 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
1243 Likewise.
1244 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
1245 Likewise.
1246 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
1247 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
1248 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
1249 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
1250 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
1251 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
1252 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1253 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
1254 wcsrchr-power7.
1255 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
1256 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1257 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1258 Remove wcsrchr optimizations.
1259 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1260
662c2cc4
AZ
1261 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
1262 the loop unroll.
1263
421e3005
AZ
1264 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
1265 New rule.
1266 * sysdeps/powerpc/power6/wcschr.c: Remove file.
1267 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
1268 Likewise.
1269 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
1270 Likewise.
1271 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
1272 Likewise.
1273 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
1274 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
1275 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
1276 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
1277 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1278 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
1279 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1280 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
1281 wcschr-power7.
1282 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
1283 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1284 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1285 Remove wcschr optimizations.
1286 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1287
7ba0100c
AZ
1288 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
1289 the loop unroll.
1290
447a1306
AZ
1291 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
1292 New rule.
1293 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
1294 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
1295 Likewise.
1296 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
1297 Likewise.
1298 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
1299 Likewise.
1300 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
1301 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
1302 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
1303 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
1304 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1305 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
1306 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1307 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
1308 wcscpy-power7.
1309 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
1310 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1311 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1312 Remove wcscpy optimizations.
1313 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1314
e3fd0b0e
AZ
1315 * include/loop_unroll.h: New file.
1316 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
1317 besides generic implementation.
1318
8260f236
DD
13192019-04-03 DJ Delorie <dj@redhat.com>
1320
1321 * time/tst-strftime3.c (tm_to_printed): Disable warning about
1322 snprintf truncating output.
1323
0bd545ee
DD
13242019-04-02 DJ Delorie <dj@redhat.com>
1325
1326 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
1327 warning.
1328
466afec3
TS
13292019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1330
1331 [BZ #22964]
1332 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
1333 era.
1334 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
1335 (mkreftable): Add rules for the new Japanese era and the new dates.
1336
2f1d6155
TS
13372019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1338 Rafal Luzynski <digitalfreak@lingonborough.com>
1339
1340 * time/tst-strftime2.c (date_t): Explicitly define the type.
1341 (dates): Use natural month and year numbers to express a date.
1342 (is_before): New function to compare dates.
1343 (mkreftable): Minor improvements to simplify maintenance.
1344 (do_test): Reflect the changes in dates array.
1345
84aea169
TS
1346 [BZ #24293]
1347 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
1348 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
1349 * time/tst-strftime2.c (locales): Likewise.
1350 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
1351 2010-04-01, and 2011-04-01.
1352 (mkreftable): Add rules for the new locales and the new dates.
1353
62449176
CD
13542019-04-01 Carlos O'Donell <carlos@redhat.com>
1355
1356 * localedata/locales/ja_JP: Add comments to era entries.
1357
e0e4c321
DD
13582019-04-01 DJ Delorie <dj@redhat.com>
1359
1360 [BZ #24394]
1361 * time/strptime_l.c (%Ey): Fix fencepost error.
1362 * time/tst-strftime3.c: New.
1363 * time/Makefile (tests): Add tst-strftime3.
1364
6b5c8607 13652019-04-01 Uros Bizjak <ubizjak@gmail.com>
993e3107
UB
1366
1367 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
1368 conditional branch to DIVBYZERO. Fix unwind info.
1369 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
1370 excb after conditional branch to $powerof2. Add missing unop
1371 instructions and .align directives and reorder instructions to
1372 match __divqu.
1373
d5ecee82
RH
13742019-04-01 Richard Henderson <rth@twiddle.net>
1375
1376 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
1377 Do not redefine.
1378 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
1379 Do not redefine.
1380
656dd306
MR
13812019-03-30 Maciej W. Rozycki <macro@wdc.com>
1382
1383 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
1384 $libc_cv_riscv_float_abi in `test' invocation.
1385 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
1386
10cce669
PC
13872019-03-29 Paul A. Clarke <pc@us.ibm.com>
1388
1389 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
1390 asm with builtin.
1391 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
1392 Likewise.
1393 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1394 (_GET_SI_FPSCR): Likewise.
1395 (_SET_SI_FPSCR): Likewise.
1396
5e67e4bf 13972019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4997e8f3
AZ
1398
1399 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
1400 clang 2.8.
1401 (signbit): Use builtin for clang 3.3.
1402 (isinf): Use builtin for clang 3.7.
1403
01963891
AZ
14042019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1405
1406 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
1407
67112f7a
AH
14082019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
1409
1410 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
1411 quote in printf.
1412
7a773abf
MC
14132019-03-25 Mike Crowe <mac@mcrowe.com>
1414
82849fde
MC
1415 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
1416 pthread_rwlock_timedrdlock with calls to
1417 pthread_rwlock_timedwrlock to ensure that the latter is tested
1418 too. Use new function name in diagnostic messages too.
1419
7a773abf
MC
1420 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
1421 (do_test) Use libsupport test macros rather than hand-coded
1422 conditionals and error messages. Ensure that sem_init returns zero
1423 rather than not -1. Use <support/test-driver.c> rather than
1424 test-skeleton.c.
1425
1426 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
1427 test macros rather than hand-coded conditionals and error messages.
1428 Use <support/test-driver.c> rather than test-skeleton.c.
1429
9ac2de69
JM
14302019-03-25 Joseph Myers <joseph@codesourcery.com>
1431
d7563e62
JM
1432 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
1433
9ac2de69
JM
1434 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
1435 (NT_MIPS_MSA): Likewise.
1436
38cc11da
AZ
14372019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1438
7621e38b
WD
1439 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
1440 * benchtests/README: Update description.
1441 * benchtests/bench-timing.h: Default to hp-timing.
1442 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
1443 HP_TIMING_PRINT): Remove.
1444 (HP_TIMING_NOW): Add generic implementation.
1445 (hp_timing_t): Change to uint64_t.
1446
1e372ded
AZ
1447 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
1448 HP_TIMING_INLINE.
1449 * nptl/descr.h: Likewise.
1450 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
1451 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
1452 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
1453 Abstract hp-timing usage with RTLD_* macros.
1454 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
1455 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
1456 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
1457 HP_TIMING_NONAVAIL): Likewise.
1458 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
1459 Likewise.
1460 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
1461 HP_SMALL_TIMING_AVAIL): Likewise.
1462 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
1463 HP_SMALL_TIMING_AVAIL): Likewise.
1464 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
1465 HP_SMALL_TIMING_AVAIL): Likewise.
1466 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
1467 HP_SMALL_TIMING_AVAIL): Likewise.
1468 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
1469 Likewise.
1470 * sysdeps/generic/hp-timing-common.h: Update comment with
1471 HP_TIMING_AVAIL removal.
1472
359653aa
AZ
1473 * include/random-bits.h: New file.
1474 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
1475 (__res_context_mkquery): Remove usage hp-timing usage and replace with
1476 random_bits.
1477 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
1478 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
1479 Likewise.
1480
6e8ba7fd
AZ
1481 * include/libc-internal.h (__get_clockfreq): Remove prototype.
1482 * rt/Makefile (clock-routines): Remove get_clockfreq.
1483 * rt/get_clockfreq.c: Remove file.
1484 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
1485 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
1486 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
1487 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
1488 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
1489
77b6f553
AZ
1490 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
1491 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
1492 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
1493 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
1494 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
1495
38cc11da
AZ
1496 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
1497 pthread_clock_settime.
1498 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
1499 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
1500 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
1501 * elf/rtld.c (_dl_start_final): Likewise.
1502 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
1503 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
1504 Remove.
1505 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
1506 (_dl_cpuclock_offset): Remove.
1507 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
1508 cpuclock_offset_ununsed.
1509 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
1510 cpuclock_offset set.
1511 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
1512 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1513 * nptl/pthread_clock_gettime.c: Remove file.
1514 * nptl/pthread_clock_settime.c: Likewise.
1515 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
1516 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
1517 and CLOCK_PROCESS_CPUTIME_ID support.
1518 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
1519 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
1520 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
1521 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
1522 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
1523 Likewise.
1524 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
1525
421749d6
SL
15262019-03-22 Stefan Liebler <stli@linux.ibm.com>
1527
1528 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
1529 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
1530 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
1531 New defines.
1532 * sysdeps/s390/memmem-arch13.S: New file.
1533 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
1534 if it is only used as fallback.
1535 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
1536 * sysdeps/s390/multiarch/ifunc-impl-list.c
1537 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
1538
6f47401b
SL
15392019-03-22 Stefan Liebler <stli@linux.ibm.com>
1540
1541 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
1542 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
1543 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
1544 New defines.
1545 * sysdeps/s390/multiarch/ifunc-impl-list.c
1546 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
1547 * sysdeps/s390/strstr-arch13.S: New file.
1548 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
1549 if it is only used as fallback.
1550 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
1551
96fbb9a3
SL
15522019-03-22 Stefan Liebler <stli@linux.ibm.com>
1553
1554 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
1555 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
1556 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
1557 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
1558 ifunc selector.
1559 * sysdeps/s390/multiarch/ifunc-impl-list.c
1560 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
1561 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
1562 S390_IS_ARCH13_MIE3): New defines.
1563
a899a551
SL
15642019-03-22 Stefan Liebler <stli@linux.ibm.com>
1565
1566 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
1567 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
1568 * sysdeps/s390/configure.ac: Add checks for arch13 support.
1569 * sysdeps/s390/configure: Regenerated.
1570
1a7df49c
SL
15712019-03-22 Stefan Liebler <stli@linux.ibm.com>
1572
1573 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
1574 Add vxe2, vxp, dflt, sort flags.
1575 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
1576 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
1577 capabilities.
1578 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
1579 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
1580 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
1581 HWCAP_S390_DFLT): Define.
1582
5e67e4bf 15832019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5abcddd7
GG
1584
1585 [BZ #24372]
1586 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
1587 of compiler warning.
1588 * locale/programs/ld-collate.c (collate_output): Likewise.
1589
ac64195c
DD
15902019-03-21 DJ Delorie <dj@redhat.com>
1591
1592 [BZ #24372]
1593 * iconv/iconvconfig.c (write_output): Replace floating point math
1594 with integer math to avoid imprecise results.
1595 * locale/programs/ld-collate.c (collate_output): Likewise.
1596
61f5e947
SL
15972019-03-21 Stefan Liebler <stli@linux.ibm.com>
1598
1599 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
1600 Add HWCAP_S390_VX and HWCAP_S390_VXE.
1601
57ada43c 16022019-03-20 mansayk <6688000@gmail.com>
1603
1604 [BZ #24296]
1605 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
1606 (abday): Likewise, but remove the trailing dots.
1607
a2e57f89
JM
16082019-03-19 Joseph Myers <joseph@codesourcery.com>
1609
1610 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
1611 macro.
1612 (HWCAP_PACA): Likewise.
1613 (HWCAP_PACG): Likewise.
1614 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
1615 Increase to 32.
1616 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
1617
e87d8ada
ST
16182019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1619
1620 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
1621 should be handled.
1622
477e739b
JM
16232019-03-15 Joseph Myers <joseph@codesourcery.com>
1624
1625 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1626 version to 5.0.
1627 (old_getpagesize): New syscall.
1628
238d60a1
FY
16292019-03-15 Felix Yan <felixonmars@archlinux.org>
1630
1631 [BZ #24293]
1632 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
1633 * localedata/locales/cmn_TW (era): Likewise.
1634 * localedata/locales/hak_TW (era): Likewise.
1635 * localedata/locales/lzh_TW (era): Likewise.
1636 * localedata/locales/nan_TW (era): Likewise.
1637
5dde9ef7
DD
16382019-03-14 Adam Maris <amaris@redhat.com>
1639
1640 * malloc/malloc.c (_int_malloc): Check for large bin list
1641 corruption when inserting unsorted chunk.
1642
a0a0dc83
FW
16432019-03-14 Florian Weimer <fweimer@redhat.com>
1644
1645 Remove obsolete, never-implemented XSI STREAMS declarations.
1646 * manual/terminal.texi (Allocation): Remove portability note and
1647 adjust example.
1648 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
1649 _SC_STREAMS.
1650 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
1651 * sysdeps/unix/inet/Subdirs (streams): Remove.
1652 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
1653 (conformtest-headers-UNIX98): Likewise.
1654 (conformtest-headers-XOPEN2K): Likewise.
1655 (conformtest-headers-POSIX2008): Likewise.
1656 * posix/compat-streams.c: New file.
1657 * posix/Makefile (routines): Add it.
1658 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
1659 getpmsg, isastream, putmsg, putpmsg.
1660 (GLIBC_2.30): New section.
1661 * bits/stropts.h: Remove file.
1662 * bits/xtitypes.h: Likewise.
1663 * conform/data/stropts.h-data: Likewise.
1664 * include/stropts.h: Likewise.
1665 * include/sys/stropts.h: Likewise.
1666 * include/xtitypes.h: Likewise.
1667 * streams/Makefile: Likewise.
1668 * streams/fattach.c: Likewise.
1669 * streams/fdetach.c: Likewise.
1670 * streams/getmsg.c: Likewise.
1671 * streams/getpmsg.c: Likewise.
1672 * streams/isastream.c: Likewise.
1673 * streams/putmsg.c: Likewise.
1674 * streams/putpmsg.c: Likewise.
1675 * streams/stropts.h: Likewise.
1676 * streams/sys/stropts.h: Likewise.
1677 * sysdeps/ia64/bits/xtitypes.h: Likewise.
1678 * sysdeps/s390/bits/xtitypes.h: Likewise.
1679 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
1680 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
1681 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
1682 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
1683 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
1684 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
1685 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
1686 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
1687 * sysdeps/x86/bits/xtitypes.h: Likewise.
1688
081bdf94
FW
16892019-03-14 Florian Weimer <fweimer@redhat.com>
1690
1691 * nss/tst-nss-files-alias-truncated.c (do_test): Load
1692 libnss_files.
1693 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
1694 but not with libnss_files.
1695 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
1696
97f8225d
ZW
16972019-03-14 Zack Weinberg <zackw@panix.com>
1698
1699 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
1700 Specify encoding="utf-8" when opening headers to check.
1701
0c1041ee
JM
17022019-03-13 Joseph Myers <joseph@codesourcery.com>
1703
1704 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1705 version to 5.0.
1706 (Context.checkout_tar): Handle variable major version for Linux
1707 kernel.
1708
043440e7
FW
17092019-03-13 Florian Weimer <fweimer@redhat.com>
1710
1711 [BZ #24047]
1712 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
1713
29218b26
ZW
17142019-03-13 Zack Weinberg <zackw@panix.com>
1715
1716 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
1717 Move to stdlib.
1718 * include/inttypes.h: Adjust to match.
1719 * include/stdint.h: New wrapper.
1720
711a322a
ZW
17212019-03-13 Zack Weinberg <zackw@panix.com>
1722
1723 * scripts/check-obsolete-constructs.py: New test script.
1724 * scripts/check-installed-headers.sh: Remove tests for
1725 obsolete typedefs, superseded by check-obsolete-constructs.py.
1726 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
1727 as a special test. Update commentary.
1728 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
1729 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
1730 Update commentary.
1731 * posix/sys/types.h (__u_intN_t): Remove.
1732 (u_int8_t): Typedef using __uint8_t.
1733 (u_int16_t): Typedef using __uint16_t.
1734 (u_int32_t): Typedef using __uint32_t.
1735 (u_int64_t): Typedef using __uint64_t.
1736
7c651308
SL
17372019-03-13 Stefan Liebler <stli@linux.ibm.com>
1738
1739 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
1740 call _dl_procinfo.
1741 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
1742 Ignore types other than AT_HWCAP.
1743 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
1744 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
1745 Likewise.
1746 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
1747 in the case of falling back to generic output mechanism.
1748 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
1749 Likewise.
1750
38b52865
FW
17512019-03-12 Florian Weimer <fweimer@redhat.com>
1752
1753 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
1754
08504de7
FW
17552019-03-12 Florian Weimer <fweimer@redhat.com>
1756
1757 [BZ #24047]
1758 resolv: Enable full ICMP errors for UDP DNS sockets
1759 * resolv/res_enable_icmp.c: New file.
1760 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
1761 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
1762 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
1763 socket.
1764
5fbcd763
MH
17652019-03-11 Mao Han <han_mao@c-sky.com>
1766
1767 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
1768 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
1769
c4e5f34b
MH
17702019-03-11 Mao Han <han_mao@c-sky.com>
1771
1772 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
1773 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
1774 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
1775
827e30f3
MH
17762019-03-11 Mao Han <han_mao@c-sky.com>
1777
1778 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
1779 directly.
1780 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
1781 definition.
1782
6229c9bf
MH
17832019-03-11 Mao Han <han_mao@c-sky.com>
1784
1785 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
1786 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
1787 in mcontext_t
1788
86bdd49d
MF
17892019-03-08 Mike FABIAN <mfabian@redhat.com>
1790
1791 [BZ #24307]
1792 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
1793 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
1794 Unicode 12.0.0.
1795 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
1796 * localedata/unicode-gen/PropList.txt: Likewise.
1797 * localedata/unicode-gen/UnicodeData.txt: Likewise.
1798 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
1799 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
1800 * localedata/charmaps/UTF-8: Regenerate.
1801 * localedata/locales/i18n_ctype: Likewise.
1802 * localedata/locales/tr_TR: Likewise.
1803 * localedata/locales/translit_circle: Likewise.
1804 * localedata/locales/translit_cjk_compat: Likewise.
1805 * localedata/locales/translit_combining: Likewise.
1806 * localedata/locales/translit_compat: Likewise.
1807 * localedata/locales/translit_font: Likewise.
1808 * localedata/locales/translit_fraction: Likewise.
1809
c5f65462
JM
18102019-03-07 Joseph Myers <joseph@codesourcery.com>
1811
1812 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
1813 than after operators.
1814 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
1815 (setitimer_locked): Likewise.
1816 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
1817 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
1818 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
1819 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
1820 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
1821 (PPC_CPU_SUPPORTED): Likewise.
1822 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
1823 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
1824 (stat_overflow): Likewise.
1825 (statfs_overflow): Likewise.
1826 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
1827 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
1828 (eq_ttyname_r): Likewise.
1829 (run_chroot_tests): Likewise.
1830
27a2f2f3
FW
18312019-03-07 Florian Weimer <fweimer@redhat.com>
1832
1833 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
1834 header check.
1835
ae514971 18362019-03-07 Martin Liska <mliska@suse.cz>
1837
1838 * math/Makefile: Change location where math-vector-fortran.h is
1839 installed.
1840 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
1841 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
1842 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
1843 * scripts/check-installed-headers.sh: Skip Fortran header files.
1844 * scripts/check-wrapper-headers.py: Likewise.
1845
0ddb7ea8
AZ
18462019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1847
1848 * nptl/nptl-init.c (__have_futex_clock_realtime,
1849 __have_futex_clock_realtime): Remove definition.
1850 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
1851 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
1852 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
1853 __ASSUME_FUTEX_CLOCK_REALTIME support.
1854 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
1855 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1856 * sysdeps/unix/sysv/linux/kernel-features.h
1857 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
1858 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
1859 Adjust comment.
1860
590675c0
GG
18612019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1862
1863 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
1864 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
1865 __GI___wcscpy and wcscpy.
1866
de71ee7b
FW
18672019-03-04 Florian Weimer <fweimer@redhat.com>
1868
1869 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
1870 declaration.
1871 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
1872 defined.
1873
ce6ddae0
SL
18742019-03-04 Stefan Liebler <stli@linux.ibm.com>
1875
1876 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
1877 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1878
31efface
TS
18792019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1880
1881 [BZ #24162]
1882 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
1883 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
1884
f0eaf862
GG
18852019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1886
1887 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
1888 tests.
1889 (do_test): Likewise.
1890 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
1891 (do_test_call_varg): Likewise.
1892 (do_test_call_rarg): Likewise.
1893 * sysdeps/ieee754/ldbl-opt/Makefile
1894 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
1895 tst-nldbl-error.
1896 ($(objpfx)tst-nldbl-warn.c): New rule.
1897 ($(objpfx)tst-nldbl-error.c): Likewise.
1898 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
1899 New variables.
1900
d11086a9
GG
19012019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1902
1903 [BZ #23984]
1904 * include/bits/error-ldbl.h: New file.
1905 * include/error.h: Include stdarg.h. Declare internal functions
1906 __error_internal and __error_at_line_internal.
1907 * misc/Makefile (headers): Add bits/error-ldbl.h.
1908 * misc/bits/error-ldbl.h: New file.
1909 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
1910 avoid the inclusion of bits/error.h.
1911 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
1912 and __nldbl_error_at_line.
1913 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
1914 (__nldbl_error, __ndlbl_error_at_line): New functions.
1915 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
1916 Redirect error and error_at_line.
1917 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1919 Likewise.
1920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1921 Likewise.
1922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1923 Likewise.
1924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1925 Likewise.
1926 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1927 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1928 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1929
90188e7d
GG
19302019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1931
1932 [BZ #23984]
1933 * include/bits/err-ldbl.h: New file.
1934 * include/err.h: Add prototypes for the internal functions:
1935 __vwarnx_internal and __vwarn_internal.
1936 * misc/Makefile (headers): Add bits/err-ldbl.h.
1937 * misc/bits/err-ldbl.h: New file.
1938 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
1939 defined, i.e.: when -mlong-double-64 is in use.
1940 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
1941 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
1942 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
1943 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
1944 (VA_CALL): New macro.
1945 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
1946 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
1947 functions.
1948 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
1949 declare prototypes for the new functions.
1950 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1952 Likewise.
1953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1954 Likewise.
1955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1956 Likewise.
1957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1958 Likewise.
1959 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1960 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1961 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1962
ea2d89d0
GG
19632019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1964
1965 * sysdeps/ieee754/ldbl-opt/Makefile
1966 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
1967 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
1968 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
1969
6e1f6440
GG
19702019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1971
1972 [BZ #23983]
1973 * argp/Makefile (headers): Add bits/argp-ldbl.h.
1974 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
1975 * argp/bits/argp-ldbl.h: New file.
1976 * include/argp.h: Include stdarg.h. Add prototypes for internal
1977 functions: __argp_error_internal and __argp_failure_internal.
1978 * include/bits/argp-ldbl.h: New file.
1979 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
1980 __nldbl_argp_error and __nldbl_argp_failure.
1981 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
1982 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
1983 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
1984 Redirect argp_error and argp_failure calls.
1985 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1987 Likewise.
1988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1989 Likewise.
1990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1991 Likewise.
1992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1993 Likewise.
1994 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1995 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1996 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1997
c259196b
FW
19982019-03-01 Florian Weimer <fweimer@redhat.com>
1999
2000 [BZ #20419]
2001 * elf/tst-big-note-lib.S: Create a syntactically valid note.
2002 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
2003 code, to avoid creating an ABI tag note.
2004 (modules-names-nobuild): Add tst-big-note-lib.
2005
928b305d
SL
20062019-03-01 Stefan Liebler <stli@linux.ibm.com>
2007
2008 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
2009 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
2010
36f30c10
FW
20112019-03-01 Florian Weimer <fweimer@redhat.com>
2012
2013 [BZ #20271]
2014 * sysdeps/unix/sysv/linux/netlink_assert_response.c
2015 (__netlink_assert_response): Add additional missing newlines.
2016
462e83a4
JM
20172019-02-28 Joseph Myers <joseph@codesourcery.com>
2018
2019 * sysdeps/powerpc/powerpc32/dl-machine.c
2020 (__elf_machine_fixup_plt): Use space before '('.
2021 (__process_machine_rela): Likewise.
2022 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
2023 Likewise.
2024 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
2025 Likewise.
2026 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
2027 Likewise.
2028 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
2029 (pattern): Likewise.
2030 (delta): Likewise.
2031 (check_result): Likewise.
2032 (check_excepts): Likewise.
2033 (check_op): Likewise.
2034 (fail_xr): Likewise.
2035 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
2036 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
2037 (SCNHSZ): Likewise.
2038 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
2039 Likewise.
2040 (ARGS): Likewise.
2041 (__makecontext): Likewise.
2042 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
2043 Likewise.
2044
cc3e573c
FW
20452019-02-28 Florian Weimer <fweimer@redhat.com>
2046
2047 [BZ #23937]
2048 elf: Add test with a local IFUNC resolver.
2049 * elf/ifuncmain9.c: New file.
2050 * elf/ifuncmain9pic.c: Likewise.
2051 * elf/ifuncmain9picstatic.c: Likewise.
2052 * elf/ifuncmain9pie.c: Likewise.
2053 * elf/ifuncmain9static.c: Likewise.
2054 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
2055 ifuncmain9static, ifuncmain9picstatic.
2056 * elf/Makefile [multi-arch && build-shared] (tests-internal):
2057 Add ifuncmain9, ifuncmain9pic.
2058 * elf/Makefile [multi-arch && build-shared && have-fpie]
2059 (ifunc-pie-tests): Add ifuncmain9pie.
2060 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
2061 (CFLAGS-ifuncmain9picstatic.c): Likewise.
2062 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
2063
92ad88fe
L
20642019-02-27 H.J. Lu <hongjiu.lu@intel.com>
2065
2066 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
2067 * configure: Regenerated.
2068 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
2069
6bd4d02e
AZ
20702019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2071
2072 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
2073 symbol as __wcspcy instead of wcscpy.
2074
1b218417
ST
20752019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2076
2077 * include/stdio.h (__renameat2): New hidden prototype.
2078 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
2079 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
2080 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
2081 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
2082
c4f50205
JM
20832019-02-27 Joseph Myers <joseph@codesourcery.com>
2084
f627dd4d
JM
2085 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
2086 if statement.
2087
c4f50205
JM
2088 * benchtests/bench-strcpy.c (do_test): Use space before '('.
2089 * benchtests/bench-string.h (cmdline_process_function): Likewise.
2090 * benchtests/bench-strlen.c (do_test): Likewise.
2091 (test_main): Likewise.
2092 * catgets/gencat.c (read_old): Likewise.
2093 * elf/cache.c (load_aux_cache): Likewise.
2094 * iconvdata/bug-iconv8.c (do_test): Likewise.
2095 * math/test-tgmath-ret.c (do_test): Likewise.
2096 * nis/nis_call.c (rec_dirsearch): Likewise.
2097 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2098 * nptl/tst-audit-threads.c (do_test): Likewise.
2099 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
2100 * nss/nss_test1.c (init): Likewise.
2101 * nss/test-netdb.c (test_hosts): Likewise.
2102 * posix/execvpe.c (maybe_script_execute): Likewise.
2103 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
2104 * stdio-common/tst-printf.c (do_test): Likewise.
2105 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
2106 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
2107 * stdlib/qsort.c (STACK_SIZE): Likewise.
2108 * stdlib/test-canon.c (do_test): Likewise.
2109 * stdlib/tst-swapcontext1.c (do_test): Likewise.
2110 * string/memcmp.c (OPSIZ): Likewise.
2111 * string/test-strcpy.c (do_test): Likewise.
2112 (do_random_tests): Likewise.
2113 * string/test-strlen.c (do_test): Likewise.
2114 (test_main): Likewise.
2115 * string/test-strrchr.c (do_test): Likewise.
2116 (do_random_tests): Likewise.
2117 * string/tester.c (test_memrchr): Likewise.
2118 (test_memchr): Likewise.
2119 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
2120 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
2121 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
2122 (read_encoded_value_with_base): Likewise.
2123 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
2124 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
2125 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
2126 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
2127 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
2128 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
2129 Likewise.
2130 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
2131 Likewise.
2132 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
2133 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
2134 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
2135 Likewise.
2136 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
2137 Likewise.
2138 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
2139 Likewise.
2140 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
2141 Likewise.
2142 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
2143 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
2144 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2145 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
2146 * time/test_time.c (main): Likewise.
2147
7b3fb620
AZ
21482019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2149
457208b1
AZ
2150 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
2151
30a7e208
AZ
2152 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
2153 wmemcpy.
2154
ddf21ec7
AZ
2155 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
2156 wmemcpy.
2157
4d801563
AZ
2158 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
2159
81a14439
AZ
2160 * include/wchar.h (__wcscpy): New prototype.
2161 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
2162 (__wcscpy): Route internal symbol to generic implementation.
2163 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
2164 Add internal __wcscpy alias.
2165 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
2166 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
2167 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
2168 * wcsmbs/wcscpy.c (wcscpy): Add
2169 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
2170 use generic implementation.
2171 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
2172
39ef0744
AZ
2173 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
2174 wmemset.
2175
7b3fb620
AZ
2176 * sysdeps/m68k/wcpcpy.c: Remove file.
2177 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
2178
e0cb7b61
JM
21792019-02-26 Joseph Myers <joseph@codesourcery.com>
2180
aa0e4663
JM
2181 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
2182 than after operators.
2183 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
2184 * sysdeps/mach/hurd/getcwd.c
2185 (__hurd_canonicalize_directory_name_internal): Likewise.
2186 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
2187 (pthread_mutex_consistent): Likewise.
2188 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
2189 Likewise.
2190 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
2191 (__pthread_mutex_transfer_np): Likewise.
2192 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
2193 (__pthread_mutex_unlock): Likewise.
2194 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
2195 (mtx_owned_p): Likewise.
2196 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
2197 (pthread_mutexattr_getrobust): Likewise.
2198 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
2199 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
2200 Likewise.
2201 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2202 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
2203 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
2204 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
2205 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
2206 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2207 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
2208 Likewise.
2209 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
2210 Likewise.
2211 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
2212 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
2213 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
2214 (____longjmp_chk): Likewise.
2215 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
2216 Likewise.
2217 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2218 (INTERNAL_SYSCALL): Likewise.
2219 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2220 (INTERNAL_SYSCALL): Likewise.
2221 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2222 (__get_clockfreq_via_cpuinfo): Likewise.
2223
e0cb7b61
JM
2224 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
2225 comments.
2226 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
2227 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
2228 (WORD_COPY_BWD): Likewise.
2229 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2230 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2231 Likewise.
2232 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
2233 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
2234 comment.
2235 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
2236
a04549c1
JM
22372019-02-25 Joseph Myers <joseph@codesourcery.com>
2238
2239 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
2240 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
2241 rather than after operators.
2242 * elf/cache.c (print_cache): Likewise.
2243 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
2244 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
2245 * hurd/hurdinit.c (_hurd_setproc): Likewise.
2246 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
2247 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
2248 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
2249 (reauth_proc): Likewise.
2250 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
2251 (__file_name_split_at): Likewise.
2252 (__directory_name_split_at): Likewise.
2253 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
2254 * hurd/port2fd.c (_hurd_port2fd): Likewise.
2255 * iconv/gconv_dl.c (do_print): Likewise.
2256 * inet/netinet/in.h (struct sockaddr_in): Likewise.
2257 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
2258 * locale/setlocale.c (new_composite_name): Likewise.
2259 * malloc/memusagestat.c (main): Likewise.
2260 * misc/fstab.c (fstab_convert): Likewise.
2261 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
2262 Likewise.
2263 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
2264 (getgrent_next_file): Likewise.
2265 (internal_getgrnam_r): Likewise.
2266 (internal_getgrgid_r): Likewise.
2267 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
2268 Likewise.
2269 (internal_getgrent_r): Likewise.
2270 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
2271 (getpwent_next_nss): Likewise.
2272 (getpwent_next_file): Likewise.
2273 (internal_getpwnam_r): Likewise.
2274 (internal_getpwuid_r): Likewise.
2275 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
2276 Likewise.
2277 (getspent_next_nss): Likewise.
2278 (internal_getspnam_r): Likewise.
2279 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
2280 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
2281 * string/strchr.c (STRCHR): Likewise.
2282 * string/strchrnul.c (STRCHRNUL): Likewise.
2283 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
2284 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2285 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
2286 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
2287 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
2288 Likewise.
2289 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
2290 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
2291 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
2292 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
2293 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
2294 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
2295 (open_file): Likewise.
2296 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
2297 (pthread_mutexattr_setprotocol): Likewise.
2298 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2299 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
2300 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
2301 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
2302 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
2303 Likewise.
2304 (elf_machine_rela): Likewise.
2305 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2306 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2307 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
2308 * sysdeps/posix/rename.c (rename): Likewise.
2309 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
2310 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
2311 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
2312 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
2313 * sysdeps/unix/grantpt.c (grantpt): Likewise.
2314 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
2315 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
2316 Likewise.
2317 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
2318 Likewise.
2319 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
2320 * time/tzfile.c (__tzfile_compute): Likewise.
2321
34a5a146
JM
23222019-02-22 Joseph Myers <joseph@codesourcery.com>
2323
2324 * benchtests/bench-memmem.c (simple_memmem): Break lines before
2325 rather than after operators.
2326 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
2327 * crypt/md5.c (md5_finish_ctx): Likewise.
2328 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
2329 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
2330 * elf/cache.c (load_aux_cache): Likewise.
2331 * elf/dl-load.c (open_verify): Likewise.
2332 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
2333 * elf/readelflib.c (process_elf_file): Likewise.
2334 * elf/rtld.c (dl_main): Likewise.
2335 * elf/sprof.c (generate_call_graph): Likewise.
2336 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
2337 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
2338 * hurd/dtable.c (reauth_dtable): Likewise.
2339 * hurd/getdport.c (__getdport): Likewise.
2340 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
2341 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
2342 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
2343 Likewise.
2344 * hurd/hurdioctl.c (fioctl): Likewise.
2345 * hurd/hurdselect.c (_hurd_select): Likewise.
2346 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
2347 (STOPSIGS): Likewise.
2348 * hurd/hurdstartup.c (_hurd_startup): Likewise.
2349 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
2350 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
2351 * hurd/msgportdemux.c (msgport_server): Likewise.
2352 * hurd/setauth.c (_hurd_setauth): Likewise.
2353 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
2354 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
2355 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
2356 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
2357 * login/tst-utmp.c (do_check): Likewise.
2358 (simulate_login): Likewise.
2359 * mach/lowlevellock.h (lll_lock): Likewise.
2360 (lll_trylock): Likewise.
2361 * math/test-fenv.c (ALL_EXC): Likewise.
2362 * math/test-fenvinline.c (ALL_EXC): Likewise.
2363 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
2364 * nis/nis_call.c (__do_niscall3): Likewise.
2365 * nis/nis_callback.c (cb_prog_1): Likewise.
2366 * nis/nis_defaults.c (searchaccess): Likewise.
2367 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2368 * nis/nis_ismember.c (internal_ismember): Likewise.
2369 * nis/nis_local_names.c (nis_local_principal): Likewise.
2370 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
2371 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
2372 Likewise.
2373 * nis/ypclnt.c (yp_match): Likewise.
2374 (yp_first): Likewise.
2375 (yp_next): Likewise.
2376 (yp_master): Likewise.
2377 (yp_order): Likewise.
2378 * nscd/hstcache.c (cache_addhst): Likewise.
2379 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2380 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
2381 (internal_getpwuid_r): Likewise.
2382 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
2383 * posix/glob.h (__GLOB_FLAGS): Likewise.
2384 * posix/regcomp.c (peek_token): Likewise.
2385 (peek_token_bracket): Likewise.
2386 (parse_expression): Likewise.
2387 * posix/regexec.c (sift_states_iter_mb): Likewise.
2388 (check_node_accept_bytes): Likewise.
2389 * posix/tst-spawn3.c (do_test): Likewise.
2390 * posix/wordexp-test.c (testit): Likewise.
2391 * posix/wordexp.c (parse_tilde): Likewise.
2392 (exec_comm): Likewise.
2393 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
2394 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
2395 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
2396 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
2397 * stdio-common/tst-fileno.c (do_test): Likewise.
2398 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
2399 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
2400 * stdlib/strtod_l.c (round_and_return): Likewise.
2401 (____STRTOF_INTERNAL): Likewise.
2402 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
2403 * string/strcspn.c (STRCSPN): Likewise.
2404 * string/test-memmem.c (simple_memmem): Likewise.
2405 * termios/tcsetattr.c (tcsetattr): Likewise.
2406 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
2407 * time/asctime.c (asctime_internal): Likewise.
2408 * time/strptime_l.c (__strptime_internal): Likewise.
2409 * time/sys/time.h (timercmp): Likewise.
2410 * time/tzfile.c (__tzfile_compute): Likewise.
2411
b0b50fe0
PF
24122019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
2413
b39d961c
TS
2414 [BZ #21915]
2415 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
b0b50fe0 2416
f43b8dd5
GG
24172019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2418
2419 * argp/argp-help.c (__argp_error_internal): New function,
2420 renamed from __argp_error, but that takes a 'mode_flags'
2421 parameter to control the format of long double parameters.
2422 (__argp_error): Converted into a call __argp_error_internal.
2423 (__argp_failure_internal): New function, renamed from
2424 __argp_failure, but that takes a 'mode_flags' parameter.
2425 (__argp_failure): Converted into a call __argp_failure_internal.
2426 * misc/err.c (__vwarnx_internal): New function, renamed from
2427 vwarnx, but that takes a 'mode_flags' parameter.
2428 (vwarnx): Converted into a call to __vwarnx_internal.
2429 (__vwarn_internal): New function, renamed from vwarn, but that
2430 takes a 'mode_flags' parameter.
2431 (vwarn): Converted into a call to __vwarn_internal.
2432 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
2433 call to __vfxprintf with 'mode_flags'.
2434 (__error_internal): New function, renamed from error, but that
2435 takes a 'mode_flags' parameter.
2436 (error): Converted into a call to __error_internal.
2437 (__error_at_line_internal): New function, renamed from
2438 error_at_line, but that takes a 'mode_flags' parameter.
2439 (error_at_line): Converted into a call to
2440 __error_at_line_internal.
2441 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
2442 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
2443 Likewise.
2444
dc0afac3 24452019-02-20 Martin Liska <mliska@suse.cz>
2446
2447 * math/Makefile: Install math-vector-fortran.h.
2448 * bits/math-vector-fortran.h: New file.
2449 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
2450
4a2dd41c
GG
24512019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2452
2453 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
2454 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
2455
04de9302
WS
24562019-02-19 Wolfram Sang <wsa@the-dreams.de>
2457
2458 * nptl/pthread_mutex_trylock.c: Fix comment.
2459
b026ce1e
CD
24602019-02-19 Carlos O'Donell <carlos@redhat.com>
2461
2462 * nptl/pthread_tryjoin.c: Fix comment.
2463
8c9289b6
JM
24642019-02-18 Joseph Myers <joseph@codesourcery.com>
2465
2466 [BZ #24231]
2467 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
2468 after R_SPARC_H34 case.
2469
308e022f
FW
24702019-02-18 Florian Weimer <fweimer@redhat.com>
2471
2472 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
2473 (getanswer): Do not call Dprintf.
2474 (res_gethostbyname2_context): Likewise.
2475 (res_gethostbyaddr_context): Likewise.
2476
a5406364
FW
24772019-02-18 Florian Weimer <fweimer@redhat.com>
2478
2479 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
2480 declaration.
2481 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
2482 Remove definitions.
2483 * libio/stdfiles.c: Update comment.
2484 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
2485 set _IO_stdin, _IO_stdout, _IO_stderr.
2486 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
2487 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
2488 inline function.
2489 (_IO_deallocate_file): New inline function.
2490 * libio/iolibio.h (_IO_vprintf): Remove definition.
2491 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
2492 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
2493 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
2494 _IO_legacy_file.
2495 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
2496 __builtin_expect. Use _IO_legacy_file.
2497
6c29942c
SL
24982019-02-18 Stefan Liebler <stli@linux.ibm.com>
2499
2500 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
2501 Initialize ctid with a known value and remove update of ctid
2502 after clone.
2503 (wait_tid): Adjust arguments and call futex_wait with ctid_val
2504 as assumed current value of ctid_ptr.
2505
225d9445 25062019-02-16 Florian Weimer <fweimer@redhat.com>
ad18dade
FW
2507
2508 Check that non-sysdeps headers have wrapper headers.
2509 * scripts/check-wrapper-headers.py: New file.
2510 * Makefile (tests-special): Add check-wrapper-headers.out.
2511 (check-wrapper-headers.out): New target.
2512 * Rules (tests-special): Add check-wrapper-headers.out.
2513 (check-wrapper-headers.out): New target.
2514
225d9445 25152019-02-16 Florian Weimer <fweimer@redhat.com>
ebd32784
FW
2516
2517 Add missing header wrappers under include/.
2518 * include/ar.h: New file.
2519 * include/bits/mqueue2.h: Likewise.
2520 * include/bits/stdio.h: Likewise.
2521 * include/bits/stdio2.h: Likewise.
2522 * include/fstab.h: Likewise.
2523 * include/fts.h: Likewise.
2524 * include/lastlog.h: Likewise.
2525 * include/netinet/icmp6.h: Likewise.
2526 * include/netinet/igmp.h: Likewise.
2527 * include/netinet/ip6.h: Likewise.
2528 * include/re_comp.h: Likewise.
2529 * include/regexp.h: Likewise.
2530 * include/rpcsvc/bootparam.h: Likewise.
2531 * include/rpcsvc/yp_prot.h: Likewise.
2532 * include/sys/random.h: Likewise.
2533 * include/sys/stropts.h: Likewise.
2534 * include/sys/ttychars.h: Likewise.
2535 * include/sys/vfs.h: Likewise.
2536 * include/wait.h: Likewise.
2537
225d9445 25382019-02-16 Florian Weimer <fweimer@redhat.com>
a198d37a
FW
2539
2540 * nptl_db/proc_service.h: Move to ...
2541 * sysdeps/nptl/proc_service.h: ... here.
2542 * nptl_db/thread_db.h: Move to ...
2543 * sysdeps/nptl/thread_db.h: ... here.
2544 * nptl/descr.h: Include <thread_db.h>.
2545
e442e40d
AZ
25462019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2547
2548 * io/Makefile (tests): Add tst-lockf.
2549 * io/lockf.c (lockf): Use __fcntl and only define for
2550 !__OFF_T_MATCHES_OFF64_T.
2551 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
2552 __OFF_T_MATCHES_OFF64_T case.
2553 * io/tst-lockf.c: New file.
2554 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
2555 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
2556 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
2557 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
2558 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
2559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
2560 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
2561 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
2562 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
2563
bc10e22c
FW
25642019-02-15 Florian Weimer <fweimer@redhat.com>
2565
2566 [BZ #24211]
2567 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
2568 pd->result after the thread descriptor has been freed.
2569
365f05c7
JM
25702019-02-15 Joseph Myers <joseph@codesourcery.com>
2571
8a11f970
JM
2572 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
2573 from function return type.
2574
365f05c7
JM
2575 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
2576
6b5c8607 25772019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
56a731d4
JK
2578
2579 * scripts/test_printers_common.py: Set TERM to a known harmless
2580 value.
2581
712182c8
JM
25822019-02-14 Joseph Myers <joseph@codesourcery.com>
2583
2584 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
2585 (xdr_u_int): Likewise.
2586 (xdr_enum): Likewise.
2587 (xdr_bytes): Reword fall-through comment.
2588 (xdr_string): Likewise.
2589
eb76e5b4
AZ
25902019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2591
2592 [BZ #2421]
2593 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
2594 (tests): Add tst-join8 tst-join9.
2595 * nptl/lll_timedwait_tid.c: Remove file.
2596 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
2597 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
2598 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
2599 * nptl/pthread_join_common.c (timedwait_tid): New function.
2600 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
2601 is set.
2602 * nptl/tst-join5.c (thread_join): New function.
2603 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
2604 check.
2605 * nptl/tst-join8.c: New file.
2606 * nptl/tst-join9.c: Likewise.
2607 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
2608 lll_futex_timed_wait_cancel): Add generic macros.
2609 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
2610 Remove definitions.
2611 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2612 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2613 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2614 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
2615 Remove function.
2616 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
2617 Likewise.
2618 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2619 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
2620 (lll_futex_timed_wait_cancel): New macro.
2621
3904fd85
WD
26222019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
2623
2624 * benchtests/Makefile: Add malloc-simple benchmark.
2625 * benchtests/bench-malloc-simple.c: New benchmark.
2626
24ca04fe
SP
26272019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
2628
2629 * benchtests/bench-memmove.c (do_one_test): Remove unused
2630 ORIG_SRC.
2631 (do_test): Adjust.
2632 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
2633 ORIG_SRC.
2634 (do_test): Adjust.
2635
85bd1ddb
JW
26362019-01-13 Jim Wilson <jimw@sifive.com>
2637
2638 [BZ #24040]
2639 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
2640 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
2641 (func): New.
2642 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
2643 call func directly.
2644 * nptl/Makefile (tests): Add tst-unwind-thread.
2645 (CFLAGS-tst-unwind-thread.c): Define.
2646 * nptl/tst-unwind-thread.c: New file.
2647 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
2648 as undefined.
2649
86140c62
JM
26502019-02-13 Joseph Myers <joseph@codesourcery.com>
2651
10756268
JM
2652 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
2653 comment wording.
2654 * nis/nis_call.c (__do_niscall3): Likewise.
2655
05383720
JM
2656 * catgets/gencat.c (normalize_line): Use braces around empty
2657 'else' body.
2658 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2659 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
2660 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
2661 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
2662 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
2663 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
2664 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
2665 definition.
2666
86140c62
JM
2667 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
2668 execlp returns.
2669
16f87cfd
WD
26702019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
2671
2672 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
2673 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
2674 * benchtests/bench-strchr.c (stupid_strchr): Remove.
2675 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
2676 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
2677 * benchtests/bench-strlen.c (builtin_strlen): Remove.
2678 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
2679 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
2680 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
2681 * benchtests/bench-strspn.c (stupid_strspn): Remove.
2682 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
2683 * benchtests/bench-bcopy.c: Delete file.
2684 * benchtests/bench-bzero.c: Likewise.
2685 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
2686 (simple_memccpy): Remove.
2687 (generic_memccpy): Add function.
2688 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
2689 * benchtests/bench-memmove.c (simple_bcopy): Remove.
2690 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
2691 (generic_mempcpy): Add new function.
2692 * benchtests/bench-memset.c (simple_bzero): Remove.
2693 (builtin_bzero): Remove.
2694 (builtin_memset): Remove.
2695 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
2696 (generic_rawmemchr): Add new function.
2697
0c6d82e9
FW
26982019-02-12 Florian Weimer <fweimer@redhat.com>
2699
2700 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
2701
b3fbfe81
AZ
27022019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2703
2704 [BZ #24122]
2705 * elf/Makefile (tests): Add tst-audit13.
2706 (modules-names): Add tst-audit13mod1.
2707 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
2708 rule.
2709 * elf/tst-audit13.c: New file.
2710 * elf/tst-audit13mod1.c: Likewise.
2711
3b856d09
FW
27122019-02-12 Florian Weimer <fweimer@redhat.com>
2713
2714 [BZ #24122]
2715 * elf/rtld.c (unload_audit_module): New function.
2716 (report_audit_module_load_error): Likewise.
2717 (load_audit_module): Likewise. Extracted from dl_main. Call
2718 _dl_close if the laversion symbol cannot be found. Use early
2719 returns for error handling. Add malloc error check. Check for a
2720 zero return value from la_version. Remove spurious comment about
2721 static TLS initialization. Remove useless casts.
2722 (notify_audit_modules_of_loaded_object): New function. Extracted
2723 from dl_main.
2724 (load_audit_module): Likewise.
2725 (dl_main): Call load_audit_modules.
2726
32db86d5
JM
27272019-02-12 Joseph Myers <joseph@codesourcery.com>
2728
2729 * elf/dl-exception.c (_dl_exception_create_format): Add
2730 fall-through comments.
2731 * elf/ldconfig.c (parse_conf_include): Likewise.
2732 * elf/rtld.c (print_statistics): Likewise.
2733 * locale/programs/charmap.c (parse_charmap): Likewise.
2734 * misc/mntent_r.c (__getmntent_r): Likewise.
2735 * posix/wordexp.c (parse_arith): Likewise.
2736 (parse_backtick): Likewise.
2737 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
2738 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
2739 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2740
a51bc4fe
PC
27412019-02-11 Paul A. Clarke <pc@us.ibm.com>
2742
2743 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
2744 Use float instead of double.
2745
fb25b135
TS
27462019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
2747
2748 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
2749
32ea7299
JM
27502019-02-08 Joseph Myers <joseph@codesourcery.com>
2751
2752 * sysdeps/powerpc/bits/mathinline.h: Remove.
2753
eef4d4f8
FW
27542019-02-08 Florian Weimer <fweimer@redhat.com>
2755
2756 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
2757 * math/bits/math-finite.h: Move to ...
2758 * bits/math-finite.h: ... here.
2759
fdfbd47d
FW
27602019-02-08 Florian Weimer <fweimer@redhat.com>
2761
2762 * sysdeps/generic/bits/unistd_ext.h: Move to ...
2763 * bits/unistd_ext.h: here.
2764
11eb21c4
PF
27652019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
2766
2767 [BZ #21915]
2768 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
2769 * nss/tst-nss-files-hosts-long.c: New file.
2770 * nss/tst-nss-files-hosts-long.root: New directory.
2771 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
2772 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
2773
e47d82c9
FW
27742019-02-08 Florian Weimer <fweimer@redhat.com>
2775
2776 * include/bits/unistd_ext.h: Remove file.
2777 * posix/bits/unistd_ext.h: Move to ...
2778 * sysdeps/generic/bits/unistd_ext.h: ... here.
2779
8f89ab21
FW
27802019-02-08 Florian Weimer <fweimer@redhat.com>
2781
2782 * include/bits/unistd_ext.h: New file.
2783
144a794e
TS
27842019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
2785
2786 * time/tst-strftime2.c: Use array_length macros instead of magic
2787 numbers.
2788
669ff911
FW
27892019-02-08 Florian Weimer <fweimer@redhat.com>
2790
2791 [BZ #24161]
2792 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
2793 argument.
2794 * nptl/register-atfork.c (__run_fork_handlers): Only perform
2795 locking if the new do_locking argument is true.
2796 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
2797 __run_fork_handlers.
2798
d0bd87d4 27992019-02-08 Florian Weimer <fweimer@redhat.com>
1d0fc213
FW
2800
2801 [BZ #6399]
2802 Linux: Add gettid system call wrapper.
2803 * posix/Makefile (headers): Add bits/unistd_ext.h.
2804 * posix/bits/unistd_ext.h: New file.
2805 * posix/unistd.h: Include it.
2806 * manual/process.texi (Process Identification): Document gettid.
2807 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
2808 tst-gettid, tst-gettid-kill.
2809 (tst-gettid): Link with $(shared-thread-library).
2810 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
2811 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
2812 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
2813 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
2814 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
2815 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
2816 Add gettid.
2817 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
2818 Likewise.
2819 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
2820 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
2821 Likewise.
2822 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
2823 Likewise.
2824 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
2825 Likewise.
2826 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
2827 Likewise.
2828 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
2829 Likewise.
2830 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
2831 Likewise.
2832 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
2833 Likewise.
2834 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2835 (GLIBC_2.30): Likewise.
2836 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2837 (GLIBC_2.30): Likewise.
2838 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2839 (GLIBC_2.30): Likewise.
2840 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2841 (GLIBC_2.30): Likewise.
2842 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
2843 Likewise.
2844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2845 (GLIBC_2.30): Likewise.
2846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2847 (GLIBC_2.30): Likewise.
2848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
2849 (GLIBC_2.30): Likewise.
2850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
2851 (GLIBC_2.30): Likewise.
2852 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
2853 Likewise.
2854 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
2855 Likewise.
2856 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
2857 Likewise.
2858 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
2859 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
2860 Likewise.
2861 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
2862 Likewise.
2863 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
2864 Likewise.
2865 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
2866 Likewise.
2867 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
2868
225d9445 28692019-02-08 Florian Weimer <fweimer@redhat.com>
f289e656
FW
2870
2871 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
2872 compatibility symbols.
2873
823624bd
SL
28742019-02-07 Stefan Liebler <stli@linux.ibm.com>
2875
2876 [BZ #24180]
2877 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2878 Add compiler barriers and comments.
2879
8311c83f
FW
28802019-02-07 Florian Weimer <fweimer@redhat.com>
2881
2882 * include/array_length.h (array_length): Do not use a statement
2883 expression and _Static_assert, so that array_length can be used at
2884 file scope and as a constant expression.
2885
94b63e66
FW
28862019-02-07 Florian Weimer <fweimer@redhat.com>
2887
2888 * support/xdlfcn.h (xdlmopen): Declare.
2889 * support/xdlmopen.c: New file.
2890 * support/Makefile (libsupport-routines): Add xdlmopen.
2891
c2d8f0b7
JM
28922019-02-06 Joseph Myers <joseph@codesourcery.com>
2893
2894 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
2895 before return type, without separate inline.
2896 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
2897 * elf/dl-tunables.h (tunable_is_name): Likewise.
2898 * malloc/malloc.c (do_set_trim_threshold): Likewise.
2899 (do_set_top_pad): Likewise.
2900 (do_set_mmap_threshold): Likewise.
2901 (do_set_mmaps_max): Likewise.
2902 (do_set_mallopt_check): Likewise.
2903 (do_set_perturb_byte): Likewise.
2904 (do_set_arena_test): Likewise.
2905 (do_set_arena_max): Likewise.
2906 (do_set_tcache_max): Likewise.
2907 (do_set_tcache_count): Likewise.
2908 (do_set_tcache_unsorted_limit): Likewise.
2909 * nis/nis_subr.c (count_dots): Likewise.
2910 * nptl/allocatestack.c (advise_stack_range): Likewise.
2911 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
2912 (do_sin): Likewise.
2913 (reduce_sincos): Likewise.
2914 (do_sincos): Likewise.
2915 * sysdeps/unix/sysv/linux/x86/elision-conf.c
2916 (do_set_elision_enable): Likewise.
2917 (TUNABLE_CALLBACK_FNDECL): Likewise.
2918
3b935595
FW
29192019-02-06 Florian Weimer <fweimer@redhat.com>
2920
2921 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
2922 (xdlsym): Use dlerror to detect a NULL symbol.
2923
b4333340
FW
29242019-02-06 Florian Weimer <fweimer@redhat.com>
2925
2926 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
2927 <stap-probe.h>.
2928 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2929
b6d8a999
SL
29302019-02-06 Stefan Liebler <stli@linux.ibm.com>
2931
2932 * libio/tst-bz24153.c (wide): Use wide char format specifier.
2933
94eeeec0
SL
29342019-02-06 Stefan Liebler <stli@linux.ibm.com>
2935
2936 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
2937 __wmemcmp and weak alias to wmemcmp.
2938
bc79db3f
SL
29392019-02-06 Stefan Liebler <stli@linux.ibm.com>
2940
2941 [BZ #23403]
2942 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
2943 TLS_TCB_AT_TP tls variant.
2944 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
2945 Add alignment checks.
2946 * support/Makefile (libsupport-routines): Add xposix_memalign and
2947 xpthread_setstack.
2948 * support/support.h: Add xposix_memalign.
2949 * support/xthread.h: Add xpthread_attr_setstack.
2950 * support/xposix_memalign.c: New File.
2951 * support/xpthread_attr_setstack.c: Likewise.
2952
f1ac7455
FW
29532019-02-05 Florian Weimer <fweimer@redhat.com>
2954
2955 [BZ #24164]
2956 arm: Use "nr" constraint for Systemtap probes, to avoid the
2957 compiler using memory operands for constants, due to the "o"
2958 alternative in the default "nor" constraint.
2959 * include/stap-probe.h [USE_STAP_PROBE]: Include
2960 <stap-probe-machine.h>
2961 * sysdeps/generic/stap-probe-machine.h: New file.
2962 * sysdeps/arm/stap-probe-machine.h: Likewise.
2963
7a0dcfc6
JM
29642019-02-04 Joseph Myers <joseph@codesourcery.com>
2965
77dc0d86
JM
2966 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
2967 with 0, not tcache->entries[tc_idx].
2968
7a0dcfc6
JM
2969 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
2970 once.
2971
65f7767a
AS
29722019-02-04 Andreas Schwab <schwab@suse.de>
2973
2974 [BZ #16976]
2975 [BZ #17396]
2976 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
2977 looking up collating elements match against (wide) character
2978 sequence instead of name. Correct alignment adjustment.
2979 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
2980 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
2981 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
2982 (LOCALES): Add cs_CZ.ISO-8859-2.
2983 * posix/tst-fnmatch4.c: New file.
2984 * posix/tst-fnmatch5.c: New file.
2985 * include/wchar.h (__wmemcmp): Declare.
2986 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
2987 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
2988 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
2989 * sysdeps/s390/wmemcmp.c: Likewise.
2990
3f635fb4
L
29912019-02-04 H.J. Lu <hongjiu.lu@intel.com>
2992
2993 [BZ #24155]
2994 CVE-2019-7309
2995 * NEWS: Updated for CVE-2019-7309.
2996 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
2997 upper 32 bits of RDX register for x32. Use unsigned Jcc
2998 instructions, instead of signed.
2999 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
3000 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
3001
2ab5741b
FW
30022019-02-04 Florian Weimer <fweimer@redhat.com>
3003
3004 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
3005 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
3006 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
3007 Likewise.
3008 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
3009 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
3010 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
3011 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
3012 Likewise.
3013 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
3014 Likewise.
3015 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
3016 Likewise.
3017 (posix_spawn_file_actions_addopen): Likewise.
3018 (posix_spawn_file_actions_addclose): Likewise.
3019 (posix_spawn_file_actions_adddup2): Likewise.
3020 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
3021 qualifiers.
3022 (posix_spawn_file_actions_addfchdir_np): Likewise.
3023
8692ebdb
DN
30242019-02-04 David Newall <glibc@davidnewall.com>
3025
3026 elf: Implement --preload option for the dynamic linker.
3027 * elf/rtld.c (preloadarg): New variable.
3028 (handle_preload_list): Pass through “where” argument to
3029 do_preload.
3030 (dl_main): Handle "--preload" and add second call to
3031 handle_preload_list.
3032 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
3033 (tst-rtld-preload-OBJS): Set variable.
3034 (tst-rtld-preload.out): New target.
3035 * elf/tst-rtld-preload.sh: New file.
3036
5e10136b
MM
30372019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
3038
3039 * Makefile (testrun.sh): Exit in case of incorrect argument.
3040
221baae0
FW
30412019-02-04 Florian Weimer <fweimer@redhat.com>
3042
3043 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
3044 alignment gaps.
3045
b8c72381
FW
30462019-02-03 Florian Weimer <fweimer@redhat.com>
3047
3048 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
3049 implicit overflow checks.
3050
11f382ee
AJ
30512019-02-03 Aurelien Jarno <aurelien@aurel32.net>
3052
3053 * stdlib/isomac.c: Include <unistd.h>.
3054
77c7d55e
FW
30552019-02-03 Florian Weimer <fweimer@redhat.com>
3056
3057 * include/time.h (__tzfile_default): Use int, not long int, for
3058 the GMT offsets.
3059 * time/tzfile.c (struct ttinfo): Change type of the offset member
3060 to int.
3061 (__tzfile_read): Remove useless cast.
3062 (__tzfile_default): Adjust prototype.
3063 * time/tzset.c (tz_rule): Change type of the offset member to int.
3064 (parse_offset): Change the type of the sign variable to int.
3065
ee9941f9
FW
30662019-02-03 Florian Weimer <fweimer@redhat.com>
3067
3068 [BZ #24153]
3069 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
3070 * libio/getchar.c (getchar): Likewise.
3071 * libio/getchar_u.c (getchar_unlocked): Likewise.
3072 * libio/getwchar.c (getwchar): Likewise.
3073 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3074 * libio/iogets.c (_IO_gets): Likewise.
3075 * libio/vscanf.c (_IO_vscanf): Likewise.
3076 * libio/vwscanf.c (__vwscanf): Likewise.
3077 * libio/tst-bz24153.c: New file.
3078 * libio/Makefile (tests): Add it.
3079
c70824b9
FW
30802019-02-02 Florian Weimer <fweimer@redhat.com>
3081
3082 [BZ #14829]
3083 * manual/resource.texi (Basic Scheduling Functions): Add
3084 portability note. Change process to task throughout the section.
3085 Remove incorrect comment about sched_yield as it affects
3086 tasks/threads, not entire processes.
3087 * sysdeps/unix/sysv/linux/bits/posix_opt.h
3088 (_POSIX_PRIORITY_SCHEDULING): Update comment.
3089
4dcbbc3b
JM
30902019-02-01 Joseph Myers <joseph@codesourcery.com>
3091
3092 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
3093 * configure: Regenerated.
3094 * manual/install.texi (Tools for Compilation): Update minimum GCC
3095 version.
3096 * INSTALL: Regenerated.
3097
6175507c
FW
30982019-02-01 Florian Weimer <fweimer@redhat.com>
3099
3100 * support/support_test_compare_string.c
3101 (support_test_compare_string): Use "string" in error message.
3102 * support/tst-test_compare_string.c (do_test): Adjust.
3103
baef1943
FW
31042019-02-01 Florian Weimer <fweimer@redhat.com>
3105
3106 * support/support_format_address_family.c
3107 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
3108
395599f0
FW
31092019-02-01 Florian Weimer <fweimer@redhat.com>
3110
3111 * manual/socket.texi (Internet Address Formats): Clarify the byte
3112 order of struct sockaddr_in, struct sockaddr_in6. Document
3113 sin6_flowinfo and sin6_scope_id.
3114
b06f4c00
WD
31152019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
3116
3117 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
3118 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
3119 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
3120 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
3121 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
3122 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
3123
83d1cc42
FX
31242019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3125
3126 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
3127 [!MEMCHR](MEMCHR): Set to __memchr.
3128 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
3129 Add memchr_generic and memchr_nosimd.
3130 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
3131 (__libc_ifunc_impl_list): Add memchr ifuncs.
3132 * sysdeps/aarch64/multiarch/memchr.c: New file.
3133 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
3134 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
3135
c7d3890f
FX
31362019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3137
3138 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
3139 Add memset_emag.
3140 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
3141 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
3142 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
3143 Add IS_EMAG check for ifunc dispatch.
3144 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
3145 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
3146
07c3d1ec
FX
31472019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3148
3149 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
3150 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3151 Add emag.
3152 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
3153 New macro.
3154
114f792e
SL
31552019-02-01 Stefan Liebler <stli@linux.ibm.com>
3156
3157 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
3158
d5627550
VG
31592019-01-31 Vineet Gupta <vgupta@synopsys.com>
3160
3161 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
3162 syscall-template file.
3163
5fc9ed4c
CD
31642019-01-31 Carlos O'Donell <carlos@redhat.com>
3165 Torvald Riegel <triegel@redhat.com>
3166 Rik Prohaska <prohaska7@gmail.com>
3167
3168 [BZ# 23844]
3169 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
3170 tst-rwlock-trywrlock-stall.
3171 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3172 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
3173 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
3174 Set __wrphase_fute to 1 only if we started the write phase.
3175 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
3176 * nptl/tst-rwlock-trywrlock-stall.c: New file.
3177 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
3178 * support/xpthread_rwlock_destroy.c: New file.
3179 * support/xthread.h: Declare xpthread_rwlock_destroy.
3180
932329a5
JM
31812019-02-01 Joseph Myers <joseph@codesourcery.com>
3182
3183 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
3184 version to 4.0.2.
3185
5f10701f
PP
31862019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3187
3188 [BZ #24051]
3189 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
3190 * libio/fileops.c (_IO_new_file_underflow): Likewise
3191 * libio/wfileops.c (_IO_wfile_underflow): Likewise
3192 * libio/putchar.c (putchar): Likewise.
3193 * libio/putchar_u.c (putchar_unlocked): Likewise.
3194 * libio/putwchar.c (putchar): Likewise.
3195 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
3196 * libio/tst-bz24051.c: New test.
3197 * libio/Makefile (tests): Add tst-bz24051
3198
583dd860
PE
31992019-01-31 Paul Eggert <eggert@cs.ucla.edu>
3200
b626c5aa 3201 CVE-2019-9169
583dd860
PE
3202 regex: fix read overrun [BZ #24114]
3203 Problem found by AddressSanitizer, reported by Hongxu Chen in:
3204 https://debbugs.gnu.org/34140
3205 * posix/regexec.c (proceed_next_node):
3206 Do not read past end of input buffer.
3207
2bac7daa
FW
32082019-01-31 Florian Weimer <fweimer@redhat.com>
3209
3210 [BZ #24059]
3211 * nss/nss_files/files-alias.c (get_next_alias): Handle
3212 continuation line without newline at the end.
3213 * nss/tst-nss-files-alias-truncated.c: New file.
3214 * nss/Makefile [$(build-shared)] (tests): Add
3215 tst-nss-files-alias-truncated.
3216 (tst-nss-files-alias-truncated): Link with libnss_files.so.
3217 * support/namespace.h (struct support_chroot_configuration): Add
3218 aliases member.
3219 (struct support_chroot): Add path_aliases member.
3220 * support/support_chroot.c (support_chroot_create): Handle
3221 aliases.
3222 (support_chroot_free): Free path_aliases.
3223
330c9d0d
SP
32242019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
3225
de44ab67
SP
3226 * version.h (RELEASE): Set to "development".
3227 (VERSION): Set to "2.29.9000".
3228 * NEWS: Add section for 2.30.
3229
56c86f5d
SP
3230 * version.h (RELEASE): Set to "stable".
3231 (VERSION): Set to "2.29".
3232 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
3233
330c9d0d
SP
3234 * NEWS: Add the list of bugs fixed in 2.29.
3235 * manual/contrib.texi: Update contributors list with some more
3236 names.
3237 * manual/install.texi: Update latest versions of packages
3238 tested.
3239 * INSTALL: Regenerated.
3240
e1e47c91
SP
32412019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
3242
3243 * po/be.po: Update translations.
3244 * po/bg.po: Likewise.
3245 * po/ca.po: Likewise.
3246 * po/cs.po: Likewise.
3247 * po/da.po: Likewise.
3248 * po/de.po: Likewise.
3249 * po/el.po: Likewise.
3250 * po/eo.po: Likewise.
3251 * po/es.po: Likewise.
3252 * po/fi.po: Likewise.
3253 * po/fr.po: Likewise.
3254 * po/gl.po: Likewise.
3255 * po/hr.po: Likewise.
3256 * po/hu.po: Likewise.
3257 * po/ia.po: Likewise.
3258 * po/id.po: Likewise.
3259 * po/it.po: Likewise.
3260 * po/ja.po: Likewise.
3261 * po/ko.po: Likewise.
3262 * po/lt.po: Likewise.
3263 * po/nb.po: Likewise.
3264 * po/nl.po: Likewise.
3265 * po/pl.po: Likewise.
3266 * po/pt_BR.po: Likewise.
3267 * po/ru.po: Likewise.
3268 * po/rw.po: Likewise.
3269 * po/sk.po: Likewise.
3270 * po/sl.po: Likewise.
3271 * po/sv.po: Likewise.
3272 * po/tr.po: Likewise.
3273 * po/uk.po: Likewise.
3274 * po/vi.po: Likewise.
3275 * po/zh_CN.po: Likewise.
3276 * po/zh_TW.po: Likewise.
3277
8d016826
UB
32782019-01-24 Uroš Bizjak <ubizjak@gmail.com>
3279
3280 [BZ #24130]
3281 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
3282 of $f3 register on $y_is_neg path.
3283
a0bb5abd
ST
32842019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
3285
b96e22d0 3286 [BZ #24110]
a0bb5abd
ST
3287 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
3288 sigaltstack.ss_flags.
3289
b22eed37
TS
32902019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
3291
3292 [BZ #23758]
3293 * manual/time.texi (strftime): Document "%Ey".
3294 * time/strftime_l.c (__strftime_internal): Set the default width
3295 padding with zero of "%Ey" to 2.
3296
32f600a2
TS
3297 [BZ #24096]
3298 * manual/time.texi (strftime): Document "%EC" and "%EY".
3299 * time/Makefile (tests): Add tst-strftime2.
3300 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
3301 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
3302 override padding for "%Ey".
3303 If an optional flag ('_' or '-') is specified to "%EY", interpret the
3304 "%Ey" in the subformat as if decorated with that flag.
3305 * time/tst-strftime2.c: New file.
3306
8e889c5d
AZ
33072019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3308
3367acdb
AZ
3309 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
3310 are not defined.
3311
8e889c5d
AZ
3312 [BZ #24122]
3313 * elf/Makefile (tests): Add tst-audit13.
3314 (modules-names): Add tst-audit13mod1.
3315 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
3316 rule.
3317 * elf/rtld.c (dl_main): Handle invalid audit module version.
3318 * elf/tst-audit13.c: New file.
3319 * elf/tst-audit13mod1.c: Likewise.
3320
a95dc01c
ST
33212019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
3322
3323 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
3324 returned by __hurd_at_flags.
ee4d7902
ST
3325 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
3326 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
3327 directly instead of __hurd_file_name_lookup.
a95dc01c 3328
712f1167
JM
33292019-01-21 Joseph Myers <joseph@codesourcery.com>
3330
3331 * scripts/build-many-glibcs.py (Context.checkout): Default
3332 binutils version to 2.32 branch.
3333
108bc404
FW
33342019-01-21 Florian Weimer <fweimer@redhat.com>
3335
3336 [BZ #20018]
3337 CVE-2016-10739
3338 resolv: Reject trailing characters in host names
3339 * include/arpa/inet.h (__inet_aton_exact): Declare.
3340 (inet_aton): Remove hidden prototype. No longer used internally.
3341 * nscd/gai.c (__inet_aton): Do not define.
3342 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
3343 * nss/digits_dots.c (__inet_aton): Likewise.
3344 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
3345 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
3346 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
3347 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
3348 (tst-resolv-trailing): Likewise.
3349 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
3350 libc.
3351 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
3352 Make static. Add endp parameter.
3353 (__inet_aton_exact): New function.
3354 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
3355 (__inet_addr): Call inet_aton_end.
3356 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
3357 not just IPv6. Call __inet_aton_exact.
3358 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
3359 (tests): Make const. Add additional test cases with trailing
3360 characters.
3361 (do_test): Use array_length.
3362 * resolv/tst-inet_aton_exact.c: New file.
3363 * resolv/tst-resolv-trailing.c: Likewise.
3364 * resolv/tst-resolv-nondecimal.c: Likewise.
3365 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
3366
5165de69
L
33672019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3368
3369 [BZ# 24097]
3370 CVE-2019-6488
3371 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
3372 Clear the upper 32 bits of RSI register.
3373 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
3374 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
3375 and tst-size_t-wcsnlen.
3376 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
3377 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
3378
c7c54f65
L
33792019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3380
3381 [BZ# 24097]
3382 CVE-2019-6488
3383 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
3384 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3385 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3386 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
3387 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
3388
ee915088
L
33892019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3390
3391 [BZ# 24097]
3392 CVE-2019-6488
3393 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
3394 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3395 * sysdeps/x86_64/strcmp.S: Likewise.
3396 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
3397 tst-size_t-strncmp and tst-size_t-wcsncmp.
3398 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
3399 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
3400 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
3401
82d0b4a4
L
34022019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3403
3404 [BZ# 24097]
3405 CVE-2019-6488
3406 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
3407 RDX_LP for length. Clear the upper 32 bits of RDX register.
3408 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
3409 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
3410 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
3411 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
3412
ecd8b842
L
34132019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3414
3415 [BZ# 24097]
3416 CVE-2019-6488
3417 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
3418 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
3419 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
3420 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
3421
231c5676
L
34222019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3423
3424 [BZ# 24097]
3425 CVE-2019-6488
3426 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
3427 length. Clear the upper 32 bits of RDX register.
3428 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3429 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
3430 Likewise.
3431 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
3432 Likewise.
3433 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
3434 tst-size_t-wmemchr.
3435 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
3436
b304fc20
L
34372019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3438
3439 [BZ# 24097]
3440 CVE-2019-6488
3441 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
3442 length. Clear the upper 32 bits of RDX register.
3443 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3444 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3445 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
3446 tst-size_t-wmemcmp.
3447 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
3448 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
3449
97700a34
L
34502019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3451
3452 [BZ# 24097]
3453 CVE-2019-6488
3454 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
3455 upper 32 bits of RDX register.
3456 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
3457 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
3458 tst-size_t-wmemchr.
3459 * sysdeps/x86_64/x32/test-size_t.h: New file.
3460 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
3461 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
3462
6ca53a24
FW
34632019-01-18 Florian Weimer <fweimer@redhat.com>
3464
3465 [BZ #24112]
3466 resolv: Do not send queries for non-host-names in nss_dns.
3467 * resolv/nss_dns/dns-host.c (check_name): New function.
3468 (_nss_dns_gethostbyname2_r): Use it.
3469 (_nss_dns_gethostbyname_r): Likewise.
3470 (_nss_dns_gethostbyname4_r): Likewise.
3471
5e30b8ef
FW
34722019-01-21 Florian Weimer <fweimer@redhat.com>
3473
3474 * resolv/inet_addr.c: Reformat to GNU style.
3475 (__inet_addr, __inet_aton): Update comment.
3476
71effcea
FW
34772019-01-18 Florian Weimer <fweimer@redhat.com>
3478
3479 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
3480 ("malloc: Use current (C11-style) atomics for fastbin access").
3481 This commit introduces a substantial performance regression on
3482 POWER and Aarch64.
3483 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
3484 (REMOVE_FB): Define.
3485 (_int_malloc): Use it and reindent.
3486 (_int_free): Use CAS loop with
3487 catomic_compare_and_exchange_val_rel.
3488 (malloc_consolidate): Use atomic_exchange_acq.
3489
3490
562f4362
L
34912019-01-18 H.J. Lu <hongjiu.lu@intel.com>
3492
3493 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
3494 -Wl,-z,now.
3495 (LDFLAGS-tst-minsigstksz-2): Likewise.
3496 (LDFLAGS-tst-minsigstksz-3): Likewise.
3497 (LDFLAGS-tst-minsigstksz-3a): Likewise.
3498 (LDFLAGS-tst-minsigstksz-4): Likewise.
3499
80dfa298
TS
35002019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
3501
3502 * manual/time.texi (strftime): Fix the wording to "alternative" rather
3503 than "alternate".
3504
008b598e
PC
35052019-01-16 Paul A. Clarke <pc@us.ibm.com>
3506
3507 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
3508
fbbc9a4e
ZW
35092019-01-16 Zack Weinberg <zackw@panix.com>
3510
6b5c8607
TS
3511 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
3512 (xget_sigstack_location): New test support functions.
3513 * support/xsigstack.c: New file, implementing them.
3514 * support/tst-xsigstack.c: New test for them.
3515 * support/Makefile: Update.
fbbc9a4e 3516
6b5c8607
TS
3517 * signal/tst-minsigstksz-1.c
3518 * signal/tst-minsigstksz-2.c
3519 * signal/tst-minsigstksz-3.c
3520 * signal/tst-minsigstksz-3a.c
3521 * signal/tst-minsigstksz-4.c: New tests.
3522 * signal/Makefile: Run them.
fbbc9a4e 3523
5f1135e4
SP
35242019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
3525
3526 * po/libc.pot: Regenerate.
3527
ecdacd34
TMQMF
35282019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3529
3530 * math/libm-test-fma.inc (fma_test_data): Set
3531 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
3532
56054664
RA
35332019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
3534
3535 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
3536 (do_test): Changed __vector __int128_t to __vector unsigned int.
3537
1a153e47
LS
35382019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3539
3540 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3541 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
3542 stpcpy-avx2 and stpncpy-avx2.
3543 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
3544 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
3545 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
3546 and __stpncpy_avx2.
3547 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
3548 ifunc-strcpy.h}: rename header for a more generic name.
3549 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
3550 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
3551 AVX unaligned load is fast and vzeroupper is preferred.
3552 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
3553 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
3554 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
3555 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
3556 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
3557 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
3558
a1b02ae7
DL
35592019-01-12 Dmitry V. Levin <ldv@altlinux.org>
3560
3561 * argp/argp-help.c: Fix typo in comment.
3562 * misc/sys/cdefs.h: Likewise.
3563 * posix/regexec.c (sift_states_iter_mb): Likewise.
3564 * socket/sockatmark.c: Likewise.
3565 * socket/sys/socket.h: Likewise.
3566 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
3567 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
3568 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
3569 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3570 * sysdeps/unix/sockatmark.c: Likewise.
3571 * time/strptime_l.c: Likewise.
3572
5cbbf01e
TS
35732019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
3574
3575 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
3576 missing space after the cast of "_NL_CURRENT".
3577
0bc9bdf1
RA
35782019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
3579
3580 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
3581 ifdef to fix read of VSCR.
3582 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
3583 tst-ucontext-ppc64-vscr.c to test list.
3584 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
3585
5494af04
AH
35862019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
3587
3588 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
3589 fall-through.
3590
e17f63ff
JW
35912019-01-09 Jim Wilson <jimw@sifive.com>
3592
3593 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
3594
02f440c1
WD
35952019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
3596
3597 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
3598 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
3599 __memcpy_falkor for ares.
3600 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
3601 Add new define.
3602 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3603 Add ares cpu.
3604
69da3c9e
L
36052019-01-07 H.J. Lu <hongjiu.lu@intel.com>
3606
3607 [BZ #24066]
3608 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
3609 4_FP_W_TYPEs are used for IEEE quad precision.
3610 * soft-fp/extendhftf2.c: Likewise.
3611 * soft-fp/extendsftf2.c: Likewise.
3612 * soft-fp/extendxftf2.c: Likewise.
3613 * soft-fp/trunctfdf2.c: Likewise.
3614 * soft-fp/trunctfhf2.c: Likewise.
3615 * soft-fp/trunctfsf2.c: Likewise.
3616 * soft-fp/trunctfxf2.c: Likewise.
3617 * sysdeps/alpha/ots_cvttx.c: Likewise.
3618 * sysdeps/alpha/ots_cvtxt.c: Likewise.
3619 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
3620 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
3621 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
3622 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
3623 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
3624 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
3625 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
3626 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
3627 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
3628 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
3629 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
3630 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
3631 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
3632 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
3633 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
3634 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
3635
2ef42716
AJ
36362019-01-07 Aurelien Jarno <aurelien@aurel32.net>
3637
3638 [BZ #24024]
3639 * Makeconfig: Build libm with -fno-math-errno but build the remaining
3640 code with -fmath-errno.
3641 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
3642 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
3643 * string/test-strerror-errno.c: New file.
3644
7395f3a0
AJ
36452019-01-07 Aurelien Jarno <aurelien@aurel32.net>
3646
3647 [BZ #24046]
3648 * localedata/locales/en_US (date_fmt): Add, set to
3649 "%a %d %b %Y %r %Z".
3650
010fe231
FW
36512019-01-07 Florian Weimer <fweimer@redhat.com>
3652
3653 [BZ #24063]
3654 * manual/arith.texi (Math Error Reporting): Use @code{errno}
3655 instead of @var{errno}.
3656 (Parsing of Integers): Likewise.
3657 (Parsing of Floats): Likewise.
3658 * manual/filesys.texi (Working with Directory Trees): Likewise.
3659 (Temporary Files): Likewise.
3660 * manual/job.texi (Terminal Access Functions): Likewise.
3661 * manual/llio.texi (Synchronizing I/O): Likewise.
3662 * manual/math.texi (SVID Random): Likewise.
3663 * manual/message.texi (The catgets Functions): Likewise.
3664 (Translation with gettext): Likewise.
3665 (Locating gettext catalog): Likewise.
3666 (Charset conversion in gettext): Likewise.
3667 * manual/nss.texi (NSS Module Function Internals): Likewise.
3668 * manual/search.texi (Hash Search Function): Likewise.
3669 * manual/setjmp.texi (System V contexts): Likewise.
3670 * manual/time.texi (Sleeping): Likewise.
3671 * manual/users.texi (Lookup User): Likewise.
3672 (Lookup Group): Likewise.
3673
b79dc8d0
AZ
36742019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3675
3676 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
3677 fix typo.
3678
890461fe 36792019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
27c5e756
MJ
3680
3681 [BZ #19444]
3682 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
3683 __builtin_unreachable for default case in switch.
3684 (__ieee754_yn): Likewise.
3685 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3686 (__ieee754_ynl): Likewise.
3687 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3688 (__ieee754_ynl): Likewise.
3689 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3690 (__ieee754_ynl): Likewise.
3691
8b18d418
SN
36922019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
3693
3694 * manual/maint.texi: Use @{ and @}.
3695
4392898d
FW
36962019-01-04 Florian Weimer <fweimer@redhat.com>
3697
3698 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
3699 function.
3700 (do_in_chroot_1): Call it.
3701 (run_chroot_tests):
3702 Improve error reporting in case it is not possible to create a
3703 collision for the PTY name required by the test.
3704
17cc27d5
AZ
37052019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3706
ce7eb0e9
AZ
3707 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
3708 lll_wait_tid with timeout.
3709 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
3710 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
3711 futex_reltimed_wait_cancelable for cancelabla mode.
3712 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
3713 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
3714 macros.
3715 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
3716 * sysdeps/posix/waitid.c (__sigwait): Likewise.
3717 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
3718 SYSCALL_CANCEL_NCS): New macro.
3719 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
3720 (lll_timedwait_tid): Remove macro.
3721 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
3722 Likewise.
3723 (lll_timedwait_tid): Likewise.
3724 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
3725 Likewise.
3726 (lll_timedwait_tid): Likewise.
3727 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
3728 Likewise.
3729 (lll_timedwait_tid): Likewise.
3730 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
3731 Use INTERNAL_SYSCALL_CANCEL.
3732 * sysdeps/unix/sysv/linux/futex-internal.h
3733 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
3734 instead of __pthread_{enable,disable}_asynccancel.
3735 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
3736 (lll_futex_wait_cancel): New macro.
3737
0b13e255
AZ
3738 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
3739 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
3740
85c828a4
AZ
3741 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
3742 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
3743
d0d7f85f
AZ
3744 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
3745 in backtrace analysis.
3746 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
3747 side-effects.
3748 (tf_send): Likewise.
3749
17cc27d5
AZ
3750 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
3751 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
3752 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
3753 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
3754 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
3755 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
3756 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
3757 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
3758 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
3759 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
3760 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
3761 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
3762 Likewise.
3763 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
3764 tst-cancel-wrappers.sh.
3765 (generated): Remove tst-cancel-wrappers.out.
3766 (tst-cancel-wrappers.out): Remove rule.
3767 * nptl/tst-cancel-wrappers.sh: Remove file.
3768
7d7af8f1
SN
37692019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
3770
3771 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
3772 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
3773 Update.
3774
805334b2
AZ
37752019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3776
3777 [BZ #23640]
3778 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
3779 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
3780 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
3781 close-on-exec reset for adddup2 file action.
3782 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
3783
03992356
ZW
37842019-01-03 Zack Weinberg <zackw@panix.com>
3785
3786 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
3787 parameter. Only use deprecated scanf when __USE_GNU is defined
3788 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
3789 than 201103L, whichever is relevant for the language being compiled.
3790
3791 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
3792 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
3793 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
3794 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
3795 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
3796
3797 * libio/iovsscanf.c
3798 * libio/fwscanf.c
3799 * libio/iovswscanf.c
3800 * libio/swscanf.c
3801 * libio/vscanf.c
3802 * libio/vwscanf.c
3803 * libio/wscanf.c
3804 * stdio-common/fscanf.c
3805 * stdio-common/scanf.c
3806 * stdio-common/vfscanf.c
3807 * stdio-common/vfwscanf.c
3808 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
3809 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
3810 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
3811 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
3812 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
3813 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
3814 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
3815 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
3816 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
3817 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
3818 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
3819 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
3820 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
3821 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
3822 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
3823
3824 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
3825 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
3826 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
3827 not sscanf.
3828 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
3829 with a preprocessor macro.
3830
3831 * stdio-common/bug21.c, stdio-common/scanf14.c:
3832 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
3833 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
3834 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
3835 to xscanf, xfscanf, xsscanf.
3836
3837 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
3838 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
3839 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
3840 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
3841 xfscanf, xsscanf.
3842 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
3843 override feature selection macros or provide definitions of u_char etc.
3844 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
3845 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
3846 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
3847 with -std=gnu89.
3848
8083afa5
AZ
38492019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3850
6f343c1f
AZ
3851 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3852 bits/termios-misc.h.
3853 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
3854 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3855 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3856 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3857 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
3858 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
3859
51f4beb0
AZ
3860 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
3861 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
3862 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
3863 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
3864 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
3865 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
3866 termios-misc.h.
3867 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
3868 (sysdep_headers): Add termios-misc.h.
3869
f69c5cb2
AZ
3870 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
3871 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3872 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3873
3aa4a07e
AZ
3874 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3875 termios-tcflow.h.
3876 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
3877 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
3878 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
3879 TCSAFLUSH): Move to termios-tcflow.h.
3880 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3881 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3882 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3883 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3884
22679ddf
AZ
3885 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3886 termios-c_lflag.h.
3887 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
3888 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
3889 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
3890 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
3891 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
3892 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
3893 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
3894 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
3895 Likewise.
3896 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3897 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3898 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3899 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3900
72eb6ecc
AZ
3901 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3902 termios-c_cflag.h.
3903 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
3904 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
3905 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
3906 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
3907 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
3908 termios-c_cflag.h.
3909 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3910 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3911 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3912 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3913
9c5d0d02
AZ
3914 [BZ #23783]
3915 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3916 termios-baud.h.
3917 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
3918 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
3919 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
3920 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
3921 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
3922 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
3923 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
3924 __MAX_BAUD): Move to termios-baud.h.
3925 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
3926 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
3927 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3928 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3929 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3930
7b832018
AZ
3931 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
3932 termios-c_oflag.h.
3933 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
3934 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
3935 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
3936 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
3937 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
3938 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
3939 termios-c_oflag.h.
3940 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
3941 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
3942 FFR1): Likewise.
3943 [USE_MISC] (XTABS): Likewise.
3944 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3945 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3946 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3947 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
3948
3127003e
AZ
3949 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
3950 termios-c_iflag.h.
3951 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
3952 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
3953 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
3954 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
3955 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
3956 IUTF8): Move to termios-c_iflag.h.
3957 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3958 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3959 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3960 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3961
48c1dd96
AZ
3962 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
3963 termios-cc.h.
3964 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
3965 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
3966 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
3967 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
3968 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
3969 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
3970 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
3971 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
3972 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3973 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3974 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3975 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3976
e5a50db3
AZ
3977 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
3978 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
3979 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
3980 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
3981 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3982 termios-struct.h.
3983 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
3984 termios-struct.h.
3985 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
3986 Likewise.
3987 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
3988 Likewise.
3989 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
3990 Likewise.
3991 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
3992 Likewise.
3993 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
3994 _HAVE_C_OSPEED): Define.
3995 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
3996 _HAVE_C_OSPEED): Likewise.
3997 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
3998 _HAVE_C_OSPEED): Likewise.
3999 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
4000 (cfsetospeed): Check for define value instead of existence.
4001 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
4002 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
4003 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
4004 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
4005 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
4006
8083afa5
AZ
4007 [BZ #17783]
4008 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
4009 Define.
4010 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
4011 (TIOCSER_TEMT): Likewise.
4012 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
4013 (TEOCSER_TEMT): Likewise.
4014
4d7d7dc6
P
40152019-01-02 PanderMusubi <pander@users.sourceforge.net>
4016
4017 [BZ #24011]
4018 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
4019
8e291a29
JM
40202019-01-02 Joseph Myers <joseph@codesourcery.com>
4021
4022 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
4023
55137f7d
ST
40242019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
4025
4026 * sysdeps/htl/pt-barrierattr-setpshared.c
4027 (pthread_barrierattr_setpshared): Add stub warning.
4028 * sysdeps/htl/pt-condattr-setpshared.c
4029 (pthread_condattr_setpshared): Likewise.
4030 * sysdeps/htl/pt-mutexattr-setpshared.c
4031 (pthread_mutexattr_setpshared): Likewise.
4032 * sysdeps/htl/pt-rwlockattr-setpshared.c
4033 (pthread_rwlockattr_setpshared): Likewise.
4034 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
4035 (pthread_mutexattr_setpshared): Likewise.
4036
2ce09e01
JM
40372019-01-02 Joseph Myers <joseph@codesourcery.com>
4038
acb55dcb
JM
4039 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
4040 constants to match with Linux 4.20.
4041
2ce09e01
JM
4042 * sysdeps/mips/mips32/libm-test-ulps: Update.
4043 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4044
fe20bb1d
AJ
40452019-01-02 Aurelien Jarno <aurelien@aurel32.net>
4046
4047 [BZ #24034]
4048 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
4049 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
4050 than __typeof (...) for the a_ptr variable.
4051
2d9837c1
GG
40522019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4053
4054 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
4055 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
4056 * libio/Makefile (tests): Add tst-sprintf-ub and
4057 tst-sprintf-chk-ub.
4058 (CFLAGS-tst-sprintf-ub.c): New variable.
4059 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
4060 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
4061 destination buffer and check for overflows in fortified mode.
4062 * libio/libioP.h (PRINTF_CHK): New macro.
4063 * libio/tst-sprintf-chk-ub.c: New file.
4064 * libio/tst-sprintf-ub.c: Likewise.
4065
d5c6df0b 40662019-01-02 Florian Weimer <fweimer@redhat.com>
8c1aafc1
FW
4067
4068 [BZ #24018]
4069 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
4070 failure.
4071
66081e38
FW
40722019-01-02 Florian Weimer <fweimer@redhat.com>
4073
4074 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
4075
04277e02
JM
40762019-01-01 Joseph Myers <joseph@codesourcery.com>
4077
6ef3d225
JM
4078 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
4079 macro.
4080
e3d4e292
JM
4081 * sysdeps/unix/sysv/linux/netpacket/packet.h
4082 (PACKET_IGNORE_OUTGOING): New macro.
4083
f4507797
JM
4084 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
4085 macro.
4086
47ad5e1a
JM
4087 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4088 version to 4.20.
4089 (riscv_flush_icache): New syscall.
4090
7628a1b0
JM
4091 * manual/texinfo.tex: Update to version 2018-12-28.17 with
4092 trailing whitespace removed.
4093 * scripts/config.guess: Update to version 2019-01-01.
4094 * scripts/config.sub: Update to version 2019-01-01.
4095 * scripts/move-if-change: Update from gnulib.
4096
c9123888
JM
4097 * NEWS: Update copyright dates.
4098 * catgets/gencat.c (print_version): Likewise.
4099 * csu/version.c (banner): Likewise.
4100 * debug/catchsegv.sh: Likewise.
4101 * debug/pcprofiledump.c (print_version): Likewise.
4102 * debug/xtrace.sh (do_version): Likewise.
4103 * elf/ldconfig.c (print_version): Likewise.
4104 * elf/ldd.bash.in: Likewise.
4105 * elf/pldd.c (print_version): Likewise.
4106 * elf/sotruss.sh: Likewise.
4107 * elf/sprof.c (print_version): Likewise.
4108 * iconv/iconv_prog.c (print_version): Likewise.
4109 * iconv/iconvconfig.c (print_version): Likewise.
4110 * locale/programs/locale.c (print_version): Likewise.
4111 * locale/programs/localedef.c (print_version): Likewise.
4112 * login/programs/pt_chown.c (print_version): Likewise.
4113 * malloc/memusage.sh (do_version): Likewise.
4114 * malloc/memusagestat.c (print_version): Likewise.
4115 * malloc/mtrace.pl: Likewise.
4116 * manual/libc.texinfo: Likewise.
4117 * nptl/version.c (banner): Likewise.
4118 * nscd/nscd.c (print_version): Likewise.
4119 * nss/getent.c (print_version): Likewise.
4120 * nss/makedb.c (print_version): Likewise.
4121 * posix/getconf.c (main): Likewise.
4122 * scripts/test-installation.pl: Likewise.
4123 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
4124
04277e02
JM
4125 * All files with FSF copyright notices: Update copyright dates
4126 using scripts/update-copyrights.
4127 * locale/programs/charmap-kw.h: Regenerated.
4128 * locale/programs/locfile-kw.h: Likewise.
4129
e740e5b1
JM
41302018-12-31 Joseph Myers <joseph@codesourcery.com>
4131
4132 * timezone/zdump.c: Update from tzcode 2018i.
4133 * timezone/zic.c: Likewise.
4134
9b7f98b3
PE
41352018-12-31 Paul Eggert <eggert@cs.ucla.edu>
4136
4137 regex: improve Gnulib port to AIX
4138 From the glibc point of view, this removes duplicate macro
4139 definitions and is obviously safe.
4140 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
4141 * posix/regex_internal.h:
4142 (__attribute__, __attribute_warn_unused_result__):
4143 Remove; already defined elsewhere.
4144
b50dd3bc
FW
41452018-12-31 Florian Weimer <fw@deneb.enyo.de>
4146
4147 [BZ #24027]
4148 * malloc/malloc.c (_int_realloc): Always call memcpy for the
4149 copying operation. (ncopies had the wrong type, resulting in an
4150 integer wraparound and too few elements being copied.)
4151
0b9c8490
L
41522018-12-31 H.J. Lu <hongjiu.lu@intel.com>
4153
4154 [BZ #24022]
4155 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
4156 <asm/syscalls.h> exists with __has_include__ before including it.
4157
01047fa6
JM
41582018-12-31 Joseph Myers <joseph@codesourcery.com>
4159
4160 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4161 version to 4.20.
4162
6b5c8607 41632018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
065957a3
JW
4164
4165 * hurd/lookup-retry: Include <unistd.h>.
4166 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
4167 Release it on return. Handle "pid" magical lookup retry.
4168
989182c4
RL
41692018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
4170
4171 [BZ #10496]
4172 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
4173 (t_fmt_ampm): Likewise.
4174 * localedata/locales/aa_ER (t_fmt): Likewise.
4175 (t_fmt_ampm): Likewise.
4176 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
4177 (t_fmt_ampm): Likewise.
4178 * localedata/locales/aa_ET (t_fmt): Likewise.
4179 (t_fmt_ampm): Likewise.
4180 * localedata/locales/am_ET (t_fmt): Likewise.
4181 (t_fmt_ampm): Likewise.
4182 * localedata/locales/byn_ER (t_fmt): Likewise.
4183 (t_fmt_ampm): Likewise.
4184 * localedata/locales/om_ET (t_fmt): Likewise.
4185 (t_fmt_ampm): Likewise.
4186 * localedata/locales/sid_ET (t_fmt): Likewise.
4187 (t_fmt_ampm): Likewise.
4188 * localedata/locales/so_DJ (t_fmt): Likewise.
4189 (t_fmt_ampm): Likewise.
4190 * localedata/locales/so_ET (t_fmt): Likewise.
4191 (t_fmt_ampm): Likewise.
4192 * localedata/locales/so_SO (t_fmt): Likewise.
4193 (t_fmt_ampm): Likewise.
4194 * localedata/locales/ti_ER (t_fmt): Likewise.
4195 (t_fmt_ampm): Likewise.
4196 * localedata/locales/ti_ET (t_fmt): Likewise.
4197 (t_fmt_ampm): Likewise.
4198 * localedata/locales/tig_ER (t_fmt): Likewise.
4199 (t_fmt_ampm): Likewise.
4200 * localedata/locales/wal_ET (t_fmt): Likewise.
4201 (t_fmt_ampm): Likewise.
4202
4203 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
4204 * localedata/locales/ar_IN (t_fmt): Likewise.
4205 * localedata/locales/bhb_IN (t_fmt): Likewise.
4206 * localedata/locales/bho_IN (t_fmt): Likewise.
4207 * localedata/locales/bi_VU (t_fmt): Likewise.
4208 * localedata/locales/bn_BD (t_fmt): Likewise.
4209 * localedata/locales/bn_IN (t_fmt): Likewise.
4210 * localedata/locales/brx_IN (t_fmt): Likewise.
4211 * localedata/locales/doi_IN (t_fmt): Likewise.
4212 * localedata/locales/en_HK (t_fmt): Likewise.
4213 (t_fmt_ampm): Likewise.
4214 * localedata/locales/en_IN (t_fmt): Likewise.
4215 * localedata/locales/en_PH (t_fmt): Likewise.
4216 * localedata/locales/gu_IN (t_fmt): Likewise.
4217 * localedata/locales/hi_IN (t_fmt): Likewise.
4218 * localedata/locales/hif_FJ (t_fmt): Likewise.
4219 * localedata/locales/hne_IN (t_fmt): Likewise.
4220 * localedata/locales/kn_IN (t_fmt): Likewise.
4221 * localedata/locales/kok_IN (t_fmt): Likewise.
4222 * localedata/locales/ks_IN (t_fmt): Likewise.
4223 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
4224 * localedata/locales/mag_IN (t_fmt): Likewise.
4225 * localedata/locales/mai_IN (t_fmt): Likewise.
4226 * localedata/locales/mjw_IN (t_fmt): Likewise.
4227 * localedata/locales/ml_IN (t_fmt): Likewise.
4228 * localedata/locales/mni_IN (t_fmt): Likewise.
4229 * localedata/locales/mr_IN (t_fmt): Likewise.
4230 * localedata/locales/ms_MY (t_fmt): Likewise.
4231 * localedata/locales/pa_IN (t_fmt): Likewise.
4232 * localedata/locales/raj_IN (t_fmt): Likewise.
4233 * localedata/locales/sa_IN (t_fmt): Likewise.
4234 * localedata/locales/sat_IN (t_fmt): Likewise.
4235 * localedata/locales/sd_IN (t_fmt): Likewise.
4236 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
4237 * localedata/locales/tcy_IN (t_fmt): Likewise.
4238 * localedata/locales/the_NP (t_fmt): Likewise.
4239 * localedata/locales/to_TO (t_fmt): Likewise.
4240 * localedata/locales/ur_IN (t_fmt): Likewise.
4241
4242 * localedata/locales/hif_FJ (d_t_fmt): Set to
4243 "%A %d %b %Y %I:%M:%S %p".
4244 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
4245
4246 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
4247 * localedata/locales/ar_BH (t_fmt): Likewise.
4248 * localedata/locales/ar_DZ (t_fmt): Likewise.
4249 * localedata/locales/ar_EG (t_fmt): Likewise.
4250 * localedata/locales/ar_IQ (t_fmt): Likewise.
4251 * localedata/locales/ar_JO (t_fmt): Likewise.
4252 * localedata/locales/ar_KW (t_fmt): Likewise.
4253 * localedata/locales/ar_LB (t_fmt): Likewise.
4254 * localedata/locales/ar_LY (t_fmt): Likewise.
4255 * localedata/locales/ar_OM (t_fmt): Likewise.
4256 * localedata/locales/ar_QA (t_fmt): Likewise.
4257 * localedata/locales/ar_SD (t_fmt): Likewise.
4258 * localedata/locales/ar_SS (t_fmt): Likewise.
4259 * localedata/locales/ar_SY (t_fmt): Likewise.
4260 * localedata/locales/ar_TN (t_fmt): Likewise.
4261 * localedata/locales/ar_YE (t_fmt): Likewise.
4262
4263 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
4264 (t_fmt_ampm): Likewise.
4265 * localedata/locales/gez_ET (t_fmt): Likewise.
4266 (t_fmt_ampm): Likewise.
4267
4268 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
4269 (t_fmt_ampm): Likewise.
4270 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
4271
4272 * localedata/locales/zh_HK (t_fmt):
4273 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
4274
4275 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
4276 because this locale does not use the 12-hour clock.
4277 (t_fmt): Set to "%Z %H:%M:%S".
4278 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
4279
4280 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
4281 because this locale does not use the 12-hour clock.
4282 (t_fmt): Set to "%H:%M:%S %Z".
4283 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
4284
4285 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
4286 because this locale does not use the 12-hour clock.
4287 (t_fmt): Set to "%T".
4288 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
4289 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
4290
4291 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
4292 because this locale does not use the 12-hour clock.
4293 (t_fmt): Set to "%H:%M:%S %Z".
4294 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
4295
4296 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
4297 because this locale does not use the 12-hour clock.
4298 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
4299 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
4300
27841a7d
RL
43012018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
4302
4303 [BZ #10496]
4304 [BZ #23724]
4305 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
4306 (t_fmt_ampm): Likewise.
4307 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
4308 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
4309 (d_fmt): Set to "%-d.%-m.%y".
4310
0253580a
AZ
43112018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4312
4313 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
4314 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
4315 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
4316 Likewise.
4317 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
4318 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
4319 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
4320 function.
4321 * support/blob_repeat.c (check_mul_overflow_size_t,
4322 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
4323
09104e5b
AJ
43242018-12-28 Aurelien Jarno <aurelien@aurel32.net>
4325
4326 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
4327
c0feb731
PE
43282018-12-27 Paul Eggert <eggert@cs.ucla.edu>
4329
4330 regex: simplify Gnulib port
4331 This simplifies the code, by removing stuff intended for porting
4332 to Gnulib but no longer needed there.
4333 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
4334 uses of libc_hidden_def, weak_alias.
4335 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
4336 _Restrict_ except for public-facing headers.
4337 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
4338 Remove; already defined elsewhere.
4339 * posix/regex.c, posix/regex_internal.h:
4340 Use __GNUC_PREREQ instead of rolling our own.
4341 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
4342
5289f1f5
WD
43432018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
4344
4345 * benchtests/bench-strlen.c (generic_strlen): New function.
6b5c8607 4346 (memchr_strlen): New function.
5289f1f5 4347
ba4b8fab
L
43482018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4349
4350 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
4351 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
4352 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
4353
9412979a
L
43542018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4355
4356 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4357
8700a785
L
43582018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4359
4360 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
4361 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
4362 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
4363 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
4364 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
4365 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
4366 <sysdeps/ieee754/flt-32/s_sincosf.c>.
4367
57b3ff8e
JM
43682018-12-21 Joseph Myers <joseph@codesourcery.com>
4369
4370 [BZ #24023]
4371 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
4372 PLT reference in libc.so.
4373 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
4374 _Q_lltoq and _Q_qtod PLT references in libc.so.
4375
90d3320d
WD
43762018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
4377
4378 * benchtests/bench-memchr.c: Cleanup defines.
4379 * benchtests/bench-memcmp.c: Likewise.
4380 * benchtests/bench-memset.c: Likewise.
4381 * benchtests/bench-memset-large.c: Likewise.
4382 * benchtests/bench-memset-walk.c: Likewise.
4383 * benchtests/bench-stpcpy.c: Likewise.
4384 * benchtests/bench-stpncpy.c: Likewise.
4385 * benchtests/bench-strcat.c: Likewise.
4386 * benchtests/bench-strchr.c: Likewise.
4387 * benchtests/bench-strcmp.c: Likewise.
4388 * benchtests/bench-strcpy.c: Likewise.
4389 * benchtests/bench-strcspn.c: Likewise.
4390 * benchtests/bench-string.h: Likewise.
4391 * benchtests/bench-strlen.c: Likewise.
4392 * benchtests/bench-strncat.c: Likewise.
4393 * benchtests/bench-strncmp.c: Likewise.
4394 * benchtests/bench-strncpy.c: Likewise.
4395 * benchtests/bench-strnlen.c: Likewise.
4396 * benchtests/bench-strpbrk.c: Likewise.
4397 * benchtests/bench-strrchr.c: Likewise.
4398 * benchtests/bench-strspn.c: Likewise.
4399
192963be
JM
44002018-12-21 Joseph Myers <joseph@codesourcery.com>
4401
5d025ea6
JM
4402 * stdlib/longlong.h: Update from GCC.
4403
192963be
JM
4404 [BZ #23993]
4405 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
4406 * configure: Regenerated.
4407 * manual/install.texi (Tools for Compilation): Update minimum GCC
4408 version.
4409 * INSTALL: Regenerated.
4410
6b5c8607 44112018-12-21 Istvan Kurucsai <pistukem@gmail.com>
c0e82f11
IK
4412
4413 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
4414
6b5c8607 44152018-12-20 Istvan Kurucsai <pistukem@gmail.com>
ebe544bf
IK
4416
4417 * malloc/malloc.c (mremap_chunk): Additional checks.
4418
5f72b005
MH
44192018-12-21 Mao Han <han_mao@c-sky.com>
4420
4421 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
4422 * scripts/build-many-glibcs.py: Add C-SKY targets.
4423 * sysdeps/csky/Implies: New file.
4424 * sysdeps/csky/Makefile: Likewise.
4425 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
4426 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
4427 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
4428 * sysdeps/csky/abiv2/memcmp.S: Likewise.
4429 * sysdeps/csky/abiv2/memcpy.S: Likewise.
4430 * sysdeps/csky/abiv2/memmove.S: Likewise.
4431 * sysdeps/csky/abiv2/memset.S: Likewise.
4432 * sysdeps/csky/abiv2/setjmp.S: Likewise.
4433 * sysdeps/csky/abiv2/start.S: Likewise.
4434 * sysdeps/csky/abiv2/strcmp.S: Likewise.
4435 * sysdeps/csky/abiv2/strcpy.S: Likewise.
4436 * sysdeps/csky/abiv2/strlen.S: Likewise.
4437 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
4438 * sysdeps/csky/abort-instr.h: Likewise.
4439 * sysdeps/csky/atomic-machine.h: Likewise.
4440 * sysdeps/csky/bits/endian.h: Likewise.
4441 * sysdeps/csky/bits/fenv.h: Likewise.
4442 * sysdeps/csky/bits/link.h: Likewise.
4443 * sysdeps/csky/bits/setjmp.h: Likewise.
4444 * sysdeps/csky/bsd-_setjmp.S: Likewise.
4445 * sysdeps/csky/bsd-setjmp.S: Likewise.
4446 * sysdeps/csky/configure: Likewise.
4447 * sysdeps/csky/configure.ac: Likewise.
4448 * sysdeps/csky/dl-machine.h: Likewise.
4449 * sysdeps/csky/dl-procinfo.c: Likewise.
4450 * sysdeps/csky/dl-procinfo.h: Likewise.
4451 * sysdeps/csky/dl-sysdep.h: Likewise.
4452 * sysdeps/csky/dl-tls.h: Likewise.
4453 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
4454 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
4455 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
4456 * sysdeps/csky/fpu/fegetenv.c: Likewise.
4457 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
4458 * sysdeps/csky/fpu/fegetmode.c: Likewise.
4459 * sysdeps/csky/fpu/fegetround.c: Likewise.
4460 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
4461 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
4462 * sysdeps/csky/fpu/fenv_private.h: Likewise.
4463 * sysdeps/csky/fpu/fesetenv.c: Likewise.
4464 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
4465 * sysdeps/csky/fpu/fesetmode.c: Likewise.
4466 * sysdeps/csky/fpu/fesetround.c: Likewise.
4467 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
4468 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
4469 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
4470 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
4471 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
4472 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
4473 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
4474 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
4475 * sysdeps/csky/fpu_control.h: Likewise.
4476 * sysdeps/csky/gccframe.h: Likewise.
4477 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
4478 * sysdeps/csky/ldsodefs.h: Likewise.
4479 * sysdeps/csky/libc-tls.c: Likewise.
4480 * sysdeps/csky/linkmap.h: Likewise.
4481 * sysdeps/csky/machine-gmon.h: Likewise.
4482 * sysdeps/csky/memusage.h: Likewise.
4483 * sysdeps/csky/nofpu/Implies: Likewise.
4484 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
4485 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
4486 * sysdeps/csky/nptl/Makefile: Likewise.
4487 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
4488 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
4489 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
4490 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
4491 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
4492 * sysdeps/csky/nptl/tls.h: Likewise.
4493 * sysdeps/csky/preconfigure: Likewise.
4494 * sysdeps/csky/sfp-machine.h: Likewise.
4495 * sysdeps/csky/sotruss-lib.c: Likewise.
4496 * sysdeps/csky/stackinfo.h: Likewise.
4497 * sysdeps/csky/sysdep.h: Likewise.
4498 * sysdeps/csky/tininess.h: Likewise.
4499 * sysdeps/csky/tst-audit.h: Likewise.
4500 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
4501 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
4502 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
4503 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
4504 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
4505 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
4506 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
4507 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
4508 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
4509 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
4510 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
4511 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
4512 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
4513 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
4514 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
4515 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
4516 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
4517 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
4518 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
4519 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
4520 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
4521 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
4522 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
4523 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
4524 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
4525 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
4526 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
4527 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
4528 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
4529 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
4530 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
4531 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
4532 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
4533 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
4534 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
4535 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
4536 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
4537 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
4538 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
4539 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
4540 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
4541 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
4542 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
4543 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
4544
6b5c8607 45452018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
ac253355
AA
4546
4547 * include/time.h (__difftime64): Add.
4548 * time/difftime.c (subtract): convert to 64-bit time.
4549 * time/difftime.c (__difftime64): Add.
4550 * time/difftime.c (__difftime): Wrap around __difftime64.
4551
ab416931
L
45522018-12-20 H.J. Lu <hongjiu.lu@intel.com>
4553
4554 * manual/examples/add.c: Remove redundant "if not".
4555 * manual/examples/argp-ex1.c: Likewise.
4556 * manual/examples/argp-ex2.c: Likewise.
4557 * manual/examples/argp-ex3.c: Likewise.
4558 * manual/examples/argp-ex4.c: Likewise.
4559 * manual/examples/atexit.c: Likewise.
4560 * manual/examples/db.c: Likewise.
4561 * manual/examples/dir.c: Likewise.
4562 * manual/examples/dir2.c: Likewise.
4563 * manual/examples/execinfo.c: Likewise.
4564 * manual/examples/filecli.c: Likewise.
4565 * manual/examples/filesrv.c: Likewise.
4566 * manual/examples/fmtmsgexpl.c: Likewise.
4567 * manual/examples/genpass.c: Likewise.
4568 * manual/examples/inetcli.c: Likewise.
4569 * manual/examples/inetsrv.c: Likewise.
4570 * manual/examples/isockad.c: Likewise.
4571 * manual/examples/longopt.c: Likewise.
4572 * manual/examples/memopen.c: Likewise.
4573 * manual/examples/memstrm.c: Likewise.
4574 * manual/examples/mkdirent.c: Likewise.
4575 * manual/examples/mkfsock.c: Likewise.
4576 * manual/examples/mkisock.c: Likewise.
4577 * manual/examples/mygetpass.c: Likewise.
4578 * manual/examples/pipe.c: Likewise.
4579 * manual/examples/popen.c: Likewise.
4580 * manual/examples/rprintf.c: Likewise.
4581 * manual/examples/search.c: Likewise.
4582 * manual/examples/select.c: Likewise.
4583 * manual/examples/setjmp.c: Likewise.
4584 * manual/examples/sigh1.c: Likewise.
4585 * manual/examples/sigusr.c: Likewise.
4586 * manual/examples/stpcpy.c: Likewise.
4587 * manual/examples/strdupa.c: Likewise.
4588 * manual/examples/strftim.c: Likewise.
4589 * manual/examples/subopt.c: Likewise.
4590 * manual/examples/swapcontext.c: Likewise.
4591 * manual/examples/termios.c: Likewise.
4592 * manual/examples/testopt.c: Likewise.
4593 * manual/examples/testpass.c: Likewise.
4594 * manual/examples/timeval_subtract.c: Likewise.
4595
515f463f
JM
45962018-12-19 Joseph Myers <joseph@codesourcery.com>
4597
da75c1b1
JM
4598 * sysdeps/x86/fpu/math_private.h: New file.
4599 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
4600
515f463f
JM
4601 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
4602 definition.
4603 (cosh): Likewise.
4604 (tanh): Likewise.
4605
1616d034
TMQMF
46062018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4607
4608 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
4609 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
4610 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
4611 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
4612 fields.
4613 (_dl_show_auxv): Give a special treatment to
4614 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
4615 and AT_L3_CACHEGEOMETRY.
4616 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
4617 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
4618 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
4619 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
4620
61595e3d
AS
46212018-12-19 Andreas Schwab <schwab@suse.de>
4622
4623 * nscd/connections.c (check_use): Don't abort on invalid len.
4624
bbb7dc84
ST
46252018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
4626
4627 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
4628 values in the 64bit value cases.
4629
6b5c8607 46302018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
64c2277d 4631
c4c2836a
AA
4632 * include/time.h
4633 (__ctime64_r): Add.
4634 * time/ctime_r.c
4635 (__ctime64_r): Add.
4636 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
4637
7755e504
AA
4638 * include/time.h
4639 (__ctime64): Add.
4640 * time/gmtime.c
4641 (__ctime64): Add.
4642 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
4643
a1d346ce
AA
4644 * include/time.h
4645 (__gmtime64_r): Add.
4646 * time/gmtime.c
4647 (__gmtime64_r): Add.
4648 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
4649
131db8b0
AA
4650 * include/time.h
4651 (__gmtime64): Add.
4652 * time/gmtime.c
4653 (__gmtime64): Add.
4654 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
4655
64c2277d
AA
4656 * include/time.h
4657 (__localtime64_r): Add.
4658 * time/localtime.c
4659 (__localtime64_r): Add.
4660 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
4661
56b98bf1
AZ
46622018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4663
64dd7a16
AZ
4664 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
4665 kernel_sigction definition.
4666
8b1d5da5
AZ
4667 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
4668
f9eabb19
AZ
4669 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
4670
56b98bf1
AZ
4671 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
4672 __syscall_rt_sigaction.
4673 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
4674 (kernel_sigaction): Use Linux generic defintion.
4675 (STUB): Define.
4676 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
4677 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
4678 (__syscall_rt_sigaction): Remove implementation.
4679 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
4680 hidden.
4681 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
4682 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
4683 INTERNAL_SYSCALL): Remove definitions.
4684 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
4685 action and signal set size.
4686 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
4687 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
4688
43a45c2d
AZ
46892018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4690 James Clarke <jrtc27@jrtc27.com>
4691
dfa6216f 4692 [BZ #23967]
43a45c2d
AZ
4693 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
4694 Define if SA_RESTORER is defined.
4695 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
4696 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
4697 already defined.
4698 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
4699 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
4700 definitions.
4701 (HAS_SA_RESTORER): Define.
4702 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
4703 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
4704 (HAS_SA_RESTORER): Define.
4705 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
4706 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
4707 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
4708 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
4709 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4710
646ce7e0
JM
47112018-12-18 Joseph Myers <joseph@codesourcery.com>
4712
4713 * sysdeps/unix/sysv/linux/kernel-features.h
4714 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
4715 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4716 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
4717 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4718 (__ASSUME_ST_INO_64_BIT): Likewise.
4719 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
4720 <kernel-features.h>.
4721 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4722 Remove conditional code.
4723 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
4724 <kernel-features.h>.
4725 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4726 Remove conditional code.
4727 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
4728 <kernel-features.h>.
4729 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4730 Remove conditional code.
4731 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
4732 <kernel-features.h>.
4733 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
4734 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
4735
80190d2b
SL
47362018-12-18 Stefan Liebler <stli@linux.ibm.com>
4737
4738 * sysdeps/s390/multiarch/ifunc-resolve.h
4739 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
4740 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
4741 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
4742 Delete macro definition.
4743 (s390_libc_ifunc_init): Rename to
4744 s390_libc_ifunc_expr_stfle_init.
4745 * sysdeps/s390/bzero: Use
4746 s390_libc_ifunc_expr_stfle_init instead of
4747 s390_libc_ifunc_init.
4748 * sysdeps/s390/memcmp.c: Likewise.
4749 * sysdeps/s390/memcpy.c: Likewise.
4750 * sysdeps/s390/mempcpy.c: Likewise.
4751 * sysdeps/s390/memset.c: Likewise.
4752
12f0dcb8
SL
47532018-12-18 Stefan Liebler <stli@linux.ibm.com>
4754
4755 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
4756 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
4757
25654a8c
SL
47582018-12-18 Stefan Liebler <stli@linux.ibm.com>
4759
4760 * sysdeps/s390/multiarch/Makefile
4761 (sysdep_routines): Remove wmemcmp variants.
4762 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
4763 * sysdeps/s390/multiarch/ifunc-impl-list.c
4764 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
4765 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
4766 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
4767 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
4768 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
4769 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
4770 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
4771 * sysdeps/s390/ifunc-wmemcmp.h: New file.
4772
d2a7436c
SL
47732018-12-18 Stefan Liebler <stli@linux.ibm.com>
4774
4775 * sysdeps/s390/multiarch/Makefile
4776 (sysdep_routines): Remove wmemset variants.
4777 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
4778 * sysdeps/s390/multiarch/ifunc-impl-list.c
4779 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
4780 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
4781 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
4782 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
4783 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
4784 * sysdeps/s390/multiarch/wmemset.c: Move to ...
4785 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
4786 * sysdeps/s390/ifunc-wmemset.h: New file.
4787
c62534ae
SL
47882018-12-18 Stefan Liebler <stli@linux.ibm.com>
4789
4790 * sysdeps/s390/multiarch/Makefile
4791 (sysdep_routines): Remove wmemchr variants.
4792 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
4793 * sysdeps/s390/multiarch/ifunc-impl-list.c
4794 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
4795 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
4796 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
4797 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
4798 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
4799 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
4800 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
4801 * sysdeps/s390/ifunc-wmemchr.h: New file.
4802
79b44cf6
SL
48032018-12-18 Stefan Liebler <stli@linux.ibm.com>
4804
4805 * sysdeps/s390/multiarch/Makefile
4806 (sysdep_routines): Remove wcscspn variants.
4807 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
4808 * sysdeps/s390/multiarch/ifunc-impl-list.c
4809 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
4810 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
4811 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
4812 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
4813 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
4814 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
4815 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
4816 * sysdeps/s390/ifunc-wcscspn.h: New file.
4817
8e87c1f6
SL
48182018-12-18 Stefan Liebler <stli@linux.ibm.com>
4819
4820 * sysdeps/s390/multiarch/Makefile
4821 (sysdep_routines): Remove wcspbrk variants.
4822 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
4823 * sysdeps/s390/multiarch/ifunc-impl-list.c
4824 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
4825 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
4826 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
4827 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
4828 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
4829 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
4830 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
4831 * sysdeps/s390/ifunc-wcspbrk.h: New file.
4832
8507e831
SL
48332018-12-18 Stefan Liebler <stli@linux.ibm.com>
4834
4835 * sysdeps/s390/multiarch/Makefile
4836 (sysdep_routines): Remove wcsspn variants.
4837 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
4838 * sysdeps/s390/multiarch/ifunc-impl-list.c
4839 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
4840 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
4841 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
4842 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
4843 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
4844 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
4845 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
4846 * sysdeps/s390/ifunc-wcsspn.h: New file.
4847
4753713a
SL
48482018-12-18 Stefan Liebler <stli@linux.ibm.com>
4849
4850 * sysdeps/s390/multiarch/Makefile
4851 (sysdep_routines): Remove wcsrchr variants.
4852 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
4853 * sysdeps/s390/multiarch/ifunc-impl-list.c
4854 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
4855 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
4856 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
4857 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
4858 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
4859 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
4860 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
4861 * sysdeps/s390/ifunc-wcsrchr.h: New file.
4862
c09c1b6f
SL
48632018-12-18 Stefan Liebler <stli@linux.ibm.com>
4864
4865 * sysdeps/s390/multiarch/Makefile
4866 (sysdep_routines): Remove wcschrnul variants.
4867 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
4868 * sysdeps/s390/multiarch/ifunc-impl-list.c
4869 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
4870 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
4871 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
4872 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
4873 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
4874 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
4875 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
4876 * sysdeps/s390/ifunc-wcschrnul.h: New file.
4877
cf3ccc31
SL
48782018-12-18 Stefan Liebler <stli@linux.ibm.com>
4879
4880 * sysdeps/s390/multiarch/Makefile
4881 (sysdep_routines): Remove wcschr variants.
4882 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
4883 * sysdeps/s390/multiarch/ifunc-impl-list.c
4884 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
4885 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
4886 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
4887 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
4888 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
4889 * sysdeps/s390/multiarch/wcschr.c: Move to ...
4890 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
4891 * sysdeps/s390/ifunc-wcschr.h: New file.
4892
e9873e1d
SL
48932018-12-18 Stefan Liebler <stli@linux.ibm.com>
4894
4895 * sysdeps/s390/multiarch/Makefile
4896 (sysdep_routines): Remove wcsncmp variants.
4897 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
4898 * sysdeps/s390/multiarch/ifunc-impl-list.c
4899 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
4900 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
4901 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
4902 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
4903 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
4904 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
4905 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
4906 * sysdeps/s390/ifunc-wcsncmp.h: New file.
4907
3459e23d
SL
49082018-12-18 Stefan Liebler <stli@linux.ibm.com>
4909
4910 * sysdeps/s390/multiarch/Makefile
4911 (sysdep_routines): Remove wcscmp variants.
4912 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
4913 * sysdeps/s390/multiarch/ifunc-impl-list.c
4914 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
4915 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
4916 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
4917 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
4918 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
4919 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
4920 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
4921 * sysdeps/s390/ifunc-wcscmp.h: New file.
4922
814a76e1
SL
49232018-12-18 Stefan Liebler <stli@linux.ibm.com>
4924
4925 * sysdeps/s390/multiarch/Makefile
4926 (sysdep_routines): Remove wcsncat variants.
4927 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
4928 * sysdeps/s390/multiarch/ifunc-impl-list.c
4929 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
4930 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
4931 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
4932 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
4933 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
4934 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
4935 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
4936 * sysdeps/s390/ifunc-wcsncat.h: New file.
4937
3389cae4
SL
49382018-12-18 Stefan Liebler <stli@linux.ibm.com>
4939
4940 * sysdeps/s390/multiarch/Makefile
4941 (sysdep_routines): Remove wcscat variants.
4942 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
4943 * sysdeps/s390/multiarch/ifunc-impl-list.c
4944 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
4945 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
4946 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
4947 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
4948 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
4949 * sysdeps/s390/multiarch/wcscat.c: Move to ...
4950 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
4951 * sysdeps/s390/ifunc-wcscat.h: New file.
4952
c3081bcb
SL
49532018-12-18 Stefan Liebler <stli@linux.ibm.com>
4954
4955 * sysdeps/s390/multiarch/Makefile
4956 (sysdep_routines): Remove wcpncpy variants.
4957 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
4958 * sysdeps/s390/multiarch/ifunc-impl-list.c
4959 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
4960 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
4961 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
4962 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
4963 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
4964 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
4965 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
4966 * sysdeps/s390/ifunc-wcpncpy.h: New file.
4967
0966dd86
SL
49682018-12-18 Stefan Liebler <stli@linux.ibm.com>
4969
4970 * sysdeps/s390/multiarch/Makefile
4971 (sysdep_routines): Remove wcsncpy variants.
4972 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
4973 * sysdeps/s390/multiarch/ifunc-impl-list.c
4974 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
4975 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
4976 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
4977 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
4978 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
4979 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
4980 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
4981 * sysdeps/s390/ifunc-wcsncpy.h: New file.
4982
0582e428
SL
49832018-12-18 Stefan Liebler <stli@linux.ibm.com>
4984
4985 * sysdeps/s390/multiarch/Makefile
4986 (sysdep_routines): Remove wcpcpy variants.
4987 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
4988 * sysdeps/s390/multiarch/ifunc-impl-list.c
4989 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
4990 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
4991 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
4992 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
4993 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
4994 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
4995 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
4996 * sysdeps/s390/ifunc-wcpcpy.h: New file.
4997
804f2e5c
SL
49982018-12-18 Stefan Liebler <stli@linux.ibm.com>
4999
5000 * sysdeps/s390/multiarch/Makefile
5001 (sysdep_routines): Remove wcscpy variants.
5002 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
5003 * sysdeps/s390/multiarch/ifunc-impl-list.c
5004 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
5005 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
5006 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
5007 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
5008 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
5009 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
5010 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
5011 * sysdeps/s390/ifunc-wcscpy.h: New file.
5012
c7e7cd26
SL
50132018-12-18 Stefan Liebler <stli@linux.ibm.com>
5014
5015 * sysdeps/s390/multiarch/Makefile
5016 (sysdep_routines): Remove wcsnlen variants.
5017 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
5018 * sysdeps/s390/multiarch/ifunc-impl-list.c
5019 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
5020 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
5021 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
5022 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
5023 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
5024 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
5025 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
5026 * sysdeps/s390/ifunc-wcsnlen.h: New file.
5027
2e02d0b7
SL
50282018-12-18 Stefan Liebler <stli@linux.ibm.com>
5029
5030 * sysdeps/s390/multiarch/Makefile
5031 (sysdep_routines): Remove wcslen variants.
5032 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
5033 * sysdeps/s390/multiarch/ifunc-impl-list.c
5034 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
5035 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
5036 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
5037 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
5038 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
5039 * sysdeps/s390/multiarch/wcslen.c: Move to ...
5040 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
5041 * sysdeps/s390/ifunc-wcslen.h: New file.
5042
89bfcbdf
SL
50432018-12-18 Stefan Liebler <stli@linux.ibm.com>
5044
5045 * sysdeps/s390/multiarch/Makefile
5046 (sysdep_routines): Remove memrchr variants.
5047 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
5048 * sysdeps/s390/multiarch/ifunc-impl-list.c
5049 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
5050 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
5051 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
5052 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
5053 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
5054 * sysdeps/s390/multiarch/memrchr.c: Move to ...
5055 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
5056 * sysdeps/s390/ifunc-memrchr.h: New file.
5057
196655ba
SL
50582018-12-18 Stefan Liebler <stli@linux.ibm.com>
5059
5060 * sysdeps/s390/multiarch/Makefile
5061 (sysdep_routines): Remove memccpy variants.
5062 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
5063 * sysdeps/s390/multiarch/ifunc-impl-list.c
5064 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
5065 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
5066 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
5067 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
5068 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
5069 * sysdeps/s390/multiarch/memccpy.c: Move to ...
5070 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
5071 * sysdeps/s390/ifunc-memccpy.h: New file.
5072
4c7b3cec
SL
50732018-12-18 Stefan Liebler <stli@linux.ibm.com>
5074
5075 * sysdeps/s390/multiarch/Makefile
5076 (sysdep_routines): Remove rawmemchr variants.
5077 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
5078 * sysdeps/s390/multiarch/ifunc-impl-list.c
5079 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
5080 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
5081 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
5082 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
5083 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
5084 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
5085 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
5086 * sysdeps/s390/ifunc-rawmemchr.h: New file.
5087
581a051c
SL
50882018-12-18 Stefan Liebler <stli@linux.ibm.com>
5089
5090 * sysdeps/s390/multiarch/Makefile
5091 (sysdep_routines): Remove memchr variants.
5092 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
5093 * sysdeps/s390/multiarch/ifunc-impl-list.c
5094 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
5095 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
5096 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
5097 * sysdeps/s390/multiarch/memchr.c: Move to ...
5098 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
5099 * sysdeps/s390/ifunc-memchr.h: New file.
5100 * sysdeps/s390/s390-64/memchr.S: Move to ...
5101 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
5102 for 31/64bit and ifunc handling.
5103 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
5104 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
5105 * sysdeps/s390/s390-32/memchr.S: Likewise.
5106
5d2ec20a
SL
51072018-12-18 Stefan Liebler <stli@linux.ibm.com>
5108
5109 * sysdeps/s390/multiarch/Makefile
5110 (sysdep_routines): Remove strcspn variants.
5111 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
5112 * sysdeps/s390/multiarch/ifunc-impl-list.c
5113 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
5114 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
5115 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
5116 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
5117 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
5118 * sysdeps/s390/multiarch/strcspn.c: Move to ...
5119 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
5120 * sysdeps/s390/ifunc-strcspn.h: New file.
5121
572cca93
SL
51222018-12-18 Stefan Liebler <stli@linux.ibm.com>
5123
5124 * sysdeps/s390/multiarch/Makefile
5125 (sysdep_routines): Remove strpbrk variants.
5126 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
5127 * sysdeps/s390/multiarch/ifunc-impl-list.c
5128 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
5129 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
5130 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
5131 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
5132 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
5133 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
5134 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
5135 * sysdeps/s390/ifunc-strpbrk.h: New file.
5136
483fc569
SL
51372018-12-18 Stefan Liebler <stli@linux.ibm.com>
5138
5139 * sysdeps/s390/multiarch/Makefile
5140 (sysdep_routines): Remove strspn variants.
5141 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
5142 * sysdeps/s390/multiarch/ifunc-impl-list.c
5143 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
5144 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
5145 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
5146 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
5147 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
5148 * sysdeps/s390/multiarch/strspn.c: Move to ...
5149 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
5150 * sysdeps/s390/ifunc-strspn.h: New file.
5151
26ea8760
SL
51522018-12-18 Stefan Liebler <stli@linux.ibm.com>
5153
5154 * sysdeps/s390/multiarch/Makefile
5155 (sysdep_routines): Remove strrchr variants.
5156 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
5157 * sysdeps/s390/multiarch/ifunc-impl-list.c
5158 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
5159 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
5160 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
5161 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
5162 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
5163 * sysdeps/s390/multiarch/strrchr.c: Move to ...
5164 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
5165 * sysdeps/s390/ifunc-strrchr.h: New file.
5166
a1361e65
SL
51672018-12-18 Stefan Liebler <stli@linux.ibm.com>
5168
5169 * sysdeps/s390/multiarch/Makefile
5170 (sysdep_routines): Remove strchrnul variants.
5171 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
5172 * sysdeps/s390/multiarch/ifunc-impl-list.c
5173 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
5174 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
5175 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
5176 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
5177 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
5178 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
5179 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
5180 * sysdeps/s390/ifunc-strchrnul.h: New file.
5181
32f12653
SL
51822018-12-18 Stefan Liebler <stli@linux.ibm.com>
5183
5184 * sysdeps/s390/multiarch/Makefile
5185 (sysdep_routines): Remove strchr variants.
5186 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
5187 * sysdeps/s390/multiarch/ifunc-impl-list.c
5188 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
5189 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
5190 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
5191 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
5192 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
5193 * sysdeps/s390/multiarch/strchr.c: Move to ...
5194 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
5195 * sysdeps/s390/ifunc-strchr.h: New file.
5196
316b8842
SL
51972018-12-18 Stefan Liebler <stli@linux.ibm.com>
5198
5199 * sysdeps/s390/multiarch/Makefile
5200 (sysdep_routines): Remove strncmp variants.
5201 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
5202 * sysdeps/s390/multiarch/ifunc-impl-list.c
5203 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
5204 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
5205 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
5206 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
5207 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
5208 * sysdeps/s390/multiarch/strncmp.c: Move to ...
5209 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
5210 * sysdeps/s390/ifunc-strncmp.h: New file.
5211
cdab85fe
SL
52122018-12-18 Stefan Liebler <stli@linux.ibm.com>
5213
5214 * sysdeps/s390/multiarch/Makefile
5215 (sysdep_routines): Remove strcmp variants.
5216 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
5217 * sysdeps/s390/multiarch/ifunc-impl-list.c
5218 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
5219 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
5220 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
5221 * sysdeps/s390/multiarch/strcmp.c: Move to ...
5222 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
5223 * sysdeps/s390/ifunc-strcmp.h: New file.
5224 * sysdeps/s390/s390-64/strcmp.S: Move to ...
5225 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
5226 for 31/64bit and ifunc handling.
5227 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
5228 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
5229 * sysdeps/s390/s390-32/strcmp.S: Likewise.
5230
b9353351
SL
52312018-12-18 Stefan Liebler <stli@linux.ibm.com>
5232
5233 * sysdeps/s390/multiarch/Makefile
5234 (sysdep_routines): Remove strncat variants.
5235 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
5236 * sysdeps/s390/multiarch/ifunc-impl-list.c
5237 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
5238 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
5239 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
5240 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
5241 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
5242 * sysdeps/s390/multiarch/strncat.c: Move to ...
5243 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
5244 * sysdeps/s390/ifunc-strncat.h: New file.
5245
8e5a0afb
SL
52462018-12-18 Stefan Liebler <stli@linux.ibm.com>
5247
5248 * sysdeps/s390/multiarch/Makefile
5249 (sysdep_routines): Remove strcat variants.
5250 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
5251 * sysdeps/s390/multiarch/ifunc-impl-list.c
5252 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
5253 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
5254 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
5255 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
5256 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
5257 * sysdeps/s390/multiarch/strcat.c: Move to ...
5258 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
5259 * sysdeps/s390/ifunc-strcat.h: New file.
5260
25218822
SL
52612018-12-18 Stefan Liebler <stli@linux.ibm.com>
5262
5263 * sysdeps/s390/multiarch/Makefile
5264 (sysdep_routines): Remove stpncpy variants.
5265 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
5266 * sysdeps/s390/multiarch/ifunc-impl-list.c
5267 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
5268 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
5269 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
5270 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
5271 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
5272 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
5273 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
5274 * sysdeps/s390/ifunc-stpncpy.h: New file.
5275
d1bdbf38
SL
52762018-12-18 Stefan Liebler <stli@linux.ibm.com>
5277
5278 * sysdeps/s390/multiarch/Makefile
5279 (sysdep_routines): Remove strncpy variants.
5280 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
5281 * sysdeps/s390/multiarch/ifunc-impl-list.c
5282 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
5283 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
5284 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
5285 * sysdeps/s390/multiarch/strncpy.c: Move to ...
5286 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
5287 * sysdeps/s390/ifunc-strncpy.h: New file.
5288 * sysdeps/s390/s390-64/strncpy.S: Move to ...
5289 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
5290 and adjust ifunc handling.
5291 * sysdeps/s390/s390-32/strncpy.S: Move to ...
5292 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
5293 and adjust ifunc handling.
5294 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
5295 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
5296
97044931
SL
52972018-12-18 Stefan Liebler <stli@linux.ibm.com>
5298
5299 * sysdeps/s390/multiarch/Makefile
5300 (sysdep_routines): Remove stpcpy variants.
5301 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
5302 * sysdeps/s390/multiarch/ifunc-impl-list.c
5303 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
5304 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
5305 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
5306 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
5307 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
5308 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
5309 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
5310 * sysdeps/s390/ifunc-stpcpy.h: New file.
5311
914a4e05
SL
53122018-12-18 Stefan Liebler <stli@linux.ibm.com>
5313
5314 * sysdeps/s390/multiarch/Makefile
5315 (sysdep_routines): Remove strcpy variants.
5316 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
5317 * sysdeps/s390/multiarch/ifunc-impl-list.c
5318 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
5319 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
5320 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
5321 * sysdeps/s390/multiarch/strcpy.c: Move to ...
5322 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
5323 * sysdeps/s390/ifunc-strcpy.h: New file.
5324 * sysdeps/s390/s390-64/strcpy.S: Move to ...
5325 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
5326 for 31/64bit and ifunc handling.
5327 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
5328 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
5329 * sysdeps/s390/s390-32/strcpy.S: Likewise.
5330
de10e44d
SL
53312018-12-18 Stefan Liebler <stli@linux.ibm.com>
5332
5333 * sysdeps/s390/multiarch/Makefile
5334 (sysdep_routines): Remove strnlen variants.
5335 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
5336 * sysdeps/s390/multiarch/ifunc-impl-list.c
5337 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
5338 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
5339 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
5340 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
5341 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
5342 * sysdeps/s390/multiarch/strnlen.c: Move to ...
5343 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
5344 * sysdeps/s390/ifunc-strnlen.h: New file.
5345
ff3ca374
SL
53462018-12-18 Stefan Liebler <stli@linux.ibm.com>
5347
5348 * sysdeps/s390/multiarch/Makefile
5349 (sysdep_routines): Remove strlen variants.
5350 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
5351 * sysdeps/s390/multiarch/ifunc-impl-list.c
5352 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
5353 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
5354 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
5355 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
5356 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
5357 * sysdeps/s390/multiarch/strlen.c: Move to ...
5358 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
5359 * sysdeps/s390/ifunc-strlen.h: New file.
5360
d2c4c403
SL
53612018-12-18 Stefan Liebler <stli@linux.ibm.com>
5362
5363 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
5364 * sysdeps/s390/multiarch/ifunc-impl-list.c
5365 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
5366 * sysdeps/s390/ifunc-memmem.h: New file.
5367 * sysdeps/s390/memmem.c: Likewise.
5368 * sysdeps/s390/memmem-c.c: Likewise.
5369 * sysdeps/s390/memmem-vx.c: Likewise.
5370
8c25dddd
SL
53712018-12-18 Stefan Liebler <stli@linux.ibm.com>
5372
5373 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
5374 * sysdeps/s390/multiarch/ifunc-impl-list.c
5375 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
5376 * sysdeps/s390/ifunc-strstr.h: New file.
5377 * sysdeps/s390/strstr.c: Likewise.
5378 * sysdeps/s390/strstr-c.c: Likewise.
5379 * sysdeps/s390/strstr-vx.c: Likewise.
5380
cdd927d9
SL
53812018-12-18 Stefan Liebler <stli@linux.ibm.com>
5382
5383 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
5384 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
5385 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
5386 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
5387 New defines.
5388 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
5389 * sysdeps/s390/memmove-c.c: New file.
5390 * sysdeps/s390/memmove.c: Likewise.
5391 * sysdeps/s390/multiarch/ifunc-impl-list.c
5392 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
5393
2ee1bc57
SL
53942018-12-18 Stefan Liebler <stli@linux.ibm.com>
5395
5396 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
5397 * sysdeps/s390/configure.ac: Add check for z13 support.
5398 * sysdeps/s390/configure: Regenerated.
5399
d097d976
SL
54002018-12-18 Stefan Liebler <stli@linux.ibm.com>
5401
5402 * sysdeps/s390/memcopy.h: New file.
5403
e099aab0
SL
54042018-12-18 Stefan Liebler <stli@linux.ibm.com>
5405
5406 * sysdeps/s390/s390-32/bcopy.S: Remove.
5407 * sysdeps/s390/s390-64/bcopy.S: Likewise.
5408
18eb862d
SL
54092018-12-18 Stefan Liebler <stli@linux.ibm.com>
5410
5411 * sysdeps/s390/ifunc-memcpy.h: New File.
5412 * sysdeps/s390/memcpy.S: Move to ...
5413 * sysdeps/s390/memcpy-z900.S ... here.
5414 Move implementations from memcpy-s390x.s to here.
5415 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
5416 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5417 Remove memcpy/mempcpy variants.
5418 * sysdeps/s390/Makefile (sysdep_routines):
5419 Add memcpy/mempcpy variants.
5420 * sysdeps/s390/multiarch/ifunc-impl-list.c
5421 (__libc_ifunc_impl_list): Adjust ifunc variants for
5422 memcpy and mempcpy.
5423 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
5424 to ...
5425 * sysdeps/s390/memcpy.c: ... here.
5426 Adjust ifunc variants for memcpy.
5427 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
5428 * sysdeps/s390/mempcpy.c: ... here.
5429 Adjust ifunc variants for mempcpy.
5430 * sysdeps/s390/mempcpy.S: Delete file.
5431
df3eb8de
SL
54322018-12-18 Stefan Liebler <stli@linux.ibm.com>
5433
5434 * sysdeps/s390/s390-64/memcpy.S: Move to ...
5435 * sysdeps/s390/memcpy.S: ... here.
5436 Adjust to be usable for 31/64bit.
5437 * sysdeps/s390/s390-32/memcpy.S: Delete File.
5438 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
5439 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
5440 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5441 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
5442 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
5443 Adjust to be usable for 31/64bit.
5444 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
5445 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
5446 * sysdeps/s390/multiarch/memcpy.c: ... here.
5447 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
5448
b7e024a8
SL
54492018-12-18 Stefan Liebler <stli@linux.ibm.com>
5450
5451 * sysdeps/s390/ifunc-memcmp.h: New File.
5452 * sysdeps/s390/memcmp.S: Move to ...
5453 * sysdeps/s390/memcmp-z900.S ... here.
5454 Move implementations from memcmp-s390x.s to here.
5455 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
5456 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5457 Remove memcmp variants.
5458 * sysdeps/s390/Makefile (sysdep_routines):
5459 Add memcmp variants.
5460 * sysdeps/s390/multiarch/ifunc-impl-list.c
5461 (__libc_ifunc_impl_list): Adjust ifunc variants for
5462 memcmp.
5463 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
5464 to ...
5465 * sysdeps/s390/memcmp.c: ... here.
5466 Adjust ifunc variants for memcmp.
5467
6c6b8c74
SL
54682018-12-18 Stefan Liebler <stli@linux.ibm.com>
5469
5470 * sysdeps/s390/s390-64/memcmp.S: Move to ...
5471 * sysdeps/s390/memcmp.S: ... here.
5472 Adjust to be usable for 31/64bit.
5473 * sysdeps/s390/s390-32/memcmp.S: Delete File.
5474 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
5475 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
5476 Remove memcmp.
5477 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5478 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
5479 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
5480 Adjust to be usable for 31/64bit.
5481 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
5482 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
5483 * sysdeps/s390/multiarch/memcmp.c: ... here.
5484 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
5485
07be3928
SL
54862018-12-18 Stefan Liebler <stli@linux.ibm.com>
5487
5488 * sysdeps/s390/s390-32/bzero.S: Delete file.
5489 * sysdeps/s390/s390-64/bzero.S: Likewise.
5490 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
5491 * sysdeps/s390/bzero.c: New file.
5492 * sysdeps/s390/memset-z900.S: Add bzero entry points.
5493 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
5494 * sysdeps/s390/multiarch/ifunc-impl-list.c
5495 (__libc_ifunc_impl_list): Add bzero ifunc variants.
5496
712a254a
SL
54972018-12-18 Stefan Liebler <stli@linux.ibm.com>
5498
5499 * sysdeps/s390/ifunc-memset.h: New File.
5500 * sysdeps/s390/memset.S: Move to ...
5501 * sysdeps/s390/memset-z900.S ... here.
5502 Move implementations from memset-s390x.s to here.
5503 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
5504 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5505 Remove memset variants.
5506 * sysdeps/s390/Makefile (sysdep_routines):
5507 Add memset variants.
5508 * sysdeps/s390/multiarch/ifunc-impl-list.c
5509 (__libc_ifunc_impl_list): Adjust ifunc variants for
5510 memset.
5511 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
5512 to ...
5513 * sysdeps/s390/memset.c: ... here.
5514 Adjust ifunc variants for memset.
5515
5f1743d1
SL
55162018-12-18 Stefan Liebler <stli@linux.ibm.com>
5517
5518 * sysdeps/s390/s390-64/memset.S: Move to ...
5519 * sysdeps/s390/memset.S: ... here.
5520 Adjust to be usable for 31/64bit.
5521 * sysdeps/s390/s390-32/memset.S: Delete File.
5522 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
5523 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
5524 Remove memset.
5525 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5526 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
5527 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
5528 Adjust to be usable for 31/64bit.
5529 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
5530 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
5531 * sysdeps/s390/multiarch/memset.c: ... here.
5532 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
5533
e8023f26
SL
55342018-12-18 Stefan Liebler <stli@linux.ibm.com>
5535
5536 * sysdeps/s390/multiarch/ifunc-resolve.h
5537 (s390_libc_ifunc_init, s390_libc_ifunc,
5538 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
5539
b8686c0d
SL
55402018-12-18 Stefan Liebler <stli@linux.ibm.com>
5541
5542 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
5543 * sysdeps/s390/configure.ac: Add check for z10 support.
5544 * sysdeps/s390/configure: Regenerated.
5545
cd815050
L
55462018-12-18 H.J. Lu <hongjiu.lu@intel.com>
5547
5548 * sysdeps/i386/atomic-machine.h: Merged with ...
5549 * sysdeps/x86_64/atomic-machine.h: To ...
5550 * sysdeps/x86/atomic-machine.h: This. New file.
5551
053c52b1
FW
55522018-12-18 Florian Weimer <fweimer@redhat.com>
5553
5554 Rewrite locale/gen-translit.pl in Python.
5555 * locale/Makefile (generated): Add C-translit.h.
5556 (before-compile): Add $(objpfx)C-translit.h.
5557 (C-translit.h): Move to $(objpfx). Create target directory.
5558 Build using Python script.
5559 * locale/gen-translit.py: New file.
5560 * locale/gen-translit.pl: Remove file.
5561 * locale/C-translit.h.in: Change comment character to '#' for
5562 easier parsing without a C preprocessor.
5563 * locale/C-translit.h: Remove generated file.
5564 * manual/install.texi (Tools for Compilation): Do not mention
5565 C-translit.h.
5566 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
5567 Remove locale/C-translit.h.
5568 * scripts/update-copyrights: Likewise.
5569 * INSTALL: Regenerate.
5570
40e6c1ec
FW
55712018-12-18 Florian Weimer <fweimer@redhat.com>
5572
5573 [BZ #23995]
5574 * localedata/locales/bi_VU: Remove executable bit from file.
5575
6b5c8607 55762018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
6e15f3e2
AA
5577
5578 * include/time.h
5579 (__localtime64): Add.
5580 * manual/maint.texi: Document Y2038 symbol handling.
5581 * time/localtime.c
5582 (__localtime64): Add.
bfb79db4 5583 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
6e15f3e2 5584
df648905
JM
55852018-12-17 Joseph Myers <joseph@codesourcery.com>
5586
551e81d9
JM
5587 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
5588 Do not clobber r12.
5589
df648905
JM
5590 * scripts/glibcextract.py (compare_macro_consts): Take parameters
5591 to allow extra macros from first or second sources.
5592 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
5593 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5594 (tests-special): Add $(objpfx)tst-mman-consts.out.
5595 ($(objpfx)tst-mman-consts.out): New makefile target.
5596
6bbfc5c0
MH
55972018-12-17 Mao Han <han_mao@c-sky.com>
5598
5599 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
5600 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
5601 without stat64 system call support.
5602 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
5603 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
5604 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
5605 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
5606 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
5607 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
5608 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
5609 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
5610 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
5611 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
5612 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
5613
ef202e53
PE
56142018-12-15 Paul Eggert <eggert@cs.ucla.edu>
5615
5616 regex: fix storage-exhaustion error
5617 [BZ #18040]
5618 * posix/regexec.c (get_subexp):
5619 Do not continue if storage is exhausted.
5620
077caf61
AG
56212018-12-15 Assaf Gordon <assafgordon@gmail.com>
5622
5623 regex: fix heap-use-after-free error
5624 [BZ #18040]
5625 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
5626 https://debbugs.gnu.org/32592
5627 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
5628 call extend_buffers which reallocates the re_string_t internal buffer.
5629 Local variable 'buf' was not updated in such case, resulting in
5630 use-after-free.
5631 * posix/regexec.c (get_subexp): Update 'buf' after call to
5632 get_subexp_sub.
5633
0c1719e6
FW
56342018-12-15 Florian Weimer <fweimer@redhat.com>
5635
5636 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
5637 (minimum_stride_size): Use it.
5638 (support_blob_repeat_allocate): Likewise.
5639
033a2c0a
JM
56402018-12-14 Joseph Myers <joseph@codesourcery.com>
5641
5642 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
5643 definition.
5644 (acosh): Likewise.
5645 (atanh): Likewise.
5646
e361dc04
FW
56472018-12-14 Florian Weimer <fweimer@redhat.com>
5648
5649 * manual/process.texi (Process Creation Concepts): Remove
5650 documentation of process (ID) lifetime. List more process
5651 creation functions. Reference Process Identification section.
5652 (Process Identification): Add information about process ID
5653 lifetime. Describe Linux thread/task IDs.
5654 * manual/signal.texi (Signaling Another Process): Mention that the
5655 signal is always sent to the process.
5656
bd51ff5e
GG
56572018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5658
5659 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
5660 and tst-ldbl-efgcvt.
5661 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
5662 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
5663 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
5664 (fcvt_tests, output_error, output_r_error, do_test): Use the
5665 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
5666 select the type of floating-point variables and arguments; to
5667 produce extra tests for double and conversion specifiers for
5668 printf; and to set the names of called functions.
5669 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
5670 in tst-efgcvt-template.c.
5671 * misc/tst-ldbl-efgcvt.c: Likewise.
5672
268bb71e
SL
56732018-12-14 Stefan Liebler <stli@linux.ibm.com>
5674
5675 * nss/Makefile (tst-nss-test3.out): New rule.
5676
db6df070
JM
56772018-12-13 Joseph Myers <joseph@codesourcery.com>
5678
5679 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
5680 clobber sp.
5681
ade8b817
CD
56822018-12-13 fanjinke <fanjinke@hygon.cn>
5683
5684 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
5685 "HygonGenuine".
5686
3d265911
AS
56872018-12-13 Andreas Schwab <schwab@suse.de>
5688
f21e8f8c 5689 [BZ #23861]
3d265911 5690 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
f21e8f8c
AS
5691 (__pthread_rwlock_rdlock_full): Update expected value for
5692 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
5693 * nptl/tst-rwlock-pwn.c: New file.
5694 * nptl/Makefile (tests): Add tst-rwlock-pwn.
3d265911 5695
bf8ae8c0
JM
56962018-12-12 Joseph Myers <joseph@codesourcery.com>
5697
5698 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
5699 definition.
5700
de099757
LS
57012018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5702
5703 * benchtests/scripts/compare_bench.py (do_compare): write to
5704 stderr in casestat is not present.
5705 * benchtests/scripts/compare_bench.py (plot_graphs): write to
5706 stderr in case timings field is not present. Also string showing
5707 the output filename goes into the stderr.
5708
1990185f
LS
57092018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5710
5711 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
5712 and ZeroDivisorError exceptions.
5713 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
5714 argument to loop through user provided statistics.
5715 * benchtests/scripts/compare_bench.py (main): Include the --stats
5716 argument.
5717
587426d4
LS
57182018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5719
5720 * benchtests/scripts/compare_bench.py (compare_runs): Continue
5721 instead of return.
5722
46703efa
FW
57232018-12-12 Florian Weimer <fweimer@redhat.com>
5724
5725 * sysdeps/posix/timespec_get.c: Add missing “any later version”
5726 clause to copyright header.
5727
1d880d4a
TMQMF
57282018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5729
5730 [BZ #23614]
5731 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
5732 registers saved in the stack frame.
5733 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
5734 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
5735
1a502f52
GG
57362018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5737
5738 * include/bits/monetary-ldbl.h: New file.
5739 * include/bits/printf-ldbl.h: Likewise.
5740 * include/bits/stdio-ldbl.h: Likewise.
5741 * include/bits/stdlib-ldbl.h: Likewise.
5742 * include/bits/syslog-ldbl.h: Likewise.
5743 * include/bits/wchar-ldbl.h: Likewise.
5744
df682d1d
GG
57452018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5746
5747 * libio/libio.h: Remove redirection for _IO_vfprintf.
5748
c2c082c1
AS
57492018-12-11 Andreas Schwab <schwab@suse.de>
5750
5751 * Makerules: Remove all references to abilist-pattern.
5752 (update-all-abi): Simplify find expression.
5753
505b5b29
SN
57542018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
5755
5756 [BZ #23961]
5757 * math/auto-libm-test-in: Add new test case.
5758 * math/auto-libm-test-out-pow: Regenerated.
5759 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
5760
304c61a2
DD
57612018-12-10 DJ Delorie <dj@redhat.com>
5762
5763 [BZ #23948]
5764 * support/test-container.c: Move postclean step to before we
5765 change namespaces.
5766
a8110b72
JM
57672018-12-10 Joseph Myers <joseph@codesourcery.com>
5768
cb7be159
JM
5769 * scripts/gen-as-const.py (main): Handle --python option.
5770 * scripts/gen-py-const.awk: Remove.
5771 * Makerules (py-const-script): Use gen-as-const.py.
5772 ($(py-const)): Likewise.
5773 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
5774 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
5775 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
5776 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
5777 ~PTHREAD_MUTEX_NO_ELISION_NP.
5778 * manual/README.pretty-printers: Update reference to
5779 gen-py-const.awk.
5780
a8110b72
JM
5781 * scripts/glibcextract.py: New file.
5782 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
5783 or tempfile. Import glibcexctract.
5784 (compute_c_consts): Remove. Moved to glibcextract.py.
5785 (gen_test): Update reference to compute_c_consts.
5786 (main): Likewise.
5787 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
5788 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
5789 * sysdeps/unix/sysv/linux/Makefile
5790 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
5791 Redirect stderr as well as stdout.
5792
f9ba9eb8
RÁE
57932018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
5794
5795 [BZ #19767]
5796 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
b39d961c
TS
5797 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
5798 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
f9ba9eb8 5799 ALWAYS_USE_VSYSCALL.
b39d961c 5800 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
f9ba9eb8
RÁE
5801 ALWAYS_USE_VSYSCALL.
5802 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
5803 ALWAYS_USE_VSYSCALL.
5804
8d20a2f4
FW
58052018-12-10 Florian Weimer <fweimer@redhat.com>
5806
5807 [BZ #23972]
5808 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
5809 offset instead of count for clarity. Fix typo in comment.
5810 (__old_getdents64): Keep track of previous offset. Use it to call
5811 handle_overflow.
5812 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
5813 that d_off is never zero.
5814
80472e2f
AS
58152018-12-10 Andreas Schwab <schwab@suse.de>
5816
5817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
5818 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
5819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
5820 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
5821 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
5822
0afcb29d
JM
58232018-12-10 Joseph Myers <joseph@codesourcery.com>
5824
5825 * timezone/private.h: Update from tzcode 2018g.
5826 * timezone/tzfile.h: Likewise.
5827 * timezone/tzselect.ksh: Likewise.
5828 * timezone/zdump.c: Likewise.
5829 * timezone/zic.c: Likewise.
5830
b93f4052
PP
58312018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5832
5833 [BZ #23490]
5834 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
5835 (do_test): Adjust buffer size and fix format.
5836
7c9a7c68
DD
58372018-12-07 DJ Delorie <dj@redhat.com>
5838
5839 [BZ #23907]
5840 * malloc/tst-tcfree3.c: New.
5841 * malloc/Makefile: Add it.
5842
37caec3a
L
58432018-12-07 H.J. Lu <hongjiu.lu@intel.com>
5844
5845 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
5846
10446f5d
GG
58472018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5848
5849 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
5850 used as a mask for the mode argument of __vfscanf_internal and
5851 __vfwscanf_internal.
5852 * stdio-common/vfscanf-internal.c
5853 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
5854 (__strtof128_internal): Define to __wcstof128_internal.
5855 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
5856 __strtof128_internal or __wcstof128_internal when the format of
5857 long double is the same as _Float128.
5858
45f33aac
ST
58592018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
5860
5861 * include/unistd.h (__confstr): Add prototype and hidden prototype.
5862 * posix/confstr.c (confstr): Rename to __confstr.
5863 (__confstr): Add hidden def.
5864 (confstr): Add weak alias for __confstr.
5865 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
5866 confstr.
5867
a092ca94
L
58682018-12-07 H.J. Lu <hongjiu.lu@intel.com>
5869
5870 * NEWS: Mention getcpu.
5871 * include/sched.h (__getcpu): New libc_hidden_proto.
5872 * manual/resource.texi: Document getcpu.
5873 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
5874 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
5875 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
5876 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5877 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5878 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5879 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5880 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5881 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5882 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5883 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5884 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5885 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
5886 Likewise.
5887 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5888 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5889 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5891 Likewise.
5892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5893 Likewise.
5894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5895 Likewise.
5896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5897 Likewise.
5898 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
5899 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5900 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5901 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5902 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5903 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5904 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5905 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5906 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
5907 * sysdeps/unix/sysv/linux/getcpu.c: New file.
5908 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
5909 Also check getcpu.
5910
7c857b6f
ST
59112018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
5912
5913 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
5914 functions.
5915 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
5916
3a3fb755
FW
59172018-12-07 Florian Weimer <fweimer@redhat.com>
5918
5919 [BZ #17405]
5920 * posix/Makefile (routines): Add spawn_faction_addfchdir.
5921 * posix/Versions (GLIBC_2.29): Export
5922 posix_spawn_file_actions_addfchdir_np.
5923 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
5924 * posix/spawn_faction_destroy.c
5925 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
5926 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
5927 and the field action.fchdir_action.
5928 * posix/tst-spawn-chdir.c (add_chdir): New function.
5929 (do_test): Add do_fchdir loop. Call add_chdir.
5930 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
5931 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5932 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
5933 posix_spawn_file_actions_addfchdir_np.
5934 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
5935 Likewise.
5936 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
5937 Likewise.
5938 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
5939 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
5940 Likewise.
5941 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
5942 Likewise.
5943 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
5944 Likewise.
5945 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
5946 Likewise.
5947 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
5948 Likewise.
5949 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
5950 Likewise.
5951 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5952 (GLIBC_2.29): Likewise.
5953 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5954 (GLIBC_2.29): Likewise.
5955 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5956 (GLIBC_2.29): Likewise.
5957 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5958 (GLIBC_2.29): Likewise.
5959 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
5960 Likewise.
5961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5962 (GLIBC_2.29): Likewise.
5963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5964 (GLIBC_2.29): Likewise.
5965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5966 (GLIBC_2.29): Likewise.
5967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5968 (GLIBC_2.29): Likewise.
5969 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
5970 Likewise.
5971 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
5972 Likewise.
5973 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
5974 Likewise.
5975 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
5976 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
5977 Likewise.
5978 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
5979 Likewise.
5980 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
5981 Likewise.
5982 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
5983 Likewise.
5984
c37cd439
JM
59852018-12-06 Joseph Myers <joseph@codesourcery.com>
5986
5987 * manual/texinfo.tex: Update to version 2018-09-21.20 with
5988 trailing whitespace removed.
5989 * scripts/config.guess: Update to version 2018-11-28.
5990 * scripts/config.sub: Update to version 2018-11-28.
5991 * scripts/install-sh: Update to version 2018-03-11.20.
5992 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
5993 * scripts/move-if-change: Update to version 2018-03-07 03:47.
5994
899478c2
FW
59952018-12-07 Florian Weimer <fweimer@redhat.com>
5996
5997 [BZ #23927]
5998 CVE-2018-19591
5999 * inet/tst-if_index-long.c: New file.
6000 * inet/Makefile (tests): Add tst-if_index-long.
6001
f255336a
FW
60022018-12-07 Florian Weimer <fweimer@redhat.com>
6003
6004 * support/check.h (support_record_failure_is_failed): Declare.
6005 * support/descriptors.h: New file.
6006 * support/support_descriptors.c: Likewise.
6007 * support/tst-support_descriptors.c: Likewise.
6008 * support/support_record_failure.c
6009 (support_record_failure_is_failed): New function.
6010 * support/Makefile (libsupport-routines): Add support_descriptors.
6011 (tests): Add tst-support_descriptors.
6012
35caceb1
ZW
60132018-12-05 Zack Weinberg <zackw@panix.com>
6014 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6015
6016 * stdio-common/vfprintf-internal.c
6017 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
6018 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
6019 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
6020 and __no_long_double.
6021 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
6022 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
6023 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
6024 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
6025 and __nldbl_*syslog* functions.
6026 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
6027 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
6028 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
6029 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
6030 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
6031 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
6032 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
6033 (__nldbl_vwprintf, __nldbl_wprintf):
6034 Directly call the appropriate __v*printf_internal routine, passing
6035 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
6036 variable names.
6037 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
6038 (__nldbl___printf_chk, __nldbl___snprintf_chk)
6039 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
6040 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
6041 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
6042 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
6043 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
6044 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
6045 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
6046 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
6047 Likewise, and also pass PRINTF_FORTIFY when appropriate.
6048 (__nldbl_syslog, __nldbl_vsyslog):
6049 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
6050 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
6051 appropriate.
6052 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
6053 appropriate.
6054
4e2f43f8
ZW
60552018-12-05 Zack Weinberg <zackw@panix.com>
6056 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6057
6058 [BZ #11319]
6059 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
6060 Moved here from debug/vsprintf_chk.c.
6061 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
6062 and completion logic for the strfile to match exactly what
6063 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
6064 _IO_str_init_static_internal instead of maxlen-1.
6065 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
6066 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
6067 __vsprintf_internal.
6068
6069 * debug/vsprintf_chk.c (__vsprintf_chk)
6070 * debug/sprintf_chk.c (__sprintf_chk):
6071 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
6072 'flags' argument is positive, and slen as maxlen. No need to lock
6073 the FILE and/or construct a temporary FILE. Minimize and normalize
6074 header inclusions and variable names. Do not libc_hidden_def anything.
6075
6076 * debug/asprintf_chk.c (__asprintf_chk)
6077 * debug/dprintf_chk.c (__dprintf_chk)
6078 * debug/fprintf_chk.c (__fprintf_chk)
6079 * debug/fwprintf_chk.c (__fwprintf_chk)
6080 * debug/printf_chk.c (__printf_chk)
6081 * debug/snprintf_chk.c (__snprintf_chk)
6082 * debug/swprintf_chk.c (__swprintf_chk)
6083 * debug/vasprintf_chk.c (__vasprintf_chk)
6084 * debug/vdprintf_chk.c (__vdprintf_chk)
6085 * debug/vfprintf_chk.c (__vfprintf_chk)
6086 * debug/vfwprintf_chk.c (__vfwprintf_chk)
6087 * debug/vprintf_chk.c (__vprintf_chk)
6088 * debug/vsnprintf_chk.c (__vsnprintf_chk)
6089 * debug/vswprintf_chk.c (__vswprintf_chk)
6090 * debug/vwprintf_chk.c (__vwprintf_chk)
6091 * debug/wprintf_chk.c (__wprintf_chk):
6092 Directly call the corresponding vxxprintf_internal function, passing
6093 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
6094 the FILE and/or construct a temporary FILE. Minimize and normalize
6095 header inclusions and variable names. Do not libc_hidden_def anything.
6096
6097 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
6098 __obstack_vprintf_internal.
6099 (__obstack_vprintf_chk): Convert into a wrapper that calls
6100 __obstack_vprintf_internal (these two functions already had the
6101 same code) and move to new file...
6102 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
6103 file.
6104 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
6105 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
6106 * debug/Makefile (routines): Add vobprintf_chk.
6107
6108 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
6109 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
6110 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
6111 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
6112 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
6113 (__nldbl___obstack_vfprintf_chk):
6114 Directly call the corresponding vxxprintf_internal function,
6115 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
6116 duplicate comparison of slen with 0 or maxlen from the corresponding
6117 non-__nldbl function.
6118
6119 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
6120 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
6121 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
6122 Remove libc_hidden_proto.
6123
6124 * stdio-common/vfprintf-internal.c
6125 (__vfprintf_internal, __vfwprintf_internal):
6126 Do not check _IO_FLAGS2_FORTIFY.
6127 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
6128 * libio/libioP.h: Update prototype of __vsprintf_internal and add
6129 a comment explaining why it has the maxlen argument.
6130 (_IO_acquire_lock_clear_flags2_fct): Remove.
6131 (_IO_acquire_lock_clear_flags2): Remove.
6132 (_IO_release_lock): Remove conditional statement which will
6133 now never execute.
6134 (_IO_acquire_lock): Remove variable which is now unused.
6135 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
6136 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
6137
6138 * stdio-common/Makefile (tests): Add tst-bz11319 and
6139 tst-bz11319-fortify2.
6140 (CFLAGS-tst-bz11319-fortify2.c): New macro.
6141 * stdio-common/tst-bz11319-fortify2.c: New file.
6142 * stdio-common/tst-bz11319.c: Likewise.
6143
124fc732
ZW
61442018-12-05 Zack Weinberg <zackw@panix.com>
6145 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6146
6147 * misc/syslog.c: Include libioP.h, not iolibio.h.
6148 (__vsyslog_internal): New function with the former body of
6149 __vsyslog_chk; takes mode_flags argument same as
6150 __v*printf_internal. Call __vfprintf_internal directly.
6151
6152 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
6153 Remove libc_hidden_def.
6154 (__syslog, __syslog_chk): Use __vsyslog_internal.
6155 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
6156
6157 * include/sys/syslog.h: Add multiple inclusion guard.
6158 Add prototype for __vsyslog_internal.
6159 Remove declaration and libc_hidden_proto for __vsyslog_chk.
6160
6161 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
6162 Use __vsyslog_internal.
6163
698fb75b
ZW
61642018-12-05 Zack Weinberg <zackw@panix.com>
6165 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6166
6167 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
6168 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
6169 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
6170 New functions.
6171 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
6172 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
6173
6174 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
6175 Include wctype.h here if COMPILE_WPRINTF is defined.
6176 Define __vfprintf_internal or __vfwprintf_internal, depending
6177 on COMPILE_WPRINTF.
6178 Temporarily, on entry to this function, update mode_flags
6179 according to the environmental settings corresponding to
6180 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
6181 Throughout, check mode_flags instead of __ldbl_is_dbl and
6182 _IO_FLAGS2_FORTIFY on the destination FILE.
6183 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
6184 Include vfprintf-internal.c. Don't include wctype.h.
6185 * stdio-common/vfprintf.c: New file. Just define __vfprintf
6186 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
6187 and vfprintf.
6188 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
6189 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
6190 and vfwprintf.
6191 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
6192
6193 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
6194 and add mode_flags argument; use __vfprintf_internal.
6195 (__vdprintf): New function. Alias vdprintf to this.
6196 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
6197 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
6198 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
6199 (__obstack_printf): Use __obstack_printf_internal.
6200 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
6201 public aliases __vsnprintf and vsnprintf.
6202 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
6203 called internally.
6204 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
6205 public aliases _IO_vsprintf and vsprintf.
6206 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
6207 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
6208 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
6209 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
6210 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
6211
6212 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
6213 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
6214 * stdio-common/fprintf.c, stdio-common/fxprintf.c
6215 * stdio-common/printf.c: Use __vfprintf_internal.
6216
6217 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
6218 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
6219 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
6220
6221 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
6222 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
6223 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
6224 __vfwprintf_internal.
6225
6226 * libio/libio.h: Remove libc_hidden_proto and declaration for
6227 _IO_vfprintf.
6228 Remove declaration of _IO_vfwprintf.
6229 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
6230 _IO_vsprintf.
6231 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
6232 _IO_obstack_printf.
6233 * include/stdio.h: Add prototype for __vasprintf.
6234 (__vsnprintf): Remove declaration, because there are no more
6235 internal calls.
6236 * include/wchar.h (__vfwprintf, __vswprintf): Remove
6237 declaration, because there are no more internal calls.
6238
6239 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
6240 __vsnprintf_internal, instead of _IO_vsnprintf.
6241 * argp/argp-help.c (__argp_error, __argp_failure): Use
6242 __vasprintf_internal, instead of _IO_vasprintf.
6243 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
6244 redefine, because there are no more internal calls.
6245
d91798b3
ZW
62462018-12-05 Zack Weinberg <zackw@panix.com>
6247 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6248
6249 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
6250 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
6251 Include libio/strfile.h instead of libioP.h.
6252 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
6253 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
6254 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
6255 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
6256 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
6257 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
6258 necessary. Do not set __no_long_double. Normalize variable names.
6259 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
6260 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
6261 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
6262 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
6263 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
6264 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
6265 Call __vfscanf_internal / __vfwscanf_internal directly, passing
6266 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
6267 Do not set __no_long_double. Normalize variable names.
6268
b87eb3f8
ZW
62692018-12-05 Zack Weinberg <zackw@panix.com>
6270 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6271
6272 * stdio-common/isoc99_scanf.c
6273 * stdio-common/isoc99_fscanf.c
6274 * stdio-common/isoc99_sscanf.c
6275 * stdio-common/isoc99_vscanf.c
6276 * stdio-common/isoc99_vfscanf.c
6277 * stdio-common/isoc99_vsscanf.c
6278 * wcsmbs/isoc99_wscanf.c
6279 * wcsmbs/isoc99_fwscanf.c
6280 * wcsmbs/isoc99_swscanf.c
6281 * wcsmbs/isoc99_vwscanf.c
6282 * wcsmbs/isoc99_vfwscanf.c
6283 * wcsmbs/isoc99_vswscanf.c:
6284 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
6285 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
6286 No need to lock and unlock the FILE passed to that function.
6287
6288 * stdio-common/vfscanf-internal.c
6289 (__vfscanf_internal, __vfwscanf_internal):
6290 Don't look at _IO_FLAGS2_SCANF_STD.
6291 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
6292 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
6293 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
6294
349718d4
ZW
62952018-12-05 Zack Weinberg <zackw@panix.com>
6296 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6297
6298 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
6299 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
6300 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
6301 * libio/strfile.h: Add multiple inclusion guard.
6302 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
6303
6304 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
6305 consistency with the other version of this file.
6306 (ldbl_compat_symbol): New macro.
6307 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
6308 New macro.
6309
6310 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
6311 Define __vfscanf_internal or __vfwscanf_internal, depending on
6312 COMPILE_WSCANF; don't define any other public symbols.
6313 Remove errval and code to set errp.
6314 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
6315 as the mode_flags argument.
6316 (encode_error, conv_error, input_error): Don't set errval.
6317 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
6318 Include vfscanf-internal.c.
6319 * stdio-common/vfscanf.c: New file defining the public entry
6320 point vfscanf, which calls __vfscanf_internal.
6321 * stdio-common/vfwscanf.c: New file defining the public entry
6322 point vfwscanf, which calls __vfwscanf_internal.
6323
6324 * stdio-common/iovfscanf.c: New file.
6325 * stdio-common/iovfwscanf.c: Likewise.
6326
6327 * stdio-common/Makefile (routines): Add vfscanf-internal,
6328 vfwscanf-internal, iovfscanf, iovfwscanf.
6329 * stdio-common/Versions: Mention GLIBC_2.29, so that
6330 it can be used in SHLIB_COMPAT expressions.
6331 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
6332 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
6333 Call __vfscanf_internal, instead of _IO_vfscanf.
6334 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
6335 _IO_vfscanf.
6336 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
6337 _IO_vfwscanf.
6338
6339 * libio/iovsscanf.c: Clean up includes, when possible. Use
6340 _IO_strfile_read or _IO_strfile_readw, when needed. Call
6341 __vfscanf_internal or __vfwscanf_internal directly.
6342 * libio/iovswscanf.c: Likewise.
6343 * libio/swscanf.c: Likewise.
6344 * libio/vscanf.c: Likewise.
6345 * libio/vwscanf.c: Likewise.
6346 * libio/wscanf.c: Likewise.
6347 * stdio-common/isoc99_fscanf.c: Likewise.
6348 * stdio-common/isoc99_scanf.c: Likewise.
6349 * stdio-common/isoc99_sscanf.c: Likewise.
6350 * stdio-common/isoc99_vfscanf.c: Likewise.
6351 * stdio-common/isoc99_vscanf.c: Likewise.
6352 * stdio-common/isoc99_vsscanf.c: Likewise.
6353 * stdio-common/scanf.c: Likewise.
6354 * stdio-common/sscanf.c: Likewise.
6355 * wcsmbs/isoc99_fwscanf.c: Likewise.
6356 * wcsmbs/isoc99_swscanf.c: Likewise.
6357 * wcsmbs/isoc99_vfwscanf.c: Likewise.
6358 * wcsmbs/isoc99_vswscanf.c: Likewise.
6359 * wcsmbs/isoc99_vwscanf.c: Likewise.
6360 * wcsmbs/isoc99_wscanf.c: Likewise.
6361
6b5c8607 63622018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
72b8692d
AA
6363
6364 * include/time.h
6365 (__tz_compute): Replace time_t with __time64_t.
6366 (__tz_convert): Replace time_t* with __time64_t.
6367 (__offtime): Replace time_t* with __time64_t.
6368 * time/gmtime.c
6369 (__gmtime_r): Adjust call to __tz_convert.
6370 (gmtime): Likewise.
6371 * time/localtime.c
6372 (__localtime_r): Likewise.
6373 (localtime): Likewise.
6374 * time/offtime.c: Replace time_t with __time64_t.
6375 * time/tzset.c: Likewise.
6376
bd598da9
JM
63772018-12-04 Joseph Myers <joseph@codesourcery.com>
6378
6379 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
6380 dynamic linker unless [$(run-built-tests) = yes].
6381
b2e93de0
DD
63822018-12-03 DJ Delorie <dj@delorie.com>
6383
6384 * support/test-container.c (check_for_unshare_hints): New.
6385 (main): Call it if unshare fails. Add support for "su" scriptlet
6386 command.
6387
477a02f6
JM
63882018-12-03 Joseph Myers <joseph@codesourcery.com>
6389
6390 * scripts/gen-as-const.py (compute_c_consts): Take an argument
6391 'START' to indicate that start text should be output.
6392 (gen_test): Likewise.
6393 (main): Generate 'START' for first symbol or '--' line, or at end
6394 of input if not previously generated.
6395
6af956e5
RÁE
63962018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
6397
6398 [BZ #19767]
6399 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
6400 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
6401 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
6402 ALWAYS_USE_VSYSCALL.
6403
f5ec0ea9
AZ
64042018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6405
6406 [BZ #23913]
6407 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
6408 new_argv by one.
6409
8cebd4ff
CD
64102018-12-03 Carlos O'Donell <carlos@redhat.com>
6411
6412 [BZ #23923]
6413 * locale/programs/localedef.c: Declare boolean hard_links default true.
6414 (options): Add --no-hard-links option.
6415 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
6416 * locale/programs/localedef.h: Declare prototype for hard_links.
6417 * locale/programs/locfile.c (write_locale_data): Don't use hard
6418 links if hard_links is false.
6419
c22e4c2a
L
64202018-12-03 H.J. Lu <hongjiu.lu@intel.com>
6421
6422 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
6423 cpu_features_basic.
6424 (__cache_sysconf): Likewise.
6425 (init_cacheinfo): Likewise.
6426 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
6427 populate COMMON_CPUID_INDEX_80000007 and
6428 COMMON_CPUID_INDEX_80000008.
6429 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
6430 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
6431 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
6432 (init_cpu_features): Use _Static_assert on
6433 index_arch_Fast_Unaligned_Load.
6434 __get_cpuid_registers and __get_arch_feature. Updated for
6435 cpu_features_basic. Set stepping in cpu_features.
6436 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
6437 (FEATURE_INDEX_2): New.
6438 (FEATURE_INDEX_MAX): Changed to enum.
6439 (COMMON_CPUID_INDEX_D_ECX_1): New.
6440 (COMMON_CPUID_INDEX_80000007): Likewise.
6441 (COMMON_CPUID_INDEX_80000008): Likewise.
6442 (cpuid_registers): Likewise.
6443 (cpu_features_basic): Likewise.
6444 (CPU_FEATURE_USABLE): Likewise.
6445 (bit_arch_XXX_Usable): Likewise.
6446 (cpu_features): Use cpuid_registers and cpu_features_basic.
6447 (bit_arch_XXX): Reweritten.
6448 (bit_cpu_XXX): Likewise.
6449 (index_cpu_XXX): Likewise.
6450 (reg_XXX): Likewise.
6451 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
6452 <support/check.h>.
6453 (CHECK_CPU_FEATURE): New.
6454 (CHECK_CPU_FEATURE_USABLE): Likewise.
6455 (cpu_kinds): Likewise.
6456 (do_test): Print vendor, family, model and stepping. Check
6457 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
6458 (TEST_FUNCTION): Removed.
6459 Include <support/test-driver.c> instead of
6460 "../../test-skeleton.c".
6461 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
6462 Check POPCNT instead of POPCOUNT.
6463 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
6464
7b36d26b
ST
64652018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
6466
6467 * scripts/gen-as-const.py (main): Avoid emitting empty line when
6468 there is no element in `consts'.
6469
02cd5c1a
FW
64702018-12-01 Florian Weimer <fweimer@redhat.com>
6471
6472 * support/support_capture_subprocess.c
6473 (support_capture_subprocess): Check that pipe descriptors have
6474 expected values. Close original pipe descriptors in subprocess.
6475
fc493bc9
ST
64762018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
6477
6478 [BZ #23032]
6479 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
6480 attr with __pthread_default_barrierattr.
6481 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
6482 attr with __pthread_default_condattr.
6483 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
6484 attr with __pthread_default_mutexattr.
6485 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
6486 attr with __pthread_default_rwlockattr.
6487
6310e6be
KW
64882018-12-01 Kemi Wang <kemi.wang@intel.com>
6489
6490 * manual/tunables.texi (POSIX Thread Tunables): New node.
6491 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
6492 * nptl/nptl-init.c: Include pthread_mutex_conf.h
6493 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
6494 __pthread_tunables_init.
6495 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
6496 (max_adaptive_count): Define.
6497 * nptl/pthread_mutex_conf.c: New file.
6498 * nptl/pthread_mutex_conf.h: New file.
6499 * sysdeps/generic/adaptive_spin_count.h: New file.
6500 * sysdeps/nptl/dl-tunables.list: New file.
6501 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
6502 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
6503 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
6504 Likewise.
6505
8e67b39e
PP
65062018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
6507
6508 [BZ #20544]
6509 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
6510 * stdlib/on_exit.c (__on_exit): Likewise.
6511 * stdlib/Makefile (tests): Add tst-bz20544.
6512 * stdlib/tst-bz20544.c: New test.
6513
15b8d67e
RÁE
65142018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
6515
6516 [BZ #19767]
6517 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
6518 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
6519 New.
6520
5e63c240
FW
65212018-11-30 Florian Weimer <fweimer@redhat.com>
6522
6523 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
6524 Extend error logging.
6525 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
6526 symbol.
6527
71058602 65282018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14d0e87d 6529
5fb7fc96
AZ
6530 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
6531 __sigismember instead of sigismember.
6532 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
6533 cancel_handler): New definitions.
6534 (do_system): Use posix_spawn instead of fork and execl and remove
6535 reentracy code.
6536 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
6537 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
6538 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
6539 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
6540 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
6541 * sysdeps/unix/sysv/linux/system.c: Likewise.
6542
14d0e87d
AZ
6543 [BZ #22834]
6544 [BZ #17490]
6545 * NEWS: Add new semantic for atfork with popen and system.
6546 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
6547 fork and execl.
6548
e5d262ef
TMQMF
65492018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6550
6551 [BZ #23690]
6552 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
6553 modification order when accessing reloc_result->addr.
6554 * include/link.h (reloc_result): Add field init.
6555 * nptl/Makefile (tests): Add tst-audit-threads.
6556 (modules-names): Add tst-audit-threads-mod1 and
6557 tst-audit-threads-mod2.
6558 Add rules to build tst-audit-threads.
6559 * nptl/tst-audit-threads-mod1.c: New file.
6560 * nptl/tst-audit-threads-mod2.c: Likewise.
6561 * nptl/tst-audit-threads.c: Likewise.
6562 * nptl/tst-audit-threads.h: Likewise.
6563
7e1d4240
JM
65642018-11-30 Joseph Myers <joseph@codesourcery.com>
6565
6566 * scripts/gen-as-const.py: New file.
6567 * scripts/gen-as-const.awk: Remove.
6568 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
6569 gen-as-const.py.
6570 ($(objpfx)test-as-const-%.c): Likewise.
6571
ce7387cc
L
65722018-11-29 H.J. Lu <hongjiu.lu@intel.com>
6573
6574 * elf/dl-exception.c: Include <_itoa.h>.
6575
c6a5bdc1
ST
65762018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
6577
6578 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
6579 returned by __f_setlk.
6580
a5275ba5
L
65812018-11-29 H.J. Lu <hongjiu.lu@intel.com>
6582 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6583
6584 * elf/Makefile (tests-internal): Add tst-create_format1.
6585 * elf/dl-exception.c (_dl_exception_create_format): Support
6586 %x, %lx and %zx.
6587 * elf/tst-create_format1.c: New file.
6588
3a67e81d
CAC
65892018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
6590
6591 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
6592 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
6593 gnulib.)
6594 * argp/argp-help.c (__argp_failure): Likewise.
6595
4975f0c3
MH
65962018-11-29 Mao Han <han_mao@c-sky.com>
6597
6598 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
6599 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
6600 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
6601 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
6602 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
6603 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
6604 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
6605 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
6606 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
6607 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
6608 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
6609 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
6610 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
6611 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
6612 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
6613 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
6614 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
6615 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
6616 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
6617 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
6618 (R_CKCORE_TLS_TPOFF32): New defines.
6619
250102c8
FW
66202018-11-29 Florian Weimer <fweimer@redhat.com>
6621
6622 * posix/Makefile (before-compile): Remove testcases.h and
6623 ptestcases.h.
6624 (generated): Add testcases.h and ptestcases.h.
6625 (testcases.h, ptestcases.h): Move to $(objpfx).
6626 (runtests.o): Add dependency on testcases.h.
6627 (runptests.o): Add dependency on ptestcases.h.
6628 * posix/testcases.h, posix/ptestcases.h: Remove files.
6629 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
6630 not touch posix/testcases.h and posix/ptestcases.h.
6631
96cd0558
FW
66322018-11-28 Florian Weimer <fweimer@redhat.com>
6633
6634 support: Add signal support to support_capture_subprocess_check.
6635 * support/capture_subprocess.h (support_capture_subprocess_check):
6636 Adjust comment and rename parameter.
6637 * support/support_capture_subprocess_check.c
6638 (print_actual_status): New function.
6639 (support_capture_subprocess_check): Support negative
6640 status_or_signal. Call print_actual_status.
6641 * support/tst-support_capture_subprocess.c (do_test): Call
6642 support_capture_subprocess_check.
6643 * libio/tst-vtables-common.c (termination_status)
6644 (init_termination_status): Remove.
6645 (check_for_termination): Adjust support_capture_subprocess_check
6646 call.
6647 (do_test): Remove call to init_termination_status.
6648
530504e3
JM
66492018-11-28 Joseph Myers <joseph@codesourcery.com>
6650
6651 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
6652 source directory instead of a copy.
6653 (CommandList.create_copy_dir): Remove.
6654
9a0b6970
SL
66552018-11-28 Stefan Liebler <stli@linux.ibm.com>
6656
6657 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6658
47d8d9a2
FW
66592018-11-28 Florian Weimer <fweimer@redhat.com>
6660
6661 * support/support.h (support_quote_string): Do not use str
6662 parameter name.
6663
b473b7d8
JM
66642018-11-27 Joseph Myers <joseph@codesourcery.com>
6665
6666 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
6667 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
6668
c74a91de
FW
66692018-11-27 Florian Weimer <fweimer@redhat.com>
6670
6671 * support/support.h (support_quote_string): Declare.
6672 * support/support_quote_string.c: New file.
6673 * support/tst-support_quote_string.c: Likewise.
6674 * support/Makefile (libsupport-routines): Add
6675 support_quote_string.
6676 (tests): Add tst-support_quote_string.
6677
d527c860
FW
66782018-11-27 Florian Weimer <fweimer@redhat.com>
6679
6680 [BZ #23927]
6681 CVE-2018-19591
6682 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
6683 descriptor leak in case of ENODEV error.
6684
979cfed0
RÁE
66852018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
6686
6687 [BZ #19767]
6688 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
6689 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
6690 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
6691
ce035c6e
CD
66922018-11-26 Carlos O'Donell <carlos@redhat.com>
6693
6694 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
6695 Error for unknown lines.
6696
2bd0bfcc
JM
66972018-11-26 Joseph Myers <joseph@codesourcery.com>
6698
6699 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
6700 Touch additional files.
6701
affec03b
FW
67022018-11-26 Florian Weimer <fweimer@redhat.com>
6703
6704 [BZ #23907]
6705 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
6706 double-frees.
6707
8ae74ead
RÁE
67082018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
6709
6710 [BZ #19767]
6711 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
6712 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
6713 SHARED. Include sysdep.h.
6714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
6715 ALWAYS_USE_VSYSCALL.
6716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
6717 ALWAYS_USE_VSYSCALL.
6718
1e8bdc3a
RÁE
67192018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
6720
6721 [BZ #19767]
6722 * nptl/Makefile (tests-static): Add tst-cond11-static.
6723 (tests): Likewise.
6724 * nptl/tst-cond11-static.c: New File.
6725 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
6726 tst-affinity-static.
6727 (tests): Likewise.
6728 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
6729 instead of SHARED.
6730 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
6731 (USE_VSYSCALL): Likewise.
6732 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
6733 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
6734 instead of SHARED.
6735 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
6736 SHARED.
6737 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
6738 New.
6739
1283c478
JM
67402018-11-23 Joseph Myers <joseph@codesourcery.com>
6741
6742 [BZ #23915]
6743 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6744 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
6745 Undefine.
6746
c089fd80
L
67472018-11-23 H.J. Lu <hongjiu.lu@intel.com>
6748
6749 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
6750 (tst-cet-legacy-1a-ARGS): New.
6751 ($(objpfx)tst-cet-legacy-1a): New target.
6752 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
6753
cc6c89fa
JM
67542018-11-22 Joseph Myers <joseph@codesourcery.com>
6755
95edd05c
JM
6756 * conform/conformtest.py (CompileSubTest.__init__): Set
6757 self.run_early to False.
6758 (ExecuteSubTest.__init__): Likewise.
6759 (HeaderTests.run): Try running all non-optional, non-XFAILed
6760 compilation tests in a single execution of the compiler.
6761
cc6c89fa
JM
6762 * conform/conformtest.py (CompileSubTest): New class.
6763 (ExecuteSubTest): Likewise.
6764 (ElementTest.run): Rename to gen_subtests. Append tests to
6765 self.subtests instead of running them.
6766 (ConstantTest.run): Likewise.
6767 (SymbolTest.run): Likewise.
6768 (TypeTest.run): Likewise.
6769 (TagTest.run): Likewise.
6770 (FunctionTest.run): Likewise.
6771 (VariableTest.run): Likewise.
6772 (MacroFunctionTest.run): Likewise.
6773 (MacroStrTest.run): Likewise.
6774 (HeaderTests.handle_test_line): Generate subtests for tests.
6775 (HeaderTests.run): Run subtests for tests.
6776
a502c529
SN
67772018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6778
6779 * math/Versions (GLIBC_2.29): Add pow.
6780 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
6781 symbol.
6782 * math/w_pow.c: New file.
6783 * sysdeps/i386/fpu/w_pow.c: New file.
6784 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
6785 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
6786 and add necessary aliases.
6787 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
6788 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
6789 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6790 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6791 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6792 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6793 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6794 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6795 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6796 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6797 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6798 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6799 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6800 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6801 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6806 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6807 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6808 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6809 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6810 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6811 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6812 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6813 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
6814 __pow.
6815 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
6816 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
6817 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
6818
718d6542
SN
68192018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6820
6821 * math/Versions (GLIBC_2.29): Add log2.
6822 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
6823 symbol.
6824 * math/w_log2.c: New file.
6825 * sysdeps/i386/fpu/w_log2.c: New file.
6826 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
6827 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
6828 and add necessary aliases.
6829 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
6830 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
6831 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6832 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6833 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6834 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6835 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6836 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6837 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6838 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6839 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6840 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6841 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6842 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6843 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6848 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6849 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6850 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6851 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6852 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6853 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6854 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6855
f29b7c49
SN
68562018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6857
6858 * math/Versions (GLIBC_2.29): Add log.
6859 * math/w_log_compat.c (__log_compat): Change to versioned compat
6860 symbol.
6861 * math/w_log.c: New file.
6862 * sysdeps/i386/fpu/w_log.c: New file.
6863 * sysdeps/ia64/fpu/e_log.S: Update.
6864 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
6865 and add necessary aliases.
6866 * sysdeps/ieee754/dbl-64/w_log.c: New file.
6867 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
6868 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6869 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6870 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6871 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6872 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6873 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6874 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6875 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6876 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6877 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6878 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6879 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6880 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6885 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6886 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6887 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6888 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6889 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6890 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6891 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6892 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
6893 __log.
6894 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
6895 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
6896 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
6897 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
6898
c20a1056
SN
68992018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6900
6901 * math/Versions (GLIBC_2.29): Add exp and exp2.
6902 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
6903 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
6904 * math/w_exp_compat.c (__exp_compat): Likewise.
6905 * math/w_exp.c: New file.
6906 * math/w_exp2.c: New file.
6907 * sysdeps/i386/fpu/w_exp.c: New file.
6908 * sysdeps/i386/fpu/w_exp2.c: New file.
6909 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
6910 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
6911 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
6912 and add necessary aliases.
6913 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
6914 and add necessary aliases.
6915 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
6916 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
6917 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
6918 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
6919 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6920 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6921 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6922 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6923 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6924 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6925 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6926 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6927 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6928 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6929 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6930 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6931 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6936 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6937 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6938 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6939 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6940 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6941 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6942 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6943 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
6944 (__ieee754_exp): Rename to __exp.
6945 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
6946 (__ieee754_exp): Rename to __exp.
6947 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
6948 (__ieee754_exp): Rename to __exp.
6949 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
6950 __exp.
6951 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
6952
bcdaad21
DD
69532018-11-20 DJ Delorie <dj@redhat.com>
6954
6955 * malloc/malloc.c (tcache_entry): Add key field.
6956 (tcache_put): Set it.
6957 (tcache_get): Likewise.
6958 (_int_free): Check for double free in tcache.
6959 * malloc/tst-tcfree1.c: New.
6960 * malloc/tst-tcfree2.c: New.
6961 * malloc/Makefile: Run the new tests.
6962 * manual/probes.texi: Document memory_tcache_double_free probe.
6963
6964 * dlfcn/dlerror.c (check_free): Prevent double frees.
6965
5770c0ad
WD
69662018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
6967
6968 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
6969
9a62a939
JM
69702018-11-20 Joseph Myers <joseph@codesourcery.com>
6971
6972 * conform/conformtest.py (ElementTest.run): Use unique identifiers
6973 in tests. Use names for format arguments.
6974 (ConstantTest.run): Likewise.
6975 (SymbolTest.run): Likewise.
6976 (TypeTest.run): Likewise.
6977 (TagTest.run): Likewise.
6978 (FunctionTest.run): Likewise.
6979 (VariableTest.run): Likewise.
6980 (MacroFunctionTest.run): Likewise.
6981 (MacroStrTest.run): Likewise.
6982 (HeaderTests.__init__): Set self.num_tests.
6983 (HeaderTests.handle_test_line): Set test.num. Increment
6984 self.num_tests.
6985
b15b1a95
ST
69862018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
6987
6988 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
6989 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
6990 SEEK_SET.
6991
0c7f97ae
MH
69922018-11-19 Mao Han <han_mao@c-sky.com>
6993
6994 * scripts/config.guess: Update to version 2018-08-29.
6995 * scripts/config.sub: Update to version 2018-08-29.
6996
35e3fbc4
FW
69972018-11-19 Florian Weimer <fweimer@redhat.com>
6998
6999 support: Print timestamps in timeout handler.
7000 * support/support_test_main.c (print_timestamp): New function.
7001 (signal_handler): Use it to print the termination time and the
7002 time of the last write to standard output.
7003
c75772e3
ZW
70042018-11-16 Zack Weinberg <zackw@panix.com>
7005 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7006
7007 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
7008 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
7009 argument.
7010 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
7011 and add flags argument. Check flags instead of __ldbl_is_dbl when
7012 deciding whether to set is_long_double.
7013 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
7014 passing zero for flags argument.
7015 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
7016
7017 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7018 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
7019 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
7020 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
7021 variable names. Remove libc_hidden_def/libc_hidden_proto from
7022 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
7023 longer called from within the library.
7024 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
7025 for __nldbl___vstrfmon_l, declare it explicitly.
7026
7027 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
7028
346ef23f
ST
70292018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
7030
7031 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
7032 macros
7033 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
7034 F_SETLK64, F_SETLKW64, respectively.
7035 * sysdeps/mach/hurd/f_setlk.c: New file.
7036 * sysdeps/mach/hurd/f_setlk.h: New file.
7037 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
7038 f_setlk.
7039 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
7040 (__libc_fcntl): Move non-flock operations to...
7041 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
7042 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
7043
de20b81a
PE
70442018-11-15 Paul Eggert <eggert@cs.ucla.edu>
7045
5d8af156
PE
7046 mktime: DEBUG_MKTIME cleanup
7047 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
7048 And it’s no longer needed now that glibc and Gnulib both have
7049 their own testing mechanisms for mktime.
7050 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
7051
86aece3b
PE
7052 mktime: fix non-EOVERFLOW errno handling
7053 [BZ#23789]
7054 mktime was not properly reporting failures when the underlying
7055 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
7056 them like EOVERFLOW failures, and set errno to EOVERFLOW.
7057 The problem could happen on non-glibc platforms, with Gnulib.
7058 * time/mktime.c (guess_time_tm): Remove, replacing with ...
7059 (tm_diff): ... this simpler function, which does not change errno.
7060 All callers changed to deal with errno themselves.
7061 (ranged_convert, __mktime_internal): Return failure immediately if
7062 the underlying function reports any failure other than EOVERFLOW.
7063 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
7064 gap code fails.
7065
f6b3331b
PE
7066 mktime: fix bug with Y2038 DST transition
7067 [BZ#23789]
7068 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
7069 mishandle a DST transition that jumps over the Y2038 boundary.
7070 No such DST transitions are known so this is only a theoretical
7071 bug, but we might as well do things right.
7072
efbdddc3
PE
7073 mktime: make more room for overflow
7074 [BZ#23789]
7075 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
7076 This is so that we can add tm_diff results to a previous guess,
7077 which will be useful in a later patch.
7078
6c90d759
PE
7079 mktime: simplify offset guess
7080 [BZ#23789]
7081 * time/mktime.c (__mktime_internal): Omit excess precision.
7082
32c12f3f
PE
7083 mktime: new test for mktime failure
7084 [BZ#23789]
7085 Based on a test suggested by Albert Aribaud in:
7086 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
7087 * time/Makefile (tests): Add bug-mktime4.
7088 * time/bug-mktime4.c: New file.
7089
de20b81a
PE
7090 mktime: fix EOVERFLOW bug
7091 [BZ#23789]
7092 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
7093 Include libc-config.h, not config.h, for __set_errno.
7094 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
7095
8c6c3fb0
ST
70962018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
7097
7098 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
7099 __attribute_copy__ to copy attributes from name. Drop static qualifier
7100 to avoid warnings about leaf attribute not having effect on static
7101 functions.
7102
6923f6db
FW
71032018-11-13 Florian Weimer <fweimer@redhat.com>
7104
7105 * malloc/malloc.c (fastbin_push_entry): New function.
7106 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
7107 (REMOVE_FB): Remove macro.
7108 (_int_malloc): Use fastbin_pop_entry and reindent.
7109 (_int_free): Use fastbin_push_entry.
7110 (malloc_consolidate): Use atomic_exchange_acquire.
7111
53f5c659
JM
71122018-11-13 Joseph Myers <joseph@codesourcery.com>
7113
0c096dcf
JM
7114 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
7115 alias attribute, not with strong_alias.
7116
9c4b457e
JM
7117 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
7118 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
7119 with additional parameter thread.
7120 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
7121 in terms of __hidden_ver2.
7122 (hidden_tls_def): New macro.
7123 (libc_hidden_tls_def): Likewise.
7124 (rtld_hidden_tls_def): Likewise.
7125 (libm_hidden_tls_def): Likewise.
7126 (libmvec_hidden_tls_def): Likewise.
7127 (libresolv_hidden_tls_def): Likewise.
7128 (librt_hidden_tls_def): Likewise.
7129 (libdl_hidden_tls_def): Likewise.
7130 (libnss_files_hidden_tls_def): Likewise.
7131 (libnsl_hidden_tls_def): Likewise.
7132 (libnss_nisplus_hidden_tls_def): Likewise.
7133 (libutil_hidden_tls_def): Likewise.
7134 (libutil_hidden_tls_def): Likweise.
7135 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
7136 libc_hidden_tls_def.
7137 (__sim_disabled_exceptions_thread): Likewise.
7138 (__sim_round_mode_thread): Likewise.
7139
53f5c659
JM
7140 * sysdeps/sparc/sparc-ifunc.h [SHARED]
7141 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
7142 copy attributes from name.
7143
092dfde6
JM
71442018-11-12 Joseph Myers <joseph@codesourcery.com>
7145
f578f97b
JM
7146 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
7147 Use __attribute_copy__ to copy attributes from name.
7148
9a7c643a
JM
7149 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
7150 with __hidden_ver1 call.
7151 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
7152 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
7153 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
7154 (__cosf): Do not declare here.
7155 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
7156 (__sincosf): Do not declare here.
7157 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
7158 (__sinf): Do not declare here.
7159
092dfde6
JM
7160 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
7161 (__BIG_ENDIAN): Likewise.
7162 (__BYTE_ORDER): Likewise.
7163 (strong_alias): Likewise.
7164 (_strong_alias): Likewise.
7165
1ecba1fa
FW
71662018-11-12 Florian Weimer <fweimer@redhat.com>
7167
7168 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
7169 function. Move after the definition of in_smallbin_range. Do not
7170 use __builtin_expect for paths that lead to a noreturn function.
7171 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
7172 because it is unclear whether this is in fact an unlikely
7173 condition.
7174 (_int_malloc, _int_free): Adjust.
7175 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
7176 variables.
7177 * malloc/arena.c (heap_trim): Likewise.
7178
434c34bd
ST
71792018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7180
7181 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
7182 it, free it if needed.
7183 (reauthenticate): Test and use ccwdir.
7184 (child_init_port): In non-resetids case, test and use ccwdir.
7185 (child_chdir): New nested function to set ccwdir.
7fa495cd
ST
7186 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
7187 * hurd/hurd/port.h (_hurd_port_move): New function.
7188 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
7189 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
88b26b7e
ST
7190 * hurd/Versions (_hurd_port_move): Export function.
7191 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
7192 symbol.
58bb655a
ST
7193 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
7194 of dtablesize for allocating dtable_cloexec.
434c34bd 7195
1626a1cf
MS
71962018-11-09 Martin Sebor <msebor@redhat.com>
7197
7198 * include/libc-symbols.h (__attribute_copy__): Define macro unless
7199 it's already defined.
7200 (_strong_alias): Use __attribute_copy__.
7201 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
7202 * misc/sys/cdefs.h (__attribute_copy__): New macro.
7203 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
7204 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
7205 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
7206 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
7207 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
7208 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
7209 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
7210 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
7211 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
7212 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
7213 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
7214 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
7215 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
7216 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
7217 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
7218 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
7219 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
7220
968ed530
GG
72212018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7222
7223 * misc/tst-efgcvt.c: Include support/check.h and
7224 support/test-driver.c. Do not include test-skeleton.c.
7225 (error_count): Remove.
7226 (output_error): Replace increments to error_count with calls to
7227 support_record_failure.
7228 (output_r_error): Likewise.
7229 (special): Likewise.
7230 (do_test): Unconditionally return zero.
7231 (TEST_FUNCTION): Remove.
7232
c3ec0972
JM
72332018-11-09 Joseph Myers <joseph@codesourcery.com>
7234
91faaa93
JM
7235 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
7236 not $(@D)/scratch.
7237 ($(linknamespace-header-tests)): Likewise.
7238
c3ec0972
JM
7239 * conform/conformtest.py: New file.
7240 * conform/conformtest.pl: Remove.
7241 * conform/GlibcConform.pm: Likewise.
7242 * conform/glibcconform.py (KEYWORDS_C90): New constant.
7243 (KEYWORDS_C99): Likewise.
7244 (KEYWORDS): Likewise.
7245 * conform/Makefile ($(conformtest-header-tests)): Use
7246 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
7247 option. Use --header instead of --headers.
7248 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
7249 function entries.
7250 * conform/data/spawn.h-data: Likewise.
7251 * conform/data/fcntl.h-data (openat): Add space after function
7252 name.
7253 * conform/data/wchar.h-data (wcscasecmp): Likewise.
7254 (wcscasecmp_l): Likewise.
7255 * conform/data/termios.h-data (c_cc): Add space after element
7256 name.
7257
43257c33
GG
72582018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7259
7260 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
7261 instead of manually comparing and reporting mismatching strings.
7262 * misc/tst-ldbl-error.c (do_one_test): Likewise.
7263 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
7264
e5de3b5b
JM
72652018-11-08 Joseph Myers <joseph@codesourcery.com>
7266
7267 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
7268 __ASSUME_SOCKETCALL.
7269 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7270 (__ASSUME_SOCKETCALL): Remove.
7271 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7272 (__ASSUME_SOCKETCALL): Likewise.
7273 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7274 (__ASSUME_SOCKETCALL): Likewise.
7275 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7276 (__ASSUME_SOCKETCALL): Likewise.
7277 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7278 (__ASSUME_SOCKETCALL): Likewise.
7279 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7280 (__ASSUME_SOCKETCALL): Likewise.
7281 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7282 (__ASSUME_SOCKETCALL): Likewise.
7283
d524fa6c
L
72842018-11-08 H.J. Lu <hongjiu.lu@intel.com>
7285
7286 [BZ #23509]
7287 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
7288 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
7289 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
7290 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
7291 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
7292 lc_unknown.
7293
ac806026
AH
72942018-11-08 Alexandra Hájková <ahajkova@redhat.com>
7295
7296 [BZ #17630]
7297 * resolv/tst-resolv-network.c: Add test for getnetbyname.
7298
596cc360
JM
72992018-11-07 Joseph Myers <joseph@codesourcery.com>
7300
7301 [BZ #23867]
7302 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7303 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
7304 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7305 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
7306
00c86a37
AZ
73072018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7308
7309 * support/support_test_compare_string.c
7310 (support_test_compare_string): Fix printf format.
7311
1df872fd
FW
73122018-11-07 Florian Weimer <fweimer@redhat.com>
7313
7314 Implement TEST_COMPARE_STRING.
7315 * support/check.h (TEST_COMPARE_STRING): Define.
7316 (support_test_compare_string): Declare.
7317 * support/Makefile (libsupport-routines): Add
7318 support_test_compare_string.
7319 (tests): Add tst-test_compare_string.
7320 * support/support_test_compare_string.c: New file.
7321 * support/tst-test_compare_string.c: Likewise.
7322
295132ff
AS
73232018-11-07 Andreas Schwab <schwab@suse.de>
7324
7325 [BZ #23864]
7326 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
7327 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
7328 Undef.
7329
e143ceba
JM
73302018-11-06 Joseph Myers <joseph@codesourcery.com>
7331
7332 [BZ #23862]
7333 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7334 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
7335 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
7336 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
7337 Likewise.
7338
4a938cb2
FW
73392018-11-06 Florian Weimer <fweimer@redhat.com>
7340
7341 [BZ #17405]
7342 * posix/Makefile (routines): Add spawn_faction_addchdir.
7343 (tests): Add tst-spawn-chdir.
7344 * posix/Versions (GLIBC_2.29): Add
7345 posix_spawn_file_actions_addchdir_np.
7346 * posix/spawn_faction_addchdir.c: New file.
7347 * posix/spawn_faction_destroy.c
7348 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
7349 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
7350 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
7351 chdir_action.
7352 * posix/tst-spawn-chdir.c: New file.
7353 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
7354 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
7355 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
7356 posix_spawn_file_actions_addchdir_np.
7357 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
7358 Likewise.
7359 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
7360 Likewise.
7361 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
7362 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
7363 Likewise.
7364 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
7365 Likewise.
7366 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
7367 Likewise.
7368 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
7369 Likewise.
7370 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
7371 Likewise.
7372 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
7373 Likewise.
7374 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7375 (GLIBC_2.29): Likewise.
7376 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7377 (GLIBC_2.29): Likewise.
7378 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7379 (GLIBC_2.29): Likewise.
7380 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7381 (GLIBC_2.29): Likewise.
7382 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
7383 Likewise.
7384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7385 (GLIBC_2.29): Likewise.
7386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7387 (GLIBC_2.29): Likewise.
7388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7389 (GLIBC_2.29): Likewise.
7390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7391 (GLIBC_2.29): Likewise.
7392 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
7393 Likewise.
7394 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
7395 Likewise.
7396 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
7397 Likewise.
7398 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
7399 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
7400 Likewise.
7401 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
7402 Likewise.
7403 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
7404 Likewise.
7405 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
7406 Likewise.
7407
7597b0c7
GG
74082018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7409
7410 * misc/Makefile (tests): Add tst-ldbl-error.
7411 * misc/tst-ldbl-error.c: New file.
7412
9771e6cb
GG
74132018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7414
7415 * misc/Makefile (tests): Add tst-ldbl-warn.
7416 * misc/tst-ldbl-warn.c: New file.
7417
2c03961f
GG
74182018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7419
7420 * argp/Makefile (tests): Add tst-ldbl-argp.
7421 * argp/tst-ldbl-argp.c: New file.
7422
6d6ee046
AS
74232018-11-05 Arjun Shankar <arjun@redhat.com>
7424
7425 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
7426 __gconv_path_elem and call __gconv_get_path unconditionally.
7427
bd3b0fba
AS
74282018-11-05 Andreas Schwab <schwab@suse.de>
7429
7430 [BZ #22927]
7431 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
7432 creating the first helper thread failed.
7433
2e96e980
ST
74342018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
7435
7436 * sysdeps/mach/hurd/msync.c: New file.
7437
6e36266c
FW
74382018-11-02 Florian Weimer <fweimer@redhat.com>
7439
7440 * support/shell-container.c (copy_func): Call
7441 support_copy_file_range instead of copy_file_range to support
7442 cross-device copies.
7443
599f7bee
FW
74442018-11-02 Florian Weimer <fweimer@redhat.com>
7445
7446 * support/test-container.c: Include <libc-pointer-arith.h> for
7447 ALIGN_UP.
7448
ff48ea67
ZL
74492018-11-01 Zong Li <zong@andestech.com>
7450
af1d5782
ZL
7451 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
7452 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
7453 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
7454 (__FP_FRAC_SET_8): Add implementation for RV32 use.
7455
ff48ea67
ZL
7456 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
7457 variable to avoid overlap arguments.
7458
daea71c2
JM
74592018-11-01 Joseph Myers <joseph@codesourcery.com>
7460
eac4405a
JM
7461 * posix/bug-regex22.c (main): Use puts with distinct error
7462 messages for unexpected success of re_compile_pattern, not printf
7463 with NULL argument to %s.
7464
6f30e59f
JM
7465 * stdio-common/bug22.c: Include <libc-diag.h>.
7466 (do_test): Disable -Wformat-overflow= warnings around fprintf
7467 calls outputting more than INT_MAX characters.
7468 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
7469 around printf call with NULL %s argument.
7470
daea71c2
JM
7471 [BZ #23848]
7472 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
7473 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
7474 Undefine.
7475 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7476 (__ASSUME_RECVMSG_SYSCALL): Likewise.
7477 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7478 (__ASSUME_SENDTO_SYSCALL): Likewise.
7479 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7480 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
7481 [!__arch64__].
7482 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7483 (__ASSUME_CONNECT_SYSCALL): Likewise.
7484 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7485 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7486 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
7487 Define.
7488 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
7489 Likewise.
7490 [__LINUX_KERNEL_VERSION >= 0x040400]
7491 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7492 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
7493 Remove.
7494 (listen): Likewise.
7495 (setsockopt): Likewise.
7496
8e3c00db
FN
74972018-11-01 Fredrik Noring <noring@nocrew.org>
7498
7499 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
7500 with the ISA override.
7501
9c3dbdbe
RAE
75022018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
7503
7504 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
7505 #endif.
7506
e3a88b3e
ST
75072018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
7508
a67377e7 7509 * manual/errno.texi (EIEIO): Document how translators should
e3a88b3e 7510 translate the error message.
a67377e7
ST
7511 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
7512 printing trailing whitespaces refused by git.
7513 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
7514 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fc783076 7515 * hurd/Makefile (user-interfaces): Add pci.
e3a88b3e 7516
3ca235ed
JM
75172018-10-30 Joseph Myers <joseph@codesourcery.com>
7518
7519 * conform/linknamespace.py: New file.
7520 * conform/linknamespace.pl: Remove file.
7521 * conform/Makefile ($(linknamespace-header-tests)): Use
7522 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
7523 option.
7524
60708030
FW
75252018-10-30 Florian Weimer <fweimer@redhat.com>
7526
7527 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
7528 memory leaks.
7529
a91e9301
FW
75302018-10-30 Florian Weimer <fweimer@redhat.com>
7531
7532 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
7533
07da99aa
FW
75342018-10-30 Florian Weimer <fweimer@redhat.com>
7535
7536 * stdlib/tst-strtod-overflow.c (do_test): Switch to
7537 support_blob_repeat.
7538
f5e7e959
FW
75392018-10-30 Florian Weimer <fweimer@redhat.com>
7540
7541 Avoid spurious test failures in stdlib/test-bz22786.
7542 * support/Makefile (libsupport-routines): Add blob_repeat.
7543 (tests): Add tst-support_blob_repeat.
7544 * support/blob_repeat.h: New file.
7545 * support/blob_repeat.c: Likewise.
7546 * support/tst-support_blob_repeat.c: Likewise.
7547 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
7548 support_blob_repeat_allocate.
7549
2dd12baa
AS
75502018-10-30 Andreas Schwab <schwab@suse.de>
7551
7552 [BZ #23125]
7553 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
7554 Don't use tail call.
7555 * elf/tst-unwind-main.c: New file.
7556 * elf/Makefile (tests): Add tst-unwind-main.
7557 (CFLAGS-tst-unwind-main.c): Define.
7558
6b5c8607 75592018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
fec8bb7c
SAA
7560
7561 [BZ #23791]
7562 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
7563 n_cs_precedes to 0.
7564 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
7565
c6982f7e
JM
75662018-10-29 Joseph Myers <joseph@codesourcery.com>
7567
954cf3c2
JM
7568 * conform/glibcconform.py: Do not import shutil.
7569 (list_exported_functions): Use tempfile.TemporaryDirectory instead
7570 of mkdtemp.
7571
c6982f7e
JM
7572 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
7573 critic_missing for versions before 3.4.
7574 * configure: Regenerated.
7575 * manual/install.texi (Tools for Compilation): Document
7576 requirement for Python to build glibc.
7577 * INSTALL: Regenerated.
7578 * Rules [PYTHON]: Make code unconditional.
7579 * benchtests/Makefile [PYTHON]: Likewise.
7580 * conform/Makefile [PYTHON]: Likewise.
7581 * manual/Makefile [PYTHON]: Likewise.
7582 * math/Makefile [PYTHON]: Likewise.
7583
46a7f24c
ST
75842018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7585
7586 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
2d0d1d38 7587 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
b6e7c449 7588 answer to interrupt_operation, return EIEIO instead of EINTR.
5c81be53
ST
7589 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
7590 _hurd_intr_rpc_msg_about_to global point to start of controlled
7591 assembly snippet. Make it check canceled flag.
7592 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
7593 the _hurd_intr_rpc_msg_about_to point.
7594 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
7595 issue, remove cancel flag check.
46a7f24c 7596
e5b8756d
JM
75972018-10-26 Joseph Myers <joseph@codesourcery.com>
7598
7599 * scripts/build-many-glibcs.py: Remove compatibility for missing
7600 os.cpu_count and re.fullmatch.
7601
ba5b14c7
SN
76022018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
7603
7604 [BZ #23822]
7605 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
7606 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
7607 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
7608
fe61f17c
JM
76092018-10-25 Joseph Myers <joseph@codesourcery.com>
7610
7611 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
7612 macro.
7613
7c5e34d7
FW
76142018-10-25 Florian Weimer <fweimer@redhat.com>
7615
7616 [BZ #23562]
7617 [BZ #23821]
7618 XFAIL siginfo_t si_band conform test on sparc64.
7619 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
7620 (__SI_BAND_TYPE): Only override long int default type on sparc64.
7621 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
7622 (conformtest-xfail-conds): Add sparc64-linux.
7623 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
7624 sparc64.
7625 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
7626
5b784e88
JM
76272018-10-25 Joseph Myers <joseph@codesourcery.com>
7628
7629 * elf/elf.h (NT_MIPS_DSP): New macro.
7630 (NT_MIPS_FP_MODE): Likewise.
7631
41432ebe
ZL
76322018-10-25 Zong Li <zong@andestech.com>
7633
7634 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
7635 name by adding the file extension (.so).
7636
d026efea
ST
76372018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
7638
7639 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
7640 (test-xfail-ISO11/threads.h/linknamespace,
7641 test-xfail-ISO11/threads.h/conform): Add.
7642
b71ac2b9
JM
76432018-10-24 Joseph Myers <joseph@codesourcery.com>
7644
7645 * math/gen-libm-test.py: Import os.
7646 (ALL_FLOATS_MANUAL): New constant.
7647 (ALL_FLOATS_SUFFIX): Likewise.
7648 (Ulps.all_functions): New function.
7649 (real_all_ulps): Likewise.
7650 (generate_err_table_sub): Likewise.
7651 (generate_err_table): Likewise.
7652 (main): Handle -s and -m options.
7653 * manual/libm-err-tab.pl: Remove.
7654 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
7655 instead of libm-err-tab.pl.
7656 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
7657 != no].
7658 * manual/install.texi (Tools for Compilation): Document
7659 requirement for Python to build manual.
7660 * INSTALL: Regenerated.
7661
6b5c8607 76622018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
d51f99ce
AA
7663
7664 * bits/time64.h: New file.
7665 * include/time.h: Replace internal_time_t with __time64_t.
7666 * posix/bits/types (__time64_t): Add.
7667 * stdlib/Makefile: Add bits/time64.h to includes.
7668 * time/tzfile.c: Replace internal_time_t with __time64_t.
7669
97d91fcc 76702018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2a973ab7
AZ
7671
7672 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
7673 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
7674 __posix_spawn_file_actions_init, __posix_spawnattr_init,
7675 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
7676 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
7677 prototype.
7678 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
7679 * posix/spawn_faction_addclose.c
7680 (__posix_spawn_file_actions_addclose): Add hidden definition.
7681 * posix/spawn_faction_adddup2.c
7682 (__posix_spawn_file_actions_adddup2): Likewise.
7683 * posix/spawn_faction_destroy.c
7684 (__posix_spawn_file_actions_destroy): Likewise.
7685 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
7686 Likewise.
7687 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
7688 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
7689 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
7690 Likewise.
7691 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
7692 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
7693 Likewise.
7694
2954daf0
AS
76952018-10-24 Andreas Schwab <schwab@suse.de>
7696
7697 [BZ #18093]
7698 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
7699 format cache.
7700 * elf/cache.c (print_cache): Likewise.
7701
6b5c8607 77022018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
a27a4f47
AA
7703
7704 * bits/timesize.h: New file.
7705 * stdlib/Makefile (headers): Add bits/timesize.h.
7706 * sysdeps/unix/sysv/linux/bits/msq-pad.h
7707 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
7708 * sysdeps/unix/sysv/linux/bits/sem-pad.h
7709 (__SEM_PAD_AFTER_TIME): Likewise.
7710 * sysdeps/unix/sysv/linux/bits/shm-pad.h
7711 (__SHM_PAD_AFTER_TIME): Likewise.
7712 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
7713 (__MSQ_PAD_BEFORE_TIME): Likewise.
7714 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
7715 (__SEM_PAD_BEFORE_TIME): Likewise.
7716 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
7717 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
7718 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
b39d961c
TS
7719 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
7720 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
7721 (__MSQ_PAD_BEFORE_TIME): Likewise.
a27a4f47
AA
7722 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
7723 (__SEM_PAD_BEFORE_TIME): Likewise.
7724 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
7725 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
7726 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
7727 (__MSQ_PAD_BEFORE_TIME): Likewise.
7728 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
7729 (__SEM_PAD_BEFORE_TIME): Likewise.
7730 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
7731 (__SHM_PAD_BEFORE_TIME): Likewise.
7732 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
7733 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
7734 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
7735
7cc65773
L
77362018-10-24 H.J. Lu <hongjiu.lu@intel.com>
7737
7738 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
7739 USE_RDTSCP is defined.
7740 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
7741 USE_RDTSCP is defined.
7742
c3d8dc45
AZ
77432018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7744
18ad0de6
AZ
7745 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
7746 defined.
7747
c3d8dc45
AZ
7748 [BZ #23709]
7749 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
7750 independently of other flags.
7751
f1034472
FW
77522018-10-23 Florian Weimer <fweimer@redhat.com>
7753
7754 * time/tst-mktime2.c (N_STRINGS): Remove.
7755 (set_timezone): New function.
7756 (spring_forward_gap): Call it. Use FAIL_EXIT1.
7757 (mktime_test1): Report localtime failure and check errno value.
7758 Use TEST_COMPARE.
7759 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
7760 (do_test): Remove alarm call. Use set_timezone and array_length.
7761
367d7cc2
AS
77622018-10-23 Andreas Schwab <schwab@suse.de>
7763
7764 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
7765 (__start_context): Use END instead of PSEUDO_END.
7766
be8ff03f
JM
77672018-10-22 Joseph Myers <joseph@codesourcery.com>
7768
029ad711
JM
7769 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7770 version to 4.19.
7771
8190520f
JM
7772 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7773 version to 4.19.
7774
be8ff03f
JM
7775 [BZ #23793]
7776 * wcsmbs/c32rtomb.c: New file.
7777 * wcsmbs/mbrtoc32.c: Likewise.
7778 * wcsmbs/tst-c32-state.c: Likewise.
7779 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
7780 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
7781 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
7782 (tests): Add tst-c32-state.
7783 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
7784 $(gen-locales).
7785
2dd8e58c
L
77862018-10-21 H.J. Lu <hongjiu.lu@intel.com>
7787
7788 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
7789 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
7790
d0a74159
JM
77912018-10-19 Joseph Myers <joseph@codesourcery.com>
7792
7793 [BZ #23794]
7794 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
7795 pair and return 0 in that case, and use saved character to
7796 interpret following character.
7797 * wcsmbs/tst-c16-surrogate.c: New file.
7798 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
7799 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
7800 Depend on $(gen-locales)
7801
f997b4be
IYM
78022018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
7803
7804 [BZ #23562]
7805 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
7806 (struct siginfo_t): Use correct type for si_band.
7807
53b2bb87
FW
78082018-10-19 Florian Weimer <fweimer@redhat.com>
7809
7810 [BZ #23689]
7811 * resource/bits/types/struct_rusage.h (struct rusage): Update
7812 comment on struct. Remove extraneous field comment.
7813
0a271c8f
DM
78142018-10-18 David S. Miller <davem@davemloft.net>
7815
94a3a27f
DM
7816 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
7817 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
7818 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
7819 sysdep_routines in subdir elf.
7820 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
7821 version for __vdso_clock_gettime.
7822 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
7823 Define.
7824 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
7825 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
7826
0a271c8f
DM
7827 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
7828
72771e53
L
78292018-10-17 H.J. Lu <hongjiu.lu@intel.com>
7830
7831 * sysdeps/i386/init-arch.h: Removed.
7832 * sysdeps/i386/i586/init-arch.h: Likewise.
7833 * sysdeps/i386/i686/init-arch.h: Likewise.
7834 * sysdeps/i386/i686/hp-timing.h: Likewise.
7835 * sysdeps/x86_64/hp-timing.h: Likewise.
7836 * sysdeps/i386/isa.h: New file.
7837 * sysdeps/i386/i586/isa.h: Likewise.
7838 * sysdeps/i386/i686/isa.h: Likewise.
7839 * sysdeps/x86_64/isa.h: Likewise.
7840 * sysdeps/x86/hp-timing.h: New file.
7841 * sysdeps/x86/init-arch.h: Include <isa.h>.
7842
c2b7ccad
JM
78432018-10-17 Joseph Myers <joseph@codesourcery.com>
7844
7845 * math/libm-test-pow.inc (pow_test_data): Do not allow
7846 divide-by-zero exception for pow(+/- 0, -Inf).
7847
26756e57
ZW
78482018-10-17 Zack Weinberg <zackw@panix.com>
7849
7850 * manual/job.texi (Job Control is Optional): Remove node, as
7851 job control has not been optional in quite some time.
7852 (Job Control): Mention briefly that systems older than
7853 POSIX.1-2001 might not support job control.
7854 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
7855 defined on systems conforming to POSIX.1-2001.
7856
c5288d37
AS
78572018-10-17 Arjun Shankar <arjun@redhat.com>
7858
7859 [BZ #22062]
7860 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
7861 indentation.
7862 * (__gconv_read_conf): Mark function static.
7863 * (once): New static variable.
7864 * (__gconv_load_conf): New function.
7865 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
7866 * iconv/gconv_db.c (once): Remove static variable.
7867 * (__gconv_compare_alias): Use __gconv_load_conf instead of
7868 __gconv_read_conf.
7869 * (__gconv_find_transform): Likewise.
7870 * iconv/tst-iconv-mt.c: New test.
7871 * iconv/Makefile: Add tst-iconv_mt.
7872
8c8d2a8a
JM
78732018-10-17 Joseph Myers <joseph@codesourcery.com>
7874
7875 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
729f3402
JM
7876 bits/shm-pad.h.
7877 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
7878 (shmatt_t): Define as __syscall_ulong_t.
7879 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
7880 and [__SHM_PAD_AFTER_TIME].
7881 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
7882 Define shm_segsz and associated padding based on
7883 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
7884 Use __syscall_ulong_t instead of unsigned long int.
7885 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
7886 unsigned long int.
7887 [__USE_MISC] (struct shm_info): Likewise.
7888 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
7889 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
7890 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
7891 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
7892 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
7893 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
7894 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
7895 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
7896 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7897 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7898 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7899
7900 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8c8d2a8a
JM
7901 bits/shmlba.h.
7902 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
7903 (SHMLBA): Remove macro.
7904 (__getpagesize): Remove function declaration.
7905 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
7906 <bits/shmlba.h>.
7907 (SHMLBA): Remove macro.
7908 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
7909 <bits/shmlba.h>.
7910 (SHMLBA): Remove macro.
7911 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
7912 <bits/shmlba.h>.
7913 (SHMLBA): Remove macro.
7914 (__getpagesize): Remove function declaration.
7915 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
7916 <bits/shmlba.h>.
7917 (SHMLBA): Remove macro.
7918 (__getshmlba): Remove function declaration.
7919 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
7920 (SHMLBA): Remove macro.
7921 (__getpagesize): Remove function declaration.
7922 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
7923 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
7924 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7925 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
7926 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
7927 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
7928 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
7929 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
7930 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
7931 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
7932
403b4feb
SL
79332018-10-17 Stefan Liebler <stli@linux.ibm.com>
7934
7935 [BZ #23275]
7936 * nptl/tst-mutex10.c: New File.
7937 * nptl/Makefile (tests): Add tst-mutex10.
7938 (tst-mutex10-ENV): New variable.
7939 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
7940 Ensure that elision path is used if elision is available.
7941 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
7942 Likewise.
7943 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
7944 Likewise.
7945 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
7946 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
7947 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
7948 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
7949 Likewise.
7950 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
7951 (__pthread_mutex_cond_lock_adjust): Likewise.
7952 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
7953 Likewise.
7954 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
7955 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
7956 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7957 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
7958 Add comments.
7959 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
7960 Use atomic_load_relaxed and atomic_store_relaxed.
7961 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
7962 Use atomic_store_relaxed.
7963
ce5a7de6
AS
79642018-10-17 Andreas Schwab <schwab@suse.de>
7965
7966 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
7967 * crypt/badsalttest.c (TIMEOUT): Likewise.
7968 * crypt/sha256c-test.c (TIMEOUT): Likewise.
7969 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
7970 * io/test-lfs.c (TIMEOUT): Likewise.
7971 * libio/tst-atime.c (TIMEOUT): Likewise.
7972 * localedata/tst-leaks.c (TIMEOUT): Likewise.
7973 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
7974 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
7975 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
7976 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
7977 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
7978 * nptl/tst-cond11.c (TIMEOUT): Likewise.
7979 * nptl/tst-cond14.c (TIMEOUT): Likewise.
7980 * nptl/tst-cond15.c (TIMEOUT): Likewise.
7981 * nptl/tst-cond24.c (TIMEOUT): Likewise.
7982 * nptl/tst-cond25.c (TIMEOUT): Likewise.
7983 * nptl/tst-kill2.c (TIMEOUT): Likewise.
7984 * nptl/tst-kill3.c (TIMEOUT): Likewise.
7985 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
7986 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
7987 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
7988 * nptl/tst-once2.c (TIMEOUT): Likewise.
7989 * nptl/tst-once3.c (TIMEOUT): Likewise.
7990 * nptl/tst-once4.c (TIMEOUT): Likewise.
7991 * nptl/tst-robust8.c (TIMEOUT): Likewise.
7992 * nptl/tst-robust9.c (TIMEOUT): Likewise.
7993 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
7994 * nptl/tst-sem14.c (TIMEOUT): Likewise.
7995 * nptl/tst-sem6.c (TIMEOUT): Likewise.
7996 * nptl/tst-signal3.c (TIMEOUT): Likewise.
7997 * nptl/tst-spin4.c (TIMEOUT): Likewise.
7998 * nptl/tst-tls3.c (TIMEOUT): Likewise.
7999 * nptl/tst-tls4.c (TIMEOUT): Likewise.
8000 * posix/tst-chmod.c (TIMEOUT): Likewise.
8001 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
8002 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
8003 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
8004 * posix/tst-regex2.c (TIMEOUT): Likewise.
8005 * posix/tst-waitid.c (TIMEOUT): Likewise.
8006 * rt/tst-aio.c (TIMEOUT): Likewise.
8007 * rt/tst-aio10.c (TIMEOUT): Likewise.
8008 * rt/tst-aio4.c (TIMEOUT): Likewise.
8009 * rt/tst-aio5.c (TIMEOUT): Likewise.
8010 * rt/tst-aio6.c (TIMEOUT): Likewise.
8011 * rt/tst-aio64.c (TIMEOUT): Likewise.
8012 * rt/tst-aio7.c (TIMEOUT): Likewise.
8013 * rt/tst-aio9.c (TIMEOUT): Likewise.
8014 * rt/tst-clock.c (TIMEOUT): Likewise.
8015 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
8016 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
8017 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
8018 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
8019 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
8020 * rt/tst-timer4.c (TIMEOUT): Likewise.
8021 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
8022 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
8023 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
8024 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
8025 * time/tst-ftime.c (TIMEOUT): Likewise.
8026 * timezone/tst-tzset.c (TIMEOUT): Likewise.
8027
6b5c8607 80282018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
75c1aee5
AY
8029
8030 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
8031 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
8032 for thunderX2.
8033
bcdb1bfa
JM
80342018-10-15 Joseph Myers <joseph@codesourcery.com>
8035
8036 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8037 bits/sem-pad.h.
8038 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
8039 instead of <bits/wordsize.h>.
8040 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
8041 and [__SEM_PAD_AFTER_TIME].
8042 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
8043 __syscall_ulong_t instead of unsigned long int.
8044 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
8045 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
8046 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
8047 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
8048 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
8049 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
8050 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
8051 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
8052 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8053 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8054 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8055
f4efbdfb
PE
80562018-10-14 Paul Eggert <eggert@cs.ucla.edu>
8057
620a5d4c
PE
8058 regex: simplify by using intprops.h
8059 [BZ#23744]
8060 * posix/regex_internal.h [_LIBC]: Include intprops.h.
8061 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
8062 intprops.h defines them.
8063
f4efbdfb
PE
8064 regex: __builtin_expect → __glibc_unlikely
8065 [BZ#23744]
8066 This refactoring was prompted by a problem when the regex code is
8067 used as part of Gnulib and when the builder’s compiler does not grok
8068 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
8069 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
8070 Although this refactoring does not fix the problem directly,
8071 we might as well have Gawk use the now-preferred glibc style for when
8072 __builtin_expect is unavailable.
8073 * posix/regex_internal.h (BE): Remove.
8074 All uses replaced by __glibc_unlikely or __glibc_likely.
8075
9f9feb6d
JM
80762018-10-11 Joseph Myers <joseph@codesourcery.com>
8077
8078 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8079 bits/msq-pad.h.
8080 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
8081 instead of <bits/wordsize.h>.
8082 (msgqnum_t): Define as __syscall_ulong_t.
8083 (msglen_t): Likewise.
8084 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
8085 and [__MSQ_PAD_AFTER_TIME].
8086 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
8087 __syscall_ulong_t instead of unsigned long int.
8088 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
8089 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
8090 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
8091 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
8092 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
8093 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
8094 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
8095 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
8096 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8097 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8098 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8099
b9c0f6c1
JM
81002018-10-10 Joseph Myers <joseph@codesourcery.com>
8101
2a4b25fa
JM
8102 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
8103 (struct shmid_ds): Condition padding after time fields on
8104 [__WORDSIZE == 32].
8105 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
8106 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
8107 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8108
19e62f26
JM
8109 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
8110 (struct semid_ds): Condition padding after time fields on
8111 [__WORDSIZE == 32].
8112 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
8113 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
8114 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
8115 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8116
b9c0f6c1
JM
8117 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
8118 (struct msqid_ds): Condition padding after time fields on
8119 [__WORDSIZE == 32].
8120 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
8121 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
8122 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
8123 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8124
97785a61
SN
81252018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
8126
8127 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
8128
ed643089
SN
81292018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
8130
8131 * libio/tst-readline.c (TIMEOUT): Define.
8132
5a580643
PE
81332018-10-08 Paul Eggert <eggert@cs.ucla.edu>
8134
8135 mktime fix for Gnulib + coreutils
8136 [BZ#23745]
8137 This fix affects only Gnulib. Problem discovered when
8138 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
8139 * time/mktime.c:
8140 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
8141 Do not define since it is not used. Defining an unused static
8142 function prompts a warning from GCC when Coreutils is configured
8143 with --enable-gcc-warnings.
8144
c892ae04
LS
81452018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8146
8147 * benchtests/scripts/compare_bench.py (main): set float type on
8148 threshold argument.
8149
a68ec8ea
RL
81502018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
8151
8152 [BZ #23740]
8153 * localedata/locales/kl_GL (mon): Update, the relative case.
8154 (alt_mon): Add, fill with month names in the nominative case.
8155 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
8156 (d_fmt): Set to "%b %d %Y".
8157
a1987621
JM
81582018-10-04 Joseph Myers <joseph@codesourcery.com>
8159
47c49251
JM
8160 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
8161 <bits/mman-linux.h>.
8162 (PROT_READ): Don't define here.
8163 (PROT_WRITE): Likewise.
8164 (PROT_EXEC): Likewise.
8165 (PROT_NONE): Likewise.
8166 (PROT_GROWSDOWN): Likewise.
8167 (PROT_GROWSUP): Likewise.
8168 (MAP_SHARED): Likewise.
8169 (MAP_PRIVATE): Likewise.
8170 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
8171 [__USE_MISC] (MAP_FILE): Likewise.
8172 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
8173 [__USE_MISC] (MAP_ANON): Likewise.
8174 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
8175 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
8176 (MCL_CURRENT): Likewise.
8177 (MCL_FUTURE): Likewise.
8178 (MCL_ONFAULT): Likewise.
8179 [__USE_MISC] (MADV_NORMAL): Likewise.
8180 [__USE_MISC] (MADV_RANDOM): Likewise.
8181 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
8182 [__USE_MISC] (MADV_WILLNEED): Likewise.
8183 [__USE_MISC] (MADV_DONTNEED): Likewise.
8184 [__USE_MISC] (MADV_FREE): Likewise.
8185 [__USE_MISC] (MADV_REMOVE): Likewise.
8186 [__USE_MISC] (MADV_DONTFORK): Likewise.
8187 [__USE_MISC] (MADV_DOFORK): Likewise.
8188 [__USE_MISC] (MADV_HWPOISON): Likewise.
8189 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
8190 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
8191 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
8192 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
8193 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
8194 (__MAP_ANONYMOUS): New macro.
8195 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
8196 <bits/mman-linux.h> inclusion.
8197 (MAP_FIXED): Likewise.
8198 (MS_SYNC): Likewise.
8199 (MS_ASYNC): Likewise.
8200 (MS_INVALIDATE): Likewise.
8201 [__USE_MISC] (MADV_MERGEABLE): Likewise.
8202 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
8203 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
8204 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
8205 [__USE_MISC] (MADV_DONTDUMP): Likewise.
8206 [__USE_MISC] (MADV_DODUMP): Likewise.
8207 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
8208 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
8209
a1987621
JM
8210 [BZ #23735]
8211 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
8212 Define.
8213 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
8214 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
8215 Add test-nldbl-redirect.
8216 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
8217 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
8218 $(objpfx)libnldbl_nonshared.a.
8219
e7624d70
SL
82202018-10-04 Stefan Liebler <stli@linux.ibm.com>
8221
8222 * support/support.h (support_objdir_elf_ldso): New variable.
8223 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
8224 * support/Makefile (CFLAGS-support_paths.c): Add definition
8225 for OBJDIR_ELF_LDSO_PATH.
8226 * support/test-container.c (main): Search for the ld.so
8227 which is also used by the testsuite.
8228
dae3ed95
RL
82292018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
8230
8231 [BZ #20209]
8232 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
8233 should be "sap" rather than "sab".
8234 (day): Fix spelling of Sunday, should be "sapaat" rather than
8235 "sabaat".
8236
f346b5b3
JM
82372018-10-02 Joseph Myers <joseph@codesourcery.com>
8238
8239 * math/libm-test-fma.inc (fma_test_data): Add more tests.
8240
4a06ceea
MJ
82412018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
8242
8243 [BZ #19444]
8244 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
8245 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
8246 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
8247
a06fc4a5
AZ
82482018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8249
8250 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
8251
a1ccc065
L
82522018-10-02 H.J. Lu <hongjiu.lu@intel.com>
8253
8254 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
8255 Add -mrtm.
8256 (CFLAGS-elision-unlock.c): Likewise.
8257 (CFLAGS-elision-timed.c): Likewise.
8258 (CFLAGS-elision-trylock.c): Likewise.
8259 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
8260
0b727ed4
AZ
82612018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8262
8263 [BZ #21037]
8264 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
8265 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
8266 new fd_to_filename interface.
8267 * libio/freopen64.c (freopen64): Likewise.
8268 * libio/tst-memstream.h: New file.
8269 * libio/tst-memstream4.c: Likewise.
8270 * libio/tst-wmemstream4.c: Likewise.
8271 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
8272 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
8273 and remove internal dynamic allocation.
8274
d0e91e8c
JM
82752018-10-01 Joseph Myers <joseph@codesourcery.com>
8276
8277 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
8278 (MREMAP_MAYMOVE): Do not define here.
8279 [__USE_GNU] (MREMAP_FIXED): Likewise.
8280 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
8281 (MREMAP_MAYMOVE): Define here instead.
8282 [__USE_GNU] (MREMAP_FIXED): Likewise.
8283 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
8284 (MREMAP_MAYMOVE): Remove.
8285 [__USE_GNU] (MREMAP_FIXED): Likewise.
8286
c52944e8
JM
82872018-09-28 Joseph Myers <joseph@codesourcery.com>
8288
8289 * math/fromfp.h: Do not include <math_private.h>.
8290 * math/s_cacosh_template.c: Likewise.
8291 * math/s_casin_template.c: Likewise.
8292 * math/s_casinh_template.c: Likewise.
8293 * math/s_ccos_template.c: Likewise.
8294 * math/s_cproj_template.c: Likewise.
8295 * math/s_fdim_template.c: Likewise.
8296 * math/s_fmaxmag_template.c: Likewise.
8297 * math/s_fminmag_template.c: Likewise.
8298 * math/s_iseqsig_template.c: Likewise.
8299 * math/s_ldexp_template.c: Likewise.
8300 * math/s_nextdown_template.c: Likewise.
8301 * math/w_log1p_template.c: Likewise.
8302 * math/w_scalbln_template.c: Likewise.
8303 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
8304 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
8305 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
8306 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
8307 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
8308 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
8309 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
8310 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
8311 * sysdeps/i386/fpu/s_atanl.c: Likewise.
8312 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
8313 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
8314 * sysdeps/i386/fpu/s_fdim.c: Likewise.
8315 * sysdeps/i386/fpu/s_logbl.c: Likewise.
8316 * sysdeps/i386/fpu/s_rintl.c: Likewise.
8317 * sysdeps/i386/fpu/s_significandl.c: Likewise.
8318 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
8319 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
8320 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8321 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8322 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
8323 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8324 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8325 * sysdeps/ieee754/k_standardf.c: Likewise.
8326 * sysdeps/ieee754/k_standardl.c: Likewise.
8327 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8328 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
8329 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
8330 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
8331 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
8332 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
8333 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8334 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8335 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8336 * sysdeps/ieee754/s_signgam.c: Likewise.
8337 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
8338 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
8339 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
8340 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8341 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
8342 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
8343 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8344 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
8345 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8346 * sysdeps/riscv/rvd/s_finite.c: Likewise.
8347 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
8348 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
8349 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
8350 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
8351 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
8352 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
8353 * sysdeps/riscv/rvf/fegetround.c: Likewise.
8354 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
8355 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
8356 * sysdeps/riscv/rvf/fesetround.c: Likewise.
8357 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
8358 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
8359 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
8360 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8361 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
8362 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
8363 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
8364 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
8365 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
8366 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
8367 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
8368 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
8369 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
8370 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
8371 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8372 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8373 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
8374 <math_private.h>.
8375 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
8376
7b1f9406
L
83772018-09-28 H.J. Lu <hongjiu.lu@intel.com>
8378
8379 [BZ #23716]
8380 * sysdeps/i386/dl-cet.c: Removed.
8381 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
8382 prototype.
8383 (_dl_runtime_profile_shstk): Likewise.
8384 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
8385 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
8386
7a16bdbb
AZ
83872018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8388
8389 [BZ #23579]
8390 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
8391 do_test_with_invalid_iov): New tests.
8392 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
8393 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
8394 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
8395 errno is ENOSYS.
8396 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
8397 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
8398 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
8399
9755bc46
JM
84002018-09-27 Joseph Myers <joseph@codesourcery.com>
8401
81dca813
JM
8402 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8403 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
8404 (MATH_REDIRECT_BINARY_ARGS): New macro.
8405 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8406 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
8407 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
8408 header inclusion.
8409 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
8410 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8411 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
8412 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8413 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8414 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8415 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
8417 Likewise.
8418 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
8419 Likewise.
8420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
8421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
8422 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
8423 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
8424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
8425 Likewise.
8426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
8427 Likewise.
8428 * sysdeps/generic/math_private_calls.h
8429 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
8430 Do not declare and define as an inline function.
8431 * math/divtc3.c (__divtc3): Use copysign functions instead of
8432 __copysign variants.
8433 * math/multc3.c (__multc3): Likewise.
8434 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
8435 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
8436 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8437 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
8438 Likewise.
8439 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8440 (__ieee754_yn): Likewise.
8441 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8442 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
8443 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
8444 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8445 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
8446 (__sin): Likewise.
8447 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
8448 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8449 Likewise.
8450 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8451 Likewise.
8452 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8453 Likewise.
8454 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8455 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8456 Likewise.
8457 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8458 (__ieee754_ynf): Likewise.
8459 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
8460 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8461 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
8462 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8463 Likewise.
8464 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8465 (__ieee754_ynl): Likewise.
8466 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8467 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
8468 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8469 Likewise.
8470 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8471 (__ieee754_ynl): Likewise.
8472 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
8473 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8474 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8475 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8476 Likewise.
8477 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8478 (__ieee754_ynl)
8479 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
8480 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8481 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
8482 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8483 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8484
9755bc46
JM
8485 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8486 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
8487 using MATH_REDIRECT.
8488 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
8489 header inclusion.
8490 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
8491 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8492 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8493 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
8494 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8495 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8496 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
8498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
8499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
8500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
8501 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8502 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8503 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8504 (round): Redirect to __round.
8505 (__roundl): Call round instead of __round.
8506 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
8507 Remove macro.
8508 [_ARCH_PWR5X] (__roundf): Likewise.
8509 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
8510 functions instead of __round variants.
8511 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
8512 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
8513 Likewise.
8514 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
8515 Likewise.
8516 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
8517 Likewise.
8518 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
8519 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
8520 __lroundl.
8521 (__ieee754_expl): Call roundl instead of __roundl.
8522
f841c97e
AS
85232018-09-27 Andreas Schwab <schwab@suse.de>
8524
8525 [BZ #23717]
8526 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
8527 (do_test): Make st1 static.
8528
6ca8284e
AS
85292018-09-26 Andreas Schwab <schwab@suse.de>
8530
8531 [BZ #23707]
8532 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
8533 * elf/Makefile (tests): Add tst-unwind-ctor.
8534 (modules-names): Add tst-unwind-ctor-lib.
8535 ($(objpfx)tst-unwind-ctor): Depend on
8536 $(objpfx)tst-unwind-ctor-lib.so.
8537
61d8b5fe
JM
85382018-09-26 Joseph Myers <joseph@codesourcery.com>
8539
8540 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
8541 file. Most contents moved from ....
8542 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
8543 and include <bits/mman-map-flags-generic.h>.
8544 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8545 (sysdep_headers): Add bits/mman-map-flags-generic.h.
8546 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
8547 <bits/mman-map-flags-generic.h>.
8548 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
8549 macros defined in <bits/mman-map-flags-generic.h>.
8550 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
8551 <bits/mman-map-flags-generic.h>.
8552 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
8553 defined in <bits/mman-map-flags-generic.h>.
8554
46341286
AS
85552018-09-26 Andreas Schwab <schwab@suse.de>
8556
8557 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
8558 output.
8559
b5c45e83
AZ
85602018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
8561 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8562 Fangrui Song <maskray@google.com>
8563
8564 [BZ #20480]
8565 * config.make.in (have-textrel_ifunc): New define.
8566 * configure.ac: Add check if linker supports textrel relocation with
8567 ifunc.
8568 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
8569 tst-ifunc-textrel.
8570 (CFLAGS-tst-ifunc-textrel.c): New rule.
8571 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
8572 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
8573 * elf/tst-ifunc-textrel.c: New file.
8574
8ea4d2b7
JM
85752018-09-25 Joseph Myers <joseph@codesourcery.com>
8576
d62f9ec0
JM
8577 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
8578 <bits/procfs-prregset.h>.
8579 (prgregset_t): Define using __prgregset_t.
8580 (prfpregset_t): Define using __prfpregset_t.
8581 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8582 (sysdep_headers): Add bits/procfs-prregset.h.
8583 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
8584 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
8585 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
8586 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
8587
d0d8eb43
JM
8588 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
8589 <bits/procfs-id.h> and <bits/procfs-extra.h>.
8590 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
8591 pr_uid and pr_gid.
8592 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8593 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
8594 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
8595 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
8596 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
8597 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
8598 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
8599 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
8600 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
8601 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
8602 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
8603 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
8604 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
8605 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
8606 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
8607 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
8608 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
8609 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
8610 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
8611 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
8612 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
8613 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
8614 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8615 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
8616
8ea4d2b7
JM
8617 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
8618 AArch64 version. Include <bits/procfs.h>.
8619 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8620 (sysdep_headers): Add bits/procfs.h.
8621 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
8622 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
8623 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
8624 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
8625 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
8626 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
8627 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
8628 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
8629 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
8630 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
8631 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
8632 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
8633 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
8634 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
8635 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
8636 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8637 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
8638
c7027166
AZ
86392018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8640
8641 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
8642 Use libsupport.
8643
335a3b0a
AS
86442018-09-25 Arjun Shankar <arjun@redhat.com>
8645
8646 * iconv/gconv_int.h (__gconv_path_elem): Remove.
8647 (__gconv_max_path_elem_len): Likewise.
8648 (__gconv_nmodules): Likewise.
8649 (__gconv_get_path): Likewise.
8650 (path_elem): Move to ...
8651 * iconv/gconv_conf.c: ... here.
8652 (__gconv_get_path): Mark function static.
8653 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
8654 * iconv/gconv_open.c: ... here.
8655
462d348c
AS
86562018-09-24 Andreas Schwab <schwab@suse.de>
8657
8658 * scripts/haveversions.awk: New file.
8659 * Makerules ($(common-objpfx)Versions.def)
8660 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
8661 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
8662 Move rules ...
8663 * Makeconfig ($(common-objpfx)Versions.def)
8664 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
8665 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
8666 ... here.
8667 ($(common-objpfx)Versions.mk): New rule. Include it.
8668 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
8669 Emit error if build-obsolete-nsl = yes.
8670 * manual/install.texi (Configuring and compiling): Describe
8671 --enable-obsolete-nsl as unavaiable after version 2.28.
8672 * INSTALL: Regenerate.
8673
f0458cf4
AZ
86742018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8675
8676 * NEWS: Add note about new TLE support on powerpc64le.
8677 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
8678 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
8679 __ununsed1.
8680 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
8681 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
8682 * sysdeps/powerpc/powerpc32/sysdep.h,
8683 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
8684 ABORT_TRANSACTION): Remove macros.
8685 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
8686 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
8687 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
8688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
8689 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8690 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
8691 usage.
8692 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
8693
434d45fd
RL
86942018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
8695
8696 [BZ #10425]
8697 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
8698 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
8699 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
8700 which is the same as in it_IT.
8701 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
8702 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
8703
d90c9b1a
JM
87042018-09-20 Joseph Myers <joseph@codesourcery.com>
8705
7abf97be
JM
8706 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8707 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
8708 using MATH_REDIRECT.
8709 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
8710 header inclusion.
8711 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
8712 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8713 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
8714 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8715 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8716 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
8718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
8719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
8720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
8721 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8722 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8723 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
8724 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
8725 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
8726 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
8727 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
8728 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8729 (ceil): Redirect to __ceil.
8730 (floor): Redirect to __floor.
8731 (trunc): Redirect to __trunc.
8732 (__truncl): Call trunc instead of __trunc.
8733 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
8734 Remove macro.
8735 [_ARCH_PWR5X] (__truncf): Likewise.
8736 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
8737 trunc functions instead of __trunc variants.
8738 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8739 Likewise.
8740 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8741 Likewise.
8742 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8743 Likewise.
8744 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8745 Likewise.
8746
d90c9b1a
JM
8747 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
8748 [__i586__ || __pentium__].
8749 [__i486__]: Handle explicitly.
8750 (HAS_CPUID): Define to 1 if above macros are undefined.
8751 (HAS_I586): Likewise.
8752 (HAS_I686): Likewise.
8753
db9a8ad4
FW
87542018-09-20 Florian Weimer <fweimer@redhat.com>
8755
8756 * misc/tst-gethostid.c: New file.
8757 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
8758 (tst-gethostid): Link with -ldl.
8759
1214ba06
MY
87602018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
8761
8762 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
8763 value from gethostbyname_r.
8764
791b350d
CD
87652018-09-19 Carlos O'Donell <carlos@redhat.com>
8766
8767 * stdlib/tst-setcontext9.c (f1): Rename to...
8768 (f1a): ... this.
8769 (f1b): New function implementing lower half of f1 in alternate stack.
8770
8e6fd2bd
PE
87712018-09-19 Paul Eggert <eggert@cs.ucla.edu>
8772
e1080e7e
PE
8773 Fix mktime localtime offset confusion
8774 [BZ #23603]
8775 * include/time.h (__mktime_internal): The localtime offset is now
8776 of type long int instead of time_t. This is the longstanding type
8777 in glibc, and it is more than enough to represent difference
8778 between localtime and gmtime even if it is 32 bits and time_t is
8779 64. Changing it now will let us avoid an unnecessary change when
8780 time_t is widened to 64 bits on 32-bit platforms.
8781 * time/mktime-internal.h (mktime_offset_t): Now long int.
8782
8e6fd2bd
PE
8783 Merge mktime, timegm from upstream Gnulib
8784 [BZ #23603][BZ #16346]
8785 This fixes some obscure problems with integer overflow.
8786 Although it looks scary, it is almost all a byte-for-byte copy
8787 from Gnulib, and the Gnulib code has been tested reasonably well.
8788 * include/intprops.h: New file, copied from Gnulib.
8789 * include/verify.h, time/mktime-internal.h:
8790 New tiny files, simplified from Gnulib.
8791 * time/mktime.c: Copy from Gnulib. This has the following changes:
8792 Do not include config.h if DEBUG_MKTIME is nonzero.
8793 Include stdbool.h, intprops.h, verify.h.
8794 Include string.h only if needed.
8795 Include stdlib.h on MS-Windows.
8796 Include mktime-internal.h.
8797 (DEBUG_MKTIME): Default to 0, and simplify later uses.
8798 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
8799 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
8800 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
8801 simplify later conditionals; default the others to zero. Use
8802 these conditionals to express only the code needed on the current
8803 platform. In uses of these conditionals, explicitly spell out how
8804 _LIBC affects things, so it’s easier to review from a glibc
8805 viewpoint.
8806 (WRAPV): Remove; no longer needed now that we have
8807 systematic overflow checking.
8808 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
8809 compartmentalize tzset issues. Move system-dependent tzsettish
8810 code here from mktime.
8811 (verify): Remove; now done by verify.h. All uses changed.
8812 (long_int): Use a more-conservative definition, to avoid
8813 integer overflow.
8814 (SHR): Remove, replacing with ...
8815 (shr): New function, which means we needn’t worry about side
8816 effects in args, and conversion analysis is simpler.
8817 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
8818 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
8819 (time_t_avg, time_t_add_ok): Remove.
8820 (mktime_min, mktime_max): New constants.
8821 (leapyear, isdst_differ): Use bool for booleans.
8822 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
8823 Use long_int, not time_t, for mktime differences.
8824 (long_int_avg): New function, replacing time_t_avg.
8825 INT_ADD_WRAPV replaces time_t_add_ok.
8826 (guess_time_tm): 6th arg is now long_int, not time_t const *.
8827 All uses changed.
8828 (convert_time): New function.
8829 (ranged_convert): Use it.
8830 (__mktime_internal): Last arg now points to mktime_offset_t, not
8831 time_t. All uses changed. This is a no-op on glibc, where
8832 mktime_offset_t is always time_t. Use int, not time_t, for UTC
8833 offset guess. Directly check for integer overflow instead of
8834 using a heuristic that works only 99.9...% of the time.
8835 Access *OFFSET only once, to avoid an unlikely race if the
8836 compiler delays a load and if this cascades into a signed integer
8837 overflow.
8838 (mktime): Move tzsettish code to my_tzset, and move
8839 localtime_offset to within mktime so that it doesn’t
8840 need a separate ifdef.
8841 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
8842 instead of localtime.
8843 * time/timegm.c: Copy from Gnulib. This has the following changes:
8844 Include mktime-internal.h.
8845 [!_LIBC]: Include config.h and time.h. Do not include
8846 timegm.h or time_r.h. Make __mktime_internal a macro,
8847 and include mktime-internal.h to get its declaration.
8848 (timegm): Temporary is now mktime_offset_t, not time_t.
8849 This affects only Gnulib.
8850
83a552b0
WD
88512018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
8852
8853 [BZ #23637]
8854 * string/test-strstr.c (pr23637): New function.
8855 (test_main): Add tests with longer needles.
8856 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
8857 * string/strstr.c (AVAILABLE): Likewise.
8858
d7347278
SN
88592018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
8860
8861 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
8862
424c4f60
SN
88632018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
8864
8865 * NEWS: Mention pow improvements.
8866 * math/Makefile (type-double-routines): Add e_pow_log_data.
8867 * sysdeps/generic/math_private.h (__exp1): Remove.
8868 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
8869 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
8870 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
8871 contraction.
8872 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
8873 (exp_inline): Remove.
8874 (__ieee754_exp): Only single double input is handled.
8875 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
8876 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
8877 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
8878 (__pow_log_data): Define.
8879 * sysdeps/ieee754/dbl-64/upow.h: Remove.
8880 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
8881 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
8882 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
8883 contraction.
8884 (CFLAGS-e_pow-fma4.c): Likewise.
8885
e4e4fde5
PE
88862018-09-18 Paul Eggert <eggert@cs.ucla.edu>
8887
dab9c348
PE
8888 Simplify tzfile fstat failure code
8889 [BZ #21716]
8890 * time/tzfile.c (__tzfile_read): Simplify slightly.
8891
e4e4fde5
PE
8892 Fix tzfile low-memory assertion failure
8893 [BZ #21716]
8894 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
8895 when registering time zone abbreviations.
8896
50bc59ca
JM
88972018-09-18 Joseph Myers <joseph@codesourcery.com>
8898
d3a43e49
JM
8899 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
8900 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
8901 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
8902 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
8903 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
8904 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
8905 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
8906 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8907 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8908
50bc59ca
JM
8909 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
8910 __ceil.
8911 (__ceill): Call ceil instead of __ceil.
8912 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
8913 __floor.
8914 (__floorl): Call floor instead of __floor.
8915
89983cb3
JM
89162018-09-17 Joseph Myers <joseph@codesourcery.com>
8917
71223ef9
JM
8918 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8919 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
8920 using MATH_REDIRECT.
8921 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
8922 header inclusion.
8923 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
8924 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8925 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8926 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
8927 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8928 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8929 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8930 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
8931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
8932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
8933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
8934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
8935 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8936 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8937 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
8938 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
8939 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
8940 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
8941 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
8942 Remove macro.
8943 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
8944 functions instead of __ceil variants.
8945 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
8946 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
8947 Likewise.
8948 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
8949 Likewise.
8950 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
8951 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
8952 Likewise.
8953 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8954 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8955
89983cb3
JM
8956 [BZ #21286]
8957 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
8958 constant.
8959 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
8960 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
8961 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
8962 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
8963 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
8964 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
8965 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
8966 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
8967 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
8968 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
8969 (ILL_BADIADDR): Remove constant.
8970 (TRAP_BRANCH): Likewise.
8971 (TRAP_HWBKPT): Likewise.
8972
e44acb20
JM
89732018-09-14 Joseph Myers <joseph@codesourcery.com>
8974
3f7f1d18
JM
8975 [BZ #23656]
8976 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
8977 Remove [_MIPS_SIM = _ABIN32] conditional case.
8978 (struct elf_prpsinfo): Likewise.
8979
d59f3e5e
JM
8980 [BZ #23649]
8981 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
8982 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
8983 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
8984 Likewise.
8985 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
8986 elf_prpsinfo): Likewise.
8987 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
8988 elf_prpsinfo): Likewise.
8989 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
8990 Likewise.
8991
f29b6f17
JM
8992 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8993 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
8994 using MATH_REDIRECT.
8995 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
8996 header inclusion.
8997 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
8998 * sysdeps/alpha/fpu/s_rint.c: Likewise.
8999 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
9000 * sysdeps/i386/fpu/s_rintl.c: Likewise.
9001 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9002 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9003 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
9004 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9005 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9006 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9007 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
9008 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
9009 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
9010 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
9011 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
9012 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9013 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9014 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
9015 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
9016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
9017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
9018 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
9019 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
9020 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
9021 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
9022 * sysdeps/x86_64/fpu/math_private.h: Remove file.
9023 * math/e_scalb.c (invalid_fn): Use rint functions instead of
9024 __rint variants.
9025 * math/e_scalbf.c (invalid_fn): Likewise.
9026 * math/e_scalbl.c (invalid_fn): Likewise.
9027 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
9028 Likewise.
9029 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9030 Likewise.
9031 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
9032 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
9033 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9034 Likewise.
9035 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9036 Likewise.
9037 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9038 Likewise.
9039 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
9040 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
9041
e44acb20
JM
9042 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9043 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
9044 New macro.
9045 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9046 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
9047 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9048 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
9049 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9050 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
9051 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9052 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
9053 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9054 && !NO_MATH_REDIRECT] (floor): Likewise.
9055 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
9056 header inclusion.
9057 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
9058 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9059 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9060 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
9061 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9062 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9063 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9064 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
9065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
9066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
9067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
9068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
9069 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9070 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9071 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
9072 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
9073 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
9074 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
9075 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
9076 Remove macro.
9077 [_ARCH_PWR5X] (__floorf): Likewise.
9078 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
9079 inline function.
9080 [__SSE4_1__] (__floorf): Likewise.
9081 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
9082 instead of __floor variants.
9083 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
9084 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
9085 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
9086 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
9087 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
9088 * math/w_tgamma_compat.c (__tgamma): Likewise.
9089 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
9090 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
9091 * math/w_tgammal_compat.c (__tgammal): Likewise.
9092 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
9093 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
9094 Likewise.
9095 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
9096 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
9097 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
9098 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9099 Likewise.
9100 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
9101 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
9102 Likewise.
9103 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
9104 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
9105 Likewise.
9106 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9107 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
9108 Likewise.
9109 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9110 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
9111 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
9112 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
9113 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9114 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9115
221e4bab
JM
91162018-09-12 Joseph Myers <joseph@codesourcery.com>
9117
9118 * elf/Makefile (modules-names-tests): New variable.
9119
3e08ff54
SN
91202018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
9121
9122 * NEWS: Mention log2 improvements.
9123 * math/Makefile (type-double-routines): Add e_log2_data.
9124 * sysdeps/i386/fpu/e_log2_data.c: New file.
9125 * sysdeps/ia64/fpu/e_log2_data.c: New file.
9126 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
9127 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
9128 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
9129 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
9130 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
9131
f41b0a43
SN
91322018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
9133
9134 * NEWS: Mention log improvement.
9135 * math/Makefile (type-double-routines): Add e_log_data.
9136 * sysdeps/i386/fpu/e_log_data.c: New file.
9137 * sysdeps/ia64/fpu/e_log_data.c: New file.
9138 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
9139 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
9140 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
9141 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
9142 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
9143 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
9144
5a274db4
L
91452018-09-12 H.J. Lu <hongjiu.lu@intel.com>
9146 Xuepeng Guo <xuepeng.guo@intel.com>
9147
9148 [BZ #23606]
9149 * sysdeps/i386/start.S: Include <sysdep.h>
9150 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
9151 enabled. Add cfi_undefined (eip).
9152
b1176270
JM
91532018-09-11 Joseph Myers <joseph@codesourcery.com>
9154
4e7fbdd7
JM
9155 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
9156 (MOVQ): Likewise.
9157 (EXTRACT_WORDS64): Likewise.
9158 (INSERT_WORDS64): Likewise.
9159 (GET_FLOAT_WORD): Likewise.
9160 (SET_FLOAT_WORD): Likewise.
9161
b1176270
JM
9162 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
9163 argument.
9164 (Config.build_gcc): Use --disable-libsanitizer for first GCC
9165 build, but not for second build if --full-gcc. Use
9166 --enable-languages=all for second build if --full-gcc.
9167 (get_parser): Add --full-gcc option.
9168 (main): Update call to Context.
9169
527f355e
RL
91702018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
9171
9172 [BZ #10797]
9173 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
9174 Single Quotation Mark).
9175 (thousands_sep): Likewise.
9176 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
9177 * localedata/locales/it_IT (thousands_sep): Use ".".
9178 (grouping): Use "3;3".
9179
7244f13d
JM
91802018-09-10 Joseph Myers <joseph@codesourcery.com>
9181
9182 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
9183 x86_64 and i686 configs using --enable-obsolete-rpc
9184 --enable-obsolete-nsl.
9185
38245425
SL
91862018-09-06 Stefan Liebler <stli@linux.ibm.com>
9187
9188 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9189
28669f86
SL
91902018-09-06 Stefan Liebler <stli@linux.ibm.com>
9191
9192 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
9193 Increment size of new_argv by one.
9194
a33650d1
RL
91952018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
9196
9197 [BZ #17426]
9198 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
9199 * localedata/locales/ar_IN (d_fmt): Likewise.
9200 * localedata/locales/bhb_IN (d_fmt): Likewise.
9201 * localedata/locales/bho_IN (d_fmt): Likewise.
9202 * localedata/locales/bn_BD (d_fmt): Likewise.
9203 * localedata/locales/bn_IN (d_fmt): Likewise.
9204 * localedata/locales/doi_IN (d_fmt): Likewise.
9205 * localedata/locales/gu_IN (d_fmt): Likewise.
9206 * localedata/locales/hi_IN (d_fmt): Likewise.
9207 * localedata/locales/hne_IN (d_fmt): Likewise.
9208 * localedata/locales/kn_IN (d_fmt): Likewise.
9209 * localedata/locales/mag_IN (d_fmt): Likewise.
9210 * localedata/locales/mai_IN (d_fmt): Likewise.
9211 * localedata/locales/mjw_IN (d_fmt): Likewise.
9212 * localedata/locales/ml_IN (d_fmt): Likewise.
9213 * localedata/locales/mni_IN (d_fmt): Likewise.
9214 * localedata/locales/mr_IN (d_fmt): Likewise.
9215 * localedata/locales/pa_IN (d_fmt): Likewise.
9216 * localedata/locales/raj_IN (d_fmt): Likewise.
9217 * localedata/locales/sat_IN (d_fmt): Likewise.
9218 * localedata/locales/sd_IN (d_fmt): Likewise.
9219 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
9220 * localedata/locales/ta_IN (d_fmt): Likewise.
9221 * localedata/locales/ta_LK (d_fmt): Likewise.
9222 * localedata/locales/tcy_IN (d_fmt): Likewise.
9223 * localedata/locales/ur_IN (d_fmt): Likewise.
9224
9225 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
9226 * localedata/locales/ks_IN (d_fmt): Likewise.
9227 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
9228
9229 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
9230 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
9231 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
9232 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
9233
d114e6a7
SN
92342018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
9235
9236 * NEWS: Mention exp and exp2 improvements.
9237 * math/Makefile (libm-support): Remove t_exp.
9238 (type-double-routines): Add math_err and e_exp_data.
9239 * sysdeps/aarch64/libm-test-ulps: Update.
9240 * sysdeps/arm/libm-test-ulps: Update.
9241 * sysdeps/i386/fpu/e_exp_data.c: New file.
9242 * sysdeps/i386/fpu/math_err.c: New file.
9243 * sysdeps/i386/fpu/t_exp.c: Remove.
9244 * sysdeps/ia64/fpu/e_exp_data.c: New file.
9245 * sysdeps/ia64/fpu/math_err.c: New file.
9246 * sysdeps/ia64/fpu/t_exp.c: Remove.
9247 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
9248 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
9249 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
9250 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
9251 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
9252 * sysdeps/ieee754/dbl-64/math_config.h: New file.
9253 * sysdeps/ieee754/dbl-64/math_err.c: New file.
9254 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
9255 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
9256 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
9257 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
9258 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
9259 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
9260 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
9261 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9262 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9263
b9d8c474
JM
92642018-09-05 Joseph Myers <joseph@codesourcery.com>
9265
b7cdc2ae
JM
9266 * sysdeps/alpha/fpu/math_private.h: Remove.
9267
b9d8c474
JM
9268 * sysdeps/generic/math_private.h
9269 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
9270 Move this inline function ....
9271 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
9272 * include/math.h [!_ISOMAC]: To here....
9273
418d99e6
JM
92742018-09-04 Joseph Myers <joseph@codesourcery.com>
9275
9276 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
9277 code ....
9278 [!FE_HAVE_ROUNDING_MODES]: And this code ....
9279 * include/fenv.h [!_ISOMAC]: ... to here.
9280 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
9281 (feraiseexcept): Likewise.
9282 * math/fromfp.h: Do not include <fenv_private.h>.
9283 * math/s_cexp_template.c: Likewise.
9284 * math/s_csin_template.c: Likewise.
9285 * math/s_csinh_template.c: Likewise.
9286 * math/s_ctan_template.c: Likewise.
9287 * math/s_ctanh_template.c: Likewise.
9288 * math/s_iseqsig_template.c: Likewise.
9289 * math/w_acos_compat.c: Likewise.
9290 * math/w_acosf_compat.c: Likewise.
9291 * math/w_acosl_compat.c: Likewise.
9292 * math/w_asin_compat.c: Likewise.
9293 * math/w_asinf_compat.c: Likewise.
9294 * math/w_asinl_compat.c: Likewise.
9295 * math/w_j0_compat.c: Likewise.
9296 * math/w_j0f_compat.c: Likewise.
9297 * math/w_j0l_compat.c: Likewise.
9298 * math/w_j1_compat.c: Likewise.
9299 * math/w_j1f_compat.c: Likewise.
9300 * math/w_j1l_compat.c: Likewise.
9301 * math/w_jn_compat.c: Likewise.
9302 * math/w_jnf_compat.c: Likewise.
9303 * math/w_log10_compat.c: Likewise.
9304 * math/w_log10f_compat.c: Likewise.
9305 * math/w_log10l_compat.c: Likewise.
9306 * math/w_log2_compat.c: Likewise.
9307 * math/w_log2f_compat.c: Likewise.
9308 * math/w_log2l_compat.c: Likewise.
9309 * math/w_log_compat.c: Likewise.
9310 * math/w_logf_compat.c: Likewise.
9311 * math/w_logl_compat.c: Likewise.
9312 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9313 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9314 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9315 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9316 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9317 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9318 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9319 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9320 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9321 * sysdeps/ieee754/k_standardl.c: Likewise.
9322 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9323 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9324 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9325 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9326 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9327 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9328 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9329 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9330 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9331 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9332 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9333 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9334 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9335 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9336 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9337 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9338 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9339 * math/w_ilogb_template.c: Include <fenv.h> instead of
9340 <fenv_private.h>.
9341 * math/w_llogb_template.c: Likewise.
9342 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9343 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9344
70e2ba33
JM
93452018-09-03 Joseph Myers <joseph@codesourcery.com>
9346
9347 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
9348 * math/fromfp.h: Include <fenv_private.h>.
9349 * math/math-narrow.h: Likewise.
9350 * math/s_cexp_template.c: Likewise.
9351 * math/s_csin_template.c: Likewise.
9352 * math/s_csinh_template.c: Likewise.
9353 * math/s_ctan_template.c: Likewise.
9354 * math/s_ctanh_template.c: Likewise.
9355 * math/s_iseqsig_template.c: Likewise.
9356 * math/w_acos_compat.c: Likewise.
9357 * math/w_acosf_compat.c: Likewise.
9358 * math/w_acosl_compat.c: Likewise.
9359 * math/w_asin_compat.c: Likewise.
9360 * math/w_asinf_compat.c: Likewise.
9361 * math/w_asinl_compat.c: Likewise.
9362 * math/w_ilogb_template.c: Likewise.
9363 * math/w_j0_compat.c: Likewise.
9364 * math/w_j0f_compat.c: Likewise.
9365 * math/w_j0l_compat.c: Likewise.
9366 * math/w_j1_compat.c: Likewise.
9367 * math/w_j1f_compat.c: Likewise.
9368 * math/w_j1l_compat.c: Likewise.
9369 * math/w_jn_compat.c: Likewise.
9370 * math/w_jnf_compat.c: Likewise.
9371 * math/w_llogb_template.c: Likewise.
9372 * math/w_log10_compat.c: Likewise.
9373 * math/w_log10f_compat.c: Likewise.
9374 * math/w_log10l_compat.c: Likewise.
9375 * math/w_log2_compat.c: Likewise.
9376 * math/w_log2f_compat.c: Likewise.
9377 * math/w_log2l_compat.c: Likewise.
9378 * math/w_log_compat.c: Likewise.
9379 * math/w_logf_compat.c: Likewise.
9380 * math/w_logl_compat.c: Likewise.
9381 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
9382 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
9383 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
9384 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
9385 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9386 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9387 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9388 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9389 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9390 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9391 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9392 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9393 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
9394 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
9395 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9396 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
9397 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9398 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9399 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9400 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9401 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9402 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9403 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9404 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9405 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9406 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9407 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9408 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
9409 * sysdeps/ieee754/float128/float128_private.h: Likewise.
9410 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9411 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9412 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9413 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
9414 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9415 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9416 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9417 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9418 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9419 * sysdeps/ieee754/k_standardl.c: Likewise.
9420 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9421 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9422 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9423 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9424 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9425 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
9426 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9427 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9428 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9429 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9430 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9431 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9432 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9433 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9434 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9435 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
9436 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9437 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
9438 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9439 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9440 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9441 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9442 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9443 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9444 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9445 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9446 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9447 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9448 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
9449 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9450 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9451 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9452 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9453 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9454 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9455 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
9456 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9457 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9458 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9459 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9460 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
9461 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
9462 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
9463 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9464 * sysdeps/riscv/rvd/s_finite.c: Likewise.
9465 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
9466 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
9467 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
9468 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
9469 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
9470 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
9471 * sysdeps/riscv/rvf/fegetround.c: Likewise.
9472 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
9473 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
9474 * sysdeps/riscv/rvf/fesetround.c: Likewise.
9475 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
9476 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
9477 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
9478 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9479 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
9480 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9481 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
9482 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
9483 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
9484 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
9485 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
9486 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
9487 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
9488 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
9489 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
9490 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9491
a6e8926f
PP
94922018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9493
9494 [BZ #20271]
9495 * include/stdio.h (__libc_fatal): Mention newline in comment.
9496 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
9497 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
9498 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9499 * nss/nsswitch.c (__nss_next2): Likewise.
9500 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
9501 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
9502 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
9503 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9504 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
9505 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
9506 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
9507 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
9508 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
9509 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
9510 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
9511 * sysdeps/unix/sysv/linux/netlink_assert_response.c
9512 (__netlink_assert_response): Likewise.
9513
2bbd06bc
JM
95142018-08-31 Joseph Myers <joseph@codesourcery.com>
9515
9516 * conform/glibcconform.py: New file.
9517 * conform/list-header-symbols.py: Likewise.
9518 * conform/list-header-symbols.pl: Remove.
9519 * conform/Makefile (tests-special): Only add linknamespace tests
9520 if [PYTHON].
9521 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
9522
81b9d87b
L
95232018-08-31 H.J. Lu <hongjiu.lu@intel.com>
9524
9525 [BZ #23597]
9526 * support/Makefile (libsupport-routines): Add
9527 support_copy_file_range and xcopy_file_range.
9528 * support/support.h: Include <sys/types.h>.
9529 (support_copy_file_range): New prototype.
9530 * support/support_copy_file_range.c: New file. Copied and
9531 modified from io/copy_file_range-compat.c.
9532 * support/test-container.c (copy_one_file): Call xcopy_file_rang
9533 instead of copy_file_range.
9534 * support/xcopy_file_range.c: New file.
9535 * support/xunistd.h (xcopy_file_range): New prototype.
9536
d330f31a
CD
95372018-08-30 Carlos O'Donell <carlos@redhat.com>
9538
9539 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
9540 xpthread_create and xpthread_join.
9541
2bda273a
FW
95422018-08-30 Florian Weimer <fweimer@redhat.com>
9543
9544 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
9545
3bad2358
SL
95462018-08-30 Stefan Liebler <stli@linux.ibm.com>
9547
9548 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
9549 if malloc fails.
9550
09c12efc
JM
95512018-08-29 Joseph Myers <joseph@codesourcery.com>
9552
9553 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
9554 and minus_oflow as non-finite.
9555
ff6b2450
JM
95562018-08-28 Joseph Myers <joseph@codesourcery.com>
9557
9558 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
9559 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
9560 moved to fenv_private.h except for ...
9561 (TOINT_INTRINSICS): Kept in math_private.h.
9562 (roundtoint): Likewise.
9563 (converttoint): Likewise.
9564 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
9565 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9566 * sysdeps/arm/math_private.h: Remove.
9567 * sysdeps/generic/fenv_private.h: New file. Contents moved from
9568 ....
9569 * sysdeps/generic/math_private.h: ... this file. Include
9570 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
9571 Include <fenv_private.h>. Remove functions and macros moved to
9572 fenv_private.h.
9573 * sysdeps/i386/fpu/math_private.h: Remove.
9574 * sysdeps/mips/math_private.h: Move to ....
9575 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
9576 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
9577 [__mips_hard_float] conditional. Include next <fenv_private.h>.
9578 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
9579 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9580 * sysdeps/powerpc/fpu/math_private.h: Do not include
9581 <fenv_private.h>.
9582 * sysdeps/riscv/rvf/math_private.h: Move to ....
9583 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
9584 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
9585 <fenv_private.h>.
9586 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
9587 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9588 * sysdeps/sparc/fpu/math_private.h: Remove.
9589 * sysdeps/i386/fpu/fenv_private.h: Move to ....
9590 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
9591 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
9592 <fenv_private.h>.
9593 * sysdeps/x86_64/fpu/math_private.h: Do not include
9594 <sysdeps/i386/fpu/fenv_private.h>.
9595
761404b7
FW
95962018-08-28 Florian Weimer <fweimer@redhat.com>
9597
9598 [BZ #23578]
9599 * posix/tst-regcomp-truncated.c: New file.
9600 * posix/Makefile (tests): Add it.
9601 (tst-regcomp-truncated.out): Depend on generated locales.
9602
d6c44c3d
FW
96032018-08-28 Florian Weimer <fweimer@redhat.com>
9604
9605 * support/test-container.c (main): Treat unshare failure with
9606 EPERM as an unsupported test.
9607
745664bd
FW
96082018-08-28 Florian Weimer <fweimer@redhat.com>
9609
9610 [BZ #23520]
9611 nscd: Fix use-after-free in addgetnetgrentX and its callers.
9612 * nscd/netgroupcache.c
9613 (addgetnetgrentX): Add tofreep parameter. Do not free
9614 heap-allocated buffer.
9615 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
9616 (addgetnetgrentX_ignore): New function.
9617 (addgetnetgrent): Call it.
9618 (readdgetnetgrent): Likewise.
9619
c8dd67e7
RS
96202018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9621
9622 * string/memmem.c: Use memcmp for first match.
9623
5abedf97
RL
96242018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
9625
9626 [BZ #17426]
9627 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
9628
86de0499
DD
96292018-08-27 DJ Delorie <dj@redhat.com>
9630
9631 * support/Makefile (others): Don't list programs explicitly as a
9632 dependency of "others".
9633
c3ab2110
JM
96342018-08-27 Joseph Myers <joseph@codesourcery.com>
9635
9636 * sysdeps/generic/math-tests-trap-force.h: New file.
9637 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
9638 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
9639 * sysdeps/powerpc/math-tests.h: Remove file.
9640 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
9641
6b5c8607
TS
96422018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
9643 Torvald Riegel <triegel@redhat.com>
99ea93ca
MK
9644
9645 [BZ #23538]
9646 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
9647 Update r to include the set wake-request flag if waiters are
9648 remaining after spinning.
9649
4061791f
JM
96502018-08-27 Joseph Myers <joseph@codesourcery.com>
9651
9652 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
9653
bc680b33
PE
96542018-08-25 Paul Eggert <eggert@cs.ucla.edu>
9655
761404b7 9656 [BZ #23578]
bc680b33
PE
9657 regex: fix uninitialized memory access
9658 I introduced this bug into gnulib in commit
9659 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
9660 eventually it was merged into glibc. The bug was found by
9661 project-repo <bugs@feusi.co> and reported here:
9662 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
9663 Diagnosis and draft fix reported by Assaf Gordon here:
9664 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
9665 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
9666 * posix/regex_internal.c (build_wcs_upper_buffer):
9667 Fix bug when mbrtowc returns 0.
9668
02458a52
CD
96692018-08-24 Carlos O'Donell <carlos@redhat.com>
9670
9671 * po/be.po: Update translation.
9672
acc2842a
DD
96732018-08-24 DJ Delorie <dj@delorie.com>
9674
9675 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
9676 $(libunwind).
9677
6c3a8a9d
PP
96782018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9679
b39d961c
TS
9680 [BZ #23400]
9681 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
9682 create temporary files in source tree.
6c3a8a9d 9683
895ef79e
JM
96842018-08-24 Joseph Myers <joseph@codesourcery.com>
9685
9686 * sysdeps/generic/math-tests-trap.h: New file.
9687 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
9688 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
9689 * sysdeps/aarch64/math-tests.h: Remove file.
9690 * sysdeps/arm/math-tests.h: Likewise.
9691 * sysdeps/riscv/math-tests.h: Likewise.
9692 * sysdeps/aarch64/math-tests-trap.h: New file.
9693 * sysdeps/arm/math-tests-trap.h: Likewise.
9694 * sysdeps/riscv/math-tests-trap.h: Likewise.
9695
ca3aac57
WD
96962018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
9697
9698 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
9699 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
9700 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
9701 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
9702 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
9703 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
9704 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9705 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
9706 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
9707 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9708 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9709 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9710 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9711 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
9712 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
9713 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
9714 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9715 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9716
60bcac09
JM
97172018-08-23 Joseph Myers <joseph@codesourcery.com>
9718
9719 * sysdeps/generic/math-tests-exceptions.h: New file.
9720 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
9721 (EXCEPTION_TESTS_float): Do not define here.
9722 (EXCEPTION_TESTS_double): Likewise.
9723 (EXCEPTION_TESTS_long_double): Likewise.
9724 (EXCEPTION_TESTS_float128): Likewise.
9725 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
9726 Likewise.
9727 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
9728 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
9729 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
9730 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
9731 * sysdeps/mips/math-tests.h: Likewise.
9732 * sysdeps/nios2/math-tests.h: Likewise.
9733 * sysdeps/riscv/math-tests.h [!__riscv_flen]
9734 (EXCEPTION_TESTS_float): Do not define here.
9735 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
9736 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
9737 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
9738
3bded567
WD
97392018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
9740
9741 * NEWS: Move optimized sinf entry to 2.29.
9742
900fb446
WD
97432018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
9744
9745 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
9746
561b0bec
DD
97472018-08-22 DJ Delorie <dj@redhat.com>
9748
9749 * Makefile (testroot.pristine): New rules to initialize the
9750 test-in-container "testroot".
9751 * Makerules (all-testsuite): Add tests-container.
9752 * Rules (tests-expected): Add tests-container.
9753 (binaries-all-tests): Likewise.
9754 (tests-container): New, run these tests in the testroot container.
9755 * support/Makefile (others): Add *-container, support_paths.c,
9756 xmkdirp, and links-dso-program.
9757 * support/links-dso-program-c.c: New.
9758 * support/links-dso-program.cc: New.
9759 * support/test-container.c: New.
9760 * support/shell-container.c: New.
9761 * support/echo-container.c: New.
9762 * support/true-container.c: New.
9763 * support/xmkdirp.c: New.
9764 * support/xsymlink.c: New.
9765 * support/support_paths.c: New.
9766 * support/support.h: Add support paths prototypes.
9767 * support/xunistd.h: Add xmkdirp () and xsymlink ().
9768
9769 * nss/tst-nss-test3.c: Convert to test-in-container.
9770 * nss/tst-nss-test3.root/: New.
9771
b35d3509
PE
97722018-08-22 Paul Eggert <eggert@cs.ucla.edu>
9773
9774 regex: port Gnulib code to z/OS POSIX environment
9775 Problem reported by Arnold Robbins in:
9776 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
9777 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
9778 Undef.
9779
16a25138
JM
97802018-08-22 Joseph Myers <joseph@codesourcery.com>
9781
debc4c98
JM
9782 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
9783 (ROUNDING_TESTS_double): Remove.
9784 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
9785 (ROUNDING_TESTS_double): Remove.
9786 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
9787 (ROUNDING_TESTS_double): Remove.
9788 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
9789 (ROUNDING_TESTS_float): Remove.
9790 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
9791 (ROUNDING_TESTS_float): Remove.
9792 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
9793 (ROUNDING_TESTS_float): Remove.
9794 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
9795 !TEST_MATHVEC here.
9796 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9797 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9798
16a25138
JM
9799 * sysdeps/generic/math-tests-rounding.h: New file.
9800 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
9801 (ROUNDING_TESTS_float): Do not define here.
9802 (ROUNDING_TESTS_double): Likewise.
9803 (ROUNDING_TESTS_long_double): Likewise.
9804 (ROUNDING_TESTS_float128): Likewise.
9805 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
9806 (ROUNDING_TESTS_double): Undefine before defining.
9807 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
9808 (ROUNDING_TESTS_double): Undefine before defining.
9809 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
9810 (ROUNDING_TESTS_double): Undefine before defining.
9811 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
9812 (ROUNDING_TESTS_float): Undefine before defining.
9813 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
9814 (ROUNDING_TESTS_float): Undefine before defining.
9815 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
9816 (ROUNDING_TESTS_float): Undefine before defining.
9817 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
9818 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
9819 not define here.
9820 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
9821 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
9822 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
9823 * sysdeps/riscv/math-tests.h [!__riscv_flen]
9824 (ROUNDING_TESTS_float): Do not define here.
9825 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
9826 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
9827 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
9828 (ROUNDING_TESTS_float): Likewise.
9829 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
9830 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
9831 * sysdeps/mips/math-tests.h [__mips_soft_float]
9832 (ROUNDING_TESTS_float): Likewise.
9833 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
9834 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
9835 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
9836 (ROUNDING_TESTS_double): Likewise.
9837 (ROUNDING_TESTS_long_double): Likewise.
9838
38b0593e
TK
98392018-08-21 Tobias Klauser <tklauser@distanz.ch>
9840
9841 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
9842 (PF_XDP): New macro.
9843 (AF_XDP): New macro.
9844 (SOL_XDP): New macro.
9845
5cd7dbde
JM
98462018-08-21 Joseph Myers <joseph@codesourcery.com>
9847
9848 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
9849 (TCP_INQ): Likewise.
9850 (TCP_CM_INQ): Likewise.
9851 (TCP_REPAIR_ON): Likewise.
9852 (TCP_REPAIR_OFF): Likewise.
9853 (TCP_REPAIR_OFF_NO_WP): Likewise.
9854 (struct tcp_zerocopy_receive): New type.
9855
aa42b3db
FW
98562018-08-21 Florian Weimer <fweimer@redhat.com>
9857
9858 * support/support.h (support_descriptor_supports_holes): Declare.
9859 * support/Makefile (libsupport-routines): Add
9860 support_descriptor_supports_holes.
9861 * support/support_descriptor_supports_holes.c: New file.
9862 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
9863 and stop testing if holes are not supported.
9864 * io/test-lfs.c (do_prepare): Likewise.
9865 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
9866 Likewise.
9867 * timezone/tst-tzset.c (create_tz_file): Likewise.
9868 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
9869 variable.
9870 (do_prepare): Set it.
9871 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
9872
c7627f41
FW
98732018-08-21 Florian Weimer <fweimer@redhat.com>
9874
9875 [BZ #17248]
9876 * Makeconfig (+cflags): Do not sort (and deduplicate).
9877
ef939d92
FW
98782018-08-21 Florian Weimer <fweimer@redhat.com>
9879
9880 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
9881 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
9882
88ffb39d
FW
98832018-08-20 Florian Weimer <fweimer@redhat.com>
9884
9885 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
9886 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
9887
17419540
JM
98882018-08-20 Joseph Myers <joseph@codesourcery.com>
9889
e6edd40d
JM
9890 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
9891 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
9892 and ssi_arch members.
9893
17419540
JM
9894 * elf/elf.c (NT_VMCOREDD): New macro.
9895 (AT_MINSIGSTKSZ): Likewise.
9896
fa78896b
RS
98972018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9898
9899 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
9900 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
9901 s_cosf-ppc64 and s_cosf-power8.
9902 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
9903 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9904 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9905 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
9907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
9908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
9909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
9910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
9911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
9912 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
9913 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
9914
86a6c75a
FW
99152018-08-17 Florian Weimer <fweimer@redhat.com>
9916
9917 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9918
35cfefd9
FW
99192018-08-17 Istvan Kurucsai <pistukem@gmail.com>
9920
9921 * malloc/malloc.c (_int_malloc): Additional binning code checks.
9922
6413fcde
FW
99232018-08-16 Florian Weimer <fweimer@redhat.com>
9924
9925 * configure.ac: Add --with-nonshared-cflags option.
9926 * config.make.in (extra-nonshared-cflags): Set variable.
9927 * Makeconfig (CFLAGS-.oS): Use it.
9928 * manual/install.texi (Configuring and compiling): Document
9929 --with-nonshared-cflags.
9930 * configure: Regenerate.
9931 * INSTALL: Likewise.
9932
93a2584c
FW
99332018-08-16 Florian Weimer <fweimer@redhat.com>
9934
9935 * Makeconfig (ASFLAGS): Always append required assembler flags.
9936
f6f275d2 99372018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
d6db68e6
ME
9938
9939 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
9940 (malloc_consolidate): Likewise.
9941
30a17d8c
PC
99422018-08-16 Pochang Chen <johnchen902@gmail.com>
9943
9944 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
9945
953a5a4a
SP
99462018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
9947
34f86d61
SP
9948 * benchtests/bench-strlen.c (do_test): Allocate buffers before
9949 every strlen call.
9950
953a5a4a
SP
9951 * benchtests/bench-strlen.c: Print performance numbers in json.
9952
7793ad7a
RS
99532018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9954
9955 * sysdeps/powerpc/powerpc64/multiarch/Makefile
9956 (sysdep_routines): Build strcmp-power9 and strncmp-power9
9957 only for little endian.
9958 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9959 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
9960 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
9961 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
9962 Add check for little endian.
9963 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
9964 (__strcmp_power9): Add check for little endian.
9965 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
9966 Add check for little endian.
9967 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
9968 (__strncmp_power9): Add check for little endian.
9969 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
9970 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
9971 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
9972 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
9973 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
9974
436e4d5b
SP
99752018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
9976
9977 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
9978 [!STRLEN](STRLEN): Set to __strlen.
9979 * sysdeps/aarch64/multiarch/strlen.c: New file.
9980 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
9981 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
9982 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
9983 (__libc_ifunc_impl_list): Add strlen.
9984 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
9985 strlen_generic and strlen_asimd.
9986
126c4e3f
WD
99872018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
9988
9989 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
9990 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
9991 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
9992
49acec17
WD
99932018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
9994
9995 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
9996
fdb16de3
FW
99972018-08-14 Florian Weimer <fweimer@redhat.com>
9998
9999 [BZ #23519]
10000 * include/stdio.h (__vfxprintf): Declare.
10001 * stdio-common/fxprintf.c (__vfxprintf): New function.
10002 (__fxprintf): Call it.
10003 * misc/err.c (convert_and_print): Remove function.
10004 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
10005 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
10006 * misc/Makefile (tests): Add tst-warn-wide.
10007 * misc/tst-warn-wide.c: New file.
10008
599cf397
WD
100092018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
10010 Szabolcs Nagy <szabolcs.nagy@arm.com>
10011
10012 * NEWS: Mention sinf, cosf, sincosf.
10013 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
10014 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
10015 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
10016 constants rather than including generic sincosf.h.
10017 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
10018 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
10019 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
10020 (reduced_cos): Remove.
10021 (sinf_poly): New function.
10022 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
10023
e95c6f61
FW
100242018-08-14 Florian Weimer <fweimer@redhat.com>
10025
10026 [BZ #23521]
10027 [BZ #23522]
10028 * nss/nss_files/files-alias.c (get_next_alias): During :include:
10029 processing, bail out if no room, and close the stream before
10030 returning ERANGE.
10031 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
10032 (tst-nss-files-alias-leak): Link with libdl.
10033 (tst-nss-files-alias-leak.out): Depend on nss_files.
10034
10035 * nss/tst-nss-files-alias-leak.c: New file.
10036
2d7acfac
FW
100372018-08-14 Florian Weimer <fweimer@redhat.com>
10038
10039 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
10040 server_user, stat_user.
10041
f3cd0904
JM
100422018-08-13 Joseph Myers <joseph@codesourcery.com>
10043
17b26500
JM
10044 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10045 version to 4.18.
10046 (io_pgetevents): New syscall.
10047 (rseq): Likewise.
10048
3c1622eb
JM
10049 * manual/install.texi (Configuring and compiling): Do not list
10050 tools used for testing pretty printers here.
10051 (Tools for Compilation): List Python, PExpect and GDB here.
10052 Update descriptions of uses of Perl and Python.
10053 * INSTALL: Regenerate.
10054
f3cd0904
JM
10055 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10056 version to 4.18.
10057
b7b52b9d
FW
100582018-08-13 Florian Weimer <fweimer@redhat.com>
10059
10060 * misc/error.c (error): Add missing va_end call.
10061 (error_at_line): Likewise.
10062
01780188
FW
100632018-08-13 Florian Weimer <fweimer@redhat.com>
10064
10065 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
10066
44727aec
SP
100672018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10068
8cac1f26
SP
10069 * benchtests/scripts/benchout.schema.json (properties): Add
10070 new properties.
10071
44727aec
SP
10072 * benchtests/bench-skeleton.c (main): Add duration and
10073 iterations attributes.
10074
c77bf91b
PE
100752018-08-10 Paul Eggert <eggert@cs.ucla.edu>
10076
10077 regex: Gnulib unibyte RRI uses bytes not chars
10078 Adjust the non-glibc code to agree with what Gawk needs for
10079 rational range interpretation (RRI) for regular expression ranges.
10080 In unibyte locales, Gawk wants ranges to use the underlying byte
10081 rather than the character code point. This change does not affect
10082 glibc proper.
10083 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
10084 In unibyte locales, use the byte value rather than
10085 running it through btowc.
10086
2ce7ba7d
JM
100872018-08-10 Joseph Myers <joseph@codesourcery.com>
10088
10089 * sysdeps/generic/math-tests-snan.h: New file.
10090 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
10091 (SNAN_TESTS_float): Do not define here.
10092 (SNAN_TESTS_double): Likewise.
10093 (SNAN_TESTS_long_double): Likewise.
10094 (SNAN_TESTS_float128): Likewise.
10095 * sysdeps/i386/fpu/math-tests-snan.h: New file.
10096 * sysdeps/i386/fpu/math-tests.h: Remove file.
10097 * sysdeps/ia64/math-tests-snan.h: New file.
10098 * sysdeps/ia64/math-tests.h: Remove file.
10099 * sysdeps/x86/math-tests.h: Likewise.
10100 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
10101
ea5c662c
WD
101022018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
10103 Szabolcs Nagy <szabolcs.nagy@arm.com>
10104
10105 * math/Makefile: Add s_sincosf_data.c.
10106 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
10107 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
10108 (sincosf_poly): Likewise.
10109 (reduce_small): Likewise.
10110 (reduce_large): Likewise.
10111 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
10112 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
10113 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
10114 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
10115
43cfdf8f
SN
101162018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
10117 Szabolcs Nagy <szabolcs.nagy@arm.com>
10118
10119 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
10120 (converttoint): Use lround.
10121 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
10122 document the semantics when TOINT_INTRINSICS is set.
10123 (converttoint): Likewise.
10124 (TOINT_RINT): Remove.
10125 (TOINT_SHIFT): Remove.
10126 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
10127 path.
10128
69065288
FW
101292018-08-10 Florian Weimer <fweimer@redhat.com>
10130
10131 [BZ #23497]
10132 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
10133 function.
10134 (__old_getdents64): Use getdents64. Convert entries without
10135 moving them.
10136 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
10137 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
10138 tst-readdir64-compat.
10139
8f135efc
IL
101402018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10141
10142 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
10143 Fix unwind.
10144
71c01af5
IL
101452018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10146
10147 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
10148 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
10149 code to s390x-mcount.h and #include it.
10150 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
10151 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
10152 (__fentry__): Add.
10153
8d997d22
IL
101542018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10155
10156 * stdlib/Versions: Remove __fentry__.
10157 * sysdeps/i386/Versions: Add __fentry__.
10158 * sysdeps/x86_64/Versions: Add __fentry__.
10159
69e2444a
IL
101602018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10161
10162 * sysdeps/s390/Makefile: Register the new tests.
10163 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
10164 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
10165 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
10166 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
10167 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
10168 * sysdeps/s390/tst-dl-runtime.c: New file.
10169
bde6320f
IL
101702018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10171
10172 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10173 Do not clobber R0.
10174
5755f5e4
IL
101752018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10176
10177 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
10178 Do not clobber R0.
10179
c8ad8522
IL
101802018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10181
10182 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10183 Do not clobber R0.
10184
b215eee1
IL
101852018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10186
10187 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10188 Do not clobber R0.
10189
329c6fec
IL
101902018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10191
10192 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10193 Use symbolic offsets for stack variables.
10194
0fb7afa2
IL
101952018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10196
10197 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
10198 Use symbolic offsets for stack variables.
10199
6954059a
IL
102002018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10201
10202 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10203 Use symbolic offsets for stack variables.
10204
c7099673
IL
102052018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10206
10207 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10208 Use symbolic offsets for stack variables.
10209
2813e41e
JM
102102018-08-09 Joseph Myers <joseph@codesourcery.com>
10211
10212 * math/gen-libm-test.py: New file.
10213 * math/gen-libm-test.pl: Remove.
10214 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
10215 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
10216 gen-libm-test.pl.
10217 ($(libm-test-c-noauto-obj)): Likewise.
10218 ($(libm-test-c-auto-obj)): Likewise.
10219 ($(libm-test-c-narrow-obj)): Likewise.
10220 (regen-ulps): Likewise.
10221 * math/README.libm-test: Update references to gen-libm-test.pl.
10222 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
10223 referencing gen-libm-test.pl.
10224 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
10225 * math/libm-test-support.c: Likewise.
10226 * math/libm-test-support.h: Likewise.
10227 * sysdeps/generic/libm-test-ulps: Likewise.
10228
be64b194
SP
102292018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
10230
10231 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
10232 Fix value.
10233
140137fb
JM
102342018-08-08 Joseph Myers <joseph@codesourcery.com>
10235
10236 * math/libm-test-nextdown.inc (do_test): Move comment to ....
10237 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
10238
b5403eca
ST
102392018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
10240
10241 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
10242 symbols.
8ac0f9e6
ST
10243 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
10244 __pthread_setspecific): Add hidden proto.
10245 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
10246 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
b5403eca 10247
014efdd7
SP
102482018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
10249
10250 * benchtests/bench-string.h (buf1_size, buf2_size): New
10251 variables.
10252 (init_sizes): New function.
10253 (test_init): Use it.
10254 (alloc_buf, exit_error): New functions.
10255 (alloc_bufs): Use ALLOC_BUF.
10256 (realloc_bufs): Remove.
10257 * benchtests/bench-memcmp.c (do_test): Adjust.
10258 * benchtests/bench-memset-large.c (do_test): Likewise.
10259 * benchtests/bench-memset-walk.c (do_test): Likewise.
10260 * benchtests/bench-memset.c (do_test): Likewise.
10261 * benchtests/bench-strncmp.c (do_test): Likewise.
10262
92a4cba7
AS
102632018-08-06 Andreas Schwab <schwab@suse.de>
10264
10265 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
10266 of CONST_THREAD_AREA.
10267
fb4c32ae
L
102682018-08-06 H.J. Lu <hongjiu.lu@intel.com>
10269
10270 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
10271 (STATE_SAVE_MASK): Likewise.
10272 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
10273 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
10274 (STATE_SAVE_MASK): Likewise.
10275 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
10276 instead of <cpu-features.h>.
10277
bf418187
DD
102782018-08-03 DJ Delorie <dj@redhat.com>
10279
10280 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
e5721f45 10281 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
bf418187 10282
bb17621a
DD
10283 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
10284
ea705eb5
JM
102852018-08-03 Joseph Myers <joseph@codesourcery.com>
10286
10287 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
10288 after TEST_* calls.
10289 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
10290 * math/libm-test-logb.inc (logb_test_data): Likewise.
10291
284f42bc
WD
102922018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
10293
10294 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
10295 * string/strstr.c (AVAILABLE): Likewise.
10296
430388d5
L
102972018-08-03 H.J. Lu <hongjiu.lu@intel.com>
10298
10299 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
10300 <init-arch.h>.
10301 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
10302 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
10303 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
10304
c5760aa9
CD
103052018-08-03 Carlos O'Donell <carlos@redhat.com>
10306
10307 * po/be.po: Update translation.
10308
6b535b84
CD
10309 * po/be.po: Update translation.
10310
ae67f2e5
L
103112018-08-03 H.J. Lu <hongjiu.lu@intel.com>
10312
10313 * sysdeps/x86/cpu-features-offsets.sym
10314 (rtld_global_ro_offsetof): Removed.
10315 (CPU_FEATURES_SIZE): Likewise.
10316 (CPUID_OFFSET): Likewise.
10317 (CPUID_SIZE): Likewise.
10318 (CPUID_EAX_OFFSET): Likewise.
10319 (CPUID_EBX_OFFSET): Likewise.
10320 (CPUID_ECX_OFFSET): Likewise.
10321 (CPUID_EDX_OFFSET): Likewise.
10322 (FAMILY_OFFSET): Likewise.
10323 (MODEL_OFFSET): Likewise.
10324 (FEATURE_OFFSET): Likewise.
10325 (FEATURE_SIZ): Likewise.
10326 (COMMON_CPUID_INDEX_1): Likewise.
10327 (COMMON_CPUID_INDEX_7): Likewise.
10328 (FEATURE_INDEX_1): Likewise.
10329 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
10330
6b5c8607 103312018-08-02 Carlos O'Donell <carlos@redhat.com>
08a5ee14
CD
10332
10333 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
10334 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
10335 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
10336 (install-locales): Depend on install-locale-archive.
10337 (install-locale-archive): Define.
7b7adbd8 10338 (install-locale-files): Define.
08a5ee14
CD
10339 (build-one-locale): Define macro.
10340 * manual/install.texi (Running make install): Document.
10341 * manual/INSTALL: Regenerate.
10342
525691bd
SP
103432018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
10344
d67d634b
SP
10345 * benchtests/scripts/compare_strings.py: Import traceback.
10346 (parse_file): Pretty-print error.
10347
525691bd
SP
10348 * NEWS: Mention the change.
10349 * elf/dl-tunables.list: Rename tune namespace to cpu.
10350 * sysdeps/powerpc/dl-tunables.list: Likewise.
10351 * sysdeps/x86/dl-tunables.list: Likewise.
10352 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
10353 cpu.name.
10354 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
10355 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
10356 * manual/README.tunables: Likewise.
10357 * manual/tunables.texi: Likewise.
10358 * sysdeps/powerpc/cpu-features.c: Likewise.
10359 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
10360 (init_cpu_features): Likewise.
10361 * sysdeps/x86/cpu-features.c: Likewise.
10362 * sysdeps/x86/cpu-features.h: Likewise.
10363 * sysdeps/x86/cpu-tunables.c: Likewise.
10364 * sysdeps/x86_64/Makefile: Likewise.
10365 * sysdeps/x86/dl-cet.c: Likewise.
10366
506d7fb1
JM
103672018-08-02 Joseph Myers <joseph@codesourcery.com>
10368
10369 [BZ #23479]
10370 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
10371 [__mips_hard_float].
10372 (FE_UNDERFLOW): Likewise.
10373 (FE_OVERFLOW): Likewise.
10374 (FE_DIVBYZERO): Likewise.
10375 (FE_INVALID): Likewise.
10376 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
10377 (FE_TOWARDZERO): Define only if [__mips_hard_float].
10378 (FE_UPWARD): Likewise.
10379 (FE_DOWNWARD): Likewise.
10380 (__FE_UNDEFINED): Define if [!__mips_hard_float]
10381 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
10382 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
10383 [__mips_hard_float].
10384 (FP_ROUNDMODE): Likewise.
10385 (FP_RND_NEAREST): Likewise.
10386 (FP_RND_ZERO): Likewise.
10387 (FP_RND_PINF): Likewise.
10388 (FP_RND_MINF): Likewise.
10389 (FP_EX_INVALID): Likewise.
10390 (FP_EX_OVERFLOW): Likewise.
10391 (FP_EX_UNDERFLOW): Likewise.
10392 (FP_EX_DIVZERO): Likewise.
10393 (FP_EX_INEXACT): Likewise.
10394 (FP_INIT_ROUNDMODE): Likewise.
10395 * sysdeps/mips/nofpu/fesetenv.c: New file.
10396 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
10397
f6dcefbe
JM
103982018-08-01 Joseph Myers <joseph@codesourcery.com>
10399
10400 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
10401 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
10402 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
10403 conditional on [FE_UPWARD].
10404
fa67ba06
PE
104052018-08-01 Paul Eggert <eggert@cs.ucla.edu>
10406
10407 regex: fix memory leak in Gnulib
10408 Problem and fix reported by Assaf Gordon in:
10409 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
10410 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
10411 range_ends members too, as they are defined in 'struct
10412 re_charset_t' even if not _LIBC. This affects only Gnulib.
10413
82c80ac2
L
104142018-08-01 H.J. Lu <hongjiu.lu@intel.com>
10415
10416 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
10417 ...
10418 (get_common_indices): This.
10419 (init_cpu_features): Updated.
10420
c0e7e2c1
JM
104212018-08-01 Joseph Myers <joseph@codesourcery.com>
10422
46f8cf57
JM
10423 * sysdeps/generic/math-tests-snan-payload.h: New file.
10424 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
10425 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
10426 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
10427 * sysdeps/generic/math-tests.h: Include
10428 <math-tests-snan-payload.h>.
10429 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
10430 * sysdeps/hppa/math-tests.h: Remove file.
10431 * sysdeps/mips/math-tests.h [!__mips_nan2008]
10432 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
10433 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
10434 Likewise.
10435
c0e7e2c1
JM
10436 * sysdeps/generic/math-tests-snan-cast.h: New file.
10437 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
10438 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
10439 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
10440 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
10441
74939c83
CD
104422018-08-01 Carlos O'Donel <carlos@redhat.com>
10443
b029723b
CD
10444 * version.h (RELEASE): Set to "development".
10445 (VERSION): Set to "2.28.9000".
10446 * NEWS (2.29): New section.
10447
3c03baca
CD
10448 * version.h (RELEASE): Set to "stable".
10449 (VERSION): Set to "2.28".
10450 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
10451 * NEWS: Add the list of bugs fixed in 2.28.
10452
74939c83
CD
10453 * po/ca.po: Update to latest version.
10454 * po/cs.po: Likewise
10455 * po/da.po: Likewise
10456 * po/el.po: Likewise
10457 * po/eo.po: Likewise
10458 * po/es.po: Likewise
10459 * po/fi.po: Likewise
10460 * po/fr.po: Likewise
10461 * po/gl.po: Likewise
10462 * po/hu.po: Likewise
10463 * po/ia.po: Likewise
10464 * po/id.po: Likewise
10465 * po/it.po: Likewise
10466 * po/ja.po: Likewise
10467 * po/ko.po: Likewise
10468 * po/lt.po: Likewise
10469 * po/nb.po: Likewise
10470 * po/nl.po: Likewise
10471 * po/pt_BR.po: Likewise
10472 * po/ru.po: Likewise
10473 * po/rw.po: Likewise
10474 * po/sk.po: Likewise
10475 * po/sl.po: Likewise
10476 * po/tr.po: Likewise
10477 * po/zh_CN.po: Likewise
10478 * po/zh_TW.po: Likewise
10479
d4b54bdf
ST
104802018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10481
10482 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
10483 initialization...
10484 (init): ... before initializing libpthread.
10485
42fc12ef
ST
10486 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
10487 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
10488 (__mach_setup_tls): ... new function.
10489 (mach_setup_tls): New alias.
10490 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
10491 __mach_setup_thread.
10492 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
10493 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
10494 * mach/Versions [libc] (mach_setup_tls): Add symbol.
10495 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
10496
6cca855e
CD
104972018-07-31 Carlos O'Donell <carlos@redhat.com>
10498
f650932b
CD
10499 * manual/install.texi: Update versions.
10500 * INSTALL: Regenerate.
10501
6cca855e
CD
10502 * manual/contrib.texi (Contributors): Update contributions.
10503
07fdea47
CD
105042018-07-31 Carlos O'Donell <carlos@redhat.com>
10505
10506 * po/be.po: Update translations.
10507
63d5fad4
AZ
105082018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10509
10510 * sysdeps/sh/libm-test-ulps: Update.
10511
1ff712a6
CD
105122018-07-30 Carlos O'Donell <carlos@redhat.com>
10513
10514 * po/bg.po: Update translations.
10515 * po/de.po: Likewise.
10516 * po/hr.po: Likewise.
10517 * po/pt_BR.po: Likewise.
10518 * po/sv.po: Likewise.
10519 * po/vi.po: Likewise.
10520
98864ed0
L
105212018-07-30 H.J. Lu <hongjiu.lu@intel.com>
10522
10523 [BZ #23467]
10524 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
10525 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
10526 (CFLAGS-tst-cet-property-1.o): New.
10527 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
10528 ($(objpfx)tst-cet-property-2): Likewise.
10529 ($(objpfx)tst-cet-property-2.out): Likewise.
10530 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
10531 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
10532 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
10533 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
10534 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
10535
c92a00d8
L
105362018-07-30 H.J. Lu <hongjiu.lu@intel.com>
10537
10538 [BZ #23458]
10539 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
10540
99bc6241
ST
105412018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
10542
10543 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
10544 __sbrk): Do not set attribute_hidden.
af86087f 10545 * sysdeps/mach/hurd/not-errno.h: New file.
99bc6241
ST
10546 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
10547 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
10548
bcb1c4af
CD
105492018-07-27 Carlos O'Donell <carlos@redhat.com>
10550
10551 * po/uk.po: Update translations.
10552 * po/cs.po: Likewise.
10553 * po/pl.po: Likewise.
10554
4591b7db
L
105552018-07-27 H.J. Lu <hongjiu.lu@intel.com>
10556
10557 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
10558 parse beyond the note end.
10559
2c6da2f4
AZ
105602018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10561
10562 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
10563 kernel does not support OFD locks.
10564 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
10565
20365a31
ST
105662018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
10567
10568 * sysdeps/mach/hurd/Versions (libc): Make __access and
10569 __access_noerrno external so they can override the ld symbols.
10570 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
10571 __writev, __open64, __access_noerrno extern so they can be overrided.
10572 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
10573 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
10574
cb1a43db
CD
105752018-07-26 Carlos O'Donell <carlos@redhat.com>
10576
10577 * po/libc.pot: Regenerate.
10578
74759ae5
JM
105792018-07-26 Joseph Myers <joseph@codesourcery.com>
10580
10581 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
10582
da80612d
L
105832018-07-26 H.J. Lu <hongjiu.lu@intel.com>
10584
10585 [BZ #23459]
10586 * sysdeps/x86/cpu-features.c (get_extended_indices): New
10587 function.
10588 (init_cpu_features): Call get_extended_indices for both Intel
10589 and AMD CPUs.
10590 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
10591 Remove "for AMD" comment.
10592
65d87ade
L
105932018-07-26 H.J. Lu <hongjiu.lu@intel.com>
10594
10595 [BZ # 23456]
10596 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
10597 COMMON_CPUID_INDEX_80000001.
10598
c9dc4d51
SL
105992018-07-26 Stefan Liebler <stli@linux.ibm.com>
10600
10601 * string/tst-xbzero-opt.c (use_test_buffer): New function.
10602 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
10603
cfba5dbb
FW
106042018-07-26 Florian Weimer <fweimer@redhat.com>
10605
10606 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
10607 aliases for symbols not in the implementation namespace.
10608
6b5c8607 106092018-07-25 Carlos O'Donell <carlos@redhat.com>
7cd7d36f
CD
10610
10611 [BZ #23393]
10612 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
10613 lowercase in LATIN script.
10614 * localedata/Makefile (test-input): Add en_US.UTF-8.
10615 * localedata/en_US.UTF-8.in: New file.
10616 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
10617 and restore old tests.
10618 * posix/tst-regexloc.c (do_test): Add back range expression test.
10619
3fb455b3
L
106202018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10621
10622 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
10623
d6499b70
AZ
106242018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10625
10626 * nptl/threads.h: Move to ...
10627 * sysdeps/nptl/threads.h: ... here.
10628 * sysdeps/hurd/stdc-predef.h: New file.
10629
08ac6bed
L
106302018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10631
10632 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
10633 tst-cet-setcontext-1 if CET is enabled.
10634 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
10635 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
10636
9faaf938
AZ
106372018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10638
10639 * include/threads.h: Move to ...
10640 * sysdeps/nptl/threads.h: ... here.
10641 * sysdeps/htl/threads.h: New file.
10642 * conform/Makefile (linknamespace-libs-ISO11): Use
10643 static-thread-library instead of linking libpthread.
10644 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
10645
d6b8f847
FW
106462018-07-25 Florian Weimer <fweimer@redhat.com>
10647
10648 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
10649 nanoseconds into seconds.
10650 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
10651 (do_test): Likewise.
10652 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
10653 (do_test): Likewise. Avoid nanosecond overflow and spurious
10654 timeouts due to system load.
10655 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
10656 (child_wait): Increment it.
10657 (do_test): Wait as long as necessary until all expected threads
10658 have arrived.
10659
25123a1c
L
106602018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
10661 H.J. Lu <hongjiu.lu@intel.com>
10662
10663 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
10664 __ssp.
10665 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
10666 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
10667 (__push___start_context): New.
10668 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
10669 <asm/prctl.h>.
10670 (__getcontext): Record the current shadow stack base. Save the
10671 caller's shadow stack pointer and base.
10672 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
10673 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
10674 (__push___start_context): New prototype.
10675 (__makecontext): Call __push___start_context to allocate a new
10676 shadow stack, push __start_context onto the new stack as well
10677 as the new shadow stack.
10678 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
10679 <asm/prctl.h>.
10680 (__setcontext): Restore the target shadow stack.
10681 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
10682 <asm/prctl.h>.
10683 (__swapcontext): Record the current shadow stack base. Save
10684 the caller's shadow stack pointer and base. Restore the target
10685 shadow stack.
10686 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
10687 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
10688 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
10689
375a4844
L
106902018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10691
10692 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
10693 tst-setcontext8 and tst-setcontext9.
10694 * stdlib/tst-setcontext6.c: New file.
10695 * stdlib/tst-setcontext7.c: Likewise.
10696 * stdlib/tst-setcontext8.c: Likewise.
10697 * stdlib/tst-setcontext9.c: Likewise.
10698
bd4f7903
L
106992018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10700
10701 * stdlib/Makefile ((tests): Add tst-setcontext5.
10702 * stdlib/tst-setcontext5.c: New file.
10703
7e28f203
L
107042018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10705
10706 * stdlib/Makefile (tests): Add tst-setcontext4.
10707 * stdlib/tst-setcontext4.c: New file.
10708
8516ad2d
L
107092018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10710
10711 * stdlib/Makefile (tests): Add tst-swapcontext1.
10712 * stdlib/tst-swapcontext1.c: New test.
10713
fddcd003
L
107142018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10715
10716 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
10717 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
10718 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
10719 and tst-cet-legacy-4c.
10720 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
10721 and tst-cet-legacy-mod-4.
10722 (CFLAGS-tst-cet-legacy-2.c): New.
10723 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
10724 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
10725 (CFLAGS-tst-cet-legacy-3.c): Likewise.
10726 (CFLAGS-tst-cet-legacy-4.c): Likewise.
10727 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
10728 ($(objpfx)tst-cet-legacy-1): Likewise.
10729 ($(objpfx)tst-cet-legacy-2): Likewise.
10730 ($(objpfx)tst-cet-legacy-2.out): Likewise.
10731 ($(objpfx)tst-cet-legacy-2a): Likewise.
10732 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
10733 ($(objpfx)tst-cet-legacy-4): Likewise.
10734 ($(objpfx)tst-cet-legacy-4.out): Likewise.
10735 ($(objpfx)tst-cet-legacy-4a): Likewise.
10736 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
10737 (tst-cet-legacy-4a-ENV): Likewise.
10738 ($(objpfx)tst-cet-legacy-4b): Likewise.
10739 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
10740 (tst-cet-legacy-4b-ENV): Likewise.
10741 ($(objpfx)tst-cet-legacy-4c): Likewise.
10742 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
10743 (tst-cet-legacy-4c-ENV): Likewise.
10744 * sysdeps/x86/tst-cet-legacy-1.c: New file.
10745 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
10746 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
10747 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
10748 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
10749 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
10750 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
10751 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
10752 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
10753 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
10754 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
10755
9aa3113a
L
107562018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10757
10758 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
10759 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
10760 with ssp_base.
10761 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
10762 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
10763 with ssp_base.
10764
9c79cec8
AS
107652018-07-25 Andreas Schwab <schwab@suse.de>
10766
10767 [BZ #23442]
10768 * locale/weightwc.h (findidx): Handle the case where usrc is a
10769 prefix of cp but one character too short.
10770
969c3355
AZ
107712018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10772
10773 * NEWS: Add ISO C threads addition.
10774
e0f9c462
FW
107752018-07-24 Florian Weimer <fweimer@redhat.com>
10776
10777 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10778 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
10779 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
10780 4.13.
10781
394df381
L
107822018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10783
10784 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
10785 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
10786 <sys/prctl.h> and <asm/prctl.h>.
10787 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
10788 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
10789 and <asm/prctl.h>.
10790 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
10791 ARCH_CET_LEGACY_BITMAP.
10792 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
10793 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
10794 * sysdeps/x86/libc-start.c: Include <startup.h>.
10795
46545530
FW
107962018-07-24 Florian Weimer <fweimer@redhat.com>
10797
10798 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
10799 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
10800
6b5c8607 108012018-07-24 Rical Jasan <rj@2c3t.io>
9d0a979e 10802 Adhemerval Zanella <adhemerval.zanella@linaro.org>
0a07288b
AZ
10803 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
10804
10805 [BZ #14092]
9d0a979e
RJ
10806 * manual/debug.texi: Update adjacent chapter name.
10807 * manual/probes.texi: Likewise.
10808 * manual/threads.texi (ISO C Threads): New section.
10809 (POSIX Threads): Convert to a section.
10810
108112018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10812 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
10813
10814 [BZ# 14092]
0a07288b
AZ
10815 * nptl/Makefile (tests): Add new test files.
10816 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
10817 * nptl/tst-cnd-basic.c: Likewise.
10818 * nptl/tst-cnd-broadcast.c: Likewise.
10819 * nptl/tst-cnd-timedwait.c: Likewise.
10820 * nptl/tst-mtx-basic.c: Likewise.
10821 * nptl/tst-mtx-recursive.c: Likewise.
10822 * nptl/tst-mtx-timedlock.c: Likewise.
10823 * nptl/tst-mtx-trylock.c: Likewise.
10824 * nptl/tst-thrd-basic.c: Likewise.
10825 * nptl/tst-thrd-detach.c: Likewise.
10826 * nptl/tst-thrd-sleep.c: Likewise.
10827 * nptl/tst-tss-basic.c: Likewise.
10828
ce7528f6
AZ
108292018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10830
c6dd669b
AZ
10831 [BZ #14092]
10832 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
10833 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
10834 symbols.
10835 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10836 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10837 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10838 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10839 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10840 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10841 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10842 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10843 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10844 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10845 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10846 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10848 Likewise.
10849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10850 Likewise.
10851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
10852 Likewise.
10853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10854 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
10855 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10856 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10857 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10858 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10859 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10860 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10861 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10862 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
10863 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
10864 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
10865 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
10866 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
10867 Likewise.
10868 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
10869 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
10870 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
10871 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
10872 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
10873 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
10874 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
10875 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
10876 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
10877 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
10878 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
10879 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
10880 ikewise.
10881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
10882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10883 Likewise.
10884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10885 Likewise.
10886 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
10887 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
10888 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
10889 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
10890 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
10891 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
10892 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
10893 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
10894
78d40132
AZ
10895 [BZ #14092]
10896 * conform/data/threads.h-data (thread_local): New macro.
10897 (TSS_DTOR_ITERATIONS): Likewise.
10898 (tss_t): New type.
10899 (tss_dtor_t): Likewise.
10900 (tss_create): New function.
10901 (tss_get): Likewise.
10902 (tss_set): Likewise.
10903 (tss_delete): Likewise.
10904 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
10905 tss_get, and tss_set objects.
10906 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
10907 * nptl/tss_create.c: New file.
10908 * nptl/tss_delete.c: Likewise.
10909 * nptl/tss_get.c: Likewise.
10910 * nptl/tss_set.c: Likewise.
10911 * sysdeps/nptl/threads.h (thread_local): New define.
10912 (TSS_DTOR_ITERATIONS): Likewise.
10913 (tss_t): New typedef.
10914 (tss_dtor_t): Likewise.
10915 (tss_create): New prototype.
10916 (tss_get): Likewise.
10917 (tss_set): Likewise.
10918 (tss_delete): Likewise.
10919
918311a3
AZ
10920 [BZ #14092]
10921 * conform/data/threads.h-data (cnd_t): New type.
10922 (cnd_init): New function.
10923 (cnd_signal): Likewise.
10924 (cnd_broadcast): Likewise.
10925 (cnd_wait): Likewise.
10926 (cnd_timedwait): Likewise.
10927 (cnd_destroy): Likewise.
10928 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
10929 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
10930 object.
10931 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
10932 * nptl/cnd_broadcast.c: New file.
10933 * nptl/cnd_destroy.c: Likewise.
10934 * nptl/cnd_init.c: Likewise.
10935 * nptl/cnd_signal.c: Likewise.
10936 * nptl/cnd_timedwait.c: Likewise.
10937 * nptl/cnd_wait.c: Likewise.
10938 * sysdeps/nptl/threads.h (cnd_t): New type.
10939 (cnd_init): New prototype.
10940 (cnd_signa): Likewise.
10941 (cnd_broadcast): Likewise.
10942 (cnd_wait): Likewise.
10943 (cnd_timedwait): Likewise.
10944 (cnd_destroy): Likewise.
10945
3c20a679
AZ
10946 [BZ #14092]
10947 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
10948 (once_flag): New type.
10949 (call_once): New function.
10950 * nptl/Makefile (libpthread-routines): Add call_once object.
10951 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
10952 * nptl/call_once.c: New file.
10953 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
10954 (once_flag): New type.
10955 (call_once): New prototype.
10956
18d59c1b
AZ
10957 [BZ #14092]
10958 * conform/data/threads.h-data (mtx_plain): New constant.
10959 (mtx_recursive): Likewise.
10960 (mtx_timed): Likewise.
10961 (mtx_t): New type.
10962 (mtx_init): New function.
10963 (mtx_lock): Likewise.
10964 (mtx_timedlock): Likewise.
10965 (mtx_trylock): Likewise.
10966 (mtx_unlock): Likewise.
10967 (mtx_destroy): Likewise.
10968 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
10969 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
10970 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
10971 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
10972 * nptl/mtx_destroy.c: New file.
10973 * nptl/mtx_init.c: Likewise.
10974 * nptl/mtx_lock.c: Likewise.
10975 * nptl/mtx_timedlock.c: Likewise.
10976 * nptl/mtx_trylock.c: Likewise.
10977 * nptl/mtx_unlock.c: Likewise.
10978 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
10979 (mtx_recursive): Likewise.
10980 (mtx_timed): Likewise.
10981 (mtx_t): New type.
10982 (mtx_init): New prototype.
10983 (mtx_lock): Likewise.
10984 (mtx_timedlock): Likewise.
10985 (mtx_trylock): Likewise.
10986 (mtx_unlock): Likewise.
10987 (mtx_destroy): Likewise.
10988
ce7528f6
AZ
10989 [BZ #14092]
10990 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
10991 (linknamespace-libs-ISO11): Add libpthread.a.
10992 * conform/data/threads.h-data: New file: add C11 thrd_* types and
10993 functions.
10994 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
10995 * nptl/Makefile (headers): Add threads.h.
10996 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
10997 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
10998 thrd_yield.
10999 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
11000 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
11001 thrd_join, thrd_sleep, and thrd_yield symbols.
11002 * nptl/descr.h (struct pthread): Add c11 field.
11003 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
11004 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
11005 routine with expected function prototype.
11006 (__pthread_create_2_1): Add C11 threads check based on attribute
11007 value.
11008 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
11009 * nptl/thrd_create.c: New file.
11010 * nptl/thrd_current.c: Likewise.
11011 * nptl/thrd_detach.c: Likewise.
11012 * nptl/thrd_equal.c: Likewise.
11013 * nptl/thrd_exit.c: Likewise.
11014 * nptl/thrd_join.c: Likewise.
11015 * nptl/thrd_priv.h: Likewise.
11016 * nptl/thrd_sleep.c: Likewise.
11017 * nptl/thrd_yield.c: Likewise.
11018 * include/threads.h: Likewise.
11019
e27f41ba
L
110202018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11021
11022 * bits/indirect-return.h: New file.
11023 * misc/sys/cdefs.h (__glibc_has_attribute): New.
11024 * sysdeps/x86/bits/indirect-return.h: Likewise.
11025 * stdlib/Makefile (headers): Add bits/indirect-return.h.
11026 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
11027 (swapcontext): Add __INDIRECT_RETURN.
11028 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
11029 (prepare_test_buffer): Use it.
11030
21526a50
AS
110312018-07-24 Andreas Schwab <schwab@suse.de>
11032
11033 [BZ #23448]
11034 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
11035 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
11036
3650e1d9
L
110372018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11038
11039 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
11040 Redefine if shadow stack is enabled.
11041 (SYSCALL_ERROR_LABEL): Likewise.
11042 (__vfork): Pop shadow stack and jump back to to caller directly
11043 when shadow stack is in use.
11044 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
11045 Redefine if shadow stack is enabled.
11046 (SYSCALL_ERROR_LABEL): Likewise.
11047 (__vfork): Pop shadow stack and jump back to to caller directly
11048 when shadow stack is in use.
11049
ca027e0f
L
110502018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11051
11052 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
11053 enabled.
11054 (foo): Likewise.
11055 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
11056 (foo): Likewise.
11057
b99f1c95
JM
110582018-07-20 Joseph Myers <joseph@codesourcery.com>
11059
11060 * scripts/build-many-glibcs.py (Context.checkout): Default
11061 binutils version to 2.31 branch.
11062
c8fabb84
ZL
110632018-07-20 Zong Li <zong@andestech.com>
11064
11065 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
11066 URL of gcc's tarball.
11067
786658a0
FW
110682018-07-20 Florian Weimer <fweimer@redhat.com>
11069
11070 [BZ #23396]
11071 * posix/regcomp.c (build_equiv_class): When comparing weights, do
11072 not compare an extra byte after the end of the weights.
11073
46f2474e
ST
110742018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
11075
11076 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
11077 to 1.
8ba1520e
ST
11078 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
11079 hidden prototypes.
11080 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
11081 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
2d5c41de
ST
11082 * scripts/check-execstack.awk: Consider `xfail' variable containing a
11083 list of libraries whose stack executability is expected.
11084 * elf/Makefile ($(objpfx)check-execstack.out): Pass
11085 $(check-execstack-xfail) to check-execstack.awk through `xfail'
11086 variable.
11087 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
11088 libc.so libpthread.so.
46f2474e 11089
60088242
TS
110902018-07-20 Thomas Schwinge <tschwinge@gnu.org>
11091
11092 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
11093 SOCK_NONBLOCK.
75d5e4a0
TS
11094 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
11095 and SOCK_NONBLOCK.
de195be0
TS
11096 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
11097 implement __pipe2.
11098 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
60088242 11099
1cf4ae7f
LS
111002018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11101
11102 * benchtests/scripts/compare_bench.py (__main__): use the argparse
11103 library to improve command line parsing.
11104 (__main__): make schema file as optional parameter (--schema),
11105 defaulting to benchtests/scripts/benchout.schema.json.
11106 (main): move out of the parsing stuff to __main_  and leave it
11107 only as caller of main comparison functions.
11108
e84bd851
L
111092018-07-19 H.J. Lu <hongjiu.lu@intel.com>
11110
11111 * NEWS: Add a note for Intel CET status.
11112 * manual/install.texi: Likewise.
11113 * INSTALL: Regenerated.
11114
df467d22
QP
111152018-07-18 Quentin PAGÈS <provaires@quentino.fr>
11116
11117 [BZ #23140]
11118 * localedata/locales/oc_FR (mon): Rename to...
11119 (alt_mon): This, then update October (typo fix).
11120 (mon): New content (genitive case, month names preceded by
11121 "de" or "d’").
11122
11123 [BZ #23422]
11124 * localedata/locales/oc_FR (abday): Update all items.
11125 (day): Update Wednesday and Saturday (typo fixes).
11126 (abmon): Update all items, except May.
11127 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
11128 (LC_IDENTIFICATION): Bump the revision number and date.
11129 Keep the "category" entries in alphabetic order.
11130 (LC_ADDRESS): Remove no longer needed comment.
11131 (LC_COLLATE): Use “copy "ca_ES"”.
11132 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
11133 "name_mrs".
11134
5c112f1b
JM
111352018-07-18 Joseph Myers <joseph@codesourcery.com>
11136
11137 * grp/tst_fgetgrent.c: Include <unistd.h>.
11138 (main): Use mkstemp instead of tmpnam.
11139 * io/test-utime.c (main): Likewise.
11140 * posix/annexc.c (macrofile): Change to modifiable array.
11141 (main): Remove macrofile here.
11142 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
11143 macrofile here.
11144 (check_header): Do not remove macrofile here.
11145 * posix/bug-getopt1.c: Include <stdlib.h>.
11146 (do_test): Use mkstemp instead of tmpnam.
11147 * posix/bug-getopt2.c: Include <stdlib.h>.
11148 (do_test): Use mkstemp instead of tmpnam.
11149 * posix/bug-getopt3.c: Include <stdlib.h>.
11150 (do_test): Use mkstemp instead of tmpnam.
11151 * posix/bug-getopt4.c: Include <stdlib.h>.
11152 (do_test): Use mkstemp instead of tmpnam.
11153 * posix/bug-getopt5.c: Include <stdlib.h>.
11154 (do_test): Use mkstemp instead of tmpnam.
11155 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
11156 (main): Use mkstemp instead of tmpnam.
11157 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
11158 (main): Use mkstemp instead of tmpnam.
11159 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
11160 (main): use mkstemp instead of tmpnam.
11161 * stdlib/isomac.c (macrofile): Change to modifiable array.
11162 (main): Remove macrofile here.
11163 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
11164 macrofile here.
11165 (check_header): Do not remove macrofile here.
11166
6d90776d
L
111672018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11168
11169 * manual/tunables.texi: Document glibc.tune.x86_ibt and
11170 glibc.tune.x86_shstk.
11171
e6c69509
L
111722018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11173
11174 * NEWS: Mention --enable-cet.
11175 * manual/install.texi: Document --enable-cet.
11176 * INSTALL: Regenerated.
11177
e2d40a88
L
111782018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11179
11180 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
11181 Add _CET_NOTRACK before indirect jump to jump table.
11182
77a8ae09
L
111832018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11184
11185 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
11186 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11187 to jump table.
11188
90d15dc5
L
111892018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11190
11191 * sysdeps/i386/i686/multiarch/strcat-sse2.S
11192 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11193 to jump table.
11194
f1574581
L
111952018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11196
11197 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
11198 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11199 to jump table.
11200
7fb61336
L
112012018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11202
11203 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
11204 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11205 to jump table.
11206
0a899af0
L
112072018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11208
11209 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
11210 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11211 to jump table.
11212 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
11213
177824e2
L
112142018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11215
11216 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
11217 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11218 to jump table.
11219
00e7b76a
L
112202018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11221
11222 * sysdeps/i386/i686/multiarch/memset-sse2.S
11223 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11224 to jump table.
11225
7e119cd5
L
112262018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11227
11228 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
11229 indirect jump to jump table.
11230
03aaf49b
L
112312018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11232
11233 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
11234 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11235 to jump table.
11236 (MEMCPY): Likewise.
11237
811e9e52
L
112382018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11239
11240 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
11241 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11242 to jump table.
11243 (MEMCPY): Likewise.
11244
8817df42
L
112452018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11246
11247 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
11248 _CET_NOTRACK before indirect jump to jump table.
11249
921595d1
L
112502018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11251
11252 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
11253 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11254 to jump table.
11255
4ef60d95
L
112562018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11257
11258 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
11259 indirect jump to jump table.
11260
61c4aad7
VT
112612018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
11262
11263 [BZ #22241]
11264 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
11265 (LOCALES): Likewise.
11266 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
11267 * localedata/locales/sah_RU: New file.
11268 * localedata/sah_RU.UTF-8.in: New file.
11269
be9ccd27
L
112702018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11271
11272 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
11273 "sysdep.h".
11274 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
11275 _CET_ENDBR to indirect jump targets and adjust jump destination
11276 for _CET_ENDBR.
11277 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
11278 "sysdep.h".
11279 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
11280 _CET_ENDBR to indirect jump targets and adjust jump destination
11281 for _CET_ENDBR.
11282 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
11283 "sysdep.h".
11284 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
11285 _CET_ENDBR to indirect jump targets and adjust jump destination
11286 for _CET_ENDBR.
11287
5efc6777
L
112882018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11289
11290 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
11291 _CET_ENDBR.
11292
562837c0
L
112932018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11294
11295 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
11296 _CET_ENDBR.
11297 (_dl_tlsdesc_undefweak): Likewise.
11298 (_dl_tlsdesc_dynamic): Likewise.
11299 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
11300 (_dl_tlsdesc_resolve_rel): Likewise.
11301 (_dl_tlsdesc_resolve_rela): Likewise.
11302 (_dl_tlsdesc_resolve_hold): Likewise.
11303 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
11304 (_dl_tlsdesc_undefweak): Likewise.
11305 (_dl_tlsdesc_dynamic): Likewise.
11306 (_dl_tlsdesc_resolve_rela): Likewise.
11307 (_dl_tlsdesc_resolve_hold): Likewise.
11308
124bcde6
L
113092018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11310
11311 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
11312 (_fini): Likewise.
11313 * sysdeps/x86_64/crti.S (_init): Likewise.
11314 (_fini): Likewise.
11315
9145f033
RL
113162018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
11317
11318 [BZ #23140]
11319 * localedata/locales/os_RU (mon): Rename to...
11320 (alt_mon): This.
11321 (mon): Import from CLDR (genitive case).
11322
ba2ea23d
L
113232018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11324
11325 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
11326 cet-tunables.h> when CET is enabled.
11327
f753fa7d
L
113282018-07-16 H.J. Lu <hongjiu.lu@intel.com>
11329
6b5c8607 11330 [BZ #21598]
f753fa7d
L
11331 * configure.ac: Add --enable-cet.
11332 * configure: Regenerated.
11333 * elf/Makefille (all-built-dso): Add a comment.
11334 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
11335 Include <dl-prop.h>.
11336 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
11337 segment.
11338 * elf/dl-open.c: Include <dl-prop.h>.
11339 (dl_open_worker): Call _dl_open_check.
11340 * elf/rtld.c: Include <dl-prop.h>.
11341 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
11342 _rtld_main_check.
11343 * sysdeps/generic/dl-prop.h: New file.
11344 * sysdeps/i386/dl-cet.c: Likewise.
11345 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
11346 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
11347 * sysdeps/x86/cet-tunables.h: Likewise.
11348 * sysdeps/x86/check-cet.awk: Likewise.
11349 * sysdeps/x86/configure: Likewise.
11350 * sysdeps/x86/configure.ac: Likewise.
11351 * sysdeps/x86/dl-cet.c: Likewise.
11352 * sysdeps/x86/dl-procruntime.c: Likewise.
11353 * sysdeps/x86/dl-prop.h: Likewise.
11354 * sysdeps/x86/libc-start.h: Likewise.
11355 * sysdeps/x86/link_map.h: Likewise.
11356 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
11357 _CET_ENDBR.
11358 (_dl_runtime_profile): Likewise.
11359 (_dl_runtime_resolve_shstk): New.
11360 (_dl_runtime_profile_shstk): Likewise.
11361 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
11362 if CET is enabled.
11363 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
11364 (CFLAGS-.os): Likewise.
11365 (CFLAGS-.op): Likewise.
11366 (CFLAGS-.oS): Likewise.
11367 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
11368 is enabled.
11369 (tests-special): Add $(objpfx)check-cet.out.
11370 (cet-built-dso): New.
11371 (+$(cet-built-dso:=.note)): Likewise.
11372 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
11373 ($(objpfx)check-cet.out): New.
11374 (generated): Add check-cet.out.
11375 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
11376 <cet-tunables.h>.
11377 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
11378 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
11379 (init_cpu_features): Call get_cet_status to check CET status
11380 and update dl_x86_feature_1 with CET status. Call
11381 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
11382 (set_x86_shstk). Disable and lock CET in libc.a.
11383 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
11384 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
11385 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
11386 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
11387 (_CET_ENDBR): Define if not defined.
11388 (ENTRY): Add _CET_ENDBR.
11389 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
11390 x86_shstk.
11391 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
11392 _CET_ENDBR.
11393 (_dl_runtime_profile): Likewise.
11394
52b2a80f
RA
113952018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
11396
11397 [BZ #21895]
11398 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
11399 restore r2 on longjmp.
11400 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
11401 test list.
11402 Added rules to build test tst-setjmp-bug21895-static.
11403 Added module setjmp-bug21895 and rules to build a shared object from it.
11404 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
11405 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
11406
3ae725df
WD
114072018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
11408
11409 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
11410 * benchtests/bench-strstr.c: Likewise.
11411 * string/memmem.c (FASTSEARCH): Define.
11412 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
11413 Add support for FASTSEARCH.
11414 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
11415 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
11416 (FASTSEARCH): Define.
11417 * string/test-strcasestr.c: Rename __strnlen to strnlen.
11418 * string/test-strstr.c: Likewise.
11419
31e422ca
L
114202018-07-15 H.J. Lu <hongjiu.lu@intel.com>
11421
11422 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
11423 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
11424
faaee1f0
L
114252018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
11426 H.J. Lu <hongjiu.lu@intel.com>
11427
11428 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
11429 (__longjmp): Restore shadow stack pointer if shadow stack is
11430 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
11431 isn't defined for __longjmp_cancel.
11432 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
11433 (_setjmp): Save shadow stack pointer if shadow stack is enabled
11434 and SHADOW_STACK_POINTER_OFFSET is defined.
11435 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
11436 (setjmp): Save shadow stack pointer if shadow stack is enabled
11437 and SHADOW_STACK_POINTER_OFFSET is defined.
11438 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
11439 (__sigsetjmp): Save shadow stack pointer if shadow stack is
11440 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11441 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
11442 <jmp_buf-ssp.h>.
11443 (____longjmp_chk): Restore shadow stack pointer if shadow stack
11444 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11445 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
11446 Remove jmp_buf-ssp.sym.
11447 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
11448 <jmp_buf-ssp.h>.
11449 (____longjmp_chk): Restore shadow stack pointer if shadow stack
11450 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11451 * sysdeps/x86/Makefile (gen-as-const-headers): Add
11452 jmp_buf-ssp.sym.
11453 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
11454 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
11455 (__longjmp): Restore shadow stack pointer if shadow stack is
11456 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
11457 isn't defined for __longjmp_cancel.
11458 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
11459 (__sigsetjmp): Save shadow stack pointer if shadow stack is
11460 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11461
ebff9c5c
L
114622018-07-14 H.J. Lu <hongjiu.lu@intel.com>
11463
11464 [BZ #22563]
11465 * nptl/pthread_create.c: Include <tls-setup.h>.
11466 (__pthread_create_2_1): Call tls_setup_tcbhead.
11467 * sysdeps/generic/tls-setup.h: New file.
11468 * sysdeps/x86/nptl/tls-setup.h: Likewise.
11469 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
11470 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
11471 Likewise.
11472 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
11473 to feature_1.
11474 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
11475 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
11476 (X86_FEATURE_1_SHSTK): Likewise.
11477 (CET_ENABLED): Likewise.
11478 (IBT_ENABLED): Likewise.
11479 (SHSTK_ENABLED): Likewise.
11480
0a83bad2
RL
114812018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
11482
11483 [BZ #23208]
11484 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
11485 (LOCALES): Likewise.
11486 * localedata/dsb_DE.UTF-8.in: New file.
11487 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
11488
046bfed9
FW
114892018-07-12 Florian Weimer <fweimer@redhat.com>
11490
11491 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
11492 __mprotect, not mprotect.
11493
93304f5f
FW
114942018-07-11 Florian Weimer <fweimer@redhat.com>
11495
11496 * io/Makefile (headers): Add bits/statx.h.
11497
4beefeeb
MF
114982018-07-10 Mike FABIAN <mfabian@redhat.com>
11499
11500 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
11501 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
11502 and headers.
11503 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
11504 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
11505 for utf8_gen.py
11506
fd70af45
FW
115072018-07-10 Florian Weimer <fweimer@redhat.com>
11508
11509 * io/Makefile (routines): Add statx.
11510 (tests-internal): Add tst-statx.
11511 * io/Versions (GLIBC_2.28): Export statx.
11512 * io/bits/statx.h: New file.
11513 * io/sys/stat.h [__USE_GNU]: Include it.
11514 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
11515 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
11516 Define.
11517 * io/statx.c: New file.
11518 * io/statx_generic.: Likewise.
11519 * io/tst-statx.: Likewise.
11520 * include/bits/statx.h: Likewise.
11521 * sysdeps/unix/sysv/linux/kernel-features.h
11522 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
11523 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11524 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
11525 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
11526 Undefine.
11527 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11528 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
11529 * sysdeps/unix/sysv/linux/statx.c: New file.
11530 * manual/filesys.texi: Note that statx is undocumented.
11531 * sysdeps/**/libc*.abilist: Update.
11532
b444e8f7
AZ
115332018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11534
11535 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
11536 a kernel issue which lead to test failure in some cases.
11537
7b2f4ced
FW
115382018-07-10 Florian Weimer <fweimer@redhat.com>
11539
11540 [BZ #23036]
11541 * posix/regexec.c (check_node_accept_bytes): When comparing
11542 weights, do not compare an extra byte after the end of the
11543 weights.
11544
4fa34da6
FW
115452018-07-10 Florian Weimer <fweimer@redhat.com>
11546
11547 * libio/readline.c: Fix copyright year.
11548 * libio/tst-readline.c Likewise.
11549 * nss/tst-nss-files-hosts-getent.c: Likewise.
11550
916124ed
FW
115512018-07-06 Florian Weimer <fweimer@redhat.com>
11552
11553 [BZ #18991]
11554 * nss/nss_files/files-XXX.c (internal_getent): Use
11555 __libc_readline_unlocked. Seek back to the start of the line if
11556 parsing failes with ERANGE.
11557 (get_contents_ret, get_contents): Remove.
11558 * nss/tst-nss-files-hosts-getent.c: New file.
11559 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
11560 (tst-nss-files-hosts-getent): Link with -ldl.
11561
3f5e3f5d
FW
115622018-07-06 Florian Weimer <fweimer@redhat.com>
11563
11564 * include/stdio.h (__libc_readline_unlocked): Declare.
11565 (__ftello64, __fseeko64): Declare aliases.
11566 * libio/readline.c: New file.
11567 * libio/tst-readline.c: Likewise.
11568 (routines): Add readline.
11569 (tests-internal): Add tst-readlime.
11570 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
11571 __libc_readline_unlocked.
11572 * libio/fseeko.c (__fseeko): Rename from fseeko.
11573 (fseeko): Add alias.
11574 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
11575 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
11576 (fseeko64): Add alias.
11577 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
11578 * libio/ftello64.c (__ftello64): Rename from ftello64.
11579 (ftello64): Add alias.
11580
397c54c1
SN
115812018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
11582
11583 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
11584 HWCAP_ATOMICS.
11585
d0cd7980
SN
115862018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
11587
11588 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
11589 Use dl_hwcap without masking.
11590 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
11591 Remove HWCAP_CPUID.
11592
ddb3c626
FW
115932018-07-06 Florian Weimer <fweimer@redhat.com>
11594
11595 * conform/conformtest.pl (checknamespace): Escape literal braces
11596 in regular expressions.
11597
bce5911b
AP
115982018-07-06 Amit Pawar <amit.pawar@amd.com>
11599
11600 * sysdeps/x86/cpu-features.c (get_common_indeces):
11601 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
11602 * sysdeps/x86/cpu-features.c (init_cpu_features):
11603 AVX_Fast_Unaligned_Load is disabled for Excavator core.
11604
3a885c1f
FW
116052018-07-05 Florian Weimer <fweimer@redhat.com>
11606
11607 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
11608 protector.
11609 (CFLAGS-elf-init.oS): Likewise.
11610
38cade0c
FW
116112018-07-05 Florian Weimer <fweimer@redhat.com>
11612 Carlos O'Donell <carlos@redhat.com>
11613
11614 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
11615 $(no-stack-protector). stack_chk_fail_local.c can be compiled
11616 with stack protector enabled because there is no risk of infinite
11617 recursion.
11618
9449a295
MR
116192018-07-05 Maciej W. Rozycki <macro@mips.com>
11620
11621 [BZ #19818]
11622 [BZ #23307]
11623 * libc-abis (ABSOLUTE): New ABI.
11624 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
11625 * NEWS: Mention the new ABI.
11626
d6da5cb6
FW
116272018-07-05 Florian Weimer <fweimer@redhat.com>
11628
11629 [BZ # 17662]
11630 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
11631 (RENAME_WHITEOUT): Define.
11632 [__USE_GNU] (renameat2): Declare.
11633 * stdio-common/Makefile (routines): Add renameat2.
11634 (tests): Add tst-renameat2.
11635 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
11636 * stdio-common/renameat2.c: New file.
11637 * stdio-common/tst-renameat2.c: Likewise.
11638 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
11639 * manual/filesys.texi (Temporary Files): Note that renameat2 is
11640 undocumented.
11641 * sysdeps/unix/sysv/linux/kernel-features.h
11642 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
11643 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11644 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
11645 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11646 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
11647 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11648 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
11649 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11650 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
11651 * include/stdio.h (__renameat): Add alias for renameat.
11652 * stdio-common/renameat.c (__renameat): Rename from renameat.
11653 Add hidden definition and alias.
11654 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
11655 * sysdeps/mach/hurd/renameat.c: Likewise.
11656 * sysdeps/**/libc*.abilist: Add renameat2.
11657
1002d708
AZ
116582018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11659
11660 * posix/bug-regex33.c: Fix build after regex sync.
11661
34fdb893
CD
116622018-07-04 Carlos O'Donell <carlos@redhat.com>
11663
11664 [BZ #23164]
11665 * localedata/tst-langinfo-setlocale.c: New file.
11666 * localedata/tst-langinfo-setlocale-static.c: New file.
11667 * localedata/tst-langinfo-newlocale.c: New file.
11668 * localedata/tst-langinfo-newlocale-static.c: New file.
11669 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
11670 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
11671 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
11672 (tests-static): Remove tst-langinfo-static. Add
11673 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
11674 (tests-special): Remove $(objpfx)tst-langinfo.out,
11675 $(objpfx)tst-langinfo-static.out. Add
11676 $(objpfx)tst-langinfo-setlocale.out,
11677 $(objpfx)tst-langinfo-newlocale.out,
11678 $(objpfx)tst-langinfo-setlocale-static.out,
11679 $(objpfx)tst-langinfo-newlocale-static.out.
11680 ($(objpfx)tst-langinfo.out): Remove.
11681 ($(objpfx)tst-langinfo-static.out): Remove.
11682 ($(objpfx)tst-langinfo-newlocale.out): New target.
11683 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
11684 (test-xfail-tst-langinfo-newlocale-static): Add.
11685 ($(objpfx)tst-langinfo-setlocale.out): New target.
11686 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
11687 * localedata/tst-langinfo.c: Call test_locale.
11688 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
11689 data.
11690
f2873d2d
FW
116912018-07-04 Florian Weimer <fweimer@redhat.com>
11692
11693 testrun.sh: Implement --tool=strace, --tool=valgrind
11694 * Makefile (testrun-script): Define variable.
11695 (testrun.sh): Use variable.
11696 * manual/install.texi (Tools for Compilation): make 4.0 or later
11697 is required.
11698 * configure.ac: Check for make 4.0 or later.
11699 * INSTALL: Regenerate.
11700 * configure: Likewise.
11701
eb04c213
AZ
117022018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11703
11704 [BZ #23233]
11705 [BZ #21163]
11706 [BZ #18986]
11707 [BZ #13762]
11708 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
11709 * posix/PCRE.tests: Remove invalid test.
11710 * posix/bug-regex28.c: Fix expected values for used syntax.
11711 * posix/bug-regex37.c: New file.
11712 * posix/bug-regex38.c: Likewise.
11713 * posix/regcomp.c: Sync with gnulib.
11714 * posix/regex.c: Likewise.
11715 * posix/regex.h: Likewise.
11716 * posix/regex_internal.c: Likewise.
11717 * posix/regex_internal.h: Likewise.
11718 * posix/regexec.c: Likewise.
11719
b11643c2
MF
117202018-06-26 Mike FABIAN <mfabian@redhat.com>
11721
11722 [BZ #23308]
11723 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
11724 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
11725 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
11726 * localedata/unicode-gen/PropList.txt: likewise.
11727 * localedata/unicode-gen/UnicodeData.txt: likewise.
11728 * localedata/charmaps/UTF-8: Regenerate.
11729 * localedata/locales/i18n_ctype: likewise.
11730 * localedata/locales/tr_TR: likewise.
11731 * localedata/locales/translit_circle: likewise.
11732 * localedata/locales/translit_cjk_compat: likewise.
11733 * localedata/locales/translit_combining: likewise.
11734 * localedata/locales/translit_compat: likewise.
11735 * localedata/locales/translit_font: likewise.
11736 * localedata/locales/translit_fraction: likewise.
11737
5a357506
FW
117382018-07-03 Florian Weimer <fweimer@redhat.com>
11739
11740 [BZ #23363]
11741 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
11742 * stdio-common/tst-printf.sh: Adjust expected output.
11743 * LICENSES: Update.
11744
7279af00
AZ
117452018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11746
11747 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
11748 symbol.
11749
b7b88cea
GG
117502018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11751
11752 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
11753 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
11754 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
11755 * stdio-common/tst-printfsz-islongdouble.c: New file.
11756 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
11757 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
11758 [subdir == stdio-common] (routines): Add ieee128-printf_size.
11759 [subdir == stdio-common] (tests-internal): Add
11760 test-printf-size-ieee128, and test-printf-size-ibm128.
11761 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
11762 (CFLAGS-test-printf-size-ibm128.c): New variables.
11763 [subdir == stdio-common] (tests-special): Add
11764 $(objpfx)test-printf-size-ieee128.out and
11765 $(objpfx)test-printf-size-ibm128.out.
11766 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
11767 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
11768 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
11769 __printf_sizeieee128.
11770 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
11771 New file.
11772 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
11773 Likewise.
11774 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
11775 Likewise.
11776
2b445206
SN
117772018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
11778
11779 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
11780 (exp2f_inline): Likewise.
11781 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
11782 (__math_uflowf): Likewise.
11783 (__math_may_uflowf): Likewise.
11784 (__math_divzerof): Likewise.
11785 (__math_invalidf): Likewise.
11786 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
11787 (__math_oflowf): Likewise.
11788 (__math_uflowf): Likewise.
11789 (__math_may_uflowf): Likewise.
11790 (__math_divzerof): Likewise.
11791 (__math_invalidf): Likewise.
11792
2827ab99
CD
117932018-06-29 DJ Delorie <dj@redhat.com>
11794 Carlos O'Donell <carlos@redhat.com>
11795
11796 [BZ #23329]
11797 * include/libc-symbols.h: Comment the freeres framework.
11798 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
11799 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
11800 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
11801 * dlfcn/dlerror.c: Include libc-symbols.h
11802 (__dlerror_main_freeres): New function.
11803 * dlfcn/dlfreeres.c: New file.
11804 * dlfcn/sdlfreeres.c: New file.
11805 * include/dlfcn.h: Declare __dlerror_main_freeres.
11806 * malloc/set-freeres.c: Declare __libdl_freeres, and
11807 __libpthread_freeres.
11808 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
11809 the releavant libraries are loaded.
11810 * malloc/thread-freeres.c: Add comments.
11811 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
11812 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
11813 * nptl/allocatestack.c (__nptl_free_stacks): New function.
11814 (__free_stacks): Rename to...
11815 (free_stacks): ...this. Mark static.
11816 (queue_stack): Call free_stacks.
11817 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
11818 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
11819 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
11820 ptr_freeres element from struct.
11821 (pthread_functions): Remove .ptr_freeres from struct initializer.
11822 [SHARED] (nptl_freeres): Remove.
11823 * nptl/nptlfreeres.c: New file.
11824 * nptl/pthreadP.h
11825 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
11826 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
11827 attribute_hidden.
11828 (__free_stacks): Rename to...
11829 (__nptl_stacks_freeres): ...this.
11830 (__shm_directory_freeres): Declare.
11831 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
11832 (__nptl_unwind_freeres): ...this.
11833 * resolv/res-close.c: Add comment.
11834 * resolv/resolv_conf.c: Include libc-symbols.h.
11835 * string/strerror_l.c: Include libc-symbols.h.
11836 * sunrpc/rpc_thread.c: Include libc-symbols.h.
11837 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
11838 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
11839 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
11840
37d3d244
RS
118412018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11842
11843 * stdlib/tst-strfmon_l.c: Add tests for long double.
11844
a1e0c5fa
MW
118452018-06-29 Michael Wolf <milupo@sorbzilla.de>
11846
11847 [BZ #23208]
11848 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
11849 * localedata/locales/dsb_DE: New file.
11850
2e0c5de6
RL
118512018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
11852
11853 [BZ #23140]
11854 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
11855 genitive case).
11856 (alt_mon): New entry, import from CLDR (nominative case).
11857
cdb52c71
SL
118582018-06-29 Sylvain Lesage <severo@rednegra.net>
11859
11860 [BZ #22996]
11861 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
11862
ce76a5cb
SP
118632018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
11864
0aec4c1d
SP
11865 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
11866 Use vector registers.
11867
ce76a5cb
SP
11868 * sysdeps/aarch64/multiarch/memmove_falkor.S
11869 (__memcpy_falkor): Use vector registers.
11870
7e8989d0
MS
118712018-06-29 Martin Sebor <msebor@redhat.com>
11872
11873 * manual/stdio.texi (Customizing Printf): Mention interaction
11874 with GCC built-ins.
11875
bac15a72
MR
118762018-06-29 Maciej W. Rozycki <macro@mips.com>
11877
11878 [BZ #23307]
11879 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
11880 `st_value' is 0 if `st_shndx' is SHN_ABS.
11881 * elf/tst-absolute-zero.c: New file.
11882 * elf/tst-absolute-zero-lib.c: New file.
11883 * elf/tst-absolute-zero-lib.lds: New file.
11884 * elf/Makefile (tests): Add `tst-absolute-zero'.
11885 (modules-names): Add `tst-absolute-zero-lib'.
11886 (LDLIBS-tst-absolute-zero-lib.so): New variable.
11887 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
11888 ($(objpfx)tst-absolute-zero: New dependency.
11889
e69d994a
ZW
118902018-06-29 Zack Weinberg <zackw@panix.com>
11891
11892 * configure.ac: New command-line option --disable-crypt.
11893 Force --disable-nss-crypt when --disable-crypt is given, with a
11894 warning if it was explicitly enabled.
11895 * configure: Regenerate.
11896 * config.make.in: New boolean substitution variable $(build-crypt).
11897 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
11898 when $(build-crypt).
11899 * manual/install.texi: Document --disable-crypt.
11900 * INSTALL: Regenerate.
11901
11902 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
11903 which is never set.
11904 * conform/Makefile: Only include libcrypt.a in
11905 linknamespace-libs-xsi and linknamespace-libs-XPG4
11906 when $(build-crypt).
11907 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
11908 USE_CRYPT to 1 when $(build-crypt).
11909 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
11910 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
11911 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
11912
841785ba
ZW
119132018-06-29 Zack Weinberg <zackw@panix.com>
11914
11915 * crypt/crypt.h, posix/unistd.h: Update comments and
11916 prototypes for crypt and crypt_r.
11917
11918 * manual/crypt.texi (Cryptographic Functions): New initial
11919 exposition.
11920 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
11921 (Unpredictable Bytes): Improve initial exposition. Clarify error
11922 behavior of getentropy and getrandom.
11923 * manual/examples/genpass.c: Generate a salt using getentropy
11924 instead of the current time. Use hash $5$ (SHA-2-256).
11925 * manual/examples/testpass.c: Demonstrate validation against
11926 hashes generated with three different one-way functions.
11927
11928 * manual/intro.texi: crypt.texi does not need an overview
11929 anymore.
11930
11931 * manual/nss.texi, manual/memory.texi, manual/socket.texi
11932 * manual/terminal.texi: Consistently refer to "passphrases"
11933 * instead of "passwords", and to the "user database" instead
11934 * of the "password database".
11935 * manual/users.texi: Similarly. Add notes about how actual
11936 passphrase hashes are now stored in the shadow database.
11937 Remove 20-year-old junk todo note.
11938
6ab902e4
ZW
119392018-06-29 Zack Weinberg <zackw@panix.com>
11940
11941 * manual/crypt.texi: Use a normal top-level @node declaration.
11942 Move most of the introductory text to the 'crypt' section.
11943 Move the example programs below the @deftypefun for 'crypt_r'.
11944 Move the 'getpass' section...
11945 * manual/terminal.texi: ...here.
11946
b10a0acc
ZW
119472018-06-29 Zack Weinberg <zackw@panix.com>
11948 Florian Weimer <fweimer@redhat.com>
11949
11950 * posix/unistd.h: Do not declare encrypt.
11951 (_XOPEN_CRYPT): Remove macro definition.
11952 (crypt): Declare only for _USE_MISC.
11953 * stdlib/stdlib.h: Do not declare setkey.
11954 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
11955 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
11956
11957 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
11958 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
11959 into compat symbols. Don't define initial_perm if it's not
11960 going to be used.
11961 * crypt/cert.c: Link explicitly with the expected versions for
11962 setkey and encrypt. If they are not available at all, mark
11963 the test as unsupported.
11964
11965 * sunrpc/des_crypt.c: Unconditionally block linkage with
11966 cbc_crypt and ecb_crypt for new binaries.
11967 * sunrpc/des_soft.c: Unconditionally block linkage with
11968 des_setparity for new binaries.
11969
11970 * manual/crypt.texi: Remove the entire "DES Encryption"
11971 section. Also remove the paragraph talking about FIPS 140-2
11972 from the introduction.
11973 * manual/string.texi (strfry, memfrob): Revise. Recommend use
11974 of libgcrypt for "real" encryption, not DES.
11975 * manual/conf.texi (Constants for Sysconf): Mention that
11976 _XOPEN_CRYPT is no longer impelemented.
11977
11978 * conform/data/unistd.h-data: Remove crypt function declaration.
11979
524d796d
FW
119802018-06-29 Florian Weimer <fweimer@redhat.com>
11981
11982 [BZ #23351]
11983 * malloc/hooks.c: Update comments on restoring of dumped heaps.
11984 (disallow_malloc_check): Remove variable.
11985 (__malloc_check_init): Adjust.
11986 (malloc_set_state): Update comment.
11987 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
11988 declarations.
11989
339124ab
RL
119902018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
11991
11992 [BZ #23140]
11993 * localedata/locales/ast_ES (mon): Rename to...
11994 (alt_mon): This.
11995 (mon): Import from CLDR (genitive case).
11996
c1f86a33
DA
119972018-06-29 Daniel Alvarez <dalvarez@redhat.com>
11998 Jakub Sitnicki <jkbs@redhat.com>
11999
12000 [BZ #21812]
12001 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
12002 on NLM_F_DUMP_INTR.
12003
0b11b649
SN
120042018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
12005
12006 * manual/llio.texi: Remove spurious space.
12007
c1c2848b
FW
120082018-06-28 Florian Weimer <fweimer@redhat.com>
12009
12010 [BZ #23349]
12011 * time/bits/types/struct_timespec.h: Change header inclusion guard to
12012 _STRUCT_TIMESPEC.
12013
86a0f561
RS
120142018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12015
12016 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
6b5c8607 12017 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
86a0f561
RS
12018 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
12019 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
12020 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
12021 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
12022 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
12023
780684eb
MR
120242018-06-27 Maciej W. Rozycki <macro@mips.com>
12025
12026 [BZ #23266]
12027 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
12028 Copy and null-terminate entries that are not terminated, in
12029 addition to empty ones.
12030
c49e1822
FW
120312018-06-27 Florian Weimer <fweimer@redhat.com>
12032
12033 [BZ #18023]
b39d961c
TS
12034 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
12035 (extend_alloca_account): Remove.
c49e1822
FW
12036 * manual/stdio.texi (Variable Arguments Output): Update comment.
12037
a833e627
JM
120382018-06-27 Joseph Myers <joseph@codesourcery.com>
12039
12040 * nptl/sockperf.c: Remove file.
12041
92d6aa85
FW
120422018-06-27 Florian Weimer <fweimer@redhat.com>
12043
12044 [BZ #18023]
12045 * elf/dl-deps.c (_dl_map_object_deps): Use struct
12046 scratch_buffer instead of extend_alloca.
12047
890c2ced
FW
120482018-06-27 Florian Weimer <fweimer@redhat.com>
12049
12050 [BZ #18023]
12051 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
12052 scratch_buffer instead of extend_alloca. Update comments.
12053
4272059d
FW
120542018-06-27 Florian Weimer <fweimer@redhat.com>
12055
12056 [BZ #18023]
12057 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
12058 instead of extend_alloca.
12059
27f10a09
JM
120602018-06-26 Joseph Myers <joseph@codesourcery.com>
12061
12062 [BZ #13888]
12063 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
12064 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
12065 /tmp.
12066 * scripts/test-installation.pl: Put temporary files in build
12067 directory, not /tmp.
12068 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
12069 (CFLAGS-bug4.c): Likewise.
12070 (CFLAGS-bug5.c): Likewise.
12071 (CFLAGS-test-fseek.c): Likewise.
12072 (CFLAGS-test-popen.c): Likewise.
12073 (CFLAGS-test_rdwr.c): Likewise.
12074 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
12075 /tmp.
12076 * stdio-common/bug4.c (main): Likewise.
12077 * stdio-common/bug5.c (main): Likewise.
12078 * stdio-common/test-fseek.c (TESTFILE): Likewise.
12079 * stdio-common/test-popen.c (do_test): Likewise.
12080 * stdio-common/test_rdwr.c (main): Likewise.
12081
05598a09
PF
120822018-06-26 Patsy Franklin <pfrankli@redhat.com>
12083
12084 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
12085 (sem_open): Set sem.newsem.pad to zero for valgrind.
12086
06ab719d
AZ
120872018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12088
12089 [BZ #20251]
12090 * NEWS: Mention fcntl64 addition.
12091 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
12092 * login/utmp_file.c: Likewise.
12093 * sysdeps/posix/fdopendir.c: Likewise.
12094 * sysdeps/posix/opendir.c: Likewise.
12095 * sysdeps/unix/pt-fcntl.c: Likewise.
12096 * include/fcntl.h (__libc_fcntl64, __fcntl64,
12097 __fcntl64_nocancel_adjusted): New prototype.
12098 (__fcntl_nocancel_adjusted): Remove prototype.
12099 * io/Makefile (routines): Add fcntl64.
12100 (CFLAGS-fcntl64.c): New rule.
12101 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
12102 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
12103 * io/fcntl.h (fcntl64): Add prototype and redirect if
12104 __USE_FILE_OFFSET64 is defined.
12105 * io/fcntl64.c: New file.
12106 * manual/llio.text: Add a note for which commands fcntl acts a
12107 cancellation point.
12108 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
12109 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
12110 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
12111 New symbols.
12112 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
12113 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
12114 non-LFS case.
12115 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
12116 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
12117 to __fcntl64_nocancel.
12118 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
12119 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
12120 to __fcntl64_nocancel.
12121 * sysdeps/generic/not-cancel.h: Likewise.
12122 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
12123 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
12124 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
12125 (fcntl64): New symbol.
12126 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12127 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12128 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12131 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12132 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12133 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12134 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12135 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12136 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
12137 fcntl64): Likewise.
12138 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12139 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
12140 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12141 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12142 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12143 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12144 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12145 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12146 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12148 Likewise.
12149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12150 Likewise.
12151 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12152 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12153 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12154
124e0258
FW
121552018-06-26 Florian Weimer <fweimer@redhat.com>
12156
12157 Run thread shutdown functions in an explicit order.
12158 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
12159 definition.
12160 (__libc_thread_freeres): Call thread shutdown functions
12161 explicitly.
12162 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
12163 * include/string.h (__strerror_thread_freeres): Declare.
12164 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
12165 arena_thread_freeres. No longer static. Remove thread shutdown
12166 hook registration.
12167 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
12168 Declare.
12169 * resolv/res-close.c (__res_thread_freeres): Renamed from
12170 res_thread_freeres. No longer static. Remove thread shutdown
12171 hook registration.
12172 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
12173 * resolv/resolv_conf.c (freeres): Remove incorrect section
12174 attribute and use libc_freeres_fn.
12175 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
12176 strerror_thread_freeres. No longer static. Remove thread
12177 shutdown hook registration.
12178 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
12179 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
12180 shutdown hook registration.
12181 * Makerules (shlib.lds): Do not provide section boundary symbols
12182 for __libc_thread_subfreeres.
12183 * manual/memory.texi (Basic Allocation): Update comment.
12184
935d920e
FW
121852018-06-26 Florian Weimer <fweimer@redhat.com>
12186
12187 Remove always-defined _RPC_THREAD_SAFE_ macro.
12188 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
12189 Do not define _RPC_THREAD_SAFE_.
12190 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
12191 conditional.
12192 * sunrpc/clnt_perr.c: Likewise.
12193 * sunrpc/clnt_raw.c: Likewise.
12194 * sunrpc/clnt_simp.c: Likewise.
12195 * sunrpc/key_call.c: Likewise.
12196 * sunrpc/rpc_common.c: Likewise.
12197 * sunrpc/rpc_main.c: Likewise.
12198 * sunrpc/rpc_thread.c: Likewise.
12199 * sunrpc/svc.c: Likewise.
12200 * sunrpc/svc_raw.c: Likewise.
12201 * sunrpc/svc_simple.c: Likewise.
12202 * sumrpc/svcauth_des.c: Likewise.
12203
29055464
FW
122042018-06-26 Florian Weimer <fweimer@redhat.com>
12205
12206 * libio/Makefile (tests-internal): Add tst-vtables,
12207 tst-vtables-interposed.
12208 * libio/tst-vtables.c: New file.
12209 * libio/tst-vtables-common.c: Likewise.
12210 * libio/tst-vtables-interposed.c: Likewise.
12211
5c0202af
FW
122122018-06-26 Florian Weimer <fweimer@redhat.com>
12213
12214 * support/support_test_main.c (support_test_main): Only call
12215 setvbuf if not disables.
12216 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
12217 * support/test-driver.h (struct test_config): Add no_setvbuf member.
12218
c402355d
FW
122192018-06-26 Florian Weimer <fweimer@redhat.com>
12220
12221 [BZ #23313]
12222 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
12223
43b1048a
FW
122242018-06-25 Florian Weimer <fweimer@redhat.com>
12225
12226 [BZ #18023]
12227 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12228 Use struct scratch_buffer instead of extend_alloca.
12229
1599ed4e
FW
122302018-06-25 Florian Weimer <fweimer@redhat.com>
12231
12232 [BZ #18023]
12233 * nss/getent.c (initgroups_keys): Use dynarray instead of
12234 extend_alloca.
12235
a26fe163
FW
122362018-06-25 Florian Weimer <fweimer@redhat.com>
12237
12238 [BZ #18023]
12239 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
12240 Use struct scratch_buffer instead of extend_alloca.
12241
90d9d9ce
FW
122422018-06-25 Florian Weimer <fweimer@redhat.com>
12243
12244 [BZ #18023]
12245 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
12246 back to malloc directly, without stack allocations.
12247
6b7b2aba
FW
122482018-06-25 Florian Weimer <fweimer@redhat.com>
12249
12250 [BZ #18023]
12251 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
12252 of extend_alloca.
12253
2f9f0d18
FW
122542018-06-25 Florian Weimer <fweimer@redhat.com>
12255
12256 [BZ #18023]
12257 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
12258 of extend_alloca.
12259 * nscd/hstcache.c (addhstbyX): Likewise.
12260 * nscd/pwdcache.c (addpwbyX): Likewise.
12261 * nscd/servicescache.c (addservbyX): Likewise.
12262
318bad78
FW
122632018-06-25 Florian Weimer <fweimer@redhat.com>
12264
12265 [BZ #18023]
12266 * nscd/connections.c (read_cmdline): New function.
12267 (restart): Use it. Update comment.
12268
189699ab
RL
122692018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
12270
12271 [BZ #23140]
12272 * localedata/locales/csb_PL (mon): Rename to...
12273 (alt_mon): This.
12274 (abmon): Rename to...
12275 (ab_alt_mon): This.
12276 (mon): Add with proper genitive forms, copy from Wikipedia.
12277 (abmon): Likewise.
12278
0ea3f13c
RL
122792018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
12280
12281 [BZ #19485]
12282 * localedata/locales/csb_PL (mon): Fix typos:
12283 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
12284 (yesstr): Add, value is "jo".
12285 (nostr): Add, value is "nié".
12286
d93f4ff1
TMQMF
122872018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12288
12289 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
12290 all log1p and significand functions on m680x0.
12291 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
12292 of s_significand.c..
12293 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
12294 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
12295 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
12296 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
12297 s_log1p.c and include it..
12298
f6299d2a
VC
122992018-06-21 Vincent Chen <vincentc@andestech.com>
12300
12301 * elf/elf.h (R_NDS32_NONE): New define.
12302 (R_NDS32_32_RELA): Likewise.
12303 (R_NDS32_COPY): Likewise.
12304 (R_NDS32_GLOB_DAT): Likewise.
12305 (R_NDS32_JUMP_SLOT): Likewise.
12306 (R_NDS32_RELATIVE): Likewise.
12307 (R_NDS32_TLS_TPOFF): Likewise.
12308 (R_NDS32_TLS_DESC): Likewise.
12309
61ab61c2
MW
123102018-06-21 Mark Wielaard <mark@klomp.org>
12311
12312 * elf/elf.h (R_BPF_MAP_FD): Removed.
12313 (R_BPF_64_64, R_BPF_64_32): New.
12314
f496b28e
FW
123152018-06-21 Florian Weimer <fweimer@redhat.com>
12316
12317 [BZ #23253]
12318 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
12319 Renamed from libc_feholdsetround_ctx.
12320 (default_libc_feresetround_ctx): Renamed from
12321 libc_feresetround_ctx.
12322 (default_libc_feholdsetround_noex_ctx): Renamed from
12323 libc_feholdsetround_noex_ctx.
12324 (default_libc_feresetround_noex_ctx): Renamed from
12325 libc_feresetround_noex_ctx.
12326 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
12327 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
12328 forwardning to the old implementations under the new names.
12329 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
12330 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
12331 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
12332 (libc_feresetround_ctx): Forward to default implements for i386
12333 and MATH_SET_BOTH_ROUNDING_MODES.
12334 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
12335 Add -DMATH_SET_BOTH_ROUNDING_MODES.
12336
1760daad
JM
123372018-06-20 Joseph Myers <joseph@codesourcery.com>
12338
99c7adf9
JM
12339 * string/tst-cmp.c: Include <libc-diag.h>.
12340 (strncmp_max): Disable -Wstringop-overflow= around call to
12341 strncmp.
12342 (strncasecmp_max): Disable -Wstringop-overflow= around call to
12343 strncasecmp.
12344
1760daad
JM
12345 * string/bug-strpbrk1.c: Include <libc-diag.h>.
12346 (main): Disable -Wunused-value around call to strpbrk.
12347 * string/bug-strspn1.c: Include <libc-diag.h>.
12348 (main): Disable -Wunused-value around call to strspn.
12349
209ae17c
TMQMF
123502018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12351 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12352
12353 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
12354 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
12355
badba23c
TMQMF
123562018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12357
5e79e029
TMQMF
12358 * math/Makefile (libm-calls): Move s_significandF to...
12359 (gen-libm-calls): ... here.
12360 * math/s_significand_template.c: New file.
12361 * math/s_significand.c: Removed.
12362 * math/s_significandf.c: Removed.
12363 * math/s_significandl.c: Removed.
12364 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
12365 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
12366
badba23c
TMQMF
12367 * math/e_exp2_template.c (declare_mgen_finite_alias,
12368 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
12369 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
12370 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
12371
2d1c89a5
FW
123722018-06-20 Florian Weimer <fweimer@redhat.com>
12373
12374 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
12375
646c2833
JM
123762018-06-19 Joseph Myers <joseph@codesourcery.com>
12377
12378 [BZ #23280]
12379 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
12380 floating-point number to strtod functions rather than possibly
12381 negating result of those functions.
12382 * stdio-common/tst-scanf-round.c: New file.
12383 * stdio-common/Makefile (tests): Add tst-scanf-round.
12384 ($(objpfx)tst-scanf-round): Depend on $(libm).
12385
c77e4dc0
ST
123862018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
12387
12388 * sysdeps/mach/hurd/localplt.data: Move to...
12389 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
12390 R_386_GLOB_DAT like on Linux i386.
12391
91b2f3e5
JM
123922018-06-18 Joseph Myers <joseph@codesourcery.com>
12393
f2857da7
JM
12394 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
12395 (SHM_STAT_ANY): New macro.
12396 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
12397 (SHM_STAT_ANY): Likewise.
12398 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
12399 (SHM_STAT_ANY): Likewise.
12400 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
12401 (SHM_STAT_ANY): Likewise.
12402 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
12403 (SHM_STAT_ANY): Likewise.
12404 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
12405 (SHM_STAT_ANY): Likewise.
12406 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
12407 (SHM_STAT_ANY): Likewise.
12408 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
12409 (SHM_STAT_ANY): Likewise.
12410 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
12411 (SHM_STAT_ANY): Likewise.
12412 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
12413 (SHM_STAT_ANY): Likewise.
12414 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
12415 (SHM_STAT_ANY): Likewise.
12416 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
12417 (SHM_STAT_ANY): Likewise.
12418
176c7fee
JM
12419 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
12420 (SEM_STAT_ANY): New macro.
12421 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
12422 (SEM_STAT_ANY): Likewise.
12423 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
12424 (SEM_STAT_ANY): Likewise.
12425 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
12426 (SEM_STAT_ANY): Likewise.
12427 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
12428 (SEM_STAT_ANY): Likewise.
12429 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
12430 (SEM_STAT_ANY): Likewise.
12431 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
12432 (SEM_STAT_ANY): Likewise.
12433 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
12434 (SEM_STAT_ANY): Likewise.
12435 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
12436 (SEM_STAT_ANY): Likewise.
12437 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
12438 (SEM_STAT_ANY): Likewise.
12439
86bf0019
JM
12440 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
12441 (MSG_STAT_ANY): New macro.
12442 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
12443 (MSG_STAT_ANY): Likewise.
12444 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
12445 (MSG_STAT_ANY): Likewise.
12446 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
12447 (MSG_STAT_ANY): Likewise.
12448 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
12449 (MSG_STAT_ANY): Likewise.
12450 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
12451 (MSG_STAT_ANY): Likewise.
12452 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
12453 (MSG_STAT_ANY): Likewise.
12454 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
12455 (MSG_STAT_ANY): Likewise.
12456 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
12457 (MSG_STAT_ANY): Likewise.
12458 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
12459 (MSG_STAT_ANY): Likewise.
12460
91b2f3e5
JM
12461 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12462 (MAP_TYPE): Change value to 0x2b.
12463
3fe8fc79
FW
124642018-06-18 Florian Weimer <fweimer@redhat.com>
12465
12466 [BZ #15722]
12467 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
12468 socket with SOCK_CLOEXEC.
12469
809dc95d
JM
124702018-06-18 Joseph Myers <joseph@codesourcery.com>
12471
12472 [BZ #23303]
12473 * sysdeps/powerpc/powerpc64/le/Makefile
12474 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
12475 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
12476 (gnulib-tests): Also add $(f128-loader-link) for
12477 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
12478
298a8b59
ST
124792018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
12480
12481 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
12482 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
12483 of sendfile.
12484 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
12485 (sendfile64): New strong alias.
faf7bbc2
ST
12486 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
12487 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
12488 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
f96a85e0
ST
12489 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
12490 attribute.
12491 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
12492 ___pthread_get_cleanup_stack.
932d05f0 12493 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
c1b7586c
ST
12494 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
12495 * mach/shortcut.awk: Make syscall stubs include
12496 <mach-shortcuts-hidden.h> and add hidden definition.
12497 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
7a646a93
ST
12498 (__mach_msg): Add hidden prototype.
12499 * mach/msg.c: Include <mach.h>.
12500 (__mach_msg): Add hidden definition.
b0344cf5
ST
12501 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
12502 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
12503 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
12504 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
8c9d5342
ST
12505 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
12506 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
4d0ac037
ST
12507 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
12508 prototype and definition.
12509 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
12510 hidden target for _hurd_self_sigstate.
298a8b59 12511
b12c1e79
JM
125122018-06-15 Joseph Myers <joseph@codesourcery.com>
12513
12514 [BZ #23007]
12515 * stdlib/tst-strtod-nan-sign-main.c: New file.
12516 * stdlib/tst-strtod-nan-sign.c: Likewise.
12517 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
12518 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
12519 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
12520 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
12521 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
12522
b0debe14
HB
125232018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
12524
12525 [BZ #23007]
12526 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
12527 appropriate sign.
12528
14beef75
FW
125292018-06-14 Florian Weimer <fweimer@redhat.com>
12530
12531 [BZ #23290]
12532 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
12533 that the result stays within the ISO-8859-1 range.
12534 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
12535 characters are defined in IBM273.
12536
c596630b
ST
125372018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
12538
12539 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
12540 __mach_task_self): Remove attribute_hidden.
12541
35ebb6b0
JM
125422018-06-14 Joseph Myers <joseph@codesourcery.com>
12543
12544 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
12545 ignore -Wrestrict for one test.
12546
3c7b9f1f
SE
125472018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
12548 Szabolcs Nagy <szabolcs.nagy@arm.com>
12549
12550 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
12551
c59ee916
FW
125522018-06-14 Florian Weimer <fweimer@redhat.com>
12553
12554 * scripts/update-abilist.sh: Accept empty list of files to patch.
12555
43b5ff50
ST
125562018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
12557
12558 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
12559 test-xfail-check-abi-libmachuser): Add.
c8c910ed
ST
12560 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
12561 __libc_read and __libc_write to __read and __write.
c8c6e6d6 12562 * sysdeps/hurd/include/hurd/port.h: New file.
126b3ec3
ST
12563 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
12564 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
12565 __thread_switch, __evc_wait): Move declarations to...
12566 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
12567 attribute_hidden.
06d1a826
ST
12568 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
12569 use PLT to call _hurd_self_sigstate.
43b5ff50 12570
fcd6b5ac
JM
125712018-06-13 Joseph Myers <joseph@codesourcery.com>
12572
12573 [BZ #23279]
12574 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
12575 MAX_EXP as overflowing.
12576 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
12577 overflow flag.
12578 (round_str): Output also whether result overflows in each rounding
12579 mode.
12580 * stdlib/tst-strtod-round-data: Add more tests.
12581 * stdlib/tst-strtod-round-data.h: Regenerated.
12582 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
12583 (TEST): Handle extra arguments for overflow flags.
12584 (struct test_overflow): New type.
12585 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
12586 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
12587 (test_in_one_mode): Take argument with overflow information.
12588 (do_test): Update calls to test_in_one_mode.
12589
35df5a77
CD
125902018-06-12 Carlos O'Donell <carlos@redhat.com>
12591
a745c837
CD
12592 * elf/dl-load (_dl_dst_substitute): Correct comment.
12593 (_dl_dst_count): Likewise.
12594
35df5a77
CD
12595 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
12596 lll_futex_timed_wait.
12597
48b12ed5
JM
125982018-06-12 Joseph Myers <joseph@codesourcery.com>
12599
12600 [BZ #23277]
12601 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
12602 attribute.
12603 * math/test-nan-const.c: New file.
12604 * math/Makefile (tests): Add test-nan-const.
12605 (CFLAGS-test-nan-const.c): New variable.
12606
cb8f6aff
L
126072018-06-12 H.J. Lu <hongjiu.lu@intel.com>
12608
12609 * benchtests/scripts/compare_strings.py (process_results): Add
12610 funcs argument. Compare only functions which are selected.
12611 (main): Check if base function is among selected functions.
12612 Pass selected functions to process_results.
12613 (__main__): Add -f/--functions argument.
12614
fc2ba803
HZ
126152018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
12616 Hongbo Zhang <hongbo.zhang@linaro.org>
12617
12618 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
12619 __memcpy_falkor for phecda core.
12620 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
12621 __memmove_falkor for phecda core.
12622 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
12623 __memset_falkor for phecda core.
12624 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
12625 for phecda core.
12626 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
12627 macro to identify phecda core.
12628
5aad5f61
CD
126292018-06-12 Carlos O'Donell <carlos@redhat.com>
12630 Andreas Schwab <schwab@suse.de>
12631 Dmitry V. Levin <ldv@altlinux.org>
6b5c8607 12632 Florian Weimer <fweimer@redhat.com>
5aad5f61
CD
12633
12634 [BZ #23102]
12635 [BZ #21942]
12636 [BZ #18018]
12637 [BZ #23259]
12638 CVE-2011-0536
12639 * elf/dl-dst.h: Remove DL_DST_COUNT.
12640 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
12641 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
12642 (is_dst): Comment. Support ELF gABI.
12643 (_dl_dst_count): Comment. Simplify and count DSTs.
12644 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
12645 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
12646 locals.
12647
329ea513
ZW
126482018-06-12 Zack Weinberg <zackw@panix.com>
12649
12650 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
12651 * sysdeps/unix/sysv/linux/dl-sysdep.c
12652 Include not-cancel.h. Use __close_nocancel instead of __close,
12653 __open64_nocancel instead of __open, __read_nocancel instead of
12654 __libc_read, and __write_nocancel instead of __libc_write.
12655
12656 * csu/check_fds.c (check_one_fd)
12657 * sysdeps/posix/fdopendir.c (__fdopendir)
12658 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
b39d961c 12659 instead of __fcntl and/or __libc_fcntl.
329ea513
ZW
12660
12661 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
12662 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
b39d961c 12663 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
329ea513
ZW
12664 Use __open64_nocancel instead of __open_nocancel.
12665
12666 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
12667 hidden_proto declarations to the end and issue them if either
12668 IS_IN(libc) or IS_IN(rtld).
12669 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
12670 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
12671 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
12672 read_nocancel, waitpid_nocancel, write_nocancel.
12673
b39d961c
TS
12674 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
12675 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
12676 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
329ea513 12677
b39d961c
TS
12678 * nptl/pt-fcntl.c: New file.
12679 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
12680 (libpthread-routines): Add pt-fcntl.
12681 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
12682 (__libc_fcntl): Remove attribute_hidden.
329ea513
ZW
12683 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
12684 __fcntl_nocancel_adjusted, not fcntl_common.
b39d961c 12685 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
329ea513
ZW
12686 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
12687 to fcntl_nocancel.c.
12688 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
12689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
12690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12691 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
12692
12693 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
12694 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
12695 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
12696 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
12697 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
12698 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
12699 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
12700 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
12701 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
12702 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
12703 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
12704 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
12705 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
12706 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
12707 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
12708 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
12709 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
12710 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
12711 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
12712 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
12713
b39d961c
TS
12714 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
12715 libpthread-routines.
12716 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
12717 defines nothing.
329ea513 12718
b39d961c
TS
12719 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
12720 __libc_read, and __write instead of __libc_write. Define
12721 __open64 in addition to __open.
329ea513 12722
0221ce2a
L
127232018-06-12 H.J. Lu <hongjiu.lu@intel.com>
12724
12725 [BZ #23250]
12726 [BZ #10686]
12727 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
12728 to _private_tm[3] and add __glibc_reserved2.
12729 Add _Static_assert of offset of __private_ss == 0x30.
12730 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
12731 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
12732
e826574c
FW
127332018-06-12 Florian Weimer <fweimer@redhat.com>
12734
12735 x86: Make strncmp usable from rtld.
12736 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
12737 __strncmp_ia32 if in libc (and not in rtld).
12738 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
12739 strncmp if not in libc (and not to __strncmp_sse2).
12740
c4ad5782
RL
127412018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
12742
12743 [BZ #23140]
12744 * localedata/locales/gd_GB (mon): Rename to...
12745 (alt_mon): This.
12746 (mon): Import from CLDR (genitive case).
12747 * localedata/locales/hsb_DE (mon): Rename to...
12748 (alt_mon): This.
12749 (mon): Import from CLDR (genitive case).
12750 * localedata/locales/wa_BE (mon): Rename to...
12751 (alt_mon): This.
12752 (mon): Add, fill with the proper genitive forms, but CLDR data
12753 is incomplete; completed according to the comments in this file.
12754 (d_t_fmt): Do not use "di" before the month name, no longer needed.
12755
12756 * localedata/locales/wa_BE (country_name): Reword
12757 "Beljike" -> "Beldjike".
12758
ca121b11
JM
127592018-06-11 Joseph Myers <joseph@codesourcery.com>
12760
12761 [BZ #23272]
12762 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
12763 cases of non-finite arguments.
12764 * math/libm-test-fma.inc (fma_test_data): Add more tests.
12765
2b69fecb
JDA
127662018-06-10 John David Anglin <danglin@gcc.gnu.org>
12767
12768 [BZ #23174]
12769 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
12770
283d9851
AZ
127712018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12772
12773 [BZ #23264]
12774 * include/unistd.h (__execvpex): New prototype.
12775 * posix/Makefile (tests): Add tst-spawn4.
12776 (tests-internal): Add tst-spawn4-compat.
12777 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
12778 * posix/tst-spawn4-compat.c: New file.
12779 * posix/tst-spawn4.c: Likewise.
12780 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
12781 binaries as shell scripts.
12782 * sysdeps/posix/spawni.c (__spawni): Likewise.
12783
67c05796
L
127842018-06-08 H.J. Lu <hongjiu.lu@intel.com>
12785
12786 [BZ #23145]
12787 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
12788 ($(all-built-dso:=.dynsym): New target.
12789 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
12790 ($(objpfx)check-initfini.out): New target.
12791 (generated): Add check-initfini.out.
12792 * scripts/check-initfini.awk: New file.
12793 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
12794 (_fini): Likewise.
12795 * sysdeps/alpha/crti.S (_init): Mark as hidden.
12796 (_fini): Likewise.
12797 * sysdeps/arm/crti.S (_init): Mark as hidden.
12798 (_fini): Likewise.
12799 * sysdeps/hppa/crti.S (_init): Mark as hidden.
12800 (_fini): Likewise.
12801 * sysdeps/i386/crti.S (_init): Mark as hidden.
12802 (_fini): Likewise.
12803 * sysdeps/ia64/crti.S (_init): Mark as hidden.
12804 (_fini): Likewise.
12805 * sysdeps/m68k/crti.S (_init): Mark as hidden.
12806 (_fini): Likewise.
12807 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
12808 (_fini): Likewise.
12809 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
12810 (_fini): Likewise.
12811 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
12812 (_fini): Likewise.
12813 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
12814 (_fini): Likewise.
12815 * sysdeps/nios2/crti.S (_init): Mark as hidden.
12816 (_fini): Likewise.
12817 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
12818 (_fini): Likewise.
12819 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
12820 (_fini): Likewise.
12821 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
12822 (_fini): Likewise.
12823 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
12824 (_fini): Likewise.
12825 * sysdeps/sh/crti.S (_init): Mark as hidden.
12826 (_fini): Likewise.
12827 * sysdeps/sparc/crti.S (_init): Mark as hidden.
12828 (_fini): Likewise.
12829 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
12830 (_fini): Likewise.
12831
1c09524e
TMQMF
128322018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12833
12834 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
12835 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
12836 and TF redirection to KFtype and KF only when the default
12837 long double type is not the IEEE 128-bit floating point type.
12838
0e0577c9
JM
128392018-06-05 Joseph Myers <joseph@codesourcery.com>
12840
0c1c33b2
JM
12841 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
12842 macro.
12843 (HWCAP_USCAT): Likewise.
12844 (HWCAP_ILRCPC): Likewise.
12845 (HWCAP_FLAGM): Likewise.
12846 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
12847 Increase to 28.
12848 (_dl_aarch64_cap_flags): Add new flag names.
12849
bef1cbf4
JM
12850 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
12851 (MAP_FIXED_NOREPLACE): New macro.
12852 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
12853 (MAP_FIXED_NOREPLACE): Likewise.
12854 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
12855 (MAP_FIXED_NOREPLACE): Likewise.
12856 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12857 (MAP_FIXED_NOREPLACE): Likewise.
12858 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
12859 (MAP_FIXED_NOREPLACE): Likewise.
12860 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
12861 (MAP_FIXED_NOREPLACE): Likewise.
12862 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
12863 (MAP_FIXED_NOREPLACE): Likewise.
12864 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
12865 (MAP_FIXED_NOREPLACE): Likewise.
12866 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
12867 (MAP_FIXED_NOREPLACE): Likewise.
12868 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
12869 (MAP_FIXED_NOREPLACE): Likewise.
12870 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
12871 (MAP_FIXED_NOREPLACE): Likewise.
12872 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
12873 (MAP_FIXED_NOREPLACE): Likewise.
12874 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
12875 (MAP_FIXED_NOREPLACE): Likewise.
12876 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
12877 (MAP_FIXED_NOREPLACE): Likewise.
12878 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
12879 (MAP_FIXED_NOREPLACE): Likewise.
12880
0e0577c9
JM
12881 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12882 version to 4.17.
12883
ab3a0da0
JM
128842018-06-04 Joseph Myers <joseph@codesourcery.com>
12885
12886 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12887 version to 4.17
12888
d2d9dfb6
ST
128892018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12890
12891 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
12892 int.
12893 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
12894
a650b05e
LS
128952018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12896
12897 * benchtests/scripts/compare_string.py: (process_results) Catch
12898 exception in non-existent base_func and catch exception in
12899 non-existent attribute.
12900 (parse_file) Catch exception if input file does not exist.
12901
195abbf4
LS
129022018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12903
12904 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
12905 options to avoid diff calculation and omit header, respectively.
12906 (main): process --no-diff and --no-header
12907
14570163
LS
129082018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12909 H.J. Lu <hongjiu.lu@intel.com>
12910
12911 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12912 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
12913 wcsncmp-sse2.
12914 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12915 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
12916 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
12917 and __wcsncmp_sse2.
12918 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
12919 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
12920 AVX unaligned load is fast and vzeroupper is preferred.
12921 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
12922 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
12923 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
12924 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
12925 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
12926 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
12927 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
12928 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
12929 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
12930 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
12931 is undefined.
12932
e02c026f
FW
129332018-06-01 Florian Weimer <fweimer@redhat.com>
12934
12935 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
12936 configuring with --disable-multi-arch, building with
12937 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
12938 Haswell-era CPU.
12939
d8c19275
FW
129402018-06-01 Florian Weimer <fweimer@redhat.com>
12941
12942 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
12943 results from building with “-march=x86-64 -mtune=generic
12944 -mfpmath=sse” and running on a Haswell-era CPU.
12945
0d2163eb
JM
129462018-06-01 Joseph Myers <joseph@codesourcery.com>
12947
12948 [BZ #18473]
12949 * soft-fp/sqrttf2.c: Remove file.
12950 * soft-fp/sqrtdf2.c: Move to ....
12951 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
12952 <shlib-compat.h>.
12953 (__sqrtdf2): Make conditional on
12954 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
12955 symbol.
12956 * soft-fp/sqrtsf2.c: Move to ....
12957 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
12958 <shlib-compat.h>.
12959 (__sqrtsf2): Make conditional on
12960 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
12961 symbol.
12962 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
12963 (gcc-double-routines): Remove sqrtdf2.
12964 (gcc-quad-routines): Remove sqrttf2.
12965 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
12966 Do not filter out sqrtsf2 and sqrtdf2.
12967 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12968 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
12969
10450210
FW
129702018-06-01 Florian Weimer <fweimer@redhat.com>
12971
12972 * sysdeps/generic/libcidn.abilist: Remove file.
12973
4e8a6346
FW
129742018-06-01 Florian Weimer <fweimer@redhat.com>
12975
12976 [BZ #23236]
12977 * libio/strfile.h (struct _IO_str_fields): Rename members to
12978 discourage their use and add comment.
12979 (_IO_STR_DYNAMIC): Remove unused macro.
12980 * libio/strops.c (_IO_str_init_static_internal): Do not use
12981 callback pointers. Call malloc and free.
12982 (_IO_str_overflow): Do not use callback pointers. Call malloc
12983 and free.
12984 (enlarge_userbuf): Likewise.
12985 (_IO_str_finish): Call free.
12986 * libio/wstrops.c (_IO_wstr_init_static): Initialize
12987 _allocate_buffer_unused.
12988 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
12989 and free.
12990 (enlarge_userbuf): Likewise.
12991 (_IO_wstr_finish): Call free.
12992 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
12993 _allocate_buffer_unused, _free_buffer_unused.
12994 * libio/memstream.c (__open_memstream): Likewise.
12995 * libio/vasprintf.c (_IO_vasprintf): Likewise.
12996 * libio/wmemstream.c (open_wmemstream): Likewise.
12997
50d004c9
PP
129982018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
12999
13000 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
13001 AMD Ryzen 7 1800X.
13002
2c93fce7
RS
130032018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13004
13005 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
13006 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
13007 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
13008 New file.
13009 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
13010 Likewise.
13011 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
13012
0ce2fa69
FW
130132018-05-29 Florian Weimer <fweimer@redhat.com>
13014
13015 * support/Makefile (libsupport-routines): Add
13016 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
13017 xpthread_barrierattr_setpshared.
13018 * support/xpthread_barrierattr_destroy.c: New file.
13019 * support/xpthread_barrierattr_init.c: Likewise.
13020 * support/xpthread_barrierattr_setpshared.c: Likewise.
13021
7f7b5d8d
L
130222018-05-29 H.J. Lu <hongjiu.lu@intel.com>
13023
13024 [BZ #23206]
13025 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
13026 _r_debug and update DT_DEBUG for debugger.
13027
e4890300
FW
130282018-05-29 Florian Weimer <fweimer@redhat.com>
13029
13030 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
13031 (tst-strtod5i.out): Likewise.
13032
2c753f3e
JM
130332018-05-25 Joseph Myers <joseph@codesourcery.com>
13034
b5453d9f
JM
13035 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
13036 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
13037 (sparc64-quad-routines): New variable. Moved from ....
13038 [$(subdir) = soft-fp] (sysdep_routines): Add
13039 $(sparc64-quad-routines). Moved from ....
13040 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
13041 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
13042 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
13043 moved from ....
13044 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
13045 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
13046 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
13047 * sysdeps/sparc/sparc64/qp_add.c: ... here.
13048 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
13049 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
13050 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
13051 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
13052 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
13053 * sysdeps/sparc/sparc64/qp_div.c: ... here.
13054 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
13055 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
13056 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
13057 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
13058 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
13059 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
13060 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
13061 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
13062 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
13063 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
13064 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
13065 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
13066 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
13067 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
13068 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
13069 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
13070 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
13071 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
13072 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
13073 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
13074 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
13075 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
13076 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
13077 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
13078 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
13079 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
13080 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
13081 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
13082 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
13083 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
13084 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
13085 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
13086 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
13087 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
13088 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
13089 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
13090 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
13091 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
13092 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
13093 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
13094 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
13095 * sysdeps/sparc/sparc64/qp_util.c: ... here.
13096 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
13097 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
13098 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
13099 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
13100 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
13101 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
13102
2c753f3e
JM
13103 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
13104 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
13105 (sparc32-quad-routines): New variable. Moved from ....
13106 [$(subdir) = soft-fp] (sysdep_routines): Add
13107 $(sparc32-quad-routines). Moved from ....
13108 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
13109 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
13110 moved from ....
13111 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
13112 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
13113 * sysdeps/sparc/sparc32/q_add.c: ... here.
13114 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
13115 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
13116 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
13117 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
13118 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
13119 * sysdeps/sparc/sparc32/q_div.c: ... here.
13120 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
13121 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
13122 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
13123 * sysdeps/sparc/sparc32/q_feq.c: ... here.
13124 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
13125 * sysdeps/sparc/sparc32/q_fge.c: ... here.
13126 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
13127 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
13128 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
13129 * sysdeps/sparc/sparc32/q_fle.c: ... here.
13130 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
13131 * sysdeps/sparc/sparc32/q_flt.c: ... here.
13132 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
13133 * sysdeps/sparc/sparc32/q_fne.c: ... here.
13134 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
13135 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
13136 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
13137 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
13138 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
13139 * sysdeps/sparc/sparc32/q_mul.c: ... here.
13140 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
13141 * sysdeps/sparc/sparc32/q_neg.c: ... here.
13142 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
13143 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
13144 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
13145 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
13146 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
13147 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
13148 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
13149 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
13150 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
13151 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
13152 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
13153 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
13154 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
13155 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
13156 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
13157 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
13158 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
13159 * sysdeps/sparc/sparc32/q_sub.c: ... here.
13160 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
13161 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
13162 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
13163 * sysdeps/sparc/sparc32/q_util.c: ... here.
13164 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
13165 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
13166 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
13167 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
13168
c1dc1e1b
TMQMF
131692018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13170 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13171
13172 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
13173 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
13174 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
13175 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
13176
14186e8d
JM
131772018-05-24 Joseph Myers <joseph@codesourcery.com>
13178
13179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
13180 powerpc/soft-fp.
13181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13182 Likewise.
13183 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
13184 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
13185
fb0e10b8
GG
131862018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13187
13188 [BZ #23171]
13189 * math/math.h [C++] (iseqsig): Fix parameter type for the long
13190 double version.
13191
1dfeb17e
JM
131922018-05-23 Joseph Myers <joseph@codesourcery.com>
13193
13194 * sysdeps/sh/Implies: Remove sh/soft-fp.
13195 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
13196 * sysdeps/sh/sfp-machine.h: ... here.
13197
727b38df
L
131982018-05-23 H.J. Lu <hongjiu.lu@intel.com>
13199
13200 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13201 (__mempcpy_erms): Skip zero length.
13202 (__memmove_erms): Likewise.
13203 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13204 (__memset_erms): Likewise.
13205
2834fb46
JM
132062018-05-23 Joseph Myers <joseph@codesourcery.com>
13207
13208 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
13209 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
13210 Add functions moved from ....
13211 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
13212 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
13213 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
13214 from ....
13215 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
13216 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
13217 * sysdeps/alpha/e_sqrtl.c: ... here.
13218 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
13219 * sysdeps/alpha/local-soft-fp.h: ... here.
13220 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
13221 * sysdeps/alpha/ots_add.c: ... here.
13222 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
13223 * sysdeps/alpha/ots_cmp.c: ... here.
13224 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
13225 * sysdeps/alpha/ots_cmpe.c: ... here.
13226 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
13227 * sysdeps/alpha/ots_cvtqux.c: ... here.
13228 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
13229 * sysdeps/alpha/ots_cvtqx.c: ... here.
13230 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
13231 * sysdeps/alpha/ots_cvttx.c: ... here.
13232 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
13233 * sysdeps/alpha/ots_cvtxq.c: ... here.
13234 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
13235 * sysdeps/alpha/ots_cvtxt.c: ... here.
13236 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
13237 * sysdeps/alpha/ots_div.c: ... here.
13238 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
13239 * sysdeps/alpha/ots_mul.c: ... here.
13240 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
13241 * sysdeps/alpha/ots_nintxq.c: ... here.
13242 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
13243 * sysdeps/alpha/ots_sub.c: ... here.
13244 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
13245 * sysdeps/alpha/sfp-machine.h: ... here.
13246
7f9f1ecb
FW
132472018-05-23 Florian Weimer <fweimer@redhat.com>
13248
13249 [BZ #19728]
13250 [BZ #19729]
13251 [BZ #22247]
13252 CVE-2016-6261
13253 CVE-2016-6263
13254 CVE-2017-14062
13255 Switch to extern IDNA implementation (libidn2).
13256 * libidn: Remove subdirectory.
13257 * LICENSES: Do not mention licensing conditions for the removed
13258 libidn code.
13259 * config.h.in (HAVE_LIBIDN): Remove.
13260 * include/dlfcn.h (__libc_dlopen): Update comment.
13261 * include/idna.h: Remove file.
13262 * inet/Makefile (routines): Add idna.
13263 (tests-static, tests-internal): Add tst-idna_name_classify.
13264 (LOCALES): Generate locales for tests.
13265 (tst-idna_name_classify.out): Depend on generated locales.
13266 * inet/idna_name_classify.c: New file.
13267 * inet/tst-idna_name_classify.c: Likewise.
13268 * inet/net-internal.h (__idna_to_dns_encoding)
13269 (__idna_from_dns_encoding): Declare.
13270 * inet/net-internal.h (enum idna_name_classification): Define.
13271 (__idna_name_classify): Declare.
13272 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
13273 __idna_from_dns_encoding.
13274 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
13275 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
13276 name as a fallback in case of encoding errors.
13277 (getnameinfo): Use DEPRECATED_NI_IDN.
13278 * inet/idna.c: New file.
13279 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
13280 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
13281 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
13282 (modules-names): Add tst-no-libidn2.
13283 (extra-test-objs): Add tst-no-libidn2.os.
13284 (LDFLAGS-tst-no-libidn2.so): Set soname.
13285 (LOCALES): Set, and generate locales.
13286 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
13287 (tst-resolv-ai_idn-latin1): Likewise.
13288 (tst-resolv-ai_idn-nolibidn2): Likewise.
13289 (tst-resolv-ai_idn.out): Depend on locales.
13290 (tst-resolv-ai_idn-latin1.out): Depend on locales.
13291 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
13292 tst-no-libidn2.so.
13293 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
13294 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
13295 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
13296 * resolv/tst-resolv-ai_idn.c: New file.
13297 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
13298 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
13299 * resolv/tst-no-libidn2.c: Likewise.
13300 * support/support_format_addrinfo.c (format_ai_flags): Do not
13301 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
13302 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
13303 (gaih_inet): Call __idna_to_dns_encoding and
13304 __idna_from_dns_encoding, and use the original (punycode) name if
13305 __idna_from_dns_encoding fails due to an encoding error.
13306 (getaddrinfo): Use DEPRECATED_AI_IDN.
13307 * sysdeps/unix/inet/Subdirs (libidn): Remove.
13308 * sysdeps/unix/inet/configure: Remove file.
13309 * sysdeps/unix/inet/configure.ac: Likewise.
13310
5f7b841d
FW
133112018-05-23 Florian Weimer <fweimer@redhat.com>
13312
13313 Implement allocate_once.
13314 * include/allocate_once.h: New file.
13315 * misc/allocate_once.c: Likewise.
13316 * misc/tst-allocate_once.c: Likewise.
13317 * misc/Makefile (routines): Add allocate_once.
13318 (tests-internal): Add tst-allocate_once.
13319 (generated): Add tst-allocate_once.mtrace,
13320 tst-allocate_once-mem.out.
13321 (tests-special): Add tst-allocate_once-mem.out.
13322 (tst-allocate_once-ENV): Set MALLOC_TRACE.
13323 (tst-allocate_once-mem.out): Call mtrace.
13324 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
13325
ed983107
L
133262018-05-23 H.J. Lu <hongjiu.lu@intel.com>
13327
13328 [BZ #23196]
13329 * string/test-memcpy.c (do_test1): New function.
13330 (test_main): Call it.
13331
9aaaab7c
AS
133322018-05-23 Andreas Schwab <schwab@suse.de>
13333
13334 [BZ #23196]
13335 CVE-2018-11237
13336 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
13337 (L(preloop_large)): Save initial destination pointer in %r11 and
13338 use it instead of %rax after the loop.
13339 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
13340
5c5c0dd7
JM
133412018-05-22 Joseph Myers <joseph@codesourcery.com>
13342
8f145c77
JM
13343 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
13344 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
13345 -I../soft-fp. Moved from ....
13346 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
13347 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
13348 * sysdeps/aarch64/e_sqrtl.c: ... here.
13349 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
13350 * sysdeps/aarch64/sfp-machine.h: ... here.
13351
3d6302a5
JM
13352 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
13353 -Wmaybe-uninitialized around access to fq[0].
13354 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
13355 Likewise.
13356
5c5c0dd7
JM
13357 [BZ #18471]
13358 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
13359 aliases for non-libc case of versioned symbols.
13360 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
13361 (llseek): Define as compat symbol if
13362 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
13363 with link warning.
13364 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
13365 Make into a compat symbol, disabled for minimum symbol version
13366 GLIBC_2.28 and later.
13367 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
13368
ed0d6988
FW
133692018-05-22 Florian Weimer <fweimer@redhat.com>
13370
13371 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
13372 not add -mpreferred-stack-boundary=4.
13373 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
13374 (stack-align-test-flags): Likewise.
13375 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
13376 Likewise.
13377 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
13378 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
13379 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
13380 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
13381 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
13382 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
13383 (CFLAGS-tst-align2.c): Likewise.
13384
e28e9b1e
L
133852018-05-21 H.J. Lu <hongjiu.lu@intel.com>
13386
13387 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
13388 (index_arch_Prefer_FSRM): Likewise.
13389 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
13390 Also check Prefer_FSRM.
13391 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
13392 Also return OPTIMIZE (erms) for Prefer_FSRM.
13393
1af30adc
L
133942018-05-21 H.J. Lu <hongjiu.lu@intel.com>
13395
13396 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
13397 (index_cpu_FSRM): Likewise.
13398 (reg_FSRM): Likewise.
13399
78274dc8
JM
134002018-05-18 Joseph Myers <joseph@codesourcery.com>
13401
7c67e6e8
JM
13402 * math/gen-tgmath-tests.py: Import sys.
13403 (Tests.__init__): Initialize macros_seen.
13404 (Tests.add_tests): Add macro to macros_seen. Only generate tests
13405 if requested to do so for this macro.
13406 (Tests.add_all_tests): Take argument for macro for which to
13407 generate tests.
13408 (Tests.check_macro_list): New function.
13409 (main): Handle check-list argument and argument specifying macro
13410 for which to generate tests.
13411 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
13412 [PYTHON] (tgmath3-macro-tests): Likewise.
13413 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
13414 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
13415 not test-tgmath3.c.
13416 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
13417 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
13418 to CFLAGS.
13419 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
13420 [PYTHON] ($(foreach
13421 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
13422 rule.
13423 [PYTHON] (tests-special): Add
13424 $(objpfx)test-tgmath3-macro-list.out.
13425 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
13426
ebc129fd
JM
13427 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
13428 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
13429 later.
13430
78274dc8
JM
13431 [BZ #22639]
13432 * time/tzset.c (SECSPERDAY): Cast to time_t.
13433 * time/tst-y2039.c: New file.
13434 * time/Makefile (tests): Add tst-y2039.
13435
6f7fdeeb
LS
134362018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13437
13438 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13439 (PREFETCH_ONE_SET): Remove duplicate line.
13440
e363a91c
FW
134412018-05-17 Florian Weimer <fweimer@redhat.com>
13442
13443 * sysdeps/generic/math-type-macros-double.h: Include
13444 <math-nan-payload-double.h> after <libm-alias-double.h>.
13445 * sysdeps/generic/math-type-macros-float.h: Include
13446 <math-nan-payload-float.h> after <libm-alias-float.h>.
13447 * sysdeps/generic/math-type-macros-float128.h: Include
13448 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
13449 * sysdeps/generic/math-type-macros-ldouble.h: Include
13450 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
13451
dae6c43c
AS
134522018-05-17 Andreas Schwab <schwab@suse.de>
13453
13454 * resolv/res_send.c (__res_context_send): Don't set errno when
13455 returing error after malloc failure.
13456
0068c085
L
134572018-05-17 H.J. Lu <hongjiu.lu@intel.com>
13458
13459 * nptl/allocatestack.c (allocate_stack): Remove the
13460 !__ASSUME_PRIVATE_FUTEX paths.
13461 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
13462 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
13463 Likewise.
13464 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
13465 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13466 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13467 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13468 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
13469 !__ASSUME_PRIVATE_FUTEX path.
13470 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
13471 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
13472 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
13473 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
13474 !__ASSUME_PRIVATE_FUTEX macros.
13475 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
13476 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
13477 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
13478 * sysdeps/unix/sysv/linux/kernel-features.h
13479 (__ASSUME_PRIVATE_FUTEX): Removed.
13480
632a6cbe
JM
134812018-05-17 Joseph Myers <joseph@codesourcery.com>
13482
13483 * math/Makefile (libm-narrow-fns): Add div.
13484 (libm-test-funcs-narrow): Likewise.
13485 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
13486 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
13487 * math/gen-auto-libm-tests.c (test_functions): Add div.
13488 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
13489 (NARROW_DIV_ROUND_TO_ODD): Likewise.
13490 (NARROW_DIV_TRIVIAL): Likewise.
13491 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
13492 macro.
13493 (__ddivl): Likewise.
13494 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
13495 ddiv.
13496 (CFLAGS-nldbl-ddiv.c): New variable.
13497 (CFLAGS-nldbl-fdiv.c): Likewise.
13498 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13499 __nldbl_ddivl.
13500 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
13501 prototype.
13502 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
13503 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
13504 * math/auto-libm-test-in: Add tests of div.
13505 * math/auto-libm-test-out-narrow-div: New generated file.
13506 * math/libm-test-narrow-div.inc: New file.
13507 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
13508 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
13509 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
13510 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
13511 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
13512 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
13513 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
13514 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
13515 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
13516 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
13517 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
13518 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
13519 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
13520 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
13521 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
13522 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
13523 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
13524 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
13525 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13526 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13527 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13528 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13529 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13530 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13531 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13532 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13533 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13534 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13535 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13536 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13537 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13538 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13543 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13544 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13545 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13546 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13547 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13548 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13549 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13550 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13551
8c78faa9
AZ
135522018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13553
13554 [BZ #23178]
13555 * nscd/nscd-client.h (sendfileall): Remove prototype.
13556 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
13557 (handle_request): Use writeall instead of sendfileall.
13558 * nscd/aicache.c (addhstaiX): Likewise.
13559 * nscd/grpcache.c (cache_addgr): Likewise.
13560 * nscd/hstcache.c (cache_addhst): Likewise.
13561 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13562 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
13563 * nscd/pwdcache.c (cache_addpw): Likewise.
13564 * nscd/servicescache.c (cache_addserv): Likewise.
13565 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
13566 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
13567 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
13568 Remove define.
13569
04958880
L
135702018-05-16 H.J. Lu <hongjiu.lu@intel.com>
13571
13572 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
13573 Include <string/strncat.c>.
13574 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
13575 alias.
13576 (__GI___strncat): New hidden alias.
13577
c9992d13
JM
135782018-05-16 Joseph Myers <joseph@codesourcery.com>
13579
13580 * sysdeps/mips/mips32/libm-test-ulps: Update.
13581 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13582
2afece36
FW
135832018-05-16 Florian Weimer <fweimer@redhat.com>
13584
13585 * support/Makefile (libsupport-routines): Add support_quote_blob,
13586 support_test_compare_blob.
13587 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
13588 * support/check.h (TEST_COMPARE_BLOB): Define.
13589 (support_test_compare_blob): Declare.
13590 * support/support.h (support_quote_blob): Declare.
13591 * support/support_quote_blob.c: New file.
13592 * support/support_test_compare_blob.c: Likewise.
13593 * support/tst-support_quote_blob.c: Likewise.
13594 * support/tst-test_compare_blob.c: Likewise.
13595
9761bf4d
FW
135962018-05-16 Florian Weimer <fweimer@redhat.com>
13597
13598 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
13599 of <strtod_nan_double.h>.
13600 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
13601 instead of SET_MANTISSA.
13602 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
13603 of include <strtod_nan_float.h>.
13604 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
13605 instead of <strtod_nan_ldouble.h>.
13606 * stdlib/strtod_nan_double.h: Move to ...
13607 * sysdeps/generic/math-nan-payload-double.h: ... here.
13608 (FLOAT): Remove definition.
13609 (SET_MANTISSA): Rename to ...
13610 (SET_NAN_PAYLOAD): ... this.
13611 * stdlib/strtod_nan_float.h: Move to ...
13612 * sysdeps/generic/math-nan-payload-float.h: ... here.
13613 (FLOAT): Remove definition.
13614 (SET_MANTISSA): Rename to ...
13615 (SET_NAN_PAYLOAD): ... this.
13616 * sysdeps/generic/math-type-macros-double.h: Include
13617 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
13618 instead of <math-svid-compat.h>.
13619 * sysdeps/generic/math-type-macros-float.h: Include
13620 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
13621 instead of <math-svid-compat.h>.
13622 * sysdeps/generic/math-type-macros-float128.h: Include
13623 <math-nan-payload-float128.h>.
13624 * sysdeps/generic/math-type-macros-ldouble.h: Include
13625 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
13626 instead of <math-svid-compat.h>.
13627 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
13628 check for definition.
13629 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
13630 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
13631 Include <ieee754_float128.h>.
13632 (FLOAT): Remove definition.
13633 (SET_MANTISSA): Rename to ...
13634 (SET_NAN_PAYLOAD): ... this.
13635 * sysdeps/ieee754/float128/strtof128_nan.c: Include
13636 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
13637 Do not include <float128_private.h>.
13638 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
13639 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
13640 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
13641 (FLOAT): Remove definition.
13642 (SET_MANTISSA): Rename to ...
13643 (SET_NAN_PAYLOAD): ... this.
13644 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
13645 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
13646 (FLOAT): Remove definition.
13647 (SET_MANTISSA): Rename to ...
13648 (SET_NAN_PAYLOAD): ... this.
13649 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
13650 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
13651 (FLOAT): Remove definition.
13652 (SET_MANTISSA): Rename to ...
13653 (SET_NAN_PAYLOAD): ... this.
13654 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
13655 of "../stdlib/strtod_nan_double.h".
13656 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
13657 of "../stdlib/strtod_nan_float.h".
13658 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
13659 instead of "../stdlib/strtod_nan_ldouble.h".
13660 * manual/arith.texi (Parsing of Floats): Adjust comment.
13661
69a01461
JM
136622018-05-16 Joseph Myers <joseph@codesourcery.com>
13663
13664 * math/Makefile (libm-narrow-fns): Add mul.
13665 (libm-test-funcs-narrow): Likewise.
13666 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
13667 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
13668 * math/gen-auto-libm-tests.c (test_functions): Add mul.
13669 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
13670 (NARROW_MUL_ROUND_TO_ODD): Likewise.
13671 (NARROW_MUL_TRIVIAL): Likewise.
13672 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
13673 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
13674 macro.
13675 (__dmull): Likewise.
13676 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
13677 dmul.
13678 (CFLAGS-nldbl-dmul.c): New variable.
13679 (CFLAGS-nldbl-fmul.c): Likewise.
13680 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13681 __nldbl_dmull.
13682 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
13683 prototype.
13684 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
13685 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
13686 * math/auto-libm-test-in: Add tests of mul.
13687 * math/auto-libm-test-out-narrow-mul: New generated file.
13688 * math/libm-test-narrow-mul.inc: New file.
13689 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
13690 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
13691 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
13692 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
13693 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
13694 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
13695 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
13696 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
13697 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
13698 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
13699 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
13700 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
13701 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
13702 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
13703 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
13704 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
13705 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
13706 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
13707 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13708 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13709 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13710 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13711 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13712 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13713 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13714 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13715 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13716 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13717 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13718 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13719 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13720 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13725 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13726 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13727 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13728 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13729 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13730 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13731 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13732 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13733
a15529fd
L
137342018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13735
13736 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
13737 with *%eax in call.
13738
98ee36c7
L
137392018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13740
13741 * sysdeps/i386/ldsodefs.h: Removed.
13742 * sysdeps/x86_64/ldsodefs.h: Moved to ...
13743 * sysdeps/x86/ldsodefs.h: This.
13744 (La_i86_regs): New.
13745 (La_i86_retval): Likewise.
13746 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
13747 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
13748
e322ec32
L
137492018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13750
13751 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
13752 unnecessary testl.
13753
0937e209
AM
137542018-05-13 Alan Modra <amodra@gmail.com>
13755
13756 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
13757 R_PARISC_TLS_DTPOFF32 reloc addend.
13758
5db7d705
TMQMF
137592018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13760
13761 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
13762 * math/math.h: Restrict the prototype definition for the functions
13763 issignaling(_Float128) and iszero(_Float128); and template
13764 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
13765 __HAVE_FLOAT128_UNLIKE_LDBL.
13766 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
13767 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
13768 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
13769 __f128() constants; define the type _Float128 as long double;
13770 and reuse long double in __CFLOAT128.
13771
b4d5b8b0
JM
137722018-05-11 Joseph Myers <joseph@codesourcery.com>
13773
13774 * sysdeps/generic/math_private.h: Do not include
13775 <math-barriers.h>.
13776 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
13777 <math_private.h>.
13778 * math/fromfp.h: Include <math-barriers.h>.
13779 * math/math-narrow.h: Likewise.
13780 * math/s_nextafter.c: Likewise.
13781 * math/s_nexttowardf.c: Likewise.
13782 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
13783 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
13784 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
13785 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
13786 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13787 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13788 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13789 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13790 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13791 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13792 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13793 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13794 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13795 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13796 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
13797 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13798 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13799 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13800 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13801 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13802 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13803 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13804 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13805 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13806 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13807 * sysdeps/ieee754/k_standardl.c: Likewise.
13808 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13809 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13810 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13811 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13812 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13813 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13814 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13815 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13816 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13817 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13818 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13819 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13820 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13821 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13822 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13823 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13824 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
13825 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
13826 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13827 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13828 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
13829 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
13830
fc79706a
FW
138312018-05-11 Florian Weimer <fweimer@redhat.com>
13832
13833 Use 64-bit epoch values in the time zone file parser.
13834 * include/time.h (internal_time_t): Define.
13835 (__tzfile_compute): Use it.
13836 * time/tzfile.c (struct leap): Use internal_time_t for epoch
13837 member.
13838 (transitions): Switch to internal_time_t.
13839 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
13840 types.
13841 (__tzfile_compute): Use internal_time_t for timer argument. Check
13842 for truncation before calling __offtime.
13843
89aacb51
FW
138442018-05-11 Florian Weimer <fweimer@redhat.com>
13845
13846 [BZ #23166]
13847 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
13848 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
13849 Likewise.
13850 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
13851 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
13852 export without --enable-obsolete-rpc.
13853 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
13854 symbol. This should not have been exported, ever.
13855
bb066cb8
RL
138562018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
13857
13858 [BZ #23152]
13859 * localedata/locales/gd_GB (abmon): Fix typo in May:
13860 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
13861
70c97f84
SP
138622018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
13863
db725a45
SP
13864 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
13865 Use multiple registers to copy data in loop tail.
13866
70c97f84
SP
13867 * sysdeps/aarch64/multiarch/memmove_falkor.S
13868 (__memmove_falkor): Use multiple registers to move data in
13869 loop tail.
13870
8f5b00d3
JM
138712018-05-10 Joseph Myers <joseph@codesourcery.com>
13872
13873 * math/math-underflow.h: New file.
13874 * sysdeps/generic/math_private.h: Do not include <float.h>.
13875 (fabs_tg): Remove macro. Moved to math-underflow.h.
13876 (min_of_type_f): Likewise.
13877 (min_of_type_): Likewise.
13878 (min_of_type_l): Likewise.
13879 (min_of_type_f128): Likewise.
13880 (min_of_type): Likewise.
13881 (math_check_force_underflow): Likewise.
13882 (math_check_force_underflow_nonneg): Likewise.
13883 (math_check_force_underflow_complex): Likewise.
13884 * math/e_exp2_template.c: Include <math-underflow.h>.
13885 * math/k_casinh_template.c: Likewise.
13886 * math/s_catan_template.c: Likewise.
13887 * math/s_catanh_template.c: Likewise.
13888 * math/s_ccosh_template.c: Likewise.
13889 * math/s_cexp_template.c: Likewise.
13890 * math/s_clog10_template.c: Likewise.
13891 * math/s_clog_template.c: Likewise.
13892 * math/s_csin_template.c: Likewise.
13893 * math/s_csinh_template.c: Likewise.
13894 * math/s_csqrt_template.c: Likewise.
13895 * math/s_ctan_template.c: Likewise.
13896 * math/s_ctanh_template.c: Likewise.
13897 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13898 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13899 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13900 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13901 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13902 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13903 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13904 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13905 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13906 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13907 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13908 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13909 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13910 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13911 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13912 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13913 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13914 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13915 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13916 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13917 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13918 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13919 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13920 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13921 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13922 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13923 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13924 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13925 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13926 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13927 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13928 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13929 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13930 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13931 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13932 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13933 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13934 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13935 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13936 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13937 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13938 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13939 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13940 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13941 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13942 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13943 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13944 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13945 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13946 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13947 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13948 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13949 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13950 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
13951 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13952 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13953 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13954 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13955 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13956 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13957 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13958 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13959 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13960 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13961 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13962 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13963 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13964 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13965 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13966 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13967 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13968 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13969 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13970 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
13971 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13972 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13973 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13974 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13975 * sysdeps/x86/fpu/powl_helper.c: Likewise.
13976 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
13977 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
13978 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
13979 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
13980 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
13981
9ed2e15f
JM
139822018-05-09 Joseph Myers <joseph@codesourcery.com>
13983
13984 * sysdeps/generic/math-barriers.h: New file.
13985 * sysdeps/generic/math_private.h [!math_opt_barrier]
13986 (math_opt_barrier): Move to math-barriers.h.
13987 [!math_opt_barrier] (math_force_eval): Likewise.
13988 * sysdeps/aarch64/fpu/math-barriers.h: New file.
13989 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
13990 math-barriers.h.
13991 (math_force_eval): Likewise.
13992 * sysdeps/alpha/fpu/math-barriers.h: New file.
13993 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
13994 math-barriers.h.
13995 (math_force_eval): Likewise.
13996 * sysdeps/x86/fpu/math-barriers.h: New file.
13997 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
13998 math-barriers.h.
13999 (math_force_eval): Likewise.
14000 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
14001 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
14002 multiple-include guard for rename.
14003 * sysdeps/powerpc/fpu/math-barriers.h: New file.
14004 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
14005 math-barriers.h.
14006 (math_force_eval): Likewise.
14007
5460617d
PP
140082018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
14009
14010 [BZ #22786]
43d4f3d5 14011 CVE-2018-11236
5460617d
PP
14012 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
14013 computation.
14014 * stdlib/Makefile (test-bz22786): New test.
14015 * stdlib/test-bz22786.c: New test.
14016
aaee3cd8
JM
140172018-05-09 Joseph Myers <joseph@codesourcery.com>
14018
14019 * include/math-narrow-eval.h: New file. Contents moved from ....
14020 * sysdeps/generic/math_private.h: ... here.
14021 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
14022 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
14023 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
14024 * stdlib/strtod_l.c: Likewise.
14025 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
14026 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
14027 * sysdeps/i386/fpu/s_fdim.c: Likewise.
14028 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14029 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14030 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14031 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14032 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14033 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14034 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14035 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14036 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
14037 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14038 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
14039 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14040 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14041 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14042 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14043 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14044 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14045 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14046 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14047 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14048 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14049 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
14050 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14051 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14052 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14053 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14054
0555c477
AS
140552018-05-08 Andreas Schwab <schwab@suse.de>
14056
14057 * sysdeps/nptl/internaltypes.h: Fix comment.
14058
50d7d351
L
140592018-05-07 H.J. Lu <hongjiu.lu@intel.com>
14060
14061 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
14062 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
14063 hidden.
14064
543477f7
SP
140652018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
14066
14067 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
14068 of I into loop header.
14069 * benchtests/bench-memmove-walk.c
14070 (test_main): Likewise.
14071
140722018-05-07 Alexandre Oliva <oliva@gnu.org>
ffa81c22
AO
14073
14074 Revert:
14075 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
14076 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
14077
0065aaaa
PP
140782018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14079
14080 [BZ #20419]
14081 * elf/dl-load.c (open_verify): Fix stack overflow.
14082 * elf/Makefile (tst-big-note): New test.
14083 * elf/tst-big-note-lib.S: New.
14084 * elf/tst-big-note.c: New.
14085
b289cd9d
JM
140862018-05-04 Joseph Myers <joseph@codesourcery.com>
14087
14088 * scripts/abilist.awk: Ignore absolute symbols.
14089 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
14090 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
14091 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
14092 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
14093 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
14094 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
14095 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14096 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
14097 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
14098 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
14099 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
14100 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
14101 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
14102 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
14103 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
14104 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
14105 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
14106 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
14107 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14108 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
14109 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
14110 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
14111 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
14112 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
14113 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
14114 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
14115 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
14116 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
14117 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14118 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
14119 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
14120 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14121 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
14122 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
14123 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
14124 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
14125 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
14126 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
14127 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
14128 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
14129 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
14130 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14131 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
14132 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
14133 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14134 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
14135 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
14136 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
14137 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
14138 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
14139 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
14140 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
14141 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
14142 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
14143 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14144 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
14145 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
14146 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14147 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
14148 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
14149 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
14150 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
14151 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
14152 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
14153 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
14154 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
14155 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
14156 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14157 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
14158 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
14159 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14160 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
14161 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
14162 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
14163 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
14164 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
14165 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
14166 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
14167 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
14168 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
14169 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14170 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
14171 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
14172 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14173 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
14174 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
14175 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
14176 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
14177 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
14178 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
14179 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
14180 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
14181 Likewise.
14182 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
14183 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14184 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
14185 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
14186 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14187 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
14188 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
14189 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
14190 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
14191 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
14192 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
14193 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
14194 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
14195 Likewise.
14196 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
14197 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14198 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
14199 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
14200 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14201 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
14202 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
14203 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
14204 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
14205 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
14206 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
14207 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
14208 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
14209 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
14210 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14211 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
14212 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
14213 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14214 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
14215 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
14216 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
14217 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
14218 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
14219 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
14220 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14221 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
14222 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
14223 Likewise.
14224 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
14225 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
14226 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
14227 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
14228 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14229 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
14230 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
14231 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
14232 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
14233 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
14234 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
14235 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
14236 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
14237 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
14238 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
14239 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
14240 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
14241 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
14242 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14243 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
14244 Likewise.
14245 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
14246 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
14247 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
14248 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14249 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
14250 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
14251 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
14252 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
14253 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
14254 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
14255 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14256 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
14257 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
14258 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14259 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
14260 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
14261 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
14262 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
14263 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14264 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
14265 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
14266 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14267 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
14268 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
14269 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
14270 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
14271 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
14272 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
14273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
14274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
14276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
14277 Likewise.
14278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
14279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
14280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
14281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
14282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
14283 Likewise.
14284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
14285 Likewise.
14286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
14287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
14288 Likewise.
14289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
14290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14291 Likewise.
14292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14293 Likewise.
14294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
14295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
14296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
14297 Likewise.
14298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
14299 Likewise.
14300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
14301 Likewise.
14302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
14303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
14306 Likewise.
14307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
14308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
14309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
14310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
14313 Likewise.
14314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
14315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14316 Likewise.
14317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14318 Likewise.
14319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
14320 Likewise.
14321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
14322 Likewise.
14323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
14324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
14325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
14326 Likewise.
14327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
14328 Likewise.
14329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
14330 Likewise.
14331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
14332 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
14333 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
14334 Likewise.
14335 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
14336 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
14337 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
14338 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
14339 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14340 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
14341 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
14342 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
14343 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
14344 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
14345 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
14346 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
14347 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
14348 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
14349 Likewise.
14350 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14351 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
14352 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
14353 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14354 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
14355 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
14356 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
14357 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
14358 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
14359 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
14360 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
14361 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
14362 Likewise.
14363 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14364 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
14365 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
14366 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14367 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
14368 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
14369 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
14370 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
14371 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
14372 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
14373 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
14374 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
14375 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
14376 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14377 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
14378 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
14379 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14380 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
14381 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
14382 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
14383 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
14384 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
14385 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
14386 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
14387 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
14388 Likewise.
14389 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
14390 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14391 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
14392 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
14393 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14394 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
14395 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
14396 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
14397 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
14398 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
14399 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
14400 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
14401 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
14402 Likewise.
14403 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
14404 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14405 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
14406 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
14407 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14408 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
14409 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
14410 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
14411 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
14412 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
14413 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
14414 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
14415 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
14416 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
14417 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14418 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
14419 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
14420 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14421 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
14422 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
14423 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
14424 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
14425 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
14426 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
14427 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
14428 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
14429 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
14430 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
14431 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14432 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
14433 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
14434 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14435 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
14436 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
14437 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
14438 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
14439 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
14440 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
14441
16609018
SL
144422018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
14443
14444 [BZ #23137]
14445 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
14446 Use atomic_load_acquire to load __tid.
14447
556f5c46
L
144482018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14449
14450 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
14451 Restore the pointer into %rdx, after syscall and use %rdx,
14452 instead of %rsi, to restore context.
14453
8b8f32b2
L
144542018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14455
14456 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
14457 Pop the pointer into %rdx after syscall and use %rdx, instead
14458 of %rsi, to restore context.
14459
d6cc1829
L
144602018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14461
14462 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
14463 handlers after setjmp.
14464 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
14465 defined.
14466 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
14467 <libc-pointer-arith.h>.
14468 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
14469 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
14470 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
14471 _JUMP_BUF_SIGSET_BITS_PER_WORD.
14472 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
14473 * sysdeps/x86/__longjmp_cancel.S: New file.
14474 * sysdeps/x86/longjmp.c: Likewise.
14475 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
14476
cf2478d5
AZ
144772018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14478
14479 * NEWS: Add ustat.h deprecation entry.
14480 * bits/ustat.h: Remove file.
14481 * misc/sys/ustat.h: Likewise.
14482 * misc/ustat.h: Likewise.
14483 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
14484 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
14485 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
14486 compatibility mode.
14487 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
14488 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
14489 generic Linux implementation.
14490
dc115e1c
TMQMF
144912018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14492
14493 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
14494 * math/w_expl_compat.c: Likewise.
14495 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
14496
6b5c8607 144972018-04-30 Raymond Nicholson <rain1@airmail.cc>
340d9652
RN
14498
14499 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
14500
c57bf7c1
AZ
145012018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14502
14503 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
14504 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
14505 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
14506 Remove.
14507 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
14508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14509 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14510 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
14511 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
14512 and SYSCALL_LL64.
14513
06135c33
TMQMF
145142018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14515
33927914
TMQMF
14516 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
14517
06135c33
TMQMF
14518 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
14519 * math/w_asin_template.c: Likewise.
14520 * math/w_atanh_template.c: Likewise.
14521
3a33b069
GG
145222018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14523
14524 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
14525 to powerpc/powerpc64/be for big-endian.
14526 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
14527 little-endian.
14528
14529 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
14530 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
14531 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
14532 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
14533 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
14534 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
14535 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
14536 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
14537 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
14538 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
14539 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
14540 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
14541 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
14542 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
14543 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
14544 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
14545 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
14546 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
14547 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
14548 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
14549 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
14550 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
14551 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
14552 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
14553 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
14554 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
14555 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
14556 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
14557 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
14558 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
14559 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
14560 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
14561
14562 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
14563 adjusted to imply powerpc64 and older processors on powerpc64/be.
14564 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
14565 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
14566 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
14567 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
14568 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
14569 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
14570 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
14571 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
14572 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
14573 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
14574 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
14575 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
14576 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
14577 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
14578 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
14579 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
14580 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
14581 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
14582 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
14583 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
14584 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
14585 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
14586 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
14587 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
14588 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
14589 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
14590 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
14591 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
14592 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
14593 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
14594 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
14595
14596 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
14597 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
14598 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
14599 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
14600
14601 * sysdeps/powerpc/powerpc64/be/Implies: New file.
14602 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
14603 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
14604 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
14605
14606 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
14607 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
14608 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
14609 * sysdeps/powerpc/powerpc64le/configure: Likewise.
14610 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
14611 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
14612 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
14613 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
14614 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
14615 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
14616 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
14617
14618 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
14619 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
14620 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
14621 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
14622 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
14623 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
14624 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
14625 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
14626 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
14627 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
14628 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
14629
14630 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
14631 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
14632 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
14633 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
14634 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
14635 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
14636 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
14637 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
14638 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
14639 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
14640 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
14641 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
14642
14643 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
14644 and adjusted to imply olders processors.
14645 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
14646 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
14647 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
14648 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
14649 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
14650 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
14651 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
14652 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
14653 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
14654 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
14655 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
14656
14657 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
14658 powerpc64/le.
14659 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
14660 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
14661
14662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
14663 powerpc64le.
14664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
14665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
14666
14667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
14668 powerpc64/be.
14669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
14670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
14671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
14672
14673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
14674 powerpc64 and adjusted.
14675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
14676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
14677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
14678 Likewise.
14679
a3fb6b6b
JM
146802018-04-27 Joseph Myers <joseph@codesourcery.com>
14681
14682 * sysdeps/tile: Remove.
14683 * sysdeps/unix/sysv/linux/tile: Likewise.
14684 * README (tilegx-*-linux-gnu): Remove from list of supported
14685 configurations.
14686 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
14687 contribution of support for generic Linux kernel syscall
14688 interface.
14689 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
14690 tilegx configurations.
14691 (Config.install_linux_headers): Do not handle tile.
14692 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
14693 in comment.
14694 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
14695 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
14696 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
14697 conditional undefine and redefine.
14698 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
14699 in comment.
14700 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
14701 conditional undefine and redefine.
14702
7a6f7478
AJ
147032018-04-26 Aurelien Jarno <aurelien@aurel32.net>
14704
14705 * signal/tst-sigaction.c: New file to test BZ #23069.
14706 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
14707
81b49e96
TMQMF
147082018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14709
14710 [BZ #22766]
14711 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
14712 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
14713 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
14714 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
14715
7d80f48e
AZ
147162018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14717
14718 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
14719 _DIRENT_MATCHES_DIRENT64 is not defined.
14720 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
14721 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
14722 is defined.
14723 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
14724 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
14725
42a2bf58
JM
147262018-04-25 Joseph Myers <joseph@codesourcery.com>
14727
14728 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
14729 version to GCC 8 branch.
14730
9320ca88
JM
147312018-04-24 Joseph Myers <joseph@codesourcery.com>
14732
5e14bb97
JM
14733 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
14734 (check_no_hidden): Use type of original function when declaring
14735 alias.
14736
9320ca88
JM
14737 * sysdeps/unix/sysv/linux/sys/ptrace.h
14738 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
14739 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
14740 (struct __ptrace_seccomp_metadata): New type.
14741 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
14742 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14743 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
14744 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14745 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
14746 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14747 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
14748 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14749 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
14750 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14751 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
14752 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14753 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
14754 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14755 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
14756 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14757
af7e376b
AZ
147582018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14759
14760 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
14761 defined.
14762 * dirent/versionsort.c (versionsort): Likewise.
14763 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
14764 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
14765 * dirent/versionsort64.c (versionsort64): Likewise.
14766 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
14767 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
14768 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
14769 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
14770 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
14771 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
14772 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
14773 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
14774 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
14775 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
14776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
14777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
14778 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
14779 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
14780
da5e0361
JM
147812018-04-23 Joseph Myers <joseph@codesourcery.com>
14782
14783 * elf/elf.h (NT_PPC_PKEY): New macro.
14784
6b5c8607 147852018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
ea76691a
DSN
14786
14787 [BZ #23094]
14788 * localedata/locales/hr_HR: fix thousands_sep and
14789 mon_thousands_sep
14790
573963e3
JM
147912018-04-20 Joseph Myers <joseph@codesourcery.com>
14792
14793 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
14794 (XTABS): Define to TAB3.
14795
c0123b3b
AZ
147962018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14797
0900a849
AZ
14798 * sysdeps/hppa/fpu/libm-test-ulps: Update.
14799
c0123b3b
AZ
14800 * dirent/scandir-tail-common.c: New file.
14801 * dirent/scandir-tail.c: Use scandir-tail-common.c.
14802 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
14803 * dirent/scandir.c: Use scandir-tail-common.c.
14804 * dirent/scandirat.c: Likewise.
14805 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
14806 * dirent/scandir64.c (scandir64): Always build and alias to scandir
14807 if _DIRENT_MATCHES_DIRENT64 is defined.
14808 * dirent/scandirat64.c (scandirat64): Likewise.
14809 * include/dirent.h (__scandir_tail): Only define iff
14810 _DIRENT_MATCHES_DIRENT64 is not defined.
14811 (__scandir64_tail): Define regardless.
14812 (__scandirat, scandirat64): Remove libc_hidden_proto.
14813 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
14814 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
14815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
14816 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
14817 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14818 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
14819 * sysdeps/unix/sysv/linux/scandir64.c: New file.
14820
458b94f6
JM
148212018-04-20 Joseph Myers <joseph@codesourcery.com>
14822
14823 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
14824 New macro.
14825 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
14826 Increase to 24.
14827 (_dl_aarch64_cap_flags): Add asimdfhm.
14828
9f0437e8
CLT
148292018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
14830
14831 * sysdeps/nios2/libm-test-ulps: Update.
14832
298d0e31
AZ
148332018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14834
50511ca4
AZ
14835 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
14836 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
14837
298d0e31
AZ
14838 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
14839 requirements.
6b5c8607 14840 (_DIRENT_MATCHES_DIRENT64): Undef
298d0e31
AZ
14841 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
14842 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
14843 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
14844 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
14845 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
14846 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
14847 use getdents64 syscalls as base.
14848 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
14849 symbol if required.
14850 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
14851 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
14852 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
14853 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
14854 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
14855 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
14856 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
14857 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
14858 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14859 (__get_clockfreq_via_proc_openprom): Use __getdents64.
14860 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
14861
0085be14
SL
148622018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
14863
14864 * scripts/test_printers_common.py (init_test): Disable lock elision.
14865
da796524
SL
148662018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
14867
14868 * math/test-tgmath.c (count_double, count_float,
14869 count_ldouble, count_cdouble, count_cfloat,
14870 count_cldouble): Use volatile int.
14871
0dd25301
ST
148722018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
14873
14874 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
14875 (conformtest-xfail-conds): Add i386-gnu.
cbc256b1 14876 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
0dd25301
ST
14877 i386-gnu.
14878 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
14879 ipc_perm.cuid, ipc_perm.cgid): Likewise.
14880 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
14881 msqid_ds.msg_lrpid): Likewise.
14882 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
14883 Likewise.
14884 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
14885 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
9d9f8f03
ST
14886 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
14887 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
14888 unsigned int.
14889 (struct statvfs64): Likewise.
f55a4fde
ST
14890 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
14891 Likewise.
77b93390
ST
14892 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
14893 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
14894 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
14895 instead of wait_queue.
14896 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
14897 instead of vm_area_struct.
5cd2931a
ST
14898 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
14899 struct sched_param definition to it.
e60c3f2b
ST
14900 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
14901 * bits/types/struct_sched_param.h: New file.
14902 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
14903 <bits/types/struct_sched_param.h> instead of <sched.h>.
14904 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
5cd2931a
ST
14905 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
14906 generic version but include <bits/pthreadtypes.h> to make struct
14907 sigevent's sigev_notify_attributes field a pthread_attr_t*.
ed370924
ST
14908 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
14909 non-compliant.
a564872d
ST
14910 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
14911 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
14912 [__USE_XOPEN] (OFDEL): New macro.
14913 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
a279b8ed 14914 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
5dbfe13b
ST
14915 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
14916 prototypes.
14917 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
14918 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
81b032c8
ST
14919 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
14920 non-compliant.
14921 * sysdeps/i386/sys/ucontext.h: Likewise.
14922 * sysdeps/m68k/sys/ucontext.h: Likewise.
14923 * sysdeps/mips/sys/ucontext.h: Likewise.
14924 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
f00b62ec
ST
14925 * sysdeps/mach/hurd/i386/Makefile
14926 (test-xfail-POSIX/fcntl.h/conform): Add.
14927 (test-xfail-POSIX/signal.h/conform): Add.
14928 (test-xfail-POSIX/semaphore.h/conform): Add.
14929 (test-xfail-POSIX/regex.h/conform): Add.
14930 (test-xfail-POSIX/aio.h/conform): Add.
14931 (test-xfail-POSIX/mqueue.h/conform): Add.
14932 (test-xfail-POSIX/sys/types.h/conform): Add.
14933 (test-xfail-UNIX98/fcntl.h/conform): Add.
14934 (test-xfail-UNIX98/netdb.h/conform): Add.
14935 (test-xfail-UNIX98/signal.h/conform): Add.
14936 (test-xfail-UNIX98/semaphore.h/conform): Add.
14937 (test-xfail-UNIX98/regex.h/conform): Add.
14938 (test-xfail-UNIX98/aio.h/conform): Add.
14939 (test-xfail-UNIX98/ftw.h/conform): Add.
14940 (test-xfail-UNIX98/mqueue.h/conform): Add.
14941 (test-xfail-UNIX98/netinet/in.h/conform): Add.
14942 (test-xfail-UNIX98/sys/wait.h/conform): Add.
14943 (test-xfail-UNIX98/sys/sem.h/conform): Add.
14944 (test-xfail-UNIX98/sys/uio.h/conform): Add.
14945 (test-xfail-UNIX98/sys/socket.h/conform): Add.
14946 (test-xfail-UNIX98/sys/types.h/conform): Add.
14947 (test-xfail-UNIX98/stdlib.h/conform): Add.
14948 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
14949 (test-xfail-POSIX2008/fcntl.h/conform): Add.
14950 (test-xfail-POSIX2008/netdb.h/conform): Add.
14951 (test-xfail-POSIX2008/signal.h/conform): Add.
14952 (test-xfail-POSIX2008/semaphore.h/conform): Add.
14953 (test-xfail-POSIX2008/regex.h/conform): Add.
14954 (test-xfail-POSIX2008/aio.h/conform): Add.
14955 (test-xfail-POSIX2008/mqueue.h/conform): Add.
14956 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
14957 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
14958 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
14959 (test-xfail-POSIX2008/sys/types.h/conform): Add.
14960 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
14961 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
14962 (test-xfail-XOPEN2K/netdb.h/conform): Add.
14963 (test-xfail-XOPEN2K/signal.h/conform): Add.
14964 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
14965 (test-xfail-XOPEN2K/regex.h/conform): Add.
14966 (test-xfail-XOPEN2K/aio.h/conform): Add.
14967 (test-xfail-XOPEN2K/ftw.h/conform): Add.
14968 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
14969 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
14970 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
14971 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
14972 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
14973 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
14974 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
14975 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
14976 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
14977 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
14978 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
14979 (test-xfail-XOPEN2K8/signal.h/conform): Add.
14980 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
14981 (test-xfail-XOPEN2K8/regex.h/conform): Add.
14982 (test-xfail-XOPEN2K8/aio.h/conform): Add.
14983 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
14984 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
14985 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
14986 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
14987 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
14988 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
14989 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
14990 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
14991 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
14992 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
cbc256b1
ST
14993 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
14994 i386-gnu.
14995 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
14996 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
0dd25301 14997
d6397de3
JM
149982018-04-18 Joseph Myers <joseph@codesourcery.com>
14999
15000 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
15001 --enable-obsolete for powerpc-linux-gnuspe.
15002
8323a902
ST
150032018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15004
3dc0814c 15005 * conform/data/sys/un.h-data: Allow sun_ prefix.
c5896a45 15006 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
d4379e02 15007 prototypes.
c5896a45
ST
15008 * sysdeps/mach/include/mach.h: Likewise.
15009 * sysdeps/mach/include/mach/mig_support.h: Likewise.
15010 * sysdeps/mach/include/mach_error.h: Likewise.
8323a902 15011
743b9c2a
AZ
150122018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15013
15014 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
15015 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
15016 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
15017 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
15018
326e74e7
AS
150192018-04-16 Andreas Schwab <schwab@suse.de>
15020
15021 [BZ #19527]
15022 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
15023
6b5c8607 150242018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
a14d8acd
PM
15025
15026 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
15027 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
15028
a700e7cb
DD
150292018-04-12 DJ Delorie <dj@redhat.com>
15030
15031 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
15032 version to 4.16.
15033
d8abfab7
SL
150342018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
15035
15036 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
15037 (struct kernel_sigaction): Use the same definition on 31bit as is used
15038 on 64bit.
15039
583a27d5
FW
150402018-04-09 Florian Weimer <fweimer@redhat.com>
15041
15042 [BZ #23037]
15043 * resolv/res_send.c (send_dg): Use designated initializers instead
15044 of assignment to zero-initialize other fields of struct mmsghdr.
15045
243f59e5
AZ
150462018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15047
942de61a
AZ
15048 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
15049 __READDIR_ALIAS): Undefine after usage.
15050 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
15051 __READDIR_R_ALIAS): Likewise.
15052 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
15053 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
15054 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
15055 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
15056 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
15057 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
15058 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15059 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15060 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
15061 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
15062 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
15063 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
15064 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15065 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
15066 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
15067 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
15068 * sysdeps/unix/sysv/linux/readdir.c: New file.
15069 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
15070 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
15071 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
15072
243f59e5
AZ
15073 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
15074
690c3475
AS
150752018-04-06 Andreas Schwab <schwab@linux-m68k.org>
15076
15077 * manual/charset.texi (Converting a Character): Fix typo.
15078
6b5c8607 150792018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
b4a5d26d 15080
bbc2062a
AZ
15081 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15082
fa7c6199
AZ
15083 * sysdeps/arm/libm-test-ulps: Update.
15084
b4a5d26d
AZ
15085 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
15086 as base implementation.
15087 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15088 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15089 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15090 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15091 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15092 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
15093 remove unrequired definitions and update comments.
15094 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
15095 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
15096 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
15097 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
15098 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
15099 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
15100 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
15101 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
15102 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
15103 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
15104 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
15105 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15106 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
15107 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
15108 and RESET_SA_RESTORER hooks.
15109
db9e55ff
SL
151102018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
15111
15112 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15113
cf138b0c
FW
151142018-04-05 Florian Weimer <fweimer@redhat.com>
15115
15116 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
15117 integer overflow, memory leak on error, and indeterminate errno
15118 value. Add a null wide character to terminate the result string.
15119 * manual/charset.texi (Converting a Character): Mention embedded
15120 null bytes in the mbrtowc input string. Explain what happens in
15121 the -2 result case. Do not claim that mbrtowc is simple or
15122 obvious to use. Adjust the description of the code example. Use
15123 @code, not @var, for concrete variables.
15124
0f339252
FW
151252018-04-05 Florian Weimer <fweimer@redhat.com>
15126
15127 * manual/examples/mbstouwcs.c: New file.
15128 * manual/charset.texi (Converting a Character): Include it.
15129
e5f9508a
ST
151302018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15131
c120981d
ST
15132 * include/dirent.h (dirfd): Add hidden proto.
15133 * dirent/dirfd.c (dirfd): Add hidden def.
15134 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
15135 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
e5f9508a 15136
b2fd61ca
TMQMF
151372018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15138
15139 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
15140 sin, cos and sincos to 1 ULP.
15141
10a446dd
MR
151422018-04-04 Maciej W. Rozycki <macro@mips.com>
15143
e7feec37
MR
15144 [BZ #19818]
15145 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
15146 symbols.
15147 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
15148 * elf/tst-absolute-sym.c: New file.
15149 * elf/tst-absolute-sym-lib.c: New file.
15150 * elf/tst-absolute-sym-lib.lds: New file.
15151 * elf/Makefile (tests): Add `tst-absolute-sym'.
15152 (modules-names): Add `tst-absolute-sym-lib'.
15153 (LDLIBS-tst-absolute-sym-lib.so): New variable.
15154 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
15155 ($(objpfx)tst-absolute-sym): New dependency.
15156
10a446dd
MR
15157 [BZ #19818]
15158 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
15159 parameter.
15160 (SYMBOL_ADDRESS): New macro.
15161 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
15162 SYMBOL_ADDRESS for symbol address calculation.
15163 * elf/dl-runtime.c (_dl_fixup): Likewise.
15164 (_dl_profile_fixup): Likewise.
15165 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
15166 * elf/rtld.c (dl_main): Likewise.
15167 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
15168 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
15169 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
15170 (elf_machine_rela): Likewise.
15171 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
15172 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
15173 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15174 (elf_machine_rela): Likewise.
15175 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15176 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
15177 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
15178 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
15179 Likewise.
15180 (elf_machine_reloc): Likewise.
15181 (elf_machine_got_rel): Likewise.
15182 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
15183 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
15184 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15185 Likewise.
15186 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15187 Likewise.
15188 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
15189 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15190 Likewise.
15191 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15192 Likewise.
15193 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15194 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15195 Likewise.
15196 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15197 Likewise.
15198 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
15199 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15200
9185f86d
ZW
152012018-04-04 Zack Weinberg <zackw@panix.com>
15202
15203 * sysdeps/generic/internal-signals.h: Include signal.h,
15204 sigsetops.h, and stdbool.h.
15205 (__libc_signal_block_all): Actually block all signals.
15206 (__libc_signal_block_app): Likewise.
15207 (__libc_signal_restore_set): Actually restore the signal mask.
15208
b07367bc
FW
152092018-04-04 Florian Weimer <fweimer@redhat.com>
15210
15211 inet: Actually build and run tst-deadline.
15212 * inet/Makefile (tests-internal): Add tst-deadline and do not
15213 overwrite the variable.
15214 (tests-static-internal): Remove variable.
15215
f2652643
L
152162018-04-03 H.J. Lu <hongjiu.lu@intel.com>
15217
15218 [BZ #22947]
15219 * bits/uio-ext.h (RWF_APPEND): New.
15220 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
15221 * manual/llio.texi: Document RWF_APPEND.
15222 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
15223 (RWF_SUPPORTED): Add RWF_APPEND.
15224
6b5c8607 152252018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
d2dc5467
AZ
15226
15227 [BZ #22391]
15228 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
15229 check for internal nptl signals.
15230 * nptl/sigaction.c (__sigaction): Likewise.
15231 * signal/sigaddset.c (sigaddset): Likewise.
15232 * signal/sigdelset.c (sigdelset): Likewise.
15233 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
15234 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
15235 value.
15236 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
15237 to filter out internal nptl signals.
15238 * signal/tst-sigset.c (do_test): Check ech signal indidually and
15239 also check realtime signals using standard macros.
15240 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
15241 __is_internal_signal, __libc_signal_block_all,
15242 __libc_signal_block_app, __libc_signal_restore_set): New functions.
15243 * sysdeps/nptl/sigfillset.c: Remove file.
15244 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
15245 Change return to bool.
15246 (__clear_internal_signals): Remove SIGTIMER clean since it is
15247 equal to SIGCANEL on Linux.
15248 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
15249 signal set was constructed using standard functions.
15250
511ed56f
ST
152512018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
15252
92846492
ST
15253 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
15254 ifname is too long.
e8ef51b1
ST
15255 * hurd/hurdsig.c (interrupted_reply_port_location): Use
15256 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
ff297b70
ST
15257 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
15258 hidden def.
15259 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
d8440a21
ST
15260 * signal/sigaddset.c: Include <sigsetopts.h>.
15261 * signal/sigdelset.c: Likewise.
511ed56f 15262
e88ecbbf
WD
152632018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15264
15265 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
15266 (__cos): Likewise.
15267 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
15268 logic as sin and cos.
15269
aef3e255
WD
152702018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15271
15272 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
15273 inputs. Return correct sign.
15274 (do_sincos): Remove small input check before do_sin, let do_sin set
15275 the sign.
15276 (__sin): Likewise.
15277 (__cos): Likewise.
15278
72f6e9a3
WD
152792018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15280
15281 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
15282 (do_cos_slow): Likewise.
15283 (do_sin_slow): Likewise.
15284 (reduce_and_compute): Likewise.
15285 (slow): Likewise.
15286 (slow1): Likewise.
15287 (slow2): Likewise.
15288 (sloww): Likewise.
15289 (sloww1): Likewise.
15290 (sloww2): Likewise.
15291 (bslow): Likewise.
15292 (bslow1): Likewise.
15293 (bslow2): Likewise.
15294 (cslow2): Likewise.
15295
64909583
WD
152962018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15297
15298 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
15299 (do_cos): Remove corp parameter and calculations.
15300 (do_sin): Likewise.
15301 (do_sincos): Remove cor variable.
15302 (__sin): Use do_sincos for huge inputs.
15303 (__cos): Likewise.
15304 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
15305 (reduce_and_compute_sincos): Remove unused function.
15306
d9469deb
WD
153072018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15308
15309 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
15310 reduce_sincos, improve accuracy to 136 bits.
15311 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
15312 (__sin): Use improved reduction and simplified do_sincos calculation.
15313 (__cos): Likewise.
15314 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
15315
7a5640f2
WD
153162018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15317
15318 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
15319 (do_sincos_2): Likewise.
15320 (__sin): Remove middle range reduction case.
15321 (__cos): Likewise.
15322 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
15323 reduction case.
15324
19a8b9a3
WD
153252018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15326
15327 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
15328 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
15329 inputs.
15330 (__cos): Likewise.
15331 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
15332
f72aa11d
JM
153332018-04-03 Joseph Myers <joseph@codesourcery.com>
15334
15335 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19a8b9a3 15336 version to 4.16
f72aa11d 15337
8e4754ed
AZ
153382018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15339
15340 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
15341 Remove definitions.
15342 (opendir_oflags): Use O_DIRECTORY regardless.
15343 (__opendir, __opendirat): Remove need_isdir_precheck usage.
15344 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
15345
8e2666ea
ST
153462018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15347
15348 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
15349 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
15350 macros.
15351 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
15352 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
15353 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
15354 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
deed72f6
ST
15355 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
15356 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
8e2666ea 15357
ad2b41bf
ST
15358 * htl/Makefile: Bump licence to LGPL 2.1+.
15359 * htl/alloca_cutoff.c: Likewise.
15360 * htl/cthreads-compat.c: Likewise.
15361 * htl/lockfile.c: Likewise.
15362 * htl/pt-alloc.c: Likewise.
15363 * htl/pt-cancel.c: Likewise.
15364 * htl/pt-cleanup.c: Likewise.
15365 * htl/pt-create.c: Likewise.
15366 * htl/pt-dealloc.c: Likewise.
15367 * htl/pt-detach.c: Likewise.
15368 * htl/pt-exit.c: Likewise.
15369 * htl/pt-getattr.c: Likewise.
15370 * htl/pt-initialize.c: Likewise.
15371 * htl/pt-internal.h: Likewise.
15372 * htl/pt-join.c: Likewise.
15373 * htl/pt-self.c: Likewise.
15374 * htl/pt-setcancelstate.c: Likewise.
15375 * htl/pt-setcanceltype.c: Likewise.
15376 * htl/pt-sigmask.c: Likewise.
15377 * htl/pt-spin-inlines.c: Likewise.
15378 * htl/pt-testcancel.c: Likewise.
15379 * htl/pt-yield.c: Likewise.
15380 * htl/tests/test-1.c: Likewise.
15381 * htl/tests/test-10.c: Likewise.
15382 * htl/tests/test-11.c: Likewise.
15383 * htl/tests/test-12.c: Likewise.
15384 * htl/tests/test-13.c: Likewise.
15385 * htl/tests/test-14.c: Likewise.
15386 * htl/tests/test-15.c: Likewise.
15387 * htl/tests/test-16.c: Likewise.
15388 * htl/tests/test-17.c: Likewise.
15389 * htl/tests/test-2.c: Likewise.
15390 * htl/tests/test-3.c: Likewise.
15391 * htl/tests/test-4.c: Likewise.
15392 * htl/tests/test-5.c: Likewise.
15393 * htl/tests/test-6.c: Likewise.
15394 * htl/tests/test-7.c: Likewise.
15395 * htl/tests/test-8.c: Likewise.
15396 * htl/tests/test-9.c: Likewise.
15397 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
15398 * sysdeps/htl/bits/cancelation.h: Likewise.
15399 * sysdeps/htl/bits/pthread-np.h: Likewise.
15400 * sysdeps/htl/bits/pthread.h: Likewise.
15401 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
15402 * sysdeps/htl/bits/semaphore.h: Likewise.
15403 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
15404 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
15405 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
15406 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
15407 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
15408 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
15409 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
15410 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
15411 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
15412 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
15413 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
15414 * sysdeps/htl/old_pt-atfork.c: Likewise.
15415 * sysdeps/htl/pt-atfork.c: Likewise.
15416 * sysdeps/htl/pt-attr-destroy.c: Likewise.
15417 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
15418 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
15419 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
15420 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
15421 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
15422 * sysdeps/htl/pt-attr-getscope.c: Likewise.
15423 * sysdeps/htl/pt-attr-getstack.c: Likewise.
15424 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
15425 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
15426 * sysdeps/htl/pt-attr-init.c: Likewise.
15427 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
15428 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
15429 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
15430 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
15431 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
15432 * sysdeps/htl/pt-attr-setscope.c: Likewise.
15433 * sysdeps/htl/pt-attr-setstack.c: Likewise.
15434 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
15435 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
15436 * sysdeps/htl/pt-attr.c: Likewise.
15437 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
15438 * sysdeps/htl/pt-barrier-init.c: Likewise.
15439 * sysdeps/htl/pt-barrier-wait.c: Likewise.
15440 * sysdeps/htl/pt-barrier.c: Likewise.
15441 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
15442 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
15443 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
15444 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
15445 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
15446 * sysdeps/htl/pt-cond-destroy.c: Likewise.
15447 * sysdeps/htl/pt-cond-init.c: Likewise.
15448 * sysdeps/htl/pt-cond-signal.c: Likewise.
15449 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
15450 * sysdeps/htl/pt-cond-wait.c: Likewise.
15451 * sysdeps/htl/pt-cond.c: Likewise.
15452 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
15453 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
15454 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
15455 * sysdeps/htl/pt-condattr-init.c: Likewise.
15456 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
15457 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
15458 * sysdeps/htl/pt-destroy-specific.c: Likewise.
15459 * sysdeps/htl/pt-equal.c: Likewise.
15460 * sysdeps/htl/pt-getconcurrency.c: Likewise.
15461 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
15462 * sysdeps/htl/pt-getschedparam.c: Likewise.
15463 * sysdeps/htl/pt-getspecific.c: Likewise.
15464 * sysdeps/htl/pt-init-specific.c: Likewise.
15465 * sysdeps/htl/pt-key-create.c: Likewise.
15466 * sysdeps/htl/pt-key-delete.c: Likewise.
15467 * sysdeps/htl/pt-key.h: Likewise.
15468 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
15469 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
15470 * sysdeps/htl/pt-mutex-init.c: Likewise.
15471 * sysdeps/htl/pt-mutex-lock.c: Likewise.
15472 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
15473 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
15474 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
15475 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
15476 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
15477 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
15478 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
15479 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
15480 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
15481 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
15482 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
15483 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
15484 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
15485 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
15486 * sysdeps/htl/pt-mutexattr.c: Likewise.
15487 * sysdeps/htl/pt-once.c: Likewise.
15488 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
15489 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
15490 * sysdeps/htl/pt-rwlock-init.c: Likewise.
15491 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
15492 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
15493 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
15494 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
15495 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
15496 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
15497 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
15498 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
15499 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
15500 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
15501 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
15502 * sysdeps/htl/pt-setconcurrency.c: Likewise.
15503 * sysdeps/htl/pt-setschedparam.c: Likewise.
15504 * sysdeps/htl/pt-setschedprio.c: Likewise.
15505 * sysdeps/htl/pt-setspecific.c: Likewise.
15506 * sysdeps/htl/pt-spin.c: Likewise.
15507 * sysdeps/htl/pt-startup.c: Likewise.
15508 * sysdeps/htl/pthread.h: Likewise.
15509 * sysdeps/htl/sem-close.c: Likewise.
15510 * sysdeps/htl/sem-destroy.c: Likewise.
15511 * sysdeps/htl/sem-getvalue.c: Likewise.
15512 * sysdeps/htl/sem-init.c: Likewise.
15513 * sysdeps/htl/sem-open.c: Likewise.
15514 * sysdeps/htl/sem-post.c: Likewise.
15515 * sysdeps/htl/sem-timedwait.c: Likewise.
15516 * sysdeps/htl/sem-trywait.c: Likewise.
15517 * sysdeps/htl/sem-unlink.c: Likewise.
15518 * sysdeps/htl/sem-wait.c: Likewise.
15519 * sysdeps/hurd/htl/pt-kill.c: Likewise.
15520 * sysdeps/i386/htl/pt-machdep.h: Likewise.
15521 * sysdeps/mach/htl/pt-block.c: Likewise.
15522 * sysdeps/mach/htl/pt-spin.c: Likewise.
15523 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
15524 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
15525 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
15526 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
15527 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
15528 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
15529 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
15530 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
15531 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
15532 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
15533 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
15534 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
15535 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
15536 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
15537 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
15538 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
15539 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
15540 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
15541 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
15542 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
15543 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
15544 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
15545 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
15546 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
15547 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
15548 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
15549 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
15550 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
15551 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
15552 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
15553 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
15554 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
15555 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
15556 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
15557 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
15558 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
15559 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
15560 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
15561 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
15562 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
15563 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
15564 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
15565 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
15566
fb03b04b
ST
15567 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
15568 * README: Remove the mention of out-of-tree patches needed for
15569 GNU/Hurd.
15570
fa9e1555
ST
15571 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
15572 (UTIME_NOW, UTIME_OMIT): Define macros.
15573
f6fb29d2
ST
15574 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
15575 instead of pthread_detach.
15576 (__cthread_fork): Call __pthread_create instead of pthread_create.
15577 (__cthread_keycreate): Call __pthread_key_create instead of
15578 pthread_key_create.
15579 (__cthread_getspecific): Call __pthread_getspecific instead of
15580 pthread_getspecific.
15581 (__cthread_setspecific): Call __pthread_setspecific instead of
15582 pthread_setspecific.
15583 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
15584 __pthread_mutex_unlock instead of pthread_mutex_lock and
15585 pthread_mutex_unlock.
15586 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
15587 ___pthread_get_cleanup_stack.
15588 (__pthread_get_cleanup_stack): New strong alias.
15589 * htl/pt-create.c: Include <pthreadP.h>.
15590 (entry_point): Call __pthread_exit instead of pthread_exit.
15591 (pthread_create): Rename to __pthread_create.
15592 (pthread_create): New strong alias.
15593 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
15594 (pthread_detach): New strong alias.
15595 (__pthread_detach): Call __pthread_cond_broadcast instead of
15596 pthread_cond_broadcast.
fe9748cc
ST
15597 * htl/pt-exit.c: Include <pthreadP.h>.
15598 (__pthread_exit): Call __pthread_setcancelstate and
15599 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
15600 __pthread_get_cleanup_stack.
f6fb29d2
ST
15601 * htl/pt-testcancel.c: Include <pthreadP.h>.
15602 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
15603 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
15604 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
15605 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
15606 pthread_attr_getstacksize.
15607 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
15608 Rename to __pthread_attr_getstackaddr.
15609 (pthread_attr_getstackaddr): New strong alias.
15610 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
15611 Rename to __pthread_attr_getstacksize.
15612 (pthread_attr_getstacksize): New strong alias.
15613 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
15614 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
15615 (pthread_attr_setstack): New strong alias.
15616 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
15617 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
15618 pthread_attr_getstacksize, pthread_attr_setstacksize and
15619 pthread_attr_setstackaddr.
15620 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
15621 Rename to __pthread_attr_setstackaddr.
15622 (pthread_attr_setstackaddr): New strong alias.
15623 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
15624 Rename to __pthread_attr_setstacksize.
15625 (pthread_attr_setstacksize): New strong alias.
15626 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
15627 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
15628 pthread_exit.
15629 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
15630 (__pthread_key_create): New hidden def.
15631 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
15632 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
15633 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
15634 __pthread_exit, __pthread_key_create, __pthread_getspecific,
15635 __pthread_setspecific, __pthread_setcancelstate,
15636 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
15637 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
15638 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
15639 declarations.
15640 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
15641 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
15642 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
15643 (pthread_attr_setstackaddr): New strong alias.
15644 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
15645 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
15646 (pthread_attr_setstacksize): New strong alias.
15647 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
15648 (call_exit): Call __pthread_exit instead of pthread_exit.
15649 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
15650 (_pthread_mutex_init): New hidden definition.
15651 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
15652 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
15653 instead of pthread_attr_init and pthread_attr_setstack.
15654
dba2bdbe
ST
15655 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
15656 __vm_deallocate instead of vm_allocate and vm_deallocate.
15657 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
15658 setenv.
15659 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
15660 of geteuid.
15661 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
15662 strdup.
15663 * hurd/siginfo.c: Include <libioP.h>.
15664 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
15665 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
15666 munmap.
dba2bdbe
ST
15667 * mach/devstream.c: Include <libioP.h>.
15668 (dealloc_ref): Call __mach_port_deallocate instead of
15669 mach_port_deallocate.
15670 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
15671 Call __mach_port_deallocate instead of mach_port_deallocate.
15672 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
15673 pathconf.
15674 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
15675 munmap.
15676 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
15677 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
15678 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
15679 of munmap.
15680 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
15681 of close.
15682 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
15683 instead of sysconf.
15684 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
15685 __clock_gettime instead of clock_gettime.
15686 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
15687 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
15688 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
15689 * sysdeps/unix/bsd/stty.c (stty): Likewise.
15690 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
15691 tcgetattr.
15692 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
15693 __clock_gettime and __nanosleep instead of clock_gettime and
15694 nanosleep.
7a8f45e3
ST
15695 * hurd/catch-signal.c (hurd_catch_signal): Rename to
15696 __hurd_catch_signal.
15697 (hurd_catch_signal): New strong alias.
15698 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
15699 __hurd_catch_signal instead of hurd_catch_signal.
15700 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
15701 * hurd/hurdexec.c (_hurd_init): Add hidden def.
15702 * hurd/hurdinit.c (_hurd_init): Add hidden def.
15703 * hurd/hurdsig.c: Include <mach/mig_support.h>.
15704 (_hurd_thread_sigstate): Add hidden def.
15705 (_hurd_internal_post_signal): Use __mutex_unlock instead of
15706 mutex_unlock.
15707 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
15708 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
15709 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
15710 __hurd_file_name_path_lookup.
15711 (hurd_file_name_path_lookup): New strong alias.
15712 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
15713 hurd_file_name_path_lookup.
15714 * mach/errstring.c (mach_error_type): Add hidden def.
15715 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
15716 * mach/mutex-init.c (__mutex_init): Add hidden def.
15717 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
15718 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
15719 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
15720 * sysdeps/mach/hurd/getcwd.c
15721 (_hurd_canonicalize_directory_name_internal): Rename to
15722 __hurd_canonicalize_directory_name_internal.
15723 (_hurd_canonicalize_directory_name_internal): New strong alias.
15724 (__canonicalize_directory_name_internal, __getcwd): Call
15725 __hurd_canonicalize_directory_name_internal instead of
15726 _hurd_canonicalize_directory_name_internal.
15727 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
15728 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
15729 hidden defs.
15730 * sysdeps/hurd/include/hurd.h: New file.
15731 * sysdeps/hurd/include/hurd/fd.h: New file.
15732 * sysdeps/hurd/include/hurd/signal.h: New file.
15733 * sysdeps/mach/include/lock-intern.h: New file.
15734 * sysdeps/mach/include/mach.h: New file.
15735 * sysdeps/mach/include/mach/mig_support.h: New file.
15736 * sysdeps/mach/include/mach_error.h: New file.
a758c293
ST
15737 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
15738 prototype.
15739 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
15740 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
15741 _HEADER_H_HIDDEN_DEF macro.
15742 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
15743 _hurd_fd_error_signal): Add hidden prototype.
15744 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
15745 hidden def.
82dbf555
ST
15746 * libio/iolibio.h (_IO_puts): New hidden prototype.
15747 * libio/ioputs.c (_IO_puts): New hidden def.
171488a2
ST
15748 * sysdeps/mach/hurd/localplt.data: New file.
15749
33574c17 157502018-04-02 Agustina Arzille <avarzille@riseup.net>
b39d961c
TS
15751 Amos Jeffries <squid3@treenet.co.nz>
15752 David Michael <fedora.dm0@gmail.com>
15753 Marco Gerards <marco@gnu.org>
15754 Marcus Brinkmann <marcus@gnu.org>
15755 Neal H. Walfield <neal@gnu.org>
15756 Pino Toscano <toscano.pino@tiscali.it>
15757 Richard Braun <rbraun@sceen.net>
15758 Roland McGrath <roland@gnu.org>
15759 Samuel Thibault <samuel.thibault@ens-lyon.org>
15760 Thomas DiModica <ricinwich@yahoo.com>
15761 Thomas Schwinge <tschwinge@gnu.org>
33574c17
ST
15762
15763 * htl: New directory.
15764 * sysdeps/htl: New directory.
15765 * sysdeps/hurd/htl: New directory.
15766 * sysdeps/i386/htl: New directory.
15767 * sysdeps/mach/htl: New directory.
15768 * sysdeps/mach/hurd/htl: New directory.
15769 * sysdeps/mach/hurd/i386/htl: New directory.
15770 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
15771 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
15772 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
15773
03e2aa50
ST
157742018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15775
15776 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
15777 signals in thread created for runing timers.
15778
1aa52ced
FW
157792018-04-01 Florian Weimer <fweimer@redhat.com>
15780
15781 * support/support_format_addrinfo.c (support_format_addrinfo):
15782 Include unknown error number in formatted result.
15783
4d76d3e5
FW
157842018-03-29 Florian Weimer <fweimer@redhat.com>
15785
15786 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
15787 capture SIGBUS.
15788
d39c0a45
AZ
157892018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15790
15791 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
15792 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
15793 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15794 (__ASSUME_CLONE_BACKWARDS): Define.
15795
cc8a1620
JH
157962018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
15797
57408435 15798 [BZ #23024]
cc8a1620
JH
15799 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
15800 early when linux sentinel value is set.
15801
8bfd94d0
ST
158022018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15803
15804 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
15805
f178e59f
AS
158062018-03-27 Andreas Schwab <schwab@suse.de>
15807
15808 [BZ #23005]
15809 * resolv/res_send.c (__res_context_send): Return ENOMEM if
15810 allocation of private copy of nsaddr_list fails.
15811
5f45f96a
JM
158122018-03-26 Joseph Myers <joseph@codesourcery.com>
15813
15814 [BZ #16552]
15815 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
15816 * sysdeps/unix/sysv/linux/umount.c: ... here.
15817 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
15818 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
15819 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
15820 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
15821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
15822 * sysdeps/unix/sysv/linux/umount.S: Likewise.
15823 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
15824
3dfd23eb
AS
158252018-03-26 Andreas Schwab <schwab@suse.de>
15826
15827 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
15828 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
15829 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
15830 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
15831 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
15832 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
15833 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
15834 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
15835 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
15836 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
15837 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
15838 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
15839 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
15840 (R_RISCV_NUM): Define.
15841
fa97d2ab
ST
158422018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
15843
15844 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
15845 TLS declaration of errno.
37be82a0
ST
15846 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
15847 __libc_setup_tls.
15848 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
15849 (ARCH_SETUP_TLS): Likewise.
15850 * sysdeps/mach/hurd/libc-start.h: New file copied from
15851 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
978a6803
ST
15852 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
15853 instead of __libc_setup_tls.
37be82a0 15854 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
978a6803
ST
15855 __libc_setup_tls before initializing libpthread and running _hurd_init
15856 which starts the signal thread.
15857 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
15858 Declare function.
2d813d7b 15859 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fa97d2ab 15860
b8114edd
L
158612018-03-24 H.J. Lu <hongjiu.lu@intel.com>
15862
15863 [BZ #22998]
15864 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
15865 after it is defined.
15866
cd66c0e5
AS
158672018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
15868 Max Horn <max@quendi.de>
15869
15870 [BZ #22644]
43d4f3d5 15871 CVE-2017-18269
cd66c0e5
AS
15872 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
15873 branch conditions.
15874 * string/test-memmove.c (do_test2): New testcase.
15875
a4406139
JM
158762018-03-22 Joseph Myers <joseph@codesourcery.com>
15877
15878 * sysdeps/generic/frame.h: Remove file.
15879 * sysdeps/arm/frame.h: Likewise.
15880 * sysdeps/hppa/frame.h: Likewise.
15881 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
15882 macro.
15883 (GET_FRAME): Likewise.
15884 (GET_STACK): Likewise.
15885 (CALL_SIGHANDLER): Likewise.
15886 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
15887 Likewise.
15888 (GET_FRAME): Likewise.
15889 (GET_STACK): Likewise.
15890 (CALL_SIGHANDLER): Likewise.
15891 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
15892 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15893 (GET_FRAME): Likewise.
15894 (GET_STACK): Likewise.
15895 (CALL_SIGHANDLER): Likewise.
15896 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
15897 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15898 (GET_FRAME): Likewise.
15899 (GET_STACK): Likewise.
15900 (ADVANCE_STACK_FRAME): Likewise.
15901 (CALL_SIGHANDLER): Likewise.
15902 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
15903 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15904 (GET_FRAME): Likewise.
15905 (GET_STACK): Likewise.
15906 (CALL_SIGHANDLER): Likewise.
15907 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
15908 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15909 (GET_FRAME): Likewise.
15910 (GET_STACK): Likewise.
15911 (CALL_SIGHANDLER): Likewise.
15912 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
15913 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15914 (GET_FRAME): Likewise.
15915 (GET_STACK): Likewise.
15916 (CALL_SIGHANDLER): Likewise.
15917 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
15918 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15919 (GET_FRAME): Likewise.
15920 (GET_STACK): Likewise.
15921 (CALL_SIGHANDLER): Likewise.
15922 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
15923 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15924 (GET_FRAME): Likewise.
15925 (GET_STACK): Likewise.
15926 (CALL_SIGHANDLER): Likewise.
15927 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
15928 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15929 (GET_FRAME): Likewise.
15930 (GET_STACK): Likewise.
15931 (CALL_SIGHANDLER): Likewise.
15932 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
15933 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15934 (GET_FRAME): Likewise.
15935 (GET_STACK): Likewise.
15936 (CALL_SIGHANDLER): Likewise.
15937 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
15938 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15939 (GET_FRAME): Likewise.
15940 (GET_STACK): Likewise.
15941 (CALL_SIGHANDLER): Likewise.
15942 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
15943 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15944 (GET_FRAME): Likewise.
15945 (GET_STACK): Likewise.
15946 (CALL_SIGHANDLER): Likewise.
15947 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
15948 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15949 (FIRST_FRAME_POINTER): Likewise.
15950 (ADVANCE_STACK_FRAME): Likewise.
15951 (GET_STACK): Likewise.
15952 (GET_FRAME): Likewise.
15953 (CALL_SIGHANDLER): Likewise.
15954 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
15955 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15956 (ADVANCE_STACK_FRAME): Likewise.
15957 (GET_STACK): Likewise.
15958 (GET_FRAME): Likewise.
15959 (CALL_SIGHANDLER): Likewise.
15960 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
15961 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15962 (GET_FRAME): Likewise.
15963 (GET_STACK): Likewise.
15964 (CALL_SIGHANDLER): Likewise.
15965 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
15966 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15967 (GET_FRAME): Likewise.
15968 (GET_STACK): Likewise.
15969 (CALL_SIGHANDLER): Likewise.
15970
ffec7b27
JM
159712018-03-21 Joseph Myers <joseph@codesourcery.com>
15972
15973 * sysdeps/x86_64/backtrace.c: Move to ....
15974 * debug/backtrace.c: ... here.
15975 * sysdeps/aarch64/backtrace.c: Remove file.
15976 * sysdeps/alpha/backtrace.c: Likewise.
15977 * sysdeps/hppa/backtrace.c: Likewise.
15978 * sysdeps/ia64/backtrace.c: Likewise.
15979 * sysdeps/mips/backtrace.c: Likewise.
15980 * sysdeps/nios2/backtrace.c: Likewise.
15981 * sysdeps/riscv/backtrace.c: Likewise.
15982 * sysdeps/sh/backtrace.c: Likewise.
15983 * sysdeps/tile/backtrace.c: Likewise.
15984
8a07b0c4
JM
159852018-03-20 Joseph Myers <joseph@codesourcery.com>
15986
d0c5d731
JM
15987 [BZ #22987]
15988 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
15989 function.
15990 (fdimf): Likewise.
15991 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
15992
8a07b0c4
JM
15993 [BZ #17343]
15994 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
15995 possibly overflowing computations.
15996
ceb54b9b
ST
159972018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
15998
15999 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
16000 values from Linux-specific section now that it is in the GNU section.
16001 * sysdeps/gnu/errlist.c: Regenerate.
16002
8d3f9e85
JM
160032018-03-20 Joseph Myers <joseph@codesourcery.com>
16004
16005 * math/Makefile (libm-narrow-fns): Add sub.
16006 (libm-test-funcs-narrow): Likewise.
16007 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
16008 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
16009 * math/gen-auto-libm-tests.c (test_functions): Add sub.
16010 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
16011 (NARROW_SUB_ROUND_TO_ODD): Likewise.
16012 (NARROW_SUB_TRIVIAL): Likewise.
16013 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
16014 macro.
16015 (__dsubl): Likewise.
16016 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
16017 dsub.
16018 (CFLAGS-nldbl-dsub.c): New variable.
16019 (CFLAGS-nldbl-fsub.c): Likewise.
16020 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16021 __nldbl_dsubl.
16022 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
16023 prototype.
16024 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
16025 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
16026 * math/auto-libm-test-in: Add tests of sub.
16027 * math/auto-libm-test-out-narrow-sub: New generated file.
16028 * math/libm-test-narrow-sub.inc: New file.
16029 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
16030 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
16031 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
16032 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
16033 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
16034 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
16035 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
16036 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
16037 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
16038 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
16039 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
16040 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
16041 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
16042 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
16043 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
16044 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
16045 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
16046 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
16047 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16048 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16049 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16050 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16051 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16052 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16053 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16054 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16055 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16056 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16057 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16058 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16059 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16060 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16065 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16066 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16067 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16068 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16069 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16070 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16071 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
16072 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
16073 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16074 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16075
d473f015
JM
160762018-03-19 Joseph Myers <joseph@codesourcery.com>
16077
16078 [BZ #20079]
16079 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
16080
fbce6f72
WD
160812018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
16082
16083 * benchtests/bench-timing.h (attribute_hidden): Undefine.
16084
72e7ffc3
RB
160852018-03-18 Richard Braun <rbraun@sceen.net>
16086
16087 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
16088 thread reference.
16089
542c20a1
AA
160902018-03-18 Agustina Arzille <avarzille@riseup.net>
16091
16092 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
16093 (__libc_cleanup_fct): Define function.
16094 (__libc_cleanup_region_start, __libc_cleanup_region_end,
16095 __libc_cleanup_end): Rewrite implementation using
16096 __attribute__ ((__cleanup__)).
16097 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
fb4cc8a0
AA
16098 * hurd/Makefile (routines): Add hurdlock.
16099 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
16100 interface.
16101 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
16102 * hurd/hurdpid.c: Include <lowlevellock.h>
16103 (_S_msg_proc_newids): Use lll_wait to synchronize.
16104 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
16105 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
16106 * mach/Makefile (lock-headers): Remove machine-lock.h.
16107 * mach/lock-intern.h: Include <lowlevellock.h> instead of
16108 <machine-lock.h>.
16109 (__spin_lock_t): New type.
16110 (__SPIN_LOCK_INITIALIZER): New macro.
16111 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
16112 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
16113 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
16114 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
16115 (__mutex_init): Initialize with lll.
16116 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
16117 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
16118 needing lll.
16119 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16120 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
16121 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
16122 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
16123 (__setpgid): Use lll for synchronization.
16124 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
16125 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
16126 instead of <cthreads.h>.
16127 (_IO_lock_inexpensive): New macro
16128 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
16129 (__libc_lock_self0): New declaration.
16130 (__libc_lock_owner_self): New macro.
16131 (__libc_key_t): Remove type.
16132 (_LIBC_LOCK_INITIALIZER): New macro.
16133 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
16134 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
16135 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
16136 __libc_lock_define_initialized_recursive,
16137 __rtld_lock_define_initialized_recursive,
16138 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
16139 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
16140 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
16141 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
16142 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
16143 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
16144 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
16145 New macros.
16146 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
16147 * hurd/hurdlock.c: New file.
16148 * hurd/hurdlock.h: New file.
16149 * mach/lowlevellock.h: New file
542c20a1 16150
9a37922e
ST
161512018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16152
16153 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
489999cc
ST
16154 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
16155 when opening a symlink with O_NOFOLLOW.
72103e73
ST
16156 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
16157 path when flags contains O_NOFOLLOW.
16158 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
16159 if flags contains O_DIRECTORY and the result is a directory.
aa218929
ST
16160 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
16161 oneself when the pointer given in D is nul (as set by ext2fs).
20bc801b
ST
16162 * sysdeps/mach/hurd/mlockall.c: New file.
16163 * sysdeps/mach/hurd/munlockall.c: New file.
9a37922e 16164
34e6a869
ST
161652018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
16166
16167 * hurd/hurdsig.c: Include <pthread.h>.
16168 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
16169 get the signal thread stack layout.
dc33bef3
ST
16170 * hurd/Makefile (headers): Remove threadvar.h.
16171 (inline-headers): Remove threadvar.h.
16172 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
16173 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
16174 __hurd_threadvar_max, __hurd_errno_location.
16175 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
16176 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
16177 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
16178 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
16179 unless TLS is not initialized yet, in which case we do not need a
16180 critical section yet anyway.
16181 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
16182 <machine-sp.h>.
16183 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
16184 declarations.
16185 (__hurd_threadvar_index): Remove enum.
16186 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
16187 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
16188 inlines.
16189 (__hurd_reply_port0): New variable declaration.
16190 (__hurd_local_reply_port): New macro.
16191 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
16192 (interrupted_reply_port_location): Add thread_t parameter. Use it
16193 with THREAD_TCB to access thread-local variables.
16194 (_hurdsig_abort_rpcs): Pass ss->thread to
16195 interrupted_reply_port_location.
16196 (_hurd_internal_post_signal): Likewise.
16197 (_hurdsig_init): Use presence of cthread_fork instead of
16198 __hurd_threadvar_stack_mask to start signal thread by hand.
16199 Remove signal thread threadvar initialization.
16200 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
16201 * hurd/sigunwind.c: Include <hurd/threadvar.h>
16202 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
16203 of threadvar.
16204 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
16205 __libc_lock_self0.
16206 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
16207 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
16208 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
16209 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
16210 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
16211 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
16212 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
16213 define variables.
16214 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
16215 <hurd/threadvar.h>.
16216 [IS_IN(rtld)] (rtld_errno): New variable.
16217 [IS_IN(rtld)] (__errno_location): New weak function.
16218 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
16219 * sysdeps/mach/hurd/errno.c: Remove file.
16220 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
16221 (__fork): Remove THREADVAR_SPACE macro and its use.
16222 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
16223 variable.
16224 (init): Do not initialize threadvar.
16225 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
16226 symbol.
16227 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
16228 __hurd_local_reply_port instead of threadvar.
16229 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
16230 _hurd_sigstate fields.
16231 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
16232 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
16233 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
16234 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
16235 instead of threadvar.
16236 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
16237 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
16238 (use_threadvar, global_reply_port): Remove variables.
16239 (__hurd_reply_port0): New variable.
16240 (__mig_get_reply_port): Use __hurd_local_reply_port and
16241 __hurd_reply_port0 instead of threadvar.
16242 (__mig_dealloc_reply_port): Likewise.
16243 (__mig_init): Do not initialize threadvar.
16244 * sysdeps/mach/hurd/profil.c: Fix comment.
c2fb08c7
ST
16245 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
16246 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
16247 cthread_keycreate, cthread_getspecific, cthread_setspecific to
16248 __cthread_fork, __cthread_detach, __pthread_getattr_np,
16249 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
16250 __cthread_setspecific.
16251 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
16252 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
16253 __cthread_t instead of cthread_fork, cthread_detach,
16254 pthread_getattr_np, pthread_attr_getstack.
16255 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
16256 __cthread_keycreate.
16257 (cthread_getspecific): Rename to __cthread_getspecific.
16258 (cthread_setspecific): Rename to __cthread_setspecific.
16259 (__libc_getspecific): Use __cthread_getspecific instead of
16260 cthread_getspecific.
16261 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
16262 __cthread_keycreate instead of cthread_keycreate.
16263 (__libc_setspecific): Use __cthread_setspecific instead of
16264 cthread_setspecific.
16265 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
16266 Likewise.
dd28d4ba
ST
16267 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
16268 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
16269 testing whether it is defined.
34e6a869 16270
f8baf2a2
ST
162712018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16272
16273 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
16274 Define macro.
16275 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
16276 * sysdeps/mach/i386/thread_state.h
16277 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
16278 i386_THREAD_STATE.
16279 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
16280 i386_THREAD_STATE.
16281 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
16282
16283 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
16284 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
16285
16286 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
16287 macros.
16288 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
16289 descriptor instead of creating a new one.
16290 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
16291
16292 * mach/setup-thread.c: Include <ldsodefs.h>.
16293 (__mach_setup_thread): Call _dl_allocate_tls, pass
16294 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
16295 MACHINE_THREAD_STATE_FLAVOR, before getting
16296 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
16297 MACHINE_THREAD_STATE_FLAVOR with the result.
16298 * hurd/hurdfault.c (_hurdsig_fault_init): Call
16299 MACHINE_THREAD_STATE_FIX_NEW.
16300 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
16301 too. Add original thread parameter.
16302
34ba96b8
JM
163032018-03-16 Joseph Myers <joseph@codesourcery.com>
16304
5d75b75f
JM
16305 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
16306 Remove inline function.
16307
34ba96b8
JM
16308 * sysdeps/i386/fpu/libm-test-ulps: Update.
16309 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
16310
22679b2c
WD
163112018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
16312
16313 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
16314 commit.
16315
c429a8d8
JM
163162018-03-15 Joseph Myers <joseph@codesourcery.com>
16317
16318 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
16319 (__sincos_code): Remove define and undefine.
16320 [__FAST_MATH__] (__sincos): Remove inline function.
16321 [__FAST_MATH__] (__sincosf): Remove inline function.
16322 [__FAST_MATH__] (__sincosl): Remove inline function.
16323 (__atan2l): Remove inline functions.
16324 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
16325 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
16326 function.
16327 (floor): Remove inline function.
16328 (ceil): Likewise.
16329 [__FAST_MATH__] (__ldexp_code): Remove macro.
16330 [__FAST_MATH__] (ldexp): Remove inline function.
16331 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
16332 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
16333 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
16334 [__USE_ISOC99] (__lrint_code): Remove macro.
16335 [__USE_ISOC99] (__llrint_code): Likewise.
16336 [__USE_ISOC99] (lrintf): Remove inline function.
16337 [__USE_ISOC99] (lrint): Likewise.
16338 [__USE_ISOC99] (lrintl): Likewise.
16339 [__USE_ISOC99] (llrint): Likewise.
16340 [__USE_ISOC99] (llrintf): Likewise.
16341 [__USE_ISOC99] (llrintl): Likewise.
16342
700593fd
WD
163432018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16344
16345 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
16346 (__ieee754_sqrtf): Remove.
16347 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
16348 (__ieee754_sqrtf): Remove.
16349 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
16350 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
16351 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
16352 (__ieee754_sqrtf): Remove.
16353 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
16354 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
16355 (sqrtf): Remove.
16356 (sqrtl): Remove.
16357 (__ieee754_sqrt): Remove.
16358 (__ieee754_sqrtf): Remove.
16359 (__ieee754_sqrtl): Remove.
16360 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
16361 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
16362 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
16363 (__ieee754_sqrtf): Remove.
16364 (__ieee754_sqrtl): Remove.
16365
f67a8147
WD
163662018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16367
16368 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
16369 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
16370 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
16371 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
16372 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
16373 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16374 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16375 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
16376 Likewise.
16377 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
16378 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
16379 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
16380 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
16381 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
16382 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
16383 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
16384 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
16385 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
16386 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
16387 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
16388 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
16389 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
16390 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
16391 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
16392 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16393 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16394 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
16395 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
16396 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
16397 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16398 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16399 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
16400 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
16401 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
16402 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
16403 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16404 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16405 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
16406 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
16407 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
16408 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
16409 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
16410 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
16411 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16412 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16413 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
16414 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
16415 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
16416 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
16417
1294b189
WD
164182018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16419
16420 * include/math.h (sqrt): Declare with asm redirect.
16421 (sqrtf): Likewise.
16422 (sqrtl): Likewise.
16423 (sqrtf128): Likewise.
16424 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
16425 nonlib and libnldbl with -fmath-errno.
16426 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
16427 * math/w_sqrt_template.c: Likewise.
16428 * math/w_sqrtf_compat.c: Likewise.
16429 * math/w_sqrtl_compat.c: Likewise.
16430 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
16431 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
16432 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
16433 complex.h.
16434
f1c8185d
WD
164352018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16436
16437 * benchtests/Makefile: Define _ISOMAC.
16438 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
16439 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
16440 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
16441 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
16442 * benchtests/bench-timing.h: Define attribute_hidden.
16443
b47c3e76
SP
164442018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
16445
16446 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
16447 mov + lsr.
16448
807fee29
RL
164492018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16450
16451 [BZ #22963]
16452 * localedata/locales/cs_CZ (mon): Rename to...
16453 (alt_mon): This.
16454 (mon): Import from CLDR (genitive case).
16455
e7155a28
RL
164562018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16457
16458 [BZ #22937]
16459 * localedata/locales/el_CY (abmon): Rename to...
16460 (ab_alt_mon): This.
16461 (abmon): Import from CLDR (abbreviated genitive case).
16462 * localedata/locales/el_GR (abmon): Rename to...
16463 (ab_alt_mon): This.
16464 (abmon): Import from CLDR (abbreviated genitive case).
16465
71d7b121
RL
164662018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16467
16468 [BZ #22932]
16469 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
16470
a00bffe8
RB
164712018-03-15 Robert Buj <robert.buj@gmail.com>
16472
16473 [BZ #22848]
16474 * localedata/locales/ca_ES (abmon): Rename to...
16475 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
16476 (mon): Rename to...
16477 (alt_mon): This.
16478 (abmon): Import from CLDR (genitive case, month names preceded by
16479 "de" or "d’").
16480 (mon): Likewise.
16481 (abday): Synchronize with CLDR.
16482 (d_t_fmt): Likewise.
16483 (d_fmt): Likewise.
16484 (am_pm): Likewise.
16485
16486 (LC_TIME): Improve indentation.
16487 (LC_TELEPHONE): Likewise.
16488 (LC_NAME): Likewise.
16489 (LC_ADDRESS): Likewise.
16490
f9555d73
JM
164912018-03-14 Joseph Myers <joseph@codesourcery.com>
16492
16493 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
16494 (lrintf): Remove definitions used only with old GCC.
16495 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
16496 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
16497 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
16498 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
16499 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
16500 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
16501 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
16502 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
16503 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
16504 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
16505 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
16506 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
16507 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
16508 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
16509 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
16510 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
16511 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
16512 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
16513 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
16514 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
16515 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
16516 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
16517 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
16518 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
16519 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
16520 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
16521 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
16522 [__FAST_MATH__] (__M_SQRT2): Remove macro.
16523
d46f84de
SP
165242018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
16525
16526 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
16527 instruction to unbreak builds with binutils 2.26 and older.
16528
7108f1f9
SP
165292018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
16530
16531 * sysdeps/aarch64/strncmp.S (count): New macro.
16532 (strncmp): Store misaligned length in SRC1 in COUNT.
16533 (mutual_align): Adjust.
16534 (misaligned8): Load dword at a time when it is safe.
16535
2cc7bad0
ZW
165362018-03-12 Zack Weinberg <zackw@panix.com>
16537
16538 [BZ #1190]
16539 [BZ #19476]
16540 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
16541 if the _IO_EOF_SEEN bit is already set; update commentary.
16542 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
16543 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
16544
16545 * support/support_openpty.c, support/tty.h: New files.
16546 * support/Makefile (libsupport-routines): Add support_openpty.
16547
16548 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
16549 New test cases.
16550 * libio/Makefile (tests): Add tst-fgetc-after-eof.
16551 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
16552
778f1974
DL
165532018-03-12 Dmitry V. Levin <ldv@altlinux.org>
16554
16555 * po/pt_BR.po: Update translations.
16556
6b5c8607 165572018-03-12 David Michael <fedora.dm0@gmail.com>
da6d4404
DM
16558
16559 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
16560 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
16561 get a port to the startup server.
16562
d3da750d
ZW
165632018-03-11 Zack Weinberg <zackw@panix.com>
16564
16565 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
16566 before nldbl-compat.h.
16567
054b72cc
ZW
165682018-03-10 Zack Weinberg <zackw@panix.com>
16569
0d13dfa1
ZW
16570 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
16571 math.h or math_private.h.
16572
16573 * sysdeps/alpha/fpu/s_isnan.c
16574 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
16575 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
16576 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
16577 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
16578 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
16579 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
16580 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
16581 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
16582 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
16583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
16584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
16585 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
16586 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
16587 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
16588 Include math_private.h.
16589
16590 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
16591 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
16592 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
16593 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
16594 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
16595 * sysdeps/powerpc/power7/fpu/s_logb.c:
16596 Include math.h and math_private.h.
16597
054b72cc
ZW
16598 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
16599 uses of $at in .set noat / .set at.
16600
6253bacd
L
166012018-03-10 H.J. Lu <hongjiu.lu@intel.com>
16602
16603 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
16604 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
16605 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
16606 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
16607 Likewise.
16608
229855e5
FW
166092018-03-09 Florian Weimer <fweimer@redhat.com>
16610
16611 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
16612 in comment.
16613
9aa5c222
AJ
166142018-03-09 Aurelien Jarno <aurelien@aurel32.net>
16615
16616 [BZ #22919]
16617 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
16618 Add nop before __startcontext, add explaining comments.
16619
3dc21497
AZ
166202018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16621
e921c89e
AZ
16622 [BZ #22926]
16623 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
16624 empty for __SPE__.
16625 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
16626 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
16627 Do not build hardware transactional code for __SPE__.
16628 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
16629 (__lll_trylock_elision): Likewise.
16630 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
16631 (__lll_unlock_elision): Likewise.
16632
d9f26dab 16633 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
3dc21497
AZ
16634 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
16635 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
16636 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
16637 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
16638 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
16639 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
16640 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
16641 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
16642 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
16643 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
16644 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
16645 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
16646 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
16647 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
16648 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
16649 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
16650 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
16651 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
16652 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
16653 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
16654 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16655 (__ASSUME_CLONE_BACKWARDS): Define.
16656 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
16657 __clone2 if __NR_clone2 is defined.
16658 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16659 (__ASSUME_CLONE_BACKWARDS): Likewise.
16660 * sysdeps/unix/sysv/linux/i386/kernel-features.h
16661 (__ASSUME_CLONE_BACKWARDS): Likewise.
16662 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16663 (__ASSUME_CLONE2): Likewise.
16664 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16665 (__ASSUME_CLONE_BACKWARDS3): Likewise.
16666 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
16667 variants and the define architecture can use.
16668 (__ASSUME_CLONE_DEFAULT): Define as default.
16669 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16670 (__ASSUME_CLONE_BACKWARDS): Likewise.
16671 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16672 (__ASSUME_CLONE_BACKWARDS): Likewise.
16673 * sysdeps/unix/sysv/linux/s390/kernel-features.h
16674 (__ASSUME_CLONE_BACKWARDS2): Likewise.
16675
adc95fb0
SP
166762018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
16677
4e54d918
SP
16678 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
16679
30a81dae
SP
16680 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
16681 time.
16682
adc95fb0
SP
16683 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
16684 (do_test_limit): Likewise.
16685
16686 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
16687 for every implementation.
16688 (do_test): Likewise.
16689
16690 * benchtests/bench-strncmp.c: Convert output to json.
16691
4e9066bc
ST
166922018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16693
16694 * io/futimens.c: Add missing start-of-file descriptive comment.
16695 * io/utime.c: Likewise.
16696 * misc/futimesat.c: Likewise.
16697 * misc/utimes.c: Likewise.
16698 * sysdeps/mach/hurd/futimesat.c: Likewise.
16699 * sysdeps/mach/hurd/utimes.c: Likewise.
16700 * sysdeps/posix/utime.c: Likewise.
16701 * sysdeps/posix/utimes.c: Likewise.
16702 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
16703 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
16704 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
16705 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
16706
ec1300cf
ST
167072018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16708
16709 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
16710 hurd_futimes.
16711 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
16712 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
16713 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
16714 (__futimens): Move implementation to...
16715 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
16716 utime_tvalue_from_tspec): ... new helper functions.
16717 (hurd_futimens): New function.
16718 * sysdeps/mach/hurd/futimesat.c: New file.
16719 * sysdeps/mach/hurd/utimensat.c: New file.
16720
bbe762d1
FC
167212018-03-05 Flávio Cruz <flaviocruz@gmail.com>
16722
16723 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
16724 UTIME_OMIT): New macros.
16725 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
16726 before reverting to converting time spec to time value and calling
16727 __file_utimes.
16728 * sysdeps/mach/hurd/utime-helper.c: New file.
16729 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
16730 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
16731 reverting to utime_tvalue_from_tval and __file_utimes.
16732 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
16733 (__lutimes): Just call hurd_futimens after lookup.
16734 * sysdeps/mach/hurd/utimes.c: Likewise.
16735
a1ede3a4
ST
167362018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16737
16738 * bits/sigaction.h: Add include guard.
16739 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
16740 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
16741 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
16742 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
16743 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
16744 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
16745 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
16746 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
16747 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
16748
6900d2ca
JM
167492018-03-05 Joseph Myers <joseph@codesourcery.com>
16750
16751 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
16752 -Wmaybe-uninitialized for -Os.
16753 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
16754 this disabling.
16755
68448be2
AZ
167562018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16757
5226a81f
AZ
16758 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
16759 __INO_T_MATCHES_INO64_T is defined.
16760 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
16761 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
16762 of definition.
16763 * dirent/alphasort64.c: Likewise.
16764 * dirent/scandir.c: Likewise.
16765 * dirent/scandir64-tail.c: Likewise.
16766 * dirent/scandir64.c: Likewise.
16767 * dirent/scandirat.c: Likewise.
16768 * dirent/scandirat64.c: Likewise.
16769 * dirent/versionsort.c: Likewise.
16770 * dirent/versionsort64.c: Likewise.
16771 * include/dirent.h: Likewise.
16772
fbd01e6c
AZ
16773 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
16774 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
16775 for socketpair endpoint.
16776 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
16777 WRITE_BUFFER_SIZE as buffer size for sending socket.
16778 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
16779 issue on system where send is implemented with sendto syscall.
16780 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
16781 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
16782 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
16783 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
16784
68448be2
AZ
16785 [BZ #21269]
16786 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
16787 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
16788 sa_restorer for vDSO case.
16789 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
16790
eb1ca47e
ST
167912018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
16792
16793 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
e30c291a
ST
16794 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
16795 * hurd/hurd/ioctl.h: Include <mach/port.h>
16796 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
f4bff843
ST
16797 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
16798 <mach/mach_types.h> and <mach/message.h>.
430fd945
ST
16799 (headers): Move mach/param.h to bits/mach/param.h.
16800 * sysdeps/mach/i386/mach/param.h: Move file to ...
16801 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
16802 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
16803 of <mach/param.h>.
3403cb7d
ST
16804 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
16805 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
16806 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
48d34cbc
ST
16807 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
16808 trivial, for C++ conformity.
44c6376c 16809 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
95dfdbd2
ST
16810 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
16811 Process mig output through $(migheadersed).
16812 * hurd/Makefile (migheadersed): Define variable.
a726c87a
ST
16813 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
16814 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
16815 headers.
ba89615d
ST
16816 * hurd/hurd.h: Include <bits/types/sigset_t.h>
16817 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
16818 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
16819 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
16820 <bits/types/sigset_t.h>.
16821 [!defined __USE_GNU]: Do not #error out.
16822 (struct hurd_sigstate): Use _NSIG instead of NSIG.
16823 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
16824 Include <stddef.h> and <bits/types/sigset_t.h>
16825 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
16826 instead of sighandler_t.
974393ea
ST
16827 * stdlib/errno.h (error_t): Move definition to...
16828 * bits/types/error_t.h: ... new header.
16829 * stdlib/Makefile (headers): Add bits/types/error_t.h.
16830 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
16831 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
16832 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
16833 * hurd/hurd.h: Include <bits/types/error_t.h>
16834 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
16835 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
16836 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
16837 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
16838 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
16839 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
8d965cde 16840 * sysdeps/mach/hurd/futimens.c: New file.
eb1ca47e 16841
eaf6753f
AS
168422018-03-03 Andreas Schwab <schwab@linux-m68k.org>
16843
16844 [BZ #22918]
16845 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
16846 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
16847 * nscd/gai.c (__nss_hosts_database): Readd definition.
16848 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
16849 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
16850 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
16851
4dc23804
JM
168522018-03-02 Joseph Myers <joseph@codesourcery.com>
16853
16854 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
16855 (ifunc_one): Likewise.
16856
1c81d55f
DD
168572018-03-01 DJ Delorie <dj@delorie.com>
16858
16859 [BZ #22342]
16860 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
16861 key value.
16862
b717c14f
MR
168632018-03-01 Maciej W. Rozycki <macro@mips.com>
16864
16865 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
16866 `match_pid' parameter.
16867 (td_ta_thr_iter): Update accordingly.
16868
1efe1358
FW
168692018-03-01 Florian Weimer <fweimer@redhat.com>
16870
16871 * nptl/Makefile (install-lib-ldscripts): Remove.
16872 (install): Remove rule.
16873 ($(inst_libdir)/libpthread.so): Likewise.
16874
a527f09c
MF
168752018-03-01 Mike FABIAN <mfabian@redhat.com>
16876
16877 [BZ #22896]
16878 * localedata/locales/an_ES: update month and day names,
16879 improve d_fmt, improve postal_fmt, add country_post,
16880 add country_isbn
16881
35d660b0
MF
168822018-03-01 Mike FABIAN <mfabian@redhat.com>
16883
16884 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
16885 Ukrainian instead of Bulgarian.
16886
1a2f44a8
FW
168872018-03-01 Florian Weimer <fweimer@redhat.com>
16888
16889 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
16890 reference.
16891
bd60ce86
FW
168922018-03-01 Florian Weimer <fweimer@redhat.com>
16893
16894 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
16895 * nptl/Makefile (routines): Add pthread_atfork.
16896 (static-only-routines): Set to pthread_atfork.
16897 (libpthread-routines): Remove pthread_atfork.
16898 (libpthread-static-only-routines): Remove.
16899 (install): Update comment.
16900 (libpthread.so): Do not install libpthread_nonshared.a.
16901 (tests): Do not link with libpthread_nonshared.a.
16902 (generated): Remove libpthread_nonshared.a.
16903 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
16904 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
16905 with libpthread_nonshared.a.
16906
000f290f
JM
169072018-02-28 Joseph Myers <joseph@codesourcery.com>
16908
e2bcf6a8
JM
16909 [BZ #22902]
16910 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
16911 (libc_feholdexcept_setroundf128): New macro.
16912 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
16913
000f290f
JM
16914 [BZ #15105]
16915 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
16916 libc_hidden_def.
16917 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
16918 * include/inttypes.h: New file.
16919
02f2fead
JM
169202018-02-27 Joseph Myers <joseph@codesourcery.com>
16921
16922 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
16923 -Os in two more places.
16924
874c56d7
MF
169252018-02-27 Mike FABIAN <mfabian@redhat.com>
16926
16927 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
16928 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
16929 be sorted correctly at the moment because of a bug.
16930
15973854
MF
169312018-02-27 Mike FABIAN <mfabian@redhat.com>
16932
16933 [BZ #22550] - es_ES locale (and other es_* locales): collation should
16934 treat ñ as a primary different character, sync the collation
16935 for Spanish with CLDR.
16936 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
16937 * localedata/Makefile: Add new test files.
16938 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
16939 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
16940 collation order.
16941 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
16942 * localedata/am_ET.UTF-8.in: New test file.
16943 * localedata/az_AZ.UTF-8.in: Likewise.
16944 * localedata/be_BY.UTF-8.in: Likewise.
16945 * localedata/ber_DZ.UTF-8.in: Likewise.
16946 * localedata/ber_MA.UTF-8.in: Likewise.
16947 * localedata/bg_BG.UTF-8.in: Likewise.
16948 * localedata/br_FR.UTF-8.in: Likewise.
16949 * localedata/cmn_TW.UTF-8.in: Likewise.
16950 * localedata/crh_UA.UTF-8.in: Likewise.
16951 * localedata/csb_PL.UTF-8.in: Likewise.
16952 * localedata/cv_RU.UTF-8.in: Likewise.
16953 * localedata/cy_GB.UTF-8.in: Likewise.
16954 * localedata/dz_BT.UTF-8.in: Likewise.
16955 * localedata/eo.UTF-8.in: Likewise.
16956 * localedata/es_ES.UTF-8.in: Likewise.
16957 * localedata/fa_IR.UTF-8.in: Likewise.
16958 * localedata/fi_FI.UTF-8.in: Likewise.
16959 * localedata/fil_PH.UTF-8.in: Likewise.
16960 * localedata/fur_IT.UTF-8.in: Likewise.
16961 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
16962 * localedata/ha_NG.UTF-8.in: Likewise.
16963 * localedata/ig_NG.UTF-8.in: Likewise.
16964 * localedata/ik_CA.UTF-8.in: Likewise.
16965 * localedata/kk_KZ.UTF-8.in: Likewise.
16966 * localedata/ku_TR.UTF-8.in: Likewise.
16967 * localedata/ky_KG.UTF-8.in: Likewise.
16968 * localedata/ln_CD.UTF-8.in: Likewise.
16969 * localedata/mi_NZ.UTF-8.in: Likewise.
16970 * localedata/ml_IN.UTF-8.in: Likewise.
16971 * localedata/mn_MN.UTF-8.in: Likewise.
16972 * localedata/mr_IN.UTF-8.in: Likewise.
16973 * localedata/mt_MT.UTF-8.in: Likewise.
16974 * localedata/nb_NO.UTF-8.in: Likewise.
16975 * localedata/om_KE.UTF-8.in: Likewise.
16976 * localedata/os_RU.UTF-8.in: Likewise.
16977 * localedata/ps_AF.UTF-8.in: Likewise.
16978 * localedata/ro_RO.UTF-8.in: Likewise.
16979 * localedata/ru_RU.UTF-8.in: Likewise.
16980 * localedata/sc_IT.UTF-8.in: Likewise.
16981 * localedata/se_NO.UTF-8.in: Likewise.
16982 * localedata/sq_AL.UTF-8.in: Likewise.
16983 * localedata/sv_SE.UTF-8.in: Likewise.
16984 * localedata/szl_PL.UTF-8.in: Likewise.
16985 * localedata/tg_TJ.UTF-8.in: Likewise.
16986 * localedata/tk_TM.UTF-8.in: Likewise.
16987 * localedata/tt_RU.UTF-8.in: Likewise.
16988 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
16989 * localedata/ug_CN.UTF-8.in: Likewise.
16990 * localedata/uz_UZ.UTF-8.in: Likewise.
16991 * localedata/vi_VN.UTF-8.in: Likewise.
16992 * localedata/yi_US.UTF-8.in: Likewise.
16993 * localedata/yo_NG.UTF-8.in: Likewise.
16994 * localedata/zh_CN.UTF-8.in: Likewise.
16995 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
16996 file and fix bugs in the collation.
16997 * localedata/locales/az_AZ: Likewise.
16998 * localedata/locales/be_BY: Likewise.
16999 * localedata/locales/ber_DZ: Likewise.
17000 * localedata/locales/ber_MA: Likewise.
17001 * localedata/locales/bg_BG: Likewise.
17002 * localedata/locales/br_FR: Likewise.
17003 * localedata/locales/br_FR@euro: Likewise.
17004 * localedata/locales/ca_ES: Likewise.
17005 * localedata/locales/cns11643_stroke: Likewise.
17006 * localedata/locales/crh_UA: Likewise.
17007 * localedata/locales/cs_CZ: Likewise.
17008 * localedata/locales/csb_PL: Likewise.
17009 * localedata/locales/cv_RU: Likewise.
17010 * localedata/locales/cy_GB: Likewise.
17011 * localedata/locales/da_DK: Likewise.
17012 * localedata/locales/dz_BT: Likewise.
17013 * localedata/locales/en_CA: Likewise.
17014 * localedata/locales/eo: Likewise.
17015 * localedata/locales/es_CU: Likewise.
17016 * localedata/locales/es_EC: Likewise.
17017 * localedata/locales/es_ES: Likewise.
17018 * localedata/locales/es_US: Likewise.
17019 * localedata/locales/et_EE: Likewise.
17020 * localedata/locales/fa_IR: Likewise.
17021 * localedata/locales/fi_FI: Likewise.
17022 * localedata/locales/fil_PH: Likewise.
17023 * localedata/locales/fur_IT: Likewise.
17024 * localedata/locales/gez_ER@abegede: Likewise.
17025 * localedata/locales/ha_NG: Likewise.
17026 * localedata/locales/hr_HR: Likewise.
17027 * localedata/locales/hsb_DE: Likewise.
17028 * localedata/locales/hu_HU: Likewise.
17029 * localedata/locales/ig_NG: Likewise.
17030 * localedata/locales/ik_CA: Likewise.
17031 * localedata/locales/is_IS: Likewise.
17032 * localedata/locales/iso14651_t1_pinyin: Likewise.
17033 * localedata/locales/kk_KZ: Likewise.
17034 * localedata/locales/ku_TR: Likewise.
17035 * localedata/locales/ky_KG: Likewise.
17036 * localedata/locales/ln_CD: Likewise.
17037 * localedata/locales/lt_LT: Likewise.
17038 * localedata/locales/lv_LV: Likewise.
17039 * localedata/locales/mi_NZ: Likewise.
17040 * localedata/locales/ml_IN: Likewise.
17041 * localedata/locales/mn_MN: Likewise.
17042 * localedata/locales/mr_IN: Likewise.
17043 * localedata/locales/mt_MT: Likewise.
17044 * localedata/locales/nb_NO: Likewise.
17045 * localedata/locales/om_KE: Likewise.
17046 * localedata/locales/os_RU: Likewise.
17047 * localedata/locales/pl_PL: Likewise.
17048 * localedata/locales/ps_AF: Likewise.
17049 * localedata/locales/ro_RO: Likewise.
17050 * localedata/locales/ru_RU: Likewise.
17051 * localedata/locales/ru_UA: Likewise.
17052 * localedata/locales/sc_IT: Likewise.
17053 * localedata/locales/se_NO: Likewise.
17054 * localedata/locales/si_LK: Likewise.
17055 * localedata/locales/sq_AL: Likewise.
17056 * localedata/locales/sv_FI: Likewise.
17057 * localedata/locales/sv_FI@euro: Likewise.
17058 * localedata/locales/sv_SE: Likewise.
17059 * localedata/locales/szl_PL: Likewise.
17060 * localedata/locales/tg_TJ: Likewise.
17061 * localedata/locales/ti_ER: Likewise.
17062 * localedata/locales/tk_TM: Likewise.
17063 * localedata/locales/tl_PH: Likewise.
17064 * localedata/locales/tr_TR: Likewise.
17065 * localedata/locales/tt_RU: Likewise.
17066 * localedata/locales/tt_RU@iqtelif: Likewise.
17067 * localedata/locales/ug_CN: Likewise.
17068 * localedata/locales/uk_UA: Likewise.
17069 * localedata/locales/uz_UZ: Likewise.
17070 * localedata/locales/uz_UZ@cyrillic: Likewise.
17071 * localedata/locales/vi_VN: Likewise.
17072 * localedata/locales/yi_US: Likewise.
17073 * localedata/locales/yo_NG: Likewise.
17074
ce6636b0
MF
170752018-02-27 Mike FABIAN <mfabian@redhat.com>
17076
17077 * gen-locales.mk: Make test files which contain @ modifiers in their
17078 name work.
17079 * localedata/gen-locale.sh: Likewise.
17080
ac3a3b4b
MF
170812018-02-27 Mike FABIAN <mfabian@redhat.com>
17082
17083 * posix/tst-fnmatch.input: Fix results for range expressions
17084 for non C locales.
17085 * posix/tst-regexloc.c: Do not use a range expression for
17086 de_DE.ISO-8859-1 locale.
17087
770cbe14
MF
170882018-02-27 Mike FABIAN <mfabian@redhat.com>
17089
17090 * posix/bug-regex5.c: Fix test case because with the new
17091 iso14651_t1_common file, the da_DK locale now has 6 collating elements
17092 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
17093 file.
17094
0fc355d9
MF
170952018-02-27 Mike FABIAN <mfabian@redhat.com>
17096
17097 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
17098 downloaded from ISO, the collation order of @-. and space has changed.
17099 Therefore, this test file needed to be adapted.
17100 * localedata/fr_CA.UTF-8.in: Likewise.
17101 * localedata/fr_FR.UTF-8.in: Likewise.
17102 * localedata/uk_UA.UTF-8.in: Likewise.
17103
43f3893f
MF
171042018-02-27 Mike FABIAN <mfabian@redhat.com>
17105
17106 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
17107 order of ȥ in the new iso14651_t1_common file.
17108 * localedata/pl_PL.UTF-8.in: Likewise.
17109
df74ef78
MF
171102018-02-27 Mike FABIAN <mfabian@redhat.com>
17111
17112 * localedata/locales/iso14651_t1_common: Add sections for various
17113 scripts to the iso14651_t1_common file.
17114
d5adfbad
MF
171152018-02-27 Mike FABIAN <mfabian@redhat.com>
17116
17117 * localedata/locales/iso14651_t1_common: Use the code point of a
17118 character in the fourth collation level instead of IGNORE for all
17119 entries which have IGNORE on all 4 levels.
17120
5f5a9610
MF
171212018-02-27 Mike FABIAN <mfabian@redhat.com>
17122
17123 * localedata/locales/iso14651_t1_common: Add some convenient collation
17124 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
17125 rules similar to those in CLDR.
17126
8a97e900
MF
171272018-02-27 Mike FABIAN <mfabian@redhat.com>
17128
17129 * localedata/locales/iso14651_t1_common: The new version of this
17130 file downloaded from ISO contained several syntax errors which
17131 are fixed by this patch.
17132
bbdd2fba
MF
171332018-02-27 Mike FABIAN <mfabian@redhat.com>
17134
17135 * localedata/locales/iso14651_t1_common: replace all <U.....>
17136 with <U000.....> because glibc understands only 4 digit or 8 digit
17137
1569e551
MF
171382018-02-27 Mike FABIAN <mfabian@redhat.com>
17139
17140 * localedata/locales/iso14651_t1_common: Necessary changes
17141 to make the file downloaded from ISO usable by glibc.
17142
9479b6d5
MF
171432018-02-27 Mike FABIAN <mfabian@redhat.com>
17144
17145 [BZ #14095]
17146 * localedata/locales/iso14651_t1_common: Update file to
17147 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
17148
03b540b3
ST
171492018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17150
17151 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
17152 of <nptl/pthreadP.h>
17153 (thread_attr_compare): Move function to...
eb937a52 17154 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
03b540b3 17155 * sysdeps/nptl/timer_routines.h: ... new header.
7211eba6 17156 * sysdeps/mach/hurd/gai_misc.h: New file.
03b540b3 17157
20602c72
JM
171582018-02-26 Joseph Myers <joseph@codesourcery.com>
17159
f54d8f73
JM
17160 * string/strcoll_l.c: Include <libc-diag.h>.
17161 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
17162 declarations of seq1 and seq2.
17163
20602c72
JM
17164 [BZ #15105]
17165 * stdlib/atoi.c (atoi): Use libc_hidden_def.
17166 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
17167
f5f473a9
DL
171682018-02-26 Dmitry V. Levin <ldv@altlinux.org>
17169
17170 [BZ #22433]
17171 [BZ #22807]
17172 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
17173 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
17174 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
17175 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
17176 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
17177 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
17178
398c6fdd
TMQMF
171792018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17180
17181 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
17182 macros used in __ptrace_request.
17183
f5d1f629
L
171842018-02-23 H.J. Lu <hongjiu.lu@intel.com>
17185
17186 [BZ #22792]
17187 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
17188 to $(CC).
17189 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
17190 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
17191 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
17192 <tcb-offsets.h>.
17193
54412d20
JM
171942018-02-23 Joseph Myers <joseph@codesourcery.com>
17195
17196 [BZ #15105]
17197 * ctype/ctype.c (tolower): Use libc_hidden_def.
17198 (toupper): Likewise.
17199 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
17200 [!_ISOMAC] (toupper): Likewise.
17201
81be4b5e
MF
172022018-02-23 Mike FABIAN <mfabian@redhat.com>
17203
17204 * localedata/Makefile: Remove --quiet argument when
17205 installing locales
17206
9d5cfd8e
MF
172072018-02-23 Mike FABIAN <mfabian@redhat.com>
17208
17209 [BZ #17438]
17210 * localedata/locales/pt_BR (LC_TIME): use / instead of -
17211 in d_fmt.
17212 * localedata/locales/pt_PT (LC_TIME): likewise
17213
6c7269f3
MF
172142018-02-23 Mike FABIAN <mfabian@redhat.com>
17215
17216 [BZ #22646]
17217 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
17218 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
17219 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
17220
92aabad9
AZ
172212018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17222
4cdc25a4
AZ
17223 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17224
27761a10
AZ
17225 * nptl/Makefile (routines): Remove unregister-atfork.
17226 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
17227 (fork_handler_alloc): Remove function.
17228 (fork_handlers, fork_handler_init): New variables.
17229 (__fork_lock): Rename to atfork_lock.
17230 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
17231 to use a dynamic array to add/remove atfork handlers.
17232 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17233 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
17234 Remove declaration.
17235 (fork_handler): Remove next, refcntr, and need_signal member.
17236 (__run_fork_handler_type): New enum.
17237 (__run_fork_handlers): New prototype.
17238 * nptl/register-atfork.c: Remove file.
17239 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
17240
92aabad9
AZ
17241 * sysdeps/nptl/nptl-signals.h: Move to ...
17242 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
17243 comments.
17244 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
17245 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
17246 unnecessary check for SIGTIMER.
17247 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
17248 remove unnecessary removal of SIGTIMER.
17249 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
17250 include-signals.h rename.
17251 * nptl/pthreadP.h: Likewise.
17252 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
17253 __is_internal_signal instead of __nptl_is_internal_signal.
17254
6b5c8607 172552018-02-22 Andrew Waterman <andrew@sifive.com>
fdcc6253 17256
7e04eb29 17257 [BZ # 22884]
fdcc6253
AW
17258 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
17259 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
17260 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
17261 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
17262
8090720a
DD
172632018-02-22 DJ Delorie <dj@delorie.com>
17264
17265 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
17266
6ca24c43
SP
172672018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
17268
17269 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
17270 do_misaligned, not misaligned8.
17271
e9537ddd
SE
172722018-02-22 Steve Ellcey <sellcey@cavium.com>
17273
17274 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
17275 Add memcpy_thunderx2.
17276 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
17277 Increment to 4.
17278 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
17279 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
17280 and IS_THUNDERX2PA checks.
17281 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
17282 Use macro to set name appropriately.
17283 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
17284 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
17285 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
17286 New macro.
17287 (IS_THUNDERX2): New macro.
17288
6e336476
SL
172892018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
17290
17291 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17292
34957904
ZW
172932018-02-21 Zack Weinberg <zackw@panix.com>
17294
30bfee26
ZW
17295 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
17296 Define here, unconditionally.
17297 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
17298 * libio/libioP.h: Remove #if 0 blocks.
17299 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
17300 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
17301 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
17302
17303 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
17304 Assume weak_alias is always defined.
17305
17306 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
17307 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
17308 Remove #if 0 and #ifdef TODO blocks.
17309 Assume text_set_element is always defined.
17310
17311 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
17312 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
17313 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
17314
df6c012b
ZW
17315 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
17316 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
17317 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
17318 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
17319 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
17320 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
17321 Reformat bit flags for _flags field to make occupancy clearer.
17322 Update commentary.
17323 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
17324 Keep definitions consistent with those in libio/libio.h.
17325
17326 * libio/libio.h (_IO_file_flags): Remove macro.
17327 All uses changed to _flags.
17328
177aad3f
ZW
17329 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
17330 (__HAVE_COLUMN, _IO_BE): Don't define.
17331 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
17332 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
17333 * libio/libioP.h (EOF): Don't define.
17334 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
17335 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
17336 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
17337 testing _IO_UNIFIED_JUMPTABLES.
17338
9964a145
ZW
17339 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
17340 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
17341 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
17342 (_IO_size_t): Delete; all uses changed to size_t.
17343 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
17344 (_IO_off_t): Delete; all uses changed to off_t.
17345 (_IO_off64_t): Delete; all uses changed to off64_t.
17346 (_IO_pid_t): Delete; all uses changed to pid_t.
17347 (_IO_uid_t): Delete; all uses changed to uid_t.
17348 (_IO_wint_t): Delete; all uses changed to wint_t.
17349 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
17350 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
17351 (_IO_cookie_io_functions_t): Delete; all uses changed to
17352 cookie_io_functions_t.
17353 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
17354 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
17355 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
17356 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
17357
17358 * libio/iofopncook.c: Remove unnecessary forward declarations.
17359 * libio/iolibio.h: Correct outdated commentary.
17360 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
17361 * stdio-common/fxprintf.c (__fxprintf_nocancel):
17362 Remove unnecessary casts.
17363 * stdio-common/getline.c: Use _IO_getdelim directly.
17364 Don't redefine ssize_t.
17365 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
17366 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
17367 Remove outdated comments.
17368 * stdio-common/vfscanf.c: Don't redefine va_list.
17369
34957904
ZW
17370 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
17371 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
17372 Remove preprocessor conditionals on _LIBC and __USE_GNU,
17373 which are always true, and __cplusplus, which is always false.
17374
30ac923d
JM
173752018-02-21 Joseph Myers <joseph@codesourcery.com>
17376
039c721a
JM
17377 [BZ #15105]
17378 [BZ #19463]
17379 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
17380 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
17381 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
17382 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
17383 libc_hidden_proto.
17384 [!_ISOMAC] (putc_unlocked): Likewise.
17385 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
17386 define inline if [__USE_EXTERN_INLINES].
17387 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
17388 putc_unlocked.
17389
30ac923d
JM
17390 [BZ #15105]
17391 [BZ #19463]
17392 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
17393 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
17394 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
17395 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
17396 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
17397 getc_unlocked.
17398 * time/tzfile.c (__tzfile_read): Likewise.
17399
7ec5f946
MF
174002018-02-21 Mike FABIAN <mfabian@redhat.com>
17401
17402 [BZ #22517]
17403 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
17404
0d217f40
RJ
174052018-02-21 Rical Jasan <ricaljasan@pacific.net>
17406
17407 * io/fcntl.h: Fix a typo in a comment.
17408
862b4502
RJ
174092018-02-21 Rical Jasan <ricaljasan@pacific.net>
17410
17411 [BZ #22862]
17412 * include/features.h: Add _ISOC11_SOURCE to test for whether to
17413 define _DEFAULT_SOURCE.
17414 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
17415
999a6dab
FW
174162018-02-21 Florian Weimer <fweimer@redhat.com>
17417
17418 [BZ #20890]
17419 * elf/cache.c (save_cache): Call fsync on temporary file before
17420 renaming it.
17421 (save_aux_cache): Call fdatasync on temporary file before renaming
17422 it.
17423
52a01100
FW
174242018-02-21 Florian Weimer <fweimer@redhat.com>
17425
17426 [BZ #22787]
17427 * include/caller.h: Remove file.
17428 * elf/dl-caller.c: Likewise.
17429 * elf/Makefile (dl-routines): Remove dl-caller.
17430 (shared-only-routines): Do not add dl-caller.
17431 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
17432 __check_caller.
17433 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
17434 member.
17435 (dl_open_worker): Do not call __check_caller.
17436 (_dl_open): Do not set caller_dl_open member.
17437 * elf/rtld.c (_rtld_global_ro): Do not initialize
17438 _dl_check_caller member.
17439 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
17440 _dl_check_caller member.
17441 (_dl_check_caller): Remove declaration.
17442 * sysdeps/unix/sysv/linux/dl-execstack.c
17443 (_dl_make_stack_executable): Do not call __check_caller.
17444
b5bf62e4
ST
174452018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
17446
17447 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
315304d2 17448 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
b5bf62e4 17449
e8d190b9
RJ
174502018-02-20 Rical Jasan <ricaljasan@pacific.net>
17451
17452 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
17453 description.
17454
6a3962c4
RJ
174552018-02-20 Rical Jasan <ricaljasan@pacific.net>
17456
da81ae64 17457 [BZ #16335]
6a3962c4
RJ
17458 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
17459 of 199606L, 200112L, and 200809L.
17460 (_XOPEN_SOURCE): Document special values of 600 and 700.
17461 (_ISOC11_SOURCE): Document macro.
17462 (_ATFILE_SOURCE): Likewise.
17463 (_FORTIFY_SOURCE): Likewise.
17464
ec481ad8
JM
174652018-02-19 Joseph Myers <joseph@codesourcery.com>
17466
17467 [BZ #15105]
17468 [BZ #19463]
17469 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
17470 and define as weak alias of __ferror_unlocked. Use
17471 libc_hidden_weak.
17472 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
17473 libc_hidden_proto.
17474 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
17475 function if [__USE_EXTERN_INLINES].
17476 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
17477 ferror_unlocked.
17478
7d15ef84
RJ
174792018-02-19 Rical Jasan <ricaljasan@pacific.net>
17480
17481 [BZ #6889]
17482 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
17483
f8d79582
AJ
174842018-02-18 Aurelien Jarno <aurelien@aurel32.net>
17485
17486 [BZ #22818]
17487 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
17488 the GLIBC_2.1 version.
17489
56456a2a
AJ
174902018-02-18 Aurelien Jarno <aurelien@aurel32.net>
17491
17492 [BZ #21508]
17493 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
17494 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
17495 intl/tst-gettext-de.po from po/de.po by removing the
17496 POT-Creation-Date line.
17497 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
17498 ../po/de.po.
17499 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
17500 ../po/de.po.
17501
13768813
ST
175022018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
17503
17504 * mach/Makefile (headers): Add mach/param.h.
17505 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
17506 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
dd1efd8c
ST
17507 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
17508 (__ptsname_r): Move implementation to...
17509 (__ptsname_internal): ... new function. Add filling the STP
17510 structure.
13768813 17511
6aca1b61
JDA
175122018-02-17 John David Anglin <danglin@gcc.gnu.org>
17513
17514 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
17515 idouble to 1 ULP.
17516
16efad51
RJ
175172018-02-16 Rical Jasan <ricaljasan@pacific.net>
17518
17519 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
17520 syntax.
17521
87245073
SL
175222018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
17523
17524 * nptl/Makefile (tst-mutex8-ENV): Delete.
17525 * nptl/tst-mutex8.c (check_type):
17526 Add runtime check if mutex will be elided.
17527
7fc03cf3
JM
175282018-02-15 Joseph Myers <joseph@codesourcery.com>
17529
db9881ec
JM
17530 [BZ #20980]
17531 [BZ #21234]
17532 * manual/install.texi (Configuring and compiling): Describe
17533 passing CC and CFLAGS on configure command line, not as
17534 environment variables. Use @code markup on those variables.
17535 Specify what options go in CC and what go in CFLAGS. Note the
17536 requirement to compile with optimization.
17537 * INSTALL: Regenerated.
17538
3785b31c
JM
17539 [BZ #18124]
17540 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
17541 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
17542 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
17543 __sigprocmask instead of sigprocmask.
17544 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
17545 Likewise.
17546 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
17547 __sigsetjmp and sigprocmask.
17548
055ac2a7
JM
17549 [BZ #15105]
17550 * include/argz.h (argz_next): Use libc_hidden_proto.
17551 (__argz_next): Likewise.
17552 * string-argz-next.c (__argz_next): Use libc_hidden_def.
17553 (argz_next): Use libc_hidden_weak.
17554
e4452a2d
JM
17555 [BZ #15105]
17556 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
17557 libc_hidden_proto.
17558 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
17559 libc_hidden_def.
17560
499b3153
JM
17561 [BZ #15105]
17562 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
17563 libc_hidden_proto.
17564 * libio/iofputs.c (fputs): Use libc_hidden_weak.
17565
7fc03cf3
JM
17566 [BZ #15105]
17567 [BZ #19463]
17568 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
17569 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
17570 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
17571 (__feof_unlocked): New declaration, and inline function if
17572 [__USE_EXTERN_INLINES].
17573 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
17574 instead of feof_unlocked.
17575 * intl/localealias.c [_LIBC] (FEOF): Likewise.
17576 * nss/nsswitch.c (nss_parse_file): Likewise.
17577 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
17578 Likewise.
17579 * time/getdate.c (__getdate_r): Likewise.
17580 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
17581 Define as macro to call __feof_unlocked.
17582
0c8a67a5
WD
175832018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
17584
17585 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
17586
610ee1fc
WD
175872018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
17588
17589 * math/Makefile: Remove mpexp.c and mplog.c
17590 * sysdeps/i386/fpu/mpexp.c: Delete file.
17591 * sysdeps/i386/fpu/mplog.c: Likewise.
17592 * sysdeps/ia64/fpu/mpexp.c: Likewise.
17593 * sysdeps/ia64/fpu/mplog.c: Likewise.
17594 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
17595 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
17596 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
17597 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
17598 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
17599 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
17600 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
17601 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
17602 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
17603 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17604 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
17605 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
17606 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17607 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
17608 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
17609 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17610
8e7196c8
SL
176112018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
17612
17613 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17614
4f55ad0b
AZ
176152018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17616
17617 * sysdeps/sh/libm-test-ulps: Update.
17618
261a851c
TMQMF
176192018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17620
17621 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
17622 idouble to 1 ULP.
17623
e16deca6
ZW
176242018-02-12 Zack Weinberg <zackw@panix.com>
17625
17626 [BZ #19239]
17627 * posix/sys/types.h: Don't include sys/sysmacros.h.
17628 * misc/sys/sysmacros.h: Remove the conditional deprecation
17629 warnings for the macros defined by this header.
17630
de800d83
SN
176312018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17632
17633 * manual/probes.texi: Remove slowexp probes.
17634 * math/Makefile: Remove slowexp.
17635 * sysdeps/generic/math_private.h (__slowexp): Remove.
17636 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
17637 document error bounds.
17638 * sysdeps/i386/fpu/slowexp.c: Remove.
17639 * sysdeps/ia64/fpu/slowexp.c: Remove.
17640 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
17641 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
17642 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
17643 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
17644 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
17645 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
17646 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
17647 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
17648 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
17649 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
17650 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
17651
c3d466cb
WD
176522018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
17653
17654 [BZ #13932]
17655 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
17656 * benchtests/pow-inputs: Update comment for slow path cases.
17657 * manual/probes.texi (slowpow_p10): Delete removed probe.
17658 (slowpow_p10): Likewise.
17659 * math/Makefile: Remove halfulp.c and slowpow.c.
17660 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
17661 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
17662 (__halfulp): Remove.
17663 (__slowpow): Remove.
17664 * sysdeps/i386/fpu/halfulp.c: Delete file.
17665 * sysdeps/i386/fpu/slowpow.c: Likewise.
17666 * sysdeps/ia64/fpu/halfulp.c: Likewise.
17667 * sysdeps/ia64/fpu/slowpow.c: Likewise.
17668 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
17669 improve comments and add error analysis.
17670 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
17671 (power1): Remove function:
17672 (log1): Remove error argument, add error analysis.
17673 (my_log2): Remove function.
17674 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
17675 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17676 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
17677 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
17678 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
17679 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
17680 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
17681 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
17682 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
17683 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
17684 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
17685 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17686 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
17687 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17688
7bb087bd
ST
176892018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
17690
17691 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
17692 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
17693
2fd4bbaa
DL
176942018-02-10 Dmitry V. Levin <ldv@altlinux.org>
17695
17696 [BZ #22433]
17697 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
17698 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
17699 and PTRACE_SETHBPREGS.
17700
402ecba4
ZW
177012018-02-10 Zack Weinberg <zackw@panix.com>
17702
17703 [BZ #22830]
17704 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
17705 correctly.
17706 * malloc/tst-malloc-stats-cancellation.c: New test case.
17707 * malloc/Makefile: Add new test case.
17708
4f5b921e
WD
177092018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
17710
17711 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
17712
a85b70db
JM
177132018-02-10 Joseph Myers <joseph@codesourcery.com>
17714
d8742dd8
JM
17715 * math/Makefile (libm-narrow-fns): Add add.
17716 (libm-test-funcs-narrow): Likewise.
17717 * math/Versions (GLIBC_2.28): Add narrowing add functions.
17718 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
17719 * math/gen-auto-libm-tests.c (test_functions): Add add.
17720 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
17721 (NARROW_ADD_ROUND_TO_ODD): Likewise.
17722 (NARROW_ADD_TRIVIAL): Likewise.
17723 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
17724 macro.
17725 (__daddl): Likewise.
17726 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
17727 dadd.
17728 (CFLAGS-nldbl-dadd.c): New variable.
17729 (CFLAGS-nldbl-fadd.c): Likewise.
17730 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17731 __nldbl_daddl.
17732 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
17733 prototype.
17734 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
17735 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
17736 * math/auto-libm-test-in: Add tests of add.
17737 * math/auto-libm-test-out-narrow-add: New generated file.
17738 * math/libm-test-narrow-add.inc: New file.
17739 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
17740 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
17741 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
17742 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
17743 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
17744 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
17745 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
17746 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
17747 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
17748 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
17749 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
17750 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
17751 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
17752 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
17753 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
17754 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
17755 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
17756 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
17757 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17758 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17759 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17760 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17761 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17762 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17763 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17764 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17765 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17766 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17767 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17768 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17769 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17770 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17775 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17776 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17777 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17778 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17779 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17780 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17781 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
17782 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
17783 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17784 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17785
a85b70db
JM
17786 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
17787 (f128-pairs): New variable.
17788 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
17789 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
17790 to CFLAGS.
17791 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
17792 Also make tests add $(f128-loader-link) to gnulib-tests.
17793
6a1ff640
DD
177942018-02-09 DJ Delorie <dj@redhat.com>
17795
17796 [BZ #22827]
17797 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
17798 64-bit ELF type for 64-bit ELF objects.
17799
bfd47587
JM
178002018-02-09 Joseph Myers <joseph@codesourcery.com>
17801
31958338
JM
17802 * math/libm-test-driver.c (snan_tests_arg): New variable.
17803 * math/libm-test-support.h (snan_tests_arg): New declaration.
17804 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
17805
8e554659
JM
17806 * math/Makefile (test-type-pairs): New variable.
17807 (test-type-pairs-f64xf128-yes): Likewise.
17808 (tests): Add test-narrow-macros.
17809 (libm-test-funcs-narrow): New variable.
17810 (libm-test-c-narrow): Likewise.
17811 (generated): Add $(libm-test-c-narrow).
17812 (libm-tests-base-narrow): New variable.
17813 (libm-tests-narrow): Likewise.
17814 (libm-tests): Add $(libm-tests-narrow).
17815 (libm-tests-for-type): Handle $(libm-tests-narrow).
17816 (libm-test-c-narrow-obj): New variable.
17817 ($(libm-test-c-narrow-obj)): New rule.
17818 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
17819 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
17820 $(o-iterator) to set dependencies and CFLAGS.
17821 * math/gen-auto-libm-tests.c: Document use for narrowing
17822 functions.
17823 (output_for_one_input_case): Take argument NARROW.
17824 (generate_output): Likewise. Update call to
17825 output_for_one_input_case.
17826 (main): Take --narrow option. Update call to generate_output.
17827 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
17828 (apply_lit): Update call to _apply_lit.
17829 (apply_arglit): New function.
17830 (parse_args): Handle "a" arguments.
17831 (parse_auto_input): Handle format names using ":".
17832 * math/README.libm-test: Document "a" parameter type.
17833 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
17834 (ARG_TYPE_TRUE_MIN): Likewise.
17835 (ARG_TYPE_MAX): Likwise.
17836 (ARG_MIN_EXP): Likewise.
17837 (ARG_MAX_EXP): Likewise.
17838 (ARG_MANT_DIG): Likewise.
17839 (TEST_COND_arg_ibm128): Likewise.
17840 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
17841 (TEST_COND_arg_fmt): New macro.
17842 (init_max_error): Update prototype.
17843 * math/libm-test-support.c (test_ibm128): New variable.
17844 (init_max_error): Take argument testing_ibm128 and set test_ibm128
17845 instead of using [TEST_COND_ibm128] conditional.
17846 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
17847 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
17848 [TEST_NARROW] (TEST_MSG): New definition.
17849 (arg_plus_zero): New macro.
17850 (arg_minus_zero): Likewise.
17851 (arg_plus_infty): Likewise.
17852 (arg_minus_infty): Likewise.
17853 (arg_qnan_value_pl): Likewise.
17854 (arg_qnan_value): Likewise.
17855 (arg_snan_value_pl): Likewise.
17856 (arg_snan_value): Likewise.
17857 (arg_max_value): Likewise.
17858 (arg_min_value): Likewise.
17859 (arg_min_subnorm_value): Likewise.
17860 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
17861 (RUN_TEST_LOOP_aa_f): New macro.
17862 (TEST_SUFF): New macro.
17863 (TEST_SUFF_STR): Likewise.
17864 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
17865 (TEST_COND_any_ibm128): New macro.
17866 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
17867 this_func. Update call to init_max_error.
17868 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
17869 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
17870 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
17871 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
17872 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
17873 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
17874 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
17875 * math/test-math-scalar.h (TEST_NARROW): Likewise.
17876 * math/test-math-vector.h (TEST_NARROW): Likewise.
17877 * math/test-arg-double.h: New file.
17878 * math/test-arg-float128.h: Likewise.
17879 * math/test-arg-float32x.h: Likewise.
17880 * math/test-arg-float64.h: Likewise.
17881 * math/test-arg-float64x.h: Likewise.
17882 * math/test-arg-ldouble.h: Likewise.
17883 * math/test-math-narrow.h: Likewise.
17884 * math/test-narrow-macros.c: Likewise.
17885 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
17886 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
17887 test-narrow-macros-ldbl-64.
17888 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
17889
63716ab2
JM
17890 * math/bits/mathcalls-narrow.h: New file.
17891 * include/bits/mathcalls-narrow.h: Likewise.
17892 * math/math-narrow.h: Likewise.
17893 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
17894 (__MATHCALL_NARROW_ARGS_2): Likewise.
17895 (__MATHCALL_NARROW_ARGS_3): Likewise.
17896 (__MATHCALL_NARROW_NORMAL): Likewise.
17897 (__MATHCALL_NARROW_REDIR): Likewise.
17898 (__MATHCALL_NARROW): Likewise.
17899 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
17900 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
17901 defined.
17902 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
17903 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
17904 (libm-narrow-fns): New variable.
17905 (libm-narrow-types-basic): Likewise.
17906 (libm-narrow-types-ldouble-yes): Likewise.
17907 (libm-narrow-types-float128-yes): Likewise.
17908 (libm-narrow-types-float128-alias-yes): Likewise.
17909 (libm-narrow-types): Likewise.
17910 (libm-routines): Add narrowing functions.
17911 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
17912 (libc_feholdexcept_setroundf128): New macro.
17913 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
17914 * sysdeps/ieee754/float128/float128_private.h: Include
17915 <math/math-narrow.h>.
17916 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
17917 Undefine and redefine.
17918 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
17919 (libm_alias_float_ldouble): Undefine and redefine.
17920 (libm_alias_double_ldouble): Likewise.
17921
bfd47587
JM
17922 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
17923
3f8d9d58
WD
179242018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
17925
17926 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
17927 FPCR/FPSR.
17928
1f6676d7
RJ
179292018-02-09 Rical Jasan <ricaljasan@pacific.net>
17930
17931 * manual/creature.texi: Convert references to gcc.info to gcc.
17932 * manual/stdio.texi: Likewise.
17933 * manual/string.texi: Likewise.
17934
d80441dd
JM
179352018-02-07 Joseph Myers <joseph@codesourcery.com>
17936
15081be9
JM
17937 [BZ #17979]
17938 * posix/bits/types.h (__int_least8_t): New typedef.
17939 (__uint_least8_t): Likewise.
17940 (__int_least16_t): Likewise.
17941 (__uint_least16_t): Likewise.
17942 (__int_least32_t): Likewise.
17943 (__uint_least32_t): Likewise.
17944 (__int_least64_t): Likewise.
17945 (__uint_least64_t): Likewise.
17946 * sysdeps/generic/stdint.h (int_least8_t): Define using
17947 __int_least8_t.
17948 (int_least16_t): Define using __int_least16_t.
17949 (int_least32_t): Define using __int_least32_t.
17950 (int_least64_t): Define using __int_least64_t.
17951 (uint_least8_t): Define using __uint_least8_t.
17952 (uint_least16_t): Define using __uint_least16_t.
17953 (uint_least32_t): Define using __uint_least32_t.
17954 (uint_least64_t): Define using __uint_least64_t.
17955 * wcsmbs/uchar.h: Include <bits/types.h>.
17956 (char16_t): Define using __uint_least16_t conditional only on
17957 [!__USE_ISOCXX11].
17958 (char32_t): Define using __uint_least32_t conditional only on
17959 [!__USE_ISOCXX11].
17960 * wcsmbs/test-char-types.c: New file.
17961 * wcsmbs/Makefile (tests): Add test-char-types.
17962
d80441dd
JM
17963 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
17964 version to 4.0.1.
17965
6c6c962a
ZW
179662018-02-07 Zack Weinberg <zackw@panix.com>
17967
63fb8f9a
ZW
17968 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
17969 Delete all contents except for definitions of _G_HAVE_MMAP and
17970 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
17971 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
17972 sysdeps/unix/sysv/linux/_G_config.h. Make same content
17973 change as above.
17974
17975 * libio/libio.h: Don't include bits/_G_config.h here.
17976 Include stddef.h with __need_wchar_t defined. Include
17977 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
17978 Define _IO_iconv_t here, directly.
17979 Don't define _IO_HAVE_ST_BLKSIZE.
17980 * libio/libioP.h: Include _G_config.h here. Move include of
17981 shlib-compat.h up with rest of includes. Simplify conditionals
17982 controlling definition of _IO_JUMPS_OFFSET.
17983
17984 * csu/init.c: Remove always-true #if around entire file.
17985 Don't include stdio.h. Set _IO_stdin_used to hardwired
17986 constant 0x20001, and update commentary.
17987 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
17988 Replace all uses of _G_va_list with __gnuc_va_list.
17989 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
17990 instead of #if _IO_HAVE_ST_BLKSIZE.
17991 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
17992 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
17993 not #ifdef.
17994
6c6c962a
ZW
17995 * libio/bits/libio.h: Move back to libio/libio.h and adjust
17996 multiple-include guard to match.
17997 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
17998 into this file.
17999 Remove preprocessor conditionals that are always true and/or
18000 redundant to other preprocessor conditionals in the same nest.
18001 Include shlib-compat.h unconditionally.
18002 Error out if _LIBC is not defined, or if _ISOMAC is defined,
18003 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
18004 defined after including stdio.h.
18005 Use __BEGIN_DECLS/__END_DECLS.
18006
18007 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
18008 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
18009 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
18010
a4fea3f2
ZW
180112018-02-07 Zack Weinberg <zackw@panix.com>
18012
18013 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
18014 New single-type headers split from _G_config.h.
18015 * libio/bits/types/cookie_io_functions_t.h
18016 * libio/bits/types/struct_FILE.h
18017 New single-type headers split from libio.h.
18018
18019 * libio/Makefile: Install the above new headers. Don't install
18020 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
18021 bits/libio-ldbl.h.
18022 * libio/_G_config.h, libio/libio.h: Delete file.
18023
18024 * libio/bits/libio.h: Remove improper-inclusion guard.
18025 Include stdio.h and don't repeat anything that it does.
18026 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
18027 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
18028 __io_read_fn as cookie_read_function_t,
18029 __io_write_fn as cookie_write_function_t,
18030 __io_seek_fn as cookie_seek_function_t,
18031 __io_close_fn as cookie_close_function_t,
18032 and _IO_cookie_io_functions_t as cookie_io_functions_t.
18033 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
18034 here, in the "compatibility defines" section. Remove an #if 0
6c6c962a 18035 block. Use the "body" macros from bits/types/struct_FILE.h to
a4fea3f2
ZW
18036 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
18037 and _IO_ferror_unlocked.
18038 Move prototypes of __uflow and __overflow...
18039
18040 * libio/stdio.h: ...here. Don't include bits/libio.h.
18041 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
6c6c962a 18042 directly from stdarg.h. Include bits/types/__fpos_t.h,
a4fea3f2
ZW
18043 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
18044 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
18045 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
18046 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
18047 cookie_io_functions_t, not _IO_cookie_io_functions_t;
18048 __ssize_t, not _IO_ssize_t. Unconditionally define
18049 BUFSIZ as 8192 and EOF as (-1).
18050
18051 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
18052 macros from bits/types/struct_FILE.h instead of _IO_* macros
18053 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
18054 instead of _IO_ssize_t.
18055 * libio/bits/stdio2.h: Similarly.
18056
18057 * libio/iolibio.h: Add multiple-include guard.
18058 Include bits/libio.h after stdio.h.
18059 * libio/libioP.h: Add multiple-include guard.
18060 Include stdio.h and bits/libio.h before iolibio.h.
18061
6c6c962a 18062 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
a4fea3f2
ZW
18063 * include/bits/types/cookie_io_functions_t.h
18064 * include/bits/types/struct_FILE.h: New wrappers.
18065
18066 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
6c6c962a
ZW
18067 Get definitions of _G_fpos_t and _G_fpos64_t from
18068 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
18069 respectively. Remove improper-inclusion guards.
a4fea3f2 18070
6c6c962a 18071 * conform/data/stdio.h-data: Update expectations of va_list.
a4fea3f2 18072 * scripts/check-installed-headers.sh: Remove special case for
6c6c962a 18073 libio.h and _G_config.h.
a4fea3f2 18074
ce999220
JM
180752018-02-07 Joseph Myers <joseph@codesourcery.com>
18076
8b4a1182
JM
18077 [BZ #15105]
18078 [BZ #19463]
18079 * include/sys/sysmacros.h [!_ISOMAC]
18080 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
18081 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
18082 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
18083 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
18084 libc_hidden_proto.
18085 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
18086 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
18087 Likewise.
18088 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
18089 Undefine and redefine to add use __gnu_dev_ prefix.
18090 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
18091 Likewise.
18092 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
18093 and define as hidden inline function.
18094 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
18095 Likewise.
18096 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
18097 Likewise.
18098 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
18099 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
18100 (gnu_dev_minor): Likewise.
18101 (gnu_dev_makedev): Likewise.
18102 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
18103 makedev.
18104 * posix/wordexp.c (exec_comm_child): Likewise.
18105 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
18106 instead of minor and __gnu_dev_major instead of major.
18107 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
18108 __gnu_dev_major instead of major.
18109 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
18110 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
18111 instead of gnu_dev_minor.
18112 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
18113 (SLAVE_P): Likewise.
18114 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
18115 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
18116 instead of major.
18117
ce999220
JM
18118 [BZ #21313]
18119 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
18120 in another place.
18121 * locale/weightwc.h (findidx): Likewise.
18122
b7c83ca3
WD
181232018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
18124
18125 * manual/probes.texi (slowlog): Delete documentation of removed probe.
18126 (slowlog_inexact): Likewise
18127 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
18128 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
18129
388ff7bd
IG
181302018-02-07 Igor Gnatenko <ignatenko@redhat.com>
18131
18132 [BZ #22797]
18133 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
18134 missing second underscore to parameter name.
18135
663e7d78
JM
181362018-02-06 Joseph Myers <joseph@codesourcery.com>
18137
0d40d0ec
JM
18138 [BZ #14508]
18139 [BZ #15512]
18140 [BZ #17082]
18141 [BZ #20530]
18142 * bits/byteswap.h: Update file comment. Do not include
18143 <bits/byteswap-16.h>.
18144 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
18145 constant.
18146 (__bswap_16): Define as inline function.
18147 (__bswap_constant_32): Reformat definition.
18148 (__bswap_32): Always define as inline function, not macro, using
18149 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
18150 otherwise __bswap_constant_32.
18151 (__bswap_constant_64): Reformat definition. Do not use
18152 __extension__ here.
18153 (__bswap_64): Always define as inline function, not macro. Use
18154 __extension__ on function definition. Use __builtin_bswap64 if
18155 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
18156 * string/test-endian-file-scope.c: New file.
18157 * string/test-endian-sign-conversion.c: Likewise.
18158 * string/Makefile (headers): Remove bits/byteswap-16.h.
18159 (tests): Add test-endian-file-scope and
18160 test-endian-sign-conversion.
18161 (CFLAGS-test-endian-sign-conversion.c): New variable.
18162 * bits/byteswap-16.h: Remove file.
18163 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
18164 * sysdeps/ia64/bits/byteswap.h: Likewise.
18165 * sysdeps/m68k/bits/byteswap.h: Likewise.
18166 * sysdeps/s390/bits/byteswap-16.h: Likewise.
18167 * sysdeps/s390/bits/byteswap.h: Likewise.
18168 * sysdeps/tile/bits/byteswap.h: Likewise.
18169 * sysdeps/x86/bits/byteswap-16.h: Likewise.
18170 * sysdeps/x86/bits/byteswap.h: Likewise.
18171
383e87c9
JM
18172 [BZ #17721]
18173 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
18174 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
18175 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
18176 199901L] (__restrict): Define to restrict.
18177
d92c2759
JM
18178 [BZ #19667]
18179 * string/testcopy.c: Include <support/support.h>. Do not include
18180 <malloc.h>. Use <support/test-driver.c>.
18181 (main): Rename to do_test. Make static. Use xmalloc instead of
18182 malloc.
18183
625fb764
JM
18184 [BZ #13575]
18185 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
18186 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
18187 (SSIZE_MAX): Define to INT_MAX.
18188 * posix/test-ssize-max.c: New file.
18189 * posix/Makefile (tests): Add test-ssize-max.
18190
02325d6c
JM
18191 [BZ #19668]
18192 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
18193 <support/support.h>. Do not include <malloc.h>.
18194 (query_auxv): Use xmalloc instead of malloc.
18195
663e7d78
JM
18196 [BZ #14553]
18197 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
18198 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
18199 instead of loff_t.
18200
6b5c8607 182012018-02-06 Florian Weimer <fweimer@redhat.com>
6d7aa2b5
FW
18202
18203 [BZ #18023]
18204 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18205 Use scratch_buffer instead of extend_alloca.
18206
de6da571
ZW
182072018-02-06 Zack Weinberg <zackw@panix.com>
18208
26c07172
ZW
18209 * libio/stdio.h: Don't define getc or putc as macros.
18210 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
18211 not _IO_getc and _IO_putc.
18212
de6da571
ZW
18213 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
18214 * stdio-common/tstgetln.c: Don't redefine ssize_t.
18215
92669d6e
JM
182162018-02-06 Joseph Myers <joseph@codesourcery.com>
18217
c2b84df9
JM
18218 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
18219 (TCP_FASTOPEN_NO_COOKIE): Likewise.
18220
41376f8c
JM
18221 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
18222
d28bf648
JM
18223 [BZ #14890]
18224 * elf/elf.h (NT_PRFPREG): New macro.
18225 (NT_S390_VXRS_LOW): Likewise.
18226 (NT_S390_VXRS_HIGH): Likewise.
18227 (NT_S390_GS_CB): Likewise.
18228 (NT_S390_GS_BC): Likewise.
18229 (NT_S390_RI_CB): Likewise.
18230
e76def72
JM
18231 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
18232 (MAP_SYNC): New macro.
18233 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
18234 Likewise.
18235 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
18236 (MAP_SYNC): Likewise.
18237 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
18238 (MAP_SYNC): Likewise.
18239 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
18240 (MAP_SYNC): Likewise.
18241 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
18242 (MAP_SYNC): Likewise.
18243 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
18244 (MAP_SYNC): Likewise.
18245 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
18246 (MAP_SYNC): Likewise.
18247 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
18248 Likewise.
18249 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
18250 Likewise.
18251
92669d6e
JM
18252 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
18253 (MAP_SHARED_VALIDATE): New macro.
18254 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
18255 (MAP_SHARED_VALIDATE): Likewise.
18256
6a5cac49
L
182572018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18258
18259 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
18260 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
18261 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
18262
b44e0dfb
L
182632018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18264
18265 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
18266 (DT_NUM): Updated to 35.
18267
f886c16c
L
182682018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18269
18270 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
18271 __builtin_expect with __glibc_likely and __glibc_unlikely.
18272 (elf_machine_rela): Likewise.
18273 (elf_machine_lazy_rel): Likewise.
18274
06fbebff
L
182752018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18276
18277 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
8f4bf93f 18278 __builtin_expect with __glibc_likely and __glibc_unlikely.
06fbebff
L
18279 (elf_machine_lazy_rel): Likewise.
18280
371b220f
L
182812018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18282
18283 [BZ #22638]
18284 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
18285 SHARED.
65805016 18286 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
371b220f 18287
f649a1b8
AS
182882018-02-05 Andreas Schwab <schwab@suse.de>
18289
18290 [BZ #22761]
18291 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
18292 string.
18293
9fdb340e
ST
182942018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18295
18296 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
18297 not check against PTHREAD_STACK_MIN.
18298
09e56b9e
SM
182992018-02-02 Sean McKean <smckean83@gmail.com>
18300
18301 [BZ #22735]
18302 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
18303
d4b4a00a
FW
183042018-02-02 Florian Weimer <fweimer@redhat.com>
18305
18306 [BZ #22753]
18307 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
18308 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
18309 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
18310 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
18311 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
18312 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
18313 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
18314 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
18315 * manual/llio.texi (Scatter-Gather): Mention offset -1.
18316 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
18317 * misc/tst-preadvwritev2.c (do_test): Call it.
18318 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
18319
3dfcbfa1
SP
183202018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
18321
84c94d2f
SP
18322 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
18323
96e6a716
SP
18324 * benchtests/bench-memcmp.c: Print json instead of plain text.
18325
3dfcbfa1
SP
18326 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
18327 every test run.
18328
049375e2
JM
183292018-02-01 Joseph Myers <joseph@codesourcery.com>
18330
39f898c6
JM
18331 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
18332 version to 4.15.
18333 (s390_sthyi): New syscall.
18334
6f9a3dd8
JM
18335 * sysdeps/generic/ldbl-classify-compat.h: New file.
18336 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
18337 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
18338 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
18339 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
18340 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
18341 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
18342 * sysdeps/ieee754/dbl-64/s_finite.c: Include
18343 <ldbl-classify-compat.h>.
18344 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18345 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
18346 <ldbl-classify-compat.h>.
18347 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18348 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
18349 <ldbl-classify-compat.h>.
18350 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18351 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
18352 <ldbl-classify-compat.h>.
18353 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18354 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
18355 <ldbl-classify-compat.h>.
18356 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18357 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
18358 <ldbl-classify-compat.h>.
18359 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18360 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
18361 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
18362 * sysdeps/m68k/coldfire/math_private.h: Remove file.
18363 * sysdeps/microblaze/math_private.h: Likewise.
18364 * sysdeps/nios2/math_private.h: Likewise.
18365 * sysdeps/sh/math_private.h: Likewise.
18366
eb65a3d5
JM
18367 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
18368 * sysdeps/m68k/coldfire/math_private.h: ... here.
18369 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
18370 * sysdeps/tile/math_private.h: Likewise.
18371 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
18372 Remove macro.
18373 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
18374 Likewise.
18375
8a6bb1d0
JM
18376 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
18377 Remove macro.
18378 (libc_fetestexcept): Likewise.
18379 (libc_feupdateenv_test): Likewise.
18380 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
18381 (libc_fetestexcept): Likewise.
18382 (libc_feupdateenv_test): Likewise.
18383 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
18384 (libc_fetestexcept): Likewise.
18385 (libc_feupdateenv_test): Likewise.
18386 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
18387 (libc_fetestexcept): Likewise.
18388 (libc_feupdateenv_test): Likewise.
18389
ae1fcb7b
JM
18390 * sysdeps/generic/math_private.h
18391 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
18392 New inline function.
18393 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
18394 Likewise.
18395
b1c347e2
JM
18396 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
18397 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
18398 * sysdeps/generic/math_private.h
18399 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
18400 inline function.
18401 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
18402 Likewise.
18403 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
18404 Likewise.
18405 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
18406 Likewise.
18407 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
18408 Likewise.
18409 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
18410 Likewise.
18411 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
18412 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
18413 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
18414 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
18415 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
18416 (__fegetenv): Likewise.
18417 (fesetenv): Likewise.
18418 (__fesetenv): Likewise.
18419 (feupdateenv): Likewise.
18420 (__feupdateenv): Likewise.
18421 (fegetround): Likewise.
18422 (__fegetround): Likewise.
18423 (fesetround): Likewise.
18424 (__fesetround): Likewise.
18425
d23a4962
JM
18426 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
18427 (feraiseexcept): New macro.
18428 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
18429 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
18430 Remove macro.
18431 (__feraiseexcept): Likewise.
18432 (feclearexcept): Likewise.
18433 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
18434 (__feraiseexcept): Likewise.
18435 (feclearexcept): Likewise.
18436 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
18437 (__feraiseexcept): Likewise.
18438 (feclearexcept): Likewise.
18439 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
18440 (__feraiseexcept): Likewise.
18441 (feclearexcept): Likewise.
18442 (fetestexcept): Likewise.
18443
5f167950
JM
18444 * sysdeps/m68k/coldfire/math-tests.h: New file.
18445
ccc9035a
JM
18446 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
18447 * sysdeps/m68k/bits/fenv.h: ... here.
18448 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
18449 not define.
18450 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
18451 Likewise.
18452 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
18453 Likewise.
18454 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
18455 Likewise.
18456 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
18457 Likewise.
18458 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
18459 Define to 0.
18460 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
18461 (__FE_UNDEFINED): New enum constant.
18462 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
18463 Do not define.
18464 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
18465 Likewise.
18466 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
18467 Likewise.
18468 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
18469 to match generic bits/fenv.h.
18470 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
18471 Do not define.
18472
049375e2
JM
18473 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
18474 packed on bits.
18475 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
18476 * soft-fp/half.h (union _FP_UNION_H): Likewise.
18477 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
18478 * soft-fp/single.h (union _FP_UNION_S): Likewise.
18479
f1d73681
CD
184802018-02-01 Carlos O'Donell <carlos@redhat.com>
18481 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
18482 Joseph Myers <joseph@codesourcery.com>
18483
18484 [BZ #21314]
18485 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
18486 (__log1p): Disable -Wmaybe-uninitialized for -Os around
18487 computation using c.
18488 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
18489 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
18490 computation using c.
18491
242cbc90
DL
184922018-02-01 Dmitry V. Levin <ldv@altlinux.org>
18493
086ee48e
DL
18494 * version.h (RELEASE): Set to "development".
18495 (VERSION): Set to "2.27.9000".
18496 * NEWS (2.28): New section.
18497
23158b08
DL
18498 * version.h (RELEASE): Set to "stable".
18499 (VERSION): Set to "2.27".
18500 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
18501
242cbc90
DL
18502 * NEWS: Add the list of bugs fixed in 2.27.
18503
673e2305
AZ
185042018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18505
18506 * stdlib/test-atexit-race-common.c (do_test): Check stack size
18507 against PTHREAD_STACK_MIN.
18508
ced64e01
DL
185092018-02-01 Dmitry V. Levin <ldv@altlinux.org>
18510
18511 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
18512 New entries.
18513 (Rafal Luzynski, Andreas Schwab): Update.
18514
c10c9a5e
RL
185152018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
18516
18517 [BZ #10871]
18518 * NEWS: List the languages which actually use the alternative
18519 months feature in this release. Also explain that "alt_mon" and
18520 "ab_alt_mon" are optional.
18521
650ba77a
IM
185222018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
18523
18524 [BZ #22765]
18525 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
18526
93493119
DL
185272018-01-31 Dmitry V. Levin <ldv@altlinux.org>
18528
18529 * manual/install.texi (Tools for Compilation): Update the newest
18530 versions of gcc, binutils, texinfo, gawk, bison, and sed.
18531 * INSTALL: Regenerated.
18532
363e4519 185332018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
407552cf
ST
18534
18535 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
18536 instead of __builtin_expect.
18537
d7536874
FW
185382018-01-30 Florian Weimer <fweimer@redhat.com>
18539
18540 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
18541 data.
18542 * nss/tst-nss-getpwent.c (do_test): Likewise.
18543
9a1b267d
RL
185442018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
18545
18546 [BZ #10871]
18547 * localedata/locales/hr_HR (mon): Rename to...
18548 (alt_mon): This.
18549 (mon): Import from CLDR (genitive case).
18550 (d_t_fmt): Update the comment.
18551
9a179328
AS
185522018-01-29 Andreas Schwab <schwab@linux-m68k.org>
18553
18554 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
18555 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
18556 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
18557
e01e0ddc
ST
185582018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
18559
18560 * mach/Versions: Fix version when __mach_host_self_ was added.
18561 * hurd/Versions: Fix version when _hurd_exec_paths was added.
18562 * sysdeps/mach/hurd/i386/ld.abilist: New file.
18563 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
18564 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
18565 * sysdeps/mach/hurd/i386/libc.abilist: New file.
18566 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
18567 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
18568 * sysdeps/mach/hurd/i386/libm.abilist: New file.
18569 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
18570 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
18571 * sysdeps/mach/hurd/i386/librt.abilist: New file.
18572 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
ba729de6
ST
18573 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
18574 || to respect codestyle.
2aadb705
ST
18575 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
18576 (do_test_bz20181): Rename accordingly.
406e7a0a
ST
18577 * malloc/malloc.c: Include <assert.h>.
18578 (assert): Do not define.
18579 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
99dfbef4
ST
18580 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
18581 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
ac56adbb 18582 * sysdeps/mach/hurd/hp-timing.h: New file.
ef4cf463 18583 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
e01e0ddc 18584
521877e1
PD
185852018-01-29 Darius Rad <darius@bluespec.com>
18586
18587 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
18588
532cf290
PD
185892018-01-29 Palmer Dabbelt <palmer@sifive.com>
18590
18591 * sysdeps/init_array/crti.S (.section .init_array): Add
18592 PREINIT_FUNCTION when defined.
40ca951b 18593 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
4215e276 18594 * config.h.in: Regenerate.
ba9e25a6
PD
18595 * manual/platform.texi: Add RISC-V documenation for
18596 __riscv_flush_icache.
c776fa11
PD
18597 * sysdeps/riscv/__longjmp.S: New file.
18598 * sysdeps/riscv/backtrace.c: Likewise.
18599 * sysdeps/riscv/bits/endian.h: Likewise.
18600 * sysdeps/riscv/bits/setjmp.h: Likewise.
18601 * sysdeps/riscv/bits/wordsize.h: Likewise.
18602 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
18603 * sysdeps/riscv/bsd-setjmp.c: Likewise.
18604 * sysdeps/riscv/dl-trampoline.S: Likewise.
18605 * sysdeps/riscv/gccframe.h: Likewise.
18606 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
18607 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
18608 * sysdeps/riscv/machine-gmon.h: Likewise.
18609 * sysdeps/riscv/memusage.h: Likewise.
18610 * sysdeps/riscv/setjmp.S: Likewise.
18611 * sysdeps/riscv/sys/asm.h: Likewise.
18612 * sysdeps/riscv/tls-macros.h: Likewise.
33712660
PD
18613 * sysdeps/riscv/dl-tls.h: New file.
18614 * sysdeps/riscv/libc-tls.c: Likewise.
18615 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
18616 * sysdeps/riscv/nptl/tls.h: Likewise.
18617 * sysdeps/riscv/stackinfo.h: Likewise.
67236aeb
PD
18618 * sysdeps/riscv/bits/fenv.h: New file.
18619 * sysdeps/riscv/e_sqrtl.c: Likewise.
18620 * sysdeps/riscv/fpu_control.h: Likewise.
18621 * sysdeps/riscv/math-tests.h: Likewise.
18622 * sysdeps/riscv/nofpu/Implies: Likewise.
18623 * sysdeps/riscv/sfp-machine.h: Likewise.
18624 * sysdeps/riscv/tininess.h: Likewise.
b2cb5e02
PD
18625 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
18626 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
18627 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
18628 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
18629 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
18630 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
18631 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
18632 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
18633 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
18634 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
18635 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
18636 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
18637 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
18638 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
18639 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
18640 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
18641 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
18642 * sysdeps/riscv/rvd/s_finite.c: Likewise.
18643 * sysdeps/riscv/rvd/s_fma.c: Likewise.
18644 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
18645 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
18646 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
18647 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
18648 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
18649 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
18650 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
18651 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
18652 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
18653 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
18654 * sysdeps/riscv/rvf/fegetround.c: Likewise.
18655 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
18656 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
18657 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
18658 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
18659 * sysdeps/riscv/rvf/fesetround.c: Likewise.
18660 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
18661 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
18662 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
18663 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
18664 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
18665 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
18666 * sysdeps/riscv/rvf/math_private.h: Likewise.
18667 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
18668 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
18669 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
18670 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
18671 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
18672 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
18673 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
18674 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
18675 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
18676 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
18677 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
18678 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
18679 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
18680 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
18681 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
18682 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
d1c09b24
PD
18683 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
18684 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
18685 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
18686 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
36960f0c
PD
18687 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
18688 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
18689 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
18690 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
18691 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
18692 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
18693 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
18694 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
18695 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
7f33b09c
PD
18696 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
18697 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
18698 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
18699 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
18700 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
18701 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
18702 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
18703 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
18704 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
18705 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
18706 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
18707 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
18708 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
18709 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
18710 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
18711 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
18712 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
18713 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
18714 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
18715 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
18716 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
18717 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
ee53fed9
PD
18718 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
18719 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
18720 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
2268c433
PD
18721 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
18722 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
18723 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
18724 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
18725 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
18726 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
18727 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
18728 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
18729 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
18730 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
18731 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18732 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
18733 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
18734 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
c5061557
PD
18735 * sysdeps/riscv/Implies: New file.
18736 * sysdeps/riscv/Makefile: Likewise.
18737 * sysdeps/riscv/configure: Likewise.
18738 * sysdeps/riscv/configure.ac: Likewise.
18739 * sysdeps/riscv/nptl/Makefile: Likewise.
18740 * sysdeps/riscv/preconfigure: Likewise.
18741 * sysdeps/riscv/rv64/Implies-after: Likewise.
18742 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
18743 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
18744 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
18745 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
18746 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
18747 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
18748 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
18749 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
18750 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
18751 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
18752 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
0fd5d876
PD
18753 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
18754 (Config): Likewise.
532cf290 18755
cdd14619
FW
187562018-01-29 Florian Weimer <fweimer@redhat.com>
18757
18758 [BZ #22701]
18759 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
18760 libnsl_hidden_proto.
18761 * include/rpcsvc/yp.h (yp_xdrall): Declare with
18762 libnsl_hidden_proto.
18763 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
18764 * nis/Makefile (libnsl-routines): Add nss-default only for
18765 build-obsolete-nsl.
18766 * nis/nis_defaults.c (__nis_default_ttl): Add
18767 libnsl_hidden_nolink_def.
18768 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
18769 declaration.
18770 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
18771 * nis/ypclnt.c (yp_maplist): Likewise.
18772
b7ccb5de
RN
187732018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
18774
18775 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18776 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
18777
522623e4
JM
187782018-01-29 Joseph Myers <joseph@codesourcery.com>
18779
e3aa6999
JM
18780 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
18781 clean -dxfq for git updates when replacing sources.
18782
088de7d0
JM
18783 * scripts/build-many-glibcs.py (Config.build_gcc): Use
18784 --disable-libcilkrts unconditionally, not just for the final GCC
18785 build for Hurd.
18786
522623e4
JM
18787 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
18788 version to 4.15.
18789
8b406f87
RL
187902018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18791
18792 [BZ #10871]
18793 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
18794 case).
18795
105e90bd
RL
187962018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18797
18798 [BZ #10871]
18799 * localedata/locales/be_BY (mon): Rename to...
18800 (alt_mon): This, then synchronize with CLDR (nominative case).
18801 (abmon): Rename to...
18802 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
18803 (mon): Import from CLDR (genitive case).
18804 (abmon): Likewise.
18805 * localedata/locales/be_BY@latin (mon): Rename to...
18806 (alt_mon): This.
18807 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
18808
18809 * localedata/locales/be_BY@latin (lang_name): Reworded to
18810 "biełaruskaja mova".
18811
561cb414
RL
188122018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18813
18814 [BZ #10871]
18815 * localedata/locales/el_CY (mon): Renamed to...
18816 (alt_mon): This.
18817 (mon): Import from CLDR (genitive case).
18818 * localedata/locales/el_GR: Likewise.
18819
f7bdf30d
RL
188202018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18821
18822 [BZ #10871]
18823 * localedata/locales/ru_RU (mon): Rename to...
18824 (alt_mon): This.
18825 (abmon): Rename to...
18826 (ab_alt_mon): This.
18827 (mon): Import from CLDR (genitive case).
18828 (abmon): Copy from the old content except the 5th month which is
18829 now in the genitive case, even when abbreviated.
18830 * localedata/locales/ru_UA: Likewise.
18831 * time/tst-strptime.c (day_tests): Add an actual example of
18832 a difference between %b and %Ob in Russian.
18833
85285a0c
ST
188342018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
18835
18836 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
da8168df
ST
18837 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
18838 a `c' variable.
3538a4b6 18839 * resolv/res-close.c: Include <stdlib.h>.
b29848b9
ST
18840 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
18841 <sys/wait.h>, <time.h>, <sys/uio.h>.
18842 (NOT_CANCEL_H): Add inclusion guard.
4f66dc23 18843 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
147d1dbb
ST
18844 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
18845 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
18846 return 0.
05ebfe87
ST
18847 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
18848 vm_address_t * to ElfW(Addr) * for dl_main parameter.
61a3a8c6
ST
18849 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
18850 instead of void *.
18851 * sysdeps/pthread/timer_create.c (timer_create): Do not use
18852 timer_ptr2id to cast struct timer_node * to void *.
d4d5b2dd
ST
18853 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
18854 --disable-libcilkrts to gcc configure.
19fd8d0d
ST
18855 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
18856 and make them the default for now.
903d3633
ST
18857 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
18858 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
7dab2d00
ST
18859 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
18860 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
18861 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
18862 MACH_IPC_COMPAT.
06fac9f5
ST
18863 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
18864 __task_terminate would ever return successfully.
f8177753
ST
18865 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
18866 to global scope.
41cdb1eb
ST
18867 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
18868 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
660b7bff
ST
18869 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
18870 critical section to make code simpler and avoid warning.
18871 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
18872 critical section to make code simpler and avoid warning.
844bf921
ST
18873 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
18874 const char * instead of char *.
f8bee46c
ST
18875 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
18876 __hurd_file_name_split, hurd_file_name_split,
18877 __hurd_directory_name_split, hurd_directory_name_split,
18878 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
18879 hurd_file_name_path_lookup): Make lookup function parameter take a
18880 const char *name instead of char *name.
18881 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
18882 __hurd_directory_name_split): Likewise.
18883 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
18884 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
40066975
ST
18885 * sysdeps/mach/hurd/check_native.c: New file.
18886 * sysdeps/mach/hurd/check_pf.c: New file.
7c5b106d
ST
18887 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
18888 (__freeifaddrs): Define macro to freeifaddrs.
5f982b0b
ST
18889 * sysdeps/mach/hurd/libhurduser.abilist: New file.
18890 * sysdeps/mach/libmachuser.abilist: New file.
cef7166a
ST
18891 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
18892 (do_test_bz20181): Rename accordingly.
18893 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
3fc1ecf9
ST
18894 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
18895 <sys/mount.h>.
28f6186f
ST
18896 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
18897 version only if __USE_EXTERN_INLINES is defined.
18898 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
18899 __hurd_sockfail): Likewise.
18900 (_hurd_fd_get): Always declare functions, and provide inline versions
18901 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
18902 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
18903 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
18904 _hurd_port_set): Always declare functions, and provide inline versions
18905 only if __USE_EXTERN_INLINES and _LIBC are defined and
18906 IS_IN(libc).
18907 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
18908 _hurd_critical_section_unlock): Likewise.
18909 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
18910 * __hurd_threadvar_location): Likewise.
18911 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
18912 _hurd_userlink_clear): Likewise.
18913 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
18914 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
18915 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
18916 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
18917 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
18918 __spin_lock_locked): Likewise.
18919 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
18920 __spin_lock_locked): Likewise.
18921 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
18922 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
18923 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
18924 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
18925 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
b1025304
ST
18926 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
18927 _POSIX_NO_TRUNC): Define to 0.
a902a086
ST
18928 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
18929 check size against PTHREAD_STACK_MIN.
625ba81e
ST
18930 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
18931 IS_IN(libpthread)]: Include <sigsetops.h>.
2e52dff4
ST
18932 * mach/Makefile (user-interfaces): Add mach/gnumach.
18933 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
18934 * sysdeps/mach/configure (mach_interface_list): Regenerate.
80463dc6
ST
18935 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
18936 instead of invalid -1.
1f89ac71
ST
18937 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
18938 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
18939 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
18940 <net/ppp_defs.h>.
85285a0c 18941
1fd1e27c 189422018-01-27 Thomas Schwinge <tschwinge@gnu.org>
84814e2a
TS
18943
18944 * hurd/fcntl-internal.h: New file.
18945
3854c5a8
JC
189462018-01-27 James Clarke <jrtc27@jrtc27.com>
18947
7e23a7dd
JC
18948 * sysdeps/hppa/fpu/libm-test-ulps: Update.
18949
3854c5a8
JC
18950 * sysdeps/alpha/fpu/libm-test-ulps: Update.
18951
5503f413
AS
189522018-01-26 Andreas Schwab <schwab@linux-m68k.org>
18953
18954 [BZ #22701]
18955 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
18956 Build only shared objects.
18957
caaf7804
CD
189582018-01-26 Carlos O'Donell <carlos@redhat.com>
18959
18960 * README: Update for hppa.
18961
1cbf818d
PM
189622018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18963
caaf7804
CD
18964 * sysdeps/sparc/fpu/libm-test-ulps: Update
18965 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
1cbf818d 18966
caaf7804 189672018-01-26 Carlos O'Donell <carlos@redhat.com>
2ec0e7ea
CD
18968
18969 Revert:
18970
18971 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18972
18973 [BZ #22563]
18974 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18975 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
18976 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18977 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
18978 to feature_1.
18979
18980 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18981
18982 [BZ #22563]
18983 * bits/types/__cancel_jmp_buf_tag.h: New file.
18984 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
18985 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
18986 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
18987 * nptl/Makefile (headers): Add
18988 bits/types/__cancel_jmp_buf_tag.h.
18989 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
18990 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
18991 * sysdeps/nptl/pthread.h: Include
18992 <bits/types/__cancel_jmp_buf_tag.h>.
18993 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
18994 __cancel_jmp_buf.
18995 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
18996
65f6c94e
RL
189972018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
18998
18999 [BZ #10871]
19000 * localedata/locales/uk_UA (mon): Renamed to...
19001 (alt_mon): This.
19002 (alt_digits): "0" removed and then renamed to...
19003 (mon): This.
19004 (date_fmt): Definition changed not to use the alternative
19005 digits hack.
19006
fb58aac5
PD
190072018-01-25 Palmer Dabbelt <palmer@sifive.com>
19008
19009 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
19010 FLAG_RISCV_FLOAT_ABI_DOUBLE.
19011 * elf/elf.h (EF_RISCV_RVC): New define.
19012 (EF_RISCV_FLOAT_ABI): Likewise.
19013 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
19014 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
19015 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
19016 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
19017 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
19018 define.
19019 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
19020
128c43a2
AS
190212018-01-25 Andreas Schwab <schwab@suse.de>
19022
19023 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
19024 single quotes.
19025 * sysdeps/gnu/configure: Regenerate.
19026 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
19027 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19029 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
19030 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
19031 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
19032 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
19033 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
19034
f9015003
ST
190352018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
19036
48130690 19037 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
47c4b4b0 19038 URL, and run autoconf, make it the default for now.
f9015003 19039
91b2cffa
JM
190402018-01-24 Joseph Myers <joseph@codesourcery.com>
19041
3005b705
JM
19042 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19043 soft-float ColdFire configuration.
19044
69231fab
JM
19045 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
19046 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
19047 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
19048
d4c7e1d0
JM
19049 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
19050 MicroBlaze file.
19051
0cfe5be5
JM
19052 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
19053 ....
19054 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
19055 ... here.
19056 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
19057 New file.
19058
91b2cffa
JM
19059 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
19060 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
19061 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
19062 file.
19063
c739e191
SN
190642018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
19065
19066 [BZ #22742]
19067 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
19068 Rename to __reserved and add comment.
19069 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
19070 Rename to __reserved.
19071
394b5bac
JM
190722018-01-24 Joseph Myers <joseph@codesourcery.com>
19073
19074 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19075 i686-gnu configurations.
19076 (Context.run_builds): Include mig, gnumach and hurd in components
19077 considered.
19078 (Context.checkout): Add mig, gnumach and hurd to components.
19079 (Context.checkout_tar): Add URL mappings for mig, gnumach and
19080 hurd.
19081 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
19082 (Config.build): Install gnumach headers, build mig and install
19083 hurd headers for 'gnu' OS.
19084 (Config.install_gnumach_headers): New function.
19085 (Config.install_hurd_headers): Likewise.
19086 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
19087 when building for 'gnu' OS.
19088
28c3f14f
TK
190892018-01-23 Tobias Klauser <tklauser@distanz.ch>
19090
19091 * manual/tunables.texi (Hardware Capability Tunables): Fix
19092 spelling.
19093
0f5e2da1
RJ
190942018-01-22 Rical Jasan <ricaljasan@pacific.net>
19095
19096 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
19097 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
19098 (ALTMON_11, ALTMON_12): Improve documentation.
19099 * manual/time.texi (strftime): Likewise.
19100
7817b14a
RL
191012018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19102
19103 [BZ #10871]
19104 * localedata/locales/pl_PL: Alternative month names added,
19105 primary month names are genitive now.
19106 * time/tst-strptime.c (day_tests): Actually use a genitive case
19107 of a month name in Polish language.
19108
22390764
RL
191092018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19110
19111 [BZ #10871]
19112 * manual/locale.texi: Document ALTMON_1..12 constants for
19113 nl_langinfo. Specify when to use ALTMON instead of MON.
19114 * manual/time.texi (strftime, strptime): Document GNU extension
19115 permitting O modifier with %B and %b. Specify when to use
19116 %OB instead of %B.
19117
761a585c
RL
191182018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19119
19120 [BZ #10871]
19121 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
19122 names, define them as the same as abbreviated month names explicitly.
19123 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
19124 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
19125 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
19126 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
19127 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
19128 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
19129 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
19130 _NL_WABALTMON_12): New enum constants.
19131 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
19132 wab_alt_mon, and ab_alt_mon_defined members.
19133 (time_output): Output ab_alt_mon and wab_alt_mon members.
19134 (time_read): Read them, initialize them as copies of abmon and wabmon
19135 respectively if they are missing, initialize ab_alt_mon_defined.
19136 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
19137 * locale/programs/locfile-kw.h: Regenerate.
19138 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
19139 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
19140 and ru_RU.UTF-8.
19141 * time/strftime_l.c (a_altmonth, aam_len): New macros.
19142 [!COMPILE_WIDE] (ABALTMON_1): New macro.
19143 (__strftime_internal): Handle %Ob and %Oh formats.
19144 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
19145 (__strptime_internal): Handle %Ob and %Oh formats.
19146 * time/tst-strptime.c (day_tests): Add more tests to parse different
19147 forms of month names including the new %Ob format specifier.
19148
95cb863a
RL
191492018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19150
19151 [BZ #10871]
19152 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
19153 define them as the same as primary full month names explicitly.
19154 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
19155 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
19156 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
19157 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
19158 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
19159 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
19160 _NL_WALTMON_12): New enum constants.
19161 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
19162 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
19163 macros.
19164 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
19165 walt_mon, and alt_mon_defined members.
19166 (time_output): Output alt_mon and walt_mon members.
19167 (time_read): Read them, initialize them as copies of mon and wmon
19168 respectively if they are missing, initialize alt_mon_defined.
19169 * locale/programs/locfile-kw.gperf (alt_mon): Define.
19170 * locale/programs/locfile-kw.h: Regenerate.
19171 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
19172 * localedata/tst-langinfo.c (map): Add tests for the new constants
19173 ALTMON_1 .. ALTMON_12.
19174 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
19175 and pl_PL.UTF-8.
19176 * time/strftime_l.c (f_altmonth): New macro.
19177 (__strftime_internal): Handle %OB format.
19178 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
19179 (__strptime_internal): Handle %OB format.
19180 * time/tst-strptime.c (day_tests): Add tests to parse different forms
19181 of month names including the new %OB format specifier.
19182
4612268a
TMQMF
191832018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19184
19185 [BZ #22685]
19186 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
19187 from ABORT_TRANSACTION.
19188 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
19189 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
19190 ABORT_TRANSACTION_IMPL): Likewise.
19191 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
19192 Linux code, but remove the code that aborts transactions.
19193
64f63cb4
ST
191942018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
19195
19196 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
19197
32ac6e92
RL
191982018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
19199
19200 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
19201 in date: "2004-14-09" should be "2004-09-14".
19202 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
19203 "2003-15-09" should be "2003-09-15".
19204
8e448310
AS
192052018-01-18 Arjun Shankar <arjun@redhat.com>
19206
19207 [BZ #22343]
71aa429b 19208 [BZ #22774]
4590634f 19209 CVE-2018-6485
71aa429b 19210 CVE-2018-6551
8e448310
AS
19211 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
19212 after padding.
19213 (_int_memalign): check for integer overflow before calling
19214 _int_malloc.
19215 * malloc/tst-malloc-too-large.c: New test.
19216 * malloc/Makefile: Add tst-malloc-too-large.
19217
e234d7cb
RL
192182018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
19219
19220 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
19221 in date: "2017-24-07" should be "2017-07-24".
19222 * localedata/locales/mai_IN: Likewise.
19223 * localedata/locales/mai_NP: Likewise.
19224
48b66019
DL
192252018-01-17 Dmitry V. Levin <ldv@altlinux.org>
19226
19227 * po/ru.po: Update translations.
19228
1eeddc58
JM
192292018-01-17 Joseph Myers <joseph@codesourcery.com>
19230
19231 [BZ #22719]
19232 * sysdeps/hppa/backtrace.c: New file.
19233
207a72e2
L
192342018-01-17 H.J. Lu <hongjiu.lu@intel.com>
19235
19236 [BZ #22715]
19237 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
19238 align La_x86_64_retval to VEC_SIZE.
19239
4942c4ea
JM
192402018-01-16 Joseph Myers <joseph@codesourcery.com>
19241
19242 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
19243 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
19244
10d200db
FW
192452018-01-16 Florian Weimer <fweimer@redhat.com>
19246
19247 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
19248 Move tst-thread-exit-clobber ...
19249 [$(CXX)] (tests-unsupported): ... to here.
19250
953c49cc
SN
192512018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
19252
19253 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
19254 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
19255 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
19256 (_dl_aarch64_cap_flags): Update.
19257 (_DL_HWCAP_COUNT): Update.
19258
afce1991
SN
192592018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
19260
19261 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
19262 (_DL_HWCAP_LAST): Remove.
19263 (_DL_HWCAP_COUNT): Move to ...
19264 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
19265 (_DL_HWCAP_COUNT): ... here.
19266
b725132d
FW
192672018-01-16 Florian Weimer <fweimer@redhat.com>
19268
19269 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
19270 mode with GNU extensions.
19271
c9e613a7
AH
192722018-01-15 Alan Hayward <alan.hayward@arm.com>
19273
19274 * elf/elf.h (NT_ARM_SVE): Define.
19275
860b0240
FW
192762018-01-15 Florian Weimer <fweimer@redhat.com>
19277
19278 [BZ #22636]
19279 * nptl/tst-minstack-throw.cc: New file.
19280 * nptl/Makefile (tests): Add tst-minstack-throw.
19281 (LDLIBS-tst-minstack-throw): Link with libstdc++.
19282 [!CXX] (tests-unsupported): Add tst-minstack-throw.
19283
16d0f6ac
JM
192842018-01-15 Joseph Myers <joseph@codesourcery.com>
19285
19286 * scripts/build-many-glibcs.py (Context.checkout): Default
19287 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
19288 version to 1.1.0.
19289
505d3910
CD
192902018-01-13 Carlos O'Donell <carlos@redhat.com>
19291
19292 [BZ #22707]
19293 * elf/elf.h (DF_1_STUB): Define.
19294 (DF_1_PIE): Define.
19295
af1e6be4
TMQMF
192962018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19297
19298 [BZ #22697]
19299 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
19300 Do not add 0.5 to integer or out-of-range arguments.
19301
98d13ce0
DL
193022018-01-12 Dmitry V. Levin <ldv@altlinux.org>
19303
19304 * po/bg.po: Update translations.
19305 * po/cs.po: Likewise.
19306 * po/de.po: Likewise.
19307 * po/ko.po: Likewise.
19308 * po/pl.po: Likewise.
19309 * po/sv.po: Likewise.
19310 * po/uk.po: Likewise.
19311 * po/vi.po: Likewise.
19312
3d1d7928
SN
193132018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
19314
19315 * aarch64/start.S (_start): Use __wrap_main.
19316 (__wrap_main): New local symbol.
19317
52a713fd
DL
193182018-01-12 Dmitry V. Levin <ldv@altlinux.org>
19319
19320 [BZ #22679]
19321 CVE-2018-1000001
19322 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
19323 generic_getcwd if the path returned by getcwd syscall is not absolute.
19324 * io/tst-getcwd-abspath.c: New test.
19325 * io/Makefile (tests): Add tst-getcwd-abspath.
19326
249a5895
IK
193272018-01-12 Istvan Kurucsai <pistukem@gmail.com>
19328
19329 * malloc/malloc.c (malloc_consolidate): Add size check.
19330
1a51e46e
FW
193312018-01-12 Florian Weimer <fweimer@redhat.com>
19332
19333 * support/write_message.c (write_message): Preserve errno.
19334 * support/check.c (print_failure): Likewise.
19335 * support/support_test_verify_impl.c (support_test_verify_impl):
19336 Likewise.
19337 * support/support_test_compare_failure.c
19338 (support_test_compare_failure): Likewise.
19339
9a08a366
FW
193402018-01-12 Florian Weimer <fweimer@redhat.com>
19341
19342 [BZ #22701]
19343 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
19344 Prevent installation of libnsl.so.
19345 (libnsl-inhibit-o): Do not build (or install) static libraries.
19346
80647883 193472018-01-12 Egmont Koblinger <egmont@gmail.com>
f172187b
EK
19348
19349 [BZ #22657]
19350 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
19351 before the day number which may produce a double space.
19352 (date_fmt): Likewise.
19353
c8924f1f
JM
193542018-01-12 Joseph Myers <joseph@codesourcery.com>
19355
19356 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
19357 instead of fegetenv.
19358
da09e6fa
JM
193592018-01-11 Joseph Myers <joseph@codesourcery.com>
19360
19361 [BZ #22702]
19362 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
19363 comment to say exceptions are discarded.
19364 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
19365 __fegetenv.
19366 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
19367 be enabled.
19368
08c6e952
FW
193692018-01-11 Florian Weimer <fweimer@redhat.com>
19370
19371 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
19372 and error message.
19373
d8b77890
FW
193742018-01-11 Florian Weimer <fweimer@redhat.com>
19375
19376 [BZ #22636]
19377 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
19378 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
19379
b303185d
JM
193802018-01-10 Joseph Myers <joseph@codesourcery.com>
19381
19382 [BZ #22693]
19383 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
19384 negative arguments in test for NaN or infinity argument.
19385
ee61d028
DL
193862018-01-10 Dmitry V. Levin <ldv@altlinux.org>
19387
19388 * po/libc.pot: Regenerate.
19389
f993b875
FW
193902018-01-10 Florian Weimer <fweimer@redhat.com>
19391
19392 [BZ #22636]
19393 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
19394 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
19395
09085ede
ST
193962018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19397
19398 * hurd/hurd/fd.h: Include <fcntl.h>
19399 (__hurd_at_flags): New function.
19400 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
19401 with call to __hurd_at_flags.
19402 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
19403 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
19404 __faccessat
19405 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
19406 (__access_noerrno): Use __faccessat_common instead of access_common.
19407 (__access): Likewise.
19408 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
19409 with a call to __faccessat.
19410 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
19411 (__faccessat_common): ... this. Move implementation of __access into it when
19412 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
19413 reauthenticate_cwdir_at helper to implement AT mechanism.
19414 (__faccessat_noerrno): New function, just calls __faccessat_common.
19415 (__faccessat): New function, just calls __faccessat_common.
19416 (faccessat): Define weak alias.
19417
12727488
JM
194182018-01-10 Joseph Myers <joseph@codesourcery.com>
19419
87faac55
JM
19420 [BZ #22691]
19421 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19422 (CFLAGS-s_fmaxmagl.c): New variable.
19423 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
19424
12727488
JM
19425 [BZ #22690]
19426 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
19427 long int for arguments of possibly overflowing addition or
19428 subtraction.
19429 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
19430
e134ca17
JM
194312018-01-09 Joseph Myers <joseph@codesourcery.com>
19432
b2584ac2
JM
19433 [BZ #22688]
19434 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19435 (CFLAGS-e_remainderl.c): New variable.
19436
e134ca17
JM
19437 [BZ #22687]
19438 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
19439 variable.
19440 (CFLAGS-s_cacoshl.c): Likewise.
19441 (CFLAGS-s_casinhl.c): Likewise.
19442 (CFLAGS-s_catanl.c): Likewise.
19443 (CFLAGS-s_catanhl.c): Likewise.
19444 (CFLAGS-s_cexpl.c): Likewise.
19445 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
19446 (CFLAGS-s_csinhl.c): Likewise.
19447 (CFLAGS-s_clogl.c): Likewise.
19448 (CFLAGS-s_clog10l.c): Likewise.
19449 (CFLAGS-s_csinl.c): Likewise.
19450 (CFLAGS-s_csqrtl.c): Likewise.
19451
d31a4a48
ST
194522017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
194532017-01-09 Svante Signell <svante.signell@gmail.com>
311ba8dc
ST
19454
19455 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
19456 (_hurd_exec_paths): New function.
19457 * hurd/hurd.h (_hurd_exec): Deprecate function.
19458 (_hurd_exec_paths): Declare function.
19459 * hurd/Versions: Export _hurd_exec_paths.
19460 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
19461 (__execve): Use __getcwd to build absolute path, and use
19462 _hurd_exec_paths instead of _hurd_exec.
19463 * sysdeps/mach/hurd/spawni.c: Likewise.
19464 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
19465 _hurd_exec.
19466
d7ff3f11
DL
194672018-01-08 Dmitry V. Levin <ldv@altlinux.org>
19468
19469 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
19470 test instead of failing in case of ENOENT returned by posix_openpt.
19471
401311cf
FW
194722018-01-08 Florian Weimer <fweimer@redhat.com>
19473
19474 resolv: Support binary labels in test framework.
19475 * support/resolv_test.c (struct to_be_freed): Remove.
19476 (struct compressed_name): New.
19477 (allocate_compressed_name, ascii_tolower)
19478 (compare_compressed_name): New functions.
19479 (struct resolv_response_builder): Update type of
19480 compression_offsets for use with tsearch. Rempve to_be_freed.
19481 (response_push_pointer_to_free): Remove function.
19482 (resolv_response_add_name): Rewrite using struct compressed_name
19483 and tsearch instead of hsearch_r.
19484 (response_builder_allocate): Remove initialization of
19485 compression_offsets.
19486 (response_builder_free): Update for removal of to_be_freed. Use
19487 tdestroy instead of hdestroy_r.
19488 * resolv/Makefile (tests): Add tst-resolv-binary.
19489 (tst-resolv-binary): Link with -lresolv -lpthread.
19490
2b3aa446
FW
194912018-01-08 Florian Weimer <fweimer@redhat.com>
19492
19493 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
19494 time. Pass positive flag instead of negative flag to
19495 support_test_compare_failure.
19496 (support_test_compare_failure): Change negative parameter to
19497 positive.
19498 * support/support_test_compare_failure.c (report)
19499 (support_test_compare_failure): Likewise.
19500 * support/tst-test_compare.c (return_ssize_t, return_int): New.
19501 (do_test): Check int/size_t, ssize_t/size_t comparisons.
19502
630f4cc3
SN
195032018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
19504
19505 [BZ #22637]
19506 * nptl/descr.h (stackblock, stackblock_size): Update comments.
19507 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
19508 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
19509 stacksize.
19510 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
19511
c70e4e9c
L
195122018-01-08 H.J. Lu <hongjiu.lu@intel.com>
19513
19514 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19515 Add s_sincosf-sse2 and s_sincosf-fma.
19516 (CFLAGS-s_sincosf-fma.c): New.
19517 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
19518 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
19519 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
19520 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
19521 __sincosf is defined.
19522
579396ee
FW
195232018-01-08 Florian Weimer <fweimer@redhat.com>
19524
19525 * nptl/tst-thread-exit-clobber.cc: New file.
19526 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
19527 C++11 mode.
19528 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
19529 (tests): Add tst-thread-exit-clobber.
19530 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
19531
dabd75b6
FW
195322018-01-08 Florian Weimer <fweimer@redhat.com>
19533
19534 * support/check.h (support_static_assert): Define.
19535 (TEST_COMPARE): Use it.
19536
c2e014cc
AJ
195372018-01-07 Aurelien Jarno <aurelien@aurel32.net>
19538
19539 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
19540 [!__RLIM_T_MATCHES_RLIM64_T]
19541 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
19542 __getrlimit64. Add libc_hidden_weak.
19543
31a98837
PD
195442018-01-06 Palmer Dabbelt <palmer@sifive.com>
19545
19546 * elf/elf.h (R_RISCV_NONE): New define.
19547 (R_RISCV_32): Likewise.
19548 (R_RISCV_64): Likewise.
19549 (R_RISCV_RELATIVE): Likewise.
19550 (R_RISCV_COPY): Likewise.
19551 (R_RISCV_JUMP_SLOT): Likewise.
19552 (R_RISCV_TLS_DTPMOD32): Likewise.
19553 (R_RISCV_TLS_DTPMOD64): Likewise.
19554 (R_RISCV_TLS_DTPREL32): Likewise.
19555 (R_RISCV_TLS_DTPREL64): Likewise.
19556 (R_RISCV_TLS_TPREL32): Likewise.
19557 (R_RISCV_TLS_TPREL64): Likewise.
00505532
PD
19558 * Makerules (make-link-multidir): Make directories before linking into
19559 them.
150bbac1
PD
19560 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
19561 define.
19562 (VDSO_HASH_LINUX_4_15): Likewise.
1598f3ad
PD
19563 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
19564 in subdirectories of lib.
8e13c51b
PD
19565 * nptl/Makefile (/librt.so): Always depend on
19566 "$(shared-thread-library)".
31a98837 19567
fad7d57e
ST
195682018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19569
19570 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
4a5ce6e9
ST
19571 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
19572 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
19573 (___tls_get_addr).
19574 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
107a35a5
ST
19575 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
19576 "-O2 -march=i686".
01c7e549 19577 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
f417d92c
ST
19578 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
19579 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
19580 * sysdeps/gnu/glob-lstat-compat.c: New file.
19581 * sysdeps/gnu/glob64-lstat-compat.c: New file.
200fc24b 19582 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
fad7d57e 19583
3a32b716
TMQMF
195842018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19585
19586 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
19587 Reserve 16 chars to reloc_addr before calling _itoa_word.
19588
24731685
AJ
195892018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19590
19591 [BZ #22678]
19592 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
19593 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
19594
19be56d8
AJ
19595 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
19596 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
19597
a6d0afb5
AJ
19598 * resource/tst-getrlimit.c: Add copyright header.
19599
8e900969
AJ
196002018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19601 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19602
19603 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
19604 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
19605 Define __GI_getrlimit64 as weak alias of __getrlimit64.
19606 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
19607 instead.
19608 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
19609 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
19610 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
19611 RLIM64_INFINITY): Fix values to match the kernel ones.
19612 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
19613 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
19614 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
19615 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
19616 getrlimit64@@GLIBC_2_27.
19617 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
19618 and setrlimit64.
19619 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
19620 getrlimit, setrlimit, getrlimit64 and setrlimit64.
19621 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
19622 setrlimit, getrlimit64 and setrlimit64.
19623
0d0bc784
AJ
196242018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19625
19626 [BZ #22648]
19627 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
19628 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
19629
ba374b6d
JM
196302018-01-04 Joseph Myers <joseph@codesourcery.com>
19631
19632 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
19633 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
19634 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
19635
4854ddd8
AZ
196362018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19637
b0a4eca2
AZ
19638 [BZ #15479]
19639 [BZ #22666]
19640 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
19641 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
19642
4854ddd8
AZ
19643 [BZ #15479]
19644 [BZ #22665]
19645 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
19646 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
19647 * sysdeps/alpha/fpu/s_floor.c: Likewise.
19648 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
19649
8a5df95f
FW
196502018-01-04 Florian Weimer <fweimer@redhat.com>
19651
19652 [BZ #22667]
19653 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
19654 Align the stack before calling exit.
19655 * stdlib/tst-makecontext-align.c: New file.
19656 * stdlib/Makefile (tests): Add tst-makecontext-align.
19657
82eef55f
FW
196582018-01-04 Florian Weimer <fweimer@redhat.com>
19659
19660 Add support for calling dlvsym from libc.so.
19661 * include/dlfcn.h (__libc_dlvsym): Declare.
19662 * elf/Makefile (tests-static-internal): Add
19663 tst-libc_dlvsym-static.
19664 (tests-internal): Add tst-libc_dlvsym.
19665 (modules-names): Add tst-libc_dlvsym-dso.
19666 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
19667 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
19668 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
19669 object tst-libc_dlvsym-dso.so needs to be built before running
19670 these tests.
19671 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
19672 * elf/Versions: Export __libc_dlvsym.
19673 * elf/dl-libc.c (struct do_dlvsym_args): New.
19674 (do_dlvsym, __libc_dlvsym): New functions.
19675 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
19676 (_dl_open_hook2): New variable.
19677 (__libc_register_dl_open_hook): Set it.
19678 * elf/tst-libc_dlvsym-dso.c: New file.
19679 * elf/tst-libc_dlvsym-static.c: Likewise.
19680 * elf/tst-libc_dlvsym.c: Likewise.
19681 * elf/tst-libc_dlvsym.h: Likewise.
19682
1714fc06
ST
196832018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
19684
19685 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
19686 include <sys/mount.h>.
19687
3c7d0312
WD
196882018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
19689
19690 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
19691 Add __NO_MATH_ERRNO__ check.
19692
7eff0954
JM
196932018-01-02 Joseph Myers <joseph@codesourcery.com>
19694
19695 * sysdeps/mips/mips32/libm-test-ulps: Update.
19696 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19697
77f49956
FW
196982018-01-02 Florian Weimer <fweimer@redhat.com>
19699
19700 * misc/tst-pselect.c: Add copyright header.
19701
363e4519 197022018-01-02 Aurelien Jarno <aurelien@aurel32.net>
d35989be
AJ
19703
19704 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
19705 comment.
19706 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
19707 comment.
19708 (settrlimit): Rename into setrlimit.
19709 (__sttrlimit): Rename into __setrlimit.
19710
3e4226ff
AJ
19711 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
19712 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
19713 never defined in that case.
19714
b9256ab6
JM
197152018-01-02 Joseph Myers <joseph@codesourcery.com>
19716
28fd6a44
JM
19717 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
19718
a4933a15
JM
19719 * sysdeps/arm/libm-test-ulps: Update.
19720
b9256ab6
JM
19721 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
19722 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
19723
4cf82d23
RS
197242018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19725
19726 * NEWS: Add cosf and sincosf to list of optimized functions.
19727
6a9dd7a7
AJ
197282018-01-02 Aurelien Jarno <aurelien@aurel32.net>
19729
19730 [BZ #22660]
19731 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
19732 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
19733 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
19734 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
19735
dbba87d5
DL
197362018-01-01 Dmitry V. Levin <ldv@altlinux.org>
19737
b05cb613
DL
19738 [BZ #22433]
19739 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
19740
dbba87d5
DL
19741 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
19742 making a copy of it.
19743
688903eb
JM
197442018-01-01 Joseph Myers <joseph@codesourcery.com>
19745
66ac23de
JM
19746 * manual/texinfo.tex: Update to version 2017-12-26.21 with
19747 trailing whitespace removed.
19748 * scripts/config.guess: Update to version 2018-01-01.
19749 * scripts/config.sub: Update to version 2018-01-01.
19750 * scripts/move-if-change: Update from gnulib.
19751
09533208
JM
19752 * NEWS: Update copyright dates.
19753 * catgets/gencat.c (print_version): Likewise.
19754 * csu/version.c (banner): Likewise.
19755 * debug/catchsegv.sh: Likewise.
19756 * debug/pcprofiledump.c (print_version): Likewise.
19757 * debug/xtrace.sh (do_version): Likewise.
19758 * elf/ldconfig.c (print_version): Likewise.
19759 * elf/ldd.bash.in: Likewise.
19760 * elf/pldd.c (print_version): Likewise.
19761 * elf/sotruss.sh: Likewise.
19762 * elf/sprof.c (print_version): Likewise.
19763 * iconv/iconv_prog.c (print_version): Likewise.
19764 * iconv/iconvconfig.c (print_version): Likewise.
19765 * locale/programs/locale.c (print_version): Likewise.
19766 * locale/programs/localedef.c (print_version): Likewise.
19767 * login/programs/pt_chown.c (print_version): Likewise.
19768 * malloc/memusage.sh (do_version): Likewise.
19769 * malloc/memusagestat.c (print_version): Likewise.
19770 * malloc/mtrace.pl: Likewise.
19771 * manual/libc.texinfo: Likewise.
19772 * nptl/version.c (banner): Likewise.
19773 * nscd/nscd.c (print_version): Likewise.
19774 * nss/getent.c (print_version): Likewise.
19775 * nss/makedb.c (print_version): Likewise.
19776 * posix/getconf.c (main): Likewise.
19777 * scripts/test-installation.pl: Likewise.
19778 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
19779
688903eb
JM
19780 * All files with FSF copyright notices: Update copyright dates
19781 using scripts/update-copyrights.
19782 * locale/programs/charmap-kw.h: Regenerated.
19783 * locale/programs/locfile-kw.h: Likewise.
19784
4f820792
ZW
197852017-12-31 Zack Weinberg <zackw@panix.com>
19786
19787 * libio/bits/libio-ldbl.h: Correct check for improper
19788 inclusion. Add own multiple include guard.
19789
3e3c904d
AJ
197902017-12-30 Aurelien Jarno <aurelien@aurel32.net>
19791 Dmitry V. Levin <ldv@altlinux.org>
19792
19793 [BZ #22625]
31f96325 19794 CVE-2017-16997
3e3c904d
AJ
19795 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
19796 string token expansion. Check for NULL pointer or empty string possibly
19797 returned by expand_dynamic_string_token.
19798 (decompose_rpath): Check for empty path after dynamic string
19799 token expansion.
19800
7e21972b
DL
198012017-12-29 Dmitry V. Levin <ldv@altlinux.org>
19802
c48831d0
DL
19803 [BZ #22433]
19804 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
19805
ac583f50
DL
19806 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
19807 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
19808 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
19809 and PTRACE_SYSCALL.
19810 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
19811 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19812 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19813 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19814 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19815 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
19816
7e21972b
DL
19817 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
19818 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
19819 __ptrace_peeksiginfo_flags, ptrace): Move to ...
19820 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
19821 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19822 bits/ptrace-shared.h.
19823 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
19824 <bits/ptrace-shared.h>.
19825 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
19826 __ptrace_peeksiginfo_flags, ptrace): Remove.
19827 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19828 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19829 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19830 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19831 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
19832
72f29e3a
AJ
198332017-12-29 Aurelien Jarno <aurelien@aurel32.net>
19834
19835 [BZ #17804]
19836 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
19837 end of the loop. Improve comments.
19838
54e4efc2
AJ
198392017-12-29 Zack Weinberg <zackw@panix.com>
19840
19841 [BZ #22615]
19842 * manual/errno.texi (Checking for Errors): Explicitly say that errno
19843 might be set on success.
19844
f8aa69be
AJ
198452017-12-29 Aurelien Jarno <aurelien@aurel32.net>
19846
19847 [BZ #22611]
19848 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
19849 is unchanged on success.
19850
97f13188
DL
198512017-12-27 Dmitry V. Levin <ldv@altlinux.org>
19852
2bd86632
DL
19853 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
19854 updated.
19855 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
19856 expand_dynamic_string_token): Likewise.
19857 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
19858 is_path argument.
19859
1c36e1e6
DL
19860 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
19861 contains ':'.
19862
97f13188
DL
19863 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
19864 is set and name contains ':', and all code depending on these checks.
19865
48a8f832
ZW
198662017-12-24 Zack Weinberg <zackw@panix.com>
19867
19868 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
19869 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
19870 respectively.
19871 * libio/libio.h: Rename the original version of this file to
19872 libio/bits/libio.h. Error out if not included by stdio.h or the
19873 stub libio.h.
19874 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
19875 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
19876 if not included by bits/libio.h or the stub _G_config.h.
19877 * sysdeps/unix/sysv/linux/_G_config.h: Move to
19878 sysdeps/unix/sysv/linux/bits. Error out if not included by
19879 bits/libio.h or the stub _G_config.h.
19880 * libio/stdio.h: Include bits/libio.h, not libio.h.
19881 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
19882 well as libio.h and _G_config.h.
19883
19884 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
19885 * libio/strfile.h, stdio-common/vfscanf.c
19886 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
19887 Include stdio.h, not _G_config.h nor libio.h.
19888 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
19889 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
19890
19891 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
19892
a47ad79a
DL
198932017-12-23 Dmitry V. Levin <ldv@altlinux.org>
19894
19895 [BZ #22347]
19896 * stdlib/getrandom.c (getrandom): Fix comment.
19897 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
19898
363e4519 198992017-12-23 Aurelien Jarno <aurelien@aurel32.net>
e65a5644 19900
f5c558f3
AJ
19901 [BZ #21161]
19902 * manual/arith.texi (strtoul): Fix a typo.
19903
e65a5644
AJ
19904 [BZ #22596]
19905 * manual/arith.texi (finite): Fix the description of the return
19906 value.
19907
ed8ae46b
EB
199082017-12-22 Eric Blake <ebb9@byu.net>
19909
19910 Avoid gcc warnings on cygwin
19911 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
19912 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
19913 Avoid unused variable.
19914
bad7a0c8
FW
199152017-12-22 Florian Weimer <fweimer@redhat.com>
19916
19917 * io/Makefile (routines): Add copy_file_range.
19918 (tests): Add tst-copy_file_range.
19919 (tests-static, tests-internal): Add tst-copy_file_range-compat.
19920 * io/Versions (GLIBC_2.27): Export copy_file_range.
19921 * io/copy_file_range-compat.c: New file.
19922 * io/copy_file_range.c: Likewise.
19923 * io/tst-copy_file_range-compat.c: Likewise.
19924 * io/tst-copy_file_range.c: Likewise.
19925 * manual/llio.texi (Copying File Data): New section.
19926 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
19927 * support/Makefile (libsupport-routines): Add support-xfstat,
19928 xftruncate, xlseek.
19929 * support/support-xfstat.c: New file.
19930 * support/xftruncate.c: Likewise.
19931 * support/xlseek.c: Likewise.
19932 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
19933 * sysdeps/unix/sysv/linux/**.abilist: Update.
19934 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
19935
6cb86fd2
SN
199362017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
19937
19938 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19939 disable-multi-arch variant to aarch64-linux-gnu.
19940
41d11b15
JM
199412017-12-20 Joseph Myers <joseph@codesourcery.com>
19942
19943 * manual/texinfo.tex: Update to version 2017-12-18.20 with
19944 trailing whitespace removed.
19945 * scripts/config.guess: Update to version 2017-12-17.
19946 * scripts/config.sub: Update to version 2017-11-23.
19947 * scripts/install-sh: Update to version 2017-09-23.17.
19948 * scripts/move-if-change: Update to version 2017-09-13 06:45.
19949
4735850f
AZ
199502017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19951
8d2d239c
AZ
19952 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
19953 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
19954 * sysdeps/tile/_mcount.S (__mcount): Likewise.
19955 * sysdeps/tile/crti.S (_init, _fini): Likewise.
19956 * sysdeps/tile/crtn.S: Likewise.
19957 * sysdeps/tile/dl-start.S (_start): Likewise.
19958 * sysdeps/tile/dl-trampoline.S: Likewise.
19959 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
19960 * sysdeps/tile/start.S (_start): Likewise.
19961 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
19962 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
19963 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
19964 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
19965 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
19966 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
19967 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
19968
24d1d8ec
AZ
19969 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
19970 comment.
19971 * sysdeps/tile/preconfigure: Remove tilegx folder.
19972 * sysdeps/tile/tilegx/Implies: Move definitions to ...
19973 * sysdeps/tile/Implies: ... here.
19974 * sysdeps/tile/tilegx/Makefile: Move rules to ...
19975 * sysdeps/tile/Makefile: ... here.
19976 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
19977 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
19978 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
19979 * sysdeps/tile/bits/wordsize.h: ... here.
19980 * sysdeps/tile/tilegx/*: Move to ...
19981 * sysdeps/tile/*: ... here.
19982 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
19983 * sysdeps/tile/tilegx32/Implies: ... here.
19984 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
19985 * sysdeps/tile/tilegx64/Implies: ... here.
19986 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
19987 to ...
19988 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
19989 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
19990 * sysdeps/unix/sysv/linux/tile/*: ... here.
19991 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
19992 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
19993 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
19994 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
19995
ed95f611
AZ
19996 * README: Remove tilepro-*-linux-gnu from supported architecture.
19997 * scripts/build-many-glibcs.py: Likewise.
19998 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
19999 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
20000 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
20001 elf_machine_matches_host, elf_machine_dynamic,
20002 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
20003 howto, elf_machine_rela): Likewise.
20004 * sysdeps/tile/dl-start.S (_start): Likewise.
20005 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
20006 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
20007 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
20008 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
20009 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
20010 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
20011 Likewise.
20012 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
20013 * sysdeps/tile/preconfigure: Likewise.
20014 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
20015 POINTER_CHK_GUARD): Likewise.
20016 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
20017 * sysdeps/tile/start.S (_start): Likewise.
20018 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
20019 Likewise.
20020 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
20021 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
20022 CMOVNEZ): Remove.
20023 * sysdeps/unix/sysv/linux/tile/bits/environments.h
20024 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
20025 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
20026 Likewise.
20027 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
20028 * sysdeps/tile/tilepro/Implies: Remove file.
20029 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
20030 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
20031 * sysdeps/tile/tilepro/memchr.c: Likewise.
20032 * sysdeps/tile/tilepro/memcpy.S: Likewise.
20033 * sysdeps/tile/tilepro/memset.c: Likewise.
20034 * sysdeps/tile/tilepro/memusage.h: Likewise.
20035 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
20036 * sysdeps/tile/tilepro/strchr.c: Likewise.
20037 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
20038 * sysdeps/tile/tilepro/strlen.c: Likewise.
20039 * sysdeps/tile/tilepro/strrchr.c: Likewise.
20040 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
20041 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
20042 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
20043 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
20044 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
20045 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
20046 Likewise.
20047 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
20048 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20049 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
20050 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
20051 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20052 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
20053 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
20054 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
20055 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
20056 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
20057 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
20058 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
20059 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
20060 tilepro mention in comment.
20061
4735850f
AZ
20062 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
20063 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
20064 * nptl/pthread_join_common.c: New file: common function used on
20065 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
20066 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
20067 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
20068 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
20069 (cleanup): Move definition to pthread_join_common.c.
20070 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
20071 Remove superflous checks.
20072 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
20073 Likewise.
20074
8bfb461e
SN
200752017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
20076
20077 * sysdeps/aarch64/libm-test-ulps: Update.
20078
4e001969
AZ
200792017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20080
20081 * sysdeps/aarch64/memset.S (MEMSET): Define.
20082
8a26ad2a
FW
200832017-12-20 Florian Weimer <fweimer@redhat.com>
20084
20085 [BZ #22635]
20086 nptl: Provide full implementation of pthread_self in libc.so.
20087 * nptl/Makefile (routines): Add pthread_self.
20088 (libpthread-routines): Replace pthread_self with
20089 compat-pthread_self.
20090 * nptl/forward.c (pthread_self): Remove.
20091 * nptl/nptl-init.c (pthread_functions): Do not initialize
20092 ptr_pthread_self.
20093 * nptl/pthread_self.c (pthread_self): Remove weak alias.
20094 * nptl/compat-pthread_self.c: New file.
20095 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
20096 Remove ptr_pthread_self.
20097
5069ff32
AR
200982017-12-19 Arnold D. Robbins <arnold@skeeve.com>
20099
20100 * posix/regcomp.c: Fix spelling in comments.
20101 * posix/regex.h: Likewise.
20102 * posix/regex_internal.c: Likewise.
20103 * posix/regexec.c: Likewise.
20104
c85e54ac
GG
201052017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
20106
20107 [BZ #22377]
20108 * math/Makefile [C++] (tests): Add test for iseqsig.
20109 * math/math.h [C++] (iseqsig): New implementation, which does
20110 not rely on __MATH_TG/__builtin_types_compatible_p.
20111 * math/test-math-iseqsig.cc: New file.
20112 * sysdeps/powerpc/powerpc64le/Makefile
20113 (CFLAGS-test-math-iseqsig.cc): New variable.
20114
10e93d96
DL
201152017-12-19 Dmitry V. Levin <ldv@altlinux.org>
20116
20117 * elf/dl-load.c (is_trusted_path): Remove.
20118 (fillin_rpath): Remove check_trusted argument and its use,
20119 all callers changed.
20120
ce16eb52
L
201212017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20122
20123 [BZ #22630]
20124 * Makeconfig (link-pie-before-libc): Replace -pie with
20125 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
20126 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
20127 (tst-dlopen-aout-no-pie): New.
20128 (LDFLAGS-tst-prelink): Removed.
20129 (tst-prelink-no-pie): New.
20130 (LDFLAGS-tst-main1): Removed.
20131 (tst-main1-no-pie): New.
20132 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
20133 (tst-gmon-no-pie): New.
20134
126adc89
L
201352017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20136
20137 * manual/install.texi: Document that --enable-static-pie
20138 implies PIE.
20139 * INSTALL: Regenerated.
20140
648615e1
BE
201412017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
20142
20143 [BZ #21309]
20144 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
20145 unsigned.
20146
f1e00502
JM
201472017-12-19 Joseph Myers <joseph@codesourcery.com>
20148
20149 Revert:
20150
20151 2017-12-19 Joseph Myers <joseph@codesourcery.com>
20152
20153 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20154
20155 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20156
20157 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
20158 <errno.h>. Include "eexp.tbl".
20159 (half): New constant.
20160 (one): Likewise.
20161 (__ieee754_exp): Rewrite.
20162 (__slowexp): Remove prototype.
20163 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
20164 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
20165 * sysdeps/i386/fpu/slowexp.c: Likewise.
20166 * sysdeps/ia64/fpu/slowexp.c: Likewise.
20167 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
20168 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
20169 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
20170 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20171 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
20172 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
20173 comment.
20174 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
20175 (CPPFLAGS-slowexp.c): Remove variable.
20176 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20177 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
20178 (CFLAGS-slowexp-fma.c): Remove variable.
20179 (CFLAGS-slowexp-fma4.c): Likewise.
20180 (CFLAGS-slowexp-avx.c): Likewise.
20181 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
20182 define as macro.
20183 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
20184 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
20185 * math/Makefile (type-double-routines): Remove slowexp.
20186 * manual/probes.texi (slowexp_p6): Remove.
20187 (slowexp_p32): Likewise.
20188
d711a00f
AZ
201892017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20190
e184ac3a
AZ
20191 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
20192 arithmetic.
20193
d711a00f
AZ
20194 * lib/glob.c (glob): Do not pass NULL to mempcpy.
20195
6f58c10d
JM
201962017-12-19 Joseph Myers <joseph@codesourcery.com>
20197
20198 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20199
6fd0a3c6
PM
202002017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20201
20202 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
20203 <errno.h>. Include "eexp.tbl".
20204 (half): New constant.
20205 (one): Likewise.
20206 (__ieee754_exp): Rewrite.
20207 (__slowexp): Remove prototype.
20208 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
20209 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
20210 * sysdeps/i386/fpu/slowexp.c: Likewise.
20211 * sysdeps/ia64/fpu/slowexp.c: Likewise.
20212 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
20213 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
20214 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
20215 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20216 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
20217 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
20218 comment.
20219 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
20220 (CPPFLAGS-slowexp.c): Remove variable.
20221 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20222 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
20223 (CFLAGS-slowexp-fma.c): Remove variable.
20224 (CFLAGS-slowexp-fma4.c): Likewise.
20225 (CFLAGS-slowexp-avx.c): Likewise.
20226 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
20227 define as macro.
20228 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
20229 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
20230 * math/Makefile (type-double-routines): Remove slowexp.
20231 * manual/probes.texi (slowexp_p6): Remove.
20232 (slowexp_p32): Likewise.
20233
3bb1ef58 202342017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6b5c8607 20235 James Clarke <jrtc27@jrtc27.com>
3bb1ef58
AZ
20236
20237 [BZ #22603]
20238 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
20239 addition.
20240
554e3d51
AZ
202412017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20242
20243 [BZ #22605]
20244 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
20245 code.
20246
cba595c3
L
202472017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20248
20249 [BZ #22563]
20250 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20251 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
20252 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20253 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
20254 to feature_1.
20255
f81ddabf
L
202562017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20257
20258 [BZ #22563]
20259 * bits/types/__cancel_jmp_buf_tag.h: New file.
20260 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
20261 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
20262 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
20263 * nptl/Makefile (headers): Add
20264 bits/types/__cancel_jmp_buf_tag.h.
20265 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
20266 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
20267 * sysdeps/nptl/pthread.h: Include
20268 <bits/types/__cancel_jmp_buf_tag.h>.
20269 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
20270 __cancel_jmp_buf.
20271 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
20272
1a49fc59
L
202732017-12-18 H.J. Lu <hongjiu.lu@intel.com>
20274
20275 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20276 --enable-static-pie variants to x86_64, x32 and i686.
20277
8e52f573
JM
202782017-12-19 Joseph Myers <joseph@codesourcery.com>
20279
66425185
JM
20280 [BZ #22631]
20281 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
20282 argument for attrubutes. All callers changed.
20283 (__inline_mathop1): Likewise. All callers changed.
20284 (__inline_mathop): Likewise. All callers changed.
20285 [__USE_MISC] (scalbn): Use __inline_forward instead of
20286 __inline_forward_c.
20287 [__USE_ISOC99] (scalbln): Likewise.
20288 [__USE_ISOC99] (nearbyint): Likewise.
20289 [__USE_ISOC99] (lrint): Likewise.
20290 [__USE_MISC] (scalbnf): Likewise.
20291 [__USE_ISOC99] (scalblnf): Likewise.
20292 [__USE_ISOC99] (nearbyintf): Likewise.
20293 [__USE_ISOC99] (lrintf): Likewise.
20294 [__USE_MISC] (scalbnl): Likewise.
20295 [__USE_ISOC99] (scalblnl): Likewise.
20296 [__USE_ISOC99] (nearbyintl): Likewise.
20297 [__USE_ISOC99] (lrintl): Likewise.
20298 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
20299 __inline_mathop and __m81_defun changed.
20300
8e52f573
JM
20301 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
20302 CPU or FPU for ARM hard-float configurations.
20303
1421f39b
JM
203042017-12-18 Joseph Myers <joseph@codesourcery.com>
20305
40c4162d
JM
20306 * nptl/tst-attr3.c: Include <libc-diag.h>.
20307 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
20308
5983df32
JM
20309 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
20310
1421f39b
JM
20311 * string/tester.c (test_strncat): Also disable -Warray-bounds
20312 warnings for two tests.
20313
00c714df
L
203142017-12-18 H.J. Lu <hongjiu.lu@intel.com>
20315
20316 [BZ #22614]
20317 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
20318 $(cc-pie-default) == yes.
20319 * config.make.in (cc-pie-default): New.
20320 * configure.ac (libc_cv_pie_default): Renamed to ...
20321 (libc_cv_cc_pie_default): This.
20322 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
20323 * configure: Regenerated.
20324
8e1472d2
FW
203252017-12-18 Florian Weimer <fweimer@redhat.com>
20326
20327 [BZ #20204]
20328 ld.so: Harden dl-libc/libdl hooks.
20329 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
20330 (rtld_active): New function.
20331 * dlfcn/dladdr.c (__dladdr): Call it.
20332 * dlfcn/dladdr1.c (__dladdr1): Likewise.
20333 * dlfcn/dlclose.c (__dlcose): Likewise.
20334 * dlfcn/dlerror.c (__dlerror): Likewise.
20335 * dlfcn/dlinfo.c (__dlinfo): Likewise.
20336 * dlfcn/dlmopen.c (__dlmopen): Likewise.
20337 * dlfcn/dlopen.c (__dlopen): Likewise.
20338 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
20339 * dlfcn/dlsym.c (__dlsym): Likewise.
20340 * dlfcn/dlvsym.c (__dlvsym): Likewise.
20341 * libio/vtables.c (_IO_vtable_check): Likewise.
20342 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
20343 (__libc_dlclose): Likewise.
20344 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
20345 assignment.
20346
49b036bc
JM
203472017-12-18 Joseph Myers <joseph@codesourcery.com>
20348
20349 [BZ #22446]
20350 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
20351 buffers for readlink input and output.
20352
368b6c8d
ST
203532017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
20354
c85c564d
ST
20355 [BZ #22624]
20356 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
20357 inhibit_stack_protector.
20358
368b6c8d
ST
20359 [BZ #22624]
20360 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
20361 inhibit_stack_protector.
20362
bb195224
DL
203632017-12-18 Dmitry V. Levin <ldv@altlinux.org>
20364
20365 [BZ #22627]
20366 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
20367 code and invocation.
20368
14d886ed
SN
203692017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
20370
20371 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
20372
7d38eb38
AJ
203732017-12-16 Aurelien Jarno <aurelien@aurel32.net>
20374
20375 [BZ #22505]
20376 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
20377
2e77deef
RS
203782017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20379
20380 * sysdeps/s390/fpu/libm-test-ulps: Update.
20381
0b9bef6d
RS
203822017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20383
20384 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20385
984ae996
RS
203862017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20387
20388 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
20389 constants to s_sincosf.h file.
20390 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20391 * sysdeps/ieee754/flt-32/s_sincosf.c: New
20392 implementation.
20393 * sysdeps/ieee754/flt-32/s_sincosf.h:
20394 New file.
20395
363e4519 203962017-12-12 Carlos O'Donell <carlos@redhat.com>
93930ea9
CD
20397
20398 [BZ #14681]
20399 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
20400 before mtrace.
20401
9d7a3741
L
204022017-12-15 H.J. Lu <hongjiu.lu@intel.com>
20403
20404 [BZ #19574]
20405 * INSTALL: Regenerated.
20406 * Makeconfig (real-static-start-installed-name): New.
20407 (pic-default): Updated for --enable-static-pie.
20408 (pie-default): New for --enable-static-pie.
20409 (default-pie-ldflag): Likewise.
20410 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
20411 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
20412 Replace $(static-start-installed-name) with
20413 $(real-static-start-installed-name).
20414 (+prectorT): Updated for --enable-static-pie.
20415 (+postctorT): Likewise.
20416 (CFLAGS-.o): Add $(pie-default).
20417 (CFLAGS-.op): Likewise.
20418 * NEWS: Mention --enable-static-pie.
20419 * config.h.in (ENABLE_STATIC_PIE): New.
20420 * configure.ac (--enable-static-pie): New configure option.
20421 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
20422 (have-static-pie): Likewise.
20423 Enable static PIE if linker supports --no-dynamic-linker.
20424 (ENABLE_STATIC_PIE): New AC_DEFINE.
20425 (enable-static-pie): New LIBC_CONFIG_VAR.
20426 * configure: Regenerated.
20427 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
20428 gr$(start-installed-name) for --enable-static-pie.
20429 (extra-objs): Likewise.
20430 (install-lib): Likewise.
20431 (extra-objs): Add static-reloc.o and static-reloc.os
20432 ($(objpfx)$(start-installed-name)): Also depend on
20433 $(objpfx)static-reloc.o.
20434 ($(objpfx)r$(start-installed-name)): New.
20435 ($(objpfx)g$(start-installed-name)): Also depend on
20436 $(objpfx)static-reloc.os.
20437 ($(objpfx)gr$(start-installed-name)): New.
20438 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
20439 in libc.a.
20440 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
20441 initimage.
20442 * csu/static-reloc.c: New file.
20443 * elf/Makefile (routines): Add dl-reloc-static-pie.
20444 (elide-routines.os): Likewise.
20445 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
20446 (tst-tls1-static-non-pie-no-pie): New.
20447 * elf/dl-reloc-static-pie.c: New file.
20448 * elf/dl-support.c (_dl_get_dl_main_map): New function.
20449 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
20450 STATIC_PIE_BOOTSTRAP.
20451 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
20452 * gmon/Makefile (tests): Add tst-gmon-static-pie.
20453 (tests-static): Likewise.
20454 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
20455 (tst-gmon-static-no-pie): New.
20456 (CFLAGS-tst-gmon-static-pie.c): Likewise.
20457 (CRT-tst-gmon-static-pie): Likewise.
20458 (tst-gmon-static-pie-ENV): Likewise.
20459 (tests-special): Likewise.
20460 ($(objpfx)tst-gmon-static-pie.out): Likewise.
20461 (clean-tst-gmon-static-pie-data): Likewise.
20462 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
20463 * gmon/tst-gmon-static-pie.c: New file.
20464 * manual/install.texi: Document --enable-static-pie.
20465 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
20466 (_dl_get_dl_main_map): Likewise.
20467 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
20468 * sysdeps/x86_64/configure.ac: Likewise.
20469 * sysdeps/i386/configure: Regenerated.
20470 * sysdeps/x86_64/configure: Likewise.
20471 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
20472 (ASFLAGS-.op): Likewise.
20473
95511aab
JM
204742017-12-15 Joseph Myers <joseph@codesourcery.com>
20475
20476 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
20477 * posix/tst-mmap-offset.c (fname): Use /tmp.
20478 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
20479
a7e3edf4
SE
204802017-12-15 Steve Ellcey <sellcey@cavium.com>
20481
20482 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
20483
d232f2e1
TS
204842017-12-15 Thomas Schwinge <thomas@codesourcery.com>
20485
20486 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
20487 errno.
20488
174edbde
JM
204892017-12-15 Joseph Myers <joseph@codesourcery.com>
20490
5170fa49
JM
20491 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
20492 --with-float=hard for arm-linux-gnueabihf configurations.
20493
f2da2fd8
JM
20494 [BZ #14121]
20495 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
20496 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
20497 ($(mo-installed)): Use $(objpfx)%.mo.
20498 (realclean): Remove rule.
20499
0c4fe28d
JM
20500 * po/Makefile (linguas): Remove rule and dependencies.
20501 (linguas.mo): Likewise.
20502 (.PHONY): Do not depend on linguas and linguas.mo.
20503 (podir): Remove variable.
20504 (pofiles): Likewise.
20505 [$(pofiles)] (%.po): Remove rule.
20506
174edbde
JM
20507 * sysdeps/sparc/sparc32/Makefile
20508 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
20509 start-of-line whitespace in argument of echo.
20510 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
20511 with whitespace. Generate __wrap_.udiv alias.
20512 * sysdeps/sparc/sparc32/rem.S: Regenerated.
20513 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
20514 * sysdeps/sparc/sparc32/udiv.S: Likewise.
20515 * sysdeps/sparc/sparc32/urem.S: Likewise.
20516
1e36806f
RS
205172017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20518
20519 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
20520 for aligned inputs.
20521
aa6932aa
SP
205222017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
20523
5f1603c3
SP
20524 * benchtests/bench-strcmp.c: Print output in JSON format.
20525
aa6932aa
SP
20526 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
20527
3ff3dfa5
FW
205282017-12-14 Florian Weimer <fweimer@redhat.com>
20529
20530 [BZ #22607]
20531 CVE-2017-1000409
20532 * elf/dl-load.c (_dl_init_paths): Compute number of components in
20533 the expanded path string.
20534
8a0b17e4
FW
205352017-12-14 Florian Weimer <fweimer@redhat.com>
20536
20537 [BZ #22606]
20538 CVE-2017-1000408
20539 * elf/dl-load.c (system_dirs): Update comment.
20540 (nsystem_dirs_len): Use array_length.
20541 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
20542
f58bd7f0
FW
205432017-12-14 Florian Weimer <fweimer@redhat.com>
20544
20545 Simplify compiling most of support/ outside of glibc.
20546 * support/check_addrinfo.c: Include <string.h>.
20547 * support/check_dns_packet.c: Likewise.
20548 * support/check_hostent.c: Likewise.
20549 * support/support_can_chroot.c: Include <support/xunistd.h>.
20550 * support/support_format_addrinfo.c: Include <stdlib.h>
20551 * support/support_format_dns_packet.c: Include <stdbool.h>.
20552 * support/support_format_hostent.c: Include <stdlib.h>.
20553 * support/support_format_netent.c: Likewise.
20554 * support/support_write_string.c: Include <support/xunistd.h>.
20555 * support/xdlfcn.c: Include <stddef.h>.
20556
4ca945e9
L
205572017-12-14 H.J. Lu <hongjiu.lu@intel.com>
20558
20559 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
20560
1b6e07f8
PM
205612017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20562 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20563
e6a1c5dc
PM
20564 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20565 (sysdeps_routines): Add memset-niagara7.
20566 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
20567 Likewise.
20568 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
20569 file.
20570 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
20571 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
20572 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
20573 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
20574 Add niagara7 option.
20575 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
20576 memset.
20577
1b6e07f8
PM
20578 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20579 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
20580 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
20581 Likewise.
20582 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
20583 New file.
20584 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
20585 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
20586 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
20587 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
20588 and __memmove_niagara7.
20589 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
20590 Add niagara7 option.
20591 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
20592 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
20593 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
20594 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
20595 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
20596
bfb7bf22
JM
205972017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
20598
767a26d6
JM
20599 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
20600 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
20601 * sysdeps/sparc/sparc64/memmove.S: Likewise.
20602 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
20603
bfb7bf22
JM
20604 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
20605 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
20606 _dl_sparc_cap_flags array.
20607 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
20608
2bce01eb
SP
206092017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
20610
20611 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
20612 time whenever possible.
20613
363e4519 206142017-12-12 Carlos O'Donell <carlos@redhat.com>
243b6333
CD
20615
20616 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
20617 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
20618
6f7c0092
JM
206192017-12-12 Joseph Myers <joseph@codesourcery.com>
20620
20621 * soft-fp/fmadf4.c: Move to ....
20622 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
20623 * soft-fp/fmasf4.c: Move to ....
20624 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
20625 * soft-fp/fmatf4.c: Move to ....
20626 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
20627 * sysdeps/ieee754/soft-fp/Makefile: New file.
20628 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
20629 * sysdeps/arm/preconfigure: Regenerated.
20630 * sysdeps/arm/nofpu/Implies: New file.
20631 * sysdeps/arm/s_fma.c: Remove file.
20632 * sysdeps/arm/s_fmaf.c: Likewise.
20633 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
20634 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
20635 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
20636 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
20637 * sysdeps/microblaze/s_fma.c: Remove file.
20638 * sysdeps/microblaze/s_fmaf.c: Likewise.
20639 * sysdeps/mips/mips32/nofpu/Implies: New file.
20640 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
20641 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
20642 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
20643 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
20644 * sysdeps/mips/ieee754/s_fma.c: Remove file.
20645 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
20646 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
20647 implementation.
20648 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
20649 * sysdeps/nios2/s_fma.c: Remove file.
20650 * sysdeps/nios2/s_fmaf.c: Likewise.
20651 * sysdeps/sh/nofpu/Implies: New file.
20652 * sysdeps/sh/s_fma.c: Remove file.
20653 * sysdeps/sh/s_fmaf.c: Likewise.
20654 * sysdeps/tile/Implies: Add ieee754/soft-fp.
20655 * sysdeps/tile/s_fma.c: Remove file.
20656 * sysdeps/tile/s_fmaf.c: Likewise.
20657
ac817e08
L
206582017-12-12 H.J. Lu <hongjiu.lu@intel.com>
20659
20660 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20661 Add s_cosf-sse2 and s_cosf-fma.
20662 (CFLAGS-s_cosf-fma.c): New.
20663 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
20664 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
20665 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
20666
eb428576
SE
206672017-12-12 Steve Ellcey <sellcey@cavium.com>
20668
20669 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
20670
c80acdc3
AZ
206712017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20672
cc683f7e
AZ
20673 * libio/Makefile (tests): Add tst-bz22415.
20674 (tst-bz22415-ENV): New rule.
20675 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
20676 (tests-special): Add tst-bz22415-mem.out.
20677 ($(objpfx)tst-bz22415-mem.out): New rule.
20678 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
20679 in case of a successful seek operation.
20680 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20681 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
20682 buffer is required.
20683 * libio/tst-bz22415.c: New test.
20684
c80acdc3
AZ
20685 * sysdeps/ia64/fpu/libm-test-ulps: Update.
20686
363e4519 206872017-12-12 James Clarke <jrtc27@jrtc27.com>
89bd8016
JC
20688
20689 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
20690 __IPC_64 to 0 to avoid IPC_64 being set.
20691
4e0dca54
SN
206922017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
20693
20694 [BZ #22593]
20695 * math/bits/mathcalls.h (nextafter): Remove const.
20696 (nexttoward): Likewise.
20697
8df5d347
JM
206982017-12-12 Joseph Myers <joseph@codesourcery.com>
20699
20700 * configure.ac (--with-fp): Remove configure option.
20701 (with_fp_cond): New variable.
20702 (libc_cv_with_fp): New configure test. Use this variable instead
20703 of with_fp.
20704 * configure: Regenerated.
20705 * config.make.in (with-fp): Use @libc_cv_with_fp@.
20706 * manual/install.texi (Configuring and compiling): Remove
20707 --without-fp.
20708 * INSTALL: Regenerated.
20709 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
20710 * sysdeps/mips/preconfigure (with_fp_cond): Define.
20711 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
20712 * sysdeps/sh/preconfigure (with_fp_cond): Define.
20713 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
20714 use --without-fp to configure glibc.
20715
0cee1257
RJ
207162017-12-12 Rical Jasan <ricaljasan@pacific.net>
20717
20718 * manual/locale.texi (nl_langinfo): Fix a typo.
20719
363e4519 207202017-12-12 Aurelien Jarno <aurelien@aurel32.net>
f54ad2f9
AJ
20721
20722 [BZ #22588]
20723 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
20724
36975e8e
L
207252017-12-11 H.J. Lu <hongjiu.lu@intel.com>
20726
20727 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
20728 (CFLAGS-argp-parse.c): Likewise.
20729 (CFLAGS-argp-fmtstream.c): Likewise.
20730 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
20731 (CPPFLAGS-sha512-crypt.c): Likewise.
20732 (CPPFLAGS-md5-crypt.c): Likewise.
20733 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
20734 (CFLAGS-stack_chk_fail_local.c): Likewise.
20735 (CFLAGS-backtrace.c): Likewise.
20736 (CFLAGS-sprintf_chk.c): Likewise.
20737 (CFLAGS-snprintf_chk.c): Likewise.
20738 (CFLAGS-vsprintf_chk.c): Likewise.
20739 (CFLAGS-vsnprintf_chk.c): Likewise.
20740 (CFLAGS-asprintf_chk.c): Likewise.
20741 (CFLAGS-vasprintf_chk.c): Likewise.
20742 (CFLAGS-obprintf_chk.c): Likewise.
20743 (CFLAGS-dprintf_chk.c): Likewise.
20744 (CFLAGS-vdprintf_chk.c): Likewise.
20745 (CFLAGS-printf_chk.c): Likewise.
20746 (CFLAGS-fprintf_chk.c): Likewise.
20747 (CFLAGS-vprintf_chk.c): Likewise.
20748 (CFLAGS-vfprintf_chk.c): Likewise.
20749 (CFLAGS-gets_chk.c): Likewise.
20750 (CFLAGS-fgets_chk.c): Likewise.
20751 (CFLAGS-fgets_u_chk.c): Likewise.
20752 (CFLAGS-fread_chk.c): Likewise.
20753 (CFLAGS-fread_u_chk.c): Likewise.
20754 (CFLAGS-swprintf_chk.c): Likewise.
20755 (CFLAGS-vswprintf_chk.c): Likewise.
20756 (CFLAGS-wprintf_chk.c): Likewise.
20757 (CFLAGS-fwprintf_chk.c): Likewise.
20758 (CFLAGS-vwprintf_chk.c): Likewise.
20759 (CFLAGS-vfwprintf_chk.c): Likewise.
20760 (CFLAGS-fgetws_chk.c): Likewise.
20761 (CFLAGS-fgetws_u_chk.c): Likewise.
20762 (CFLAGS-read_chk.c): Likewise.
20763 (CFLAGS-pread_chk.c): Likewise.
20764 (CFLAGS-pread64_chk.c): Likewise.
20765 (CFLAGS-recv_chk.c): Likewise.
20766 (CFLAGS-recvfrom_chk.c): Likewise.
20767 (CFLAGS-tst-longjmp_chk.c): Likewise.
20768 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
20769 (CFLAGS-tst-longjmp_chk2.c): Likewise.
20770 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
20771 (CFLAGS-tst-longjmp_chk3.c): Likewise.
20772 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
20773 (CFLAGS-tst-chk1.c): Likewise.
20774 (CFLAGS-tst-chk2.c): Likewise.
20775 (CFLAGS-tst-chk3.c): Likewise.
20776 (CFLAGS-tst-chk4.cc): Likewise.
20777 (CFLAGS-tst-chk5.cc): Likewise.
20778 (CFLAGS-tst-chk6.cc): Likewise.
20779 (CFLAGS-tst-lfschk1.c): Likewise.
20780 (CFLAGS-tst-lfschk2.c): Likewise.
20781 (CFLAGS-tst-lfschk3.c): Likewise.
20782 (CFLAGS-tst-lfschk4.cc): Likewise.
20783 (CFLAGS-tst-lfschk5.cc): Likewise.
20784 (CFLAGS-tst-lfschk6.cc): Likewise.
20785 (CFLAGS-tst-ssp-1.c): Likewise.
20786 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
20787 (CFLAGS-scandir64.c): Likewise.
20788 (CFLAGS-scandir-tail.c): Likewise.
20789 (CFLAGS-scandir64-tail.c): Likewise.
20790 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
20791 (CFLAGS-dl-tunables.c): Likewise.
20792 (CFLAGS-dl-runtime.c): Likewise.
20793 (CFLAGS-dl-lookup.c): Likewise.
20794 (CFLAGS-dl-iterate-phdr.c): Likewise.
20795 (CFLAGS-vismain.c): Likewise.
20796 (CFLAGS-tst-linkall-static.c): Likewise.
20797 (CFLAGS-tst-linkall-static.c): Likewise.
20798 (CPPFLAGS-dl-load.c): Likewise.
20799 (CFLAGS-ldconfig.c): Likewise.
20800 (CFLAGS-dl-cache.c): Likewise.
20801 (CFLAGS-cache.c): Likewise.
20802 (CFLAGS-rtld.c): Likewise.
20803 (CFLAGS-multiload.c): Likewise.
20804 (CFLAGS-filtmod1.c): Likewise.
20805 (CFLAGS-tst-align.c): Likewise.
20806 (CFLAGS-tst-align2.c): Likewise.
20807 (CFLAGS-tst-alignmod.c): Likewise.
20808 (CFLAGS-tst-alignmod2.c): Likewise.
20809 (CPPFLAGS-tst-execstack.c): Likewise.
20810 (CFLAGS-tst-ptrguard1-static.c): Likewise.
20811 (CFLAGS-tst-latepthreadmod.c): Likewise.
20812 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
20813 (CFLAGS-getgrnam_r.c): Likewise.
20814 (CFLAGS-getgrent_r.c): Likewise.
20815 (CFLAGS-getgrent.c): Likewise.
20816 (CFLAGS-fgetgrent.c): Likewise.
20817 (CFLAGS-fgetgrent_r.c): Likewise.
20818 (CFLAGS-putgrent.c): Likewise.
20819 (CFLAGS-initgroups.c): Likewise.
20820 (CFLAGS-getgrgid.c): Likewise.
20821 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
20822 (CFLAGS-getsgent.c): Likewise.
20823 (CFLAGS-fgetsgent.c): Likewise.
20824 (CFLAGS-fgetsgent_r.c): Likewise.
20825 (CFLAGS-putsgent.c): Likewise.
20826 (CFLAGS-getsgnam.c): Likewise.
20827 (CFLAGS-getsgnam_r.c): Likewise.
20828 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
20829 (CFLAGS-iconv_charmap.c): Likewise.
20830 (CFLAGS-dummy-repertoire.c): Likewise.
20831 (CFLAGS-charmap.c): Likewise.
20832 (CFLAGS-linereader.c): Likewise.
20833 (CFLAGS-simple-hash.c): Likewise.
20834 (CFLAGS-gconv_conf.c): Likewise.
20835 (CFLAGS-iconvconfig.c): Likewise.
20836 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
20837 (CFLAGS-gethstbyad.c): Likewise.
20838 (CFLAGS-gethstbynm_r.c): Likewise.
20839 (CFLAGS-gethstbynm.c): Likewise.
20840 (CFLAGS-gethstbynm2_r.c): Likewise.
20841 (CFLAGS-gethstbynm2.c): Likewise.
20842 (CFLAGS-gethstent_r.c): Likewise.
20843 (CFLAGS-gethstent.c): Likewise.
20844 (CFLAGS-rcmd.c): Likewise.
20845 (CFLAGS-getnetbynm_r.c): Likewise.
20846 (CFLAGS-getnetbynm.c): Likewise.
20847 (CFLAGS-getnetbyad_r.c): Likewise.
20848 (CFLAGS-getnetbyad.c): Likewise.
20849 (CFLAGS-getnetent_r.c): Likewise.
20850 (CFLAGS-getnetent.c): Likewise.
20851 (CFLAGS-getaliasent_r.c): Likewise.
20852 (CFLAGS-getaliasent.c): Likewise.
20853 (CFLAGS-getrpcent_r.c): Likewise.
20854 (CFLAGS-getrpcent.c): Likewise.
20855 (CFLAGS-getservent_r.c): Likewise.
20856 (CFLAGS-getservent.c): Likewise.
20857 (CFLAGS-getprtent_r.c): Likewise.
20858 (CFLAGS-getprtent.c): Likewise.
20859 (CFLAGS-either_ntoh.c): Likewise.
20860 (CFLAGS-either_hton.c): Likewise.
20861 (CFLAGS-getnetgrent.c): Likewise.
20862 (CFLAGS-getnetgrent_r.c): Likewise.
20863 (CFLAGS-tst-checks-posix.c): Likewise.
20864 (CFLAGS-tst-sockaddr.c): Likewise.
20865 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
20866 (CFLAGS-tst-translit.c): Likewise.
20867 (CFLAGS-tst-gettext2.c): Likewise.
20868 (CFLAGS-tst-codeset.c): Likewise.
20869 (CFLAGS-tst-gettext3.c): Likewise.
20870 (CFLAGS-tst-gettext4.c): Likewise.
20871 (CFLAGS-tst-gettext5.c): Likewise.
20872 (CFLAGS-tst-gettext6.c): Likewise.
20873 * io/Makefile (CFLAGS-open.c): Likewise.
20874 (CFLAGS-open64.c): Likewise.
20875 (CFLAGS-creat.c): Likewise.
20876 (CFLAGS-creat64.c): Likewise.
20877 (CFLAGS-fcntl.c): Likewise.
20878 (CFLAGS-poll.c): Likewise.
20879 (CFLAGS-ppoll.c): Likewise.
20880 (CFLAGS-lockf.c): Likewise.
20881 (CFLAGS-statfs.c): Likewise.
20882 (CFLAGS-fstatfs.c): Likewise.
20883 (CFLAGS-statvfs.c): Likewise.
20884 (CFLAGS-fstatvfs.c): Likewise.
20885 (CFLAGS-fts.c): Likewise.
20886 (CFLAGS-fts64.c): Likewise.
20887 (CFLAGS-ftw.c): Likewise.
20888 (CFLAGS-ftw64.c): Likewise.
20889 (CFLAGS-lockf.c): Likewise.
20890 (CFLAGS-posix_fallocate.c): Likewise.
20891 (CFLAGS-posix_fallocate64.c): Likewise.
20892 (CFLAGS-fallocate.c): Likewise.
20893 (CFLAGS-fallocate64.c): Likewise.
20894 (CFLAGS-read.c): Likewise.
20895 (CFLAGS-write.c): Likewise.
20896 (CFLAGS-test-stat.c): Likewise.
20897 (CFLAGS-test-lfs.c): Likewise.
20898 * libio/Makefile (CFLAGS-fileops.c): Likewise.
20899 (CFLAGS-fputc.c): Likewise.
20900 (CFLAGS-fputwc.c): Likewise.
20901 (CFLAGS-freopen64.c): Likewise.
20902 (CFLAGS-freopen.c): Likewise.
20903 (CFLAGS-fseek.c): Likewise.
20904 (CFLAGS-fseeko64.c): Likewise.
20905 (CFLAGS-fseeko.c): Likewise.
20906 (CFLAGS-ftello64.c): Likewise.
20907 (CFLAGS-ftello.c): Likewise.
20908 (CFLAGS-fwide.c): Likewise.
20909 (CFLAGS-genops.c): Likewise.
20910 (CFLAGS-getc.c): Likewise.
20911 (CFLAGS-getchar.c): Likewise.
20912 (CFLAGS-getwc.c): Likewise.
20913 (CFLAGS-getwchar.c): Likewise.
20914 (CFLAGS-iofclose.c): Likewise.
20915 (CFLAGS-iofflush.c): Likewise.
20916 (CFLAGS-iofgetpos64.c): Likewise.
20917 (CFLAGS-iofgetpos.c): Likewise.
20918 (CFLAGS-iofgets.c): Likewise.
20919 (CFLAGS-iofgetws.c): Likewise.
20920 (CFLAGS-iofputs.c): Likewise.
20921 (CFLAGS-iofputws.c): Likewise.
20922 (CFLAGS-iofread.c): Likewise.
20923 (CFLAGS-iofsetpos64.c): Likewise.
20924 (CFLAGS-iofsetpos.c): Likewise.
20925 (CFLAGS-ioftell.c): Likewise.
20926 (CFLAGS-iofwrite.c): Likewise.
20927 (CFLAGS-iogetdelim.c): Likewise.
20928 (CFLAGS-iogetline.c): Likewise.
20929 (CFLAGS-iogets.c): Likewise.
20930 (CFLAGS-iogetwline.c): Likewise.
20931 (CFLAGS-ioputs.c): Likewise.
20932 (CFLAGS-ioseekoff.c): Likewise.
20933 (CFLAGS-ioseekpos.c): Likewise.
20934 (CFLAGS-iosetbuffer.c): Likewise.
20935 (CFLAGS-iosetvbuf.c): Likewise.
20936 (CFLAGS-ioungetc.c): Likewise.
20937 (CFLAGS-ioungetwc.c): Likewise.
20938 (CFLAGS-oldfileops.c): Likewise.
20939 (CFLAGS-oldiofclose.c): Likewise.
20940 (CFLAGS-oldiofgetpos64.c): Likewise.
20941 (CFLAGS-oldiofgetpos.c): Likewise.
20942 (CFLAGS-oldiofsetpos64.c): Likewise.
20943 (CFLAGS-oldiofsetpos.c): Likewise.
20944 (CFLAGS-peekc.c): Likewise.
20945 (CFLAGS-putc.c): Likewise.
20946 (CFLAGS-putchar.c): Likewise.
20947 (CFLAGS-putwc.c): Likewise.
20948 (CFLAGS-putwchar.c): Likewise.
20949 (CFLAGS-rewind.c): Likewise.
20950 (CFLAGS-wfileops.c): Likewise.
20951 (CFLAGS-wgenops.c): Likewise.
20952 (CFLAGS-oldiofopen.c): Likewise.
20953 (CFLAGS-iofopen.c): Likewise.
20954 (CFLAGS-iofopen64.c): Likewise.
20955 (CFLAGS-oldtmpfile.c): Likewise.
20956 (CFLAGS-tst_putwc.c): Likewise.
20957 * locale/Makefile (CFLAGS-md5.c): Likewise.
20958 (CFLAGS-charmap.c): Likewise.
20959 (CFLAGS-locfile.c): Likewise.
20960 (CFLAGS-charmap-dir.c): Likewise.
20961 * login/Makefile (CFLAGS-grantpt.c): Likewise.
20962 (CFLAGS-getpt.c): Likewise.
20963 (CFLAGS-pt_chown.c): Likewise.
20964 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
20965 (CFLAGS-obstack.c): Likewise.
20966 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
20967 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
20968 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
20969 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
20970 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
20971 (CFLAGS-test-tgmath.c): Likewise.
20972 (CFLAGS-test-tgmath2.c): Likewise.
20973 (CFLAGS-test-tgmath-ret.c): Likewise.
20974 (CFLAGS-test-powl.c): Likewise.
20975 (CFLAGS-test-snan.c): Likewise.
20976 (CFLAGS-test-signgam-finite.c): Likewise.
20977 (CFLAGS-test-signgam-finite-c99.c): Likewise.
20978 (CFLAGS-test-signgam-finite-c11.c): Likewise.
20979 (CFLAGS-test-signgam-uchar.c): Likewise.
20980 (CFLAGS-test-signgam-uchar-init.c): Likewise.
20981 (CFLAGS-test-signgam-uchar-static.c): Likewise.
20982 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
20983 (CFLAGS-test-signgam-uint.c): Likewise.
20984 (CFLAGS-test-signgam-uint-init.c): Likewise.
20985 (CFLAGS-test-signgam-uint-static.c): Likewise.
20986 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
20987 (CFLAGS-test-signgam-ullong.c): Likewise.
20988 (CFLAGS-test-signgam-ullong-init.c): Likewise.
20989 (CFLAGS-test-signgam-ullong-static.c): Likewise.
20990 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
20991 (CFLAGS-test-math-cxx11.cc): Likewise.
20992 (CFLAGS-test-math-isinff.cc): Likewise.
20993 (CFLAGS-test-math-iszero.cc): Likewise.
20994 (CFLAGS-test-math-issignaling.cc): Likewise.
20995 (CFLAGS-test-math-iscanonical.cc): Likewise.
20996 (CFLAGS-test-iszero-excess-precision.c): Likewise.
20997 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
20998 (CFLAGS-test-flt-eval-method.c): Likewise.
20999 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
21000 (CFLAGS-test-finite-macros.c): Likewise.
21001 * misc/Makefile (CFLAGS-select.c): Likewise.
21002 (CFLAGS-tsearch.c): Likewise.
21003 (CFLAGS-lsearch.c): Likewise.
21004 (CFLAGS-pselect.c): Likewise.
21005 (CFLAGS-readv.c): Likewise.
21006 (CFLAGS-writev.c): Likewise.
21007 (CFLAGS-preadv.c): Likewise.
21008 (CFLAGS-preadv64.c): Likewise.
21009 (CFLAGS-pwritev.c): Likewise.
21010 (CFLAGS-pwritev64.c): Likewise.
21011 (CFLAGS-preadv2.c): Likewise.
21012 (CFLAGS-preadv64v2.c): Likewise.
21013 (CFLAGS-pwritev2.c): Likewise.
21014 (CFLAGS-pwritev64v2.c): Likewise.
21015 (CFLAGS-usleep.c): Likewise.
21016 (CFLAGS-syslog.c): Likewise.
21017 (CFLAGS-error.c): Likewise.
21018 (CFLAGS-getpass.c): Likewise.
21019 (CFLAGS-mkstemp.c): Likewise.
21020 (CFLAGS-mkstemp64.c): Likewise.
21021 (CFLAGS-getsysstats.c): Likewise.
21022 (CFLAGS-getusershell.c): Likewise.
21023 (CFLAGS-err.c): Likewise.
21024 (CFLAGS-tst-tsearch.c): Likewise.
21025 (CFLAGS-msync.c): Likewise.
21026 (CFLAGS-fdatasync.c): Likewise.
21027 (CFLAGS-fsync.c): Likewise.
21028 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
21029 (CFLAGS-unwind.c): Likewise.
21030 (CFLAGS-unwind-forcedunwind.c): Likewise.
21031 (CFLAGS-pthread_cancel.c): Likewise.
21032 (CFLAGS-pthread_setcancelstate.c): Likewise.
21033 (CFLAGS-pthread_setcanceltype.c): Likewise.
21034 (CFLAGS-cancellation.c): Likewise.
21035 (CFLAGS-libc-cancellation.c): Likewise.
21036 (CFLAGS-pthread_exit.c): Likewise.
21037 (CFLAGS-forward.c): Likewise.
21038 (CFLAGS-pthread_testcancel.c): Likewise.
21039 (CFLAGS-pthread_join.c): Likewise.
21040 (CFLAGS-pthread_timedjoin.c): Likewise.
21041 (CFLAGS-pthread_once.c): Likewise.
21042 (CFLAGS-pthread_cond_wait.c): Likewise.
21043 (CFLAGS-sem_wait.c): Likewise.
21044 (CFLAGS-sem_timedwait.c): Likewise.
21045 (CFLAGS-fcntl.c): Likewise.
21046 (CFLAGS-lockf.c): Likewise.
21047 (CFLAGS-pread.c): Likewise.
21048 (CFLAGS-pread64.c): Likewise.
21049 (CFLAGS-pwrite.c): Likewise.
21050 (CFLAGS-pwrite64.c): Likewise.
21051 (CFLAGS-wait.c): Likewise.
21052 (CFLAGS-waitpid.c): Likewise.
21053 (CFLAGS-sigwait.c): Likewise.
21054 (CFLAGS-msgrcv.c): Likewise.
21055 (CFLAGS-msgsnd.c): Likewise.
21056 (CFLAGS-tcdrain.c): Likewise.
21057 (CFLAGS-open.c): Likewise.
21058 (CFLAGS-open64.c): Likewise.
21059 (CFLAGS-pause.c): Likewise.
21060 (CFLAGS-recv.c): Likewise.
21061 (CFLAGS-send.c): Likewise.
21062 (CFLAGS-accept.c): Likewise.
21063 (CFLAGS-sendto.c): Likewise.
21064 (CFLAGS-connect.c): Likewise.
21065 (CFLAGS-recvfrom.c): Likewise.
21066 (CFLAGS-recvmsg.c): Likewise.
21067 (CFLAGS-sendmsg.c): Likewise.
21068 (CFLAGS-close.c): Likewise.
21069 (CFLAGS-read.c): Likewise.
21070 (CFLAGS-write.c): Likewise.
21071 (CFLAGS-nanosleep.c): Likewise.
21072 (CFLAGS-sigsuspend.c): Likewise.
21073 (CFLAGS-msync.c): Likewise.
21074 (CFLAGS-fdatasync.c): Likewise.
21075 (CFLAGS-fsync.c): Likewise.
21076 (CFLAGS-pt-system.c): Likewise.
21077 (CFLAGS-tst-cleanup2.c): Likewise.
21078 (CFLAGS-tst-cleanupx2.c): Likewise.
21079 (CFLAGS-flockfile.c): Likewise.
21080 (CFLAGS-ftrylockfile.c): Likewise.
21081 (CFLAGS-funlockfile.c): Likewise.
21082 (CFLAGS-tst-initializers1.c): Likewise.
21083 (CFLAGS-tst-initializers1-c89.c): Likewise.
21084 (CFLAGS-tst-initializers1-c99.c): Likewise.
21085 (CFLAGS-tst-initializers1-c11.c): Likewise.
21086 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
21087 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
21088 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
21089 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
21090 (CFLAGS-nscd_getgr_r.c): Likewise.
21091 (CFLAGS-nscd_gethst_r.c): Likewise.
21092 (CFLAGS-nscd_getai.c): Likewise.
21093 (CFLAGS-nscd_initgroups.c): Likewise.
21094 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
21095 (CFLAGS-pause.c): Likewise.
21096 (CFLAGS-pread.c): Likewise.
21097 (CFLAGS-pread64.c): Likewise.
21098 (CFLAGS-pwrite.c): Likewise.
21099 (CFLAGS-pwrite64.c): Likewise.
21100 (CFLAGS-sleep.c): Likewise.
21101 (CFLAGS-wait.c): Likewise.
21102 (CFLAGS-waitid.c): Likewise.
21103 (CFLAGS-waitpid.c): Likewise.
21104 (CFLAGS-getopt.c): Likewise.
21105 (CFLAGS-wordexp.c): Likewise.
21106 (CFLAGS-sysconf.c): Likewise.
21107 (CFLAGS-pathconf.c): Likewise.
21108 (CFLAGS-fpathconf.c): Likewise.
21109 (CFLAGS-spawn.c): Likewise.
21110 (CFLAGS-spawnp.c): Likewise.
21111 (CFLAGS-spawni.c): Likewise.
21112 (CFLAGS-glob.c): Likewise.
21113 (CFLAGS-glob64.c): Likewise.
21114 (CFLAGS-getconf.c): Likewise.
21115 (CFLAGS-nanosleep.c): Likewise.
21116 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
21117 (CFLAGS-getpwent.c): Likewise.
21118 (CFLAGS-getpw.c): Likewise.
21119 (CFLAGS-fgetpwent_r.c): Likewise.
21120 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
21121 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
21122 (CFLAGS-mq_timedreceive.c): Likewise.
21123 (CFLAGS-mq_timedsend.c): Likewise.
21124 (CFLAGS-clock_nanosleep.c): Likewise.
21125 (CFLAGS-librt-cancellation.c): Likewise.
21126 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
21127 (CFLAGS-getspent.c): Likewise.
21128 (CFLAGS-fgetspent.c): Likewise.
21129 (CFLAGS-fgetspent_r.c): Likewise.
21130 (CFLAGS-putspent.c): Likewise.
21131 (CFLAGS-getspnam.c): Likewise.
21132 (CFLAGS-getspnam_r.c): Likewise.
21133 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
21134 (CFLAGS-sigsuspend.c): Likewise.
21135 (CFLAGS-sigtimedwait.c): Likewise.
21136 (CFLAGS-sigwait.c): Likewise.
21137 (CFLAGS-sigwaitinfo.c): Likewise.
21138 (CFLAGS-sigreturn.c): Likewise.
21139 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
21140 (CFLAGS-vfwprintf.c): Likewise.
21141 (CFLAGS-tmpfile.c): Likewise.
21142 (CFLAGS-tmpfile64.c): Likewise.
21143 (CFLAGS-tempname.c): Likewise.
21144 (CFLAGS-psignal.c): Likewise.
21145 (CFLAGS-vprintf.c): Likewise.
21146 (CFLAGS-cuserid.c): Likewise.
21147 (CFLAGS-errlist.c): Likewise.
21148 (CFLAGS-siglist.c): Likewise.
21149 (CFLAGS-scanf15.c): Likewise.
21150 (CFLAGS-scanf17.c): Likewise.
21151 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
21152 (CFLAGS-msort.c): Likewise.
21153 (CFLAGS-qsort.c): Likewise.
21154 (CFLAGS-system.c): Likewise.
21155 (CFLAGS-fmtmsg.c): Likewise.
21156 (CFLAGS-strfmon.c): Likewise.
21157 (CFLAGS-strfmon_l.c): Likewise.
21158 (CFLAGS-strfromd.c): Likewise.
21159 (CFLAGS-strfromf.c): Likewise.
21160 (CFLAGS-strfroml.c): Likewise.
21161 (CFLAGS-tst-bsearch.c): Likewise.
21162 (CFLAGS-tst-qsort.c): Likewise.
21163 (CFLAGS-tst-makecontext2.c): Likewise.
21164 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
21165 (CFLAGS-xnlm_prot.c): Likewise.
21166 (CFLAGS-xrstat.c): Likewise.
21167 (CFLAGS-xyppasswd.c): Likewise.
21168 (CFLAGS-xklm_prot.c): Likewise.
21169 (CFLAGS-xrex.c): Likewise.
21170 (CFLAGS-xsm_inter.c): Likewise.
21171 (CFLAGS-xmount.c): Likewise.
21172 (CFLAGS-xrusers.c): Likewise.
21173 (CFLAGS-xspray.c): Likewise.
21174 (CFLAGS-xnfs_prot.c): Likewise.
21175 (CFLAGS-xrquota.c): Likewise.
21176 (CFLAGS-xkey_prot.c): Likewise.
21177 (CFLAGS-auth_unix.c): Likewise.
21178 (CFLAGS-key_call.c): Likewise.
21179 (CFLAGS-pmap_rmt.c): Likewise.
21180 (CFLAGS-clnt_perr.c): Likewise.
21181 (CFLAGS-openchild.c): Likewise.
21182 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
21183 (CFLAGS-msgsnd.c): Likewise.
21184 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
21185 * time/Makefile (CFLAGS-tzfile.c): Likewise.
21186 (CFLAGS-tzset.c): Likewise.
21187 (CFLAGS-getdate.c): Likewise.
21188 (CFLAGS-test_time.c): Likewise.
21189 (CPPFLAGS-tst-tzname.c): Likewise.
21190 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
21191 (CFLAGS-zic.c): Likewise.
21192 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
21193 (CFLAGS-wcswidth.c): Likewise.
21194 (CFLAGS-wcstol.c): Likewise.
21195 (CFLAGS-wcstoul.c): Likewise.
21196 (CFLAGS-wcstoll.c): Likewise.
21197 (CFLAGS-wcstoull.c): Likewise.
21198 (CFLAGS-wcstod.c): Likewise.
21199 (CFLAGS-wcstold.c): Likewise.
21200 (CFLAGS-wcstof128.c): Likewise.
21201 (CFLAGS-wcstof.c): Likewise.
21202 (CFLAGS-wcstol_l.c): Likewise.
21203 (CFLAGS-wcstoul_l.c): Likewise.
21204 (CFLAGS-wcstoll_l.c): Likewise.
21205 (CFLAGS-wcstoull_l.c): Likewise.
21206 (CFLAGS-wcstod_l.c): Likewise.
21207 (CFLAGS-wcstold_l.c): Likewise.
21208 (CFLAGS-wcstof128_l.c): Likewise.
21209 (CFLAGS-wcstof_l.c): Likewise.
21210 (CPPFLAGS-tst-wchar-h.c): Likewise.
21211 (CPPFLAGS-wcstold_l.c): Likewise.
583dd860 21212
f4b2aea6
PC
212132017-12-11 Paul A. Clarke <pc@us.ibm.com>
21214
21215 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
21216
c9cd7b0c
AZ
212172017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21218 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21219
21220 * manual/tunables.texi (Hardware Capability Tunables): Document
21221 glibc.tune.cached_memopt.
21222 * sysdeps/powerpc/cpu-features.c: New file.
21223 * sysdeps/powerpc/cpu-features.h: New file.
21224 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
21225 _dl_powerpc_cpu_features.
21226 * sysdeps/powerpc/dl-tunables.list: New file.
21227 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
21228 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
21229 (INIT_ARCH): Initialize use_aligned_memopt.
21230 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
21231 IS_IN(rtld))]: Restrict dl_platform_init availability and
21232 initialize CPU features used by tunables.
21233 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
21234 Add memcpy-power8-cached.
21235 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
21236 __memcpy_power8_cached.
21237 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
21238 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
21239 New file.
21240
e70c6fee
L
212412017-12-11 H.J. Lu <hongjiu.lu@intel.com>
21242
21243 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
21244 (CFLAGS-noinl-tester.c): Likewise.
21245 (CFLAGS-tst-strlen.c): Likewise.
21246 (CFLAGS-stratcliff.c): Likewise.
21247 (CFLAGS-test-ffs.c): Likewise.
21248 (CFLAGS-tst-inlcall.c): Likewise.
21249 (CFLAGS-tst-xbzero-opt.c): Likewise.
21250 (CFLAGS-memcpy.c): Likewise.
21251 (CFLAGS-wordcopy.c): Likewise.
21252
dee94366
SL
212532017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
21254
21255 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
21256 Store r15 on stack and add cfi rule.
21257 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
21258 Likewise.
21259
363e4519 212602017-12-10 Aurelien Jarno <aurelien@aurel32.net>
f648728c
AJ
21261
21262 [BZ #22577]
21263 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
21264 call.
21265
9d0ffa60
L
212662017-12-07 H.J. Lu <hongjiu.lu@intel.com>
21267
21268 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21269 Add s_sinf-sse2 and s_sinf-fma.
21270 (CFLAGS-s_sinf-fma.c): New.
21271 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
21272 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
21273 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
21274
9574c7b6
L
212752017-12-07 H.J. Lu <hongjiu.lu@intel.com>
21276
21277 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
21278
d15e83c5
JM
212792017-12-07 Joseph Myers <joseph@codesourcery.com>
21280
21281 [BZ #22568]
21282 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
21283 part of result to imaginary part of argument if it is zero and the
21284 real part of the argument is not finite.
21285 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
21286 of result to real part of argument if it is zero and the imaginary
21287 part of the argument is not finite.
21288
d89756eb
MF
212892017-12-07 Mike FABIAN <mfabian@redhat.com>
21290
21291 [BZ #22524]
21292 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
21293 and to the list of locales to be built for testing.
21294 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
21295 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
21296 and build the collation rules upon that.
21297
1f9055ce
JM
212982017-12-07 Joseph Myers <joseph@codesourcery.com>
21299
21300 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
21301 * manual/math.texi (Mathematics): Document support for _Float32.
21302 * math/Makefile (test-types): Add float32.
21303 * math/Versions (GLIBC_2.27): Add _Float32 functions.
21304 * stdlib/Versions (GLIBC_2.27): Likewise.
21305 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21306 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21307 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21308 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21309 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21310 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
21311 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21312 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21313 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21314 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21315 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21316 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21317 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21318 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21319 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21320 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21321 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21322 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21323 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21324 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21325 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21326 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
21327 Likewise.
21328 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21329 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21330 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21331 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
21332 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21334 Likewise.
21335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
21336 Likewise.
21337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21338 Likewise.
21339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
21340 Likewise.
21341
21342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21343 Likewise.
21344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
21345 Likewise.
21346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21347 Likewise.
21348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
21349 Likewise.
21350 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21351 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21352 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21353 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21354 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21355 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21356 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21357 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21358 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21359 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21360 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
21361 Likewise.
21362 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
21363 Likewise.
21364 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21365 Likewise.
21366 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21367 Likewise.
21368 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21369 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21370 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21371 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21372 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21373 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21374 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21375 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21376
5244527d
JM
213772017-12-06 Joseph Myers <joseph@codesourcery.com>
21378
fb1ca2aa
JM
21379 * stdlib/strtof.c: Include <bits/floatn.h>
21380 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
21381 and later undefine as macro. Define as weak alias if
21382 [!USE_WIDE_CHAR].
21383 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
21384 and later undefine as macro. Define as weak alias if
21385 [USE_WIDE_CHAR].
21386 * stdlib/strtof_l.c: Include <bits/floatn.h>
21387 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
21388 and later undefine as macro. Define as weak alias if
21389 [!USE_WIDE_CHAR].
21390 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
21391 and later undefine as macro. Define as weak alias if
21392 [USE_WIDE_CHAR].
21393
fc10cc3f
JM
21394 * stdlib/strfromf.c: Include <bits/floatn.h>.
21395 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
21396 and later undefine as macro and define as weak alias.
21397
e420d228
JM
21398 * math/test-float32.h: New file.
21399
26007a2f
JM
21400 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
21401 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
21402 (libm_alias_float_other_r): Create f32 alias.
21403 (libm_alias_float_r): Use semicolon before call to
21404 libm_alias_float_other_r.
21405
c191f64c
JM
21406 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
21407 second argument to libm_alias_float_other.
21408 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
21409 second argument to libm_alias_float_other.
21410 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
21411 argument to libm_alias_float_other.
21412
5244527d
JM
21413 [BZ #22561]
21414 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
21415 real part of result for argument 0 + i * NaN.
21416 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
21417 results for tests of 0 + i * NaN.
21418
d73fac82
AZ
214192017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21420
21421 * sysdeps/alpha/fpu/libm-test-ulps: Update.
21422
7ec094e8
DM
214232017-12-06 David S. Miller <davem@davemloft.net>
21424
21425 * sysdeps/sparc/fpu/libm-test-ulps: Update
21426 exp_{downward,towardzero,upward} ulps.
21427
53994f12
JM
214282017-12-06 Joseph Myers <joseph@codesourcery.com>
21429
1dbe6f64
JM
21430 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
21431 variables static.
21432
53994f12
JM
21433 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
21434 (Y0_2D): Likewise.
21435 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
21436 (Y0_2D): Likewise.
21437 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
21438 (Y0_2D): Likewise.
21439 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
21440 (Y0_2D): Likewise.
21441
62ea2193
MF
214422017-12-06 Mike FABIAN <mfabian@redhat.com>
21443
21444 [BZ #22515]
21445 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
21446 and to the list of locales to be built for testing.
21447 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
21448 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
21449 and build the collation rules upon that.
21450
87235d70
RS
214512017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21452
21453 * NEWS: Add sinf to list of optimized functions.
21454
0d93b7fd
JM
214552017-12-06 Joseph Myers <joseph@codesourcery.com>
21456
21457 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
21458 (__HAVE_FLOAT32X): Likewise.
21459 * manual/math.texi (Mathematics): Document support for _Float64
21460 and _Float32x.
21461 * math/Makefile (test-types): Add float64 and float32x.
21462 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
21463 functions.
21464 * stdlib/Versions (GLIBC_2.27): Likewise.
21465 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21466 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21467 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21468 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21469 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21470 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
21471 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21472 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21473 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21474 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21475 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21476 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21477 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21478 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21479 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21480 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21481 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21482 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21483 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21484 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21485 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21486 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
21487 Likewise.
21488 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21489 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21490 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21491 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
21492 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21494 Likewise.
21495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
21496 Likewise.
21497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21498 Likewise.
21499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
21500 Likewise.
21501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21502 Likewise.
21503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
21504 Likewise.
21505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21506 Likewise.
21507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
21508 Likewise.
21509 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21510 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21511 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21512 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21513 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21514 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21515 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21516 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21517 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21518 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21519 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
21520 Likewise.
21521 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
21522 Likewise.
21523 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21524 Likewise.
21525 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21526 Likewise.
21527 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21528 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21529 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21530 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21531 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21532 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21533 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21534 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21535
f7787234
JM
215362017-12-05 Joseph Myers <joseph@codesourcery.com>
21537
21538 * bits/floatn-common.h: Include <bits/long-double.h>.
21539 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21540 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
21541 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21542 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
21543 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21544 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
21545 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21546 (__builtin_huge_valf64): Use __builtin_huge_vall.
21547 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21548 (__builtin_inff64): Use __builtin_infl.
21549 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21550 (__builtin_nanf64): Use __builtin_nanl.
21551 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21552 (__builtin_nansf64): Use __builtin_nansl.
21553
363e4519
DL
215542017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
21555 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6b5c8607 21556 Carlos O'Donnell <carlos@redhat.com>
07ed18d2
RA
21557
21558 * elf/dl-tunables.list: Add elision parameters.
21559 * manual/tunables.texi: Add entries about elision tunable.
21560 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
21561 Add callback functions to dynamically enable/disable elision.
21562 Add multiple callbacks functions to set elision parameters.
21563 Deleted __libc_enable_secure check.
21564 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
21565 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
21566 * configure: Regenerated.
21567 * configure.ac: Option enable_lock_elision was deleted.
21568 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
21569 * config.make.in: Remove references to enable_lock_elision.
21570 * manual/install.texi: Elision configure option was removed.
21571 * INSTALL: Regenerated to remove enable_lock_elision.
21572 * nptl/Makefile:
21573 Disable elision so it can verify error case for destroying a mutex.
21574 * sysdeps/powerpc/nptl/elide.h:
21575 Cleanup ENABLE_LOCK_ELISION check.
21576 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
21577 * sysdeps/s390/configure: Regenerated.
21578 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
21579 * nptl/tst-mutex8.c:
21580 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
21581 * sysdeps/powerpc/powerpc32/sysdep.h:
21582 Deleted all ENABLE_LOCK_ELISION checks.
21583 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
21584 * sysdeps/powerpc/sysdep.h: Likewise.
21585 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
21586 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
21587 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
21588 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
21589 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
21590 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
21591 enable-lock-elision.
21592
a5a2a76b
JM
215932017-12-05 Joseph Myers <joseph@codesourcery.com>
21594
21595 * stdlib/strtod.c: Include <bits/floatn.h>.
21596 (BUILD_DOUBLE): New macro.
21597 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21598 (strtof64): Define and later undefine as macro. Define as weak
21599 alias if [!USE_WIDE_CHAR].
21600 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21601 (wcstof64): Define and later undefine as macro. Define as weak
21602 alias if [USE_WIDE_CHAR].
21603 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21604 (strtof32x): Define and later undefine as macro. Define as weak
21605 alias if [!USE_WIDE_CHAR].
21606 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21607 (wcstof32x): Define and later undefine as macro. Define as weak
21608 alias if [USE_WIDE_CHAR].
21609 * stdlib/strtod_l.c: Include <bits/floatn.h>.
21610 (BUILD_DOUBLE): New macro.
21611 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21612 (strtof64_l): Define and later undefine as macro. Define as weak
21613 alias if [!USE_WIDE_CHAR].
21614 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21615 (wcstof64_l): Define and later undefine as macro. Define as weak
21616 alias if [USE_WIDE_CHAR].
21617 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21618 (strtof32x_l): Define and later undefine as macro. Define as weak
21619 alias if [!USE_WIDE_CHAR].
21620 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21621 (wcstof32x_l): Define and later undefine as macro. Define as weak
21622 alias if [USE_WIDE_CHAR].
21623
94d80dfc
AZ
216242017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21625
21626 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
21627 (reduced): Use ones as double instead of integer.
21628
00d54af7
SN
216292017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
21630
21631 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
21632
f2d64d62
JM
216332017-12-05 Joseph Myers <joseph@codesourcery.com>
21634
1f70eae4
JM
21635 * stdlib/strfromd.c: Include <bits/floatn.h>.
21636 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
21637 and later undefine as macro and define as weak alias.
21638 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
21639 Likewise.
21640
e2c4dce5
JM
21641 * math/test-float32x.h: New file.
21642 * math/test-float64.h: Likewise.
21643
f2d64d62
JM
21644 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
21645 (libm_alias_double_other_r_f64): New macro.
21646 (libm_alias_double_other_r_f32x): Likewise.
21647 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
21648 libm_alias_double_other_r_f32x.
21649 (libm_alias_double_r): Use semicolon before call to
21650 libm_alias_double_other_r.
21651 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
21652 <bits/floatn.h>.
21653 (libm_alias_double_other_r_f64): New macro.
21654 (libm_alias_double_other_r_f32x): Likewise.
21655 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
21656 libm_alias_double_other_r_f32x.
21657
91c318e7
L
216582017-12-05 H.J. Lu <hongjiu.lu@intel.com>
21659
21660 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
21661 int.
21662 (SINF_FUNC): Likewise. Replace floor with simple casts.
21663
de9661d6
MF
216642017-12-05 Mike FABIAN <mfabian@redhat.com>
21665
21666 [BZ #22517]
21667 * localedata/Makefile: Add et_EE.UTF-8 to test-input
21668 and to the list of locales to be built for testing.
21669 * localedata/et_EE.UTF-8.in: New file for testing the collation.
21670 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
21671 and build the collation rules upon that.
21672
f18b8dc7
CM
216732017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
21674
21675 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
21676 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
21677 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
21678 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
21679 instead of __insn__xxx.
21680 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
21681 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
21682 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
21683 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
21684 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
21685 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
21686
446d22e9
FW
216872017-12-05 Florian Weimer <fweimer@redhat.com>
21688
21689 Linux: Implement interfaces for memory protection keys
21690 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
21691 xsignal, xsysconf.
21692 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
21693 * support/xunistd.h (xsysconf): Declare.
21694 * support/xraise.c: New file.
21695 * support/xsigaction.c: Likewise.
21696 * support/xsignal.c: Likewise.
21697 * support/xsysconf.c: Likewise.
21698 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
21699 pkey_set, pkey_get, pkey_mprotect.
21700 [misc] (tests): Add tst-pkey.
21701 (tst-pkey): Link with -lpthread.
21702 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
21703 pkey_free, pkey_set, pkey_get, pkey_mprotect.
21704 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
21705 (PKEY_DISABLE_WRITE): Define.
21706 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
21707 Declare.
21708 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
21709 (SEGV_PKUERR): Add.
21710 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
21711 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
21712 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
21713 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
21714 Add.
21715 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
21716 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
21717 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
21718 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
21719 * sysdeps/unix/sysv/linux/**.abilist: Update.
21720
da616c14
FW
217212017-12-05 Florian Weimer <fweimer@redhat.com>
21722
21723 * support/tst-test_compare.c (subprocess): Use long long instead
21724 of long argument for consistent type width across 32-bit and
21725 64-bit architectures.
21726 (do_test): Adjust expected output.
21727
216933b2
JM
217282017-12-05 Joseph Myers <joseph@codesourcery.com>
21729
21730 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
21731 (cosf): Define using libm_alias_float.
21732 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
21733 (fabsf): Define using libm_alias_float.
21734 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
21735 (fmaf): Define using libm_alias_float.
21736 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
21737 (rintf): Define using libm_alias_float.
21738 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
21739 (sinf): Define using libm_alias_float.
21740 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
21741 <libm-alias-float.h>.
21742 (modff): Define using libm_alias_float.
21743 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
21744 <libm-alias-float.h>.
21745 (logbf): Define using libm_alias_float.
21746 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
21747 <libm-alias-float.h>.
21748 (ceilf): Define using libm_alias_float.
21749 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
21750 <libm-alias-float.h>.
21751 (copysignf): Define using libm_alias_float.
21752 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
21753 <libm-alias-float.h>.
21754 (floorf): Define using libm_alias_float.
21755 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
21756 <libm-alias-float.h>.
21757 (llrintf): Define using libm_alias_float.
21758 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
21759 <libm-alias-float.h>.
21760 (llroundf): Define using libm_alias_float.
21761 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
21762 <libm-alias-float.h>.
21763 (lrintf): Define using libm_alias_float.
21764 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
21765 <libm-alias-float.h>.
21766 (lroundf): Define using libm_alias_float.
21767 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
21768 <libm-alias-float.h>.
21769 (nearbyintf): Define using libm_alias_float.
21770 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
21771 <libm-alias-float.h>.
21772 (rintf): Define using libm_alias_float.
21773 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
21774 <libm-alias-float.h>.
21775 (roundf): Define using libm_alias_float.
21776 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
21777 <libm-alias-float.h>.
21778 (truncf): Define using libm_alias_float.
21779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
21780 Include <libm-alias-float.h>.
21781 (ceilf): Define using libm_alias_float.
21782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
21783 Include <libm-alias-float.h>.
21784 (copysignf): Define using libm_alias_float.
21785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
21786 Include <libm-alias-float.h>.
21787 (floorf): Define using libm_alias_float.
21788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
21789 Include <libm-alias-float.h>.
21790 (llrintf): Define using libm_alias_float.
21791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
21792 Include <libm-alias-float.h>.
21793 (llroundf): Define using libm_alias_float.
21794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
21795 Include <libm-alias-float.h>.
21796 (logbf): Define using libm_alias_float.
21797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
21798 Include <libm-alias-float.h>.
21799 (lrintf): Define using libm_alias_float.
21800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
21801 Include <libm-alias-float.h>.
21802 (lroundf): Define using libm_alias_float.
21803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
21804 Include <libm-alias-float.h>.
21805 (modff): Define using libm_alias_float.
21806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
21807 Include <libm-alias-float.h>.
21808 (roundf): Define using libm_alias_float.
21809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
21810 Include <libm-alias-float.h>.
21811 (truncf): Define using libm_alias_float.
21812 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
21813 <libm-alias-float.h>.
21814 (llrintf): Define using libm_alias_float.
21815 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
21816 <libm-alias-float.h>.
21817 (llroundf): Define using libm_alias_float.
21818 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
21819 <libm-alias-float.h>.
21820 (ceilf): Define using libm_alias_float.
21821 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
21822 <libm-alias-float.h>.
21823 (floorf): Define using libm_alias_float.
21824 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
21825 <libm-alias-float.h>.
21826 (llroundf): Define using libm_alias_float.
21827 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
21828 <libm-alias-float.h>.
21829 (lroundf): Define using libm_alias_float.
21830 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
21831 <libm-alias-float.h>.
21832 (roundf): Define using libm_alias_float.
21833 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
21834 <libm-alias-float.h>.
21835 (truncf): Define using libm_alias_float.
21836 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
21837 <libm-alias-float.h>.
21838 (copysignf): Define using libm_alias_float.
21839 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
21840 <libm-alias-float.h>.
21841 (llrintf): Define using libm_alias_float.
21842 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
21843 <libm-alias-float.h>.
21844 (llroundf): Define using libm_alias_float.
21845 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
21846 <libm-alias-float.h>.
21847 (lrintf): Define using libm_alias_float.
21848 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
21849 <libm-alias-float.h>.
21850 (lroundf): Define using libm_alias_float.
21851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
21852 <libm-alias-float.h>.
21853 (ceilf): Define using libm_alias_float.
21854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
21855 <libm-alias-float.h>.
21856 (copysignf): Define using libm_alias_float.
21857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
21858 <libm-alias-float.h>.
21859 (cosf): Define using libm_alias_float.
21860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
21861 <libm-alias-float.h>.
21862 (floorf): Define using libm_alias_float.
21863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
21864 <libm-alias-float.h>.
21865 (llrintf): Define using libm_alias_float.
21866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
21867 <libm-alias-float.h>.
21868 (llroundf): Define using libm_alias_float.
21869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
21870 <libm-alias-float.h>.
21871 (logbf): Define using libm_alias_float.
21872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
21873 <libm-alias-float.h>.
21874 (modff): Define using libm_alias_float.
21875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
21876 <libm-alias-float.h>.
21877 (roundf): Define using libm_alias_float.
21878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
21879 <libm-alias-float.h>.
21880 (sinf): Define using libm_alias_float.
21881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
21882 <libm-alias-float.h>.
21883 (truncf): Define using libm_alias_float.
21884 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
21885 <libm-alias-float.h>.
21886 (ceilf): Define using libm_alias_float.
21887 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
21888 <libm-alias-float.h>.
21889 (copysignf): Define using libm_alias_float.
21890 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
21891 <libm-alias-float.h>.
21892 (floorf): Define using libm_alias_float.
21893 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
21894 <libm-alias-float.h>.
21895 (llrintf): Define using libm_alias_float.
21896 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
21897 <libm-alias-float.h>.
21898 (llroundf): Define using libm_alias_float.
21899 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
21900 <libm-alias-float.h>.
21901 (nearbyintf): Define using libm_alias_float.
21902 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
21903 <libm-alias-float.h>.
21904 (rintf): Define using libm_alias_float.
21905 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
21906 <libm-alias-float.h>.
21907 (roundf): Define using libm_alias_float.
21908 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
21909 <libm-alias-float.h>.
21910 (truncf): Define using libm_alias_float.
21911 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
21912 <libm-alias-float.h>.
21913 (ceilf): Define using libm_alias_float.
21914 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
21915 <libm-alias-float.h>.
21916 (floorf): Define using libm_alias_float.
21917 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
21918 <libm-alias-float.h>.
21919 (llroundf): Define using libm_alias_float.
21920 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
21921 <libm-alias-float.h>.
21922 (roundf): Define using libm_alias_float.
21923 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
21924 <libm-alias-float.h>.
21925 (truncf): Define using libm_alias_float.
21926 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
21927 <libm-alias-float.h>.
21928 (copysignf): Define using libm_alias_float.
21929 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
21930 <libm-alias-float.h>.
21931 (llrintf): Define using libm_alias_float.
21932 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
21933 <libm-alias-float.h>.
21934 (llroundf): Define using libm_alias_float.
21935 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
21936 <libm-alias-float.h>.
21937 (cosf): Define using libm_alias_float.
21938 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
21939 <libm-alias-float.h>.
21940 (llrintf): Define using libm_alias_float.
21941 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
21942 <libm-alias-float.h>.
21943 (llroundf): Define using libm_alias_float.
21944 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
21945 <libm-alias-float.h>.
21946 (sinf): Define using libm_alias_float.
21947
93485524
FW
219482017-12-04 Florian Weimer <fweimer@redhat.com>
21949
21950 * support/check.h (TEST_COMPARE): Define.
21951 (support_test_compare_failure): Declare.
21952 * support/Makefile (libsupport-routines): Add
21953 support_test_compare_failure.
21954 (tests): Add tst-test_compare.
21955 * support /support_test_compare_failure.c: New file.
21956 * support/tst-test_compare.c: Likewise.
21957
96b06a19
MF
219582017-12-04 Mike FABIAN <mfabian@redhat.com>
21959
21960 [BZ #22527]
21961 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
21962 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
21963 available, this rewrite of the collation rules does reproduce
21964 the test file in the same order.
21965
1f6d91f3
MF
219662017-12-04 Mike FABIAN <mfabian@redhat.com>
21967
21968 [BZ #10580]
21969 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
21970 digraphs in the month and day names. Using single code points for
21971 digraphs is deprecated. While there are dedicated Unicode
21972 codepoints, for the digraphs, these are included for backwards
21973 compatibility and modern texts use a sequence of Basic Latin
21974 characters. See: https://www.unicode.org/faq/ligature_digraph.html
21975 This makes the month and day names agree exactly with CLDR now,
21976 CLDR does not use the single code points for the digraphs either.
21977
2e49fed8
CM
219782017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
21979
21980 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
21981
73895b49
JM
219822017-12-04 Joseph Myers <joseph@codesourcery.com>
21983
21984 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
21985 of floor.
21986
4c1d801a
SP
219872017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
21988
21989 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
21990 Define only for libc.so.
21991
478593e6
SL
219922017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
21993
21994 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21995 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
6b5c8607 21996 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
478593e6
SL
21997 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
21998 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21999
7863a711
RS
220002017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22001
22002 [BZ #5997]
22003 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
22004
800a496a
JDA
220052017-12-02 John David Anglin <danglin@gcc.gnu.org>
22006
b3f7fb12
JDA
22007 [BZ libc/19170]
22008 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
22009 PREINIT_FUNCTION_WEAK is nonzero.
22010 (gmon_initializer): New function. Put procedure label for it in
22011 .init_array section.
22012 (_init): Don't call PREINIT_FUNCTION.
22013 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
22014 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
22015 value when map argument is null.
22016
800a496a
JDA
22017 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
22018 depi instruction from PIC pc-relative sequence.
22019 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
22020 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
22021 (elf_machine_load_address): Likewise.
22022 (elf_machine_runtime_setup): Likewise.
22023
d17542d2
JM
220242017-12-02 Joseph Myers <joseph@codesourcery.com>
22025
22026 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
22027 <libm-alias-double.h>.
22028 (logb): Define using libm_alias_double.
22029 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
22030 <libm-alias-double.h>.
22031 (copysign): Define using libm_alias_double.
22032 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
22033 <libm-alias-double.h>.
22034 (llrint): Define using libm_alias_double.
22035 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
22036 <libm-alias-double.h>.
22037 (llround): Define using libm_alias_double.
22038 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
22039 <libm-alias-double.h>.
22040 (lrint): Define using libm_alias_double.
22041 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
22042 <libm-alias-double.h>.
22043 (lround): Define using libm_alias_double.
22044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
22045 Include <libm-alias-double.h>.
22046 (copysign): Define using libm_alias_double.
22047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
22048 Include <libm-alias-double.h>.
22049 (llrint): Define using libm_alias_double.
22050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
22051 Include <libm-alias-double.h>.
22052 (llround): Define using libm_alias_double.
22053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
22054 <libm-alias-double.h>.
22055 (logb): Define using libm_alias_double.
22056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
22057 Include <libm-alias-double.h>.
22058 (lrint): Define using libm_alias_double.
22059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
22060 Include <libm-alias-double.h>.
22061 (lround): Define using libm_alias_double.
22062 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
22063 <libm-alias-double.h>.
22064 (llrint): Define using libm_alias_double.
22065 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
22066 <libm-alias-double.h>.
22067 (llround): Define using libm_alias_double.
22068 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
22069 <libm-alias-double.h>.
22070 (llround): Define using libm_alias_double.
22071 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
22072 <libm-alias-double.h>.
22073 (lround): Define using libm_alias_double.
22074 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
22075 <libm-alias-double.h>.
22076 (copysign): Define using libm_alias_double.
22077 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
22078 <libm-alias-double.h>.
22079 (llrint): Define using libm_alias_double.
22080 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
22081 <libm-alias-double.h>.
22082 (llround): Define using libm_alias_double.
22083 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
22084 <libm-alias-double.h>.
22085 (lrint): Define using libm_alias_double.
22086 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
22087 <libm-alias-double.h>.
22088 (lround): Define using libm_alias_double.
22089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
22090 <libm-alias-double.h>.
22091 (copysign): Define using libm_alias_double.
22092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
22093 <libm-alias-double.h>.
22094 (llrint): Define using libm_alias_double.
22095 (lrint): Likewise.
22096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
22097 <libm-alias-double.h>.
22098 (llround): Define using libm_alias_double.
22099 (lround): Likewise.
22100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
22101 <libm-alias-double.h>.
22102 (logb): Define using libm_alias_double.
22103 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
22104 <libm-alias-double.h>.
22105 (copysign): Define using libm_alias_double.
22106 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
22107 <libm-alias-double.h>.
22108 (llrint): Define using libm_alias_double.
22109 (lrint): Likewise.
22110 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
22111 <libm-alias-double.h>.
22112 (llround): Define using libm_alias_double.
22113 (lround): Likewise.
22114 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
22115 <libm-alias-double.h>.
22116 (llround): Define using libm_alias_double.
22117 (lround): Likewise.
22118 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
22119 <libm-alias-double.h>.
22120 (copysign): Define using libm_alias_double.
22121 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
22122 <libm-alias-double.h>.
22123 (llrint): Define using libm_alias_double.
22124 (lrint): Likewise.
22125 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
22126 <libm-alias-double.h>.
22127 (llround): Define using libm_alias_double.
22128 (lround): Likewise.
22129 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
22130 <libm-alias-double.h>.
22131 (llrint): Define using libm_alias_double.
22132 (lrint): Likewise.
22133 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
22134 <libm-alias-double.h>.
22135 (llround): Define using libm_alias_double.
22136 (lround): Likewise.
22137
ec2cf3f4
JM
221382017-12-01 Joseph Myers <joseph@codesourcery.com>
22139
0ddde474
JM
22140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
22141 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
22142 compat symbol based on llround.
22143
0d5ba561
JM
22144 * sysdeps/powerpc/power7/fpu/s_logb.c
22145 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
22146 symbol based on __logb, not on logb.
22147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
22148 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
22149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
22150 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
22151
51ea3b20
JM
22152 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
22153 (rint): Define using libm_alias_double.
22154 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
22155 <libm-alias-double.h>.
22156 (modf): Define using libm_alias_double.
22157 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
22158 <libm-alias-double.h>.
22159 (ceil): Define using libm_alias_double.
22160 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
22161 <libm-alias-double.h>.
22162 (floor): Define using libm_alias_double.
22163 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
22164 <libm-alias-double.h>.
22165 (nearbyint): Define using libm_alias_double.
22166 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
22167 <libm-alias-double.h>.
22168 (rint): Define using libm_alias_double.
22169 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
22170 <libm-alias-double.h>.
22171 (round): Define using libm_alias_double.
22172 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
22173 <libm-alias-double.h>.
22174 (trunc): Define using libm_alias_double.
22175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
22176 <libm-alias-double.h>.
22177 (ceil): Define using libm_alias_double.
22178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
22179 Include <libm-alias-double.h>.
22180 (floor): Define using libm_alias_double.
22181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
22182 <libm-alias-double.h>.
22183 (modf): Define using libm_alias_double.
22184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
22185 Include <libm-alias-double.h>.
22186 (round): Define using libm_alias_double.
22187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
22188 Include <libm-alias-double.h>.
22189 (trunc): Define using libm_alias_double.
22190 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
22191 <libm-alias-double.h>.
22192 (ceil): Define using libm_alias_double.
22193 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
22194 <libm-alias-double.h>.
22195 (floor): Define using libm_alias_double.
22196 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
22197 <libm-alias-double.h>.
22198 (round): Define using libm_alias_double.
22199 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
22200 <libm-alias-double.h>.
22201 (trunc): Define using libm_alias_double.
22202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
22203 <libm-alias-double.h>.
22204 (ceil): Define using libm_alias_double.
22205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
22206 <libm-alias-double.h>.
22207 (floor): Define using libm_alias_double.
22208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
22209 <libm-alias-double.h>.
22210 (modf): Define using libm_alias_double.
22211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
22212 <libm-alias-double.h>.
22213 (round): Define using libm_alias_double.
22214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
22215 <libm-alias-double.h>.
22216 (trunc): Define using libm_alias_double.
22217 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
22218 <libm-alias-double.h>.
22219 (ceil): Define using libm_alias_double.
22220 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
22221 <libm-alias-double.h>.
22222 (floor): Define using libm_alias_double.
22223 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
22224 <libm-alias-double.h>.
22225 (nearbyint): Define using libm_alias_double.
22226 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
22227 <libm-alias-double.h>.
22228 (rint): Define using libm_alias_double.
22229 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
22230 <libm-alias-double.h>.
22231 (round): Define using libm_alias_double.
22232 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
22233 <libm-alias-double.h>.
22234 (trunc): Define using libm_alias_double.
22235 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
22236 <libm-alias-double.h>.
22237 (ceil): Define using libm_alias_double.
22238 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
22239 <libm-alias-double.h>.
22240 (floor): Define using libm_alias_double.
22241 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
22242 <libm-alias-double.h>.
22243 (round): Define using libm_alias_double.
22244 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
22245 <libm-alias-double.h>.
22246 (trunc): Define using libm_alias_double.
22247
ec2cf3f4
JM
22248 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
22249 (fabs): Define using libm_alias_double.
22250 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
22251 (fma): Define using libm_alias_double.
22252 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
22253 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
22254 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
22255 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
22256
5b7bd975
AZ
222572017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22258
0594b13f
AZ
22259 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
22260
dbdfcf3b
AZ
22261 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
22262 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
22263 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
22264
5b7bd975
AZ
22265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
22266 due redirect macro.
22267
ef9ecfa6
AS
222682017-12-01 Andreas Schwab <schwab@linux-m68k.org>
22269
22270 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
22271
5b4e5e78
AZ
222722017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22273
2a14526b
AZ
22274 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
22275 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
22276 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
22277 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
22278
dbeb74ef 22279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1c051a9b
AZ
22280 (libm-sysdep_routines): Add s_nearbyintf-generic and
22281 s_nearbyint-generic.
22282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
22283 New file.
22284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
22285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
22286 Likewise.
22287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
22288 Likewise.
22289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
22290 file.
22291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
22292 Likewise.
22293
22294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
dbeb74ef
AZ
22295 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
22296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
22297 file.
22298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
22299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
22300 Likewise.
22301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
22302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
22303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22304
fa7ded96
AZ
22305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22306 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
22307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
22308 file.
22309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
22310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
22311 Likewise.
22312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
22313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
22314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
22315
e240cf0e
AZ
22316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22317 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
22318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
22319 file.
22320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
22321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
22322 Likewise.
22323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
22324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
22325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22326
5b4e5e78
AZ
22327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22328 (sysdep_calls): New rule.
22329 (sysdep_routines): Use sysdep_calls as base.
22330 (libm-sysdep_routines): Add generic rule for symbols shared with
22331 libc. Add s_copysign-generic and s_copysign-generic objects.
22332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
22333 New file.
22334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
22335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
22336 Likewise.
22337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
22338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
22339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
22340
d985adae
MF
223412017-12-01 Mike FABIAN <mfabian@redhat.com>
22342
22343 [BZ #22519]
22344 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
22345 the list of locales to be built for testing.
22346 * localedata/is_IS.UTF-8.in: New file.
22347 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
22348 on iso14651_t1.
22349
ff84a0e0
JM
223502017-12-01 Joseph Myers <joseph@codesourcery.com>
22351
22352 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
22353 <libm-alias-float.h>.
22354 (fabsf): Define using libm_alias_float.
22355
ef5d8b43
L
223562017-11-30 H.J. Lu <hongjiu.lu@intel.com>
22357
22358 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
22359
c0535adf
JM
223602017-11-30 Joseph Myers <joseph@codesourcery.com>
22361
f938b397
JM
22362 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
22363 <libm-alias-float.h>.
22364 (fabsf): Define using libm_alias_float.
22365 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
22366 <libm-alias-float.h>.
22367 (lrintf): Define using libm_alias_float.
22368 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
22369 <libm-alias-float.h>.
22370 (rintf): Define using libm_alias_float.
22371
2251fad0
JM
22372 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
22373 <libm-alias-double.h>.
22374 (fabs): Define using libm_alias_double.
22375 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
22376 <libm-alias-double.h>.
22377 (lrint): Define using libm_alias_double.
22378 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
22379 <libm-alias-double.h>.
22380 (rint): Define using libm_alias_double.
22381
e53df1de
JM
22382 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
22383 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
22384 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
22385 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
22386 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
22387 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
22388 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
22389 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
22390 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
22391 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
22392 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
22393 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
22394 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
22395 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
22396 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
22397 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
22398 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
22399 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
22400 s_atan_template.c.
22401 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
22402 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
22403 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
22404 s_ceil_template.c.
22405 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
22406 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
22407 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
22408 s_cos_template.c.
22409 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
22410 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
22411 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
22412 s_expm1_template.c.
22413 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
22414 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
22415 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
22416 s_fabs_template.c.
22417 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
22418 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
22419 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
22420 s_floor_template.c.
22421 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
22422 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
22423 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
22424 s_frexp_template.c.
22425 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
22426 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
22427 s_lrint_template.c.
22428 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
22429 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
22430 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
22431 s_modf_template.c.
22432 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
22433 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
22434 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
22435 s_nearbyint_template.c.
22436 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
22437 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
22438 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
22439 s_remquo_template.c.
22440 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
22441 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
22442 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
22443 s_rint_template.c.
22444 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
22445 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
22446 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
22447 s_sin_template.c.
22448 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
22449 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
22450 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
22451 s_sincos_template.c.
22452 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
22453 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
22454 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
22455 s_tan_template.c.
22456 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
22457 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
22458 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
22459 s_tanh_template.c.
22460 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
22461 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
22462 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
22463 s_trunc_template.c.
22464 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
22465 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
22466 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
22467 s_atan.c instead of including s_atan.c.
22468 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
22469 s_atanf.c instead of including s_atanf.c.
22470 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
22471 s_atanl.c instead of including s_atanl.c.
22472 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
22473 instead of s_atan.c.
22474 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
22475 instead of s_atanf.c.
22476 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
22477 instead of s_atanl.c.
22478
c0535adf
JM
22479 * scripts/update-copyrights: Do not handle intl/plural.c
22480 specially.
22481
1faaf703
JB
224822017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
22483
22484 [BZ #22432]
22485 * configure.ac (BISON): Require to be present.
22486 * configure: Regenerated.
22487 * intl/Makefile (generated): Add plural.c.
22488 [$(BISON) != no]: Make code unconditional.
22489 (plural.c): Change rule to $(objpfx)plural.c.
22490 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
22491 * intl/plural.c: Remove.
22492 * manual/install.texi (Tools for Compilation): Document bison as
22493 required.
22494 * INSTALL: Regenerated.
22495
faec6323
JM
224962017-11-30 Joseph Myers <joseph@codesourcery.com>
22497
bd6ea9ed
JM
22498 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
22499 <libm-alias-double.h>.
22500 (llrint): Define using libm_alias_double.
22501 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
22502 <libm-alias-float.h>.
22503 (llrintf): Define using libm_alias_float.
22504 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
22505 <libm-alias-ldouble.h>.
22506 (llrintl): Define using libm_alias_ldouble.
22507
faec6323
JM
22508 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
22509 declare_mgen_alias instead of weak_alias.
22510 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
22511 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
22512 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
22513
023cade3
AZ
225142017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22515
9e2279a0
AZ
22516 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22517 Add add_n-generic.
22518 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
22519 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
22520 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
22521
75f37c71
AZ
22522 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22523 Add submul_1-generic.
22524 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
22525 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
22526 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
22527
b70cbbfc 22528 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
dda1d2e8
AZ
22529 Add addmul_1-generic.
22530 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
22531 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
22532 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
22533
22534 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
b70cbbfc
AZ
22535 Add sub_n-generic.
22536 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
22537 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
22538 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
22539
023cade3
AZ
22540 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22541 Add mul_1-generic.
22542 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
22543 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
22544 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
22545
fbb5fd03
MF
225462017-11-30 Mike FABIAN <mfabian@redhat.com>
22547
22548 According to CLDR, collation rules for Serbian and Bosnian
22549 should be the same as for Croatian.
22550
22551 [BZ #22534]
22552 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
22553 and to the list of locales to be built for testing.
22554 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
22555 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
22556 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
22557 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
22558
5e56e937
MF
225592017-11-30 Mike FABIAN <mfabian@redhat.com>
22560
22561 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
22562 to make test case pass.
22563 * localedata/hr_HR.UTF-8.in: Add more test strings.
22564
cf4341ca
MF
225652017-11-30 Mike FABIAN <mfabian@redhat.com>
22566
22567 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
22568
363e4519 225692017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
9ca6b343
DSN
22570
22571 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
22572 the list of locales to built for testing.
22573 * localedata/hr_HR.UTF-8.in: New file.
22574
363e4519 225752017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
37075ae1
DSN
22576
22577 [BZ #10580]
22578 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
22579 iso14651_t1.
22580 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
22581 CLDR (except use ligatures for the digraphs, CLDR does not use
22582 the ligatures), add first_workday, some fixes in the date and time
22583 formats.
22584 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
22585 for Đ and đ.
22586 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
22587 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
22588 Add int_p_cs_precedes and int_n_cs_precedes.
22589 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
22590 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
22591 LC_MONETARY now).
22592 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
22593 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
22594 name_miss.
22595 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
22596 and lang_lib. Change postal_fmt.
22597
f33632cc
L
225982017-11-30 H.J. Lu <hongjiu.lu@intel.com>
22599
22600 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
22601 <setjmp.h>.
22602 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
22603 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
22604 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
22605 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
22606 * sysdeps/generic/setjmpP.h: New file.
22607 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
22608 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
22609 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
22610 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
22611 Add jmp_buf-ssp.sym.
22612 (tests): Add tst-saved_mask-1.
22613
34697694
AS
226142017-11-30 Arjun Shankar <arjun@redhat.com>
22615
22616 [BZ #22375]
37ac8e63 22617 CVE-2017-17426
34697694
AS
22618 * malloc/malloc.c (__libc_malloc): Use checked_request2size
22619 instead of request2size.
22620
3e5efdbd
JM
226212017-11-30 Joseph Myers <joseph@codesourcery.com>
22622
18305fba
JM
22623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
22624 (__lllrint): Remove alias.
22625 (lllrint): Likewise.
22626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
22627 (__lllrintf): Likewise.
22628 (lllrintf): Likewise.
22629
3e5efdbd
JM
22630 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
22631 <libm-alias-float.h>.
22632 (copysignf): Define using libm_alias_float.
22633 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
22634 <libm-alias-float.h>.
22635 (fabsf): Define using libm_alias_float.
22636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22637 Include <libm-alias-float.h>.
22638 (copysignf): Define using libm_alias_float.
22639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
22640 <libm-alias-float.h>.
22641 (fabsf): Define using libm_alias_float.
22642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
22643 <libm-alias-float.h>.
22644 (fdimf): Define using libm_alias_float.
22645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
22646 <libm-alias-float.h>.
22647 (fmaf): Define using libm_alias_float.
22648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
22649 <libm-alias-float.h>.
22650 (llrintf): Define using libm_alias_float.
22651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
22652 Include <libm-alias-float.h>.
22653 (nearbyintf): Define using libm_alias_float.
22654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
22655 <libm-alias-float.h>.
22656 (rintf): Define using libm_alias_float.
22657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
22658 <libm-alias-float.h>.
22659 (llrintf): Define using libm_alias_float.
22660 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
22661 <libm-alias-float.h>.
22662 (lrintf): Define using libm_alias_float.
22663 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
22664 <libm-alias-float.h>.
22665 (nearbyintf): Define using libm_alias_float.
22666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
22667 <libm-alias-float.h>.
22668 (rintf): Define using libm_alias_float.
22669 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
22670 <libm-alias-float.h>.
22671 (ceilf): Define using libm_alias_float.
22672 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
22673 <libm-alias-float.h>.
22674 (floorf): Define using libm_alias_float.
22675 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
22676 <libm-alias-float.h>.
22677 (fmaf): Define using libm_alias_float.
22678 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
22679 <libm-alias-float.h>.
22680 (lrintf): Define using libm_alias_float.
22681 (llrintf): Likewise.
22682 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
22683 <libm-alias-float.h>.
22684 (nearbyintf): Define using libm_alias_float.
22685 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
22686 <libm-alias-float.h>.
22687 (rintf): Define using libm_alias_float.
22688 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
22689 <libm-alias-float.h>.
22690 (truncf): Define using libm_alias_float.
22691 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
22692 <libm-alias-float.h>.
22693 (copysignf): Define using libm_alias_float.
22694 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
22695 <libm-alias-float.h>.
22696 (fabsf): Define using libm_alias_float.
22697 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
22698 <libm-alias-float.h>.
22699 (lrintf): Define using libm_alias_float.
22700 (llrintf): Likewise.
22701 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
22702 <libm-alias-float.h>.
22703 (nearbyintf): Define using libm_alias_float.
22704 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
22705 <libm-alias-float.h>.
22706 (rintf): Define using libm_alias_float.
22707
011fba7e
JM
227082017-11-29 Joseph Myers <joseph@codesourcery.com>
22709
875cd548
JM
22710 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
22711 <libm-alias-double.h>.
22712 (copysign): Define using libm_alias_double.
22713 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
22714 <libm-alias-double.h>.
22715 (fabs): Define using libm_alias_double.
22716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22717 Include <libm-alias-double.h>.
22718 (copysign): Define using libm_alias_double.
22719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
22720 <libm-alias-double.h>.
22721 (fabs): Define using libm_alias_double.
22722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
22723 <libm-alias-double.h>.
22724 (fdim): Define using libm_alias_double.
22725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
22726 <libm-alias-double.h>.
22727 (fma): Define using libm_alias_double.
22728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
22729 <libm-alias-double.h>.
22730 (llrint): Define using libm_alias_double.
22731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
22732 Include <libm-alias-double.h>.
22733 (nearbyint): Define using libm_alias_double.
22734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
22735 <libm-alias-double.h>.
22736 (rint): Define using libm_alias_double.
22737 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
22738 <libm-alias-double.h>.
22739 (fabs): Define using libm_alias_double.
22740 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
22741 <libm-alias-double.h>.
22742 (llrint): Define using libm_alias_double.
22743 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
22744 <libm-alias-double.h>.
22745 (nearbyint): Define using libm_alias_double.
22746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
22747 <libm-alias-double.h>.
22748 (rint): Define using libm_alias_double.
22749 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
22750 <libm-alias-double.h>.
22751 (ceil): Define using libm_alias_double.
22752 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
22753 <libm-alias-double.h>.
22754 (floor): Define using libm_alias_double.
22755 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
22756 <libm-alias-double.h>.
22757 (fma): Define using libm_alias_double.
22758 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
22759 <libm-alias-double.h>.
22760 (lrint): Define using libm_alias_double.
22761 (llrint): Likewise.
22762 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
22763 <libm-alias-double.h>.
22764 (nearbyint): Define using libm_alias_double.
22765 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
22766 <libm-alias-double.h>.
22767 (rint): Define using libm_alias_double.
22768 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
22769 <libm-alias-double.h>.
22770 (trunc): Define using libm_alias_double.
22771 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
22772 <libm-alias-double.h>.
22773 (copysign): Define using libm_alias_double.
22774 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
22775 <libm-alias-double.h>.
22776 (fabs): Define using libm_alias_double.
22777 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
22778 <libm-alias-double.h>.
22779 (lrint): Define using libm_alias_double.
22780 (llrint): Likewise.
22781 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
22782 <libm-alias-double.h>.
22783 (nearbyint): Define using libm_alias_double.
22784 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
22785 <libm-alias-double.h>.
22786 (rint): Define using libm_alias_double.
22787
cf4ebc27
JM
22788 [BZ #22229]
22789 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
22790 <math_ldbl_opt.h>.
22791 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
22792
0c097378
JM
22793 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22794 SPARC --disable-multi-arch glibc variants.
22795
34bb10aa
JM
22796 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
22797 <libm-alias-float.h>.
22798 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22799 if [SHARED].
22800 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
22801 <libm-alias-float.h>.
22802 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22803 if [SHARED].
22804 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
22805 <libm-alias-float.h>.
22806 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22807 if [SHARED].
22808 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
22809 <libm-alias-float.h>.
22810 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22811 if [SHARED].
22812 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
22813 <libm-alias-float.h>.
22814 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22815 if [SHARED].
22816 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
22817 <libm-alias-float.h>.
22818 (ceilf): Define using libm_alias_float.
22819 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
22820 <libm-alias-float.h>.
22821 (floorf): Define using libm_alias_float.
22822 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
22823 <libm-alias-float.h>.
22824 (fmaf): Define using libm_alias_float.
22825 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
22826 <libm-alias-float.h>.
22827 (nearbyintf): Define using libm_alias_float.
22828 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
22829 <libm-alias-float.h>.
22830 (rintf): Define using libm_alias_float.
22831 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
22832 <libm-alias-float.h>.
22833 (truncf): Define using libm_alias_float.
22834 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
22835 (copysignf): Define using libm_alias_float.
22836 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
22837 (cosf): Define using libm_alias_float.
22838 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
22839 (fabsf): Define using libm_alias_float.
22840 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22841 (fmaxf): Define using libm_alias_float.
22842 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
22843 (fminf): Define using libm_alias_float.
22844 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
22845 (llrintf): Define using libm_alias_float.
22846 [!__ILP32__] (lrintf): Likewise.
22847 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
22848 (sincosf): Define using libm_alias_float.
22849 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
22850 (sinf): Define using libm_alias_float.
22851 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
22852 (lrintf): Define using libm_alias_float.
22853
011fba7e
JM
22854 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
22855 <libm-alias-double.h>.
22856 (atan): Define using libm_alias_double.
22857 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
22858 <libm-alias-double.h>.
22859 (ceil): Define using libm_alias_double.
22860 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
22861 <libm-alias-double.h>.
22862 (floor): Define using libm_alias_double.
22863 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
22864 <libm-alias-double.h>.
22865 (fma): Define using libm_alias_double.
22866 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
22867 <libm-alias-double.h>.
22868 (nearbyint): Define using libm_alias_double.
22869 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
22870 <libm-alias-double.h>.
22871 (rint): Define using libm_alias_double.
22872 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
22873 <libm-alias-double.h>.
22874 (sin): Define using libm_alias_double.
22875 (cos): Likewise.
22876 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
22877 <libm-alias-double.h>.
22878 (tan): Define using libm_alias_double.
22879 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
22880 <libm-alias-double.h>.
22881 (trunc): Define using libm_alias_double.
22882 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
22883 (copysign): Define using libm_alias_double.
22884 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
22885 (fabs): Define using libm_alias_double.
22886 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
22887 (fmax): Define using libm_alias_double.
22888 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
22889 (fmin): Define using libm_alias_double.
22890 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
22891 (llrint): Define using libm_alias_double.
22892 [!__ILP32__] (lrint): Likewise.
22893 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
22894 (lrint): Define using libm_alias_double.
22895
1cbd7bfe
AZ
228962017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22897
21bfcc3d
AZ
22898 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22899 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
22900 objects.
22901 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
22902 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
22903 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
22904 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
22905 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
22906 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22907
522228dd
AZ
22908 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22909 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
22910 objects.
22911 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
22912 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
22913 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
22914 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
22915 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
22916 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22917
2a6f4fab
AZ
22918 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22919 (libm-sysdep_routines): Add s_nearbyint-generic and
22920 s_nearbyintf-generic objects.
22921 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
22922 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
22923 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
22924 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
22925 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
22926 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
22927
712b5b83
AZ
22928 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22929 Add s_finitef-generic and s_finite-generic objects.
22930 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
22931 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
22932 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
22933 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
22934 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
22935 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
22936
c96d3335
AZ
22937 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22938 Add s_isinff-generic and s_isinf-generic objects.
22939 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
22940 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
22941 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
22942 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
22943 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
22944 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22945
c6862a23
AZ
22946 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22947 Add s_isnanf-generic and s_isnan-generic objects.
22948 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
22949 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
22950 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
22951 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
22952 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
22953 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22954
1cbd7bfe
AZ
22955 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
22956 macro.
22957 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
22958 rule.
22959 (sysdep_routines): Use sysdep_calls as base.
22960 (libm-sysdep_routines): Add generic rule for symbols shared with
22961 libc. Add s_signbit-generic and s_signbitf-generic objects.
22962 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
22963 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
22964 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
22965 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
22966 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
22967 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22968
aa1142c5
JM
229692017-11-29 Joseph Myers <joseph@codesourcery.com>
22970
22971 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
22972 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
22973 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
22974 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
22975 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
22976 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
22977 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
22978 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
22979 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
22980 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
22981 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
22982 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
22983 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
22984 libm_alias_float_r.
22985 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
22986 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
22987 (logf): Likewise.
22988 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
22989 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
22990 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
22991 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
22992 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
22993 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
22994 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
22995 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
22996 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
22997 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
22998 libm_alias_float.
22999 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
23000 (cosf): Likewise.
23001 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
23002 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
23003 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
23004 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
23005 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
23006 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
23007 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
23008 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
23009 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
23010 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
23011 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
23012 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
23013 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
23014 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
23015 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
23016 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
23017 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
23018 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
23019 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
23020 libm_alias_float.
23021 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
23022 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
23023 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
23024 * sysdeps/ia64/fpu/w_lgammaf_main.c
23025 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
23026 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
23027
363e4519
DL
230282017-11-28 Mike FABIAN <mfabian@redhat.com>
23029 Alexandre Oliva <aoliva@redhat.com>
8da25eec
AO
23030
23031 [BZ #17750]
23032 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
23033 * localedata/fr_CA.UTF-8.in: New file with test data for backward
23034 accents sorting.
23035 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
23036 sorting.
23037 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
23038 * localedata/locales/de_DE (LC_COLLATE): Likewise.
23039 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
23040 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
23041 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
23042 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
23043 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
23044 instead of “ifdef DIACRIT_BACKWARD”.
23045
a55430cb
AZ
230462017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23047
23048 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
23049 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
23050 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
23051 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
23052 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
23053 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
23054 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
23055 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
23056 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
23057 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
23058 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
23059 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
23060 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
23061 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
23062 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
23063 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
23064 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
23065 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
23066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23067 ($(have-as-vis3) == yes): Remove conditional.
23068 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
23069 Likewise.
23070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
23071 file.
23072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
23073 file.
23074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
23075 file.
23076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
23077 file.
23078 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
23079 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
23080 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
23081 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
23082 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
23083 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
23084 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
23085 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
23086
0609ec0a
JM
230872017-11-29 Joseph Myers <joseph@codesourcery.com>
23088
23089 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
23090 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
23091 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
23092 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
23093 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
23094 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
23095 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
23096 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
23097 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
23098 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
23099 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
23100 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
23101 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
23102 libm_alias_double_r.
23103 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
23104 (log): Likewise.
23105 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
23106 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
23107 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
23108 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
23109 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
23110 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
23111 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
23112 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
23113 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
23114 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
23115 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
23116 libm_alias_double.
23117 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
23118 (cos): Likewise.
23119 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
23120 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
23121 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
23122 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
23123 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
23124 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
23125 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
23126 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
23127 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
23128 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
23129 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
23130 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
23131 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
23132 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
23133 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
23134 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
23135 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
23136 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
23137 libm_alias_double.
23138 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
23139 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
23140 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
23141 * sysdeps/ia64/fpu/w_lgamma_main.c
23142 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
23143 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
23144
d5bfa34a
JDA
231452017-11-28 John David Anglin <danglin@gcc.gnu.org>
23146
23147 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
23148 address of $global$ into %dp register earlier. Use pc-relative
23149 instruction sequence for PIC case.
23150
bc4e8f9b
JM
231512017-11-28 Joseph Myers <joseph@codesourcery.com>
23152
e4602cba
JM
23153 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
23154 (asinhf): Define using libm_alias_float.
23155 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
23156 (atanf): Define using libm_alias_float.
23157 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
23158 (cbrtf): Define using libm_alias_float.
23159 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
23160 (ceilf): Define using libm_alias_float.
23161 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
23162 (copysignf): Define using libm_alias_float.
23163 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
23164 (expm1f): Define using libm_alias_float.
23165 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
23166 (fabsf): Define using libm_alias_float.
23167 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
23168 (floorf): Define using libm_alias_float.
23169 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23170 (fmaxf): Define using libm_alias_float.
23171 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
23172 (fminf): Define using libm_alias_float.
23173 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
23174 (frexpf): Define using libm_alias_float.
23175 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
23176 (llrintf): Define using libm_alias_float.
23177 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
23178 (logbf): Define using libm_alias_float.
23179 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
23180 (lrintf): Define using libm_alias_float.
23181 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
23182 (nearbyintf): Define using libm_alias_float.
23183 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
23184 (remquof): Define using libm_alias_float.
23185 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
23186 (rintf): Define using libm_alias_float.
23187 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
23188 (truncf): Define using libm_alias_float.
23189 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
23190 <libm-alias-float.h>.
23191 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23192 if [SHARED].
23193 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
23194 <libm-alias-float.h>.
23195 (expf): Define using libm_alias_float, or libm_alias_float_other
23196 if [SHARED].
23197 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
23198 <libm-alias-float.h>.
23199 (log2f): Define using libm_alias_float, or libm_alias_float_other
23200 if [SHARED].
23201 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
23202 <libm-alias-float.h>.
23203 (logf): Define using libm_alias_float, or libm_alias_float_other
23204 if [SHARED].
23205 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
23206 <libm-alias-float.h>.
23207 (powf): Define using libm_alias_float, or libm_alias_float_other
23208 if [SHARED].
23209 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
23210 <libm-alias-float.h>.
23211 (cosf): Define using libm_alias_float.
23212 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
23213 <libm-alias-float.h>.
23214 (sincosf): Define using libm_alias_float.
23215 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
23216 <libm-alias-float.h>.
23217 (sinf): Define using libm_alias_float.
23218 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23219 (fmaxf): Define using libm_alias_float.
23220 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
23221 (fminf): Define using libm_alias_float.
23222 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
23223 <libm-alias-float.h>.
23224 (fmaf): Define using libm_alias_float.
23225
bc4e8f9b
JM
23226 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
23227 (asinh): Define using libm_alias_double.
23228 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
23229 (atan): Define using libm_alias_double.
23230 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
23231 (cbrt): Define using libm_alias_double.
23232 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
23233 (ceil): Define using libm_alias_double.
23234 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
23235 (copysign): Define using libm_alias_double.
23236 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
23237 (expm1): Define using libm_alias_double.
23238 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
23239 (fabs): Define using libm_alias_double.
23240 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
23241 (fdim): Define using libm_alias_double.
23242 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
23243 (floor): Define using libm_alias_double.
23244 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
23245 (fmax): Define using libm_alias_double.
23246 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
23247 (fmin): Define using libm_alias_double.
23248 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
23249 (frexp): Define using libm_alias_double.
23250 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
23251 (llrint): Define using libm_alias_double.
23252 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
23253 (logb): Define using libm_alias_double.
23254 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
23255 (lrint): Define using libm_alias_double.
23256 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
23257 (nearbyint): Define using libm_alias_double.
23258 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
23259 (remquo): Define using libm_alias_double.
23260 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
23261 (rint): Define using libm_alias_double.
23262 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
23263 (trunc): Define using libm_alias_double.
23264 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
23265 (fmax): Define using libm_alias_double.
23266 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
23267 (fmin): Define using libm_alias_double.
23268 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
23269 (fma): Define using libm_alias_double.
23270
8d81ce0c
L
232712017-11-28 H.J. Lu <hongjiu.lu@intel.com>
23272
23273 [BZ #22370]
23274 * elf/dl-hwcaps.c (ROUND): Removed.
23275 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
23276 and ELF_NOTE_NEXT_OFFSET.
23277 * elf/dl-load.c (ROUND): Removed.
23278 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
23279 * elf/readelflib.c (ROUND): Removed.
23280 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
23281 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
23282 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
23283 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
23284
6940bd96
JM
232852017-11-28 Joseph Myers <joseph@codesourcery.com>
23286
313ba463
JM
23287 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
23288 [!__fmaf] (fmaf): Define using libm_alias_float.
23289
6940bd96
JM
23290 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
23291 [!__fma] (fma): Define using libm_alias_double.
23292 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
23293
22c69b6a
MF
232942017-11-28 Mike FABIAN <mfabian@redhat.com>
23295
23296 [BZ #22336]
23297 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
23298 and implement the collation rules for cs from CLDR on top of that.
23299 * Makefile: Add cs_CZ.UTF-8 to test-input.
23300 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
23301
8d7d3ba8
SP
233022017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
23303
23304 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
23305
0422ed1e
VR
233062017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
23307 Icarus Sparry <icarus.w.sparry@intel.com>
23308
23309 * benchtests/Makefile:Add BENCHSET to allow subsets of
23310 benchmarks to be run.
23311 * benchtests/README: Add documentation for: Running subsets of
23312 benchmarks.
23313
0595e360
VR
233142017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
23315
d5090db3
VR
23316 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
23317 range of tests names.
23318
0595e360
VR
23319 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
23320 result from property and remove "max", min" and "mean" from
23321 required properties based on benchtests/bench-skeleton.c.
23322
b4c645c2
FW
233232017-11-28 Florian Weimer <fweimer@redhat.com>
23324
23325 [BZ #20826]
23326 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
23327 due to Internet requirement.
23328 * posix/Makefile (tests): Remove tst-getaddrinfo4,
23329 tst-getaddrinfo5.
23330 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
23331
88684de7
AZ
233322017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23333
69056564
AZ
23334 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23335 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
23336 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
23337 (sysdep_routines): Add memset-ultra1.
23338 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
23339 file.
23340 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
23341 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
23342 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
23343 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
23344 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
23345 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
23346 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
23347 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23348
88684de7
AZ
23349 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
23350 file.
23351 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
23352 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
23353 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
23354 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
23355 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
23356 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
23357 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
23358 macro.
23359 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23360 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
23361 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
23362 (sysdep_routines): Add memcpy-ultra1.
23363 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
23364 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
23365
d8124864
JM
233662017-11-28 Joseph Myers <joseph@codesourcery.com>
23367
f433d0b3
JM
23368 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
23369 (cfloat_versions): Take function argument without trailing 'f'.
23370 Call libm_alias_float_other.
23371 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
23372 * sysdeps/alpha/fpu/cargf.c: Likewise.
23373 * sysdeps/alpha/fpu/cimagf.c: Likewise.
23374 * sysdeps/alpha/fpu/conjf.c: Likewise.
23375 * sysdeps/alpha/fpu/crealf.c: Likewise.
23376 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
23377 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
23378 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
23379 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
23380 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
23381 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
23382 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
23383 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
23384 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
23385 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
23386 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
23387 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
23388 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
23389 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
23390 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
23391 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
23392 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
23393 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
23394 (clog10f): Use libm_alias_float_other.
23395 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
23396 (ceilf): Define using libm_alias_float.
23397 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
23398 (copysignf): Define using libm_alias_float.
23399 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
23400 (fabsf): Define using libm_alias_float.
23401 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
23402 (floorf): Define using libm_alias_float.
23403 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
23404 (fmaxf): Define using libm_alias_float.
23405 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
23406 (fminf): Define using libm_alias_float.
23407 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
23408 (lrintf): Define using libm_alias_float.
23409 (llrintf): Likewise.
23410 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
23411 (lroundf): Define using libm_alias_float.
23412 (llroundf): Likewise.
23413 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
23414 (rintf): Define using libm_alias_float.
23415 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
23416 (truncf): Define using libm_alias_float.
23417
15ff4900
JM
23418 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
23419 (ceilf): Define using libm_alias_float.
23420 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
23421 (floorf): Define using libm_alias_float.
23422 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
23423 (fmaf): Define using libm_alias_float.
23424 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
23425 (fmaxf): Define using libm_alias_float.
23426 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
23427 (fminf): Define using libm_alias_float.
23428 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
23429 (llrintf): Define using libm_alias_float.
23430 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
23431 (llroundf): Define using libm_alias_float.
23432 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
23433 (lrintf): Define using libm_alias_float.
23434 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
23435 (lroundf): Define using libm_alias_float.
23436 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
23437 <libm-alias-float.h>.
23438 (nearbyintf): Define using libm_alias_float.
23439 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
23440 (rintf): Define using libm_alias_float.
23441 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
23442 (roundf): Define using libm_alias_float.
23443 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
23444 (truncf): Define using libm_alias_float.
23445
5de60638
JM
23446 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
23447 (ceil): Define using libm_alias_double.
23448 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
23449 (copysign): Define using libm_alias_double.
23450 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
23451 (fabs): Define using libm_alias_double.
23452 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
23453 (floor): Define using libm_alias_double.
23454 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
23455 (fmax): Define using libm_alias_double.
23456 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
23457 (fmin): Define using libm_alias_double.
23458 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
23459 (lrint): Define using libm_alias_double.
23460 (llrint): Likewise.
23461 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
23462 (lround): Define using libm_alias_double.
23463 (llround): Likewise.
23464 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
23465 (rint): Define using libm_alias_double.
23466 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
23467 (trunc): Define using libm_alias_double.
23468
d8124864
JM
23469 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
23470 (libm_alias_double_r): Add semicolon after weak_alias call.
23471
f07d2ec8
JM
234722017-11-27 Joseph Myers <joseph@codesourcery.com>
23473
23474 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
23475 (ceil): Define using libm_alias_double.
23476 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
23477 (floor): Define using libm_alias_double.
23478 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
23479 (fma): Define using libm_alias_double.
23480 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
23481 (fmax): Define using libm_alias_double.
23482 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
23483 (fmin): Define using libm_alias_double.
23484 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
23485 (llrint): Define using libm_alias_double.
23486 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
23487 (llround): Define using libm_alias_double.
23488 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
23489 (lrint): Define using libm_alias_double.
23490 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
23491 (lround): Define using libm_alias_double.
23492 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
23493 (nearbyint): Define using libm_alias_double.
23494 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
23495 (rint): Define using libm_alias_double.
23496 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
23497 (round): Define using libm_alias_double.
23498 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
23499 (trunc): Define using libm_alias_double.
23500
4bab0224
FW
235012017-11-27 Florian Weimer <fweimer@redhat.com>
23502
23503 * sysdeps/unix/sysv/linux/mlock2.c: New file.
23504 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
23505 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
23506 (tests): Add tst-mlock2.
23507 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
23508 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
23509 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
23510 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
23511 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
23512 for mlock. Document mlock2.
23513
a23aa5b7
JM
235142017-11-27 Joseph Myers <joseph@codesourcery.com>
23515
23516 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
23517 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
23518 Likewise.
23519 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
23520 Likewise.
23521 * sysdeps/x86/Makeconfig: New file.
23522 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
23523 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23524 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
23525 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23526 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23527 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23528 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
23529 Likewise.
23530 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23531 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23532 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23533 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23534 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23535 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23536 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23537 * manual/math.texi (Mathematics): Document support for _Float64x.
23538 * math/Versions (GLIBC_2.27): Add _Float64x functions.
23539 * stdlib/Versions (GLIBC_2.27): Likewise.
23540 * wcsmbs/Versions (GLIBC_2.27): Likewise.
23541 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23542 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23543 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23544 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23545 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23546 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23547 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23548 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23549 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23550 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23551 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
23553 Likewise.
23554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23555 Likewise.
23556 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23557 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23558 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23559 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23560 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23561 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23562 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23563 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23564 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23565 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23566 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23567 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23568 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23569 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23570
c2c299fd
AS
235712017-11-27 Andreas Schwab <schwab@suse.de>
23572
23573 * elf/Makefile (dl-routines): Add dl-sort-maps.
23574 * elf/dl-sort-maps.c: New file.
23575 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
23576 (_dl_sort_maps): Declare.
23577 * elf/dl-fini.c (_dl_sort_fini): Remove.
23578 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
23579 * elf/dl-close.c (_dl_close_worker): Likewise.
23580 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
23581 open-coding it.
23582 * elf/dl-open.c (dl_open_worker): Likewise.
23583
9d4b0117
JM
235842017-11-24 Joseph Myers <joseph@codesourcery.com>
23585
de61465c
JM
23586 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
23587 using libm_alias_float128.
23588 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
23589 Likewise.
23590 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
23591 Likewise.
23592 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
23593 (setpayloadsigf128): Likewise.
23594 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
23595 Likewise.
23596 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
23597 Likewise.
23598
9ae6d171
JM
23599 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
23600 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
23601 -mfloat128 to CFLAGS.
23602 ($(foreach
23603 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
23604 Likewise.
23605 (CFLAGS-libm-test-support-float64x.c): New variable.
23606 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
23607 $(f128-loader-link) to gnulib-tests.
23608
6e70d156
JM
23609 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
23610 (libm_alias_float128_other_r): If
23611 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
23612 alias.
23613 (libm_alias_float128_r): Add semicolon after weak_alias call.
23614 * sysdeps/generic/libm-alias-ldouble.h
23615 (libm_alias_ldouble_other_r_f128): New macro.
23616 (libm_alias_ldouble_other_r_f64x): Likewise.
23617 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
23618 and libm_alias_ldouble_other_r_f64x.
23619 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
23620 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
23621 (libm_alias_ldouble_other_r_f128): New macro.
23622 (libm_alias_ldouble_other_r_f64x): Likewise.
23623 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
23624 and libm_alias_ldouble_other_r_f64x.
23625
df2806cd
JM
23626 * stdlib/strfroml.c: Always include <stdlib.h>.
23627 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
23628 undefine as macro and define as weak alias.
23629 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
23630 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
23631 <stdlib.h>.
23632 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
23633 Define and later undefine as macro and define as weak alias.
23634
0df4fe35
JM
23635 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
23636 Define and later undefine as macro. Define as weak alias if
23637 [!USE_WIDE_CHAR].
23638 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
23639 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23640 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
23641 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
23642 Define and later undefine as macro. Define as weak alias if
23643 [!USE_WIDE_CHAR].
23644 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
23645 Define and later undefine as macro. Define as weak alias if
23646 [USE_WIDE_CHAR].
23647 * sysdeps/ieee754/float128/strtof128_l.c
23648 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
23649 Define and later undefine as macro. Define as weak alias if
23650 [!USE_WIDE_CHAR].
23651 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
23652 Define and later undefine as macro. Define as weak alias if
23653 [USE_WIDE_CHAR].
23654 * sysdeps/ieee754/ldbl-128/strtold_l.c
23655 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23656 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23657 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23658 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23659 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
23660 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23661 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23662 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23663 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23664 * sysdeps/ieee754/ldbl-96/strtold_l.c
23665 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23666 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23667 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23668 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23669
ae7207d0
JM
23670 * math/test-float64x.h: New file.
23671 * math/Makefile (type-float64x-yes): New variable.
23672 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
23673
9596fc69
JM
23674 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
23675 function-like macro.
23676 (min_of_type_): Likewise.
23677 (min_of_type_l): Likewise.
23678 (min_of_type_f128): Likewise.
23679 (min_of_type): Pass () as last argument of __MATH_TG.
23680
46453c3c
JM
23681 * stdlib/tst-strtod-round-skeleton.c
23682 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
23683 headers.
23684
01e659e7
JM
23685 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
23686 for combinations of long double with _Float64 and _Float64x.
23687
5c60afdd
JM
23688 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
23689 (__DECL_SIMD_cosf32): Likewise.
23690 (__DECL_SIMD_cosf64): Likewise.
23691 (__DECL_SIMD_cosf32x): Likewise.
23692 (__DECL_SIMD_cosf64x): Likewise.
23693 (__DECL_SIMD_cosf128x): Likewise.
23694 (__DECL_SIMD_sinf16): Likewise.
23695 (__DECL_SIMD_sinf32): Likewise.
23696 (__DECL_SIMD_sinf64): Likewise.
23697 (__DECL_SIMD_sinf32x): Likewise.
23698 (__DECL_SIMD_sinf64x): Likewise.
23699 (__DECL_SIMD_sinf128x): Likewise.
23700 (__DECL_SIMD_sincosf16): Likewise.
23701 (__DECL_SIMD_sincosf32): Likewise.
23702 (__DECL_SIMD_sincosf64): Likewise.
23703 (__DECL_SIMD_sincosf32x): Likewise.
23704 (__DECL_SIMD_sincosf64x): Likewise.
23705 (__DECL_SIMD_sincosf128x): Likewise.
23706 (__DECL_SIMD_logf16): Likewise.
23707 (__DECL_SIMD_logf32): Likewise.
23708 (__DECL_SIMD_logf64): Likewise.
23709 (__DECL_SIMD_logf32x): Likewise.
23710 (__DECL_SIMD_logf64x): Likewise.
23711 (__DECL_SIMD_logf128x): Likewise.
23712 (__DECL_SIMD_expf16): Likewise.
23713 (__DECL_SIMD_expf32): Likewise.
23714 (__DECL_SIMD_expf64): Likewise.
23715 (__DECL_SIMD_expf32x): Likewise.
23716 (__DECL_SIMD_expf64x): Likewise.
23717 (__DECL_SIMD_expf128x): Likewise.
23718 (__DECL_SIMD_powf16): Likewise.
23719 (__DECL_SIMD_powf32): Likewise.
23720 (__DECL_SIMD_powf64): Likewise.
23721 (__DECL_SIMD_powf32x): Likewise.
23722 (__DECL_SIMD_powf64x): Likewise.
23723 (__DECL_SIMD_powf128x): Likewise.
23724
9d4b0117
JM
23725 * stdlib/Versions (libc): Move entries for wcstof128 and
23726 wcstof128_l to ....
23727 * wcsmbs/Versions (libc): ... here.
23728 Include <float128-abi.h>.
23729
7911dd47
FW
237302017-11-24 Florian Weimer <fweimer@redhat.com>
23731
23732 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23733 bits/mman-shared.h.
23734 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
23735 <bits/mman-shared.h>.
23736 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
23737 to ...
23738 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
23739 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
23740 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
23741 <bits/mman-shared.h>.
23742
c45d78aa
AZ
237432017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23744
23745 [BZ #22457]
23746 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
23747 posix_memalign/free.
23748 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
23749
3ffc4cc1
MF
237502017-11-22 Mike FABIAN <mfabian@redhat.com>
23751
23752 [BZ #22469]
23753 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
23754 and implement the collation rules for pl from CLDR on top of that.
23755 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
23756 of locales to be built for testing.
23757 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
23758
3a327316
JM
237592017-11-23 Joseph Myers <joseph@codesourcery.com>
23760
23761 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
23762 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
23763 libm_alias_ldouble_other.
23764 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
23765 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
23766 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
23767 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
23768 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
23769 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
23770 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
23771 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
23772 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
23773 libm_alias_ldouble_r.
23774 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
23775 libm_alias_ldouble_other.
23776 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
23777 (log10l): Likewise.
23778 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
23779 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
23780 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
23781 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
23782 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
23783 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
23784 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
23785 (atan2l): Likewise.
23786 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
23787 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
23788 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
23789 libm_alias_ldouble.
23790 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
23791 (cosl): Likewise.
23792 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
23793 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
23794 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
23795 (expl): Likewise.
23796 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
23797 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
23798 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
23799 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
23800 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
23801 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
23802 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
23803 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
23804 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
23805 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
23806 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
23807 libm_alias_ldouble.
23808 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
23809 libm_alias_ldouble_other.
23810 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
23811 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
23812 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
23813 libm_alias_ldouble.
23814 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
23815 libm_alias_ldouble_other.
23816 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
23817 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
23818 * sysdeps/ia64/fpu/w_lgammal_main.c
23819 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
23820 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
23821
0a947e06
FW
238222017-11-23 Florian Weimer <fweimer@redhat.com>
23823
23824 * malloc/malloc.c (tcache_thread_shutdown): Rename from
23825 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
23826 alike. Remove freeres marker.
23827 * malloc/arena.c (arena_thread_freeres): Call
23828 tcache_thread_shutdown.
23829
67f36c79
FW
238302017-11-23 Florian Weimer <fweimer@redhat.com>
23831
23832 [BZ #22459]
23833 Export nscd hash function as __nss_hash.
23834 * include/nss.h (__nss_hash): Declare.
23835 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
23836 symbol.
23837 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
23838 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
23839 of __nscd_hash.
23840 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
23841 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
23842 * nss/Makefiles (routines): Add nss_hash.
23843 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
23844 * nss/nss_hash.c: Rename from nis/nis_hash.c.
23845 (__nss_hash): Rename from __nis_hash. Define hidden alias.
23846 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
23847
cccb6d4e
FW
238482017-11-23 Florian Weimer <fweimer@redhat.com>
23849
23850 [BZ #22478]
23851 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
23852 Return error code, not -1.
23853 * signal/tst-sigwait-eintr.c: New file.
23854 * signal/Makefile (tests): Add tst-sigwait-eintr.
23855
59d2cbb1
FW
238562017-11-23 Florian Weimer <fweimer@redhat.com>
23857
23858 Linux: Add memfd_create system call wrapper
23859 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
23860 tst-memfd_create.
23861 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
23862 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
23863 [__USE_GNU] (memfd_create): Declare.
23864 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
23865 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
23866 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
23867 * sysdeps/unix/sysv/linux/**.abilist: Update.
23868 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
23869
a90d1ac2
JM
238702017-11-22 Joseph Myers <joseph@codesourcery.com>
23871
0a9d1d62
JM
23872 * localedata/gen-locale.sh: Fix typo in variable name.
23873
754034c4
JM
23874 * resolv/res_debug.c (p_secstodate): Condition definition on
23875 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
23876 directly as __p_secstodate, and as a compat symbol. Do not use
23877 libresolv_hidden_def.
23878 * resolv/resolv.h (p_secstodate): Remove macro and function
23879 declaration.
23880 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
23881 using p_secstodate.
23882 * include/resolv.h (__p_secstodate): Do not use
23883 libresolv_hidden_proto.
23884 * resolv/Makefile (tests): Move tst-p_secstodate to ....
23885 (tests-internal): ... here.
23886 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
23887 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
23888 and declare and use __p_secstodate and use compat_symbol_reference
23889 in that case.
23890 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
23891 implementation returning 77.
23892
f120cda6
JM
23893 [BZ #22463]
23894 * resolv/res_debug.c: Include <libc-diag.h>.
23895 (p_secstodate): Assert time_t at least as wide as u_long. On
23896 overflow, use integer seconds since the epoch as output, or use
23897 "<overflow>" as output and set errno to EOVERFLOW if integer
23898 seconds since the epoch would be 14 or more characters.
23899 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
23900 for sprintf call.
23901 * resolv/tst-p_secstodate.c: New file.
23902 * resolv/Makefile (tests): Add tst-p_secstodate.
23903 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
23904
a90d1ac2
JM
23905 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
23906 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
23907 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
23908
0285e6bd
PE
239092017-11-22 Paul Eggert <eggert@cs.ucla.edu>
23910
23911 * posix/regcomp.c (init_word_char): Add comments.
23912
4bae6150
JM
239132017-11-22 Joseph Myers <joseph@codesourcery.com>
23914
23915 [BZ #22447]
23916 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
23917 strlen to compute length of ut_user and set trailing NUL byte of
23918 result explicitly.
23919
4b7af5fc
MF
239202017-11-21 Mike FABIAN <mfabian@redhat.com>
23921
23922 [BZ #15537]
23923 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
23924 using “copy "iso14651_t1"” and then implementing the
23925 collation rules for lv from CLDR on top of that.
23926 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
23927 of locales to be built for testing.
23928 * lv_LV.UTF-8.in: New file with test data to test the Latvian
23929 sorting.
23930
922bb78c
JM
239312017-11-21 Joseph Myers <joseph@codesourcery.com>
23932
23933 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
23934 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
23935 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
23936 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
23937 [__USE_MISC] (MADV_HWPOISON): New macro.
23938 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
23939
a3aaa598
AZ
239402017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23941
23942 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
23943 -Wmissing-braces on GCC 4.9.
23944
8beba15d
SL
239452017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
23946
23947 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
23948 * sysdeps/s390/s390-32/start.S (_start): Likewise
23949 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
23950 (thread_start): Likewise.
23951 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
23952 (thread_start): Likewise.
23953 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
23954 (__makecontext_ret): Likewise.
23955 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
23956 (__makecontext_ret): Likewise.
23957
80eb52e3
SL
239582017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
23959
23960 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
23961 __wcschrnul): Remove attribute_hidden.
23962
567d8c1f
PE
239632017-11-20 Paul Eggert <eggert@cs.ucla.edu>
23964
23965 regex: don't assume uint64_t or uint32_t
23966 This avoids -Werror=overflow errors for 32-bit systems in
23967 the 64-bit case. Problem reported by Joseph Myers in:
23968 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
23969 Also, when this code is used in Gnulib it ports to platforms
23970 that lack uint64_t and uint32_t. The C standard doesn't guarantee
23971 them, and on some 32-bit compilers there is no uint64_t.
23972 Problem reported by Gianluigi Tiesi in:
23973 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
23974 * posix/regcomp.c (init_word_char): Don't assume that the types
23975 uint64_t and uint32_t exist. Adapted from Gnulib patch
23976 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
23977 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
23978
4d7632ff
SP
239792017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
23980
5a67c4fa
SP
23981 * sysdeps/aarch64/memset-reg.h: New file.
23982 * sysdeps/aarch64/memset.S: Use it.
23983 (__memset): Rename to MEMSET macro.
23984 [ZVA_MACRO]: Use zva_macro.
23985 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
23986 Add memset_generic and memset_falkor.
23987 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
23988 (__libc_ifunc_impl_list): Add memset ifuncs.
23989 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
23990 local variable zva_size.
23991 * sysdeps/aarch64/multiarch/memset.c: New file.
23992 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
23993 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
23994 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
23995 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
23996 (DCZID_DZP_MASK): New macro.
23997 (DCZID_BS_MASK): Likewise.
23998 (init_cpu_features): Read and set zva_size.
23999 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
24000 (struct cpu_features): New member zva_size.
24001
eb332f9f
SP
24002 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
24003 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
24004 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
24005
4d7632ff
SP
24006 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
24007 backwards. Fix timing computation.
24008 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
24009 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
24010 on memset by N at a time. Fix timing computation.
24011
a465b89e
FW
240122017-11-20 Florian Weimer <fweimer@redhat.com>
24013
24014 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
24015 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
24016
0f74bbf5
FW
240172017-11-19 Florian Weimer <fweimer@redhat.com>
24018
24019 manual: Document mprotect
24020 * manual/memory.texi (Memory Protection): New section.
24021 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
24022 documentation of PROT_* flags and reference the Memory Protection
24023 section instead.
24024
f6e965ee
FW
240252017-11-19 Florian Weimer <fweimer@redhat.com>
24026
24027 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
24028 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
24029 (Scatter-Gather): ... to here. Remove misleading comment.
24030
363e4519 240312017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
ea69a5c8 24032
5f9d1949
CB
24033 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
24034 style.
24035
ea69a5c8
CB
24036 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
24037 when /proc/<pid>/setgroups does not exist.
24038
8db7f48c
FW
240392017-11-18 Florian Weimer <fweimer@redhat.com>
24040
24041 * sysdeps/unix/sysv/linux/tst-ttyname.c
24042 (become_root_in_mount_ns): Remove.
24043 (do_in_chroot_1): Call support_enter_mount_namespace.
24044 (do_in_chroot_2): Likewise.
24045 (do_test): Call support_become_root early.
24046
273a0c49
FW
240472017-11-18 Florian Weimer <fweimer@redhat.com>
24048
24049 * support/namespace.h (support_enter_mount_namespace): Declare.
24050 * support/support_enter_mount_namespace.c: New file.
24051 * support/Makefile (libsupport-routines): Add
24052 support_enter_mount_namespace.
24053
8adfb0ee
FW
240542017-11-18 Florian Weimer <fweimer@redhat.com>
24055
24056 * support/temp_file.c (support_create_temp_directory): Use
24057 test_dir and do not rely on the presence of the XXXXXX suffix.
24058 * support/temp_file.h (support_create_temp_directory): Update
24059 comment.
24060 * support/tst-xreadlink.c (do_test): Adjust.
24061 * support/support_chroot.c (support_chroot_create): Likewise.
24062
df0c40ee
TMQMF
240632017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24064
24065 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
24066 macro.
24067 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
24068 htm-no-suspend.
24069
015c6dc2
JM
240702017-11-17 Joseph Myers <joseph@codesourcery.com>
24071
f58e5f48
JM
24072 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
24073 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
24074 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
24075 (ceill): Define using libm_alias_ldouble.
24076 * sysdeps/x86_64/fpu/s_copysignl.S: Include
24077 <libm-alias-ldouble.h>.
24078 (copysignl): Define using libm_alias_ldouble.
24079 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
24080 (fabsl): Define using libm_alias_ldouble.
24081 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
24082 (floorl): Define using libm_alias_ldouble.
24083 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24084 (fmaxl): Define using libm_alias_ldouble.
24085 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24086 (fminl): Define using libm_alias_ldouble.
24087 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
24088 (llrintl): Define using libm_alias_ldouble.
24089 (lrintl): Likewise.
24090 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
24091 <libm-alias-ldouble.h>.
24092 (nearbyintl): Define using libm_alias_ldouble.
24093 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
24094 (truncl): Define using libm_alias_ldouble.
24095 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
24096 <libm-alias-ldouble.h>.
24097 (lrintl): Define using libm_alias_ldouble.
24098
2ce30701
JM
24099 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
24100 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
24101 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
24102 (asinhl): Define using libm_alias_ldouble.
24103 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
24104 (atanl): Define using libm_alias_ldouble.
24105 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
24106 (cbrtl): Define using libm_alias_ldouble.
24107 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
24108 (ceill): Define using libm_alias_ldouble.
24109 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
24110 (copysignl): Define using libm_alias_ldouble.
24111 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
24112 (fabsl): Define using libm_alias_ldouble.
24113 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
24114 (floorl): Define using libm_alias_ldouble.
24115 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24116 (fmaxl): Define using libm_alias_ldouble.
24117 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24118 (fminl): Define using libm_alias_ldouble.
24119 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
24120 (frexpl): Define using libm_alias_ldouble.
24121 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
24122 (llrintl): Define using libm_alias_ldouble.
24123 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
24124 (logbl): Define using libm_alias_ldouble.
24125 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
24126 (lrintl): Define using libm_alias_ldouble.
24127 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
24128 (nearbyintl): Define using libm_alias_ldouble.
24129 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
24130 (nextafterl): Define using libm_alias_ldouble.
24131 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
24132 (remquol): Define using libm_alias_ldouble.
24133 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
24134 (rintl): Define using libm_alias_ldouble.
24135 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
24136 (truncl): Define using libm_alias_ldouble.
24137 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24138 (fmaxl): Define using libm_alias_ldouble.
24139 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24140 (fminl): Define using libm_alias_ldouble.
24141
015c6dc2
JM
24142 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
24143 to C syntax instead of availability and properties of types.
24144 * bits/floatn.h [!__ASSEMBLER]: Likewise.
24145 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
24146 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
24147 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
24148 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
24149 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
24150
ce003e5d
FW
241512017-11-17 Florian Weimer <fweimer@redhat.com>
24152
24153 support_become_root: Enable file creation in namespaces.
24154 * support/support_become_root.c (setup_mapping): New function.
24155 (support_become_root): Call it.
24156
e7df6c5c
JM
241572017-11-17 Joseph Myers <joseph@codesourcery.com>
24158
24159 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
24160 macro.
24161
58a813bf
AZ
241622017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24163
24164 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
24165 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
24166
f97773d1
JM
241672017-11-16 Joseph Myers <joseph@codesourcery.com>
24168
6a6aa1f3
JM
24169 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
24170
f97773d1
JM
24171 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
24172 version to 4.14.
24173
a306c790
SP
241742017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
24175
7b0fb870
SP
24176 * INSTALL: Fix botched up regeneration.
24177
24178 * NEWS: Update sourceare link to https.
a306c790
SP
24179 * configure.ac: Likewise.
24180 * crypt/md5test-giant.c: Likewise.
24181 * dlfcn/bug-atexit1.c: Likewise.
24182 * dlfcn/bug-atexit2.c: Likewise.
24183 * localedata/README: Likewise.
24184 * malloc/tst-mallocfork.c: Likewise.
24185 * manual/install.texi: Likewise.
24186 * nptl/tst-pthread-getattr.c: Likewise.
24187 * stdio-common/tst-fgets.c: Likewise.
24188 * stdio-common/tst-fwrite.c: Likewise.
24189 * sunrpc/Makefile: Likewise.
24190 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
24191 * wcsmbs/tst-mbrtowc2.c: Likewise.
7b0fb870
SP
24192 * configure: Regenerate.
24193 * INSTALL: Regenerate.
a306c790 24194
7532837d
MS
241952017-11-15 Martin Sebor <msebor@redhat.com>
24196
24197 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
24198 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
24199 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
24200
495a56fd
LS
242012017-11-15 Luke Shumaker <lukeshu@parabola.nu>
24202
d9611e30
LS
24203 [BZ #22145]
24204 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
24205 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
24206
a09dfc19
LS
24207 [BZ #22145]
24208 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
24209 Defer is_pty check until end of the function.
24210 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24211
2fbce9c2
LS
24212 [BZ #22145]
24213 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
24214 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
24215 (ttyname): Likewise.
24216 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
24217 (__ttyname_r): Likewise.
24218
d10d6cab
LS
24219 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
24220 int to bool.
24221
9b5a8750
LS
24222 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
24223
495a56fd
LS
24224 * manual/terminal.texi (Is It a Terminal):
24225 Mention ENODEV for ttyname and ttyname_r.
24226
fa680dc6
JM
242272017-11-15 Joseph Myers <joseph@codesourcery.com>
24228
78cde19f
JM
24229 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
24230 constant and macro.
24231
fa680dc6
JM
24232 * sysdeps/unix/sysv/linux/bits/mman-linux.h
24233 [__USE_MISC] (MADV_WIPEONFORK): New macro.
24234 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
24235 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
24236 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
24237 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
24238
ad4f43a2
AZ
242392017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24240
1ba1d8a4
AZ
24241 * signal/sigrelse.c (sigrelse): Optimize implementation.
24242
ad4f43a2
AZ
24243 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
24244 (__sigpause): Rely on __sigsuspend to implement single thread
24245 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
24246
d0212d42
JM
242472017-11-15 Joseph Myers <joseph@codesourcery.com>
24248
24249 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
24250 kernel version to 4.14.
24251
2180fee1
SE
242522017-11-15 Steve Ellcey <sellcey@cavium.com>
24253
24254 [BZ #22442]
24255 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
24256 Check if ifname is too long.
24257
cad7ca39
LS
242582017-11-15 Luke Shumaker <lukeshu@parabola.nu>
24259
24260 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
24261
58c9f659
MF
242622017-11-15 Mike FABIAN <mfabian@redhat.com>
24263
24264 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
24265 was accidentally lost.
24266
0fa87c01
MF
242672017-11-15 Mike FABIAN <mfabian@redhat.com>
24268
24269 * localedata/locales/az_IR: Add standard copyright header.
24270
34eb4157
FW
242712017-11-15 Florian Weimer <fweimer@redhat.com>
24272
24273 [BZ #22439]
24274 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
24275 not just the top one. Output a new "subheaps" statistic.
24276
7a9368a1
FW
242772017-11-15 Florian Weimer <fweimer@redhat.com>
24278
24279 [BZ #22408]
24280 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
24281 under the per-arena lock.
24282 * malloc/Makefile (tests): Add tst-malloc_info.
24283 (tst-malloc_info): Link with libpthread.
24284 * malloc/tst-malloc_info.c: New file.
24285
be3a79a3
JM
242862017-11-15 Joseph Myers <joseph@codesourcery.com>
24287
24288 [BZ #21660]
24289 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
24290 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
24291 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
24292 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
24293 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
24294 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
24295 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
24296 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
24297 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
24298 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
24299 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
24300 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
24301 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
24302 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
24303 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
24304 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
24305 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
24306 (__floating_type): Likewise.
24307 (__real_integer_type): Likewise.
24308 (__complex_integer_type): Likewise.
24309 (__expr_is_real): Likewise.
24310 (__tgmath_real_type_sub): Likewise.
24311 (__tgmath_real_type): Likewise.
24312 (__tgmath_complex_type_sub): Likewise.
24313 (__tgmath_complex_type): Likewise.
24314 (__TGMATH_F128): Likewise.
24315 (__TGMATH_CF128): Likewise.
24316 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
24317 new macros.
24318 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
24319 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
24320 Likewise.
24321 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
24322 Likewise.
24323 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
24324 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
24325 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
24326 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
24327 Likewise.
24328 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
24329 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
24330 Likewise.
24331 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
24332 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
24333 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
24334 Likewise.
24335 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
24336 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
24337 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
24338 (cimag): Likewise.
24339 (creal): Likewise.
24340
ec72135e
JM
243412017-11-14 Joseph Myers <joseph@codesourcery.com>
24342
2e64ec9c
JM
24343 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
24344 for stpncpy calls for GCC 8.
24345 (test_strncat): Disable -Wstringop-truncation warning for strncat
24346 calls for GCC 8. Disable -Wstringop-overflow= warning for one
24347 strncat call for GCC 7.
24348 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
24349 calls for GCC 8.
24350 (test_memcmp): Use memcpy instead of strncpy for calls not copying
24351 trailing NUL.
24352
ec72135e
JM
24353 * string/bug-strncat1.c: Include <libc-diag.h>.
24354 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
24355
363e4519 243562017-11-13 Claude Paroz <claude@2xlibre.net>
a259f5d3
CP
24357
24358 [BZ #22387]
24359 * localedata/locales/aa_DJ: Improved readibility by replacing
24360 <Uxxxx> sequences in the ASCII printable range by their ASCII
24361 character equivalents.
24362 * localedata/locales/aa_ER: Likewise.
24363 * localedata/locales/aa_ER@saaho: Likewise.
24364 * localedata/locales/aa_ET: Likewise.
24365 * localedata/locales/af_ZA: Likewise.
24366 * localedata/locales/agr_PE: Likewise.
24367 * localedata/locales/ak_GH: Likewise.
24368 * localedata/locales/am_ET: Likewise.
24369 * localedata/locales/anp_IN: Likewise.
24370 * localedata/locales/ar_AE: Likewise.
24371 * localedata/locales/ar_BH: Likewise.
24372 * localedata/locales/ar_DZ: Likewise.
24373 * localedata/locales/ar_EG: Likewise.
24374 * localedata/locales/ar_IN: Likewise.
24375 * localedata/locales/ar_IQ: Likewise.
24376 * localedata/locales/ar_JO: Likewise.
24377 * localedata/locales/ar_KW: Likewise.
24378 * localedata/locales/ar_LB: Likewise.
24379 * localedata/locales/ar_LY: Likewise.
24380 * localedata/locales/ar_MA: Likewise.
24381 * localedata/locales/ar_OM: Likewise.
24382 * localedata/locales/ar_QA: Likewise.
24383 * localedata/locales/ar_SA: Likewise.
24384 * localedata/locales/ar_SD: Likewise.
24385 * localedata/locales/ar_SS: Likewise.
24386 * localedata/locales/ar_SY: Likewise.
24387 * localedata/locales/ar_TN: Likewise.
24388 * localedata/locales/ar_YE: Likewise.
24389 * localedata/locales/as_IN: Likewise.
24390 * localedata/locales/ast_ES: Likewise.
24391 * localedata/locales/ayc_PE: Likewise.
24392 * localedata/locales/az_AZ: Likewise.
24393 * localedata/locales/az_IR: Likewise.
24394 * localedata/locales/be_BY: Likewise.
24395 * localedata/locales/be_BY@latin: Likewise.
24396 * localedata/locales/bem_ZM: Likewise.
24397 * localedata/locales/ber_DZ: Likewise.
24398 * localedata/locales/ber_MA: Likewise.
24399 * localedata/locales/bg_BG: Likewise.
24400 * localedata/locales/bhb_IN: Likewise.
24401 * localedata/locales/bho_IN: Likewise.
24402 * localedata/locales/bi_VU: Likewise.
24403 * localedata/locales/bn_BD: Likewise.
24404 * localedata/locales/bn_IN: Likewise.
24405 * localedata/locales/bo_CN: Likewise.
24406 * localedata/locales/bo_IN: Likewise.
24407 * localedata/locales/br_FR: Likewise.
24408 * localedata/locales/brx_IN: Likewise.
24409 * localedata/locales/bs_BA: Likewise.
24410 * localedata/locales/byn_ER: Likewise.
24411 * localedata/locales/ca_AD: Likewise.
24412 * localedata/locales/ca_ES: Likewise.
24413 * localedata/locales/ca_FR: Likewise.
24414 * localedata/locales/ca_IT: Likewise.
24415 * localedata/locales/ce_RU: Likewise.
24416 * localedata/locales/chr_US: Likewise.
24417 * localedata/locales/cmn_TW: Likewise.
24418 * localedata/locales/crh_UA: Likewise.
24419 * localedata/locales/cs_CZ: Likewise.
24420 * localedata/locales/csb_PL: Likewise.
24421 * localedata/locales/cv_RU: Likewise.
24422 * localedata/locales/cy_GB: Likewise.
24423 * localedata/locales/da_DK: Likewise.
24424 * localedata/locales/de_AT: Likewise.
24425 * localedata/locales/de_BE: Likewise.
24426 * localedata/locales/de_CH: Likewise.
24427 * localedata/locales/de_DE: Likewise.
24428 * localedata/locales/de_IT: Likewise.
24429 * localedata/locales/de_LI: Likewise.
24430 * localedata/locales/de_LU: Likewise.
24431 * localedata/locales/doi_IN: Likewise.
24432 * localedata/locales/dv_MV: Likewise.
24433 * localedata/locales/dz_BT: Likewise.
24434 * localedata/locales/el_CY: Likewise.
24435 * localedata/locales/el_GR: Likewise.
24436 * localedata/locales/en_AG: Likewise.
24437 * localedata/locales/en_AU: Likewise.
24438 * localedata/locales/en_BW: Likewise.
24439 * localedata/locales/en_CA: Likewise.
24440 * localedata/locales/en_DK: Likewise.
24441 * localedata/locales/en_GB: Likewise.
24442 * localedata/locales/en_HK: Likewise.
24443 * localedata/locales/en_IE: Likewise.
24444 * localedata/locales/en_IL: Likewise.
24445 * localedata/locales/en_IN: Likewise.
24446 * localedata/locales/en_NG: Likewise.
24447 * localedata/locales/en_NZ: Likewise.
24448 * localedata/locales/en_PH: Likewise.
24449 * localedata/locales/en_SG: Likewise.
24450 * localedata/locales/en_US: Likewise.
24451 * localedata/locales/en_ZA: Likewise.
24452 * localedata/locales/en_ZM: Likewise.
24453 * localedata/locales/en_ZW: Likewise.
24454 * localedata/locales/eo: Likewise.
24455 * localedata/locales/es_AR: Likewise.
24456 * localedata/locales/es_BO: Likewise.
24457 * localedata/locales/es_CL: Likewise.
24458 * localedata/locales/es_CO: Likewise.
24459 * localedata/locales/es_CR: Likewise.
24460 * localedata/locales/es_CU: Likewise.
24461 * localedata/locales/es_DO: Likewise.
24462 * localedata/locales/es_EC: Likewise.
24463 * localedata/locales/es_ES: Likewise.
24464 * localedata/locales/es_GT: Likewise.
24465 * localedata/locales/es_HN: Likewise.
24466 * localedata/locales/es_MX: Likewise.
24467 * localedata/locales/es_NI: Likewise.
24468 * localedata/locales/es_PA: Likewise.
24469 * localedata/locales/es_PE: Likewise.
24470 * localedata/locales/es_PR: Likewise.
24471 * localedata/locales/es_PY: Likewise.
24472 * localedata/locales/es_SV: Likewise.
24473 * localedata/locales/es_US: Likewise.
24474 * localedata/locales/es_UY: Likewise.
24475 * localedata/locales/es_VE: Likewise.
24476 * localedata/locales/et_EE: Likewise.
24477 * localedata/locales/eu_ES: Likewise.
24478 * localedata/locales/eu_ES@euro: Likewise.
24479 * localedata/locales/fa_IR: Likewise.
24480 * localedata/locales/ff_SN: Likewise.
24481 * localedata/locales/fi_FI: Likewise.
24482 * localedata/locales/fil_PH: Likewise.
24483 * localedata/locales/fo_FO: Likewise.
24484 * localedata/locales/fr_BE: Likewise.
24485 * localedata/locales/fr_CA: Likewise.
24486 * localedata/locales/fr_CH: Likewise.
24487 * localedata/locales/fr_FR: Likewise.
24488 * localedata/locales/fr_LU: Likewise.
24489 * localedata/locales/fur_IT: Likewise.
24490 * localedata/locales/fy_DE: Likewise.
24491 * localedata/locales/fy_NL: Likewise.
24492 * localedata/locales/ga_IE: Likewise.
24493 * localedata/locales/gd_GB: Likewise.
24494 * localedata/locales/gez_ER: Likewise.
24495 * localedata/locales/gez_ET: Likewise.
24496 * localedata/locales/gl_ES: Likewise.
24497 * localedata/locales/gu_IN: Likewise.
24498 * localedata/locales/gv_GB: Likewise.
24499 * localedata/locales/ha_NG: Likewise.
24500 * localedata/locales/hak_TW: Likewise.
24501 * localedata/locales/he_IL: Likewise.
24502 * localedata/locales/hi_IN: Likewise.
24503 * localedata/locales/hif_FJ: Likewise.
24504 * localedata/locales/hne_IN: Likewise.
24505 * localedata/locales/hr_HR: Likewise.
24506 * localedata/locales/hsb_DE: Likewise.
24507 * localedata/locales/ht_HT: Likewise.
24508 * localedata/locales/hu_HU: Likewise.
24509 * localedata/locales/hy_AM: Likewise.
24510 * localedata/locales/i18n: Likewise.
24511 * localedata/locales/ia_FR: Likewise.
24512 * localedata/locales/id_ID: Likewise.
24513 * localedata/locales/ig_NG: Likewise.
24514 * localedata/locales/ik_CA: Likewise.
24515 * localedata/locales/is_IS: Likewise.
24516 * localedata/locales/it_CH: Likewise.
24517 * localedata/locales/it_IT: Likewise.
24518 * localedata/locales/iu_CA: Likewise.
24519 * localedata/locales/ja_JP: Likewise.
24520 * localedata/locales/ka_GE: Likewise.
24521 * localedata/locales/kk_KZ: Likewise.
24522 * localedata/locales/kl_GL: Likewise.
24523 * localedata/locales/kn_IN: Likewise.
24524 * localedata/locales/ko_KR: Likewise.
24525 * localedata/locales/kok_IN: Likewise.
24526 * localedata/locales/ks_IN: Likewise.
24527 * localedata/locales/ks_IN@devanagari: Likewise.
24528 * localedata/locales/ku_TR: Likewise.
24529 * localedata/locales/kw_GB: Likewise.
24530 * localedata/locales/ky_KG: Likewise.
24531 * localedata/locales/lb_LU: Likewise.
24532 * localedata/locales/lg_UG: Likewise.
24533 * localedata/locales/li_BE: Likewise.
24534 * localedata/locales/li_NL: Likewise.
24535 * localedata/locales/lij_IT: Likewise.
24536 * localedata/locales/ln_CD: Likewise.
24537 * localedata/locales/lo_LA: Likewise.
24538 * localedata/locales/lt_LT: Likewise.
24539 * localedata/locales/lv_LV: Likewise.
24540 * localedata/locales/lzh_TW: Likewise.
24541 * localedata/locales/mag_IN: Likewise.
24542 * localedata/locales/mai_IN: Likewise.
24543 * localedata/locales/mg_MG: Likewise.
24544 * localedata/locales/mhr_RU: Likewise.
24545 * localedata/locales/mi_NZ: Likewise.
24546 * localedata/locales/mk_MK: Likewise.
24547 * localedata/locales/ml_IN: Likewise.
24548 * localedata/locales/mn_MN: Likewise.
24549 * localedata/locales/mni_IN: Likewise.
24550 * localedata/locales/mr_IN: Likewise.
24551 * localedata/locales/ms_MY: Likewise.
24552 * localedata/locales/mt_MT: Likewise.
24553 * localedata/locales/my_MM: Likewise.
24554 * localedata/locales/nan_TW: Likewise.
24555 * localedata/locales/nan_TW@latin: Likewise.
24556 * localedata/locales/nb_NO: Likewise.
24557 * localedata/locales/nds_DE: Likewise.
24558 * localedata/locales/nds_NL: Likewise.
24559 * localedata/locales/ne_NP: Likewise.
24560 * localedata/locales/nhn_MX: Likewise.
24561 * localedata/locales/niu_NU: Likewise.
24562 * localedata/locales/niu_NZ: Likewise.
24563 * localedata/locales/nl_AW: Likewise.
24564 * localedata/locales/nl_BE: Likewise.
24565 * localedata/locales/nl_NL: Likewise.
24566 * localedata/locales/nn_NO: Likewise.
24567 * localedata/locales/nr_ZA: Likewise.
24568 * localedata/locales/nso_ZA: Likewise.
24569 * localedata/locales/oc_FR: Likewise.
24570 * localedata/locales/om_ET: Likewise.
24571 * localedata/locales/om_KE: Likewise.
24572 * localedata/locales/or_IN: Likewise.
24573 * localedata/locales/os_RU: Likewise.
24574 * localedata/locales/pa_IN: Likewise.
24575 * localedata/locales/pa_PK: Likewise.
24576 * localedata/locales/pap_AW: Likewise.
24577 * localedata/locales/pap_CW: Likewise.
24578 * localedata/locales/pl_PL: Likewise.
24579 * localedata/locales/ps_AF: Likewise.
24580 * localedata/locales/pt_BR: Likewise.
24581 * localedata/locales/pt_PT: Likewise.
24582 * localedata/locales/quz_PE: Likewise.
24583 * localedata/locales/raj_IN: Likewise.
24584 * localedata/locales/ro_RO: Likewise.
24585 * localedata/locales/ru_RU: Likewise.
24586 * localedata/locales/ru_UA: Likewise.
24587 * localedata/locales/rw_RW: Likewise.
24588 * localedata/locales/sa_IN: Likewise.
24589 * localedata/locales/sat_IN: Likewise.
24590 * localedata/locales/sc_IT: Likewise.
24591 * localedata/locales/sd_IN: Likewise.
24592 * localedata/locales/sd_IN@devanagari: Likewise.
24593 * localedata/locales/se_NO: Likewise.
24594 * localedata/locales/sgs_LT: Likewise.
24595 * localedata/locales/shs_CA: Likewise.
24596 * localedata/locales/si_LK: Likewise.
24597 * localedata/locales/sid_ET: Likewise.
24598 * localedata/locales/sk_SK: Likewise.
24599 * localedata/locales/sl_SI: Likewise.
24600 * localedata/locales/sm_WS: Likewise.
24601 * localedata/locales/so_DJ: Likewise.
24602 * localedata/locales/so_ET: Likewise.
24603 * localedata/locales/so_KE: Likewise.
24604 * localedata/locales/so_SO: Likewise.
24605 * localedata/locales/sq_AL: Likewise.
24606 * localedata/locales/sq_MK: Likewise.
24607 * localedata/locales/sr_ME: Likewise.
24608 * localedata/locales/sr_RS: Likewise.
24609 * localedata/locales/sr_RS@latin: Likewise.
24610 * localedata/locales/ss_ZA: Likewise.
24611 * localedata/locales/st_ZA: Likewise.
24612 * localedata/locales/sv_FI: Likewise.
24613 * localedata/locales/sv_SE: Likewise.
24614 * localedata/locales/sw_KE: Likewise.
24615 * localedata/locales/sw_TZ: Likewise.
24616 * localedata/locales/szl_PL: Likewise.
24617 * localedata/locales/ta_IN: Likewise.
24618 * localedata/locales/ta_LK: Likewise.
24619 * localedata/locales/tcy_IN: Likewise.
24620 * localedata/locales/te_IN: Likewise.
24621 * localedata/locales/tg_TJ: Likewise.
24622 * localedata/locales/th_TH: Likewise.
24623 * localedata/locales/the_NP: Likewise.
24624 * localedata/locales/ti_ER: Likewise.
24625 * localedata/locales/ti_ET: Likewise.
24626 * localedata/locales/tig_ER: Likewise.
24627 * localedata/locales/tk_TM: Likewise.
24628 * localedata/locales/tl_PH: Likewise.
24629 * localedata/locales/tn_ZA: Likewise.
24630 * localedata/locales/to_TO: Likewise.
24631 * localedata/locales/tpi_PG: Likewise.
24632 * localedata/locales/tr_CY: Likewise.
24633 * localedata/locales/tr_TR: Likewise.
24634 * localedata/locales/ts_ZA: Likewise.
24635 * localedata/locales/tt_RU: Likewise.
24636 * localedata/locales/tt_RU@iqtelif: Likewise.
24637 * localedata/locales/ug_CN: Likewise.
24638 * localedata/locales/uk_UA: Likewise.
24639 * localedata/locales/unm_US: Likewise.
24640 * localedata/locales/ur_IN: Likewise.
24641 * localedata/locales/ur_PK: Likewise.
24642 * localedata/locales/uz_UZ: Likewise.
24643 * localedata/locales/uz_UZ@cyrillic: Likewise.
24644 * localedata/locales/ve_ZA: Likewise.
24645 * localedata/locales/vi_VN: Likewise.
24646 * localedata/locales/wa_BE: Likewise.
24647 * localedata/locales/wae_CH: Likewise.
24648 * localedata/locales/wal_ET: Likewise.
24649 * localedata/locales/wo_SN: Likewise.
24650 * localedata/locales/xh_ZA: Likewise.
24651 * localedata/locales/yi_US: Likewise.
24652 * localedata/locales/yo_NG: Likewise.
24653 * localedata/locales/yue_HK: Likewise.
24654 * localedata/locales/yuw_PG: Likewise.
24655 * localedata/locales/zh_CN: Likewise.
24656 * localedata/locales/zh_HK: Likewise.
24657 * localedata/locales/zh_SG: Likewise.
24658 * localedata/locales/zh_TW: Likewise.
24659 * localedata/locales/zu_ZA: Likewise.
24660
cae87e64
FW
246612017-11-13 Florian Weimer <fweimer@redhat.com>
24662
24663 * support/next_to_fault.h, support/next_to_fault.c: New files.
24664 * support/Makefile (libsupport-routines): Add next_to_fault.
24665 * resolv/tst-inet_pton.c (struct next_to_fault)
24666 (next_to_fault_allocate, next_to_fault_free): Remove.
24667 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
24668
4a306ef1
L
246692017-11-13 H.J. Lu <hongjiu.lu@intel.com>
24670
24671 * elf/dl-support.c: Include <dl-procruntime.c>.
24672 * include/link.h: Include <link_map.h>.
24673 * sysdeps/generic/dl-procruntime.c: New file.
24674 * sysdeps/generic/link_map.h: Likewise.
24675 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
24676 the writable ld.so namespace.
24677
e69897bf
PE
246782017-11-12 Paul Eggert <eggert@cs.ucla.edu>
24679
24680 timezone: pacify GCC -Wstringop-truncation
24681 Problem reported by Martin Sebor in:
24682 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
24683 * timezone/zic.c (writezone): Use memcpy, not strncpy.
24684
1ffe1ccb
FW
246852017-11-12 Florian Weimer <fweimer@redhat.com>
24686
eceed671
FW
24687 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
24688 tst-xreadlink.
24689 (tests): Add tst-xreadlink.
1ffe1ccb
FW
24690 * support/support.h (xstrndup): Declare.
24691 * support/xunistd.h (xunlink, xreadlink): Declare.
24692 * support/temp_file.h (support_create_temp_directory): Declare.
24693 * support/temp_file.c (support_create_temp_directory): New function.
24694 * support/support_chroot.c (support_chroot_create): Use it.
24695 * support/xreadlink.c: New file.
24696 * support/xstrndup.c: Likewise.
24697 * support/xunlink.c: Likewise.
24698 * support/tst-xreadlink.c: Likewise.
24699
456b40a9
JDA
247002017-11-11 John David Anglin <danglin@gcc.gnu.org>
24701
24702 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
24703
c0a25aa9
FW
247042017-11-11 Florian Weimer <fweimer@redhat.com>
24705
24706 [BZ #22409]
24707 [BZ #22412]
24708 * resolv/res_comp.c (printable_string, binary_hnok)
24709 (binary_leading_dash): New functions.
24710 (res_hnok): Reimplement using these functions and ns_name_pton.
24711 (res_ownok): Likewise.
24712 (res_mailok): Reimplement using printable_string, ns_name_pton and
24713 binary_hnok.
24714 (res_dnok): Reimplement using printable_string and ns_name_pton.
24715 * resolv/tst-res_hnok.c (tests): Add additional tests.
24716 (LETTERDIGITS, PRINTABLE): Define.
24717 (do_test): Adjust one_char results.
24718
9e0ad304
FW
247192017-11-11 Florian Weimer <fweimer@redhat.com>
24720
24721 [BZ #22413]
24722 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
24723 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
24724
e2a9fca8
FW
247252017-11-11 Florian Weimer <fweimer@redhat.com>
24726
24727 * resolv/tst-ns_name_pton.c: New file.
24728 * resolv/Makefile (tests): Add tst-ns_name_pton.
24729 (tst-ns_name_pton): Link against libresolv.
24730
5c1a6923
FW
247312017-11-11 Florian Weimer <fweimer@redhat.com>
24732
24733 * resolv/tst-res_hnok.c: New file.
24734 * resolv/Makefile (tests): Add tst-res_hnok.
24735 (tst-res_hnok): Link against libresolv.
24736
a19c0a1d
FW
247372017-11-11 Florian Weimer <fweimer@redhat.com>
24738
24739 * resolv/tst-resolv-network.c: Use test framework instead explicit
24740 main function.
24741
8cb5295d
L
247422017-11-09 H.J. Lu <hongjiu.lu@intel.com>
24743
24744 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
24745 <jmp_buf-macros.h>.
24746 [!_ISOMAC] (STR_HELPER): New.
24747 [!_ISOMAC] (STR): Likewise.
24748 [!_ISOMAC] (TEST_SIZE): Likewise.
24749 [!_ISOMAC] (TEST_ALIGN): Likewise.
24750 [!_ISOMAC] (TEST_OFFSET): Likewise.
24751 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
24752 field offsets of jmp_buf as well as sigjmp_buf.
24753 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
24754 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
24755 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
24756 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
24757 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
24758 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
24759 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
24760 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
24761 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
24762 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
24763 Likewise.
24764 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
24765 Likewise.
24766 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
24767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
24768 Likewise.
24769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
24770 Likewise.
24771 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
24772 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
24773 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
24774 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
24775 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
24776 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
24777 Likewise.
24778 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
24779 Likewise.
24780 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
24781 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
24782 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
24783
58c4a161
JM
247842017-11-07 Joseph Myers <joseph@codesourcery.com>
24785
3683b423
JM
24786 * include/float.h
24787 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24788 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
24789 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24790 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
24791 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24792 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
24793 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24794 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
24795 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24796 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
24797 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24798 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
24799 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24800 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
24801 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24802 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
24803 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24804 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
24805 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24806 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
24807 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24808 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
24809 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24810 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
24811 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24812 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
24813 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24814 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
24815 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24816 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
24817 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24818 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
24819 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24820 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
24821 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24822 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
24823 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24824 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
24825 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24826 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
24827 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24828 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
24829 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24830 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
24831 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24832 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
24833 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24834 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
24835 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24836 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
24837 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24838 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
24839 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24840 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
24841 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24842 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
24843 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24844 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
24845 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24846 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
24847 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24848 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
24849 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24850 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
24851 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24852 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
24853 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24854 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
24855 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24856 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
24857 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24858 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
24859 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24860 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
24861 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24862 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
24863 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24864 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
24865 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24866 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
24867 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24868 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
24869 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24870 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
24871 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24872 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
24873 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24874 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
24875
58c4a161
JM
24876 * stdlib/tst-strtod.h (F16): New macro.
24877 (F32): Likewise.
24878 (F64): Likewise.
24879 (F32X): Likewise.
24880 (F64X): Likewise.
24881 (F128X): Likewise.
24882 (IF_FLOAT16): Likewise.
24883 (IF_FLOAT32): Likewise.
24884 (IF_FLOAT64): Likewise.
24885 (IF_FLOAT32X): Likewise.
24886 (IF_FLOAT64X): Likewise.
24887 (IF_FLOAT128X): Likewise.
24888 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
24889 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
24890 (STRTOD_TEST_FOREACH): Likewise.
24891 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
24892 (CHOOSE_f64): Likewise.
24893 (CHOOSE_f32x): Likewise.
24894 (CHOOSE_f64x): Likewise.
24895
feda96a1
AS
248962017-11-07 Andreas Schwab <schwab@suse.de>
24897
24898 * nptl/Makefile (tests-internal): Remove tst-typesizes.
24899
1bd0cbb8
MF
249002017-11-07 Mike FABIAN <mfabian@redhat.com>
24901
24902 [BZ #22403]
24903 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
24904 to be escaped.
24905 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
24906 to be escaped.
24907
363e4519 249082017-11-07 Claude Paroz <claude@2xlibre.net>
d8301314
CP
24909
24910 [BZ #22403]
24911 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
24912 to be escaped.
24913 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
24914 to be escaped.
24915 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
24916 to be escaped.
24917
dff91cd4
AZ
249182017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24919
06be6368
AZ
24920 [BZ #22298]
24921 * nptl/allocatestack.c (allocate_stack): Check if
24922 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
24923 __PTHREAD_MUTEX_HAVE_PREV is defined.
24924 * nptl/descr.h (pthread): Likewise.
24925 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
24926 Likewise.
24927 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
24928 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
24929 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
24930 * sysdeps/nptl/bits/thread-shared-types.h
24931 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
24932 defines.
24933 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
24934 of __WORDSIZE for internal layout.
24935 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
24936 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
24937 instead of __WORDSIZE whether to use an union for __spins and __list
24938 fields.
24939 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
24940 case.
24941 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
24942 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
24943 defines.
24944 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
24945 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24946 Likewise.
24947 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
24948 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24949 Likewise.
24950 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
24951 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24952 Likewise.
24953 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
24954 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24955 Likewise.
24956 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
24957 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24958 Likewise.
24959 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
24960 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24961 Likewise.
24962 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
24963 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24964 Likewise.
24965 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
24966 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24967 Likewise.
24968 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
24969 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24970 Likewise.
24971 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
24972 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24973 Likewise.
24974 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
24975 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24976 Likewise.
24977 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
24978 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24979 Likewise.
24980 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
24981 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24982 Likewise.
24983 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
24984 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24985 Likewise.
24986
72b3c6ee
AZ
24987 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
24988 New macros.
24989 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
24990 checks for expected input type size.
24991 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
24992 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
24993 Likewise.
24994 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
24995 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
24996 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
24997 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
24998 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
24999 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
25000 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
25001 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
25002 superflous runtime assert check.
25003 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
25004 Likewise.
25005 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
25006 Likewise.
25007 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
25008 Likewise.
25009 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
25010 Likewise.
25011 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
25012 Likewise.
25013 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
25014 Likewise.
25015 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
25016 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
25017 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
25018 Likewise.
25019 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
25020 Likewise.
25021 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
25022 Likewise.
25023 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
25024 Likewise.
25025 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
25026 Likewise.
25027 * nptl/pthread_attr_setinheritsched.c
25028 (__pthread_attr_setinheritsched): Likewise.
25029 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
25030 Likewise.
25031 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
25032 Likewise.
25033 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
25034 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
25035 __old_pthread_attr_setstack): Likewise.
25036 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
25037 Likewise.
25038 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
25039 Likewise.
25040 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
25041 Likewise.
25042 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
25043 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
25044 Likewise.
25045 * nptl/tst-typesizes.c: Remove file.
25046
dff91cd4
AZ
25047 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
25048 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
25049 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
25050 checks for internal pthread_mutex_t offsets.
25051 * sysdeps/aarch64/nptl/pthread-offsets.h
25052 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
25053 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
25054 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
25055 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
25056 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
25057 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
25058 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
25059 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
25060 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
25061 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
25062 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
25063 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
25064 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
25065 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
25066 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
25067 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
25068 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
25069 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
25070
b7fc95f8
FW
250712017-11-07 Florian Weimer <fweimer@redhat.com>
25072
25073 * bits/mman-linux.h: Move ...
25074 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
25075 comment.
25076 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
25077 outdated comment.
25078
6b860364
RS
250792017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25080
25081 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
25082 Redefine STRNLEN as __strnlen_power8.
25083
802c1f16
AZ
250842017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25085
d83da3a4
AZ
25086 * signal/sighold.c (sighold): Optimize implementation.
25087
6a4235f1
AZ
25088 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
25089 __NR_rt_sigqueueinfo.
25090
8b0e795a
AZ
25091 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
25092 __sigtimedwait.
25093 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
25094 assume __NR_rt_sigtimedwait.
25095 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
25096 and add LIBC_CANCEL_HANDLED for cancellation marking.
25097 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
25098
a1a638dd
AZ
25099 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
25100 (sysdeps_routines): Add memchr_noneon.
25101 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
25102 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
25103 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
25104 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
25105 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
25106 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
25107 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
25108
802c1f16
AZ
25109 * sysdeps/arm/arm-ifunc.h: New file.
25110 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
25111 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
25112 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
25113 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
25114 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
25115 (__memcpy_neon): Avoid create hidden alias.
25116 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
25117 (__memcpy_vfp): Likewise.
25118 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
25119 (sysdep_routines): Add memcpy_arm.
25120 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
25121
abcb584d
L
251222017-11-06 H.J. Lu <hongjiu.lu@intel.com>
25123
25124 [BZ #22362]
25125 * Makerules (make-link-multidir): New.
25126 * config.make.in (multidir): New.
25127 * configure.ac (libc_cv_multidir): New. AC_SUBST.
25128 * configure: Regenerated.
25129 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
25130 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
25131 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
25132 New target.
25133
4e2dff67
JM
251342017-11-06 Joseph Myers <joseph@codesourcery.com>
25135
25136 [BZ #22402]
25137 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
25138 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
25139
a1c7cd3c
MF
251402017-11-04 Mike FABIAN <mfabian@redhat.com>
25141
25142 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
25143 to be escaped.
25144
b9af29c0
FW
251452017-11-04 Florian Weimer <fweimer@redhat.com>
25146
25147 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
25148
4ca70e1a
JM
251492017-11-03 Joseph Myers <joseph@codesourcery.com>
25150
25151 * math/math.h [__HAVE_DISTINCT_FLOAT16
25152 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
25153 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
25154 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
25155 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
25156 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
25157 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
25158 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25159 (__MATH_TG_F32): New macro.
25160 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25161 (__MATH_TG_F64X): Likewise.
25162 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25163 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
25164
ba0e6668
DL
251652017-11-03 Dmitry V. Levin <ldv@altlinux.org>
25166
25167 * po/de.po: Update translations.
25168 * po/ru.po: Likewise.
25169
bc18a6d3
FW
251702017-11-03 Florian Weimer <fweimer@redhat.com>
25171
25172 * manual/filesys.texi (Hard Links): Document linkat.
25173
97255170
JM
251742017-11-03 Joseph Myers <joseph@codesourcery.com>
25175
86ec4865
JM
25176 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
25177 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
25178 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
25179 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
25180 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
25181 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
25182 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
25183 the same as _Float128.
25184 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
25185 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
25186 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
25187
97255170
JM
25188 * stdlib/stdlib.h
25189 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
25190 Declare.
25191 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
25192 Likewise.
25193 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
25194 Likewise.
25195 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25196 (strtof32x): Likewise.
25197 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25198 (strtof64x): Likewise.
25199 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25200 (strtof128x): Likewise.
25201 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25202 (strfromf16): Likewise.
25203 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25204 (strfromf32): Likewise.
25205 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25206 (strfromf64): Likewise.
25207 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25208 (strfromf32x): Likewise.
25209 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25210 (strfromf64x): Likewise.
25211 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25212 (strfromf128x): Likewise.
25213 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
25214 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
25215 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
25216 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
25217 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
25218 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
25219
6d58ce5e
RH
252202017-11-03 Richard Henderson <rth@twiddle.net>
25221
25222 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
25223
659ca267
SN
252242017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25225
25226 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
25227
94d2f0af
SN
252282017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25229
25230 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
25231 DT_TLSDESC_GOT initialization.
25232 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
25233 (_dl_tlsdesc_resolve_hold): Likewise.
25234 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
25235 (_dl_tlsdesc_resolve_hold): Likewise.
25236 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
25237 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
25238
28e1ddf3
SN
252392017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25240
25241 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
25242
0ca3d1d6
SN
252432017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25244
25245 [BZ #18572]
25246 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
25247 non-lazily for R_ARM_TLS_DESC.
25248
2c1d4e5f
SN
252492017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25250
25251 [BZ #17078]
25252 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
25253 R_ARM_TLS_DESC case.
25254 (elf_machine_lazy_rel): Remove the prelink check.
25255
91c5a366
SN
252562017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25257
25258 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
25259 DT_TLSDESC_GOT initialization.
25260 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
25261 (_dl_tlsdesc_resolve_rela): Likewise.
25262 (_dl_tlsdesc_resolve_hold): Likewise.
25263 (_dl_tlsdesc_undefweak): Remove ldar.
25264 (_dl_tlsdesc_dynamic): Likewise.
25265 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
25266 (_dl_tlsdesc_resolve_rela): Likewise.
25267 (_dl_tlsdesc_resolve_hold): Likewise.
25268 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
25269 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
25270 (_dl_tlsdesc_resolve_rela): Likewise.
25271 (_dl_tlsdesc_resolve_hold): Likewise.
25272
b7cf203b
SN
252732017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25274
25275 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
25276 binding and initialization non-lazily for R_AARCH64_TLSDESC.
25277
0cc5b022
SN
252782017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25279
25280 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
25281 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25282
43ddff2e
JM
252832017-11-02 Joseph Myers <joseph@codesourcery.com>
25284
25285 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
25286 Declare.
25287 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
25288 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
25289 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
25290 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
25291 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
25292 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
25293 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
25294 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
25295 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
25296 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
25297 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
25298
5baac970
MF
252992017-11-02 Mike FABIAN <mfabian@redhat.com>
25300
25301 [BZ #22382]
25302 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
25303 * localedata/locales/tpi_PG: Add standard header.
25304
ef11081f
FW
253052017-11-02 Florian Weimer <fweimer@redhat.com>
25306
25307 test-errno-linux: quotactl can fail with EPERM in containers.
25308 * sysdeps/unix/sysv/linux/test-errno-linux.c
25309 (LIST, LIST_FORWARD): New macros.
25310 (check_error_in_list): New function.
25311 (test_wrp_rv): Accept list of permitted error codes.
25312 (test_wrp_rv2): Remove.
25313 (test_wrp): Call test_wrp_rv with list of error codes.
25314 (test_wrp2): Accept list of error codes.
25315 (do_test): Adjust. Allow EPERM for quotactl.
25316
d10b132b
FW
253172017-11-02 Florian Weimer <fweimer@redhat.com>
25318
25319 * stdio-common/bug16.c (do_test): Use array_length.
25320 * stdio-common/errlist.c (_sys_nerr): Likewise.
25321 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
25322 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
25323 * stdio-common/psiginfo.c (psiginfo): Use array_length.
25324 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
25325 (do_test): Use array_length.
25326 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
25327 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
25328 * stdio-common/tst-printf-round.c (do_test): Likewise.
25329 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
25330 (CHECK): Use array_length.
25331 * stdio-common/tstdiomisc.c (t3, F): Likewise.
25332 * stdio-common/tstscanf.c (main): Likewise.
25333 * stdio-common/vfprintf.c (process_string_arg): Likewise.
25334
c94a5688
FW
253352017-11-02 Florian Weimer <fweimer@redhat.com>
25336
25337 Add array_length and array_end macros.
25338 * include/array_length.h: New file.
25339
2fac6a6c
FW
253402017-11-02 Florian Weimer <fweimer@redhat.com>
25341
25342 [BZ #22332]
25343 * posix/tst-glob-tilde.c (do_noescape): New variable.
25344 (one_test): Process it.
25345 (do_test): Set do_noescape. Add unescaping test case.
25346
2f1b212e
JM
253472017-11-01 Joseph Myers <joseph@codesourcery.com>
25348
260fbd0a
JM
25349 * math/complex.h
25350 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
25351 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
25352 with appropriate macros defined and undefined.
25353 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
25354 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25355 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
25356 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25357 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
25358 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25359 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
25360 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25361 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
25362 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25363
2f1b212e
JM
25364 * math/complex.h
25365 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
25366 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
25367 that for long double. Do not condition define and undefine of
25368 _Mdouble_complex_ on [__CFLOAT128].
25369
95b93c6e
L
253702017-11-01 H.J. Lu <hongjiu.lu@intel.com>
25371
25372 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
25373 of <sysdeps/generic/sysdep.h>.
25374 (ALIGNARG): Removed.
25375 (ASM_SIZE_DIRECTIVE): Likewise.
25376 (ENTRY): Likewise.
25377 (END): Likewise.
25378 (ENTRY_CHK): Likewise.
25379 (END_CHK): Likewise.
25380 (syscall_error): Likewise.
25381 (mcount): Likewise.
25382 (PSEUDO_END): Likewise.
25383 (L): Likewise.
25384 (atom_text_section): Likewise.
25385 * sysdeps/x86/sysdep.h: New file.
25386 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
25387 of <sysdeps/generic/sysdep.h>.
25388 (ALIGNARG): Removed.
25389 (ASM_SIZE_DIRECTIVE): Likewise.
25390 (ENTRY): Likewise.
25391 (END): Likewise.
25392 (ENTRY_CHK): Likewise.
25393 (END_CHK): Likewise.
25394 (syscall_error): Likewise.
25395 (mcount): Likewise.
25396 (PSEUDO_END): Likewise.
25397 (L): Likewise.
25398 (atom_text_section): Likewise.
25399
1bb36539
RL
254002017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
25401
25402 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
25403 category of LC_CTYPE set to "i18n:2012".
25404 * localedata/locales/i18n_ctype: Regenerate.
25405
067f5d97 254062017-10-31 Yury Norov <ynorov@caviumnetworks.com>
e8681faa 25407
87bbc4cf
YN
25408 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
25409 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
25410 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
25411 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
25412
e8681faa
YN
25413 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
25414 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
25415 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
25416 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
25417
540af6e2
JM
254182017-10-31 Joseph Myers <joseph@codesourcery.com>
25419
43e66283
JM
25420 * math/complex.h
25421 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
25422 New macro.
25423 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
25424 Likewise.
25425 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
25426 Likewise.
25427 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25428 (CMPLXF32X): Likewise.
25429 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25430 (CMPLXF64X): Likewise.
25431 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25432 (CMPLXF128X): Likewise.
25433
540af6e2
JM
25434 * math/math.h
25435 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
25436 (__MATH_EVAL_FMT2): Define to add 0.0f.
25437
58af72b4
AM
254382017-10-31 Alan Modra <amodra@gmail.com>
25439
25440 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
25441 include sysdep.h.
25442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
25443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
25444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
25445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
25446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
25447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
25448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
25449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
25450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
25451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
25452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
25453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
25454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
25455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
25456 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
25457 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
25458 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
25459 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
25460 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
25461 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
25462 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
25463 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
25464 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
25465 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
25466 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
25467 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
25468 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
25469 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
25470 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
25471 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
25472 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
25473 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
25474 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
25475 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
25476 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
25477 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
25478 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
25479 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
25480 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
25481 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
25482 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
25483 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
25484 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
25485 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
25486 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
25487 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
25488 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
25489 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
25490 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
25491 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
25492 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
25493 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
25494 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
25495 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
25496 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
25497 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
25498 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
25499 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
25500 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
25501 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
25502 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
25503 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
25504 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
25505 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
25506 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
25507 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
25508 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
25509 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
25510 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
25511
25512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
25513 include sysdep.h and math_ldbl_opt.h.
25514
25515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
25516 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
25517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
25518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
25519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
25520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
25521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
25522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
25523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
25524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
25525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
25526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
25527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
25528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
25529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
25530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
25531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
25532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
25533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
25534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
25535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
25536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
25537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
25538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
25539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
25540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
25541
112f30b3
AM
255422017-10-31 Alan Modra <amodra@gmail.com>
25543
25544 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
25545 string/strncase_l.c, not string/strncase.c.
25546 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
25547 (libc_hidden_def): Redefine.
25548
e9e7eced
AM
255492017-10-31 Alan Modra <amodra@gmail.com>
25550
25551 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
25552 (__STRCMP, STRCMP, __strcasecmp_l): Define.
25553 (__strcasecmp): Don't define.
25554
f7b465cf
AM
255552017-10-31 Alan Modra <amodra@gmail.com>
25556
25557 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
25558 IS_IN (libc).
25559 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
25560 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
25561 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
25562
d46b09f9
AM
255632017-10-31 Alan Modra <amodra@gmail.com>
25564
25565 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
25566 USE_AS_STPNCPY.
25567
e9b8e194
AM
255682017-10-31 Alan Modra <amodra@gmail.com>
25569
25570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
25571 Redefine only when SHARED.
25572
eda162dd
JM
255732017-10-30 Joseph Myers <joseph@codesourcery.com>
25574
b61afe8c
JM
25575 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
25576 Include <bits/math-finite.h> with appropriate macros defined and
25577 undefined.
25578 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
25579 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
25580 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
25581 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
25582 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
25583
eda162dd
JM
25584 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
25585 [!_Mlong_double_] (_Mlong_double_): Likewise.
25586 [!_Mfloat16_] (_Mfloat16_): Likewise.
25587 [!_Mfloat32_] (_Mfloat32_): Likewise.
25588 [!_Mfloat64_] (_Mfloat64_): Likewise.
25589 [!_Mfloat128_] (_Mfloat128_): Likewise.
25590 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
25591 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
25592 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
25593 (_Mdouble_): Define without indirection through those macros.
25594 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
25595 [!_Mfloat128_] (_Mfloat128_): Likewise.
25596 [_Mlong_double_] (_Mlong_double_): Likewise.
25597 (_Mdouble_): Define without indirection through those macros.
25598 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
25599 not add -D_Mlong_double_=double.
25600 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
25601 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
25602
4ad5106e
L
256032017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25604
25605 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
25606
fe326df7
L
256072017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25608
25609 * sysdeps/x86/libc-start.c: Reformat.
25610
c5cc4514
L
256112017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25612
25613 [BZ #22353]
25614 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
25615 (1): Renamed to ...
25616 (L(Src0)): This.
25617 (L(Src1)): New.
25618 (L(Src2)): Likewise.
25619 (L(1)): Renamed to ...
25620 (L(Src3)): This.
25621
ce12269f
JM
256222017-10-30 Joseph Myers <joseph@codesourcery.com>
25623
25624 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
25625 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
25626 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
25627 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
25628 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
25629 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
25630 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
25631 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
25632 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
25633 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
25634 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
25635 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
25636 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
25637 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
25638 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
25639 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
25640 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
25641 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
25642 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
25643 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
25644 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
25645 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
25646 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
25647 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
25648 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
25649 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
25650 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
25651 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
25652 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
25653 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
25654 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
25655 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
25656 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
25657 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
25658 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
25659 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
25660 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
25661 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
25662 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
25663 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
25664 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
25665 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
25666 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
25667 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
25668 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
25669 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
25670 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
25671 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
25672 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
25673 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
25674 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
25675 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
25676 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
25677 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
25678 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
25679 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
25680 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
25681 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
25682 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
25683 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
25684 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
25685 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
25686 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
25687 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
25688 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
25689 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
25690
4484b9e2
FW
256912017-10-30 Florian Weimer <fweimer@redhat.com>
25692
25693 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
25694 always defined.
25695 * io/tst-mkdirat.c (do_test): Likewise.
25696 * io/tst-mkfifoat.c (do_test): Likewise.
25697 * io/tst-mknodat.c (do_test): Likewise.
25698 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
25699 * locale/programs/locale.c (select_dirs): Likewise.
25700 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
25701 * posix/bug-glob2.c (my_readdir): Likewise.
25702 * posix/tst-dir.c (main): Likewise.
25703 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
25704 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
25705
68fe16dd
FW
257062017-10-30 Florian Weimer <fweimer@redhat.com>
25707
25708 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
25709 just __USE_GNU.
25710
dadf23f0
FW
257112017-10-30 Florian Weimer <fweimer@redhat.com>
25712
25713 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
25714 Convert to support/test-driver.c.
25715 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
25716 New macro parameters.
25717 (PRINTF): Remove macro. Use test_verbose conditionals instead.
25718 * posix/tst-gnuglob.c: New file.
25719 * posix/tst-gnuglob64.c: Likewise.
25720 * posix/Makefile (tests): Add tst-gnuglob64.
25721
363e4519 257222017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
fbcecc08
MF
25723
25724 [BZ #19485]
25725 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
25726 and use a better translation for March in “mon”.
25727 * localedata/locales/csb_PL: Use more ASCII to improve the
25728 readability of the source.
25729
b110af82
MF
257302017-10-30 Mike FABIAN <mfabian@redhat.com>
25731
25732 [BZ #13953]
25733 * localedata/locales/km_KH: Use ASCII as much
25734 as possible for better readability of the source and
25735 remove useless comments.
25736 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
25737 was commented out and apparently wrong anyway because it was
25738 using Lao characters. If Buddhist era should be used
25739 for km_KH, a native speaker should write the correct formaat
25740 for Khmer.
25741 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
25742 (According to CLDR, the first weekday for Cambodia is Sunday).
25743 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
25744 (These were using Lao characters which must be wrong. If we get
25745 the correct data from a native speaker, we could add it back, until
25746 then it is better not to have name_mr and name_mrs at all than
25747 having it wrong).
25748
f301e533
RL
257492017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
25750
25751 * locale/loadlocale.c: Correct size of
25752 _nl_value_type_LC_<category> arrays.
25753
7e9d7073
JM
257542017-10-27 Joseph Myers <joseph@codesourcery.com>
25755
25756 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
25757 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
25758 with appropriate macros defined and undefined.
25759 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
25760 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
25761 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
25762 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
25763 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
25764
63d3b468
L
257652017-10-27 H.J. Lu <hongjiu.lu@intel.com>
25766
25767 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
25768 "-O2 -march=i586".
25769
a4cc02c7
MF
257702017-10-27 Mike FABIAN <mfabian@redhat.com>
25771
25772 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
25773 with lowercase letters to make it agree with CLDR.
25774
1e5971ec
MF
257752017-10-27 Mike FABIAN <mfabian@redhat.com>
25776
25777 [BZ #15260]
25778 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
25779 first letters of yesstr and nostr in yesexpr and noexpr,
25780 not for the full words.
25781 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
25782 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
25783 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
25784 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
25785 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
25786 first letters of yesstr and nostr in yesexpr and noexpr,
25787 until now only English was matched in yesexpr and noexpr.
25788 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
25789 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
25790 fil but not for tl. As tl and fil are very similar, using fil
25791 is probably better than using English.
25792
363e4519 257932017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
bc5fc7de
MF
25794
25795 [BZ #21706]
25796 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
25797 in yesstr and nostr.
25798
5d220788
JM
257992017-10-26 Joseph Myers <joseph@codesourcery.com>
25800
ecc7da5b
JM
25801 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
25802 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
25803 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
25804 Likewise.
25805 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
25806 Likewise.
25807 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
25808 Likewise.
25809 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
25810 Likewise.
25811 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25812 (SNANF128X): Likewise.
25813
5d220788
JM
25814 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
25815 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
25816 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25817 (HUGE_VAL_F32): Likewise.
25818 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25819 (HUGE_VAL_F64): Likewise.
25820 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25821 (HUGE_VAL_F32X): Likewise.
25822 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25823 (HUGE_VAL_F64X): Likewise.
25824 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25825 (HUGE_VAL_F128X): Likewise.
25826
363e4519 258272017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
67ad7163
TV
25828
25829 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
25830 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
25831 for the br_FR locale.
25832
363e4519 258332017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
408dff7e
TV
25834
25835 [BZ #21706]
25836 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
25837
337ff3c5
CD
258382017-10-25 Carlos O'Donell <carlos@redhat.com>
25839
02eec681
CD
25840 * locale/programs/record-status.h: Define globals, and function
25841 prototypes. Move function bodies...
25842 * locale/programs/record-status.c: ... to here. New file.
25843 * iconv/Makefile (iconv_prog-modules): Add record-status.
25844 * locale/Makefile (lib-modules): Likewise.
25845 * iconv/iconv_prog.c: Remove verbose.
25846 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
25847 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
25848 record a warning about ASCII compatibility.
25849 * locale/programs/ld-monetary.c (monetary_finish): If
25850 warn_int_curr_symbol is true then record a warning about the symbol
25851 not being in our ISO 4217 list.
25852 * locale/programs/locale.c: Include record-status.h. Remove verbose.
25853 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
25854 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
25855 (OPT_NO_WARN): Define.
25856 (OPT_WARN): Define.
25857 (options): Add entry for --no-warnings, and --warnings.
25858 (set_warnings): New function to enable/disable warnings.
25859 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
25860 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
25861 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
25862 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
25863 Pass flags to generate_locale.
25864 (generate_locale): Accept new flag argument and pass it to localedef
25865 invocation.
25866 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
25867 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
25868
56fa555a
CD
25869 * localedata/Makefile (test-input-data): Use full file name.
25870 * localedata/da_DK.in: Rename to...
25871 * localedata/da_DK.ISO-8859-1.in: ...this.
25872 * localedata/de_DE.in: Rename to...
25873 * localedata/de_DE.ISO-8859-1.in: ...this.
25874 * localedata/en_US.in: Rename to...
25875 * localedata/en_US.ISO-8859-1.in: ...this.
25876 * localedata/fr_FR.in: Rename to...
25877 * localedata/fr_FR.UTF-8.in: ... this.
25878 * localedata/hr_HR.in: Rename to...
25879 * localedata/hr_HR.ISO-8859-2.in: ...this.
25880 * localedata/hu_HU.in: Rename to...
25881 * localedata/hu_HU.UTF-8.in: ...this.
25882 * localedata/si_LK.in: Rename to...
25883 * localedata/si_LK.UTF-8.in: ...this.
25884 * localedata/sv_SE.in: Rename to...
25885 * localedata/sv_SE.ISO-8859-1.in: ...this.
25886 * localedata/tr_TR.in: Rename to...
25887 * localedata/tr_TR.UTF-8.in: ...this.
25888 * localedata/uk_UA.in: Rename to...
25889 * localedata/uk_UA.UTF-8.in: ...this.
25890 * localedata/sort-test.sh: Test file is locale name with the
25891 suffix.
25892
337ff3c5
CD
25893 * localedata/unicode-gen/Makefile (check_i18n): Rename to
25894 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
25895 file.
25896 * localedata/locales/i18n_ctype: Regenerate.
25897 * localedata/locales/tr_TR: Likewise.
25898 * localedata/locales/translit_circle: Likewise.
25899 * localedata/locales/translit_cjk_compat: Likewise.
25900 * localedata/locales/translit_combining: Likewise.
25901 * localedata/locales/translit_compat: Likewise.
25902 * localedata/locales/translit_font: Likewise.
25903 * localedata/locales/translit_fraction: Likewise.
25904
63da5cd4
RS
259052017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25906
25907 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
25908 lxvd2x/stxvd2x with lvx/stvx.
25909 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
25910
a122dbfb
L
259112017-10-25 H.J. Lu <hongjiu.lu@intel.com>
25912
25913 * include/alloc_buffer.h: Replace "if if " with "if " in
25914 comments.
25915 * sysdeps/mips/memcpy.S: Likkewise.
25916 * sysdeps/mips/memset.S: Likewise.
25917 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
25918 Likewise.
25919 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
25920 Likewise.
25921 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
25922 Likewise.
25923
9be7530c
MF
259242017-10-25 Mike FABIAN <mfabian@redhat.com>
25925
25926 [BZ #15261]
25927 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
25928 yesexpr and noexpr.
25929 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
25930 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
25931 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
25932 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
25933 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
25934 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
25935 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
25936
6ccbf6ff
MF
259372017-10-25 Mike FABIAN <mfabian@redhat.com>
25938
25939 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
25940 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
25941 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
25942 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
25943 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
25944 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
25945 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
25946 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
25947 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
25948 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
25949 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
25950 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
25951
58b1a7ea
MF
259522017-10-25 Mike FABIAN <mfabian@redhat.com>
25953
25954 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
25955 as possible for better readability of the source.
25956 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
25957 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
25958 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
25959 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
25960 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
25961 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
25962 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
25963 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
25964 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
25965 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
25966 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
25967 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
25968 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
25969 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
25970 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
25971 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
25972 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
25973 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
25974 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
25975 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
25976 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
25977 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
25978 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
25979 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
25980 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
25981 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
25982 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
25983 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
25984 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
25985 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
25986 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
25987 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
25988 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
25989 * localedata/locales/en_US (LC_MESSAGES): Likewise.
25990 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
25991 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
25992 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
25993 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
25994 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
25995 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
25996 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
25997 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
25998 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
25999 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
26000 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
26001 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
26002 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
26003 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
26004 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
26005 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
26006 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
26007 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
26008 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
26009 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
26010 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
26011 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
26012 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
26013 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
26014 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
26015 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
26016 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
26017 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
26018 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
26019 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
26020 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
26021 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
26022 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
26023 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
26024 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
26025 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
26026 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
26027 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
26028 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
26029 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
26030 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
26031 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
26032 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
26033 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
26034 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
26035 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
26036 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
26037 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
26038 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
26039 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
26040 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
26041 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
26042 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
26043 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
26044 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
26045 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
26046 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
26047 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
26048 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
26049 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
26050 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
26051 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
26052 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
26053 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
26054 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
26055 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
26056 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
26057 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
26058 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
26059 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
26060 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
26061 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
26062 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
26063 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
26064 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
26065 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
26066 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
26067 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
26068 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
26069 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
26070 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
26071 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
26072 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
26073 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
26074 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
26075 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
26076 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
26077 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
26078 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
26079 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
26080 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
26081 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
26082 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
26083 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
26084 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
26085 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
26086 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
26087 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
26088 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
26089 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
26090 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
26091 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
26092 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
26093 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
26094 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
26095 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
26096 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
26097 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
26098 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
26099 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
26100 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
26101 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
26102 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
26103 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
26104 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
26105 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
26106 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
26107 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
26108 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
26109 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
26110 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
26111 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
26112 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
26113 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
26114 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
26115 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
26116 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
26117 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
26118 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
26119 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
26120 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
26121 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
26122 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
26123 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
26124 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
26125 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
26126 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
26127 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
26128 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
26129 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
26130
17e78edb
MF
261312017-10-25 Mike FABIAN <mfabian@redhat.com>
26132
26133 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
26134 (Use first letters of yesstr and nostr correctly instead of using
26135 full words).
26136
74e7284f
MF
261372017-10-25 Mike FABIAN <mfabian@redhat.com>
26138
26139 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
26140 (Use first letters of yesstr and nostr correctly).
26141
b41a0ff1
MF
261422017-10-25 Mike FABIAN <mfabian@redhat.com>
26143
26144 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
26145 also check for the first characters of yesstr and nostr.
26146 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
26147 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
26148
d971f380
MF
261492017-10-25 Mike FABIAN <mfabian@redhat.com>
26150
26151 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
26152 also check for Chinese characters.
26153
effc9e1d
MF
261542017-10-25 Mike FABIAN <mfabian@redhat.com>
26155
26156 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
26157 match also for the contents of yesstr and nostr. As the first letter
26158 of yesstr and nostr is equal, checking only for the first letter
26159 is not enough.
26160
10320881
MF
261612017-10-25 Mike FABIAN <mfabian@redhat.com>
26162
26163 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
26164 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
26165
d8682a15
MF
261662017-10-25 Mike FABIAN <mfabian@redhat.com>
26167
26168 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
26169 of main contributor.
26170
1bfb86ae
MF
261712017-10-25 Mike FABIAN <mfabian@redhat.com>
26172
26173 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
26174 instead of using English.
26175
da33d60b
MF
261762017-10-25 Mike FABIAN <mfabian@redhat.com>
26177
26178 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
26179 by including the first letters of nostr and yesexpr in the regexp.
26180 Also make it more readable by using ASCII where possible.
26181
725bbb3e
MF
261822017-10-25 Mike FABIAN <mfabian@redhat.com>
26183
26184 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
26185 the first letter of nostr in the regexp. It agrees with CLDR now.
26186 Also make it more readable by using ASCII where possible.
26187
fe043d8a
MF
261882017-10-24 Mike FABIAN <mfabian@redhat.com>
26189
26190 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
26191 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
26192 these strings contain a U+17D6 (which somewhat looks like a colon)
26193 instead of a real colon to separate the full words for “yes”
26194 and “no” from the single letter responses.
26195
360a8df3
MF
261962017-10-24 Mike FABIAN <mfabian@redhat.com>
26197
26198 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
26199 it agree with CLDR (include the first letter of yesstr).
26200 Also make it more readable by using ASCII where possible.
26201
bab7b6b0
MF
262022017-10-24 Mike FABIAN <mfabian@redhat.com>
26203
26204 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
26205 and improve yesexpr and noexpr. The yesstr and nostr apparently
26206 came from CLDR. And CLDR has a bug there: these strings contain
26207 a U+0903 (which looks like a colon) instead of a real colon
26208 to separate the full words for “yes” and “no” from the single
26209 letter responses.
26210
3e79f758
MF
262112017-10-24 Mike FABIAN <mfabian@redhat.com>
26212
26213 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
26214 letters of the full yesstr and nostr in yesexpr and noexpr.
26215
4960c879
MF
262162017-10-24 Mike FABIAN <mfabian@redhat.com>
26217
26218 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
26219 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
26220 * localedata/locales/an_ES: Make source more readable by using ASCII
26221 where possible.
26222
b06a054f
MF
262232017-10-24 Mike FABIAN <mfabian@redhat.com>
26224
26225 [BZ #20952]
26226 * localedata/locales/yuw_PG: New file.
26227 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
26228 * locale/iso-639.def: Add Yau (Uruwa).
26229
905a7725
WD
262302017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26231
26232 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
26233
3f6bb8a3
WD
262342017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26235
26236 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
26237 (__libc_realloc): Likewise.
26238 (_mid_memalign): Likewise.
26239 (__libc_calloc): Likewise.
26240
1d479c8c
MF
262412017-10-23 Mike FABIAN <mfabian@redhat.com>
26242
26243 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
26244 by adding the generic +1 and -0 as in all other locales.
26245 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
26246 day names and make it more readable by using ASCII where possible.
26247
91c3985c
JM
262482017-10-24 Joseph Myers <joseph@codesourcery.com>
26249
26250 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
26251 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
26252
aa95a241
AZ
262532017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26254
26255 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
26256 WNOHANG in waitpid call.
26257
db9bab09
SP
262582017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
26259
a2e0a7f1
SP
26260 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
26261 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
26262
db9bab09
SP
26263 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
26264 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
26265 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
26266 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
26267 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
26268 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
26269 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
26270 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
26271 variables.
26272
5062680c
MC
262732017-10-23 Michael Collison <michael.collison@arm.com>
26274
26275 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
26276 with __builtin_sqrt.
26277 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
26278 with __builtin_sqrtf.
26279 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
26280 with __builtin_ceil.
26281 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
26282 with __builtin_ceilf.
26283 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
26284 with __builtin_floor.
26285 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
26286 with __builtin_floorf.
26287 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
26288 with __builtin_fma.
26289 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
26290 with __builtin_fmaf.
26291 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
26292 with __builtin_fmax.
26293 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
26294 with __builtin_fmaxf.
26295 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
26296 with __builtin_fmin.
26297 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
26298 with __builtin_fminf.
26299 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
26300 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
26301 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
26302 with builtin_rint and conversion to int.
26303 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
26304 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
26305 with builtin_llround.
26306 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
26307 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
26308 with builtin_rint and conversion to long int.
26309 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
26310 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
26311 with builtin_lround.
26312 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
26313 with builtin_lroundf.
26314 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
26315 statements with __builtin_nearbyint.
26316 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
26317 statements with __builtin_nearbyintf.
26318 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
26319 with __builtin_rint.
26320 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
26321 with __builtin_rintf.
26322 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
26323 with __builtin_round.
26324 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
26325 with __builtin_roundf.
26326 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
26327 with __builtin_trunc.
26328 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
26329 with __builtin_truncf.
be080b6c
SN
26330 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
26331 and s_l[l]round[f].c too.
5062680c 26332
174935af
AM
263332017-10-23 Alan Modra <amodra@gmail.com>
26334
26335 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
26336 Adjust stack after restoring regs. Add missing LR cfi_restore.
26337
750a0e49
AM
263382017-10-23 Alan Modra <amodra@gmail.com>
26339
26340 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
26341 Move LR save and frame setup/teardown and LR restore to
26342 immediately around memset call. Provide cfi.
26343
5313581c
L
263442017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26345
26346 * sysdeps/i386/fpu/e_powf.S: Removed.
26347 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
26348 * sysdeps/i386/fpu/w_powf.c: Likewise.
26349 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
26350 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26351 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26352 Add e_powf-sse2.
26353 (CFLAGS-e_powf-sse2.c): New.
26354 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
26355 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
26356
6089a3ee
L
263572017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26358
26359 * sysdeps/i386/fpu/e_log2f.S: Removed.
26360 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
26361 * sysdeps/i386/fpu/w_log2f.c: Likewise.
26362 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
26363 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26364 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26365 Add e_log2f-sse2.
26366 (CFLAGS-e_log2f-sse2.c): New.
26367 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
26368 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
26369
80bb5935
L
263702017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26371
26372 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26373 Add e_powf-fma.
26374 (CFLAGS-e_powf-fma.c): New.
26375 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
26376 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
26377
5c7adbd8
L
263782017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26379
26380 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26381 Add e_log2f-fma.
26382 (CFLAGS-e_log2f-fma.c): New.
26383 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
26384 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
26385
0ccc7153
L
263862017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26387
26388 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26389 Add e_logf-fma.
26390 (CFLAGS-e_logf-fma.c): New.
26391 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
26392 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
26393
fe596486
L
263942017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26395
26396 * sysdeps/i386/fpu/e_logf.S: Removed.
26397 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
26398 * sysdeps/i386/fpu/w_logf.c: Likewise.
26399 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
26400 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
26401 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26402 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26403 Add e_logf-sse2.
26404 (CFLAGS-e_logf-sse2.c): New.
26405 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
26406 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
26407
7eda65f6
L
264082017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26409
26410 * sysdeps/i386/fpu/e_exp2f.S: Removed.
26411 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
26412 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
26413 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26414 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26415 Add e_exp2f-sse2.
26416 (CFLAGS-e_exp2f-sse2.c): New.
26417 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
26418 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
26419
5d15c969
L
264202017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26421
26422 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26423 Add e_exp2f-fma.
26424 (CFLAGS-e_exp2f-fma.c): New.
26425 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
26426 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
26427
b2f6137e
L
264282017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26429
26430 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
26431 * sysdeps/i386/fpu/e_expf.S: Likewise.
26432 * sysdeps/i386/fpu/math_errf.c: Likewise.
26433 * sysdeps/i386/fpu/w_expf.c: Likewise.
26434 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
26435 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
26436 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
26437 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
26438 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26439 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26440 Remove e_expf-ia32.
26441 (CFLAGS-e_expf-sse2.c): New.
26442 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
26443 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
26444
e1f59beb
L
264452017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26446
26447 * sysdeps/x86_64/fpu/e_expf.S: Removed.
26448 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
26449 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
26450 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
26451 e_expf.c.
26452 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
26453 New.
26454 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
26455 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
26456 Renamed to ...
26457 (__redirect_expf): This.
26458 (SYMBOL_NAME): Changed to expf.
26459 (__ieee754_expf): Renamed to ...
26460 (__expf): This.
26461 (__GI___expf): This.
26462 (__ieee754_expf): Add strong_alias.
26463 (__expf_finite): Likewise.
26464 (__expf): New.
26465 Include <sysdeps/ieee754/flt-32/e_expf.c>.
26466
363e4519 264672017-10-22 Paul Eggert <eggert@cs.ucla.edu>
a159b53f
PE
26468
26469 [BZ #22332]
26470 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
26471 unescaping.
26472
e80fc1fc
FW
264732017-10-21 Florian Weimer <fweimer@redhat.com>
26474
26475 * posix/Makefile (tests): Add tst-glob-tilde.
26476 (tests-special): Add tst-glob-tilde-mem.out
26477 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
26478 (tst-glob-tilde-mem.out): Add mtrace check.
26479 * posix/tst-glob-tilde.c: New file.
26480
797ba44b
JM
264812017-10-20 Joseph Myers <joseph@codesourcery.com>
26482
26483 * bits/floatn-common.h: New file.
26484 * math/Makefile (headers): Add bits/floatn-common.h.
26485 * bits/floatn.h: Include <bits/floatn-common.h>.
26486 * sysdeps/ia64/bits/floatn.h: Likewise.
26487 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
26488 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
26489 * sysdeps/powerpc/bits/floatn.h: Likewise.
26490 * sysdeps/x86/bits/floatn.h: Likewise.
26491
fe05e1cb
AZ
264922017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26493
8f6f5362
AZ
26494 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
26495 indicates whether compiler emits an warning for alias for
26496 functions with incompatible types.
26497
fe05e1cb
AZ
26498 [BZ #22273]
26499 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
26500 the auxiliary process is terminated by a signal before calling _exit
26501 or execve.
26502
b52b0d79
L
265032017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26504
26505 [BZ #21265]
26506 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
26507 New.
26508 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
26509 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
26510 and bit_arch_XSAVEC_Usable if needed.
26511 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
26512 and bit_arch_Use_dl_runtime_resolve_opt.
26513 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
26514 Removed.
26515 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
26516 (bit_arch_Prefer_No_AVX512): Updated.
26517 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
26518 (bit_arch_XSAVEC_Usable): New.
26519 (STATE_SAVE_OFFSET): Likewise.
26520 (STATE_SAVE_MASK): Likewise.
26521 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
26522 (cpu_features): Add xsave_state_size and xsave_state_full_size.
26523 (index_arch_Use_dl_runtime_resolve_opt): Removed.
26524 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
26525 (index_arch_XSAVEC_Usable): New.
26526 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
26527 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
26528 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
26529 is enabled.
26530 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
26531 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
26532 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
26533 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
26534 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
26535 _dl_runtime_resolve_xsavec.
26536 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
26537 Removed.
26538 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
26539 instead of VEC_SIZE.
26540 (REGISTER_SAVE_BND0): Removed.
26541 (REGISTER_SAVE_BND1): Likewise.
26542 (REGISTER_SAVE_BND3): Likewise.
26543 (REGISTER_SAVE_RAX): Always defined to 0.
26544 (VMOV): Removed.
26545 (_dl_runtime_resolve_avx): Likewise.
26546 (_dl_runtime_resolve_avx_slow): Likewise.
26547 (_dl_runtime_resolve_avx_opt): Likewise.
26548 (_dl_runtime_resolve_avx512): Likewise.
26549 (_dl_runtime_resolve_avx512_opt): Likewise.
26550 (_dl_runtime_resolve_sse): Likewise.
26551 (_dl_runtime_resolve_sse_vex): Likewise.
26552 (USE_FXSAVE): New.
26553 (_dl_runtime_resolve_fxsave): Likewise.
26554 (USE_XSAVE): Likewise.
26555 (_dl_runtime_resolve_xsave): Likewise.
26556 (USE_XSAVEC): Likewise.
26557 (_dl_runtime_resolve_xsavec): Likewise.
26558 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
26559 Removed.
26560 (_dl_runtime_resolve_avx512_opt): Likewise.
26561 (_dl_runtime_resolve_avx): Likewise.
26562 (_dl_runtime_resolve_avx_opt): Likewise.
26563 (_dl_runtime_resolve_sse): Likewise.
26564 (_dl_runtime_resolve_sse_vex): Likewise.
26565 (_dl_runtime_resolve_fxsave): New.
26566 (_dl_runtime_resolve_xsave): Likewise.
26567 (_dl_runtime_resolve_xsavec): Likewise.
26568
363e4519 265692017-10-20 Paul Eggert <eggert@cs.ucla.edu>
c369d66e
PE
26570
26571 [BZ #22320]
26572 CVE-2017-15670
26573 * posix/glob.c (__glob): Fix one-byte overflow.
26574
6d43de4b
WD
265752017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
26576
26577 * malloc/malloc.c (sysdep-cancel.h): Add include.
26578
a15d53e2
WD
265792017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
26580
26581 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
26582
b9a558e7
WH
265832017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
26584
26585 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
26586 (tests): Remove $(objpfx)ga_test depdendency.
26587 * resolv/ga_test.c: Remove file.
26588
b6b08b8e
MF
265892017-10-20 Mike FABIAN <mfabian@redhat.com>
26590
26591 [BZ #18812]
26592 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
26593 * localedata/locales/kab_DZ: New file.
26594
9ba7e810
L
265952017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26596
26597 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
26598 _dl_relocate_static_pie instead of _dl_start to compute load
26599 address in static PIE.
26600
4027a4fd
L
266012017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26602
26603 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
26604
2f9314b4
MF
266052017-10-20 Mike FABIAN <mfabian@redhat.com>
26606
26607 [BZ #13605]
26608 * localedata/SUPPORTED: Add shn_MM/UTF-8.
26609 * localedata/locales/shn_MM: New file.
26610
63b4baa4
FW
266112017-10-20 Florian Weimer <fweimer@redhat.com>
26612
26613 [BZ #22321]
26614 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
26615 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
26616 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
26617 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
26618 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
26619 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
26620
95ccb619
L
266212017-10-19 H.J. Lu <hongjiu.lu@intel.com>
26622
26623 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26624
37bb78cb
JM
266252017-10-19 Joseph Myers <joseph@codesourcery.com>
26626
76f2ed92
JM
26627 * sysdeps/mips/ieee754/bits/floatn.h: New file.
26628
37bb78cb
JM
26629 [BZ #22322]
26630 * sysdeps/mips/bits/long-double.h: Move to ....
26631 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
26632
d74e6f6c
WD
266332017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
26634
26635 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
26636
363e4519 266372017-10-19 Valery Reznic <valery_reznic@yahoo.com>
4d916f0f
L
26638 H.J. Lu <hongjiu.lu@intel.com>
26639
26640 [BZ #22299]
26641 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
26642 GLRO(dl_platform) to NULL.
26643 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
26644 (modules-names): Add tst-platformmod-1 and
26645 x86_64/tst-platformmod-2.
26646 (CFLAGS-tst-platform-1.c): New.
26647 (CFLAGS-tst-platformmod-1.c): Likewise.
26648 (CFLAGS-tst-platformmod-2.c): Likewise.
26649 (LDFLAGS-tst-platformmod-2.so): Likewise.
26650 ($(objpfx)tst-platform-1): Likewise.
26651 ($(objpfx)tst-platform-1.out): Likewise.
26652 (tst-platform-1-ENV): Likewise.
26653 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
26654 * sysdeps/x86_64/tst-platform-1.c: New file.
26655 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
26656 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
26657
4b0fa403
MF
266582017-10-19 Mike FABIAN <mfabian@redhat.com>
26659
26660 [BZ #13994]
26661 * locale/iso-639.def: Add Karbi.
26662 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
26663 * localedata/locales/mjw_IN: New file.
26664
81325b12
JM
266652017-10-18 Joseph Myers <joseph@codesourcery.com>
26666
26667 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
26668 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
26669 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
26670 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
26671 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
26672 (libm_alias_ldouble_other_r): Also create _Float128 alias.
26673 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
26674 <bits/floatn.h>.
26675 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
26676 (libm_alias_ldouble_other_r): Also create _Float128 alias.
26677 * manual/math.texi (Mathematics): Document additional architecture
26678 support for _Float128.
26679 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
26680 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
26681 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26682 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26683 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26684 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26685 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26686 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26687 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26688 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26689 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26690 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26691 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26692 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26693 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26694
a68ba2f3
SN
266952017-10-18 Renlin Li <renlin.li@arm.com>
26696
26697 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
26698 _DYNAMIC symbol to calculate load address.
26699
346729f6
PC
267002017-10-18 Paul A. Clarke <pc@us.ibm.com>
26701
26702 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
26703 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
26704 summary bits.
26705 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
26706 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
26707
508b1e71
MF
267082017-10-18 Mike FABIAN <mfabian@redhat.com>
26709
26710 [BZ #16777]
26711 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
26712 and improve readability by using more ASCII.
26713 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
26714 and improve readability by using more ASCII.
26715
2c2245b9
WD
267162017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
26717
26718 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
26719 not all targets support atomics on bool.
26720
13c92696
JM
267212017-10-17 Joseph Myers <joseph@codesourcery.com>
26722
26723 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
26724 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
26725 __f128.
26726 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26727 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
26728 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26729 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
26730 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26731 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
26732
71d85045
AZ
267332017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26734
26735 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
26736 defines.
26737
3381be5c
WD
267382017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26739
26740 [BZ #22159]
26741 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
26742 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
26743 (do_check_remalloced_chunk): Fix build bug.
26744 (do_check_malloc_state): Add assert that checks arena->top.
26745 (malloc_consolidate): Remove initialization.
26746 (int_mallinfo): Remove call to malloc_consolidate.
6b5c8607 26747 (__libc_mallopt): Clarify why malloc_consolidate is needed.
3381be5c 26748
e956075a
WD
267492017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26750
26751 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
26752 (have_fastchunks): Remove.
26753 (clear_fastchunks): Remove.
26754 (set_fastchunks): Remove.
26755 (malloc_state): Add have_fastchunks.
26756 (malloc_init_state): Use have_fastchunks.
26757 (do_check_malloc_state): Remove incorrect invariant checks.
26758 (_int_malloc): Use have_fastchunks.
26759 (_int_free): Likewise.
26760 (malloc_consolidate): Likewise.
26761
e4dd4ace
WD
267622017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26763
26764 * malloc/malloc.c (tcache_put): Inline.
26765 (tcache_get): Inline.
26766
5bf58bc7
AJ
267672017-10-17 Jordi Mallach <jordi@gnu.org>
26768
26769 Aurelien Jarno <aurelien@aurel32.net>
26770 [BZ #2522]
26771 * localedata/locales/ca_ES@valencia: New file.
26772 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
26773
386e1c26
RN
267742017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
26775
26776 [BZ #22296]
26777 * math/math.h: Let signbit use the builtin in C++ mode with gcc
26778 < 6.x
26779
4e17c78e
AZ
267802017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26781
3d265601
AZ
26782 * scripts/build-many-glibcs.py (Context.add_all_configs):
26783 Add arm-linux-gnueabihf multiarch extra_glibcs.
26784
4e17c78e
AZ
26785 * sysdeps/generic/ifunc-init.h: New file.
26786 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
26787
56a752ab
MF
267882017-10-17 Mike FABIAN <mfabian@redhat.com>
26789
26790 [BZ #22019]
26791 * localedata/locales/el_GR: Set n_cs_precedes to 0.
26792 * localedata/locales/el_CY: copy "el_GR" because it is identical.
26793 * stdlib/tst-strfmon_l.c: adapt test case.
26794
c38a4bfd
JM
267952017-10-16 Joseph Myers <joseph@codesourcery.com>
26796
26797 * sysdeps/generic/float128-abi.h: New file.
26798 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
26799 non-__prefixed symbols to ....
26800 * math/Versions: ... here. Include <float128-abi.h>.
26801 * stdlib/Versions ... and here. Include <float128-abi.h>
26802
76009b26
FW
268032017-10-16 Florian Weimer <fweimer@redhat.com>
26804
26805 * version.h (VERSION): Switch to ".9000" as the development
26806 version suffix.
26807
7ece6cd5
FW
268082017-10-16 Florian Weimer <fweimer@redhat.com>
26809
26810 [BZ #22050]
26811 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
26812 compat_symbol_reference to access non-default version.
26813
d8287b36
FW
268142017-10-16 Florian Weimer <fweimer@redhat.com>
26815
26816 * malloc/Makefile (others-extras): Set to mcheck-init.o.
26817
3480ddc4
CD
268182017-10-16 Carlos O'Donell <carlos@redhat.com>
26819
26820 * include/shlib-compat.h (compat_symbol_reference): Update
26821 comment.
26822
02010e79
JM
268232017-10-16 Joseph Myers <joseph@codesourcery.com>
26824
596f7013
JM
26825 * math/Makefile (test-types): Add
26826 $(type-float128-$(float128-alias-fcts)).
26827 * math/test-float128.h (TYPE_STR): Define conditional on
26828 [FLT128_MANT_DIG == LDBL_MANT_DIG].
26829 (ULP_IDX): Likewise.
26830 (ULP_I_IDX): Likewise.
26831
02010e79
JM
26832 * stdlib/strtold.c: Include <bits/floatn.h>
26833 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
26834 and later undefine as macro. Define as weak alias if
26835 [!USE_WIDE_CHAR].
26836 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
26837 and later undefine as macro. Define as weak alias if
26838 [USE_WIDE_CHAR].
26839 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
26840 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
26841 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
26842 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
26843 Define and later undefine as macro. Define as weak alias if
26844 [USE_WIDE_CHAR].
26845 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
26846 <bits/floatn.h>.
26847 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
26848 Define and later undefine as macro. Define as weak alias if
26849 [!USE_WIDE_CHAR].
26850 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
26851 Define and later undefine as macro. Define as weak alias if
26852 [USE_WIDE_CHAR].
26853
ea91c315
CD
268542017-10-15 Carlos O'Donell <carlos@redhat.com>
26855
26856 * localedata/collate-test.c (allocate_arrays): Don't use \n in
26857 record_verbose messages.
26858
8e57c943
L
268592017-10-15 H.J. Lu <hongjiu.lu@intel.com>
26860
26861 [BZ #22052]
26862 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
26863 to silence -O3 -Wall warning with GCC 7.
26864
a4777c46
L
268652017-10-14 H.J. Lu <hongjiu.lu@intel.com>
26866
26867 * Makeconfig (+link-static-before-libc): Use the first of
26868 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
26869 * gmon/Makefile (tests): Add tst-gmon-static.
26870 (tests-static): Likewise.
26871 (CFLAGS-tst-gmon-static.c): New.
26872 (CRT-tst-gmon-static): Likewise.
26873 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
26874 (tst-gmon-static-ENV): Likewise.
26875 (tests-special): Likewise.
26876 ($(objpfx)tst-gmon-static.out): Likewise.
26877 (clean-tst-gmon-static-data): Likewise.
26878 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
26879 * gmon/tst-gmon-static-gprof.sh: New file.
26880 * gmon/tst-gmon-static.c: Likewise.
26881
bc3821bb
CD
268822017-10-13 Carlos O'Donell <carlos@redhat.com>
26883
26884 [BZ #22295]
26885 * locale/programs/linereader.c (get_string): Don't warn on
26886 non-symbolic character.
26887
a3e23a2c
CD
26888 [BZ #22294]
26889 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
26890 int_curr_symbol.
26891
f16491eb
CD
26892 [BZ #22292]
26893 * locale/programs/record-status.h: New file
26894 * locale/programs/locale.c: Add comment.
26895 * locale/programs/charmap-dir.c: Don't include error.h.
26896 (charmap_opendir): Use record_error.
26897 * locale/programs/charmap.c: Don't include error.h.
26898 (charmap_read): Use record_error, and record_warning.
26899 (parse_charmap): Likewise.
26900 * locale/programs/ld-address.c: Don't include error.h.
26901 (address_finish): Use record_error, and record_warning.
26902 * locale/programs/ld-collate.c: Don't include error.h.
26903 (collate_finish): Use record_error, and record_error_at_line.
26904 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
26905 (ctype_class_new): Likewise.
26906 (ctype_map_new): Likewise.
26907 (set_one_default): Likewise.
26908 (set_class_defaults): Likewise.
26909 (translit_flatten): Likewise.
26910 (allocate_arrays): Use record_error, and record_verbose.
26911 * locale/programs/ld-identification.c: Don't include error.h.
26912 (indentation_finish): Use record_error and record_warning.
26913 * locale/programs/ld-measurement.c: Don't include error.h.
26914 (measurement_finish): Use record_error.
26915 * locale/programs/ld-messages.c
26916 (message_finish): Likewise.
26917 * locale/programs/ld-monetary.c
26918 (monetary_finish): Likewise.
26919 * locale/programs/ld-name.c (name_finish): Use record_error
26920 and record_warning.
26921 * locale/programs/ld-numeric.c
26922 (numeric_finish): Use record_error.
26923 * locale/programs/ld-paper.c: Don't include error.h.
26924 (paper_finish): Use record_error.
26925 * locale/programs/ld-telephone.c: Don't include error.h.
26926 (telephone_finish): Use record_error.
26927 * locale/programs/ld-time.c (time_finish): Likewise.
26928 * locale/programs/linereader.h (lr_error): Make inline func.
26929 * locale/programs/localedef.c: Define recorded_warning_count,
26930 and recorded_error_count.
26931 (main): Use record_error. Use recorded_error_count and
26932 recorded_warning_count to issue correct error returns.
26933 (add_to_readlist): Use record_error.
26934 (find_locale): Likewise.
26935 (load_locale): Likewise.
26936 * locale/programs/localedef.h: Remove be_quiet
26937 and WITH_CUR_LOCALE.
26938 * locale/programs/locarchive.c (compare_from_file): Use
26939 record_error.
26940 * locale/programs/locfile.c (write_locale_data): Use
26941 record_error.
26942 * locale/programs/repertoire.c: Dont include error.h.
26943 (repertoire_complain): Use record_error.
26944 * localedata/tst-fmon.sh: Expect failures from localedef.
26945 * localedata/tst-locale.sh: Likewise.
26946 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
26947
8dc8be75
CD
26948 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
26949 (REPORTS): Likewise.
26950 (check): Likewise.
26951 (i18n): Rename to...
26952 (i18n_ctype): ...this.
26953 (i18n-report): Rename to...
26954 (i18n_ctype-report): ...this.
26955 * localedata/locales/i18n_ctype: Regenerate.
26956 * localedata/locales/i18n: copy i18n_ctype.
26957
f8718a9e
JM
269582017-10-13 Joseph Myers <joseph@codesourcery.com>
26959
18c08b96
JM
26960 * stdlib/strfroml.c: Include <bits/floatn.h>.
26961 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
26962 Define before include of <stdlib.h> and undefine afterwards, then
26963 define as weak alias.
26964
f8718a9e
JM
26965 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
26966 Undefine and restore default definition. Use
26967 libm_alias_ldouble_other.
26968
e4f530da
PZ
269692017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
26970
26971 [BZ #22153]
26972 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
26973 in coredumps.
26974
86445888
JC
269752017-10-13 James Clarke <jrtc27@jrtc27.com>
26976
26977 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
26978 Assign sym_map to be map for local symbols, as TLS relocations
26979 use sym_map to determine whether the symbol is defined and to
26980 extract the TLS information.
26981 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
26982 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
26983
179dcdb7
TMQMF
269842017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26985
e8dbd6a3
TMQMF
26986 [BZ #22189]
26987 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
26988 (math_force_eval): Add powerpc version.
26989
179dcdb7
TMQMF
26990 [BZ #22142]
26991 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
26992 -DBL_MAX.
26993 (do_test): Likewise.
26994 * stdio-common/tst-printf.sh: Likewise.
26995 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
26996 ifdef clause in order to set the carry bit right. Replace r0 by
26997 0 without changing the behavior.
26998
7d25d410
JM
269992017-10-13 Joseph Myers <joseph@codesourcery.com>
27000
006e7664
JM
27001 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
27002 <libm-alias-ldouble.h>.
27003 (fabsl): Define using libm_alias_ldouble.
27004 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
27005 <libm-alias-ldouble.h>.
27006 (fabsl): Define using libm_alias_ldouble.
27007
1def91b3
JM
27008 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
27009 Remove conditional code.
27010
7d25d410
JM
27011 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
27012 Rename to __clog10_internal_l.
27013 (__clog10_internal_l): Define aliases using
27014 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
27015 with __clog10.
27016
077ee129
RS
270172017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27018
27019 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
27020 * benchtests/sincosf-inputs: New file.
27021 * benchtests/cosf-inputs: New file.
27022 * benchtests/sinf-inputs: New file.
27023
5ba41de9
SN
270242017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
27025
27026 * posix/tst-spawn.c (do_test): Wait for both children.
27027
d165ca64
L
270282017-10-12 H.J. Lu <hongjiu.lu@intel.com>
27029
27030 [BZ #22284]
27031 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
27032 tests-pie): Add tst-gmon-pie.
27033 (CFLAGS-tst-gmon-pie.c): New.
27034 (CRT-tst-gmon-pie): Likewise.
27035 (tst-gmon-pie-ENV): Likewise.
27036 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
27037 ($(objpfx)tst-gmon-pie.out): Likewise.
27038 (clean-tst-gmon-pie-data): Likewise.
27039 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
27040 * gmon/gmon.c [PIC]: Include <link.h>.
27041 [PIC] (callback): New function.
27042 (write_hist): Add an argument for load address. Subtract load
27043 address from PCs.
27044 (write_call_graph): Likewise.
27045 (write_gmon): Call __dl_iterate_phdr to get load address, pass
27046 it to write_hist and write_call_graph.
7bacdcfc 27047 * gmon/tst-gmon-pie.c: New file.
d165ca64 27048
bc9620d0
JM
270492017-10-11 Joseph Myers <joseph@codesourcery.com>
27050
27051 * math/Makefile (test-types-basic): New variable.
27052 (test-types): Likewise.
27053 (libm-test-support): Use $(test-types) instead of $(types).
27054 (libm-tests-base-normal): Likewise.
27055 (libm-tests-base-finite): Likewise.
27056 (libm-tests-base-inline): Likewise.
27057 (generated): Likewise.
27058 ($(objpfx)libm-test-support-$(t).c): Likewise.
27059 (libm-tests-for-type iterator): Likewise.
27060 (libm-test-support iterator): Likewise.
27061 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
27062 (ulp_idx): Use ULP_IDX.
27063 * math/test-ldouble.h: Include <float.h>.
27064 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
27065 (ULP_IDX): New macro.
27066 (ULP_I_IDX): Likewise.
27067 * math/test-double.h (ULP_IDX): Likewise.
27068 (ULP_I_IDX): Likewise.
27069 * math/test-float.h (ULP_IDX): Likewise.
27070 (ULP_I_IDX): Likewise.
27071 * math/test-float128.h (ULP_IDX): Likewise.
27072 (ULP_I_IDX): Likewise.
27073
09c76a74
AZ
270742017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27075
27076 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
27077 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27078 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27079 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
27080 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27081 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
27082 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
27083 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27084 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27085 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27086 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
27087 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27088 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27089 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
27090 (SINGLE_THREAD_BY_GLOBAL): Define.
27091 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27092 Likewise.
27093 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27094 Likewise.
27095 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27096 Likewise.
27097 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27098 Likewise.
27099 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
27100 (SINGLE_THREAD_BY_GLOBAL): Likewise.
27101 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27102 Likewise.
27103
2faa42da
AS
271042017-10-11 Andreas Schwab <schwab@suse.de>
27105
27106 * nis/Makefile (aux): Remove.
27107 * nscd/Makefile (aux): Add nscd_hash.
27108 (nscd-modules): Likewise.
27109 ($(objpfx)nscd): Don't depend on libnsl.
27110 * nscd/nscd_hash.c: New file.
27111 * nscd/nscd_hash.h: Likewise.
27112 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
27113 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
27114 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
27115 instead of <nis/rpcsvc/nis.h>.
27116 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
27117
d8425e11
FW
271182017-10-11 Florian Weimer <fweimer@redhat.com>
27119
27120 [BZ #22078]
27121 Avoid large NSS buffers with many addresses, aliases.
27122 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
27123 using dynarrays and struct alloc_buffer.
27124 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
27125 (tst-nss-files-hosts-multi): Link with -ldl.
27126 * nss/tst-nss-files-hosts-multi.c: New file.
27127
78e806fd
FW
271282017-10-11 Florian Weimer <fweimer@redhat.com>
27129
27130 [BZ #18023]
27131 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
27132 scratch_buffer. Eliminate gotos.
27133
541f19ba
JM
271342017-10-11 Joseph Myers <joseph@codesourcery.com>
27135
0ff64d3a
JM
27136 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
27137 libm_alias_ldouble_other.
27138 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
27139 undefine and redefine.
27140 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
27141 (exp10l): Do not define here.
27142 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
27143 (weak_alias): Undefine and redefine.
27144 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
27145 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
27146 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
27147 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
27148
541f19ba
JM
27149 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
27150 [!__fma] (fma): Define using libm_alias_double.
27151 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
27152 [!__fmaf] (fmaf): Define using libm_alias_float.
27153 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
27154 (fmal): Define using libm_alias_ldouble.
27155
24b6515d
JM
271562017-10-10 Joseph Myers <joseph@codesourcery.com>
27157
27158 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
27159 New macro.
27160 (libm_alias_double_other): Likewise.
27161 (libm_alias_double_r): Use libm_alias_double_other_r.
27162 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
27163 New macro.
27164 (libm_alias_float_other): Likewise.
27165 (libm_alias_float_r): Use libm_alias_float_other_r.
27166 * sysdeps/generic/libm-alias-float128.h
27167 (libm_alias_float128_other_r): New macro.
27168 (libm_alias_float128_other): Likewise.
27169 (libm_alias_float128_r): Use libm_alias_float128_other_r.
27170 * sysdeps/generic/libm-alias-ldouble.h
27171 (libm_alias_ldouble_other_r): New macro.
27172 (libm_alias_ldouble_other): Likewise.
27173 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
27174 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
27175 (libm_alias_double_other_r): New macro.
27176 (libm_alias_double_other): Likewise.
27177 (libm_alias_double_r): Use libm_alias_double_other_r.
27178 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
27179 (libm_alias_ldouble_other_r): New macro.
27180 (libm_alias_ldouble_other): Likewise.
27181 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
27182 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
27183 [!USE_AS_COMPAT]: Use libm_alias_double_other.
27184 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
27185 [!USE_AS_COMPAT]: Use libm_alias_float_other.
27186 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
27187 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
27188 * math/w_exp2f.c: Use libm_alias_float_other.
27189 * math/w_expf.c: Likewise.
27190 * math/w_log2f.c: Likewise.
27191 * math/w_logf.c: Likewise.
27192 * math/w_powf.c: Likewise.
27193 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
27194 [!__exp2f]: Use libm_alias_float_other.
27195 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
27196 [!__expf]: Use libm_alias_float_other.
27197 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
27198 [!__log2f]: Use libm_alias_float_other.
27199 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
27200 [!__logf]: Use libm_alias_float_other.
27201 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
27202 [!__powf]: Use libm_alias_float_other.
27203
8ed70de2
FW
272042017-10-10 Florian Weimer <fweimer@redhat.com>
27205
27206 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
27207 function.
27208 (_nss_files_gethostbyname3_r): Call it.
27209
a8dce619
JM
272102017-10-09 Joseph Myers <joseph@codesourcery.com>
27211
27212 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
27213 error. Remove default definition of declare_mgen_alias.
27214 [!declare_mgen_alias_r]: Likewise.
27215 * sysdeps/generic/math-type-macros-double.h
27216 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
27217 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
27218 (declare_mgen_alias_r): Likewise.
27219 * sysdeps/generic/math-type-macros-float128.h
27220 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
27221 * sysdeps/generic/math-type-macros-ldouble.h
27222 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
27223 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
27224 macro.
27225 (declare_mgen_alias_r_s): Likewise.
27226 (declare_mgen_alias_r): Likewise.
27227 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
27228 (lgamma_r): Define using libm_alias_double_r.
27229 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
27230 (lgammaf_r): Define using libm_alias_float_r.
27231 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
27232 (lgammal_r): Define using libm_alias_ldouble_r.
27233 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
27234 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
27235
bedac136
AZ
272362017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27237
27238 * lib/glob.c (__glob_pattern_type): Remove now-spurious
27239 extern declaration.
27240
c7509db2
JM
272412017-10-09 Joseph Myers <joseph@codesourcery.com>
27242
27243 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
27244
d6c064e9
JW
272452017-10-09 Jonathan Wakely <jwakely@redhat.com>
27246
27247 [BZ #21326]
27248 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
27249 [__cplusplus >= 201103] (__USE_ISOC99): Define.
27250 * math/Makefile (test-math-cxx11): New test.
27251 * math/test-math-cxx11.cc: New file.
27252
98e07420
CB
272532017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
27254
27255 * login/openpty.c (openpty): Close slave pty file descriptor on error.
27256
645ac9aa
CB
27257 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
27258 call to allocate the slave pty file descriptor.
27259
fd3b4e7c
JM
272602017-10-06 Joseph Myers <joseph@codesourcery.com>
27261
f85a176f
JM
27262 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
27263 [!__fma] (fma): Define using libm_alias_double.
27264 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
27265 [!__fma] (fma): Define using libm_alias_double.
27266
fd3b4e7c
JM
27267 * sysdeps/ieee754/float128/float128_private.h: Include
27268 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
27269 (libm_alias_ldouble_r): Undefine and redefine.
27270 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
27271 <libm-alias-ldouble.h>.
27272 (asinhl): Define using libm_alias_ldouble.
27273 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
27274 <libm-alias-ldouble.h>.
27275 (atanl): Define using libm_alias_ldouble.
27276 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
27277 <libm-alias-ldouble.h>.
27278 (cbrtl): Define using libm_alias_ldouble.
27279 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
27280 <libm-alias-ldouble.h>.
27281 (ceill): Define using libm_alias_ldouble.
27282 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
27283 <libm-alias-ldouble.h>.
27284 (copysignl): Define using libm_alias_ldouble.
27285 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
27286 <libm-alias-ldouble.h>.
27287 (cosl): Define using libm_alias_ldouble.
27288 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
27289 <libm-alias-ldouble.h>.
27290 (erfl): Define using libm_alias_ldouble.
27291 (erfcl): Likewise.
27292 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
27293 <libm-alias-ldouble.h>.
27294 (expm1l): Define using libm_alias_ldouble.
27295 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
27296 <libm-alias-ldouble.h>.
27297 (fabsl): Define using libm_alias_ldouble.
27298 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
27299 <libm-alias-ldouble.h>.
27300 (floorl): Define using libm_alias_ldouble.
27301 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
27302 <libm-alias-ldouble.h>.
27303 (fmal): Define using libm_alias_ldouble.
27304 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
27305 <libm-alias-ldouble.h>.
27306 (frexpl): Define using libm_alias_ldouble.
27307 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
27308 libm_alias_ldouble.
27309 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
27310 <libm-alias-ldouble.h>.
27311 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
27312 libm_alias_ldouble.
27313 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
27314 <libm-alias-ldouble.h>.
27315 (getpayloadl): Define using libm_alias_ldouble.
27316 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
27317 <libm-alias-ldouble.h>.
27318 (llrintl): Define using libm_alias_ldouble.
27319 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
27320 <libm-alias-ldouble.h>.
27321 (llroundl): Define using libm_alias_ldouble.
27322 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
27323 <libm-alias-ldouble.h>.
27324 (logbl): Define using libm_alias_ldouble.
27325 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
27326 <libm-alias-ldouble.h>.
27327 (lrintl): Define using libm_alias_ldouble.
27328 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
27329 <libm-alias-ldouble.h>.
27330 (lroundl): Define using libm_alias_ldouble.
27331 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
27332 <libm-alias-ldouble.h>.
27333 (modfl): Define using libm_alias_ldouble.
27334 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
27335 <libm-alias-ldouble.h>.
27336 (nearbyintl): Define using libm_alias_ldouble.
27337 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
27338 <libm-alias-ldouble.h>.
27339 (nextafterl): Define using libm_alias_ldouble.
27340 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
27341 <libm-alias-ldouble.h>.
27342 (nextupl): Define using libm_alias_ldouble.
27343 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
27344 <libm-alias-ldouble.h>.
27345 (remquol): Define using libm_alias_ldouble.
27346 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
27347 <libm-alias-ldouble.h>.
27348 (rintl): Define using libm_alias_ldouble.
27349 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
27350 <libm-alias-ldouble.h>.
27351 (roundevenl): Define using libm_alias_ldouble.
27352 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
27353 <libm-alias-ldouble.h>.
27354 (roundl): Define using libm_alias_ldouble.
27355 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
27356 using libm_alias_ldouble.
27357 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
27358 <libm-alias-ldouble.h>.
27359 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
27360 Define using libm_alias_ldouble.
27361 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
27362 <libm-alias-ldouble.h>.
27363 (sincosl): Define using libm_alias_ldouble.
27364 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
27365 <libm-alias-ldouble.h>.
27366 (sinl): Define using libm_alias_ldouble.
27367 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
27368 <libm-alias-ldouble.h>.
27369 (tanhl): Define using libm_alias_ldouble.
27370 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
27371 <libm-alias-ldouble.h>.
27372 (tanl): Define using libm_alias_ldouble.
27373 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
27374 <libm-alias-ldouble.h>.
27375 (totalorderl): Define using libm_alias_ldouble.
27376 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
27377 <libm-alias-ldouble.h>.
27378 (totalordermagl): Define using libm_alias_ldouble.
27379 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
27380 <libm-alias-ldouble.h>.
27381 (truncl): Define using libm_alias_ldouble.
27382 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
27383 libm_alias_ldouble.
27384 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
27385 libm_alias_ldouble.
27386 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
27387 <libm-alias-ldouble.h>.
27388 (weak_alias): Do not undefine and redefine.
27389 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27390 (copysignl): Define with long_double_symbol only if [IS_IN
27391 (libc)].
27392 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
27393 <libm-alias-ldouble.h>.
27394 (weak_alias): Do not undefine and redefine.
27395 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27396 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
27397 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
27398 <libm-alias-ldouble.h>.
27399 (weak_alias): Do not undefine and redefine.
27400 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27401 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
27402 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
27403 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
27404 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
27405 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
27406 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
27407 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
27408 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
27409 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
27410 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
27411 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
27412 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
27413 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
27414 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
27415 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
27416 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
27417 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
27418 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
27419 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
27420 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
27421 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
27422 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
27423 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
27424 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
27425 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
27426
1e26d351
CD
274272017-10-06 Carlos O'Donell <carlos@redhat.com>
27428
27429 [BZ #22111]
27430 * malloc/malloc.c (tcache_shutting_down): Use bool type.
27431 (tcache_thread_freeres): Set tcache_shutting_down before
27432 freeing the tcache.
27433 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
27434 * malloc/tst-malloc-tcache-leak.c: New file.
27435
d1386762
RS
274362017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27437
27438 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
27439 back to powerpc32 file.
27440 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
27441 (memrchr): Add __memrchr_power8 to ifunc list.
27442 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
27443 extra bytes for unaligned inputs.
27444
6dff1983
JM
274452017-10-06 Joseph Myers <joseph@codesourcery.com>
27446
27447 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
27448 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
27449 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
27450 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
27451 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
27452
86f9568a
JM
274532017-10-05 Joseph Myers <joseph@codesourcery.com>
27454
0db0b931
JM
27455 * sysdeps/arm/libm-test-ulps: Update.
27456
86f9568a
JM
27457 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
27458 <libm-alias-ldouble.h>.
27459 (asinhl): Define using libm_alias_ldouble.
27460 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
27461 <libm-alias-ldouble.h>.
27462 (cbrtl): Define using libm_alias_ldouble.
27463 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
27464 <libm-alias-ldouble.h>.
27465 (copysignl): Define using libm_alias_ldouble.
27466 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
27467 <libm-alias-ldouble.h>.
27468 (cosl): Define using libm_alias_ldouble.
27469 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
27470 <libm-alias-ldouble.h>.
27471 (erfl): Define using libm_alias_ldouble.
27472 (erfcl): Likewise.
27473 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
27474 <libm-alias-ldouble.h>.
27475 (fmal): Define using libm_alias_ldouble.
27476 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
27477 <libm-alias-ldouble.h>.
27478 (frexpl): Define using libm_alias_ldouble.
27479 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
27480 libm_alias_ldouble.
27481 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
27482 <libm-alias-ldouble.h>.
27483 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
27484 libm_alias_ldouble.
27485 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
27486 <libm-alias-ldouble.h>.
27487 (getpayloadl): Define using libm_alias_ldouble.
27488 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
27489 <libm-alias-ldouble.h>.
27490 (llrintl): Define using libm_alias_ldouble.
27491 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
27492 <libm-alias-ldouble.h>.
27493 (llroundl): Define using libm_alias_ldouble.
27494 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
27495 <libm-alias-ldouble.h>.
27496 (lrintl): Define using libm_alias_ldouble.
27497 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
27498 <libm-alias-ldouble.h>.
27499 (lroundl): Define using libm_alias_ldouble.
27500 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
27501 <libm-alias-ldouble.h>.
27502 (modfl): Define using libm_alias_ldouble.
27503 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
27504 <libm-alias-ldouble.h>.
27505 (nextupl): Define using libm_alias_ldouble.
27506 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
27507 <libm-alias-ldouble.h>.
27508 (remquol): Define using libm_alias_ldouble.
27509 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
27510 <libm-alias-ldouble.h>.
27511 (roundevenl): Define using libm_alias_ldouble.
27512 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
27513 <libm-alias-ldouble.h>.
27514 (roundl): Define using libm_alias_ldouble.
27515 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
27516 using libm_alias_ldouble.
27517 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
27518 <libm-alias-ldouble.h>.
27519 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
27520 <libm-alias-ldouble.h>.
27521 (setpayloadsigl): Define using libm_alias_ldouble.
27522 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
27523 <libm-alias-ldouble.h>.
27524 (sincosl): Define using libm_alias_ldouble.
27525 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
27526 <libm-alias-ldouble.h>.
27527 (sinl): Define using libm_alias_ldouble.
27528 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
27529 <libm-alias-ldouble.h>.
27530 (tanhl): Define using libm_alias_ldouble.
27531 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
27532 <libm-alias-ldouble.h>.
27533 (tanl): Define using libm_alias_ldouble.
27534 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
27535 <libm-alias-ldouble.h>.
27536 (totalorderl): Define using libm_alias_ldouble.
27537 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
27538 <libm-alias-ldouble.h>.
27539 (totalordermagl): Define using libm_alias_ldouble.
27540 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
27541 libm_alias_ldouble.
27542 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
27543 libm_alias_ldouble.
27544
9ec87fd2
SP
275452017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
27546
dd5bc7f1
SP
27547 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
27548 memmove_falkor.
27549 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
27550 (__libc_ifunc_impl_list): Likewise.
27551 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
27552 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
27553
5bfb0404
SP
27554 * benchtests/bench-memmove-walk.c: New file.
27555 * benchtests/Makefile (string-benchset): Add it.
27556
36bb8edf
SP
27557 * benchtests/bench-memset-walk.c: New file.
27558 * benchtests/Makefile (string-benchset): Add it.
27559
9ec87fd2
SP
27560 * benchtests/bench-memcpy-walk.c: New file.
27561 * benchtests/Makefile (string-benchset): Add it.
27562
1e9522c6
FW
275632017-10-05 Florian Weimer <fweimer@redhat.com>
27564
27565 nscd: Eliminate compilation time dependency in the build output.
27566 * nscd/nscd_stat.c (STATDATA_VERSION)
27567 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
27568 (STATDATA_VERSION_FULL): New macro definitions.
27569 (compilation): Remove.
27570 (struct statdata): Adjust version member.
27571 (send_stats): Set version from STATDATA_VERSION_FULL.
27572 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
27573
644d3857
JM
275742017-10-05 Joseph Myers <joseph@codesourcery.com>
27575
27576 * configure.ac (--enable-add-ons): Remove option.
27577 (machine): Do not mention add-ons in comment.
27578 (LIBC_PRECONFIGURE): Likewise.
27579 (add_ons): Remove variable and sanity checks and logic to locate
27580 add-ons.
27581 (add_ons_automatic): Remove variable.
27582 (configured_add_ons): Likewise.
27583 (add_ons_sfx): Likewise.
27584 (add_ons_pfx): Likewise.
27585 (add_on_subdirs): Likewise.
27586 (sysnames_add_ons): Likewise. Remove loop over add-ons and
27587 consideration of add-ons in Implies handling.
27588 (sysdeps_add_ons): Likewise.
27589 * configure: Regenerated.
27590 * libidn/configure.ac: Remove.
27591 * libidn/configure: Likewise.
27592 * sysdeps/unix/inet/configure.ac: New file.
27593 * sysdeps/unix/inet/configure: New generated file.
27594 * sysdeps/unix/inet/Subdirs: Add libidn.
27595 * Makeconfig (sysdeps-srcdirs): Remove variable.
27596 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
27597 ($(common-objpfx)config.status): Do not depend on add-on files.
27598 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
27599 comment.
27600 (all-subdirs): Do not include $(add-on-subdirs).
27601 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
27602 * config.make.in (add-ons): Remove variable.
27603 (add-on-subdirs): Likewise.
27604 (sysdeps-add-ons): Likewise.
27605 * manual/Makefile (add-chapters): Remove.
27606 ($(objpfx)texis): Do not depend on $(add-chapters).
27607 (nonexamples): Do not handle $(add-chapters).
27608 (examples): Do not handle $(add-ons).
27609 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
27610 libc-texinfo.sh.
27611 * manual/install.texi (Installation): Do not mention add-ons.
27612 (--enable-add-ons): Do not document configure option.
27613 * INSTALL: Regenerated.
27614 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
27615 * manual/maint.texi (Hierarchy Conventions): Do not mention
27616 add-ons.
27617 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
27618 --enable-add-ons.
27619 * scripts/gen-sorted.awk: Do not handle Subdirs files from
27620 add-ons.
27621 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
27622 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
27623
19f82f35
AS
276242017-10-05 Andreas Schwab <schwab@suse.de>
27625
27626 [BZ #15142]
27627 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
27628 (_IO_flush_all_lockp): Always lock list_all_lock.
27629 (_IO_flush_all_linebuffered): Likewise.
27630 (_IO_unbuffer_all): Likewise.
27631
91e7cf98
FW
276322017-10-05 Florian Weimer <fweimer@redhat.com>
27633
27634 [BZ #15436]
27635 Do not flush stdio streams on abort.
27636 * stdlib/abort.c (fflush): Remove macro definition.
27637 (abort): Remove stages related to stdio flushing.
27638
0c251257
FW
276392017-10-05 Florian Weimer <fweimer@redhat.com>
27640
27641 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
27642
7ea59e3e
SL
276432017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
27644
27645 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
27646
84d0e6f0
FW
276472017-10-05 Florian Weimer <fweimer@redhat.com>
27648
27649 * support/support_format_hostent.c (support_format_hostent): Add
27650 more error information for NETDB_INTERNAL.
27651
ee417882
L
276522017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27653
27654 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
27655 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
27656 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
27657 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
27658 AC_DEFINE if multi-arch is enabled.
27659 * sysdeps/i386/configure: Regenerated.
27660
a67029ff
L
276612017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27662
27663 * Makeconfig (+link-static-before-libc): Use
27664 $(DEFAULT-LDFLAGS-$(@F)).
27665 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
27666 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
27667 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
27668
5dba84b3
L
276692017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27670
27671 * elf/Makefile (tests): Add tst-main1.
27672 (modules-names): Add tst-main1mod.
27673 ($(objpfx)tst-main1): New.
27674 (CRT-tst-main1): Likewise.
27675 (LDFLAGS-tst-main1): Likewise.
27676 (LDLIBS-tst-main1): Likewise.
27677 (tst-main1mod.so-no-z-defs): Likewise.
27678 * elf/tst-main1.c: New file.
27679 * elf/tst-main1mod.c: Likewise.
27680
758f1bfa
L
276812017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27682
27683 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
27684
7e16a5d1
JM
276852017-10-04 Joseph Myers <joseph@codesourcery.com>
27686
27687 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
27688 (fma): Define using libm_alias_double.
27689 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
27690 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
27691 <math_ldbl_opt.h>.
27692 (fmal): Do not define as compat symbol here.
27693 * sysdeps/alpha/fpu/s_fma.c: New file.
27694
db4f87ba
SN
276952017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27696
27697 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
27698
72d13ed1
JM
276992017-10-04 Joseph Myers <joseph@codesourcery.com>
27700
32d372d5
JM
27701 [BZ #22229]
27702 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
27703 <math_ldbl_opt.h>
27704 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
27705 and libc.
27706 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
27707 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
27708 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
27709 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
27710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27711 Include <math_ldbl_opt.h>
27712 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
27713 and libc.
27714 (compat_symbol): Undefine and redefine.
27715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
27716 <math_ldbl_opt.h>
27717 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
27718 (compat_symbol): Undefine and redefine.
27719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
27720 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
27721 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
27722 GLIBC_2_1 for libm.
27723 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
27724 GLIBC_2.0 copysignl symbol.
27725 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
27726 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
27727
72d13ed1
JM
27728 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
27729
11c4f501
FW
277302017-10-04 Florian Weimer <fweimer@redhat.com>
27731
27732 * scripts/check-local-headers.sh: Ignore nspr4 header file
27733 directory in addition to nspr.
27734
57b4af19
GT
277352017-10-04 Guido Trentalancia <guido@trentalancia.net>
27736
27737 [BZ #17956]
27738 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
27739 * configure: Regenerate.
27740 * crypt/Makefile (nss-cpp-flags): New variable.
27741 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
27742 (CPPFLAGS-md5-crypt.c): Use it.
27743 * scripts/check-local-headers.sh: Ignore nspr header file
27744 directory.
27745
64d1e08e
AS
277462017-10-04 Andreas Schwab <schwab@suse.de>
27747
27748 * nis/Makefile (services): Remove compat.
27749 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
27750 ($(objpfx)libnss_compat.so): Remove rule.
27751 * nis/Versions (libnss_compat): Remove.
27752 * nss/Makefile (services): Add compat.
27753 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
27754 * nss/Versions (libnss_compat): Define.
27755 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
27756 Don't include <rpc/types.h>. Replace bool_t by bool.
27757 * nss/nss_compat/compat-initgroups.c: Likewise.
27758 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
27759 instead of <rpcsrv/ypclnt.h>.
27760 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
27761 yp_get_default_domain.
27762 * nss/nss_compat/compat-pwd.c: Likewise.
27763 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
27764 yp_get_default_domain.
27765 * nss/nss_compat/nisdomain.c: New file.
27766 * nss/nss_compat/nisdomain.h: Likewise.
27767
86c27ade
SN
277682017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27769
27770 [BZ #22244]
27771 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
27772 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27773
8f8f8ef7
SN
277742017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27775
27776 [BZ #22243]
27777 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
27778 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
27779
95577475
L
277802017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27781
27782 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
27783 "movl main@GOTOFF(%ebx), %eax".
27784
02d2d892
L
277852017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27786
27787 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
27788 allow undefined _DYNAMIC in PIE libc.a.
27789 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
27790 Likewse.
27791
0c609d19
L
277922017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27793
27794 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
27795 check _DYNAMIC.
27796
c34a19ed
L
277972017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27798
27799 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
27800 check _DYNAMIC.
27801
cdd4155d
L
278022017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27803
27804 * math/test-math-iscanonical.cc (error): Replace bool with int.
27805
4699cb8b
JM
278062017-10-03 Joseph Myers <joseph@codesourcery.com>
27807
d8f619b3
JM
27808 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
27809 (modf): Define using libm_alias_double, only if [!__modf].
27810 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
27811 <libm-alias-double.h>.
27812 (modf): Define using libm_alias_double, only if [!__modf].
27813 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
27814 compat symbol here.
27815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
27816 (weak_alias): Do not undefine and redefine.
27817 (strong_alias): Likewise.
27818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
27819 (weak_alias): Likewise.
27820 (strong_alias): Likewise.
27821
4699cb8b
JM
27822 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
27823 (logb): Define using libm_alias_double, only if [!__logb].
27824 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
27825 <libm-alias-double.h>.
27826 (logb): Define using libm_alias_double, only if [!__logb].
27827 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
27828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
27829 (weak_alias): Do not undefine and redefine.
27830 (strong_alias): Likewise.
27831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
27832 (weak_alias): Likewise.
27833 (strong_alias): Likewise.
27834
bcc4e4bb
L
278352017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27836
27837 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
27838 Check SHARED instead PIC.
27839
39793865
JM
278402017-10-03 Joseph Myers <joseph@codesourcery.com>
27841
7f1cbdf8
JM
27842 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
27843 [!__fmaf] (fmaf): Define using libm_alias_float.
27844
39793865
JM
27845 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
27846 (frexp): Define using libm_alias_double.
27847 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
27848 <libm-alias-double.h>.
27849 (frexp): Define using libm_alias_double.
27850 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
27851 compat symbol here.
27852
aa0235df
GG
278532017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27854
27855 [BZ #22235]
27856 * math/math.h: Trivial fix for unbalanced parentheses in comment.
27857 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
27858 (CFLAGS-test-math-iscanonical.cc): New variable.
27859 * math/test-math-iscanonical.cc: New file.
27860 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
27861 Provide a C++ implementation based on function overloading,
27862 rather than using __MATH_TG, which uses C-only builtins.
27863 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
27864 Likewise.
27865 * sysdeps/powerpc/powerpc64le/Makefile
27866 (CFLAGS-test-math-iscanonical.cc): New variable.
27867
a1132b5e
JM
278682017-10-03 Joseph Myers <joseph@codesourcery.com>
27869
27870 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
27871 (ceil): Define using libm_alias_double.
27872 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
27873 (floor): Define using libm_alias_double.
27874 * sysdeps/ieee754/dbl-64/s_llround.c: Include
27875 <libm-alias-double.h>.
27876 (llround): Define using libm_alias_double.
27877 * sysdeps/ieee754/dbl-64/s_lround.c: Include
27878 <libm-alias-double.h>.
27879 (lround): Define using libm_alias_double.
27880 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
27881 <libm-alias-double.h>.
27882 (nearbyint): Define using libm_alias_double.
27883 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
27884 <libm-alias-double.h>.
27885 (remquo): Define using libm_alias_double.
27886 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
27887 (rint): Define using libm_alias_double.
27888 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
27889 (round): Define using libm_alias_double.
27890 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
27891 (trunc): Define using libm_alias_double.
27892 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
27893 <libm-alias-double.h>.
27894 (ceil): Define using libm_alias_double.
27895 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
27896 <libm-alias-double.h>.
27897 (floor): Define using libm_alias_double.
27898 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
27899 <libm-alias-double.h>.
27900 (llround): Define using libm_alias_double.
27901 [_LP64] (lround): Likewise.
27902 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
27903 <libm-alias-double.h>.
27904 [!_LP64] (lround): Define using libm_alias_double.
27905 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
27906 <libm-alias-double.h>.
27907 (nearbyint): Define using libm_alias_double.
27908 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
27909 <libm-alias-double.h>.
27910 (remquo): Define using libm_alias_double.
27911 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
27912 <libm-alias-double.h>.
27913 (rint): Define using libm_alias_double.
27914 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
27915 <libm-alias-double.h>.
27916 (round): Define using libm_alias_double.
27917 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
27918 <libm-alias-double.h>.
27919 (trunc): Define using libm_alias_double.
27920 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
27921 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
27922 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
27923 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
27924 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
27925 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
27926 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
27927 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
27928 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
27929
f275f64e
SN
279302017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27931
27932 * math/w_remainder.c: New file.
27933 * math/w_remainderf.c: New file.
27934 * math/w_remainderl.c: New file.
27935
b8818ab5
L
279362017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27937
27938 * elf/rtld.c (BOOTSTRAP_MAP): New.
27939 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
27940 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27941 Likewise.
27942 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27943 Likewise.
27944 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27945 Likewise.
27946
3d1870fa
ST
279472017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
27948
27949 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
27950 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
27951 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
27952 rtld_hidden_data_ver): Define to empty.
27953 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
27954 __assert_perror_fail): Likewise.
27955 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27956 (__rewinddir): Likewise.
27957 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27958 (__profile_frequency): Likewise.
27959 * include/setjmp.h (__sigsetjmp): Likewise.
27960 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
27961 __libc_sigaction): Likewise.
27962 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
27963 not set hidden attribute.
27964 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
27965 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
27966 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
27967 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
27968 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
27969 __fxstatat64): Likewise.
27970 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27971 (__uname): Likewise.
27972 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27973 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
27974 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
27975 (NO_RTLD_HIDDEN): Set.
27976 * sysdeps/mach/hurd/configure: Refresh.
27977 * config.h.in: Refresh.
27978
527cd19c
JM
279792017-10-02 Joseph Myers <joseph@codesourcery.com>
27980
38722448
JM
27981 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
27982 (atan): Define using libm_alias_double.
27983 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
27984 (tan): Define using libm_alias_double.
27985 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
27986 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
27987
527cd19c
JM
27988 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
27989 define as weak alias of __atan. Do not define any aliases if
27990 [__atan].
27991 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
27992 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
27993 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
27994 as weak alias of __tan. Do not define any aliases if [__tan].
27995 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
27996 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
27997 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
27998 __atan.
27999 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
28000 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
28001 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
28002 and define as weak alias of __atan.
28003 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
28004 __atan.
28005 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
28006 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
28007 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
28008 define as weak alias of __tan.
28009
bdc5c592
SN
280102017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28011
28012 * math/w_lgamma.c: New file.
28013 * math/w_lgammaf.c: New file.
28014 * math/w_lgammal.c: New file.
28015
bd4430c2
SN
280162017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28017
28018 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
28019 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
28020 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
28021 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
28022 * sysdeps/ieee754/flt-32/w_logf.c: New file.
28023 * sysdeps/ieee754/flt-32/w_powf.c: New file.
28024 * sysdeps/i386/fpu/w_log2f.c: New file.
28025 * sysdeps/i386/fpu/w_logf.c: New file.
28026 * sysdeps/i386/fpu/w_powf.c: New file.
28027 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
28028 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
28029 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
28030
f7a0b063
SN
280312017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28032 H.J. Lu <hongjiu.lu@intel.com>
28033
28034 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
28035 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
28036 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
28037 * sysdeps/ieee754/flt-32/w_expf.c: New file.
28038 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
28039 the new expf code.
28040 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
28041 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
28042 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
28043 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
28044 * sysdeps/i386/fpu/w_exp2f.c: New file.
28045 * sysdeps/i386/fpu/w_expf.c: New file.
28046 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
28047 * sysdeps/x86_64/fpu/w_expf.c: New file.
28048
72d3d281
SN
280492017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28050
28051 * math/Versions (logf): New libm symbol at GLIBC_2.27.
28052 (log2f): Likewise.
28053 (powf): Likewise.
28054 * math/w_log2f.c: New file.
28055 * math/w_logf.c: New file.
28056 * math/w_powf.c: New file.
28057 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
28058 * math/w_logf_compat.c (__logf_compat): Likewise.
28059 * math/w_powf_compat.c (__powf_compat): Likewise.
28060 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
28061 * sysdeps/ia64/fpu/e_logf.S: Likewise.
28062 * sysdeps/ia64/fpu/e_powf.S: Likewise.
28063 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
28064 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
28065 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
28066 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
28067 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
28068 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
28069 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
28070 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
28071 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
28072 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
28073 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
28074 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
28075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
28076 Likewise.
28077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
28078 Likewise.
28079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
28080 Likewise.
28081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
28082 Likewise.
28083 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
28084 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
28085 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
28086 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
28087 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
28088 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
28089 Likewise.
28090 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
28091 Likewise.
28092 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
28093 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
28094 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
28095
59ba2d2b
RS
280962017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28097
28098 * sysdeps/powerpc/powerpc64/multiarch/Makefile
28099 (sysdep_routines): Add memrchr_power8.
28100 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28101 (memrchr): Add __memrchr_power8 to list of memrchr functions.
28102 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
28103 New file.
28104 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
28105 (memrchr): Add __memrchr_power8 to ifunc list.
28106 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
28107
397286ea
L
281082017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28109
28110 [BZ #18822]
28111 * sysdeps/unix/sysv/linux/posix_fadvise64.c
28112 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
28113 libc_hidden_def.
28114 * sysdeps/unix/sysv/linux/posix_fallocate64.c
28115 (__posix_fallocate64_l64): Likewise.
28116
d0a4512b
L
281172017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28118
28119 [BZ #18822]
28120 * sysdeps/unix/sysv/linux/sched_setaffinity.c
28121 (__sched_setaffinity_new): Add libc_hidden_proto and
28122 libc_hidden_def.
28123
c0769f70
L
281242017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28125
28126 [BZ #18822]
28127 * include/glob.h (__glob64): Add libc_hidden_proto.
28128 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
28129 libc_hidden_def.
28130
0e7d5b6e
L
281312017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28132
28133 [BZ #18822]
28134 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
28135 attribute_hidden.
28136
bde06c87
L
281372017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28138
28139 [BZ #18822]
28140 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
28141
fa426590
L
281422017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28143
28144 [BZ #18822]
28145 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
28146 libc_hidden_def.
28147
2f8a05d8
L
281482017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28149
28150 [BZ #18822]
28151 * csu/version.c (__libc_print_version): Add attribute_hidden.
28152
7bfd08ac
L
281532017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28154
28155 [BZ #18822]
28156 * include/libc-internal.h (__init_misc): Add attribute_hidden.
28157
0e1fd06c
L
281582017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28159
28160 [BZ #18822]
28161 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
28162
36e7ae1e
L
281632017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28164
28165 [BZ #18822]
28166 * nscd/nscd_helper.c (__nis_hash): New prototype.
28167
87078544
L
281682017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28169
28170 [BZ #18822]
28171 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
28172 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
28173 libc_hidden_def.
28174 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
28175 * termios/tcgetattr.c (__tcgetattr): Likewise.
28176
dd3121df
L
281772017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28178
28179 [BZ #18822]
28180 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
28181 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
28182 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
28183 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
28184 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
28185
047d1a81
L
281862017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28187
28188 [BZ #18822]
28189 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
28190
fd331b11
L
281912017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28192
28193 [BZ #18822]
28194 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
28195 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
28196
57f859bd
L
281972017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28198
28199 [BZ #18822]
28200 * intl/hash-string.h (__hash_string): Add attribute_hidden.
28201
d1903329
L
282022017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28203
28204 [BZ #18822]
28205 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
28206 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
28207
b4744101
L
282082017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28209
28210 [BZ #18822]
28211 * include/ifreq.h: New file.
28212 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
28213 (__ifreq): Likewise.
28214 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
28215 (__ifreq): Likewise.
28216
43b7dfd1
L
282172017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28218
28219 [BZ #18822]
28220 * include/idna.h: New file.
28221 * inet/getnameinfo.c: Include <idna.h> instead of
28222 <libidn/idna.h>.
28223 (__idna_to_unicode_lzlz): Removed.
28224 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
28225 <libidn/idna.h>.
28226 (__idna_to_ascii_lz): Removed.
28227 (__idna_to_unicode_lzlz): Likewise.
28228
2c0cd8f8
L
282292017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28230
28231 [BZ #18822]
28232 * include/plural-exp.h: New file.
28233 * intl/plural-exp.c: Include <plural-exp.h> instead of
28234 "plural-exp.h".
28235
8369d216
L
282362017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28237
28238 [BZ #18822]
28239 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
28240 "getsourcefilter.h".
28241 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
28242 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
28243 "getsourcefilter.h".
28244 (__get_sol): Removed.
28245
a0aef783
L
282462017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28247
28248 [BZ #18822]
28249 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
28250 to ...
28251 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
28252
3ee8209b
L
282532017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28254
28255 [BZ #18822]
28256 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
28257 attribute_hidden.
28258
6036fc38
L
282592017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28260
28261 [BZ #18822]
28262 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
28263
fe84fed0
L
282642017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28265
28266 [BZ #18822]
28267 * include/search.h (__tdestroy): Add libc_hidden_proto.
28268 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
28269
048dd681
L
282702017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28271
28272 [BZ #18822]
28273 * include/assert.h (__assert_fail_base): Add attribute_hidden.
28274
6e342af6
L
282752017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28276
28277 [BZ #18822]
28278 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
28279 attribute_hidden.
28280
6a088436
L
282812017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28282
28283 [BZ #18822]
28284 * include/signal.h (__kill): Add libc_hidden_proto.
28285 (__sigblock): Likewise.
28286 (__sigprocmask): Likewise.
28287 (__sigaltstack): Likewise.
28288 * signal/kill.c (__kill): Add libc_hidden_def.
28289 * signal/sigblock.c (__sigblock): Likewise.
28290 * signal/sigprocmask.c (__sigprocmask): Likewise.
28291 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
28292 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
28293 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
28294 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
28295 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
28296 Likewise.
28297 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
28298 Likewise.
28299 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
28300 (__sigprocmask): Likewise.
28301 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
28302 Likewise.
28303 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
28304 (__sigprocmask): Likewise.
28305 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
28306 Likewise.
28307
78cf1d74
L
283082017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28309
28310 [BZ #18822]
28311 * include/string.h (__strsep): Add libc_hidden_proto.
28312 * string/strsep.c (__strsep): Add libc_hidden_def.
28313
85b35894
L
283142017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28315
28316 [BZ #18822]
28317 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
28318 attribute_hidden.
28319 (__spawni): Likewise.
28320
225f7eec
L
283212017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28322
28323 [BZ #18822]
28324 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
28325 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
28326 libc_hidden_def.
28327
372fe247
L
283282017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28329
28330 [BZ #18822]
28331 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
28332
9e5ee8b8
L
283332017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28334
28335 [BZ #18822]
28336 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
28337 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
28338 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
28339 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
28340 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
28341 Likewise.
28342 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
28343 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
28344
2ff16592
L
283452017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28346
28347 [BZ #18822]
28348 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
28349 (__dcigettext): Likewise.
28350
b5648377
L
283512017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28352
28353 [BZ #18822]
28354 * include/sys/sysinfo.h (__get_nprocs_conf): Add
28355 libc_hidden_proto.
28356 (__get_nprocs): Likewise.
28357 (__get_phys_pages): Likewise.
28358 (__get_avphys_pages): Likewise.
28359 (__get_child_max): Add attribute_hidden.
28360 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
28361 (__get_nprocs): Likewise.
28362 (__get_phys_pages): Likewise.
28363 (__get_avphys_pages): Likewise.
28364 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
28365 libc_hidden_def.
28366 (__get_nprocs): Likewise.
28367 (__get_phys_pages): Likewise.
28368 (__get_avphys_pages): Likewise.
28369 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
28370 libc_hidden_def.
28371 (__get_nprocs_conf): Likewise.
28372 (__get_phys_pages): Likewise.
28373 (__get_avphys_pages): Likewise.
28374
0389a6aa
L
283752017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28376
28377 [BZ #18822]
28378 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
28379 attribute_hidden.
28380 (__netlink_close): Likewise.
28381 (__netlink_free_handle): Likewise.
28382 (__netlink_request): Likewise.
28383
d48354d8
L
283842017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28385
28386 [BZ #18822]
28387 * include/rpc/rpc.h (__rpc_thread_variables): Add
28388 attribute_hidden.
28389 (__rpc_thread_svc_cleanup): Likewise.
28390 (__rpc_thread_clnt_cleanup): Likewise.
28391 (__rpc_thread_key_cleanup): Likewise.
28392
d6daff12
L
283932017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28394
28395 [BZ #18822]
28396 * include/sys/uio.h (__readv): Add libc_hidden_proto.
28397 (__writev): Likewise.
28398 * misc/readv.c (__readv): Add libc_hidden_def.
28399 * misc/writev.c (__writev): Likewise.
28400 * sysdeps/posix/readv.c (__readv): Likewise.
28401 * sysdeps/posix/writev.c (__writev): Likewise.
28402 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
28403 (__readv): Likewise.
28404 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
28405 (__writev): Likewise.
28406
b68f8620
L
284072017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28408
28409 [BZ #18822]
28410 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
28411 (__regcomp): Add libc_hidden_proto.
28412 (__regexec): Likewise.
28413 (__regfree): Likewise.
28414 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
28415 (__regfree): Likewise.
28416 * posix/regexec.c (__regexec): Likewise.
28417
59c04e67
L
284182017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28419
28420 [BZ #18822]
28421 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
28422 (__getutent): Likewise.
28423 (__getutid): Likewise.
28424 (__getutline): Likewise.
28425 (__pututline): Likewise.
28426 (__getutent_r): Likewise.
28427 (__getutid_r): Likewise.
28428 (__getutline_r): Likewise.
28429 (__utmpname): Add attribute_hidden.
28430 (__setutent): Likewise.
28431 (__endutent): Likewise.
28432 * login/getutent.c (__getutent): Add libc_hidden_def.
28433 * login/getutent_r.c (__getutent_r): Likewise.
28434 (__pututline): Likewise.
28435 * login/getutid.c (__getutid): Likewise.
28436 * login/getutid_r.c (__getutid_r): Likewise.
28437 * login/getutline.c (__getutline): Likewise.
28438 * login/getutline_r.c (__getutline_r): Likewise.
28439 * login/updwtmp.c (__updwtmp): Likewise.
28440
4587a421
L
284412017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28442
28443 [BZ #18822]
28444 * include/dirent.h (__opendir): Always add attribute_hidden.
28445 (__fdopendir): Likewise.
28446 (__closedir): Likewise.
28447 (__readdir): Likewise.
28448 (__readdir64): Add libc_hidden_proto.
28449 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
28450 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
28451 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
28452 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
28453 New alias.
28454
9635ce69
L
284552017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28456
28457 [BZ #18822]
28458 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
28459 * include/netdb.h (__gethostbyaddr_r): Likewise.
28460 (__gethostbyname_r): Likewise.
28461 (__gethostbyname2_r): Likewise.
28462 (__getnetbyaddr_r): Likewise.
28463 (__getnetbyname_r): Likewise.
28464 (__getservbyname_r): Likewise.
28465 (__getservbyport_r): Likewise.
28466 (__getprotobyname_r): Likewise.
28467 (__getprotobynumber_r): Likewise.
28468 (__getnetgrent_r): Likewise.
28469 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
28470 (__getrpcbynumber_r): Likewise.
28471 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
28472
2e0a6909
L
284732017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28474
28475 [BZ #18822]
28476 * include/stdio.h (__fcloseall): Add attribute_hidden.
28477 (__getline): Likewise.
28478 (__path_search): Likewise.
28479 (__gen_tempname): Likewise.
28480 (__libc_message): Likewise.
28481 (__flockfile): Likewise.
28482 (__funlockfile): Likewise.
28483 (__fxprintf): Likewise.
28484 (__fxprintf_nocancel): Likewise.
28485
94fd682c
L
284862017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28487
28488 [BZ #18822]
28489 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
28490 (__sgetsgent_r): Likewise.
28491
e1b33bba
L
284922017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28493
28494 [BZ #18822]
28495 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
28496 (__statfs64): Likewise.
28497 (__fstatfs64): Likewise.
28498 * include/sys/statvfs.h (__statvfs64): Likewise.
28499 (__fstatvfs64): Likewise.
28500 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
28501 (__statfs_filesize_max): Likewise.
28502 (__statfs_symlinks): Likewise.
28503 (__statfs_chown_restricted): Likewise.
28504
b0f56784
L
285052017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28506
28507 [BZ #18822]
28508 * include/time.h (__tzstring): Add attribute_hidden.
28509 (__tzfile_read): Likewise.
28510 (__tzfile_compute): Likewise.
28511 (__tzfile_default): Likewise.
28512 (__tzset_parse_tz): Likewise.
28513 (__offtime): Likewise.
28514 (__asctime_r): Likewise.
28515 (__tzset): Likewise.
28516 (__tz_convert): Likewise.
28517 (__getdate_r): Likewise.
28518 (__getclktck): Likewise.
28519
a4338d99
L
285202017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28521
28522 [BZ #18822]
28523 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
28524 (__nscd_unmap): Likewise.
28525 (__nscd_cache_search): Likewise.
28526 (__nscd_get_nl_timestamp): Likewise.
28527 (__nscd_getpwnam_r): Likewise.
28528 (__nscd_getpwuid_r): Likewise.
28529 (__nscd_getgrnam_r): Likewise.
28530 (__nscd_getgrgid_r): Likewise.
28531 (__nscd_gethostbyname_r): Likewise.
28532 (__nscd_gethostbyname2_r): Likewise.
28533 (__nscd_gethostbyaddr_r): Likewise.
28534 (__nscd_getai): Likewise.
28535 (__nscd_getgrouplist): Likewise.
28536 (__nscd_getservbyname_r): Likewise.
28537 (__nscd_getservbyport_r): Likewise.
28538 (__nscd_innetgr): Likewise.
28539 (__nscd_setnetgrent): Likewise.
28540
a2ca1652
L
285412017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28542
28543 [BZ #18822]
28544 * include/gmp.h: Declare internal functions only if _ISOMAC is
28545 undefined.
28546 (__mpn_extract_double): Add attribute_hidden.
28547 (__mpn_extract_long_double): Likewise.
28548 (__mpn_extract_float128): Likewise.
28549 (__mpn_construct_float): Likewise.
28550 (__mpn_construct_double): Likewise.
28551 (__mpn_construct_long_double): Likewise.
28552 (__mpn_construct_float128): Likewise.
28553 (mpn_add_1): Likewise.
28554 (mpn_addmul_1): Likewise.
28555 (mpn_add_n): Likewise.
28556 (mpn_cmp): Likewise.
28557 (mpn_divrem): Likewise.
28558 (mpn_lshift): Likewise.
28559 (mpn_mul): Likewise.
28560 (mpn_mul_1): Likewise.
28561 (mpn_rshift): Likewise.
28562 (mpn_sub_1): Likewise.
28563 (mpn_submul_1): Likewise.
28564 (mpn_sub_n): Likewise.
28565
44af8a32
L
285662017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28567
28568 [BZ #18822]
28569 * include/wchar.h (__wcsnlen): Add attribute_hidden.
28570 (__wcscat): Likewise.
28571 (__btowc): Likewise.
28572 (__wcrtomb): Likewise.
28573 (__mbsrtowcs): Likewise.
28574 (__wcsrtombs): Likewise.
28575 (__mbsnrtowcs): Likewise.
28576 (__wcsnrtombs): Likewise.
28577 (__wcsncpy): Likewise.
28578 (__wcpncpy): Likewise.
28579 (__wmemcpy): Likewise.
28580 (__wmempcpy): Likewise.
28581 (__wmemmove): Likewise.
28582 (__wcschrnul): Likewise.
28583 (__vfwscanf): Likewise.
28584 (__vswprintf): Likewise.
28585 (__fwprintf): Likewise.
28586 (__vfwprintf): Likewise.
28587
783cd767
L
285882017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28589
28590 [BZ #18822]
28591 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
28592 (__getgrgid_r): Likewise.
28593 (__getgrnam_r): Likewise.
28594 * include/pwd.h (__getpwuid_r): Likewise.
28595 (__getpwnam_r): Likewise.
28596 (__fgetpwent_r): Likewise.
28597 * include/shadow.h (__getspnam_r): Likewise.
28598 (__sgetspent_r): Likewise.
28599 (__fgetspent_r): Likewise.
28600
7ec4b39a
L
286012017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28602
28603 [BZ #18822]
28604 * include/unistd.h (__access): Add attribute_hidden.
28605 (__lseek64): Likewise.
28606 (__libc_pread64): Likewise.
28607 (__pipe2): Likewise.
28608 (__sleep): Likewise.
28609 (__chdir): Likewise.
28610 (__fchdir): Likewise.
28611 (__getcwd): Likewise.
28612 (__rmdir): Likewise.
28613 (__execvpe): Likewise.
28614 (__execve): Likewise.
28615 (__setsid): Likewise.
28616 (__getuid): Likewise.
28617 (__geteuid): Likewise.
28618 (__getgid): Likewise.
28619 (__getegid): Likewise.
28620 (__getgroups): Likewise.
28621 (__group_member): Likewise.
28622 (__ttyname_r): Likewise.
28623 (__isatty): Likewise.
28624 (__readlink): Likewise.
28625 (__unlink): Likewise.
28626 (__gethostname): Likewise.
28627 (__profil): Likewise.
28628 (__getdtablesize): Likewise.
28629 (__brk): Likewise.
28630 (__ftruncate): Likewise.
28631 (__ftruncate64): Likewise.
28632
8345a760
L
286332017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28634
28635 [BZ #18822]
28636 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
28637 * argp/argp-fs-xinl.c: Likewise.
28638 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
28639 * argp/argp-parse.c: Include <argp.h>.
28640 * argp/argp-xinl.c: Likewise.
28641 * include/argp-fmtstream.h: New file.
28642 * include/argp.h (__argp_error): Add attribute_hidden.
28643 (__argp_failure): Likewise.
28644 (__argp_input): Likewise.
28645 (__argp_state_help): Likewise.
28646
c26dd7c6
L
286472017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28648
28649 [BZ #18822]
28650 * include/wchar.h (____wcstof_l_internal): New prototype.
28651 (____wcstod_l_internal): Likewise.
28652 (____wcstold_l_internal): Likewise.
28653 (____wcstol_l_internal): Likewise.
28654 (____wcstoul_l_internal): Likewise.
28655 (____wcstoll_l_internal): Likewise.
28656 (____wcstoull_l_internal): Likewise.
28657 (____wcstof128_l_internal): Likewise.
28658 * sysdeps/ieee754/float128/wcstof128.c
28659 (____wcstof128_l_internal): Removed.
28660 * sysdeps/ieee754/float128/wcstof128_l.c
28661 (____wcstof128_l_internal): Likewise.
28662 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
28663 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
28664 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
28665 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
28666 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
28667 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
28668 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
28669 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
28670 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
28671 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
28672
3aff5644
L
286732017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28674
28675 [BZ #18822]
28676 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
28677 instead of <sys/statvfs.h>.
28678 (__internal_statvfs): Removed.
28679 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
28680 instead of <sys/statvfs.h>.
28681 (__internal_statvfs64): Removed.
28682 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
28683 "internal_statvfs.h" instead of <sys/statvfs.h>.
28684 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
28685 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
28686 instead of <sys/statvfs.h>.
28687 (__internal_statvfs): Removed.
28688 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
28689 instead of <sys/statvfs.h>.
28690 (__internal_statvfs64): Removed.
28691
8bcdb7e0
L
286922017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28693
28694 [BZ #18822]
28695 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
28696 (__gconv_close): Likewise.
28697 (__gconv): Likewise.
28698 (__gconv_find_transform): Likewise.
28699 (__gconv_lookup_cache): Likewise.
28700 (__gconv_compare_alias_cache): Likewise.
28701 (__gconv_load_cache): Likewise.
28702 (__gconv_get_path): Likewise.
28703 (__gconv_close_transform): Likewise.
28704 (__gconv_release_cache): Likewise.
28705 (__gconv_find_shlib): Likewise.
28706 (__gconv_release_shlib): Likewise.
28707 (__gconv_get_builtin_trans): Likewise.
28708 (__gconv_compare_alias): Likewise.
28709 * include/dlfcn.h (_dlerror_run): Likewise.
28710 * include/stdio.h (__fortify_fail_abort): Likewise.
28711 * include/time.h (__tz_compute): Likewise.
28712 (__strptime_internal): Likewise.
28713 * intl/gettextP.h (_nl_find_domain): Likewise.
28714 (_nl_load_domain): Likewise.
28715 (_nl_find_msg): Likewise.
28716 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
28717 (EXTRACT_PLURAL_EXPRESSION): Likewise.
28718 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
28719 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
28720 (__gai_find_request): Likewise.
28721 (__gai_remove_request): Likewise.
28722 (__gai_notify): Likewise.
28723 (__gai_notify_only): Likewise.
28724 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
28725 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
28726 (_dl_non_dynamic_init): Likewise.
28727 (_dl_aux_init): Likewise.
28728 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
28729 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
28730 Likewise.
28731 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
28732 (__wcsmbs_clone_conv): Likewise.
28733 (__wcsmbs_named_conv): Likewise.
28734
8ed3b643
L
287352017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28736
28737 [BZ #18822]
28738 * include/stdlib.h (__random): Add attribute_hidden.
28739 (__random_r): Likewise.
28740 (__srandom_r): Likewise.
28741 (__initstate_r): Likewise.
28742 (__setstate_r): Likewise.
28743 (__erand48_r): Likewise.
28744 (__nrand48_r): Likewise.
28745 (__jrand48_r): Likewise.
28746 (__srand48_r): Likewise.
28747 (__seed48_r): Likewise.
28748 (__lcong48_r): Likewise.
28749 (__drand48_iterate): Likewise.
28750 (__setenv): Likewise.
28751 (__unsetenv): Likewise.
28752 (__clearenv): Likewise.
28753 (__ptsname_r): Likewise.
28754 (__posix_openpt): Likewise.
28755 (__add_to_environ): Likewise.
28756 (__realpath): Add libc_hidden_proto.
28757 (__ecvt_r): Likewise.
28758 (__fcvt_r): Likewise.
28759 (__qecvt_r): Likewise.
28760 (__qfcvt_r): Likewise.
28761 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
28762 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
28763
ef9b6f73
L
287642017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28765
28766 [BZ #18822]
28767 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
28768 * include/time.h (__mktime_internal): Likewise.
28769 * libio/iolibio.h (__fopen_internal): Likewise.
28770
8da92e72
JDA
287712017-10-01 John David Anglin <danglin@gcc.gnu.org>
28772
28773 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
28774 pointer in frame.
28775 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
28776 Correct offset used to restore PIC register.
28777
388784cf
JDA
287782017-09-30 John David Anglin <danglin@gcc.gnu.org>
28779
28780 [BZ libc/22165]
28781 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
28782 code to load address of __getcontext_ret when generating PIC code.
28783
2000067a
L
287842017-09-30 H.J. Lu <hongjiu.lu@intel.com>
28785
28786 * elf/Makefile (tests-static-internal): Add
28787 tst-tls1-static-non-pie.
28788 (LDFLAGS-tst-tls1-static-non-pie): New.
28789 * elf/tst-tls1-static-non-pie.c: New file.
28790
1e2bffd0
JM
287912017-09-29 Joseph Myers <joseph@codesourcery.com>
28792
28793 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
28794 (asinh): Define using libm_alias_double.
28795 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
28796 (cbrt): Define using libm_alias_double.
28797 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
28798 <libm-alias-double.h>.
28799 (copysign): Define using libm_alias_double.
28800 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
28801 (erf): Define using libm_alias_double.
28802 (erfc): Likewise.
28803 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
28804 (expm1): Define using libm_alias_double.
28805 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
28806 (fabs): Define using libm_alias_double.
28807 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
28808 libm_alias_double.
28809 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
28810 <libm-alias-double.h>.
28811 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
28812 libm_alias_double.
28813 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
28814 <libm-alias-double.h>.
28815 (getpayload): Define using libm_alias_double.
28816 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
28817 <libm-alias-double.h>.
28818 (llrint): Define using libm_alias_double.
28819 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
28820 (lrint): Define using libm_alias_double.
28821 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
28822 <libm-alias-double.h>.
28823 (nextup): Define using libm_alias_double.
28824 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
28825 <libm-alias-double.h>.
28826 (roundeven): Define using libm_alias_double.
28827 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
28828 libm_alias_double.
28829 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
28830 <libm-alias-double.h>.
28831 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
28832 using libm_alias_double.
28833 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
28834 (cos): Define using libm_alias_double.
28835 (sin): Likewise.
28836 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
28837 <libm-alias-double.h>.
28838 (sincos): Define using libm_alias_double.
28839 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
28840 (tanh): Define using libm_alias_double.
28841 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
28842 <libm-alias-double.h>.
28843 (totalorder): Define using libm_alias_double.
28844 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
28845 <libm-alias-double.h>.
28846 (totalordermag): Define using libm_alias_double.
28847 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
28848 libm_alias_double.
28849 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
28850 libm_alias_double.
28851 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
28852 <libm-alias-double.h>.
28853 (getpayload): Define using libm_alias_double.
28854 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
28855 <libm-alias-double.h>.
28856 (roundeven): Define using libm_alias_double.
28857 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
28858 <libm-alias-double.h>.
28859 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
28860 <libm-alias-double.h>.
28861 (totalorder): Define using libm_alias_double.
28862 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
28863 <libm-alias-double.h>.
28864 (totalordermag): Define using libm_alias_double.
28865 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
28866 libc compat symbol here.
28867 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
28868 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
28869 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
28870 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
28871 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
28872 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
28873 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
28874 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
28875 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
28876 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
28877
8172aad9
L
288782017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28879
28880 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
28881 _dl_relocate_static_pie instead of _dl_start to compute load
28882 address in static PIE. Return 0 if _DYNAMIC is undefined for
28883 static executable.
28884
54464e74
L
288852017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28886
28887 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
28888 _DYNAMIC is undefined for static executable.
28889
f6c5e5bc
L
288902017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28891
28892 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
28893
2f92505d
JM
288942017-09-29 Joseph Myers <joseph@codesourcery.com>
28895
28896 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28897
bd8d53bb
WD
288982017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
28899
28900 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
28901 (__ieee754_lgamma_r): Use fabs rather than __fabs.
28902 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
28903 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
28904 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
28905 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
28906 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
28907 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
28908 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
28909 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
28910 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
28911 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
28912 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
28913 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
28914 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
28915 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
28916 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
28917
fffb1507
WD
289182017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
28919
28920 * math/bits/cmathcalls.h (cimag): Remove inline.
28921 (creal): Remove inline.
28922 (conj): Remove inline.
28923
4ea49f4c
SN
289242017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28925
28926 * math/Makefile (type-float-routines): Add e_powf_log2_data.
28927 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
28928 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
28929 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
28930 (issignalingf_inline): Likewise.
28931 (POWF_LOG2_TABLE_BITS): Likewise.
28932 (POWF_LOG2_POLY_ORDER): Likewise.
28933 (POWF_SCALE_BITS): Likewise.
28934 (POWF_SCALE): Likewise.
28935 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
28936 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
28937 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
28938
875c76c7
SN
289392017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28940
28941 * math/Makefile (type-float-routines): Add e_log2f_data.
28942 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
28943 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
28944 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
28945 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
28946 * sysdeps/i386/fpu/e_log2f_data.c: New file.
28947 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
28948 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
28949
90c42e40
SN
289502017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28951
28952 * math/Makefile (type-float-routines): Add e_logf_data.
28953 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
28954 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
28955 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
28956 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
28957 * sysdeps/i386/fpu/e_logf_data.c: New file.
28958 * sysdeps/ia64/fpu/e_logf_data.c: New file.
28959 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
28960
4088d8dd
L
289612017-09-28 H.J. Lu <hongjiu.lu@intel.com>
28962
28963 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
28964 undefined _DYNAMIC in PIE libc.a.
28965 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
28966 Likewse.
28967
4d3693ec
WD
289682017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
28969
28970 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
28971 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
28972 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
28973 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
28974 (__signbit): Remove.
28975 (__signbitl): Remove.
28976 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
28977 (__signbit): Remove.
28978 (__signbitl): Remove.
28979 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
28980 (__signbit): Remove.
28981 (__signbitl): Remove.
28982 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
28983 (__signbit): Remove.
28984 (__signbitl): Remove.
28985 * sysdeps/tile/bits/mathinline.h: Delete file.
28986 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
28987 (__signbit): Remove.
28988 (__signbitl): Remove.
28989
1e6d0723
WD
289902017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
28991
28992 * math/math.h: Improve handling of C99 isgreater macros.
28993 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
28994 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
28995 * sysdeps/powerpc/bits/mathinline.h: Likewise.
28996 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
28997 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
28998
b2f03cf3
SN
289992017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
29000
29001 * sysdeps/aarch64/libm-test-ulps: Update.
29002
f124cb38
JM
290032017-09-28 Joseph Myers <joseph@codesourcery.com>
29004
29005 [BZ #22225]
29006 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29007 math_opt_barrier on argument when doing arithmetic on it.
29008 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
29009 Likewise. Use math_force_eval not math_opt_barrier after
29010 arithmetic.
29011 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
29012 math_opt_barrier on argument when doing arithmetic on it.
29013 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
29014 Likewise.
29015
7edd0691
L
290162017-09-27 H.J. Lu <hongjiu.lu@intel.com>
29017
29018 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
29019 libc_hidden_def.
29020 (__freeifaddrs): Likewise.
29021
2c7bbfaf
ST
290222017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
29023
29024 * include/dirent.h (__dirfd): New declaration.
29025 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
29026 alias.
29027 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
29028 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
29029 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
52a1f181
ST
29030 * include/unistd.h (__revoke): New declaration.
29031 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
29032 alias.
29033 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
29034 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
29035 revoke.
64a4af28
ST
29036 * include/dirent.h (__seekdir): New declaration.
29037 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
29038 redefine as weak alias.
29039 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
29040 of seekdir.
4009ddc6
ST
29041 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
29042 and use libc_hidden_def on them.
29043 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
29044 them.
29045 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
29046 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
29047 instead of getifaddrs and freeifaddrs.
2c7bbfaf 29048
825adeee
L
290492017-09-26 H.J. Lu <hongjiu.lu@intel.com>
29050
29051 [BZ #18822]
29052 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
29053 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
29054 (__dso_handle): Remove declaration.
29055 * dlfcn/tstatexit.c (__dso_handle): Removed.
29056 (main): Don't check __dso_handle.
29057 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
29058 (main): Don't check __dso_handle.
29059 * include/dso_handle.h: New file.
29060 * malloc/mtrace.c: Include <dso_handle.h>.
29061 (mtrace): Pass __dso_handle directly.
29062 * nptl/pthread_atfork.c: Include <dso_handle.h>.
29063 (__dso_handle): Remove declaration.
29064 (__pthread_atfork): Pass __dso_handle directly.
29065 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
29066 (__dso_handle): Removed.
29067 * posix/wordexp-test.c: Include <dso_handle.h>.
29068 (__dso_handle): Remove declaration.
29069 (__app_register_atfork): Pass __dso_handle directly.
29070 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
29071 (__dso_handle): Remove declaration.
29072 (at_quick_exit): Pass __dso_handle directly.
29073 * stdlib/atexit.c: Include <dso_handle.h>.
29074 (__dso_handle): Remove declaration.
29075 (atexit): Pass __dso_handle directly.
29076 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
29077 (__dso_handle): Removed.
29078
bfb0deb3
JM
290792017-09-26 Joseph Myers <joseph@codesourcery.com>
29080
29081 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
29082 using VDSO.
29083
cebcb9f8
AM
290842017-09-26 Alexey Makhalov <amakhalov@vmware.com>
29085
29086 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
29087 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
29088 values to correct default value for given type.
29089
592d5c75
L
290902017-09-26 H.J. Lu <hongjiu.lu@intel.com>
29091
29092 [BZ #22101]
29093 * elf/Makefile (tests): Add tst-debug1.
29094 ($(objpfx)tst-debug1): New.
29095 ($(objpfx)tst-debug1.out): Likewise.
29096 ($(objpfx)tst-debug1mod1.so): Likewise.
29097 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
29098 with p_filesz == 0.
29099 * elf/tst-debug1.c: New file.
29100
2d9193f2
JM
291012017-09-26 Joseph Myers <joseph@codesourcery.com>
29102
29103 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
29104 Define using __ifunc.
29105
4c5a7a02
TMQMF
291062017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29107
29108 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
29109 exp2f() values.
29110
12ef66c4
JM
291112017-09-26 Joseph Myers <joseph@codesourcery.com>
29112
29113 [BZ #22156]
29114 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
29115
44dade71
FW
291162017-09-26 Florian Weimer <fweimer@redhat.com>
29117
29118 * resolv/Makefile (tests-internal): Fix typo in comment.
29119
eaca16f1
FW
291202017-09-26 Florian Weimer <fweimer@redhat.com>
29121
29122 * resolv/nss_dns/dns-host.c: Fix typo in comment.
29123
ccf970c7
AZ
291242017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29125
5f9f31ad
AZ
29126 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
29127 Use an union instead of a max_align_t array for __space,
29128 so that __space is the same size on all platforms.
29129 * malloc/scratch_buffer_grow_preserve.c
29130 (__libc_scratch_buffer_grow_preserve): Likewise.
29131
ccf970c7
AZ
29132 [BZ #22183]
29133 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
29134 version to 2.
29135 * posix/Makefile (routines): Add glob-lstat-compat and
29136 glob64-lstat-compat.
29137 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
29138 * posix/glob-lstat-compat.c: New file.
29139 * posix/glob64-lstat-compat.c: Likewise.
29140 * posix/tst-glob_lstat_compat.c: Likewise.
29141 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
29142 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
29143 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
29144 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
29145 Likewise.
29146 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
29147 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
29148 * posix/glob.c (glob_lstat): New function.
29149 (glob): Rename to __glob and add versioned symbol to 2.27.
29150 (glob_in_dir): Use glob_lstat.
29151 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
29152 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
29153 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
29154 2.27.
29155 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
29156 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
29157 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
29158 gl_lstat on glob call.
29159 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
29160 and glob64 symbols.
29161 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
29162 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
29163 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
29164 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
29165 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
29166 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
29167 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
29168 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
29169 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
29170 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
29171 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
29172 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
29173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
29174 Likewise.
29175 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
29176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
29177 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
29178 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
29179 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
29180 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
29181 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
29182 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
29183 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
29184 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
29185 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
29186 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
29187
b4396163
L
291882017-09-25 H.J. Lu <hongjiu.lu@intel.com>
29189
29190 * configure.ac (AS): Require binutils 2.25 or later.
29191 * configure: Regenerated.
29192
8f834987
PP
291932017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
29194
29195 [BZ #22207]
29196 * stdlib/test-atexit-race-common.c (do_test): Minimize required
29197 VM size.
29198
3de93d19
DD
291992017-09-25 DJ Delorie <dj@redhat.com>
29200
29201 [BZ #22161]
29202 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
29203 resetting timeout.
29204
9947638d
SL
292052017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
29206
29207 * sysdeps/ieee754/dbl-64/sincos32.h
29208 [SINCCOS32_H]: Remove define.
29209 [SINCOS32_H]: Define.
29210
f5f0f526
SN
292112017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29212
29213 * math/Versions (expf): New libm symbol at GLIBC_2.27.
29214 (exp2f): Likewise.
29215 * math/w_exp2f.c: New file.
29216 * math/w_expf.c: New file.
29217 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
29218 * math/w_expf_compat.c (__expf_compat): Likewise.
29219 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
29220 * sysdeps/ia64/fpu/e_expf.S: Likewise.
29221 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
29222 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
29223 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
29224 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
29225 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
29226 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
29227 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
29228 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
29229 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
29230 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
29231 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
29232 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
29233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
29234 Likewise.
29235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
29236 Likewise.
29237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
29238 Likewise.
29239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
29240 Likewise.
29241 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
29242 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
29243 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
29244 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
29245 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
29246 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
29247 Likewise.
29248 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
29249 Likewise.
29250 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
29251 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
29252 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
29253
72aa6233
SN
292542017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29255
29256 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
29257 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
29258 (roundtoint, converttoint): Likewise.
29259 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
29260 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
29261 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
29262 * sysdeps/ieee754/flt-32/math_config.h: New file.
29263 * sysdeps/ieee754/flt-32/math_errf.c: New file.
29264 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
29265 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
29266 * sysdeps/i386/fpu/math_errf.c: New file.
29267 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
29268 * sysdeps/ia64/fpu/math_errf.c: New file.
29269 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
29270 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
29271
5e6f3253
ST
292722017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
29273
29274 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
29275 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
29276 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
29277 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
29278 to make sure that these symbols are defined.
b38a42a0
ST
29279 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
29280 of <limits.h>
29281 (__need_NULL): Do not define.
29282 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
29283 alignment.
29284 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
29285 CMGROUP_MAX, cmsgcred): Do not define.
29286 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
29287 NULL.
29288 * bits/socket.h: Likewise.
fcafcd16
ST
29289 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
29290 __gettimeofday instead of gettimeofday.
29291 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
29292 instead of settimeofday.
5e6f3253 29293
2f49ce7d
JM
292942017-09-22 Joseph Myers <joseph@codesourcery.com>
29295
29296 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
29297 (asinhf): Define using libm_alias_float.
29298 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
29299 (atanf): Define using libm_alias_float.
29300 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
29301 (cbrtf): Define using libm_alias_float.
29302 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
29303 (ceilf): Define using libm_alias_float.
29304 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
29305 <libm-alias-float.h>.
29306 (copysignf): Define using libm_alias_float.
29307 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
29308 (cosf): Define using libm_alias_float.
29309 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
29310 (erff): Define using libm_alias_float.
29311 (erfcf): Likewise.
29312 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
29313 (expm1f): Define using libm_alias_float.
29314 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
29315 (fabsf): Define using libm_alias_float.
29316 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
29317 (floorf): Define using libm_alias_float.
29318 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
29319 (frexpf): Define using libm_alias_float.
29320 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
29321 libm_alias_float.
29322 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
29323 <libm-alias-float.h>.
29324 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
29325 libm_alias_float.
29326 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
29327 <libm-alias-float.h>.
29328 (getpayloadf): Define using libm_alias_float.
29329 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
29330 <libm-alias-float.h>.
29331 (llrintf): Define using libm_alias_float.
29332 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
29333 <libm-alias-float.h>.
29334 (llroundf): Define using libm_alias_float.
29335 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
29336 (logbf): Define using libm_alias_float.
29337 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
29338 (lrintf): Define using libm_alias_float.
29339 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
29340 (lroundf): Define using libm_alias_float.
29341 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
29342 (modff): Define using libm_alias_float.
29343 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
29344 <libm-alias-float.h>.
29345 (nearbyintf): Define using libm_alias_float.
29346 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
29347 <libm-alias-float.h>.
29348 (nextafterf): Define using libm_alias_float.
29349 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
29350 <libm-alias-float.h>.
29351 (nextupf): Define using libm_alias_float.
29352 * sysdeps/ieee754/flt-32/s_remquof.c: Include
29353 <libm-alias-float.h>.
29354 (remquof): Define using libm_alias_float.
29355 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
29356 (rintf): Define using libm_alias_float.
29357 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
29358 <libm-alias-float.h>.
29359 (roundevenf): Define using libm_alias_float.
29360 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
29361 (roundf): Define using libm_alias_float.
29362 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
29363 using libm_alias_float.
29364 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
29365 <libm-alias-float.h>.
29366 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
29367 Define using libm_alias_float.
29368 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
29369 <libm-alias-float.h>.
29370 (sincosf): Define using libm_alias_float.
29371 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
29372 (sinf): Define using libm_alias_float.
29373 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
29374 (tanf): Define using libm_alias_float.
29375 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
29376 (tanhf): Define using libm_alias_float.
29377 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
29378 <libm-alias-float.h>.
29379 (totalorderf): Define using libm_alias_float.
29380 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
29381 <libm-alias-float.h>.
29382 (totalordermagf): Define using libm_alias_float.
29383 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
29384 (truncf): Define using libm_alias_float.
29385 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
29386 libm_alias_float.
29387 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
29388 libm_alias_float.
29389
c5c4a626
GG
293902017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29391
29392 [BZ #22146]
29393 math/math.h: Let fpclassify use the builtin in C++ mode, even
29394 when optimazing for size.
29395
23947846
JM
293962017-09-22 Joseph Myers <joseph@codesourcery.com>
29397
29398 * csu/Makefile (generated): Do not add version-info.h.
29399 (before-compile): Likewise.
29400 (all-Banner-files): Remove variable.
29401 ($(objpfx)version-info.h): Remove rule.
29402 * csu/version.c (banner): Do not include "version-info.h".
29403 * libidn/Banner: Remove.
29404 * manual/contrib.texi (Simon Josefsson): New entry.
29405
9ac3c682
GG
294062017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29407
29408 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
29409 Remove conditionals on LDBL_MANT_DIG.
29410 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
29411 (__ieee754_lgammal_r): Likewise.
29412
d2f0ed09
GG
294132017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29414
29415 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
29416 _Float128 and L().
29417 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
29418 _Float128 and L(). Replace _Float128 with long double and L(x)
29419 with xL, throughout the file.
29420 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
29421 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
29422 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
29423 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
29424
c5c2e667
GG
294252017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29426
29427 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
29428 sysdeps/ieee754/ldbl-128ibm.
29429 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
29430 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
29431 of including it. Keep _Float128 and L() intact. These will be
29432 reviewed by a separate patch.
29433 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
29434 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
29435 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
29436 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
29437
e010deb2
GG
294382017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29439
29440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
29441 (__finitef128): Define to __redirect___finitef128.
29442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
29443 (__isinff128): Define to __redirect___isinff128.
29444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
29445 (__isnanf128): Define to __redirect___isnanf128.
29446
ffa44804
GG
294472017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29448
29449 * sysdeps/powerpc/powerpc64le/Makefile
29450 (CFLAGS-tst-strtod-nan-locale.c): New variable.
29451 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
29452
e5e4d7cc
PP
294532017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
29454 Carlos O'Donell <carlos@redhat.com>
29455
29456 [BZ #22180]
29457 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
29458 * stdlib/test-dlclose-exit-race.c: New file.
29459 * stdlib/test-dlclose-exit-race-helper.c: New file.
29460 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
29461
c10c5267
JM
294622017-09-21 Joseph Myers <joseph@codesourcery.com>
29463
29464 * crypt/Banner: Remove file.
29465 * nptl/Banner: Likewise.
29466 * resolv/Banner: Likewise.
29467 * soft-fp/Banner: Likewise.
29468 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
29469 ($(objpfx)version.d): Remove dependency on banner.h.
29470 ($(objpfx)version.os): Likewise.
29471 * nptl/version.c (banner): Do not include banner.h.
29472 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
29473 Jelinek and BIND code.
29474
1cc9e59a
PP
294752017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
29476 Carlos O'Donell <carlos@redhat.com>
29477
29478 * support/xdlfcn.h: New file.
29479 * support/xdlfcn.c: New file.
29480 * support/Makefile (libsupport-routines): Add xdlfcn.
29481 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
29482
ae8372d7
JM
294832017-09-20 Joseph Myers <joseph@codesourcery.com>
29484
29485 [BZ #20142]
29486 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29487 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
29488 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
29489 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
29490 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
29491 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
29492 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
29493 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
29494
26e70aec 294952017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
b39d961c
TS
29496 Ricky Zhou <rickyz@google.com>
29497 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
26e70aec
PP
29498
29499 [BZ #14333]
29500 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
29501 Remove atomics.
29502 (__new_exitfn): Fail registration when we finished at_exit processing.
29503 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
29504 * stdlib/on_exit.c (__on_exit): Likewise.
29505 * stdlib/exit.c (__exit_funcs_done): New variable.
29506 (__run_exit_handlers): Use __exit_funcs_lock.
29507 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
29508 declarations.
29509 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
29510 (test-cxa_atexit-race, test-on_exit-race): New tests.
29511 * stdlib/test-atexit-race-common.c: New file.
29512 * stdlib/test-atexit-race.c: New file.
29513 * stdlib/test-at_quick_exit-race.c: New file.
29514 * stdlib/test-cxa_atexit-race.c: New file.
29515 * stdlib/test-on_exit-race.c: New file.
29516
0525ce48
SN
295172017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
29518
29519 * benchtests/Makefile: Add exp2f and log2f benchmarks.
29520 * benchtests/exp2f-inputs: Copy of expf-inputs.
29521 * benchtests/log2f-inputs: Copy of logf-inputs.
29522
d82468d1
JM
295232017-09-19 Joseph Myers <joseph@codesourcery.com>
29524
29525 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
29526 Explicitly take address of first element of array arguments in
29527 call to INLINE_SYSCALL.
29528
43ffc53a
AS
295292017-09-19 Andreas Schwab <schwab@suse.de>
29530
29531 [BZ #22134]
29532 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
29533 execveat first.
29534 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
29535 unimplemented.
29536 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
29537 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
29538 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29539 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
29540 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
29541 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
29542 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29543 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
29544 * posix/Makefile (tests): Add tst-fexecve.
29545 * posix/tst-fexecve.c: New file.
29546
a5dcc87e
WD
295472017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29548
29549 * benchtests/Makefile: Add logf benchmark.
29550 * benchtests/logf-inputs: Add reduced trace from wrf_r.
29551
7024d544
WD
295522017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29553
29554 * benchtests/Makefile: Add expf benchmark.
29555 * benchtests/expf-inputs: Add reduced trace from wrf_r.
29556
ca3a382e
WD
295572017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29558
29559 * csu/Makefile: Add -funwind-tables to libc-start.c.
29560 * debug/Makefile: Add -funwind-tables to backtrace.c.
29561 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
29562 * sysdeps/arm/Makefile: Likewise.
29563 * sysdeps/i386/Makefile: Likewise.
29564 * sysdeps/m68k/Makefile: Likewise.
29565 * sysdeps/mips/Makefile: Likewise.
29566 * sysdeps/nios2/Makefile: Likewise.
29567 * sysdeps/sh/Makefile: Likewise.
29568 * sysdeps/sparc/Makefile: Likewise.
29569
eb375def
JM
295702017-09-19 Joseph Myers <joseph@codesourcery.com>
29571
29572 * benchtests/Makefile (bench-math): Add trunc and truncf.
29573 (CFLAGS-bench-trunc.c): New variable.
29574 (CFLAGS-bench-truncf.c): Likewise.
29575 * benchtests/trunc-inputs: New file.
29576 * benchtests/truncf-inputs: Likewise.
29577
bd17ba29
RS
295782017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29579
29580 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
29581
92892fdb
JM
295822017-09-18 Joseph Myers <joseph@codesourcery.com>
29583
6d9b0b5a
JM
29584 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
29585 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
29586 redefine.
29587 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
29588 (exp10l): Define as weak alias.
29589 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
29590 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
29591 and redefine.
29592 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
29593 (remainderl): Define as weak alias.
29594
92892fdb
JM
29595 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
29596 (fmal): Define using libm_alias_ldouble.
29597 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
29598 (acoshl): Define using libm_alias_ldouble.
29599 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
29600 (acosl): Define using libm_alias_ldouble.
29601 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
29602 (asinl): Define using libm_alias_ldouble.
29603 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
29604 (atan2l): Define using libm_alias_ldouble.
29605 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
29606 (atanhl): Define using libm_alias_ldouble.
29607 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
29608 (coshl): Define using libm_alias_ldouble.
29609 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
29610 (exp10l): Define using libm_alias_ldouble.
29611 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
29612 (exp2l): Define using libm_alias_ldouble.
29613 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
29614 (expl): Define using libm_alias_ldouble.
29615 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
29616 (fmodl): Define using libm_alias_ldouble.
29617 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
29618 (hypotl): Define using libm_alias_ldouble.
29619 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
29620 (j0l): Define using libm_alias_ldouble.
29621 (y0l): Likewise.
29622 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
29623 (j1l): Define using libm_alias_ldouble.
29624 (y1l): Likewise.
29625 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
29626 (jnl): Define using libm_alias_ldouble.
29627 (ynl): Likewise.
29628 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
29629 (log10l): Define using libm_alias_ldouble.
29630 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
29631 (log2l): Define using libm_alias_ldouble.
29632 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
29633 (logl): Define using libm_alias_ldouble.
29634 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
29635 (powl): Define using libm_alias_ldouble.
29636 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
29637 (remainderl): Define using libm_alias_ldouble.
29638 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
29639 (sinhl): Define using libm_alias_ldouble.
29640 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
29641 (sqrtl): Define using libm_alias_ldouble.
29642 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
29643 (tgammal): Define using libm_alias_ldouble.
29644 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
29645 (exp10l): Do not use long_double_symbol here.
29646 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
29647 [LIBM_SVID_COMPAT] (remainderl): Likewise.
29648 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
29649 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
29650 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
29651 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
29652 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
29653 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
29654 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
29655 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
29656 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
29657 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
29658 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
29659 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
29660 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
29661 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
29662 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
29663 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
29664 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
29665 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
29666 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
29667 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
29668
6cd380dd
WB
296692017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
29670
29671 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
29672 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
29673
1c6d89e9
ST
296742017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
29675
29676 * io/read.c (read): Add libc_hidden_weak.
29677 * sysdeps/mach/hurd/read.c (read): Likewise.
29678 * io/write.c (write): Likewise.
29679 * sysdeps/mach/hurd/write.c (write): Likewise.
29680 * io/pread64.c (__pread64): Likewise.
29681 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
29682 * posix/pread64.c (__pread64): Add libc_hidden_def.
29683
06b1de23
SP
296842017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
29685
140647ea
SP
29686 * benchtests/scripts/compare_strings.py: New option -g.
29687 (draw_graph): Print a message that a graph is being generated.
29688 (process_results): Generate graph only if -g is passed.
29689 (main): Process option -g.
29690
5a6547b7
SP
29691 * benchtests/scripts/compare_strings.py (process_results):
29692 Better spacing for output.
29693
06b1de23
SP
29694 * benchtests/scripts/compare_strings.py: Use argparse.
29695 * benchtests/README: Document existence of compare_strings.py.
29696
c67a2328
JM
296972017-09-15 Joseph Myers <joseph@codesourcery.com>
29698
9ac44708
JM
29699 * math/s_fma.c: Include <libm-alias-double.h>.
29700 (fma): Define using libm_alias_double.
29701 * math/s_nextafter.c: Include <libm-alias-double.h>.
29702 (nextafter): Define using libm_alias_double.
29703 * math/w_acos_compat.c: Include <libm-alias-double.h>.
29704 (acos): Define using libm_alias_double.
29705 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
29706 (aocsh): Define using libm_alias_double.
29707 * math/w_asin_compat.c: Include <libm-alias-double.h>.
29708 (asin): Define using libm_alias_double.
29709 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
29710 (atan2): Define using libm_alias_double.
29711 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
29712 (atanh): Define using libm_alias_double.
29713 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
29714 (cosh): Define using libm_alias_double.
29715 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
29716 (exp10): Define using libm_alias_double.
29717 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
29718 (exp2): Define using libm_alias_double.
29719 * math/w_exp_compat.c: Include <libm-alias-double.h>.
29720 (exp): Define using libm_alias_double.
29721 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
29722 (fmod): Define using libm_alias_double.
29723 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
29724 (hypot): Define using libm_alias_double.
29725 * math/w_j0_compat.c: Include <libm-alias-double.h>.
29726 (j0): Define using libm_alias_double.
29727 (y0): Likewise.
29728 * math/w_j1_compat.c: Include <libm-alias-double.h>.
29729 (j1): Define using libm_alias_double.
29730 (y1): Likewise.
29731 * math/w_jn_compat.c: Include <libm-alias-double.h>.
29732 (jn): Define using libm_alias_double.
29733 (yn): Likewise.
29734 * math/w_log10_compat.c: Include <libm-alias-double.h>.
29735 (log10): Define using libm_alias_double.
29736 * math/w_log2_compat.c: Include <libm-alias-double.h>.
29737 (log2): Define using libm_alias_double.
29738 * math/w_log_compat.c: Include <libm-alias-double.h>.
29739 (log): Define using libm_alias_double.
29740 * math/w_pow_compat.c: Include <libm-alias-double.h>.
29741 (pow): Define using libm_alias_double.
29742 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
29743 (remainder): Define using libm_alias_double.
29744 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
29745 (sinh): Define using libm_alias_double.
29746 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
29747 (sqrt): Define using libm_alias_double.
29748 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
29749 (tgamma): Define using libm_alias_double.
29750 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
29751 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
29752 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
29753 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
29754 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
29755 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
29756 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
29757 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
29758 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
29759 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
29760 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
29761 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
29762 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
29763 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
29764 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
29765 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
29766 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
29767 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
29768 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
29769 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
29770 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
29771 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
29772 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
29773 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
29774 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
29775
c67a2328
JM
29776 * math/e_acoshl.c: Remove.
29777 * math/e_acosl.c: Likewise.
29778 * math/e_asinl.c: Likewise.
29779 * math/e_atan2l.c: Likewise.
29780 * math/e_atanhl.c: Likewise.
29781 * math/e_coshl.c: Likewise.
29782 * math/e_expl.c: Likewise.
29783 * math/e_fmodl.c: Likewise.
29784 * math/e_gammal_r.c: Likewise.
29785 * math/e_hypotl.c: Likewise.
29786 * math/e_j0l.c: Likewise.
29787 * math/e_j1l.c: Likewise.
29788 * math/e_jnl.c: Likewise.
29789 * math/e_lgammal_r.c: Likewise.
29790 * math/e_log10l.c: Likewise.
29791 * math/e_log2l.c: Likewise.
29792 * math/e_logl.c: Likewise.
29793 * math/e_powl.c: Likewise.
29794 * math/e_rem_pio2l.c: Likewise.
29795 * math/e_sinhl.c: Likewise.
29796 * math/e_sqrtf128.c: Likewise.
29797 * math/e_sqrtl.c: Likewise.
29798 * math/k_cosl.c: Likewise.
29799 * math/k_sinl.c: Likewise.
29800 * math/k_tanl.c: Likewise.
29801 * math/s_asinhl.c: Likewise.
29802 * math/s_atanl.c: Likewise.
29803 * math/s_cbrtl.c: Likewise.
29804 * math/s_erfl.c: Likewise.
29805 * math/s_expm1l.c: Likewise.
29806 * math/s_log1pl.c: Likewise.
29807 * math/s_tanhl.c: Likewise.
29808
61c45f25
TMQMF
298092017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29810
29811 [BZ #21745]
29812 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
29813 [$(subdir) = math] (sysdep_calls): New variable. Has the
29814 previous contents of sysdep_routines, but re-sorted..
29815 [$(subdir) = math] (sysdep_routines): Re-use the contents from
29816 sysdep_calls.
29817 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
29818 defined in sysdep_calls and replace by the respective m_* names.
29819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
29820 (compat_symbol): Undefine to avoid duplicated compat symbols in
29821 libc.
29822
5bcdb315
JM
298232017-09-15 Joseph Myers <joseph@codesourcery.com>
29824
29825 * math/s_fmaf.c: Include <libm-alias-float.h>.
29826 (fmaf): Define using libm_alias_float.
29827 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
29828 (acosf): Define using libm_alias_float.
29829 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
29830 (acoshf): Define using libm_alias_float.
29831 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
29832 (asinf): Define using libm_alias_float.
29833 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
29834 (atan2f): Define using libm_alias_float.
29835 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
29836 (atanhf): Define using libm_alias_float.
29837 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
29838 (coshf): Define using libm_alias_float.
29839 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
29840 (exp10f): Define using libm_alias_float.
29841 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
29842 (fmodf): Define using libm_alias_float.
29843 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
29844 (hypotf): Define using libm_alias_float.
29845 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
29846 (j0f): Define using libm_alias_float.
29847 (y0f): Likewise.
29848 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
29849 (j1f): Define using libm_alias_float.
29850 (y1f): Likewise.
29851 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
29852 (jnf): Define using libm_alias_float.
29853 (ynf): Likewise.
29854 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
29855 (log10f): Define using libm_alias_float.
29856 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
29857 (log2f): Define using libm_alias_float.
29858 * math/w_logf_compat.c: Include <libm-alias-float.h>.
29859 (logf): Define using libm_alias_float.
29860 * math/w_powf_compat.c: Include <libm-alias-float.h>.
29861 (powf): Define using libm_alias_float.
29862 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
29863 (remainderf): Define using libm_alias_float.
29864 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
29865 (sinhf): Define using libm_alias_float.
29866 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
29867 (sqrtf): Define using libm_alias_float.
29868 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
29869 (tgammaf): Define using libm_alias_float.
29870
01f28812
JM
298712017-09-14 Joseph Myers <joseph@codesourcery.com>
29872
29873 * include/math.h (roundeven): Change hidden_proto call to
29874 __roundeven.
29875 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
29876 alias.
29877 [NO_LONG_DOUBLE] (__j0l): New strong alias.
29878 (y0): Rename to __y0 and define as weak alias.
29879 [NO_LONG_DOUBLE] (__y0l): New strong alias.
29880 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
29881 alias.
29882 (y0f): Rename to __y0f and define as weak alias.
29883 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
29884 alias.
29885 [NO_LONG_DOUBLE] (__j1l): New strong alias.
29886 (y1): Rename to __y1 and define as weak alias.
29887 [NO_LONG_DOUBLE] (__y1l): New strong alias.
29888 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
29889 alias.
29890 (y1f): Rename to __y1f and define as weak alias.
29891 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
29892 alias.
29893 [NO_LONG_DOUBLE] (__jnl): New strong alias.
29894 (yn): Rename to __yn and define as weak alias.
29895 [NO_LONG_DOUBLE] (__ynl): New strong alias.
29896 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
29897 alias.
29898 (ynf): Rename to __ynf and define as weak alias.
29899 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
29900 (fromfp): Define as weak alias.
29901 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
29902 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
29903 (fromfpx): Define as weak alias.
29904 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
29905 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
29906 __getpayload and define as weak alias.
29907 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
29908 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
29909 __roundeven and define as weak alias.
29910 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
29911 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
29912 __setpayload.
29913 (setpayload): Define as weak alias.
29914 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
29915 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
29916 __setpayloadsig.
29917 (setpayloadsig): Define as weak alias.
29918 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
29919 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
29920 __totalorder and define as weak alias.
29921 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
29922 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
29923 to __totalordermag and define as weak alias.
29924 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
29925 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
29926 (ufromfp): Define as weak alias.
29927 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
29928 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
29929 __ufromfpx.
29930 (ufromfpx): Define as weak alias.
29931 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
29932 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
29933 Rename to __getpayload and define as weak alias.
29934 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
29935 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
29936 Rename to __roundeven and define as weak alias.
29937 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
29938 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
29939 Rename to __totalorder and define as weak alias.
29940 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
29941 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
29942 (totalordermag): Rename to __totalordermag and define as weak
29943 alias.
29944 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
29945 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
29946 macro.
29947 (__roundevenl): Likewise.
29948 (__totalorderl): Likewise.
29949 (__totalordermagl): Likewise
29950 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
29951 __fromfpf128.
29952 (fromfpf128): Define as weak alias.
29953 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
29954 __fromfpxf128.
29955 (fromfpxf128): Define as weak alias.
29956 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
29957 __setpayloadf128.
29958 (setpayloadf128): Define as weak alias.
29959 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
29960 __setpayloadsigf128.
29961 (setpayloadsigf128): Define as weak alias.
29962 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
29963 __ufromfpf128.
29964 (ufromfpf128): Define as weak alias.
29965 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
29966 __ufromfpxf128.
29967 (ufromfpxf128): Define as weak alias.
29968 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
29969 (fromfpf): Define as weak alias.
29970 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
29971 __fromfpxf.
29972 (fromfpxf): Define as weak alias.
29973 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
29974 __getpayloadf and define as weak alias.
29975 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
29976 __roundevenf and define as weak alias.
29977 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
29978 __setpayloadf.
29979 (setpayloadf): Define as weak alias.
29980 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
29981 __setpayloadsigf.
29982 (setpayloadsigf): Define as weak alias.
29983 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
29984 __totalorderf and define as weak alias.
29985 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
29986 Rename to __totalordermagf and define as weak alias.
29987 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
29988 __ufromfpf.
29989 (ufromfpf): Define as weak alias.
29990 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
29991 __ufromfpxf.
29992 (ufromfpxf): Define as weak alias.
29993 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
29994 __fromfpl.
29995 (fromfpl): Define as weak alias.
29996 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
29997 __fromfpxl.
29998 (fromfpxl): Define as weak alias.
29999 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
30000 to __getpayloadl and define as weak alias.
30001 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
30002 __roundevenl and define as weak alias.
30003 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
30004 __setpayloadl.
30005 (setpayloadl): Define as weak alias.
30006 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
30007 __setpayloadsigl.
30008 (setpayloadsigl): Define as weak alias.
30009 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
30010 to __totalorderl and define as weak alias.
30011 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
30012 Rename to __totalordermagl and define as weak alias.
30013 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
30014 __ufromfpl.
30015 (ufromfpl): Define as weak alias.
30016 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
30017 __ufromfpxl.
30018 (ufromfpxl): Define as weak alias.
30019 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
30020 __fromfpl.
30021 (fromfpl): Define as weak alias.
30022 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
30023 __fromfpxl.
30024 (fromfpxl): Define as weak alias.
30025 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
30026 Rename to __getpayloadl and define as weak alias.
30027 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
30028 to __roundevenl and define as weak alias. Call __roundeven
30029 instead of roundeven.
30030 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
30031 __setpayloadl.
30032 (setpayloadl): Define as weak alias.
30033 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
30034 __setpayloadsigl.
30035 (setpayloadsigl): Define as weak alias.
30036 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
30037 Rename to __totalorderl and define as weak alias.
30038 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
30039 Rename to __totalordermagl and define as weak alias.
30040 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
30041 __ufromfpl.
30042 (ufromfpl): Define as weak alias.
30043 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
30044 __ufromfpxl.
30045 (ufromfpxl): Define as weak alias.
30046 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
30047 __fromfpl.
30048 (fromfpl): Define as weak alias.
30049 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
30050 __fromfpxl.
30051 (fromfpxl): Define as weak alias.
30052 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
30053 __getpayloadl and define as weak alias.
30054 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
30055 __roundevenl and define as weak alias.
30056 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
30057 __setpayloadl.
30058 (setpayloadl): Define as weak alias.
30059 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
30060 __setpayloadsigl.
30061 (setpayloadsigl): Define as weak alias.
30062 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
30063 __totalorderl and define as weak alias.
30064 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
30065 Rename to __totalordermagl and define as weak alias.
30066 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
30067 __ufromfpl.
30068 (ufromfpl): Define as weak alias.
30069 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
30070 __ufromfpxl.
30071 (ufromfpxl): Define as weak alias.
30072
29c933fb
SP
300732017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
30074
503c92c3
SP
30075 * benchtests/bench-string.h (realloc_bufs): New function.
30076 (test_init): Call it.
30077 * benchtests/bench-memset-large.c (do_test): Likewise.
30078 * benchtests/bench-memset.c (do_test): Likewise.
30079
29c933fb
SP
30080 * benchtests/bench-memset-large.c: Print output in JSON
30081 format.
30082 * benchtests/bench-memset.c: Likewise.
30083
799c8d69
MF
300842017-09-14 Mike FABIAN <mfabian@redhat.com>
30085
30086 [BZ #21084]
30087 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
30088 * iconvdata/Makefile: Add IBM858.
30089 * iconvdata/gconv-modules: Likewise.
30090 * iconvdata/tst-tables.sh: Likewise.
30091 * iconvdata/ibm858.c: New file.
30092 * localedata/charmaps/IBM858: Likewise.
30093
c207f7ce 300942017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
fcc82c06
AK
30095
30096 [BZ #22023]
30097 * locales/niu_NZ (LC_TIME): copy "niu_NU".
30098 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
30099
f28a0926
AK
301002017-09-14 Mike FABIAN <mfabian@redhat.com>
30101
30102 [BZ #22112]
30103 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
30104 and add tel_int_fmt.
30105
02093e62
JM
301062017-09-14 Joseph Myers <joseph@codesourcery.com>
30107
30108 * sysdeps/generic/libm-alias-float128.h: New file.
30109 * sysdeps/generic/math-type-macros-float128.h: Include
30110 <libm-alias-float128.h>.
30111 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
30112
1aae75ef
JM
301132017-09-13 Joseph Myers <joseph@codesourcery.com>
30114
30115 * sysdeps/generic/libm-alias-ldouble.h: New file.
30116 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
30117 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
30118 * sysdeps/generic/math-type-macros-ldouble.h: Include
30119 <libm-alias-ldouble.h>.
30120 [!declare_mgen_alias] (declare_mgen_alias): Define to use
30121 libm_alias_ldouble.
30122
bcea7ad6
SN
301232017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
30124
30125 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
30126 * math/w_exp_compat.c: ... here.
30127 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
30128 * math/w_expf_compat.c: ... here.
30129 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
30130 * math/w_expl_compat.c: ... here.
30131 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
30132 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
30133 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
30134 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
30135
0fc56478
JM
301362017-09-13 Joseph Myers <joseph@codesourcery.com>
30137
30138 * math/w_scalbln_template.c (strong_alias): Do not undefine and
30139 redefine.
30140 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
30141 macro.
30142 (ldexpl): Only define as compat symbol for libc, not libm.
30143 (scalbnl): Define as compat symbol for libc here.
30144 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
30145 define for [IS_IN (libc)].
30146 (__ldexpl_2): Remove alias.
30147 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
30148 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
30149 name in long_double_symbol call.
30150 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
30151 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
30152 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
30153 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
30154 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
30155 Remove macro.
30156 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
30157 Define as compat symbol.
30158
3ca622e4
AZ
301592017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30160
30161 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
30162 * sysdeps/unix/sysv/linux/alpha/Makefile
30163 [$(subdir) = csu] (sysdep_routines): Remove rule.
30164
620ff9ee
JM
301652017-09-13 Joseph Myers <joseph@codesourcery.com>
30166
30167 * sysdeps/generic/libm-alias-double.h: New file.
30168 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
30169 * sysdeps/generic/math-type-macros-double.h: Include
30170 <libm-alias-double.h>.
30171 [declare_mgen_alias] (declare_mgen_alias): Define to use
30172 libm_alias_double.
30173 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
30174 (M_LIBM_NEED_COMPAT): Remove macro.
30175 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
30176 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
30177 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
30178 code.
30179 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30180 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30181 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30182 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30183 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30184 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30185 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30186 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30187 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30188 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30189 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30190 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30191 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30192 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30193 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30194 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30195 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30196 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30197 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30198 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30199 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30200 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30201 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30202 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30203 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30204 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30205 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30206 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
30207 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
30208 macro.
30209 (declare_mgen_alias): New macro.
30210 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
30211 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
30212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
30213 (M_LIBM_NEED_COMPAT): Remove macro.
30214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
30215 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
30216 <first-versions.h>.
30217 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
30218 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
30219
a891caff
JM
302202017-09-12 Joseph Myers <joseph@codesourcery.com>
30221
30222 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
30223 (declare_mgen_alias_2): Remove.
30224 * sysdeps/generic/math-type-macros-double.h
30225 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
30226 Likewise.
30227 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
30228 alias.
30229 (ldexp): Define with declare_mgen_alias.
30230 (scalbn): Likewise.
30231
a1a78204
SE
302322017-09-12 Steve Ellcey <sellcey@cavium.com>
30233
30234 * grp/initgroups.c: Include config.h.
30235 (DEFAULT_CONFIG): New macro.
30236 (internal_getgrouplist): Use DEFAULT_CONFIG.
30237 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30238 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
30239 (DEFAULT_DEFCONFIG): New macro.
30240 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
30241 * nss/grp-lookup.c: Include config.h
30242 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
30243 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
30244 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
30245 * manual/nss.texi: Update default values section.
30246
ef8adeb0
L
302472017-09-12 H.J. Lu <hongjiu.lu@intel.com>
30248
30249 [BZ #21967]
30250 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
30251 New.
30252 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
30253 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30254 Handle MathVec_Prefer_No_AVX512.
30255 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
30256 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
30257 is set.
30258
a166531f
ST
302592017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
30260
30261 * posix/sched_primax.c (__sched_get_priority_max): Add
30262 libc_hidden_def.
30263 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
30264 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
30265 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
30266 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
30267 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
30268 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
30269 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
30270 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
30271 Add aliases.
30272
4b7d1efb
JM
302732017-09-11 Joseph Myers <joseph@codesourcery.com>
30274
30275 * sysdeps/generic/libm-alias-float.h: New file.
30276 * sysdeps/generic/math-type-macros-float.h: Include
30277 <libm-alias-float.h>.
30278 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
30279
45ff3463
L
302802017-09-11 H.J. Lu <hongjiu.lu@intel.com>
30281
30282 [BZ #22093]
30283 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
30284 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
30285 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
30286 (HWCAP_IMPORTANT): Likewise.
30287 (HWCAP_X86_64): New enum.
30288 (HWCAP_X86_AVX512_1): Updated.
30289 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
30290 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
30291 (modules-names): Add x86_64/tst-x86_64mod-1.
30292 (LDFLAGS-tst-x86_64mod-1.so): New.
30293 ($(objpfx)tst-x86_64-1): Likewise.
30294 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
30295 (tst-x86_64-1-clean): Likewise.
30296 * sysdeps/x86_64/tst-x86_64-1.c: New file.
30297 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
30298
891abfd3
SP
302992017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
30300
30301 * po/sv.po: Update translations.
30302 * po/fr.po: Likewise.
30303
00c3da43
ST
303042017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30305
30306 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
30307 seconds.
3bdfd9fb
ST
30308 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
30309 seconds.
65b22ebc 30310 * elf/rtld-Rules: Fix $(error) use.
00c3da43 30311
96480903
MF
303122017-09-09 Mike FABIAN <mfabian@redhat.com>
30313
30314 [BZ #14925]
30315 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
30316 * locale/iso-639.def: Change “Bengali” to “Bangla”.
30317 * localedata/locales/bn_BD: “Bengali” was still used in some
30318 comments. Change it to “Bangla”.
30319
4c03a696
MT
303202017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
30321
30322 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
30323
9c9ec581
SE
303242017-09-08 Steve Ellcey <sellcey@cavium.com>
30325
30326 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
30327 thunderx2t99p1 to list of cpu names.
30328 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
30329 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
30330
f00bce74
SE
303312017-09-08 Steve Ellcey <sellcey@cavium.com>
30332
30333 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
30334 Use strcmp instead of tunable_is_name.
30335
27342d17
JM
303362017-09-08 Joseph Myers <joseph@codesourcery.com>
30337
af1b7c8c
JM
30338 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30339 (F_GET_RW_HINT): New macro.
30340 [__USE_GNU] (F_SET_RW_HINT): Likewise.
30341 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
30342 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
30343 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
30344 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
30345 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
30346 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
30347 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
30348 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
30349
27342d17
JM
30350 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30351 (F_ADD_SEALS): New macro.
30352 [__USE_GNU] (F_GET_SEALS): Likewise.
30353 [__USE_GNU] (F_SEAL_SEAL): Likewise.
30354 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
30355 [__USE_GNU] (F_SEAL_GROW): Likewise.
30356 [__USE_GNU] (F_SEAL_WRITE): Likewise.
30357
c66c9082
AZ
303582017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30359
07b4f49d
AZ
30360 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
30361 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
30362 * posix/glob_internal.h (__glob_pattern_type):
30363 * posix/glob.c (glob):
30364 * posix/glob_pattern_p.c (__glob_pattern_p):
30365 Use them.
30366
116f1c64
AZ
30367 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
30368 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
30369 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
30370 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
30371 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
30372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
30373 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
30374 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
30375 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
30376 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30377 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
30378 * sysdeps/wordsize-64/glob.c: Likewise.
30379 * sysdeps/wordsize-64/glob64.c: Likewise.
30380 * sysdeps/wordsize-64/globfree.c: Likewise.
30381 * sysdeps/wordsize-64/globfree64.c: Likewise.
30382 * sysdeps/unix/sysv/linux/glob.c: New file.
30383 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
30384 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
30385 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
30386 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
30387 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
30388 adds !GLOB_NO_OLD_VERSION as an extra condition.
30389 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
30390 using relative path instead of absolute one.
30391 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
30392 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30393 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30394 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
30395 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
30396 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
30397
ffca8901
AZ
30398 [BZ #1062]
30399 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
30400 (glob): Use the same scratch buffer for both getlogin_r and
30401 getpwnam_r. Don’t require preallocation of the login name. This
30402 simplifies storage allocation, and corrects the handling of
30403 long login names.
30404
5a79f975
AZ
30405 [BZ #1062]
30406 * posix/glob.c (glob): Port recent patches to platforms
30407 lacking getpwnam_r.
30408 (glob): Fix longstanding misuse of errno after getpwnam_r, which
30409 returns an error number rather than setting errno.
30410
e00f2425
AZ
30411 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
30412 instead of GCC extension.
30413 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
30414 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
30415 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
30416
5554304f
AZ
30417 [BZ #866]
30418 [BZ #1062]
30419 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
30420 * posix/bug-glob1.c: Remove file.
30421 * posix/tst-glob_symlinks.c: New file.
30422 * posix/glob.c (__lstat64): New macro.
30423 (is_dir): New function.
30424 (glob, glob_in_dir): Match symlinks even if they are dangling.
30425 (link_stat, link_exists_p): Remove. All uses removed.
30426
686f2ea1
AZ
30427 [BZ #1062]
30428 [BZ #19971]
30429 * posix/glob.c (struct readdir_result): Remove skip_entry member.
30430 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
30431 All uses removed.
30432
c66c9082 30433 [BZ #1062]
914c9994 30434 CVE-2017-15671
c66c9082
AZ
30435 * posix/Makefile (routines): Add globfree, globfree64, and
30436 glob_pattern_p.
30437 * posix/flexmember.h: New file.
30438 * posix/glob_internal.h: Likewise.
30439 * posix/glob_pattern_p.c: Likewise.
30440 * posix/globfree.c: Likewise.
30441 * posix/globfree64.c: Likewise.
30442 * sysdeps/gnu/globfree64.c: Likewise.
30443 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
30444 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
30445 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
30446 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
30447 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
30448 * sysdeps/wordsize-64/globfree.c: Likewise.
30449 * sysdeps/wordsize-64/globfree64.c: Likewise.
30450 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
30451 [NDEBUG): Remove comments.
30452 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
30453 (dirent_type): New type. Use uint_fast8_t not
30454 uint8_t, as C99 does not require uint8_t.
30455 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
30456 (struct readdir_result): Use dirent_type. Do not define skip_entry
30457 unless it is needed; this saves a byte on platforms lacking d_ino.
30458 (readdir_result_type, readdir_result_skip_entry):
30459 New functions, replacing ...
30460 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
6b5c8607 30461 these functions, which were removed. This makes the callers
c66c9082
AZ
30462 easier to read. All callers changed.
30463 (D_INO_TO_RESULT): Now empty if there is no d_ino.
30464 (size_add_wrapv, glob_use_alloca): New static functions.
30465 (glob, glob_in_dir): Check for size_t overflow in several places,
30466 and fix some size_t checks that were not quite right.
30467 Remove old code using SHELL since Bash no longer
30468 uses this.
30469 (glob, prefix_array): Separate MS code better.
30470 (glob_in_dir): Remove old Amiga and VMS code.
30471 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
30472 separate files.
30473 (glob_in_dir): Do not rely on undefined behavior in accessing
30474 struct members beyond their bounds. Use a flexible array member
30475 instead
30476 (link_stat): Rename from link_exists2_p and return -1/0 instead of
30477 0/1. Caller changed.
30478 (glob): Fix memory leaks.
30479 * posix/glob64 (globfree64): Move to separate file.
30480 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
30481 (globfree64): Remove hidden alias.
30482 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
30483 oldglob.
30484 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
30485 separate file.
30486 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
30487 define.
30488 Move compat code to separate file.
30489 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
30490 separate file.
30491
78bfa877
L
304922017-09-07 H.J. Lu <hongjiu.lu@intel.com>
30493
30494 * resolv/tst-resolv-qtypes.c (domain): Changed to
30495 "const char domain[] =".
30496
05f0011f
JM
304972017-09-07 Joseph Myers <joseph@codesourcery.com>
30498
85bec0f2
JM
30499 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
30500 version to 3.1.6.
30501
5c23ee6e
JM
30502 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
30503 (TCP_MD5SIG_EXT): Likewise.
30504 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
30505 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
30506 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
30507
05f0011f
JM
30508 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
30509
7c9c5be9
MF
305102017-09-07 Mike FABIAN <mfabian@redhat.com>
30511
30512 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
30513
c207f7ce 305142017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
ae214523
AK
30515
30516 [BZ #22100]
30517 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
30518
507fe027
ST
305192017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
30520
30521 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
30522 before assuming that the file is empty. Avoid testing buffer content
30523 when nread == 0.
30524
65687ac7
AZ
305252017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30526
7bbbb4b9 30527 [BZ #18858]
65687ac7
AZ
30528 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
30529 Remove define.
30530 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
30531 Likewise.
30532 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
30533 Likewise.
30534 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
30535 Likewise.
30536 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
30537 Likewise.
30538 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
30539 Likewise.
30540 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
30541 Likewise.
30542
ab5ac271
FW
305432017-09-06 Florian Weimer <fweimer@redhat.com>
30544
30545 * malloc/dynarray_emplace_enlarge.c
30546 (__libc_dynarray_emplace_enlarge): Add missing else.
30547
a8304730
FW
305482017-09-06 Florian Weimer <fweimer@redhat.com>
30549
30550 [BZ #22096]
30551 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
30552 case of failure to obtain the global conf object.
30553
5670c4ab
FW
305542017-09-06 Florian Weimer <fweimer@redhat.com>
30555
30556 [BZ #22095]
30557 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
30558 dynarray allocation failure.
30559
c77eb969
FW
305602017-09-06 Florian Weimer <fweimer@redhat.com>
30561
30562 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
30563 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
30564 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
30565 New functions.
30566 (response): Call them. Add 'p', '6' flag processing.
30567 (test_reverse): New function.
30568 (test_get2_any): Call it.
30569 (test_no_inet6): Add 'p' test.
30570 (test_inet6): Likewise.
30571
5e9c4d17
FW
305722017-09-06 Florian Weimer <fweimer@redhat.com>
30573
30574 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
30575 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
30576 the QNAME.
30577 (test_gai): Adjust query names. Add additional tests.
30578 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
30579 test_get2. Adjust query names. Add additional tests.
30580 (test_no_inet6): New function, extracted from threadfunc.
30581 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
30582 Add additional tests.
30583
2ae5be04
MF
305842017-09-06 Mike FABIAN <mfabian@redhat.com>
30585
30586 [BZ #22070]
30587 * localedata/unicode-gen/utf8_gen.py: Set the width for
30588 characters with Prepended_Concatenation_Mark property to 1
30589 * localedata/charmaps/UTF-8: Updated using the improved script.
30590
af83ed5c
MF
305912017-09-06 Mike FABIAN <mfabian@redhat.com>
30592
30593 [BZ #21750]
30594 * localedata/unicode-gen/utf8_gen.py: Improve the script to
30595 use the range notation for all ranges of neighbouring characters
30596 with the same width.
30597
4f3647e4
JM
305982017-09-05 Joseph Myers <joseph@codesourcery.com>
30599
30600 * sysdeps/generic/math-type-macros-double.h: Include
30601 <math-svid-compat.h>.
30602 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30603 * sysdeps/generic/math-type-macros-float.h: Include
30604 <math-svid-compat.h>.
30605 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30606 * sysdeps/generic/math-type-macros-ldouble.h: Include
30607 <math-svid-compat.h>.
30608 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30609 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
30610 condition.
30611 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
30612 * math/w_acosf_compat.c: Likewise.
30613 * math/w_acosh_compat.c: Likewise.
30614 * math/w_acoshf_compat.c: Likewise.
30615 * math/w_acoshl_compat.c: Likewise.
30616 * math/w_acosl_compat.c: Likewise.
30617 * math/w_asin_compat.c: Likewise.
30618 * math/w_asinf_compat.c: Likewise.
30619 * math/w_asinl_compat.c: Likewise.
30620 * math/w_atan2_compat.c: Likewise.
30621 * math/w_atan2f_compat.c: Likewise.
30622 * math/w_atan2l_compat.c: Likewise.
30623 * math/w_atanh_compat.c: Likewise.
30624 * math/w_atanhf_compat.c: Likewise.
30625 * math/w_atanhl_compat.c: Likewise.
30626 * math/w_cosh_compat.c: Likewise.
30627 * math/w_coshf_compat.c: Likewise.
30628 * math/w_coshl_compat.c: Likewise.
30629 * math/w_exp10_compat.c: Likewise.
30630 * math/w_exp10f_compat.c: Likewise.
30631 * math/w_exp10l_compat.c: Likewise.
30632 * math/w_exp2_compat.c: Likewise.
30633 * math/w_exp2f_compat.c: Likewise.
30634 * math/w_exp2l_compat.c: Likewise.
30635 * math/w_fmod_compat.c: Likewise.
30636 * math/w_fmodf_compat.c: Likewise.
30637 * math/w_fmodl_compat.c: Likewise.
30638 * math/w_hypot_compat.c: Likewise.
30639 * math/w_hypotf_compat.c: Likewise.
30640 * math/w_hypotl_compat.c: Likewise.
30641 * math/w_j0_compat.c: Likewise.
30642 * math/w_j0f_compat.c: Likewise.
30643 * math/w_j0l_compat.c: Likewise.
30644 * math/w_j1_compat.c: Likewise.
30645 * math/w_j1f_compat.c: Likewise.
30646 * math/w_j1l_compat.c: Likewise.
30647 * math/w_jn_compat.c: Likewise.
30648 * math/w_jnf_compat.c: Likewise.
30649 * math/w_jnl_compat.c: Likewise.
30650 * math/w_lgamma_r_compat.c: Likewise.
30651 * math/w_lgammaf_r_compat.c: Likewise.
30652 * math/w_lgammal_r_compat.c: Likewise.
30653 * math/w_log10_compat.c: Likewise.
30654 * math/w_log10f_compat.c: Likewise.
30655 * math/w_log10l_compat.c: Likewise.
30656 * math/w_log2_compat.c: Likewise.
30657 * math/w_log2f_compat.c: Likewise.
30658 * math/w_log2l_compat.c: Likewise.
30659 * math/w_log_compat.c: Likewise.
30660 * math/w_logf_compat.c: Likewise.
30661 * math/w_logl_compat.c: Likewise.
30662 * math/w_pow_compat.c: Likewise.
30663 * math/w_powf_compat.c: Likewise.
30664 * math/w_powl_compat.c: Likewise.
30665 * math/w_remainder_compat.c: Likewise.
30666 * math/w_remainderf_compat.c: Likewise.
30667 * math/w_remainderl_compat.c: Likewise.
30668 * math/w_sinh_compat.c: Likewise.
30669 * math/w_sinhf_compat.c: Likewise.
30670 * math/w_sinhl_compat.c: Likewise.
30671 * math/w_sqrt_compat.c: Likewise.
30672 * math/w_sqrtf_compat.c: Likewise.
30673 * math/w_sqrtl_compat.c: Likewise.
30674 * math/w_tgamma_compat.c: Likewise.
30675 * math/w_tgammaf_compat.c: Likewise.
30676 * math/w_tgammal_compat.c: Likewise.
30677 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
30678 [LIBM_SVID_COMPAT].
30679 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
30680 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
30681 [LIBM_SVID_COMPAT].
30682 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
30683 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
30684 [LIBM_SVID_COMPAT].
30685 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
30686 * sysdeps/i386/fpu/w_sqrt.c: New file.
30687 * sysdeps/ia64/fpu/w_acos.c: Likewise.
30688 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
30689 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
30690 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
30691 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
30692 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
30693 * sysdeps/ia64/fpu/w_asin.c: Likewise.
30694 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
30695 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
30696 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
30697 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
30698 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
30699 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
30700 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
30701 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
30702 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
30703 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
30704 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
30705 * sysdeps/ia64/fpu/w_exp.c: Likewise.
30706 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
30707 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
30708 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
30709 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
30710 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
30711 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
30712 * sysdeps/ia64/fpu/w_expf.c: Likewise.
30713 * sysdeps/ia64/fpu/w_expl.c: Likewise.
30714 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
30715 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
30716 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
30717 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
30718 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
30719 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
30720 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
30721 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
30722 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
30723 * sysdeps/ia64/fpu/w_log.c: Likewise.
30724 * sysdeps/ia64/fpu/w_log10.c: Likewise.
30725 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
30726 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
30727 * sysdeps/ia64/fpu/w_log2.c: Likewise.
30728 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
30729 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
30730 * sysdeps/ia64/fpu/w_logf.c: Likewise.
30731 * sysdeps/ia64/fpu/w_logl.c: Likewise.
30732 * sysdeps/ia64/fpu/w_pow.c: Likewise.
30733 * sysdeps/ia64/fpu/w_powf.c: Likewise.
30734 * sysdeps/ia64/fpu/w_powl.c: Likewise.
30735 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
30736 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
30737 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
30738 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
30739 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
30740 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
30741 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
30742 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
30743 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
30744 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
30745 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
30746 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
30747 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
30748 [LIBM_SVID_COMPAT].
30749 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
30750 * sysdeps/ieee754/k_standard.c: Likewise.
30751 * sysdeps/ieee754/k_standardf.c: Likewise.
30752 * sysdeps/ieee754/k_standardl.c: Likewise.
30753 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
30754 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
30755 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
30756 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
30757 long_double_symbol call on [LIBM_SVID_COMPAT].
30758 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
30759 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
30760 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
30761 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
30762 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
30763 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
30764 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
30765 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
30766 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
30767 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
30768 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
30769 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
30770 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
30771 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
30772 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
30773 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
30774 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
30775 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
30776 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
30777 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
30778 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
30779 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
30780
05b38d64
SE
307812017-09-05 Steve Ellcey <sellcey@cavium.com>
30782
30783 * include/shlib-compat.h (TEST_COMPAT): New Macro.
30784 * malloc/tst-mallocstate.c: Convert from test-skeleton
30785 to test-driver. Ifdef code using TEST_COMPAT macro.
30786 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
30787 * math/test-matherr.c: Likewise.
30788
99d67918
JM
307892017-09-05 Joseph Myers <joseph@codesourcery.com>
30790
30791 [BZ #22086]
30792 * debug/pcprofiledump.c (main): Use byte-swapped mask when
30793 comparing word with byte-swapped constant.
30794
c207f7ce 307952017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
3f802aeb
MF
30796
30797 [BZ #20498]
30798 * locale/iso-639.def: add Miskito.
30799 * localedata/SUPPORTED: Add miq_NI/UTF-8.
30800 * localedata/locales/miq_NI: New file.
30801
0a587a8a
L
308022017-09-04 H.J. Lu <hongjiu.lu@intel.com>
30803
30804 [BZ #18822]
30805 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
30806 (__mkdir): Likewise.
30807 * io/chmod.c (__chmod): Add libc_hidden_def.
30808 * io/mkdir.c (__mkdir): Likewise.
30809 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
30810 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
30811 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
30812 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
30813
f3a129b8
JM
308142017-09-04 Joseph Myers <joseph@codesourcery.com>
30815
1650e192
JM
30816 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
30817 version to 4.13.
30818
f3a129b8
JM
30819 [BZ #22082]
30820 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
30821 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
30822
b38042f5
FW
308232017-09-04 Florian Weimer <fweimer@redhat.com>
30824
30825 * math/math.h: Issue warning if log is defined.
30826
059b6404
JM
308272017-09-04 Joseph Myers <joseph@codesourcery.com>
30828
30829 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
30830 kernel version to 4.13.
30831
b794e16b
ST
308322017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
30833
30834 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
06cf9d31
ST
30835 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
30836 parameter.
01969395
ST
30837 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
30838 just <bits/types.h>.
dd2b31de 30839 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
ed95bf56 30840 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
dd2b31de 30841 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
ed95bf56 30842 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
2263ca7c
ST
30843 * misc/preadv2.c: Include <errno.h>.
30844 * misc/preadv64v2.c: Include <errno.h>.
30845 * misc/pwritev2.c: Include <errno.h>.
30846 * misc/pwritev64v2.c: Include <errno.h>.
30847 * sysdeps/posix/preadv2.c: Include <errno.h>.
30848 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
30849 Fix <unistd.h> inclusion.
30850 * sysdeps/posix/pwritev2.c: Include <errno.h>.
30851 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
cae3d712
ST
30852 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
30853 __strtoul_internal): New functions.
127e7773
ST
30854 * sysdeps/posix/pause.c: Include <sigsetops.h>.
30855 * sysdeps/posix/system.c: Include <sigsetops.h>.
f85958a7
ST
30856 * sysdeps/mach/hurd/i386/Makefile
30857 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
30858 [$(subdir) = csu] (sysdep-only-routines): Likewise.
30859 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1946d950
ST
30860 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
30861 __feraiseexcept_renamed to feraiseexcept instead of
30862 __GI_feraiseexcept.
56bf5497 30863 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
2ce1f9ef 30864 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
492cbbed
ST
30865 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
30866 RWF_NOWAIT): Define to 0 if undefined already.
30867 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
30868 boils down to 0.
6547ec0a
ST
30869 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
30870 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
b794e16b 30871
5a80d39d
JM
308722017-09-01 Joseph Myers <joseph@codesourcery.com>
30873
30874 * manual/math.texi (pow10): Do not document.
30875 (pow10f): Likewise.
30876 (pow10l): Likewise.
30877 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
30878 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
30879 * math/libm-test-exp10.inc (pow10_test): Remove.
30880 (do_test): Do not call pow10.
30881 * math/w_exp10_compat.c (pow10): Make into compat symbol.
30882 [NO_LONG_DOUBLE] (pow10l): Likewise.
30883 * math/w_exp10f_compat.c (pow10f): Likewise.
30884 * math/w_exp10l_compat.c (pow10l): Likewise.
30885 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
30886 (pow10): Make into compat symbol.
30887 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
30888 (pow10f): Make into compat symbol.
30889 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
30890 (pow10l): Make into compat symbol.
30891 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
30892 pow10.
30893 (CFLAGS-nldbl-pow10.c): Remove variable..
30894 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
30895 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
30896 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
30897 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
30898 Undefine and redefine.
30899 (pow10l): Make into compat symbol.
30900 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
30901 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
30902 * sysdeps/arm/libm-test-ulps: Likewise.
30903 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
30904 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
30905 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30906 * sysdeps/microblaze/libm-test-ulps: Likewise.
30907 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
30908 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30909 * sysdeps/nios2/libm-test-ulps: Likewise.
30910 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30911 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
30912 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30913 * sysdeps/sh/libm-test-ulps: Likewise.
30914 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30915 * sysdeps/tile/libm-test-ulps: Likewise.
30916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30917
3824fc38
PP
309182017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
30919
30920 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
30921
b3008279
L
309222017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30923
30924 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
30925 "../ChangeLog.old/ChangeLog.8".
30926 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
30927 "../ChangeLog.old/ChangeLog.14".
30928
136fa185
L
309292017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30930
30931 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
30932 Threads Library.
30933
c18d50a2
JM
309342017-09-01 Joseph Myers <joseph@codesourcery.com>
30935
30936 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
30937
bedbd859
L
309382017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30939
30940 * csu/version.c (banner): Remove "by Roland McGrath et al.".
30941 * nptl/Banner: Remove "by Ulrich Drepper et al.".
30942
50c66c7a
PP
309432017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
30944
30945 * stdlib/tst-atexit-common.c (do_test): Test support for at least
30946 32 atexit handlers.
30947
a617bd11
ZW
309482017-09-01 Zack Weinberg <zackw@panix.com>
30949
30950 * math/math.h (HUGE_VAL): Improve commentary.
30951
e0d2eb5a
AZ
309522017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30953 Andreas Schwab <schwab@suse.de>
30954
30955 [BZ #21530]
30956 * include/stdio.h (__gen_tempfd): New function.
30957 * stdio-common/Makefile (routines): Add gentempfd.
30958 * stdio-common/gentempfd.c: New file.
30959 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
30960 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
30961 unnamed file first.
30962
f4a6be25
FW
309632017-09-01 Florian Weimer <fweimer@redhat.com>
30964
30965 [BZ #21915]
30966 [BZ #21922]
30967 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
30968 result to determine success or failure, not the errno value.
30969 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
30970 (tst-nss-files-hosts-erange): Link with -ldl.
30971 * nss/tst-nss-files-hosts-erange.c: New file.
30972 * nss/tst-resolv-basic.c (response): Handle nodata.example.
30973 (do_test): Add NO_DATA tests.
30974 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
30975 (do_test): Call it.
30976
5f8340f5
FW
309772017-09-01 Florian Weimer <fweimer@redhat.com>
30978
30979 [BZ #21922]
30980 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
30981 coming from gethostbyname2_r.
30982
65329bd2
FW
309832017-09-01 Florian Weimer <fweimer@redhat.com>
30984
30985 * support/namespace.h (struct support_chroot_configuration): Add
30986 hosts, host_conf.
30987 (struct support_chroot): Add path_hosts, path_host_conf.
30988 * support/support_chroot.c (write_file): New function.
30989 (support_chroot_create): Call it to process /etc/resolv.conf,
30990 /etc/hosts, /etc/host.conf.
30991 (support_chroot_free): Update.
30992
a2881ef0
FW
309932017-09-01 Florian Weimer <fweimer@redhat.com>
30994
30995 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
30996 status indicates it is set.
30997
ad816a5e
FW
309982017-09-01 Florian Weimer <fweimer@redhat.com>
30999
63b52889 31000 [BZ #20532]
ad816a5e
FW
31001 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
31002 function lookup failures more reliable.
31003
53250a21
FW
310042017-09-01 Florian Weimer <fweimer@redhat.com>
31005
31006 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
31007 (getcanonname): Likewise.
31008 (gaih_inet): Likewise.
31009
924b121c
FW
310102017-09-01 Florian Weimer <fweimer@redhat.com>
31011
31012 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
31013 (getcanonname): Likewise.
31014 (gaih_inet): Likewise.
31015
d9ff799a 310162017-08-31 Steve Ellcey <sellcey@cavium.com>
6b5c8607 31017 Richard Henderson <rth@twiddle.net>
d9ff799a
SE
31018
31019 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
31020 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
31021 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
31022 (IREG_SIZE, OREG_SIZE): New macros.
31023 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
31024 (IREG_SIZE, OREG_SIZE): New macros.
31025 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
31026 (IREG_SIZE): New macro.
31027 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
31028 (IREG_SIZE): New macro.
31029 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
31030 New includes.
31031 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
31032 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
31033 (__CONCATX): Handle exceptions correctly on large values that may
31034 set FE_INVALID.
31035 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
31036 Initialize if not already set.
b39d961c 31037 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
d9ff799a 31038
102dde84
AZ
310392017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31040
31041 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
31042 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
31043 Likewise.
31044 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
31045 Likewise.
31046 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
31047 Likewise.
31048 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
31049 Likewise.
31050 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
31051 Likewise.
31052 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
31053 Likewise.
31054 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
31055 Likewise.
31056 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
31057 (NO_CANCELLATION): Likewise.
31058 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
31059 Likewise.
31060 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
31061 Likewise.
31062 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
31063 Likewise.
31064 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
31065 (NO_CANCELLATION): Likewise.
31066 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
31067 (NO_CANCELLATION): Likewise.
31068 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
31069 Likewise
31070 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
31071 Likewise.
31072 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
31073 Likewise.
31074 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
31075 Likewise.
31076 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
31077 hidden prototype.
31078 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
31079 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
31080
9eee633b
SE
310812017-08-31 Steve Ellcey <sellcey@cavium.com>
31082
31083 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
31084 in resolver call.
31085
65284eb7
FW
310862017-08-31 Florian Weimer <fweimer@redhat.com>
31087
31088 * include/libc-symbols.h (internal_function): Remove.
31089
41ad5ca6
FW
310902017-08-31 Florian Weimer <fweimer@redhat.com>
31091
31092 * stdlib/fmtmsg.c (internal_addseverity): Remove
31093 internal_function.
31094
2fa6d086
FW
310952017-08-31 Florian Weimer <fweimer@redhat.com>
31096
31097 * stdio-common/printf_fp.c (group_number): Remove
31098 internal_function.
31099 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
31100
b41bd5bc
FW
311012017-08-31 Florian Weimer <fweimer@redhat.com>
31102
31103 * posix/fnmatch.c (internal_function): Remove definition.
31104 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
31105 * posix/regcomp.c (peek_token, init_word_char)
31106 (duplicate_node_closure, fetch_token, peek_token)
31107 (peek_token_bracket, build_range_exp, build_collating_symbol):
31108 Likewise.
31109 * posix/regex_internal.c (re_string_construct_common)
31110 (create_ci_newstate, create_cd_newstate, re_string_allocate)
31111 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
31112 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
31113 (re_string_translate_buffer, re_string_reconstruct)
31114 (re_string_peek_byte_case, re_string_fetch_byte_case)
31115 (re_string_destruct, re_string_context_at, re_node_set_alloc)
31116 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
31117 (re_node_set_add_intersect, re_node_set_init_union)
31118 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
31119 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
31120 (re_dfa_add_node, calc_state_hash, re_acquire_state)
31121 (re_acquire_state_context): Likewise.
31122 * posix/regex_internal.h (internal_function): Remove definition.
31123 (re_string_realloc_buffers, build_wcs_buffer)
31124 (build_wcs_upper_buffer, build_upper_buffer)
31125 (re_string_translate_buffer, re_string_context_at)
31126 (re_string_char_size_at, re_string_wchar_at)
31127 (re_string_elem_size_at): Likewise.
31128 * posix/regexec.c (match_ctx_init, match_ctx_clean)
31129 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
31130 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
31131 (re_search_internal, re_search_2_stub, re_search_stub)
31132 (re_copy_regs, prune_impossible_nodes, check_matching)
31133 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
31134 (free_fail_stack_return, sift_states_iter_mb)
31135 (sift_states_backward, build_sifted_states)
31136 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
31137 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
31138 (check_subexp_limits, sift_states_bkref, merge_state_array)
31139 (find_recover_state, transit_state, merge_state_with_log)
31140 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
31141 (transit_state_mb, transit_state_bkref, get_subexp)
31142 (get_subexp_sub, find_subexp_node, check_arrival)
31143 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
31144 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
31145 (check_node_accept_bytes, find_collation_sequence_value)
31146 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
31147 (acquire_init_state_context, check_halt_node_context)
31148 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
31149 (sub_epsilon_src_nodes): Likewise.
31150 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
31151 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
31152 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
31153 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
31154 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
31155 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
31156 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
31157 * sysdeps/posix/ttyname.c (getttyname): Likewise.
31158 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
31159 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
31160 (PREADV): Likewise.
31161 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
31162 (PREADV): Likewise.
31163 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
31164 (PWRITEV): Likewise.
31165 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
31166 (PWRITEV): Likewise.
31167 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
31168 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
31169
83b09837
FW
311702017-08-31 Florian Weimer <fweimer@redhat.com>
31171
31172 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
31173 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
31174 Remove internal_function.
31175 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
31176 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
31177 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
31178 (__deallocate_stack, __libc_pthread_init)
31179 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
31180 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
31181 (__libc_disable_asynccancel, __librt_disable_asynccancel):
31182 Likewise.
31183 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
31184 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
31185 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
31186 Likewise.
31187 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
31188 (__pthread_mutex_unlock_usercnt): Likewise.
31189
116ac301
FW
311902017-08-31 Florian Weimer <fweimer@redhat.com>
31191
31192 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
31193 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
31194 (fts_safe_changedir): Remove internal_function.
31195 * io/ftw.c (internal_function): Remove definition.
31196 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
31197
9da93bd7
FW
311982017-08-31 Florian Weimer <fweimer@redhat.com>
31199
31200 * inet/deadline.c (__deadline_current_time)
31201 (__deadline_from_timeval, __deadline_to_ms): Remove
31202 internal_function.
31203 * inet/getnameinfo.c (nrl_domainname): Likewise.
31204 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
31205 * inet/inet6_option.c (add_pad): Likewise.
31206 * inet/net-internal.h (__deadline_current_time)
31207 (__deadline_from_timeval, __deadline_to_ms): Likewise.
31208 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
31209 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
31210 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
31211
a60eca2e
JM
312122017-08-31 Joseph Myers <joseph@codesourcery.com>
31213
c0c49d60
JM
31214 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
31215 include <bits/nan.h>.
31216 * math/Makefile (headers): Remove bits/nan.h.
31217 * bits/nan.h: Remove.
31218 * sysdeps/ieee754/bits/nan.h: Likewise.
31219 * sysdeps/mips/bits/nan.h: Likewise.
31220
5ef1b213
JM
31221 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
31222 not include <bits/inf.h>.
31223 * math/Makefile (headers): Remove bits/inf.h.
31224 * bits/inf.h: Remove.
31225 * sysdeps/ieee754/bits/inf.h: Likewise.
31226
a60eca2e
JM
31227 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
31228 bits/huge_vall.h or bits/huge_val_flt128.h.
31229 (HUGE_VAL): Define directly here.
31230 [__USE_ISOC99] (HUGE_VALF): Likewise.
31231 [__USE_ISOC99] (HUGE_VALL): Likewise.
31232 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31233 (HUGE_VAL_F128): Likewise.
31234 * math/Makefile (headers): Remove bits/huge_val.h,
31235 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
31236 * bits/huge_val.h: Remove.
31237 * bits/huge_val_flt128.h: Likewise.
31238 * bits/huge_valf.h: Likewise.
31239 * bits/huge_vall.h: Likewise.
31240 * sysdeps/ia64/bits/huge_vall.h: Likewise.
31241 * sysdeps/ieee754/bits/huge_val.h: Likewise.
31242 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
31243 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
31244 * sysdeps/sh/bits/huge_val.h: Likewise.
31245 * sysdeps/sparc/bits/huge_vall.h: Likewise.
31246 * sysdeps/x86/bits/huge_vall.h: Likewise.
31247
17e00cc6
FW
312482017-08-31 Florian Weimer <fweimer@redhat.com>
31249
31250 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
31251 internal_function.
31252 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
31253 Likewise.
31254 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
31255 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
31256 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
31257 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
31258 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31259 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
31260 * elf/dl-libc.c (dlerror_run): Likewise.
31261 * elf/dl-load.c (add_name_to_object, decompose_rpath)
31262 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
31263 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
31264 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
31265 Likewise.
31266 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
31267 (_dl_higher_prime_number, _dl_strtoul): Likewise.
31268 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
31269 * elf/dl-profile.c (_dl_start_profile): Likewise.
31270 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
31271 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
31272 Likewise.
31273 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
31274 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
31275 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
31276 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
31277 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
31278 (_dl_allocate_tls_storage): Likewise.
31279 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
31280 (_dl_check_all_versions): Likewise.
31281 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
31282 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
31283 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
31284 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31285 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
31286 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
31287 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
31288 internal_function from __dl_start.
31289 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
31290 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
31291 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
31292 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
31293 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
31294 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
31295 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
31296 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
31297 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
31298 (_dl_next_ld_env_entry, _dl_important_hwcaps)
31299 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
31300 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
31301 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
31302 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
31303 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
31304 Likewise.
31305 (struct rtld_global_ro): Remove internal_function from the
31306 _dl_lookup_symbol_x member.
31307 (_dl_symbol_value): Remove. No longer defined anywhere.
31308 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
31309 internal_function.
31310 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31311 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
31312 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
31313 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
31314 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
31315 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
31316 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
31317 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
31318 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
31319 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
31320 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31321 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
31322
8d2f9410
FW
313232017-08-31 Florian Weimer <fweimer@redhat.com>
31324
31325 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
31326 Remove internal_function.
31327 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
31328 Likewise.
31329 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
31330 Likewise.
31331
86e4919f
FW
313322017-08-31 Florian Weimer <fweimer@redhat.com>
31333
31334 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
31335 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
31336 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
31337
59bd52b0
FW
313382017-08-31 Florian Weimer <fweimer@redhat.com>
31339
31340 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
31341 (__gai_enqueue_request): Remove internal_function.
31342 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
31343 (__gai_remove_request, __gai_notify, __gai_notify_only)
31344 (__gai_sigqueue): Likewise.
31345 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
31346 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
31347 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
31348 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31349 Likewise.
31350
fc3d9497
FW
313512017-08-31 Florian Weimer <fweimer@redhat.com>
31352
31353 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
31354 * include/dirent.h (__opendirat, __getdents, __getdents64)
31355 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
31356 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
31357 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31358 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
31359 Likewise.
31360 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
31361
18c54fac
FW
313622017-08-31 Florian Weimer <fweimer@redhat.com>
31363
31364 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
31365 internal_function.
31366 (GETCWD_RETURN_TYPE): Likewise.
31367
7e01f080
FW
313682017-08-31 Florian Weimer <fweimer@redhat.com>
31369
31370 * include/time.h (__tz_compute, __strptime_internal): Remove
31371 internal_function.
31372 * time/strptime_l.c (__strptime_internal): Likewise.
31373 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
31374
d7ccc6c9
FW
313752017-08-31 Florian Weimer <fweimer@redhat.com>
31376
31377 * iconv/gconv.c (__gconv): Remove internal_function.
31378 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
31379 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
31380 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
31381 (__gconv_release_cache): Likewise.
31382 * iconv/gconv_close.c (__gconv_close): Likewise.
31383 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
31384 (read_conf_file, __gconv_get_path): Likewise.
31385 * iconv/gconv_db.c (derivation_lookup, add_derivation)
31386 (__gconv_release_step, gen_steps, increment_counter)
31387 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
31388 (__gconv_close_transform, free_modules_db): Likewise.
31389 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
31390 Likewise.
31391 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
31392 (__gconv_find_transform, __gconv_lookup_cache)
31393 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
31394 (__gconv_close_transform, __gconv_release_cache)
31395 (__gconv_loaded_object, __gconv_release_shlib)
31396 (__gconv_compare_alias): Likewise.
31397 * iconv/gconv_open.c (__gconv_open): Likewise.
31398 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
31399 * iconv/iconvconfig.c (add_module): Likewise.
31400 * intl/dcigettext.c (plural_lookup, guess_category_value)
31401 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
31402 * intl/eval-plural.h (plural_eval): Likewise.
31403 * intl/finddomain.c (_nl_find_domain): Likewise.
31404 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
31405 (_nl_load_domain, _nl_find_msg): Likewise.
31406 (internal_function): Remove definition.
31407 * intl/loadinfo.h (internal_function): Likewise.
31408 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
31409 internal_function.
31410 * intl/localealias.c (internal_function): Remove definition.
31411 (read_alias_file): Remove internal_function.
31412 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
31413 * intl/plural-exp.h (internal_function): Remove definition.
31414 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
31415 internal_function.
31416 * intl/plural.c: Regenerate.
31417 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
31418 * locale/coll-lookup.c (__collidx_table_lookup)
31419 (__collseq_table_lookup): Likewise.
31420 * locale/coll-lookup.h (__collidx_table_lookup)
31421 (__collseq_table_lookup): Likewise.
31422 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
31423 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31424 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
31425 (_nl_unload_locale): Likewise.
31426 * locale/localeinfo.h (struct __locale_data): Remove
31427 internal_function from cleanup member.
31428 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
31429 (_nl_remove_locale, _nl_load_locale_from_archive)
31430 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
31431 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
31432 (_nl_cleanup_time): Remove internal_function.
31433 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
31434 (_nl_parse_alt_digit): Likewise.
31435 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
31436 (_nl_select_era_entry): Likewise.
31437 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
31438 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
31439 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
7e01f080
FW
31440 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
31441 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
d7ccc6c9 31442
dab0eece
FW
314432017-08-31 Florian Weimer <fweimer@redhat.com>
31444
31445 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
31446 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
31447 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
31448 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
31449 Likewise.
31450 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
31451 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
31452 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
31453 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
31454 Likewise.
31455 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
31456
ab5bf7cf
FW
314572017-08-31 Florian Weimer <fweimer@redhat.com>
31458
31459 * misc/getttyent.c (skip, value): Remove internal_function.
31460 * misc/syslog.c (openlog_internal): Likewise.
31461 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
31462
75b3047e
FW
314632017-08-31 Florian Weimer <fweimer@redhat.com>
31464
31465 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
31466 (__nss_rewrite_field): Remove internal_function.
31467 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31468 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
31469 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
31470 * nss/nsswitch.c (nss_parse_file, nss_getline)
31471 (nss_parse_service_list, nss_new_service): Likewise.
31472 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
31473 * nss/valid_field.c (__nss_valid_field): Likewise.
31474 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
31475
0c71122c
FW
314762017-08-31 Florian Weimer <fweimer@redhat.com>
31477
31478 * malloc/arena.c (__malloc_fork_lock_parent)
31479 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
31480 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
31481 internal_function from defintions.
31482 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
31483 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
31484 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
31485 internal_function from declarations.
31486 * malloc/malloc.c (internal_function): Do not define.
31487 (mem2mem_check): Remove internal_function from declaration.
31488 (munmap_chunk, mremap_chunk): Remove internal_function.
31489 * malloc/mtrace.c (tr_where): Likewise.
31490
ca4ec803
FW
314912017-08-31 Florian Weimer <fweimer@redhat.com>
31492
31493 * include/rpc/pmap_clnt.h (__get_socket): Remove
31494 internal_function.
31495 * sunrpc/auth_des.c (synchronize): Likewise.
31496 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
31497 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
31498 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
31499 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
31500 (key_call): Likewise.
31501 * sunrpc/pm_getport.c (__get_socket): Likewise.
31502 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
31503 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
31504 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
31505 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
31506 (invalidate): Likewise.
31507 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
31508 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
31509 (set_input_fragment, get_input_bytes): Likewise.
31510
24cffce7
FW
315112017-08-31 Florian Weimer <fweimer@redhat.com>
31512
31513 * malloc/malloc.c (_int_free): Remove locked variable and related
31514 asserts.
31515
ecd0747d
L
315162017-08-31 H.J. Lu <hongjiu.lu@intel.com>
31517
31518 [BZ #22051]
31519 * Makerules (build-module-helper-objlist): Filter out
31520 $(elf-objpfx)sofini.os.
31521 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
31522 needed.
31523
5f0704b6
FW
315242017-08-31 Florian Weimer <fweimer@redhat.com>
31525
31526 * libio/fcloseall.c: Assume weak_alias is defined.
31527 * libio/feof.c: Likewise.
31528 * libio/fileno.c: Likewise.
31529 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
31530 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
31531 definitions.
31532 (_IO_file_open): Call __open directly.
31533 (_IO_new_file_sync): Assume ESPIPE is defined.
31534 (_IO_file_seekoff_maybe_mmap): Call __read directly.
31535 (_IO_new_file_write): Call __write directly.
31536 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
31537 * libio/ftello64.c (__ftello64): Assume EIO is defined.
31538 * libio/genops.c: Assume _LIBC is defined.
31539 (save_for_backup): Remove internal_function.
31540 * libio/getc.c: Assume weak_alias is defined.
31541 * libio/getwc.c: Likewise.
31542 * libio/iofclose.c: Assume _LIBC is defined.
31543 * libio/iofdopen.c: Likewise.
31544 (_IO_fcntl): Remove macro definition.
31545 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
31546 Call __fcntl directly.
31547 * libio/iofflush.c: Assume weak_alias is defined.
31548 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
31549 defined.
31550 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
31551 * libio/iofgets.c: Likewise.
31552 * libio/iofopen.c: Assume _LIBC is defined.
31553 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
31554 * libio/iofputs.c: Assume weak_alias is defined.
31555 * libio/iofread.c: Likewise.
31556 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
31557 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
31558 * libio/ioftell.c: Assume weak_alias is defined.
31559 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
31560 * libio/iofwide.c: Assume _LIBC is defined.
31561 (_IO_fwide): Drop SHARED conditional because it is implied by
31562 SHLIB_COMPAT.
31563 * libio/iofwrite.c: Assume weak_alias is defined.
31564 * libio/iogetdelim.c: Likewise.
31565 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
31566 * libio/iogetwline.c (wmemcpy): Remove macro definition.
31567 (_IO_getwline): Call __wmemcpy directly.
31568 * libio/iopopen.c: Assume _LIBC is defined.
31569 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
31570 (_IO_close): Remove macro definitions.
31571 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
31572 _exit directly.
31573 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
31574 directly.
31575 * libio/ioputs.c: Assume weak_alias is defined.
31576 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
31577 * libio/iosetbuffer.c: Assume weak_alias is defined.
31578 * libio/iosetvbuf.c: Likewise.
31579 * libio/ioungetc.c: Likewise.
31580 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
31581 libc_hidden_def, libc_hidden_weak, NULL are defined.
31582 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
31583 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
31584 defined.
31585 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
31586 definitions.
31587 (_IO_old_file_init_internal): Drop SHARED conditional because it
31588 is implied by SHLIB_COMPAT.
31589 (_IO_old_file_fopen): Call __open directly.
31590 (_IO_old_file_sync): Assume ESPIPE is defined.
31591 (_IO_old_file_write): Call __write directly.
31592 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
31593 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
31594 Call __fcntl directly.
31595 * libio/oldiofgetpos.c: Assume weak_alias is defined.
31596 (_IO_old_fgetpos): Assume EIO is defined.
31597 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
31598 (_IO_old_fgetpos64): Assume EIO is defined.
31599 * libio/oldiofsetpos.c: Assume weak_alias is defined.
31600 (_IO_old_fsetpos): Assume EIO is defined.
31601 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
31602 (_IO_old_fsetpos64): Assume EIO is defined.
31603 * libio/oldiopopen.c: Assume _LIBC is defined.
31604 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
31605 (_IO_close): Remove macro definitions.
31606 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
31607 directly.
31608 (_IO_old_proc_close): Call __close, __waitpid directly.
31609 * libio/put.c: Assume weak_alias is defined.
31610 * libio/stdfiles.c: Assume _LIBC is defined.
31611 * libio/stdio.c: Likewise.
31612 * libio/wfileops.c: Likewise.
31613 (_IO_wfile_sync): Assume ESPIPE is defined.
31614 * libio/wgenops.c: Assume _LIBC is defined.
31615 (save_for_wbackup): Remove internal_function.
31616
5129873a
FW
316172017-08-31 Florian Weimer <fweimer@redhat.com>
31618
31619 * malloc/malloc.c (top_check): Change return type to void. Remove
31620 internal_function.
31621 * malloc/hooks.c (top_check): Likewise.
31622 (malloc_check, realloc_check, memalign_check): Adjust.
31623
4fa9b3bf
JM
316242017-08-30 Joseph Myers <joseph@codesourcery.com>
31625
31626 [BZ #21457]
31627 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
31628 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
31629 sigcontext and namespace requirements.
31630 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
31631 * sysdeps/m68k/sys/ucontext.h: Likewise.
31632 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
31633 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
31634 <bits/sigcontext.h>.
31635 (__ctx): Define earlier.
31636 (mcontext_t): Define structure contents rather than using struct
31637 sigcontext.
31638 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
31639 __glibc_reserved1 instead of __reserved.
31640 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
31641 <bits/sigcontext.h>.
31642 (__ctx): Define earlier.
31643 (mcontext_t): Define structure contents rather than using struct
31644 sigcontext.
31645 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
31646 mcontext_t instead of struct sigcontext.
31647 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
31648 <bits/sigcontext.h>.
31649 (__ctx): Define earlier.
31650 (mcontext_t): Define structure contents rather than using struct
31651 sigcontext.
31652 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
31653 <bits/sigcontext.h>.
31654 (__ctx): Define earlier.
31655 (mcontext_t): Define structure contents rather than using struct
31656 sigcontext.
31657 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
31658 mcontext_t instead of struct sigcontext.
31659 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
31660 mcontext_t instead of struct sigcontext.
31661 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
31662 <bits/sigcontext.h>.
31663 (__ctx): New macro.
31664 (struct __ia64_fpreg_mcontext): New type.
31665 (mcontext_t): Define structure contents rather than using struct
31666 sigcontext.
31667 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
31668 (uc_sigmask): Define using __ctx.
31669 (uc_stack): Likewise.
31670 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
31671 <bits/sigcontext.h>.
31672 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31673 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
31674 <bits/sigcontext.h>.
31675 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
31676 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
31677 <bits/sigcontext.h>.
31678 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
31679 <bits/sigcontext.h>.
31680 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
31681 <bits/sigcontext.h>.
31682 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
31683 <bits/sigcontext.h>.
31684 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
31685 <bits/sigcontext.h>.
31686 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
31687 <bits/sigcontext.h>.
31688 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
31689 <bits/sigcontext.h>.
31690 (__ctx): Define earlier.
31691 (mcontext_t): Define structure contents rather than using struct
31692 sigcontext.
31693 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
31694 <bits/sigcontext.h>. Include <bits/types.h>.
31695 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
31696 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
31697 (test-xfail-XPG42/ucontext.h/conform): Likewise.
31698 (test-xfail-UNIX98/signal.h/conform): Likewise.
31699 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
31700 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
31701 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
31702 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
31703 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
31704 (test-xfail-POSIX2008/signal.h/conform): Likewise.
31705 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
31706 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
31707 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
31708
5898f454
FW
317092017-08-30 Florian Weimer <fweimer@redhat.com>
31710
31711 * malloc/dynarray_emplace_enlarge.c
31712 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
31713 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
31714 * malloc/tst-dynarray.c (test_long_overflow): New function.
31715 (do_test): Call it.
31716
a9da0bb2
FW
317172017-08-30 Florian Weimer <fweimer@redhat.com>
31718
31719 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
31720 (set_arena_corrupt): Remove definitions.
31721 (mtrim): Do not check for corrupt arena.
31722 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
31723 Likewise.
31724
ac3ed168
FW
317252017-08-30 Florian Weimer <fweimer@redhat.com>
31726
31727 [BZ #21754]
31728 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
31729 check_action.
31730 (ptmalloc_init): Do not set or use check_action.
31731 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
31732 call to malloc_printerr. Remove return statement.
31733 (free_check): Likewise. Remove arena unlock.
31734 (top_check): Update comment. Adjust call to malloc_printerr.
31735 Remove heap repair code.
31736 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
31737 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
31738 (sysmalloc): Adjust call to malloc_printerr.
31739 (munmap_chunk, __libc_realloc): Likewise. Remove return
31740 statement.
31741 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
31742 Remove errout label and corresponding gotos.
31743 (_int_free): Likewise. Remove arena unlock.
31744 (do_set_mallopt_check): Do not set check_action.
31745 (malloc_printerr): Adjust parameter list. Do not mark arena as
31746 corrupt.
31747 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
31748 comment.
31749 * manual/probes.texi (Memory Allocation Probes): Remove
31750 memory_mallopt_check_action.
31751
44bcba80
SE
317522017-08-30 Steve Ellcey <sellcey@cavium.com>
31753
31754 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
31755 Use pointer to uint64_t instead of long int for sp.
31756
ec2c1fce
FW
317572017-08-30 Florian Weimer <fweimer@redhat.com>
31758
31759 [BZ #21754]
31760 * malloc/malloc.c (malloc_printerr): Always terminate the process,
31761 without printing a backtrace. Do not leak any information in the
31762 error message.
31763 * manual/memory.texi (Heap Consistency Checking): Update.
31764 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
31765
9ce673b6
FW
317662017-08-30 Florian Weimer <fweimer@redhat.com>
31767
31768 Do not scale NPTL tests with available number of CPUs.
31769 * nptl/tst-cond16.c (count): Set to constant value of 8.
31770 * nptl/tst-cond18.c (count): Likewise.
31771
2f1aef19
JM
317722017-08-29 Joseph Myers <joseph@codesourcery.com>
31773
31774 [BZ #22035]
31775 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
31776 Define to take a second argument that is a macro that
31777 concatentates a suffix, not the suffix itself.
31778 (__CONCAT_d): New macro.
31779 (__CONCAT_f): Likewise.
31780 (__CONCAT_l): Likewise.
31781
8325b477
PP
317822017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
31783
31784 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
31785 by child.
31786
319cbbf6
AZ
317872017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31788 Aurelien Jarno <aurelien@aurel32.net>
31789 Maciej W. Rozycki <macro@imgtec.com>
31790
31791 [BZ #21956]
31792 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
31793 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
31794 `mips16-syscall6' and `mips16-syscall7'.
31795 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
31796 (CFLAGS-mips16-syscall7.c): Remove.
31797 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
31798 Remove `__mips16_syscall5', `__mips16_syscall6' and
31799 `__mips16_syscall7'.
31800 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
31801 (__mips16_syscall0): Rename `__mips16_syscall_return' to
31802 `__mips_syscall_return'.
31803 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
31804 (__mips16_syscall1): Likewise.
31805 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
31806 (__mips16_syscall2): Likewise.
31807 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
31808 (__mips16_syscall3): Likewise.
31809 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
31810 (__mips16_syscall4): Likewise.
31811 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
31812 Remove.
31813 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
31814 Remove.
31815 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
31816 Remove.
31817 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
31818 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
31819 `__mips16_syscall5'. Remove prototype.
31820 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
31821 `__mips16_syscall6'. Remove prototype.
31822 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
31823 `__mips16_syscall7'. Remove prototype.
31824 (__nomips16, __mips16_syscall_return): Move to...
31825 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
31826 (__nomips16, __mips_syscall_return): ... here.
31827 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
31828 `__mips16_syscall_return' to `__mips_syscall_return'.
31829 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
31830 `internal_syscall##nr'.
31831 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
31832 `internal_syscall##nr'.
31833 (FORCE_FRAME_POINTER): Remove.
31834 (__mips_syscall5): New prototype.
31835 (internal_syscall5): Rewrite to call `__mips_syscall5'.
31836 (__mips_syscall6): New prototype.
31837 (internal_syscall6): Rewrite to call `__mips_syscall6'.
31838 (__mips_syscall7): New prototype.
31839 (internal_syscall7): Rewrite to call `__mips_syscall7'.
31840 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
31841 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
31842 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
31843 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
31844 (sysdep_routines): Add libc-do-syscall.
31845 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
31846 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
31847
01b87c65
AZ
318482017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31849
31850 [BZ #21672]
31851 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
31852 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
31853 (advise_stack_range): New function.
31854 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
31855 stack non required to advise_stack_range at allocatestack.c
31856
16f138a4
SN
318572017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
31858
31859 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
31860
251bccfa
FW
318612017-08-29 Florian Weimer <fweimer@redhat.com>
31862
31863 [BZ #22026]
31864 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
31865 __end_fct. Mangle __end_fct after setting it to NULL.
31866 * iconv/Makefile (tests): Add tst-gconv-init-failure.
31867 (modules-names, modules-names-tests): Add
31868 tst-gconv-init-failure-mod.
31869 (gconv-modules): New target.
31870 (tst-gconv-init-failure-mod.so): Link against libsupport.
31871 (tst-gconv-init-failure): Depend on gconv-modules,
31872 tst-gconv-init-failure-mod.so.
31873 * iconv/tst-gconv-init-failure-mod.c: New file.
31874 * iconv/tst-gconv-init-failure.c: Likewise.
31875 * iconv/test-gconv-modules: Likewise.
31876
e7c18b9d
FW
318772017-08-29 Florian Weimer <fweimer@redhat.com>
31878
31879 [BZ #22025]
31880 * iconv/gconv_db.c (free_derivation): Remove redundant
31881 parentheses.
31882 (gen_steps): Unconditionally mangle __btowc_fct after
31883 initialization.
31884 (increment_counter): Likewise. Do not call init_fct for internal
31885 modules.
31886
7daada03
JM
318872017-08-29 Joseph Myers <joseph@codesourcery.com>
31888
31889 [BZ #22028]
31890 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
31891 (_MSUF_): Remove macro.
31892 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
31893 Likewise.
31894 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
31895 (__REDIRFROM_X): New macro.
31896 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
31897 Likewise.
31898 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
31899 (__REDIRTO_X): Likewise.
31900 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
31901 arguments.
31902 (__MATH_REDIRCALL_2): Likewise.
31903 (__MATH_REDIRCALL_INTERNAL): Likewise.
31904 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
31905 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
31906 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
31907 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
31908 * math/test-finite-macros.c: New file.
31909 * math/Makefile (tests): Add test-finite-macros.
31910 (CFLAGS-test-finite-macros.c): New variable.
31911
1cf1232c
PF
319122017-08-29 Patsy Franklin <pfrankli@redhat.com>
31913 Jeff Law <law@redhat.com>
31914
31915 [BZ #22025]
31916 Mangle NULL pointers in iconv/gconv.
31917 * iconv/gconv_cache.c (find_module): Demangle init_fct before
31918 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
31919 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
31920 is non-NULL before demangling the end_fct. Check for NULL
31921 end_fct after demangling.
31922 (__gconv_release_step): Demangle the end_fct before checking
31923 it for NULL. Remove assert on __shlibc_handle != NULL.
31924 (gen_steps): Don't check btowc_fct for NULL before mangling.
31925 Demangle init_fct before checking for NULL.
31926 (increment_counter): Likewise.
31927 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
31928 end_fct for NULL before mangling.
31929 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
31930 for NULL.
31931
c207f7ce 319322017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
f8de9568
AK
31933
31934 [BZ #21971]
31935 * locale/iso-639.def: add Morisyen.
31936
42496114
GG
319372017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31938
31939 [BZ #21930]
31940 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
31941 (iszero): New C++ implementation that does not use
31942 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
31943 signaling nans are enabled, since __builtin_types_compatible_p
31944 is a C-only feature.
31945 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
31946 defined, include ieee754_float128.h for access to the union and
31947 member ieee854_float128.ieee.
31948 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
31949 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
31950 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
31951 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
31952 options of test-math-zero on powerpc64le.
31953
5e2bc4ff
L
319542017-08-28 H.J. Lu <hongjiu.lu@intel.com>
31955
31956 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
31957 Change double to float.
31958
a48c0fb4
JM
319592017-08-28 Joseph Myers <joseph@codesourcery.com>
31960
31961 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
31962 unconditional.
31963 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
31964 conditional code; define contents only for [LIBM_SVID_COMPAT].
31965
ee17d4e9
FW
319662017-08-28 Florian Weimer <fweimer@redhat.com>
31967
31968 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
31969 (abi-lp64_be-options): Remove.
31970 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
31971 (abi-hard-options): Likewise.
31972 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
31973 (abi-o32_hard-options, abi-o32_soft_2008-options)
31974 (abi-o32_hard_2008-options, abi-n32_soft-options)
31975 (abi-n32_hard-options, abi-n32_soft_2008-options)
31976 (abi-n32_hard_2008-options, abi-n64_soft-options)
31977 (abi-n64_hard-options, abi-n64_soft_2008-options)
31978 (abi-n64_hard_2008-options): Likewise.
31979 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
31980 (abi-64-v1-options, abi-64-v2-options): Likewise.
31981 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
31982 (abi-64-options): Likewise.
31983 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
31984 (abi-64-options): Likewise.
31985 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
31986 (abi-64-options): Likewise.
31987 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
31988 (abi-64-options, abi-x32-options): Likewise.
31989
2dba5ce7
FW
319902017-08-28 Florian Weimer <fweimer@redhat.com>
31991
31992 Store supported list of SYS_* system calls in the source tree.
31993 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
31994 (bits/syscall.h): Generate from list file.
31995 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
31996 [$(subdir) = misc] (tests): Add tst-syscall-list.
31997 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
31998 [$(subdir) = misc] (tst-syscall-list-macros.list)
31999 [$(subdir) = misc] (tst-syscall-list-nr.list)
32000 (tst-syscall-list-sys.list): Helper targets for new
32001 tst-syscall-list test.
32002 [$(subdir) = misc] (tst-syscall-list.out): Run test script
32003 tst-syscall-list.sh.
32004 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
32005 target. Do not include bits/syscall.d.
32006 [$(subdir) = misc] (generated): Do not update.
32007 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
32008 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
32009 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
32010 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
32011
5f3b183d
PP
320122017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
32013
32014 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
32015 (tst-cxa_atexit, tst-on_exit): Likewise.
32016 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
32017 tst-cxa_atexit, and tst-on_exit.
32018 * stdlib/tst-atexit-common.c: New file.
32019 * stdlib/tst-atexit.c: New file.
32020 * stdlib/tst-at_quick_exit.c: New file.
32021 * stdlib/tst-cxa_atexit.c: New file.
32022 * stdlib/tst-on_exit.c: New file.
32023
2ef8d469
ST
320242017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
32025
32026 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
97e02ad2
ST
32027 * mach/stack_chk_fail_local.c: New file.
32028 * hurd/stack_chk_fail_local.c: New file.
32029 * mach/Machrules ($(interface-library)-routines): Add
32030 stack_chk_fail_local.
99ee4d26
ST
32031 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
32032 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
32033 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
32034 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
32035 * hurd/Makefile (CFLAGS-hurdstartup.o,
32036 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
2ef8d469 32037
7ab70c98
L
320382017-08-25 H.J. Lu <hongjiu.lu@intel.com>
32039
32040 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
32041 (index_cpu_*, index_arch_*): Removed.
32042
39e7a5a6
SN
320432017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
32044
32045 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
32046 Use uint64_t instead of unsigned long.
32047
bba5c930
JM
320482017-08-25 Joseph Myers <joseph@codesourcery.com>
32049
a6ccdb08
JM
32050 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
32051 [__HAVE_DISTINCT_FLOAT128].
32052
23761119
JM
32053 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
32054 of <bits/math-finite.h>.
32055 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
32056 inclusion of <bits/math-finite.h>.
32057 * math/bits/math-finite.h (__REDIRTO_X): Do not define
32058 conditionally on [__MATH_DECLARING_LDOUBLE && defined
32059 __NO_LONG_DOUBLE_MATH].
32060 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
32061 (__MATH_REDIRCALL_2): Likewise.
32062 (__MATH_REDIRCALL_INTERNAL): Likewise.
32063 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
32064 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
32065 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
32066
bba5c930
JM
32067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
32068 Remove file.
32069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
32070 Likewise.
32071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
32072 Likewise.
32073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
32074 Likewise.
32075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
32076 Likewise.
32077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
32078 Likewise.
32079 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
32080 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
32081 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
32082 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
32083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
32084 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
32085 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
32086 w_sqrtf_compat-ppc32.
32087
3d7b66f6
GG
320882017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32089
32090 * math/math.h [defined __cplusplus] (issignaling): In the long
32091 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
32092 is not defined. Call __issignaling, otherwise.
32093
ebd6f007
AZ
320942017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32095
32096 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
32097 syscall definitions and replace __builtin_expect with __glibc_likely.
32098 * sysdeps/unix/syscall-template.S: Update comment about cancellable
32099 syscall.
6b5c8607 32100 (SYSCALL_CANCELLABLE): Removedefinition
ebd6f007
AZ
32101 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
32102 definition.
32103 (PSEUDO_END): Likewise.
32104 [IS_IN (libpthread)] (CENABLE): Likewise.
32105 [IS_IN (libpthread)] (CDISABLE): Likewise.
32106 [IS_IN (libc)] (CENABLE): Likewise.
32107 [IS_IN (libc)] (CENABLE): Likewise.
32108 [IS_IN (librt)] (CDISABLE): Likewise.
32109 [IS_IN (librt)] (CDISABLE): Likewise.
32110 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32111 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
32112 definition.
32113 (PSEUDO_END): Likewise.
32114 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
32115 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
32116 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
32117 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
32118 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
32119 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
32120 (CENABLE): Likewise.
32121 (CDISABLE): Likewise.
32122 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32123 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
32124 defintion.
32125 (PSEUDO_END): Likewise.
32126 [IS_IN (libpthread)] (CENABLE): Likewise.
32127 [IS_IN (libpthread)] (CDISABLE): Likewise.
32128 [IS_IN (libc)] (CENABLE): Likewise.
32129 [IS_IN (libc)] (CENABLE): Likewise.
32130 [IS_IN (librt)] (CDISABLE): Likewise.
32131 [IS_IN (librt)] (CDISABLE): Likewise.
32132 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32133 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
32134 definition.
32135 (PSEUDO_END): Likewise.
32136 [IS_IN (libpthread)] (CENABLE): Likewise.
32137 [IS_IN (libpthread)] (CDISABLE): Likewise.
32138 [IS_IN (libc)] (CENABLE): Likewise.
32139 [IS_IN (libc)] (CENABLE): Likewise.
32140 [IS_IN (librt)] (CDISABLE): Likewise.
32141 [IS_IN (librt)] (CDISABLE): Likewise.
32142 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32143 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
32144 definition.
32145 (PSEUDO_END): Likewise.
32146 [IS_IN (libpthread)] (CENABLE): Likewise.
32147 [IS_IN (libpthread)] (CDISABLE): Likewise.
32148 [IS_IN (libc)] (CENABLE): Likewise.
32149 [IS_IN (libc)] (CENABLE): Likewise.
32150 [IS_IN (librt)] (CDISABLE): Likewise.
32151 [IS_IN (librt)] (CDISABLE): Likewise.
32152 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32153 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
32154 definition.
32155 (PSEUDO_END): Likewise.
32156 [IS_IN (libpthread)] (CENABLE): Likewise.
32157 [IS_IN (libpthread)] (CDISABLE): Likewise.
32158 [IS_IN (libc)] (CENABLE): Likewise.
32159 [IS_IN (libc)] (CENABLE): Likewise.
32160 [IS_IN (librt)] (CDISABLE): Likewise.
32161 [IS_IN (librt)] (CDISABLE): Likewise.
32162 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32163 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
32164 definition.
32165 (PSEUDO_END): Likewise.
32166 [IS_IN (libpthread)] (CENABLE): Likewise.
32167 [IS_IN (libpthread)] (CDISABLE): Likewise.
32168 [IS_IN (libc)] (CENABLE): Likewise.
32169 [IS_IN (libc)] (CENABLE): Likewise.
32170 [IS_IN (librt)] (CDISABLE): Likewise.
32171 [IS_IN (librt)] (CDISABLE): Likewise.
32172 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32173 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
32174 definition.
32175 (PSEUDO_END): Likewise.
32176 [IS_IN (libpthread)] (CENABLE): Likewise.
32177 [IS_IN (libpthread)] (CDISABLE): Likewise.
32178 [IS_IN (libc)] (CENABLE): Likewise.
32179 [IS_IN (libc)] (CENABLE): Likewise.
32180 [IS_IN (librt)] (CDISABLE): Likewise.
32181 [IS_IN (librt)] (CDISABLE): Likewise.
32182 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32183 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
32184 Remove definition.
32185 (PSEUDO_END): Likewise.
32186 [IS_IN (libpthread)] (CENABLE): Likewise.
32187 [IS_IN (libpthread)] (CDISABLE): Likewise.
32188 [IS_IN (libc)] (CENABLE): Likewise.
32189 [IS_IN (libc)] (CENABLE): Likewise.
32190 [IS_IN (librt)] (CDISABLE): Likewise.
32191 [IS_IN (librt)] (CDISABLE): Likewise.
32192 (SINGLE_THREAD_P): Likewise.
32193 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
32194 definition.
32195 (PSEUDO_END): Likewise.
32196 [IS_IN (libpthread)] (CENABLE): Likewise.
32197 [IS_IN (libpthread)] (CDISABLE): Likewise.
32198 [IS_IN (libc)] (CENABLE): Likewise.
32199 [IS_IN (libc)] (CENABLE): Likewise.
32200 [IS_IN (librt)] (CDISABLE): Likewise.
32201 [IS_IN (librt)] (CDISABLE): Likewise.
32202 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32203 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
32204 definition.
32205 (PSEUDO_END): Likewise.
32206 [IS_IN (libpthread)] (CENABLE): Likewise.
32207 [IS_IN (libpthread)] (CDISABLE): Likewise.
32208 [IS_IN (libc)] (CENABLE): Likewise.
32209 [IS_IN (libc)] (CENABLE): Likewise.
32210 [IS_IN (librt)] (CDISABLE): Likewise.
32211 [IS_IN (librt)] (CDISABLE): Likewise.
32212 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32213 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
32214 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
32215 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
32216 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
32217 definition.
32218 (PSEUDO_END): Likewise.
32219 [IS_IN (libpthread)] (CENABLE): Likewise.
32220 [IS_IN (libpthread)] (CDISABLE): Likewise.
32221 [IS_IN (libc)] (CENABLE): Likewise.
32222 [IS_IN (libc)] (CENABLE): Likewise.
32223 [IS_IN (librt)] (CDISABLE): Likewise.
32224 [IS_IN (librt)] (CDISABLE): Likewise.
32225 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32226 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
32227 definition.
32228 (PSEUDO_END): Likewise.
32229 [IS_IN (libpthread)] (CENABLE): Likewise.
32230 [IS_IN (libpthread)] (CDISABLE): Likewise.
32231 [IS_IN (libc)] (CENABLE): Likewise.
32232 [IS_IN (libc)] (CENABLE): Likewise.
32233 [IS_IN (librt)] (CDISABLE): Likewise.
32234 [IS_IN (librt)] (CDISABLE): Likewise.
32235 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32236 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
32237 definition.
32238 (PSEUDO_END): Likewise.
32239 [IS_IN (libpthread)] (CENABLE): Likewise.
32240 [IS_IN (libpthread)] (CDISABLE): Likewise.
32241 [IS_IN (libc)] (CENABLE): Likewise.
32242 [IS_IN (libc)] (CENABLE): Likewise.
32243 [IS_IN (librt)] (CDISABLE): Likewise.
32244 [IS_IN (librt)] (CDISABLE): Likewise.
32245 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32246 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
32247 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32248 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
32249 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
32250 definition.
32251 (PSEUDO_END): Likewise.
32252 [IS_IN (libpthread)] (CENABLE): Likewise.
32253 [IS_IN (libpthread)] (CDISABLE): Likewise.
32254 [IS_IN (libc)] (CENABLE): Likewise.
32255 [IS_IN (libc)] (CENABLE): Likewise.
32256 [IS_IN (librt)] (CDISABLE): Likewise.
32257 [IS_IN (librt)] (CDISABLE): Likewise.
32258 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32259 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
32260 definition.
32261 (PSEUDO_END): Likewise.
32262 [IS_IN (libpthread)] (CENABLE): Likewise.
32263 [IS_IN (libpthread)] (CDISABLE): Likewise.
32264 [IS_IN (libc)] (CENABLE): Likewise.
32265 [IS_IN (libc)] (CENABLE): Likewise.
32266 [IS_IN (librt)] (CDISABLE): Likewise.
32267 [IS_IN (librt)] (CDISABLE): Likewise.
32268 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32269
8aa48656
SN
322702017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
32271
32272 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
32273
fcaaca41
L
322742017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32275
32276 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32277
376b40a2
L
322782017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32279
32280 [BZ #21982]
32281 * string/stratcliff.c (do_test): Declare size, nchars, inner,
32282 middle and outer with size_t instead of int. Repleace %d and
32283 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
32284 "MAX (outer, nchars - 64)" to support unsigned outer and
32285 nchars. Also exit loop when outer == 0.
32286
2b0b9a1c
AZ
322872017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32288
32289 * include/fcntl.h (__fcntl_nocancel): Remove definition.
32290 * include/signal.h (__sigsuspend_nocancel): Likewise.
32291 * include/time.h (__nanosleep_nocancel): Likewise.
32292 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
32293 * login/utmp_file.c: Include non cancellable syscall header.
32294 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
32295 prototype.
32296
b9eaca8f
L
322972017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32298
32299 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
32300 .byte sequences with AVX512F instructions.
32301 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
32302 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
32303 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
32304 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
32305 Likewise.
32306 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
32307 Likewise.
32308
5a706f64
SE
323092017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
32310 Steve Ellcey <sellcey@cavium.com>
32311
32312 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
32313 Use PTR_REG macro in cmp instruction.
32314
b513da7e
GG
323152017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32316
32317 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
32318 Change the return type of the ifunc resolver to match the return
32319 type of the target function.
32320
78ca091c
AZ
323212017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32322
b70b6026
AZ
32323 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
32324 (preadv64): Likewise.
32325 (pwrite64(: Likewise.
32326 (pwritev64): Likewise.
32327
78ca091c
AZ
32328 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
32329 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
32330 (LOAD_ARGS_0): Likewise.
32331 (LOAD_ARGS_1): Likewise.
32332 (LOAD_ARGS_2): Likewise.
32333 (LOAD_ARGS_3): Likewise.
32334 (LOAD_ARGS_4): Likewise.
32335 (LOAD_ARGS_5): Likewise.
32336 (LOAD_ARGS_6): Likewise.
32337 (LOAD_REGS_0): Likewise.
32338 (LOAD_REGS_1): Likewise.
32339 (LOAD_REGS_2): Likewise.
32340 (LOAD_REGS_3): Likewise.
32341 (LOAD_REGS_4): Likewise.
32342 (LOAD_REGS_5): Likewise.
32343 (LOAD_REGS_6): Likewise.
32344 (ASM_ARGS_0): Likewise.
32345 (ASM_ARGS_1): Likewise.
32346 (ASM_ARGS_2): Likewise.
32347 (ASM_ARGS_3): Likewise.
32348 (ASM_ARGS_4): Likewise.
32349 (ASM_ARGS_5): Likewise.
32350 (ASM_ARGS_6): Likewise.
32351 (LOAD_ARGS_TYPES_1): Likewise.
32352 (LOAD_ARGS_TYPES_2): Likewise.
32353 (LOAD_ARGS_TYPES_3): Likewise.
32354 (LOAD_ARGS_TYPES_4): Likewise.
32355 (LOAD_ARGS_TYPES_5): Likewise.
32356 (LOAD_ARGS_TYPES_6): Likewise.
32357 (LOAD_REGS_TYPES_1): Likewise.
32358 (LOAD_REGS_TYPES_2): Likewise.
32359 (LOAD_REGS_TYPES_3): Likewise.
32360 (LOAD_REGS_TYPES_4): Likewise.
32361 (LOAD_REGS_TYPES_5): Likewise.
32362 (LOAD_REGS_TYPES_6): Likewise.
32363 (TYPEFY): New define.
32364 (ARGIFY): Likewise.
32365 (internal_syscall0): Likewise.
32366 (internal_syscall1): Likewise.
32367 (internal_syscall2): Likewise.
32368 (internal_syscall3): Likewise.
32369 (internal_syscall4): Likewise.
32370 (internal_syscall5): Likewise.
32371 (internal_syscall6): Likewise.
32372 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
32373 (INTERNAL_SYSCALL_NCS): Remove define.
32374 (internal_syscall1): Add define.
32375
453a493d
GG
323762017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32377
32378 * math/w_remainder_compat.c: Remove duplicate inclusion of
32379 math-svid-compat.h.
32380 * math/w_remainderf_compat.c: Likewise.
32381 * math/w_remainderl_compat.c: Likewise.
32382
f2f048a5
GG
323832017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32384
32385 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32386
d9bef9c0
JM
323872017-08-22 Joseph Myers <joseph@codesourcery.com>
32388
32389 [BZ #21684]
32390 * math/tgmath.h (__floating_type): Simplify definitions.
32391 (__real_integer_type): New macro.
32392 (__complex_integer_type): Likewise.
32393 (__expr_is_real): Likewise.
32394 (__tgmath_real_type_sub): Update comment to describe handling of
32395 complex types.
32396 (__tgmath_complex_type_sub): New macro.
32397 (__tgmath_complex_type): Likewise.
32398 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32399 (__TGMATH_CF128): Use __expr_is_real.
32400 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
32401 __expr_is_real.
32402 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32403 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
32404 * math/gen-tgmath-tests.py (Type.create_type): Create complex
32405 integer types.
32406
08d6eb46
AZ
324072017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32408
988f991b
AZ
32409 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
32410 macro.
32411 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
32412 alias.
32413 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
32414 Likewise.
32415
6f33fd04
AZ
32416 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
32417 nanosleep_not_cancel with __nanosleep_nocancel.
32418 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
32419 (__nanosleep_nocancel): New macro.
32420 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
32421 function.
32422 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
32423 macro.
32424 (__nanosleep_nocancel): New prototype.
32425
08d6eb46
AZ
32426 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
32427 pause_not_cancel with __pause_nocancel.
32428 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
32429 (__pause_nocancel): New macro.
32430 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
32431 macro.
32432 (__pause_nocancel): New prototype.
32433 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
32434
ee4e992e
MS
324352017-08-22 Martin Sebor <msebor@redhat.com>
32436
32437 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
32438 to return a pointer to the same type as the target function.
32439
20962acb
L
324402017-08-22 H.J. Lu <hongjiu.lu@intel.com>
32441
32442 [BZ #18822]
32443 [BZ #21986]
32444 * include/printf.h (__printf_fphex): Add attribute_hidden.
32445 (__guess_grouping): New prototype.
32446 * stdio-common/printf_fp.c (__guess_grouping): Removed.
32447 * stdio-common/reg-printf.c (__register_printf_specifier): Add
32448 libc_hidden_proto and libc_hidden_def.
32449 * stdlib/strfmon_l.c (__guess_grouping): Removed.
32450 (__vstrfmon_l): Remove the third argument passed to
32451 __guess_grouping.
32452
a16e8bc0
GG
324532017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32454
32455 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
32456 definition for issignaling that does not rely on __MATH_TG,
32457 since __MATH_TG uses __builtin_types_compatible_p, which is only
32458 available in C mode.
32459 (CFLAGS-test-math-issignaling.cc): New variable.
32460 * math/Makefile [CXX] (tests): Add test-math-issignaling.
32461 * math/test-math-issignaling.cc: New test for C++ implementation
32462 of type-generic issignaling.
32463 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
32464 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
32465 options of test-math-issignaling on powerpc64le.
32466
8d2ec553
L
324672017-08-22 H.J. Lu <hongjiu.lu@intel.com>
32468
32469 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32470 building libc.a.
32471 (hidden_proto): Likewise.
32472 (hidden_tls_proto): Likewise.
32473 (__hidden_proto): Likewise.
32474
a4d57b79
FW
324752017-08-22 Florian Weimer <fweimer@redhat.com>
32476
32477 math: Statically link tests of internal functionality.
32478 * math/Makefile (tests): Remove atest-exp, atest-sincos,
32479 atest-exp2.
32480 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
32481 (gmp-objs): Remove assignment.
32482 (atest-exp, atest-sincos, atest-exp2): Remove targets.
32483
75dfe623
JM
324842017-08-22 Joseph Myers <joseph@codesourcery.com>
32485
80f91666
JM
32486 [BZ #21987]
32487 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
32488 and copy to ...
32489 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
32490 ... here.
32491 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
32492 ... and here.
32493
75dfe623
JM
32494 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
32495 variable definitions above inclusion of ../Rules.
32496
ea99fcd0
JM
324972017-08-21 Joseph Myers <joseph@codesourcery.com>
32498
32499 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
32500 case calling __builtin_unreachable.
32501
19926de9
AZ
325022017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32503
a8410a5f
AZ
32504 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
32505 __waitpid_nocancel.
32506 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
32507 (__waitpid_nocancel): New macro.
32508 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
32509 macro.
32510 (__waitpid_nocancel): Replace macro with a function.
32511 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
32512 function.
32513
7369800c
AZ
32514 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
32515 __fcntl_nocancel.
32516 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
32517 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
32518
19926de9
AZ
32519 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
32520 __writev_nocancel_nostatus.
32521 (write_call_graph): Likewise.
32522 (write_bb_counts): Likewise.
32523 * resolv/herror.c (herror): Likewise.
32524 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
32525 macro.
32526 (__writev_nocancel_nostatus): New macro.
32527 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
32528 Remove macro.
32529 (__writev_nocancel_nostatus): New function.
32530
813378e9
JM
325312017-08-21 Joseph Myers <joseph@codesourcery.com>
32532
df1deda6
JM
32533 Revert:
32534 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32535
32536 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32537 building libc.a.
32538 (hidden_proto): Likewise.
32539 (hidden_tls_proto): Likewise.
32540 (__hidden_proto): Likewise.
32541
831bbd55
JM
32542 [BZ #21973]
32543 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
32544 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
32545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
32546 Likewise.
32547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
32548 Likewise.
32549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
32550 Likewise.
32551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
32552 Likewise.
32553 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
32554 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
32555 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
32556 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
32557 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
32558 GLIBC_2.0 sqrtl symbol.
32559
813378e9
JM
32560 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
32561 [__USE_MISC] (_LIB_VERSION): Likewise.
32562 [__USE_MISC] (struct exception): Likewise.
32563 [__USE_MISC] (matherr): Likewise.
32564 [__USE_MISC] (DOMAIN): Likewise.
32565 [__USE_MISC] (SING): Likewise.
32566 [__USE_MISC] (OVERFLOW): Likewise.
32567 [__USE_MISC] (UNDERFLOW): Likewise.
32568 [__USE_MISC] (TLOSS): Likewise.
32569 [__USE_MISC] (PLOSS): Likewise.
32570 [__USE_MISC] (HUGE): Likewise.
32571 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
32572 * math/math-svid-compat.h: New file.
32573 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
32574 and matherrl.
32575 * include/math.h [!_ISOMAC] (__matherr): Remove.
32576 * manual/arith.texi (FP Exceptions): Do not document matherr.
32577 * math/Makefile (tests): Change test-matherr to test-matherr-3.
32578 (tests-internal): New variable.
32579 (install-lib): Do not add libieee.a.
32580 (non-lib.a): Likewise.
32581 (extra-objs): Do not add libieee.a and ieee-math.o.
32582 (CPPFLAGS-s_lib_version.c): Remove variable.
32583 ($(objpfx)libieee.a): Remove rule.
32584 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
32585 * math/ieee-math.c: Remove.
32586 * math/libm-test-support.c (matherr): Remove.
32587 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
32588 and license notices. Include <math-svid-compat.h> and
32589 <shlib-compat.h>.
32590 (matherr): Undefine as macro. Use compat_symbol_reference.
32591 (_LIB_VERSION): Likewise.
32592 * math/test-matherr-2.c: New file.
32593 * math/test-matherr-3.c: Likewise.
32594 * sysdeps/generic/math_private.h (__kernel_standard): Remove
32595 declaration.
32596 (__kernel_standard_f): Likewise.
32597 (__kernel_standard_l): Likewise.
32598 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
32599 <math_private.h>. Include <math-svid-compat.h>.
32600 (_LIB_VERSION): Undefine as macro.
32601 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
32602 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
32603 [LIBM_SVID_COMPAT], use compat_symbol.
32604 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
32605 <math_private.h>. Include <math-svid-compat.h>.
32606 (matherr): Undefine as macro.
32607 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
32608 compat_symbol.
32609 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
32610 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
32611 compat_symbol_reference.
32612 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
32613 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
32614 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
32615 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
32616 (MATHERR_D): Remove declaration.
32617 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
32618 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
32619 [LIBM_BUILD] (pmatherrf): Likewise.
32620 [LIBM_BUILD] (pmatherr): Likewise.
32621 [LIBM_BUILD] (pmatherrl): Likewise.
32622 (DOMAIN): Likewise.
32623 (SING): Likewise.
32624 (OVERFLOW): Likewise.
32625 (UNDERFLOW): Likewise.
32626 (TLOSS): Likewise.
32627 (PLOSS): Likewise.
32628 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
32629 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
32630 compat_symbol.
32631 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
32632 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
32633 compat_symbol.
32634 * math/lgamma-compat.h: Include <math-svid-compat.h>.
32635 * math/w_acos_compat.c: Likewise.
32636 * math/w_acosf_compat.c: Likewise.
32637 * math/w_acosh_compat.c: Likewise.
32638 * math/w_acoshf_compat.c: Likewise.
32639 * math/w_acoshl_compat.c: Likewise.
32640 * math/w_acosl_compat.c: Likewise.
32641 * math/w_asin_compat.c: Likewise.
32642 * math/w_asinf_compat.c: Likewise.
32643 * math/w_asinl_compat.c: Likewise.
32644 * math/w_atan2_compat.c: Likewise.
32645 * math/w_atan2f_compat.c: Likewise.
32646 * math/w_atan2l_compat.c: Likewise.
32647 * math/w_atanh_compat.c: Likewise.
32648 * math/w_atanhf_compat.c: Likewise.
32649 * math/w_atanhl_compat.c: Likewise.
32650 * math/w_cosh_compat.c: Likewise.
32651 * math/w_coshf_compat.c: Likewise.
32652 * math/w_coshl_compat.c: Likewise.
32653 * math/w_exp10_compat.c: Likewise.
32654 * math/w_exp10f_compat.c: Likewise.
32655 * math/w_exp10l_compat.c: Likewise.
32656 * math/w_exp2_compat.c: Likewise.
32657 * math/w_exp2f_compat.c: Likewise.
32658 * math/w_exp2l_compat.c: Likewise.
32659 * math/w_fmod_compat.c: Likewise.
32660 * math/w_fmodf_compat.c: Likewise.
32661 * math/w_fmodl_compat.c: Likewise.
32662 * math/w_hypot_compat.c: Likewise.
32663 * math/w_hypotf_compat.c: Likewise.
32664 * math/w_hypotl_compat.c: Likewise.
32665 * math/w_j0_compat.c: Likewise.
32666 * math/w_j0f_compat.c: Likewise.
32667 * math/w_j0l_compat.c: Likewise.
32668 * math/w_j1_compat.c: Likewise.
32669 * math/w_j1f_compat.c: Likewise.
32670 * math/w_j1l_compat.c: Likewise.
32671 * math/w_jn_compat.c: Likewise.
32672 * math/w_jnf_compat.c: Likewise.
32673 * math/w_jnl_compat.c: Likewise.
32674 * math/w_lgamma_main.c: Likewise.
32675 * math/w_lgamma_r_compat.c: Likewise.
32676 * math/w_lgammaf_main.c: Likewise.
32677 * math/w_lgammaf_r_compat.c: Likewise.
32678 * math/w_lgammal_main.c: Likewise.
32679 * math/w_lgammal_r_compat.c: Likewise.
32680 * math/w_log10_compat.c: Likewise.
32681 * math/w_log10f_compat.c: Likewise.
32682 * math/w_log10l_compat.c: Likewise.
32683 * math/w_log2_compat.c: Likewise.
32684 * math/w_log2f_compat.c: Likewise.
32685 * math/w_log2l_compat.c: Likewise.
32686 * math/w_log_compat.c: Likewise.
32687 * math/w_logf_compat.c: Likewise.
32688 * math/w_logl_compat.c: Likewise.
32689 * math/w_pow_compat.c: Likewise.
32690 * math/w_powf_compat.c: Likewise.
32691 * math/w_powl_compat.c: Likewise.
32692 * math/w_remainder_compat.c: Likewise.
32693 * math/w_remainderf_compat.c: Likewise.
32694 * math/w_remainderl_compat.c: Likewise.
32695 * math/w_scalb_compat.c: Likewise.
32696 * math/w_scalbf_compat.c: Likewise.
32697 * math/w_scalbl_compat.c: Likewise.
32698 * math/w_sinh_compat.c: Likewise.
32699 * math/w_sinhf_compat.c: Likewise.
32700 * math/w_sinhl_compat.c: Likewise.
32701 * math/w_sqrt_compat.c: Likewise.
32702 * math/w_sqrtf_compat.c: Likewise.
32703 * math/w_sqrtl_compat.c: Likewise.
32704 * math/w_tgamma_compat.c: Likewise.
32705 * math/w_tgammaf_compat.c: Likewise.
32706 * math/w_tgammal_compat.c: Likewise.
32707 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
32708 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
32709 * sysdeps/ieee754/k_standard.c: Likewise.
32710 * sysdeps/ieee754/k_standardf.c: Likewise.
32711 * sysdeps/ieee754/k_standardl.c: Likewise.
32712 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
32713 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
32714 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
32715 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
32716 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
32717 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
32718 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
32719 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
32720 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
32721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
32722 Likewise.
32723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
32724 Likewise.
32725 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
32726 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
32727 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
32728 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
32729
4504783c
FW
327302017-08-21 Florian Weimer <fweimer@redhat.com>
32731
32732 [BZ #21864]
32733 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
32734 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
32735 Move before inclusion of ../Rules.
32736
b5889d25
FW
327372017-08-21 Florian Weimer <fweimer@redhat.com>
32738
32739 [BZ #21972]
32740 * assert/assert.h (assert): Use static_cast (bool) for C++.
32741 Use the ternary operator in the warning branch for GNU C.
32742 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
32743 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
32744 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
32745 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
32746 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
32747
41e673c1
L
327482017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32749
32750 [BZ #18822]
32751 * sysdeps/unix/sysv/linux/x86_64/init-first.c
32752 (__syscall_clock_gettime): Add attribute_hidden.
32753 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
32754 (__start_context): Likewise.
32755
568ff429
L
327562017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32757
32758 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32759 building libc.a.
32760 (hidden_proto): Likewise.
32761 (hidden_tls_proto): Likewise.
32762 (__hidden_proto): Likewise.
32763
7c41b4a1
L
327642017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32765
32766 * include/libc-symbols.h (attribute_hidden): Enable hidden
32767 visibility in libc.a compiled with PIE.
32768
483d7068
L
327692017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32770
32771 [BZ #18822]
32772 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
32773 Add attribute_hidden.
32774
327752017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32776
32777 [BZ #21864]
32778 * Makerules (all-nonlib): Add $(others-extras).
32779 * catgets/Makefile (others-extras): New.
32780 * elf/Makefile (others-extras): Likewise.
32781 * nss/Makefile (others-extras): Likewise.
32782
54e4b8f2
L
327832017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32784
32785 [BZ #18822]
32786 * csu/libc-start.c (__libc_multiple_libcs): Removed.
32787 * elf/dl-open.c: Include <libc-internal.h>.
32788 (__libc_multiple_libcs): Removed.
32789 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
32790 <hp-timing.h>.
32791 * include/libc-internal.h (__libc_multiple_libcs): New.
32792 * misc/sbrk.c: Include <libc-internal.h>.
32793 (__libc_multiple_libcs): Removed.
32794
1dbbb1ec
L
327952017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32796
32797 [BZ #18822]
32798 * grp/initgroups.c (__nss_group_database): Removed.
32799 (__nss_initgroups_database): Likewise.
32800 * nscd/gai.c (__nss_hosts_database): Likewise.
32801 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
32802 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
32803 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
32804 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
32805 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
32806 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
32807 attribute_hidden.
32808 * nss/nsswitch.c (__nss_database_custom): Define only if
32809 USE_NSCD is defined.
32810 (__nss_configure_lookup): Use __nss_database_custom only if
32811 USE_NSCD is defined.
32812 * nss/nsswitch.h (__nss_database_custom): Declare only if
32813 USE_NSCD is defined. Add attribute_hidden.
32814 (__nss_setent): Add attribute_hidden.
32815 (__nss_endent): Likewise.
32816 (__nss_getent_r): Likewise.
32817 (__nss_getent): Likewise.
32818 (DEFINE_DATABASE): Declare __nss_##arg##_database.
32819
2585d7b8
L
328202017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32821
32822 [BZ #18822]
32823 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
32824 libc_hidden_proto and libc_hidden_def.
32825
c8dfa99c
L
328262017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32827
32828 [BZ #18822]
32829 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
32830 Add libc_hidden_proto.
32831 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
32832 Add libc_hidden_def.
32833
7ed87317
L
328342017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32835
32836 [BZ #21974]
32837 * gmon/Makefile (routines): Remove bb_init_func and
32838 bb_exit_func.
32839 (elide-routines.os): Removed.
9476b904
L
32840 * gmon/bb_exit_func.c: Likewise.
32841 * gmon/bb_init_func.c: Likewise.
7ed87317
L
32842 * include/sys/gmon.h (__bb): Likewise.
32843 (__bb_init_func): Likewise.
32844 (__bb_exit_func): Likewise.
91695eb1 32845 * sysdeps/alpha/bb_init_func.S: Likewise.
7ed87317 32846
94e6ba15
L
328472017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32848
32849 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
32850 * include/setjmp.h (____longjmp_chk): Here. Add
32851 attribute_hidden.
32852
7550717e
L
328532017-08-19 H.J. Lu <hongjiu.lu@intel.com>
32854
32855 [BZ #18822]
32856 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
32857 attribute_hidden.
32858 (__strspn_sse2): Likewise.
32859
0bb2fabc
AZ
328602017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32861
c181840c
AZ
32862 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
32863 (close_not_cancel_no_status): Likewise.
32864 (__close_nocancel): New macro.
32865 (__close_nocancel_nostatus): Likewise.
32866 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
32867 macro.
32868 (close_not_cancel): Likewise.
32869 (close_not_cancel_no_status): Likewise.
32870 (__close_nocancel): New prototype.
32871 (__close_nocancel_nostatus): New function.
32872 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
32873 * catgets/open_catalog.c (__open_catalog): Replace
32874 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
32875 * gmon/gmon.c (write_gmon): Likewise.
32876 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
32877 * intl/loadmsgcat.c (close): Likewise.
32878 * io/ftw.c (open_dir_stream): Likewise.
32879 (ftw_startup): Likewise.
32880 * libio/fileops.c (_IO_file_open): Likewise.
32881 (_IO_file_close_mmap): Likewise.
32882 (_IO_file_close): Likewise.
32883 * libio/iopopen.c (_IO_dup2): Likewise.
32884 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32885 * locale/loadlocale.c (_nl_load_locale): Likewise.
32886 * login/utmp_file.c (pututline_file): Likewise.
32887 (endutent_file): Likewise.
32888 * misc/daemon.c (daemon): Likewise.
32889 * nscd/nscd_getai.c (__nscd_getai): Likewise.
32890 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32891 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
32892 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
32893 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32894 * nscd/nscd_helper.c (open_socket): Likewise.
32895 (__nscd_open_socket): Likewise.
32896 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
32897 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
32898 (__nscd_innetgr): Likewise.
32899 * nss/nss_db/db-open.c (internal_setent): Likewise.
32900 * resolv/res-close.c (__res_iclose): Likewise.
32901 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
32902 * sysdeps/posix/closedir.c (__closedir): Likewise.
32903 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
32904 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32905 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
32906 (opendir_tail): Likewise.
32907 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32908 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
32909 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
32910 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
32911 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32912 (gethostid): Likewise.
32913 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32914 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32915 Likewise.
32916 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32917 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
32918 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32919 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32920 Likewise.
32921 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
32922 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
32923 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32924 Likewise.
32925 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
32926 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32927 Likewise.
32928 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32929 Likewise.
32930 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
32931 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32932 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32933 __close_nocancel.
32934
0bb2fabc
AZ
32935 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
32936 (openat_not_cancel_3): Likewise.
32937 (openat64_not_cancel_3): Likewise).
32938 (openat_not_cancel_3): Likewise).
32939 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
32940 macro.
32941 (openat_not_cancel_3): Likewise.
32942 (openat64_not_cancel): Likewise.
32943 (openat64_not_cancel_3): Likewise.
32944 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
32945 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
32946 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
32947 __open{64}_nocancel.
32948 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
32949 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32950 * sysdeps/posix/opendir.c (__opendirat): Likewise.
32951
65a086db
L
329522017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32953
32954 [BZ #18822]
32955 * include/argz.h (__argz_create_sep): New function prototype.
32956 (__argz_append): Likewise.
32957 (__argz_add): Likewise.
32958 (__argz_add_sep): Likewise.
32959 (__argz_delete): Likewise.
32960 (__argz_insert): Likewise.
32961 (__argz_replace): Likewise.
32962 * string/argz.h (__argz_create_sep): Removed.
32963 (__argz_append): Likewise.
32964 (__argz_add): Likewise.
32965 (__argz_add_sep): Likewise.
32966 (__argz_delete): Likewise.
32967 (__argz_insert): Likewise.
32968 (__argz_replace): Likewise.
32969
62753d2c
L
329702017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32971
32972 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
32973 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
32974 (GNU_PROPERTY_STACK_SIZE): Likewie.
32975 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
32976 (GNU_PROPERTY_LOPROC): Likewise.
32977 (GNU_PROPERTY_HIPROC): Likewise.
32978 (GNU_PROPERTY_LOUSER): Likewise.
32979 (GNU_PROPERTY_HIUSER): Likewise.
32980 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
32981 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
32982 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
32983 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
32984 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
32985 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
32986 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
32987 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
32988 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
32989 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
32990 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
32991 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
32992 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
32993 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
32994 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
32995 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
32996 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
32997 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
32998 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
32999 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
33000 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
33001 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
33002 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
33003
6913ad65
GG
330042017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33005
33006 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
33007 in C++ mode.
33008
47a67213
GG
330092017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33010
33011 [BZ #21930]
33012 * math/math.h (isinf): Check if in C or C++ mode before using
33013 __builtin_types_compatible_p, since this is a C mode feature.
33014
a748eb31
AZ
330152017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33016
c647fb88
AZ
33017 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
33018 (__write_nocancel): New macro.
33019 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
33020 Rewrite as a function prototype.
33021 (write_not_cancel): Remove macro.
33022 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
33023 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
33024 (write_gmon): Likewise.
33025 * libio/fileops.c (_IO_new_file_write): Likewise.
33026 * login/utmp_file.c (pututline_file): Likewise.
33027 (updwtmp_file): Likewise.
33028 * stdio-common/psiginfo.c (psiginfo): Likewise.
33029 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33030 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33031 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33032 Likewise.
33033 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33034 Likewise.
33035
a748eb31
AZ
33036 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
33037 (__read_nocancel): New macro.
33038 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33039 __read_nocancel.
33040 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
33041 macro.
33042 (__read_nocancel): New prototype.
33043 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
33044 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
33045 with __read_nocancel.
33046 * intl/loadmsgcat.c (read): Likewise.
33047 * libio/fileops.c (_IO_file_read): Likewise.
33048 * locale/loadlocale.c (_nl_load_locale): Likewise.
33049 * login/utmp_file.c (getutent_r_file): Likewise.
33050 (internal_getut_r): Likewise.
33051 (getutline_r_file): Likewise.
33052 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
33053 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
33054 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33055 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33056 Likewise.
33057 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
33058 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33059 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33060 Likewise.
33061 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33062 Likewise.
33063 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33064 Likewise.
33065 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33066 Likewise.
33067 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33068
098b9dd4
L
330692017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33070
33071 [BZ #21966]
33072 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
33073 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
33074 usable.
33075
a3fe6a20
DD
330762017-08-17 DJ Delorie <dj@redhat.com>
33077
33078 * bug17079.c: Update to new test harness.
33079 * test-digits-dots.c: Likewise.
33080 * test-netdb.c: Likewise.
33081 * tst-field.c: Likewise.
33082 * tst-nss-getpwent.c: Likewise.
33083 * tst-nss-static.c: Likewise.
33084 * tst-nss-test1.c: Likewise.
33085 * tst-nss-test2.c: Likewise.
33086 * tst-nss-test3.c: Likewise.
33087 * tst-nss-test4.c: Likewise.
33088 * tst-nss-test5.c: Likewise.
33089
c2284574
AZ
330902017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33091
33092 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
33093 (open_not_cancel_2): Likewise.
33094 (open_nocancel): New macro.
33095 (open64_nocancel): Likewise.
33096 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
33097 (open_not_cancel_2): Likewise.
33098 (__open_nocancel): New prototype.
33099 (__open64_nocancel): Likewise.
33100 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33101 __open_nocancel.
33102 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
33103 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
33104 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
33105 with __open_nocancel.
33106 * csu/check_fds.c (check_one_fd): Likewise.
33107 * gmon/gmon.c (write_gmon): Likewise.
33108 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
33109 * intl/loadmsgcat.c (open): Likewise.
33110 * libio/fileops.c (_IO_file_open): Likewise.
33111 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33112 * locale/loadlocale.c (_nl_load_locale): Likewise.
33113 * login/utmp_file.c (setutent_file): Likewise.
33114 * misc/daemon.c (daemon): Likewise.
33115 * nss/nss_db/db-open.c (internal_setent): Likewise.
33116 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33117 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
33118 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
33119 (__opendir): Likewise.
33120 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33121 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
33122 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33123 (gethostid): Likewise.
33124 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33125 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33126 Likewise.
33127 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33128 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
33129 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33130 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33131 Likewise.
33132 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33133 Likewise.
33134 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33135 Likewise.
33136 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
33137 Likewise.
33138 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33139 Likewise.
33140 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33141 Likewise.
33142 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
33143 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33144
d4505b89
WD
331452017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
33146
33147 * benchtests/bench-skeleton.c (main): Add support for
33148 latency benchmarking.
33149 * benchtests/scripts/bench.py: Add support for latency benchmarking.
33150
34d6a3cb
L
331512017-08-17 H.J. Lu <hongjiu.lu@intel.com>
33152
33153 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
33154 the startup object.
33155
038d1caf
FW
331562017-08-17 Florian Weimer <fweimer@redhat.com>
33157
33158 * include/sys/socket.h (__opensock): Remove internal_function.
33159 * socket/opensock.c (__opensock): Likewise.
33160 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
33161
67f0aff0
JM
331622017-08-16 Joseph Myers <joseph@codesourcery.com>
33163
33164 [BZ #21944]
33165 * signal/bits/types/__sigval_t.h: New file.
33166 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
33167 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
33168 and define sigval_t using __sigval_t.
33169 * include/bits/types/__sigval_t.h: New file.
33170 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
33171 instead of <bits/types/__sigval_t.h>.
33172 (struct sigevent): Use __sigval_t instead of sigval_t.
33173 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
33174 instead of <bits/types/__sigval_t.h>.
33175 (siginfo_t): Use __sigval_t instead of sigval_t.
33176 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
33177 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
33178 (struct sigevent): Use __sigval_t instead of sigval_t.
33179 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
33180 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
33181 (siginfo_t): Use __sigval_t instead of sigval_t.
33182 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
33183
87e7bf4d
L
331842017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33185
33186 * NEWS: Remove "[Add new features here]" for 2.27.
33187
5047057f
JM
331882017-08-16 Joseph Myers <joseph@codesourcery.com>
33189
33190 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
33191 libc.so.
33192
20c7b195
L
331932017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33194
33195 * NEWS: Mention x86-64 FMA optimization.
33196
24a2e658
L
331972017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33198
33199 [BZ #21912]
33200 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33201 Add e_expf-fma.
33202 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
33203 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
33204 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
33205
eedca977
AS
332062017-08-16 Andreas Schwab <schwab@suse.de>
33207
403143e1
FW
33208 [BZ #16750]
33209 CVE-2009-5064
eedca977
AS
33210 * elf/ldd.bash.in: Never run file directly.
33211
f59f7adb
L
332122017-08-15 H.J. Lu <hongjiu.lu@intel.com>
33213
33214 [BZ #21955]
33215 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
33216 (L(SP_INF_0)): Likewise.
33217
6b11a6ad
FW
332182017-08-15 Florian Weimer <fweimer@redhat.com>
33219
33220 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
33221 run-built-tests.
33222
bbf5c438
FW
332232017-08-15 Florian Weimer <fweimer@redhat.com>
33224
33225 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
33226 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
33227 BROKEN_THREAD_SIGNALS code.
33228 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
33229 request_list): Remove caller_pid member used for
33230 BROKEN_THREAD_SIGNALS.
33231 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
33232 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
33233 Remove BROKEN_THREAD_SIGNALS support.
33234 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
33235 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
33236
6014c65d
FW
332372017-08-15 Florian Weimer <fweimer@redhat.com>
33238
33239 * gmon/Makefile (tests): Add tst-gmon.
33240 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
33241 Set.
33242 (tests-special): Add tst-gmon-prof.out.
33243 (tst-gmon.out): Depend on clean-tst-gmon-data.
33244 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
33245 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
33246 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
33247 startup object.
33248 * aclocal.m4 (GPROF): Set and substitute.
33249 * config.amke.in (GPROF): Set.
33250 * configure: Regenerate.
33251
ee72219a
GR
332522017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
33253
33254 * elf/elf.h A (NT_PPC_TAR): New macro.
33255 (NT_PPC_PPR): Likewise.
33256 (NT_PPC_DSCR): Likewise.
33257 (NT_PPC_EBB): Likewise.
33258 (NT_PPC_PMU): Likewise.
33259 (NT_PPC_TM_CGPR): Likewise.
33260 (NT_PPC_TM_CFPR): Likewise.
33261 (NT_PPC_TM_CVMX): Likewise.
33262 (NT_PPC_TM_CVSX): Likewise.
33263 (NT_PPC_TM_SPR): Likewise.
33264 (NT_PPC_TM_CTAR): Likewise.
33265 (NT_PPC_TM_CPPR): Likewise.
33266 (NT_PPC_TM_CDSCR): Likewise.
33267
4ebf934e
FW
332682017-08-15 Florian Weimer <fweimer@redhat.com>
33269
33270 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
33271 regparm (2) instead of internal_function.
33272 (_MCOUNT_DECL): Adjust.
33273
e9f57484
SL
332742017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
33275
33276 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
33277 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
33278
88ff4d55
JM
332792017-08-14 Joseph Myers <joseph@codesourcery.com>
33280
33281 * conform/data/sys/wait.h-data (si_value): Do not expect for
33282 XPG42.
33283
c88ffc23
FW
332842017-08-14 Florian Weimer <fweimer@redhat.com>
33285
33286 [BZ #21962]
33287 NSS: Create stubs for accidentally exported lookup functions.
33288 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
33289 Remove declaration.
33290 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
33291 (ether_hostton): Call __nss_ethers_lookup2 instead.
33292 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
33293 (ether_ntohost): Call __nss_ethers_lookup2 instead.
33294 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
33295 (setup): Call __nss_netgroup_lookup2 instead.
33296 * nss/Makefile (routines): Add compat-lookup.
33297 * nss/Versions (GLIBC_2.27): Add symbol version.
33298 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
33299 (DB_COMPAT_FCT): Remove.
33300 * nss/compat-lookup.c: New file.
33301 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
33302 from databases.def.
33303 * nss/service-lookup.c (NO_COMPAT): Remove definition.
33304 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
33305 (netname2user): Call __nss_publickey_lookup2 instead.
33306 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
33307 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
33308 instead.
33309
35a29136 333102017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1f14d0c3
AZ
33311 Sergei Trofimovich <slyfox@inbox.ru>
33312
33313 [BZ #21908]
33314 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
33315 Rename to MMAP2_PAGE_UNIT.
33316 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
33317 __OFF_T_MATCHES_OFF64_T is not defined.
33318 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
33319 uint64_t.
33320 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
33321 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
33322
fbdc1e3e
FW
333232017-08-14 Florian Weimer <fweimer@redhat.com>
33324
33325 i386: Do not set internal_function.
33326 * config.h.in (USE_REGPARMS, internal_function): Remove.
33327 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
33328 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
33329
b3f85fd2
FW
333302017-08-14 Florian Weimer <fweimer@redhat.com>
33331
33332 * elf/dl-init.c (_dl_init): Remove internal_function.
33333 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
33334 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
33335
630bf491
FW
333362017-08-14 Florian Weimer <fweimer@redhat.com>
33337
33338 * elf/rtld.c (_dl_start): Remove internal_function.
33339 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
33340 _dl_start.
33341
9fa7449b
FW
333422017-08-14 Florian Weimer <fweimer@redhat.com>
33343
33344 * elf/dl-fini.c (_dl_fini): Remove internal_function
33345 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
33346
73322d5f
L
333472017-08-14 H.J. Lu <hongjiu.lu@intel.com>
33348
d863cd71 33349 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
73322d5f
L
33350 (bit_cpu_SHSTK): Likewise.
33351 (index_cpu_IBT): Likewise.
33352 (index_cpu_SHSTK): Likewise.
33353 (reg_IBT): Likewise.
33354 (reg_SHSTK): Likewise.
33355 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
33356 Handle index_cpu_IBT and index_cpu_SHSTK.
33357
dbc303ef
MF
333582017-08-14 Mike FABIAN <mfabian@redhat.com>
33359
33360 [BZ #19982]
33361 * po/fr.po: Fix spelling mistake.
33362
3012cfb0
FW
333632017-08-13 Florian Weimer <fweimer@redhat.com>
33364
33365 * elf/dl-addr.c (_dl_addr): Remove internal_function.
33366 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
33367 (_dl_catch_error, _dl_receive_error): Likewise.
33368 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
33369 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
33370 (_dl_deallocate_tls): Likewise.
33371 * include/dlfcn.h (_dl_addr): Likewise.
33372 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
33373 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
33374 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
33375 Likewise.
33376
52bcdf26
FW
333772017-08-13 Florian Weimer <fweimer@redhat.com>
33378
33379 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
33380 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
33381 internal_function.
33382 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
33383
e1d2ae8d
FW
333842017-08-13 Florian Weimer <fweimer@redhat.com>
33385
33386 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
33387 internal_function.
33388 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
33389 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
33390 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
33391 internal_function from _dl_make_stack_executable_hook member.
33392 (_dl_make_stack_executable): Remove internal_function.
33393 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
33394 Likewise.
33395 * sysdeps/unix/sysv/linux/dl-execstack.c
33396 (_dl_make_stack_executable): Likewise.
33397
c4ce0382
FW
333982017-08-13 Florian Weimer <fweimer@redhat.com>
33399
33400 * sysdeps/unix/sysv/linux/netlinkaccess.h
33401 (__netlink_assert_response): Remove internal_function.
33402 * sysdeps/unix/sysv/linux/netlink_assert_response.c
33403 (__netlink_assert_response): Likewise.
33404
c4d767f7
FW
334052017-08-13 Florian Weimer <fweimer@redhat.com>
33406
33407 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
33408 internal_function.
33409 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
33410
b2297409
FW
334112017-08-13 Florian Weimer <fweimer@redhat.com>
33412
33413 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
33414 internal_function.
33415 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
33416 * inet/netgroup.h (__internal_setnetgrent)
33417 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
33418 * inet/getnetgrent_r.c (__internal_setnetgrent)
33419 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
33420 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
33421 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
33422 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
33423 * nss/nsswitch.h (db_lookup_function): Likewise.
33424
1b0bfc69
FW
334252017-08-13 Florian Weimer <fweimer@redhat.com>
33426
33427 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
33428 Remove internal_function.
33429 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
33430 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
33431 message argument on the stack.
33432 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
33433 Likeweise.
33434
a6bd8722
MF
334352017-08-12 Mike FABIAN <mfabian@redhat.com>
33436
33437 Adapt test case data to the changes in the thousands
33438 separators.
33439
33440 [BZ #20756]
33441 * localedata/tst-langinfo.sh: Adapt test case data.
33442 * stdlib/tst-strfmon_l.c: Likewise.
33443 * stdlib/tst-strtod4.c: Likewise.
33444 * stdlib/tst-strtod5i.c: Likewise.
33445
8b2c63e4
FW
334462017-08-11 Florian Weimer <fweimer@redhat.com>
33447
33448 [BZ #21242]
33449 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
33450 Suppress pedantic warning resulting from statement expression.
33451 (__ASSERT_FUNCTION): Add missing __extension__.
33452
61c98291
SP
334532017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
33454
86c6519e
SP
33455 * benchtests/bench-memmove-large.c: Print output in JSON
33456 format.
33457 * benchtests/bench-memmove.c: Likewise.
33458
61c98291
SP
33459 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
33460 * benchtests/bench-memchr.c (do_one_test): Likewise.
33461 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
33462 * benchtests/bench-memcpy.c (do_one_test): Likewise.
33463 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
33464 * benchtests/bench-memmove.c (do_one_test): Likewise.
33465 * benchtests/bench-memset-large.c (do_one_test): Likewise.
33466 * benchtests/bench-memset.c (do_one_test): Likewise.
33467 * benchtests/bench-string.h (test_init): Remove memsets.
33468
925733a9
RJ
334692017-08-10 Rical Jasan <ricaljasan@pacific.net>
33470
33471 * manual/lang.texi
33472 (Computing the Width of an Integer Data Type): Rename section to
33473 "Width of an Integer Type". Remove inaccurate statement regarding
33474 lack of C language facilities for determining width of integer
33475 types, and reorder content to improve flow and context of
33476 discussion.
33477
4fcdfbfc
RJ
334782017-08-10 Rical Jasan <ricaljasan@pacific.net>
33479
33480 * lang.texi (va_copy): Change standard from ISO to C99.
33481 (__va_copy): Add standard and header annotation.
33482 Update description for clarity of origins and current use.
33483
4d98ace9
GG
334842017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33485
33486 [BZ #21941]
33487 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
33488 xssqrtqp requires operands to be in Vector Registers
33489 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
33490 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
33491 (__ieee754_sqrtf128): Likewise.
33492
92236903
WD
334932017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
33494
33495 * sysdeps/aarch64/memcmp.S (memcmp):
33496 Rewrite of optimized memcmp.
33497
2449ae7b
FW
334982017-08-10 Florian Weimer <fweimer@redhat.com>
33499
33500 Introduce ld.so exceptions.
33501 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
33502 (_dl_exception_create, _dl_exception_create_format)
33503 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
33504 (_dl_catch_exception): Declare.
33505 (_dl_catch_error): Update comment.
33506 * elf/dl-error-skeleton.c (struct catch): Replace objname,
33507 errstring, malloced members with exception member.
33508 (_dl_out_of_memory): Remove.
33509 (fatal_error): New function, extracted from _dl_signal_error.
33510 (_dl_signal_exception, _dl_signal_cexception): New functions.
33511 (_dl_signal_error): Call _dl_exception_create to allocate an
33512 exception object.
33513 (_dl_catch_exception): New function, based on _dl_catch_error.
33514 (_dl_catch_error): Implement using _dl_catch_exception.
33515 * elf/dl-exception.c: New file.
33516 * elf/Makefile (dl-routines): Add dl-exception.
33517 (elide-routines.os): Likewise.
33518 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
33519 _dl_exception_create_format, _dl_exception_free.
33520 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
33521 _dl_signal_exception.
33522 * elf/dl-lookup.c (make_string): Remove.
33523 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
33524 _dl_signal_cexception, _dl_exception_free.
33525 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
33526 _dl_signal_exception.
33527 * elf/dl-sym.c (do_sym): Likewise.
33528 * elf/dl-version.c (make_string): Remove.
33529 (match_symbol): Use _dl_exception_create_format,
33530 _dl_signal_cexception, _dl_exception_free.
33531 (_dl_check_map_versions): Likewise.
33532 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
33533 _dl_catch_exception.
33534 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
33535 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
33536 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
33537 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
33538 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
33539 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
33540 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
33541 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
33542 Likewise.
33543 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
33544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
33545 (ld.so): Likewise.
33546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
33547 (ld.so): Likewise.
33548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
33549 Likewise.
33550 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
33551 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
33552 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
33553 Likewise.
33554 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
33555 Likewise.
33556 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
33557
f87cc2bf
FW
335582017-08-10 Florian Weimer <fweimer@redhat.com>
33559
33560 * inet/net-internal.h (__inet6_scopeid_pton): Remove
33561 attribute_hidden, internal_function.
33562 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
33563 internal_function.
33564
eac43cbb
FW
335652017-08-10 Florian Weimer <fweimer@redhat.com>
33566
33567 * malloc/malloc.c (get_max_fast): Reimplement as an inline
33568 function which calls __builtin_unreachable.
33569
bd80111e
MF
335702017-08-10 Mike FABIAN <mfabian@redhat.com>
33571
33572 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
33573 Indian monetary formatting
33574 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
33575 test cases.
33576
60e2846e
DL
335772017-08-09 Dmitry V. Levin <ldv@altlinux.org>
33578
68dc02d1
DL
33579 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
33580 Fix typo in comment.
33581
60e2846e
DL
33582 [BZ #21928]
33583 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
33584 PTRACE_SEIZE_DEVEL): Remove.
33585 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
33586 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33587 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33588 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33589 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33590
3d452dab
JM
335912017-08-09 Joseph Myers <joseph@codesourcery.com>
33592
24d9f53a
JM
33593 * posix/bits/types.h (__qaddr_t): Remove.
33594
3d452dab
JM
33595 [BZ #21457]
33596 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
33597 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33598 __glibc_reserved1.
33599 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
33600 (ucontext_t): Use __ctx with uc_flags.
33601 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
33602 (__ctxt): Likewise.
33603 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33604 __glibc_reserved1.
33605 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
33606 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33607 __glibc_reserved1.
33608 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
33609 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33610 __glibc_reserved1.
33611 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
33612 macro.
33613 (ucontext_t): Use __ctx with uc_flags.
33614 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
33615 (ucontext_t): Use __ctx with uc_flags.
33616 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
33617 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
33618 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
33619 (ucontext_t): Use __ctx with uc_flags.
33620 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
33621 undefine further down.
33622 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33623 __glibc_reserved1.
33624 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
33625 undefine further down.
33626 (ucontext_t): Use __ctx with uc_flags.
33627 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
33628 undefine further down.
33629 (ucontext_t): Use __ctx with uc_flags.
33630 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
33631 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
33632 Rename uc_pad to __glibc_reserved1.
33633 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
33634 undefine further down.
33635 (ucontext_t): Use __ctx with uc_flags.
33636 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
33637 further down.
33638 (ucontext_t): Use __ctx with uc_flags.
33639 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
33640 __ctx with uc_flags.
33641 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
33642 (ucontext_t): Use __ctx with uc_flags.
33643 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
33644 __ctx with uc_flags.
33645
30161498
FW
336462017-08-09 Florian Weimer <fweimer@redhat.com>
33647
33648 [BZ #21932]
33649 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
33650 before early return.
33651
5797b410
AS
336522017-08-09 Andreas Schwab <schwab@suse.de>
33653
139237a4 33654 [BZ #21041]
5797b410
AS
33655 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
33656 renamed alias.
33657
139237a4 33658 [BZ #21041]
40c06a3d
AS
33659 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
33660 tst-compat-forwarder.
33661 (modules-names): Add tst-compat-forwarder-mod.
33662 ($(objpfx)tst-compat-forwarder): Depend on
33663 $(objpfx)tst-compat-forwarder-mod.so.
33664 * nptl/tst-compat-forwarder.c: New file.
33665 * nptl/tst-compat-forwarder-mod.c: New file.
33666
36ada5f6
SP
336672017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
33668
0e02b510
SP
33669 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
33670 comments.
33671
36ada5f6
SP
33672 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
33673 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
33674 memcpy_falkor.
33675 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
33676 Bump.
33677 (__libc_ifunc_impl_list): Add __memcpy_falkor.
33678 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
33679 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
33680 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
33681 Add falkor.
33682 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
33683 New macro.
33684
9995c839
AZ
336852017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33686
33687 [BZ #759]
33688 * manual/setjmp.texi (getcontex): Document uc_stack value
33689 compatibility differences.
33690
f17a4233
JM
336912017-08-08 Joseph Myers <joseph@codesourcery.com>
33692
33693 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
33694 (old_malloc_hook): Likewise.
33695 (old_memalign_hook): Likewise.
33696 (old_realloc_hook): Likewise.
33697 (struct hdr): Likewise.
33698 (flood): Likewise.
33699 (freehook): Likewise.
33700 (mallochook): Likewise.
33701 (memalignhook): Likewise.
33702 (reallochook): Likewise.
33703 (mprobe): Likewise.
33704 * malloc/mtrace.c (mallwatch): Likewise.
33705 (tr_old_free_hook): Likewise.
33706 (tr_old_malloc_hook): Likewise.
33707 (tr_old_realloc_hook): Likewise.
33708 (tr_old_memalign_hook): Likewise.
33709 (tr_where): Likewise.
33710 (lock_and_info): Likewise.
33711 (tr_freehook): Likewise.
33712 (tr_mallochook): Likewise.
33713 (tr_reallochook): Likewise.
33714 (tr_memalignhook): Likewise.
33715 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
33716 * misc/mmap.c (__mmap): Likewise.
33717 * misc/mmap64.c (__mmap64): Likewise.
33718 * misc/mprotect.c (__mprotect): Likewise.
33719 * misc/msync.c (msync): Likewise.
33720 * misc/munmap.c (__munmap): Likewise.
33721 * posix/posix_madvise.c (posix_madvise): Likewise.
33722 * socket/send.c (__send): Likewise.
33723 * socket/sendto.c (__sendto): Likewise.
33724 * socket/setsockopt.c (__setsockopt): Likewise.
33725 * string/memcmp.c (__ptr_t): Remove macro.
33726 (MEMCMP): Use void * instead of ptr_t.
33727 * string/memrchr.c (__ptr_t): Remove macro.
33728 (__memrchr): Use void * instead of ptr_t.
33729 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
33730 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
33731 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
33732 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
33733 * sysdeps/mach/msync.c (msync): Likewise.
33734 * sysdeps/mach/munmap.c (__munmap): Likewise.
33735 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
33736 Likewise.
33737 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33738 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
33739 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
33740 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
33741 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
33742 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
33743 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
33744 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
33745 Likewise.
33746 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
33747 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
33748 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
33749 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
33750 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
33751 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
33752 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
33753 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
33754 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
33755 Likewise.
33756 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
33757 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
33758 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
33759 (MEMCMP): Use void * instead of ptr_t.
33760 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
33761 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
33762
0df595b2
FW
337632017-08-08 Florian Weimer <fweimer@redhat.com>
33764
33765 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
33766 return statement.
33767
086df229
L
337682017-08-08 H.J. Lu <hongjiu.lu@intel.com>
33769
33770 [BZ #21913]
33771 * csu/libc-tls.c: Include <startup.h> first.
33772 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
33773 * elf/dl-tunables.c: Include <startup.h> first.
33774 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
33775 * sysdeps/generic/startup.h: New file.
33776 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
33777 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
33778 (I386_USE_SYSENTER): New. Defined to 0.
33779
fc5ad702
AS
337802017-08-08 Andreas Schwab <schwab@suse.de>
33781
33782 [BZ #21041]
33783 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
33784 * nptl/pt-system.c (system): Likewise.
33785
852d6312
AZ
337862017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33787
33788 [BZ #21780]
33789 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
33790 EOPNOTSUPP.
33791 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
33792 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
33793 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
33794 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
33795 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
33796 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
33797 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
33798
8b164787
JM
337992017-08-07 Joseph Myers <joseph@codesourcery.com>
33800
cd65836b
JM
33801 [BZ #21899]
33802 * bits/sigaction.h (struct sigaction): Define sa_handler and
33803 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
33804 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33805 [__USE_XOPEN_EXTENDED].
33806 (SA_RESTART): Likewise.
33807 (SA_NODEFER): Likewise.
33808 (SA_RESETHAND): Likewise.
33809 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
33810 (struct sigaction): Define sa_handler and sa_sigaction using union
33811 also for [__USE_XOPEN_EXTENDED].
33812 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33813 [__USE_XOPEN_EXTENDED].
33814 (SA_RESTART): Likewise.
33815 (SA_NODEFER): Likewise.
33816 (SA_RESETHAND): Likewise.
33817 * sysdeps/unix/sysv/linux/bits/sigaction.h
33818 (struct sigaction): Define sa_handler and sa_sigaction using union
33819 also for [__USE_XOPEN_EXTENDED].
33820 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33821 [__USE_XOPEN_EXTENDED].
33822 (SA_RESTART): Likewise.
33823 (SA_NODEFER): Likewise.
33824 (SA_RESETHAND): Likewise.
33825 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
33826 (struct sigaction): Define sa_handler and sa_sigaction using union
33827 also for [__USE_XOPEN_EXTENDED].
33828 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33829 [__USE_XOPEN_EXTENDED].
33830 (SA_RESTART): Likewise.
33831 (SA_NODEFER): Likewise.
33832 (SA_RESETHAND): Likewise.
33833 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
33834 (struct sigaction): Define sa_handler and sa_sigaction using union
33835 also for [__USE_XOPEN_EXTENDED].
33836 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33837 [__USE_XOPEN_EXTENDED].
33838 (SA_RESTART): Likewise.
33839 (SA_NODEFER): Likewise.
33840 (SA_RESETHAND): Likewise.
33841 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
33842 (struct sigaction): Define sa_handler and sa_sigaction using union
33843 also for [__USE_XOPEN_EXTENDED].
33844 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33845 [__USE_XOPEN_EXTENDED].
33846 (SA_RESTART): Likewise.
33847 (SA_NODEFER): Likewise.
33848 (SA_RESETHAND): Likewise.
33849 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
33850 (struct sigaction): Define sa_handler and sa_sigaction using union
33851 also for [__USE_XOPEN_EXTENDED].
33852 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33853 [__USE_XOPEN_EXTENDED].
33854 (SA_RESTART): Likewise.
33855 (SA_NODEFER): Likewise.
33856 (SA_RESETHAND): Likewise.
33857 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
33858 (struct sigaction): Define sa_handler and sa_sigaction using union
33859 also for [__USE_XOPEN_EXTENDED].
33860 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33861 [__USE_XOPEN_EXTENDED].
33862 (SA_RESTART): Likewise.
33863 (SA_NODEFER): Likewise. Define directly rather than as alias.
33864 (SA_RESETHAND): Likewise.
33865 (SA_INTERRUPT): Define only for [__USE_MISC].
33866 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
33867 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
33868 [__USE_MISC].
33869 (SA_STACK): Define only for [__USE_MISC].
33870 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
33871 (struct sigaction): Define sa_handler and sa_sigaction using union
33872 also for [__USE_XOPEN_EXTENDED].
33873 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33874 [__USE_XOPEN_EXTENDED].
33875 (SA_RESTART): Likewise.
33876 (SA_NODEFER): Likewise.
33877 (SA_RESETHAND): Likewise.
33878 (SA_NOPTRACE): Define only for [__USE_MISC].
33879
d9fee042
JM
33880 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
33881 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
33882 (struct catalog_info): Likewise.
33883 * inet/htontest.c (lo): Likewise.
33884 (foo): Likewise.
33885 * inet/inet_lnaof.c (inet_lnaof): Likewise.
33886 * inet/inet_net.c (inet_network): Likewise.
33887 * inet/inet_netof.c (inet_netof): Likewise.
33888 * inet/rcmd.c (__ivaliduser): Likewise.
33889 (iruserok): Likewise.
33890 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
33891 * locale/programs/locale-spec.c (locale_special): Likewise.
33892 * nis/nis_findserv.c (struct findserv_req): Likewise.
33893 (__nis_findfastest_with_timeout): Likewise.
33894 * nss/test-netdb.c (test_network): Likewise.
33895 * resolv/inet_neta.c (inet_neta): Likewise.
33896 * resolv/ns_date.c (ns_datetosecs): Likewise.
33897 (SECS_PER_DAY): Likewise.
33898 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
33899 Likewise.
33900 * resolv/res_comp.c (__putlong): Likewise.
33901 (__putshort): Likewise.
33902 (_getlong): Likewise.
33903 (_getshort): Likewise.
33904 * resolv/res_debug.c (p_time): Likewise.
33905 (precsize_ntoa): Likewise.
33906 (precsize_aton): Likewise.
33907 (latlon2ul): Likewise.
33908 (loc_aton): Likewise.
33909 (loc_ntoa): Likewise.
33910 * resolv/res_hconf.c (struct netaddr): Likewise.
33911 (_res_hconf_reorder_addrs): Likewise.
33912 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
33913 (clnttcp_control): Likewise.
33914 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
33915 (clntudp_control): Likewise.
33916 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
33917 (clntunix_control): Likewise.
33918 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
33919 * sunrpc/rpc/auth.h (union des_block): Likewise.
33920 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
33921 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
33922 (xdrrec_create): Likewise.
33923 (xdrrec_endofrecord): Likewise.
33924 (flush_out): Likewise.
33925 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
33926 (xdrstdio_putlong): Likewise.
33927 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
33928 Likewise.
33929
8b164787
JM
33930 * misc/sys/cdefs.h (__long_double_t): Remove.
33931 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
33932 instead of __long_double_t,
33933 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
33934
7ee38e60
SP
339352017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
33936
dd3e86ad
SP
33937 * benchtests/scripts/compare_strings.py: Avoid display error when
33938 running on a text terminal.
33939
b115e819
SP
33940 * benchtests/scripts/compare_strings.py (main): Add an
33941 optional -base option.
33942 (process_results): New argument base_func.
33943
7ee38e60
SP
33944 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
33945 hardcoding memcpy.
33946 * benchtests/bench-memcpy-large.c (test_name): Likewise.
33947 * benchtests/bench-memcpy-random.c (test_name): Likewise.
33948
d5afb385
AS
339492017-08-07 Andreas Schwab <schwab@suse.de>
33950
33951 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
33952 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
33953 * intl/Makefile ($(objpfx)tst-gettext.out)
33954 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
33955 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
33956 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
33957 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
33958 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
33959 * posix/Makefile ($(objpfx)globtest.out)
33960 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
33961 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
33962 ($(objpfx)tst-printf.out): Likewise.
33963 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
33964 ($(objpfx)tst-setcontext3.out): Likewise.
33965
57a72fa3
L
339662017-08-07 H.J. Lu <hongjiu.lu@intel.com>
33967
33968 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33969 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
33970 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
33971 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
33972 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
33973 and mptan-fma.
33974 (CFLAGS-doasin-fma.c): New.
33975 (CFLAGS-dosincos-fma.c): Likewise.
33976 (CFLAGS-e_asin-fma.c): Likewise.
33977 (CFLAGS-e_atan2-fma.c): Likewise.
33978 (CFLAGS-e_exp-fma.c): Likewise.
33979 (CFLAGS-e_log-fma.c): Likewise.
33980 (CFLAGS-e_pow-fma.c): Likewise.
33981 (CFLAGS-halfulp-fma.c): Likewise.
33982 (CFLAGS-mpa-fma.c): Likewise.
33983 (CFLAGS-mpatan-fma.c): Likewise.
33984 (CFLAGS-mpatan2-fma.c): Likewise.
33985 (CFLAGS-mpexp-fma.c): Likewise.
33986 (CFLAGS-mplog-fma.c): Likewise.
33987 (CFLAGS-mpsqrt-fma.c): Likewise.
33988 (CFLAGS-mptan-fma.c): Likewise.
33989 (CFLAGS-s_atan-fma.c): Likewise.
33990 (CFLAGS-sincos32-fma.c): Likewise.
33991 (CFLAGS-slowexp-fma.c): Likewise.
33992 (CFLAGS-slowpow-fma.c): Likewise.
33993 (CFLAGS-s_sin-fma.c): Likewise.
33994 (CFLAGS-s_tan-fma.c): Likewise.
33995 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
33996 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
33997 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
33998 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
33999 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
34000 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
34001 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
34002 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
34003 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
34004 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
34005 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
34006 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
34007 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
34008 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
34009 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
34010 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
34011 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
34012 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
34013 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
34014 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
34015 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
34016 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
34017 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
34018 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
34019 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
34020 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34021 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34022 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
34023 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34024 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34025 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34026
219dd320
JM
340272017-08-04 Joseph Myers <joseph@codesourcery.com>
34028
34029 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
34030 (min_of_type_f): New macro.
34031 (min_of_type_): Likewise.
34032 (min_of_type_l): Likewise.
34033 (min_of_type_f128): Likewise.
34034 (min_of_type): Define using __MATH_TG and taking an expression
34035 argument.
34036 (math_check_force_underflow): Pass expression instead of type to
34037 min_of_type.
34038 (math_check_force_underflow_nonneg): Likewise.
34039
64d4dea6
L
340402017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34041
34042 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
34043 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
34044 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
34045
973da22a
L
340462017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34047
34048 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34049 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
34050 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
34051 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
34052 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
34053 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
34054 memcpy_chk-nonshared, mempcpy_chk-nonshared,
34055 memmove_chk-nonshared and memset_chk-nonshared
34056 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
34057 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
34058 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
34059 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
34060 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
34061 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
34062 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
34063 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
34064 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
34065 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
34066 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
34067 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
34068 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
34069 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
34070 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
34071 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
34072 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
34073 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
34074 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
34075 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
34076 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
34077 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
34078 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
34079 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
34080 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
34081 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
34082 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
34083 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
34084 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
34085 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
34086 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
34087 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
34088 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
34089 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
34090 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
34091 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
34092 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
34093 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
34094 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
34095 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
34096 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
34097 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
34098 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
34099 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
34100 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
34101 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
34102 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
34103 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
34104 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
34105 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
34106 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
34107 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
34108 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
34109 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
34110 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
34111 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
34112 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
34113 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
34114 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
34115 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
34116 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
34117 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
34118 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
34119 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
34120 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
34121 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
34122 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
34123 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
34124 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
34125 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
34126 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
34127 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34128 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34129 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34130 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34131 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34132 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34133 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34134 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34135 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34136 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34137 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34138 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34139 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34140 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
34141 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
34142 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34143 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
34144 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34145 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34146 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34147 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34148 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34149 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34150 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
34151 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
34152 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
34153 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
34154 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34155 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
34156 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34157 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34158 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34159 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34160 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34161 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34162 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34163 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34164
8537e0f6
L
341652017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34166
34167 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
34168 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
34169 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
34170 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
34171 svml_d_log2_core-sse2, svml_d_log4_core-sse,
34172 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
34173 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
34174 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
34175 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
34176 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
34177 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
34178 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
34179 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
34180 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
34181 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
34182 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
34183 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
34184 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
34185 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
34186 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
34187 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
34188 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
34189 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
34190 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
34191 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
34192 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
34193 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
34194 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
34195 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
34196 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
34197 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
34198 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
34199 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
34200 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
34201 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
34202 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
34203 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
34204 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
34205 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
34206 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
34207 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
34208 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
34209 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
34210 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
34211 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
34212 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
34213 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
34214 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
34215 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
34216 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
34217 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
34218 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
34219 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
34220 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
34221 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
34222 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
34223 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
34224 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
34225 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
34226 ...
34227 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
34228 Don't include <sysdep.h> nor <init-arch.h>.
34229 (_ZGVbN2v_cos): Removed.
34230 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
34231 ...
34232 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
34233 Don't include <sysdep.h> nor <init-arch.h>.
34234 (_ZGVdN4v_cos): Removed.
34235 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
34236 ...
34237 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
34238 Don't include <sysdep.h> nor <init-arch.h>.
34239 (_ZGVeN8v_cos): Removed.
34240 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
34241 ...
34242 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
34243 Don't include <sysdep.h> nor <init-arch.h>.
34244 (_ZGVbN2v_exp): Removed.
34245 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
34246 ...
34247 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
34248 Don't include <sysdep.h> nor <init-arch.h>.
34249 (_ZGVdN4v_exp): Removed.
34250 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
34251 ...
34252 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
34253 Don't include <sysdep.h> nor <init-arch.h>.
34254 (_ZGVeN8v_exp): Removed.
34255 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
34256 ...
34257 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
34258 Don't include <sysdep.h> nor <init-arch.h>.
34259 (_ZGVbN2v_log): Removed.
34260 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
34261 ...
34262 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
34263 Don't include <sysdep.h> nor <init-arch.h>.
34264 (_ZGVdN4v_log): Removed.
34265 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
34266 ...
34267 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
34268 Don't include <sysdep.h> nor <init-arch.h>.
34269 (_ZGVeN8v_log): Removed.
34270 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
34271 ...
34272 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
34273 Don't include <sysdep.h> nor <init-arch.h>.
34274 (_ZGVbN2vv_pow): Removed.
34275 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
34276 ...
34277 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
34278 Don't include <sysdep.h> nor <init-arch.h>.
34279 (_ZGVdN4vv_pow): Removed.
34280 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
34281 ...
34282 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
34283 Don't include <sysdep.h> nor <init-arch.h>.
34284 (_ZGVeN8vv_pow): Removed.
34285 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
34286 ...
34287 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
34288 Don't include <sysdep.h> nor <init-arch.h>.
34289 (_ZGVbN2v_sin): Removed.
34290 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
34291 ...
34292 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
34293 Don't include <sysdep.h> nor <init-arch.h>.
34294 (_ZGVbN4v_sin): Removed.
34295 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
34296 ...
34297 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
34298 Don't include <sysdep.h> nor <init-arch.h>.
34299 (_ZGVbN8v_sin): Removed.
34300 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
34301 ...
34302 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
34303 Don't include <sysdep.h> nor <init-arch.h>.
34304 (_ZGVbN2vvv_sincos): Removed.
34305 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
34306 ...
34307 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
34308 Don't include <sysdep.h> nor <init-arch.h>.
34309 (_ZGVdN4vvv_sincos): Removed.
34310 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
34311 ...
34312 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
34313 Don't include <sysdep.h> nor <init-arch.h>.
34314 (_ZGVeN8vvv_sincos): Removed.
34315 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
34316 ...
34317 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
34318 Don't include <sysdep.h> nor <init-arch.h>.
34319 (_ZGVeN16v_cosf): Removed.
34320 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
34321 ...
34322 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
34323 Don't include <sysdep.h> nor <init-arch.h>.
34324 (_ZGVbN4v_cosf): Removed.
34325 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
34326 ...
34327 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
34328 Don't include <sysdep.h> nor <init-arch.h>.
34329 (_ZGVdN8v_cosf): Removed.
34330 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
34331 ...
34332 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
34333 Don't include <sysdep.h> nor <init-arch.h>.
34334 (_ZGVeN16v_expf): Removed.
34335 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
34336 ...
34337 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
34338 Don't include <sysdep.h> nor <init-arch.h>.
34339 (_ZGVbN4v_expf): Removed.
34340 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
34341 ...
34342 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
34343 Don't include <sysdep.h> nor <init-arch.h>.
34344 (_ZGVdN8v_expf): Removed.
34345 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
34346 ...
34347 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
34348 Don't include <sysdep.h> nor <init-arch.h>.
34349 (_ZGVeN16v_logf): Removed.
34350 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
34351 ...
34352 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
34353 Don't include <sysdep.h> nor <init-arch.h>.
34354 (_ZGVbN4v_logf): Removed.
34355 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
34356 ...
34357 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
34358 Don't include <sysdep.h> nor <init-arch.h>.
34359 (_ZGVdN8v_logf): Removed.
34360 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
34361 ...
34362 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
34363 Don't include <sysdep.h> nor <init-arch.h>.
34364 (_ZGVeN16vv_powf): Removed.
34365 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
34366 ...
34367 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
34368 Don't include <sysdep.h> nor <init-arch.h>.
34369 (_ZGVbN4vv_powf): Removed.
34370 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
34371 ...
34372 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
34373 Don't include <sysdep.h> nor <init-arch.h>.
34374 (_ZGVdN8vv_powf): Removed.
34375 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
34376 ...
34377 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
34378 Don't include <sysdep.h> nor <init-arch.h>.
34379 (_ZGVeN16vvv_sincosf): Removed.
34380 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
34381 ...
34382 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
34383 Don't include <sysdep.h> nor <init-arch.h>.
34384 (_ZGVbN4vvv_sincosf): Removed.
34385 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
34386 ...
34387 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
34388 Don't include <sysdep.h> nor <init-arch.h>.
34389 (_ZGVdN8vvv_sincosf): Removed.
34390 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
34391 ...
34392 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
34393 Don't include <sysdep.h> nor <init-arch.h>.
34394 (_ZGVeN16v_sinf): Removed.
34395 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
34396 ...
34397 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
34398 Don't include <sysdep.h> nor <init-arch.h>.
34399 (_ZGVbN4v_sinf): Removed.
34400 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
34401 ...
34402 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
34403 Don't include <sysdep.h> nor <init-arch.h>.
34404 (_ZGVdN8v_sinf): Removed.
34405
10a87ca4
L
344062017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34407
34408 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34409 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
34410 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
34411 s_rint-sse4_1 and s_rintf-sse4_1.
34412 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
34413 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
34414 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
34415 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
34416 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
34417 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
34418 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
34419 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
34420 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
34421 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
34422 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
34423 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34424 (__ceil): Removed.
34425 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
34426 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
34427 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34428 (__ceilf): Removed.
34429 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
34430 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
34431 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34432 (__floor): Removed.
34433 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
34434 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
34435 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34436 (__floorf): Removed.
34437 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
34438 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
34439 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34440 (__nearbyint): Removed.
34441 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
34442 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
34443 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34444 (__nearbyintf): Removed.
34445 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
34446 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
34447 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34448 (__rint): Removed.
34449 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
34450 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
34451 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34452 (__rintf): Removed.
34453
1e8e527d
L
344542017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34455
34456 * sysdeps/i386/start.S (_start): Check Check PIC instead of
34457 SHARED. Avoid dynamic relocation against main in static PIE.
34458
e13daad7
L
344592017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34460
34461 [BZ #21815]
34462 * elf/Makefile (CFLAGS-tst-prelink.c): New.
34463 (LDFLAGS-tst-prelink): Likewise.
34464
627c69c8
L
344652017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34466
34467 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
34468 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
34469 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
34470 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
34471 (INTERNAL_SYSCALL_NCS): Likewise.
34472 (LOADARGS_1): Likewise.
34473 (LOADARGS_5): Likewise.
34474 (RESTOREARGS_1): Likewise.
34475 (RESTOREARGS_5): Likewise.
34476
fc11ff8d
L
344772017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34478
34479 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
34480 (MEMPCPY_SYMBOL): Likewise.
34481 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
34482 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
34483 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
34484 in libc.a.
34485 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34486 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
34487 Likewise.
34488 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
34489 (__hidden_ver1): Don't use in libc.a.
34490 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
34491 (__mempcpy): Don't create a weak alias in libc.a.
34492 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
34493 libc.a.
34494 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
34495 (__hidden_ver1): Don't use in libc.a.
34496
19f1a11e
L
344972017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34498
34499 * config.make.in (have-insert): New.
34500 * configure.ac (libc_cv_insert): New. Set to yes if linker
34501 supports INSERT in linker script.
34502 (AC_SUBST(libc_cv_insert): New.
34503 * configure: Regenerated.
34504 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
34505 if $(have-insert) == yes.
34506
3093fd5e
L
345072017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34508
34509 * elf/Makefile (tests): Add vismain only if
34510 $(have-protected-data) == yes.
34511 (tests-pie): Likewise.
34512
d2cf37c0
L
345132017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34514
34515 [BZ #21871]
34516 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
34517 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
34518
c8a0e6ec
L
345192017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34520
34521 [BZ #21790]
34522 * sysdeps/i386/i586/memset.S
34523 (__memset_zero_constant_len_parameter): Removed.
34524 * sysdeps/i386/i686/memset.S
34525 (__memset_zero_constant_len_parameter): Likewise.
34526 * sysdeps/i386/i686/multiarch/memset_chk.S
34527 (__memset_zero_constant_len_parameter): Likewise.
34528 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
34529 Likewise.
34530
2b34e271
AJ
345312017-08-03 Aurelien Jarno <aurelien@aurel32.net>
34532
34533 * stdlib/getentropy.c (getentropy): Change return type to int.
34534
144bdab0
AJ
345352017-08-03 Aurelien Jarno <aurelien@aurel32.net>
34536
34537 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
34538
24ab7723
JM
345392017-08-03 Joseph Myers <joseph@codesourcery.com>
34540
34541 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
34542 u_intN_t.
34543 * math/s_nexttowardf.c (__nexttowardf): Likewise.
34544 * sysdeps/generic/math_private.h (ieee_double_shape_type):
34545 Likewise.
34546 (ieee_float_shape_type): Likewise.
34547 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
34548 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
34549 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
34550 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34551 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
34552 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
34553 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
34554 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
34555 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
34556 Likewise.
34557 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
34558 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
34559 (__ieee754_yn): Likewise.
34560 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
34561 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
34562 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
34563 Likewise.
34564 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
34565 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
34566 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
34567 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
34568 (__erfc): Likewise.
34569 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
34570 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
34571 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
34572 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
34573 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
34574 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
34575 Likewise.
34576 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
34577 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
34578 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
34579 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
34580 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
34581 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
34582 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
34583 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
34584 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
34585 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
34586 (__issignaling): Likewise.
34587 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
34588 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
34589 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
34590 Likewise.
34591 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
34592 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
34593 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
34594 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
34595 Likewise.
34596 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
34597 Likewise.
34598 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
34599 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
34600 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
34601 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
34602 (__erfcf): Likewise.
34603 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
34604 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
34605 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
34606 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
34607 Likewise.
34608 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
34609 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
34610 Likewise.
34611 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
34612 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
34613 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
34614 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
34615 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
34616 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
34617 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
34618 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
34619 Likewise.
34620 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
34621 Likewise.
34622 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
34623 Likewise.
34624 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
34625 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
34626 Likewise.
34627 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
34628 Likewise.
34629 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34630 (__ieee754_ynl): Likewise.
34631 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
34632 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
34633 Likewise.
34634 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
34635 Likewise.
34636 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
34637 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
34638 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34639 Likewise.
34640 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
34641 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
34642 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
34643 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
34644 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
34645 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
34646 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
34647 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
34648 Likewise.
34649 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
34650 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
34651 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
34652 Likewise.
34653 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
34654 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
34655 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
34656 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
34657 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
34658 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
34659 Likewise.
34660 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
34661 Likewise.
34662 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34663 Likewise.
34664 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34665 Likewise.
34666 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
34667 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
34668 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34669 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
34670 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
34671 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
34672 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
34673 Likewise.
34674 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
34675 Likewise.
34676 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
34677 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34678 Likewise.
34679 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
34680 (__ieee754_remainderl): Likewise.
34681 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34682 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34683 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
34684 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
34685 Likewise.
34686 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
34687 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34688 Likewise.
34689 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
34690 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
34691 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
34692 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
34693 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
34694 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
34695 Likewise.
34696 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
34697 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
34698 (__ieee754_y0l): Likewise.
34699 (pzero): Likewise.
34700 (qzero): Likewise.
34701 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
34702 (__ieee754_y1l): Likewise.
34703 (pone): Likewise.
34704 (qone): Likewise.
34705 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34706 (__ieee754_ynl): Likewise.
34707 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
34708 (__ieee754_lgammal_r): Likewise.
34709 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
34710 Likewise.
34711 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
34712 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
34713 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
34714 (__erfcl): Likewise.
34715 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
34716 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
34717 Likewise.
34718 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
34719 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
34720 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
34721 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
34722 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
34723 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34724 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34725 Likewise.
34726 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
34727 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
34728 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
34729 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
34730 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34731 Likewise.
34732 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
34733 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
34734 Likewise.
34735 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
34736 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
34737 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
34738 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
34739 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
34740
964263bb
FW
347412017-08-03 Florian Weimer <fweimer@redhat.com>
34742
34743 [BZ #21885]
34744 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
34745 on memory allocation failure.
34746
e98c925f
AM
347472017-08-03 Alan Modra <amodra@gmail.com>
34748
34749 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
34750 tst-tlsopt-powerpc.c with function name change and no test harness.
34751 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
34752 Call tls_get_addr_opt_test.
34753 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
34754 (modules-names): Add mod-tlsopt-powerpc.
34755 (mod-tlsopt-powerpc.so-no-z-defs): Define.
34756 (tst-tlsopt-powerpc): Depend on .so.
34757 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
34758 define. Expand use in TLS_GD and TLS_LD.
34759
8ee1abdb
ST
347602017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
34761
34762 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
34763 function.
3da5756e 34764 * sysdeps/posix/shm_open.c: Include <pthread.h>.
8ee1abdb 34765
42df8d59
JM
347662017-08-02 Joseph Myers <joseph@codesourcery.com>
34767
34768 [BZ #21686]
34769 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
34770 comparing size with that of double.
34771 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
34772 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
34773 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
34774 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
34775 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34776 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
34777 unsigned __int128 types.
34778
b7f95f49
SE
347792017-08-02 Steve Ellcey <sellcey@cavium.com>
34780
34781 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
34782 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
34783 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
34784 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
34785 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
34786
5b736bc9
L
347872017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34788
34789 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
34790
dfc93c41
L
347912017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34792
34793 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
34794 of SHARED.
34795 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
34796 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34797 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34798 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34799 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34800 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34801 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34802
2fee621d
JM
348032017-08-02 Joseph Myers <joseph@codesourcery.com>
34804
34805 [BZ #21685]
34806 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
34807 bit-field expressions passed to sizeof or typeof.
34808 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34809 (__TGMATH_F128): Likewise.
34810 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34811 (__TGMATH_CF128): Likewise.
34812 (__TGMATH_UNARY_REAL_ONLY): Likewise.
34813 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
34814 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
34815 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
34816 (__TGMATH_BINARY_REAL_ONLY): Likewise.
34817 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
34818 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
34819 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
34820 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
34821 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
34822 (__TGMATH_UNARY_REAL_IMAG): Likewise.
34823 (__TGMATH_UNARY_IMAG): Likewise.
34824 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
34825 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34826 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
34827 type.
34828 (define_vars_for_type): Handle bit_field type specially.
34829 (Tests.__init__): Declare structure with bit-field element.
34830
b358255f
L
348312017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34832
34833 [BZ #21791]
34834 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
34835 (MEMCPY_CHK): Define only if SHARED is defined.
34836 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
34837 Likewise.
34838 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
34839 Likewise.
edf66db1
SP
34840
34841See ChangeLog.18 for earlier changes.