]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Add INADDR_ALLSNOOPERS_GROUP from Linux 5.1 to netinet/in.h.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
dc91a19e
JM
12019-06-03 Joseph Myers <joseph@codesourcery.com>
2
3 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
4
6a1a9a49 52019-06-01 Florian Weimer <fweimer@redhat.com>
6b33f373
FW
6
7 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
8 * sysdeps/unix/sysv/linux/arm/Makefile
9 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
10 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
11 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
12 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
13 compatibility symbols.
14
0bb8f8c7
FW
152019-05-31 Florian Weimer <fweimer@redhat.com>
16
17 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
18 system calls for the arm architecture: breakpoint, get_tls,
19 set_tls, usr26, usr32.
20
9250e661
GG
212019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
22
23 * sysdeps/powerpc/Makefile
24 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
25 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
26 Declare '.machine power7' to get support for ldbrx.
27 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
28 directive based on the directory of the file.
29 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
30 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
31 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
32 '.machine' directive.
33 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
34 (VADDUQM_V7_V8): Remove.
35 (__STRCASECMP): Replace macros with actual instructions.
36 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
37 '.machine' directive.
38 (VCLZD_V8_v7): Remove.
39 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
40
fbd6c928
AZ
412019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
42
43 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
44 Remove file.
45 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
46
e47308c9
AZ
472019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
48
49 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
50 NEARBYINT handling.
51 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
52 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
53 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
54 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
55 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
56 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
57
157cda1f 582019-05-28 mansayk <6688000@gmail.com>
59
60 [BZ #24370]
61 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
62
182a3746 632019-05-28 mansayk <6688000@gmail.com>
64
65 [BZ #24369]
66 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
67 (abmon): Likewise, but remove the trailing dots.
68
c6df1ce3
JM
692019-05-28 Joseph Myers <joseph@codesourcery.com>
70
71 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
72
85188d82
FW
732019-05-27 Florian Weimer <fweimer@redhat.com>
74
75 * nptl/nptl-init.c: Add comment.
76
5c23c821
FW
772019-05-24 Florian Weimer <fweimer@redhat.com>
78
79 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
80 struct in_addr/struct in6_addr alignment.
81
bee1f2c4
JM
822019-05-23 Joseph Myers <joseph@codesourcery.com>
83
84 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
85 (F_SEAL_FUTURE_WRITE): New macro.
86
481c30cb
AH
872019-05-23 Alexandra Hajkova <ahajkova@redhat.com>
88
89 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
90 * elf/tst-ldconfig-bad-aux-cache.c: New file.
91 * elf/tst-ldconfig_aux-cache.root: New directory.
92 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
93 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
94 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
95
cb755eed
ZW
962019-05-22 Zack Weinberg <zackw@panix.com>
97
98 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
99 host type.
100 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
101 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
102
103 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
106 Delete.
107
108 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
109 Issue an #error if used with a compiler in SPE-float mode.
110 * sysdeps/powerpc/powerpc32/__longjmp_common.S
111 * sysdeps/powerpc/powerpc32/setjmp_common.S
112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
118 Remove code to preserve SPE register state.
119
120 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
121 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
122 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
123 Remove __SPE__ ifndefs.
124
46ae0732
WD
1252019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
126
127 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
128 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
129 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
130 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
131 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
132 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
133 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
134 (INNER_LOOP_ITERS_MEDIUM): New define.
135 (INNER_LOOP_ITERS_SMALL): New define.
136 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
137 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
138 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
139 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
140 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
141
004e52fe
AZ
1422019-05-21 Adhemeval Zanella <adhemerval.zanella@linaro.org>
143
144 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
145 New define.
146 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
147 (SEMTIMEDOP_IPC_ARGS): Likewise.
148
c9c15ac3
FW
1492019-05-21 Florian Weimer <fweimer@redhat.com>
150
151 [BZ #24584]
152 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
153 before updating __counter field and release it afterwards. Add
154 overflow check.
155 * iconv/gconv.h (struct __gconv_step): Mention synchronization
156 requirement for __counter member.
157
7e740ab2
FW
1582019-05-21 Florian Weimer <fweimer@redhat.com>
159
160 [BZ #24583]
161 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
162 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
163 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
164 instead of __gconv_release_step.
165 * libio/Makefile (tests): Add tst-wfile-gconv.
166 (tests-container): Add tst-wfile-ascii.
167 (tst-wfile-gconv-ENV): Enable mtrace.
168 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
169 (tests-special): Add tst-wfile-gconv-mem.out.
170 (tst-wfile-gconv.out): Depend on locales.
171 (tst-wfile-gconv-mem.out): Add mtrace rule.
172 * libio/tst-wfile-ascii.c: New file.
173 * libio/tst-wfile-gconv.c: Likewise.
174
09e1b0e3
FW
1752019-05-20 Florian Weimer <fweimer@redhat.com>
176
177 [BZ #24588]
178 libio: Remove codecvt vtable.
179 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
180 __libio_codecvt.
181 * libio/iofgetpos.c (_IO_new_fgetpos): Call
182 __libio_codecvt_encoding.
183 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
184 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
185 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
186 * libio/iofwide.c (__libio_codecvt): Remove variable.
187 (_IO_fwide): Do not copy __libio_codecvt.
188 (__libio_codecvt_out): Rename from do_out and export.
189 (do_unshift): Remove function.
190 (__libio_codecvt_in): Rename from do_in and export.
191 (__libio_codecvt_encoding): Rename from do_encoding and export.
192 (do_always_noconv): Remove function.
193 (__libio_codecvt_length): Rename from do_length and export.
194 (do_max_length): Remove function.
195 * libio/libio.h (enum __codecvt_result): Remove definition; moved
196 to libioP.h.
197 (struct _IO_codecvt): Remove fields __codecvt_destr,
198 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
199 __codecvt_do_encoding, __codecvt_do_always_noconv,
200 __codecvt_do_length, __codecvt_do_max_length.
201 * libio/libioP.h (enum __codecvt_result): Define; moved from
202 libio.h.
203 (__libio_codecvt_out, __libio_codecvt_in)
204 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
205 functions.
206 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
207 (_IO_wfile_underflow): Call __libio_codecvt_in.
208 (_IO_wfile_underflow): Likewise.
209 (_IO_wfile_underflow_mmap): Likewise.
210 (_IO_wfile_sync): Call __libio_codecvt_encoding,
211 __libio_codecvt_length.
212 (adjust_wide_data): Call __libio_codecvt_encoding,
213 __libio_codecvt_in.
214 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
215 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
216 __libio_codecvt_length.
217
75c51570
FW
2182019-05-20 Florian Weimer <fweimer@redhat.com>
219
220 * support/support.h (support_sbindir_prefix): Declare.
221 (support_install_rootsbindir): Update comment.
222 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
223 * support/support_paths.c (support_sbindir_prefix): Define.
224
ff6bec7d
MC
2252019-05-20 Mike Crowe <mac@mcrowe.com>
226
b62bb3bc
MC
227 * support/timespec.c: Add backslash to correct newline in failure
228 message.
229
ff6bec7d
MC
230 * support/timespec.h: Correct confusing comment.
231
dfba907f
AZ
2322019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
233
236c18e5
AZ
234 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
235 define.
236 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
237 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
238 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
239 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
240
dfba907f
AZ
241 [BZ #24570]
242 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
243 usage.
244
13886008
JM
2452019-05-20 Joseph Myers <joseph@codesourcery.com>
246
247 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
248 (NT_ARM_PACG_KEYS): Likewise.
249
1f50f2ad
WD
2502019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
251
252 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
253 (tcache_put): Remove redundant assert.
254 (tcache_get): Remove redundant asserts.
255 (__libc_malloc): Check tcache count is not zero.
256 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
257
fef7c63c
FW
2582019-05-17 Florian Weimer <fweimer@redhat.com>
259
260 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
261
5f161b23
JM
2622019-05-16 Joseph Myers <joseph@codesourcery.com>
263
264 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
265 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
266 0x050100].
267 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
268 Likewise.
269 * sysdeps/unix/sysv/linux/sh/kernel-features.h
270 (__ASSUME_STATX): Likewise.
271
ec255a97
FW
2722019-05-16 Florian Weimer <fweimer@redhat.com>
273
274 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
275 flags argument.
276 (LINE_PARSER): Do not map IPv4 addresses.
277 (internal_nis_gethostent_r): Remove flags argument. Adjust call
278 to parse_line.
279 (_nss_nis_gethostent_r): Always pass AF_INET to
280 internal_nis_gethostent_r.
281 (internal_gethostbyname2_r): Remove flags argument. Adjust call
282 to parse_line.
283 (_nss_nis_gethostbyname2_r): Adjust call to
284 internal_nis_gethostent_r.
285 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
286 call to internal_nis_gethostent_r.
287 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
288 from parse_line.
289 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
290 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
291 Remove flags argument. Do not map IPv4 addresses.
292 (internal_nisplus_gethostent_r): Adjust call to
293 _nss_nisplus_parse_hostent.
294 (internal_gethostbyname2_r): Remove flags argument. Adjust call
295 to _nss_nisplus_parse_hostent.
296 (_nss_nisplus_gethostbyname2_r): Adjust call to
297 internal_gethostbyname2_r.
298 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
299 Adjust call to internal_gethostbyname2_r.
300 (_nss_nisplus_gethostbyaddr_r): Adjust call to
301 _nss_nisplus_parse_hostent.
302 (_nss_nisplus_gethostbyname4_r): Adjust call to
303 internal_gethostbyname2_r.
304
9c02d078
FW
3052019-05-16 Florian Weimer <fweimer@redhat.com>
306
307 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
308 Remove flags.
309 (LINE_PARSER): Remove address mapping.
310 (EXTRA_ARGS_VALUE): Remove flags argument.
311 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
312 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
313 gethostbyname3_multi.
314 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
315 _nss_files_gethostbyname3_r.
316 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
317
85b0e1e8
FW
3182019-05-16 Florian Weimer <fweimer@redhat.com>
319
320 * support/support_test_compare_blob.c (report_blob): Report
321 incorrect NULL blobs.
322
11b451c8
MW
3232019-05-15 Mark Wielaard <mark@klomp.org>
324
325 [BZ# 24476]
326 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
327 __libc_once_get (once) and static_buf == NULL.
328 (__dlerror): Check we have a valid key, set result to static_buf
329 otherwise.
330
32ff3975
AS
3312019-05-15 Andreas Schwab <schwab@suse.de>
332
333 [BZ #20568]
334 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
335 __codecvt_do_length.
336 * libio/Makefile (tests): Add tst-wfile-sync.
337 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
338 * libio/tst-wfile-sync.c: New file.
339 * libio/tst-wfile-sync.input: New file.
340
a9368c34
FW
3412019-05-15 Florian Weimer <fweimer@redhat.com>
342
343 nss: Turn __nss_database_lookup into a compatibility symbol.
344 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
345 __nss_database_lookup.
346 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
347 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
348 __nss_database_lookup.
349 (__nss_next): Move to …
350 * nss/compat-lookup.c (nss_next): … here. Change it to fail
351 unconditionally.
352 (__nss_database_lookup): New function.
353 * nss/Versions (GLIBC_2.0): Update comment.
354 (GLIBC_PRIVATE): Export __nss_database_lookup2.
355 * grp/initgroups.c (internal_getgrouplist): Call
356 __nss_database_lookup2 instead of __nss_database_lookup.
357 * nscd/aicache.c (addhstaiX): Likewise.
358 * nscd/initgrcache.c (addinitgroupsX): Likewise.
359 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
360 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
361 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
362 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
363 Likewise.
364 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
365 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
366 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
367
d50f0918 3682019-05-15 Alexandra Hajkova <ahajkova@redhat.com>
32ff3975 369
d50f0918
AH
370 * support/support.h (support_install_rootsbindir): New variable.
371 * support/support_paths.c: Likewise.
372 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
373
7ac6fad9
FW
3742019-05-15 Florian Weimer <fweimer@redhat.com>
375
376 * iconv/gconv.h (__gconv_transliterate): Move declaration …
377 * iconv/gconv_int.h (__gconv_transliterate): … here.
378 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
379 * iconv/skeleton.c: Likewise.
380
04b261bd
FW
3812019-05-14 Florian Weimer <fweimer@redhat.com>
382
383 Linux: Add the tgkill function.
384 * bits/signal_ext.h: New file.
385 * manual/signal.texi (Signaling Another Process): Document tgkill.
386 * signal/Makefile (headers): Add bits/signal_ext.h.
387 * signal/signal.h: Include <bits/signal_ext.h>.
388 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
389 (tst-tgkill): Link with libpthread.
390 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
391 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
392 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
393 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
394 tgkill.
395 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
396 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
397 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
398 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
399 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
400 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
401 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
402 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
403 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
404 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
405 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
406 Likewise.
407 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
408 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
409 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
411 Likewise.
412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
413 Likewise.
414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
415 Likewise.
416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
417 Likewise.
418 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
419 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
420 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
421 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
422 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
423 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
424 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
425 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
426
6807f47b
CD
4272019-05-14 Carlos O'Donell <carlos@redhat.com>
428
429 * manual/search.texi (Tree Search Function): Adjust twalk_r
430 documentation.
431
fdb8a0be
AZ
4322019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
433
da2b83ef
AZ
434 [BZ #24544]
435 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
436 pre-defined value.
437
c7ac9caa
AZ
438 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
439 * support/support.h (support_bindir_prefix): New variable.
440 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
441
91f043ae
AZ
442 * config.make.in (bindir): New variable.
443
c50e1c26
AZ
444 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
445 (lll_trylock): Call __lll_trylock.
446 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
447 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
448 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
449 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
450 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
451 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
452 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
453 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
454 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
455 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
456 lowlevellock-futex.h.
457
959aff9f
AZ
458 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
459 initialization for LLL_LOCK_INITIALIZER different than 0.
460 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
461 Assume LLL_LOCK_INITIALIZER being 0.
462 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
463 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
464 Likewise.
465 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
466 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
467
d7e4c642
AZ
468 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
469 Optimize futex call and add systemtap probe.
470
fdb8a0be
AZ
471 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
472 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
473 __libc_disable_asynccancel, __librt_enable_asynccancel,
474 __libc_disable_asynccancel, __librt_enable_asynccancel,
475 __librt_disable_asynccancel): Move to ...
476 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
477 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
478 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
479 * sysdeps/generic/single-thread.h: New file.
480 * sysdeps/unix/sysdep.h: Include single-thread.h.
481 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
482 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
483
f6efec90
MF
4842019-05-08 Mike FABIAN <mfabian@redhat.com>
485
486 [BZ #24535]
487 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
488 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
489 Unicode 12.1.0.
490 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
491 * localedata/unicode-gen/PropList.txt: Likewise.
492 * localedata/unicode-gen/UnicodeData.txt: Likewise.
493 * localedata/charmaps/UTF-8: Regenerate.
494 * localedata/locales/i18n_ctype: Likewise.
495 * localedata/locales/tr_TR: Likewise.
496 * localedata/locales/translit_circle: Likewise.
497 * localedata/locales/translit_cjk_compat: Likewise.
498 * localedata/locales/translit_combining: Likewise.
499 * localedata/locales/translit_compat: Likewise.
500 * localedata/locales/translit_font: Likewise.
501 * localedata/locales/translit_fraction: Likewise.
502
5ad533e8
WD
5032019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
504
505 [BZ #24531]
506 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
507 (do_set_tcache_count): Only update if count is small enough.
508 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
509
4aee85f9
FW
5102019-05-10 Florian Weimer <fweimer@redhat.com>
511
512 * nptl/sem_close.c (struct walk_closure): Define.
513 (walker): Adjust for __twalk_r.
514 (sem_close): Call __twalk_r.
515
eb669ff5
AZ
5162019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
517
518 * support/timespec.c (test_timespec_before_impl,
519 test_timespec_equal_or_after_impl): print timespec member as intmax_t
520 insted of long int.
521
51983996
MC
5222019-05-09 Mike Crowe <mac@mcrowe.com>
523
44ac6ee9
MC
524 * nptl/tst-abstime.c: Use libsupport.
525
495514ee
MC
526 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
527 small bug where only tv.tv_usec was checked which could cause an
528 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
529 than a second.
530
531 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
532 libsupport.
533
40d0816f
MC
534 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
535 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
536
d8e0b901
MC
537 * nptl/tst-cond11.c: Use libsupport.
538
51983996
MC
539 * support/timespec.h: New file. Provide timespec helper functions
540 along with macros in the style of those in check.h.
541 * support/timespec.c: New file. Implement check functions declared
542 in support/timespec.h.
543 * support/timespec-add.c: New file from gnulib containing
544 timespec_add implementation that handles overflow.
545 * support/timespec-sub.c: New file from gnulib containing
546 timespec_sub implementation that handles overflow.
547 * support/README: Mention timespec.h.
548
18aa51ee
SN
5492019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
550
551 [BZ #24537]
552 * nptl/Makefile: Move tst-eintr1 to xtests.
553
252296c6
AZ
5542019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
555
ae45cf84
AZ
556 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
557 TRUNC handling.
558 (round_mode): Add definition for TRUNC.
559 * sysdeps/powerpc/fpu/s_trunc.c: New file.
560 * sysdeps/powerpc/fpu/s_truncf.c: New file.
561 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
562 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
563 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
564 Likewise.
565 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
566 Likewise.
567 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
568 Likewise.
569 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
570 Likewise.
571 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
572 file.
573 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
574 Likewise.
575 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
576 Likewise.
577 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
578 Likewise.
579 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
580 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
581 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
582 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
583 s_truncf-power5+, and s_truncf-ppc64.
584 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
585 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
586 file.
587 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
589 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
590 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
591 file.
592 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
593 Likewise.
594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
595 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
596 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
597 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
598 s_truncf-power5+, and s_truncf-ppc64.
599 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
600 file.
601 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
602 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
603 Likewise.
604 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
605 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
606 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
607 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
608 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
609
a1cb1888
AZ
610 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
611 ROUND handling.
612 (round_mode): Add definition for ROUND.
613 (round_to_integer_float): Likewise.
614 * sysdeps/powerpc/fpu/s_round.c: New file.
615 * sysdeps/powerpc/fpu/s_roundf.c: New file.
616 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
617 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
618 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
619 Likewise.
620 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
621 Likewise.
622 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
623 Likewise.
624 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
625 Likewise.
626 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
627 file.
628 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
629 Likewise.
630 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
631 Likewise.
632 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
633 Likewise.
634 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
635 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
636 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
637 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
638 s_roundf-power5+, and s_roundf-ppc64.
639 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
640 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
641 file.
642 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
644 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
645 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
646 file.
647 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
648 Likewise.
649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
650 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
651 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
652 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
653 s_roundf-power5+, and s_roundf-ppc64.
654 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
655 file.
656 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
657 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
658 Likewise.
659 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
660 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
661 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
662 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
663 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
664
252296c6
AZ
665 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
666 Add FLOOR option.
667 (round_mode): Add definition for FLOOR.
668 * sysdeps/powerpc/fpu/s_floor.c: New file.
669 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
670 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
671 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
673 Remove file.
674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
675 Likewise
676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
677 Likewise.
678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
679 Likewise.
680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
681 New file.
682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
683 Likewise.
684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
685 Likewise.
686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
687 Likewise.
688 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
689 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
690 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
691 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
692 s_floorf-power5+, and s_floorf-ppc64.
693 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
694 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
695 file.
696 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
698 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
699 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
700 file.
701 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
702 Likewise.
703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
704 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
705 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
706 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
707 s_floorf-power5+, and s_floorf-ppc64.
708 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
709 file.
710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
711 file.
712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
713 Likewise.
714 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
715 Likewise.
716 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
717 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
718 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
719 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
720
33647a72
MC
7212019-05-08 Mike Crowe <mac@mcrowe.com>
722
723 * support/xclock_gettime.c (xclock_gettime): New file. Provide
724 clock_gettime wrapper for use in tests that fails the test rather
725 than returning failure.
726
727 * support/xtime.h: New file to declare xclock_gettime.
728
729 * support/Makefile: Add xclock_gettime.c.
730
731 * support/README: Mention xtime.h.
732
b2f601ba
FW
7332019-05-08 Florian Weimer <fweimer@redhat.com>
734
735 malloc/tst-mallocfork2: Use process-shared barriers.
736 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
737 (signal_count, sigusr1_sender_pid): Remove.
738 (iterations): Define constant.
739 (shared): New variable.
740 (sigusr1_received): Update comment.
741 (sigusr1_handler): Do not send SIGSTOP to the sender process.
742 (signal_sender): Optional use barriers to avoid sending signals
743 during irrelevant times.
744 (do_it): Initialize variable shared. Use xfork for error
745 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
746 the iteration count, independent of signal delivery. Check for
747 deadlocks in fork. Introduce barriers for reducing signal
748 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
749 replaced by the barriers. Count signals during fork/free/malloc
750 and report them.
751 * malloc/Makefile (tst-mallocfork): Link with libpthread.
752
c4a392cf
JM
7532019-05-07 Joseph Myers <joseph@codesourcery.com>
754
7621676f
JM
755 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
756 version to 5.1.
757 (clock_adjtime64) New syscall.
758 (clock_getres_time64) Likewise.
759 (clock_gettime64) Likewise.
760 (clock_nanosleep_time64) Likewise.
761 (clock_settime64) Likewise.
762 (futex_time64) Likewise.
763 (io_pgetevents_time64) Likewise.
764 (io_uring_enter) Likewise.
765 (io_uring_register) Likewise.
766 (io_uring_setup) Likewise.
767 (mq_timedreceive_time64) Likewise.
768 (mq_timedsend_time64) Likewise.
769 (pidfd_send_signal) Likewise.
770 (ppoll_time64) Likewise.
771 (pselect6_time64) Likewise.
772 (recvmmsg_time64) Likewise.
773 (rt_sigtimedwait_time64) Likewise.
774 (sched_rr_get_interval_time64) Likewise.
775 (semtimedop_time64) Likewise.
776 (timer_gettime64) Likewise.
777 (timer_settime64) Likewise.
778 (timerfd_gettime64) Likewise.
779 (timerfd_settime64) Likewise.
780 (utimensat_time64) Likewise.
781
c4a392cf
JM
782 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
783 version to 9 branch.
784
32e902a9
AY
7852019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
786
787 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
788 __memmove_thunderx2 to the list of implementations
789 * sysdeps/aarch64/multiarch/memmove.c: Likewise
790 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
791 (__memmove_thunderx2): Rewritten using SIMD ld/st
792 (__memcpy_thunderx2): Fixed handling overlapping cases.
793 Used ldp/stp instead of ldr/str if possible. Made loops
794 tails branchless.
795
ac3da35d
FW
7962019-05-03 Florian Weimer <fweimer@redhat.com>
797
798 * misc/tst-tsearch.c (walk_tree): Add more error checking.
799
b2af6fb2
AZ
8002019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
801
7dfde28a 802 [BZ #24506]
b2af6fb2
AZ
803 * elf/tst-pldd.c (in_str_list): New function.
804 (do_test): Add default names for ld and libc as one option.
805
7b807a35
FW
8062019-05-02 Florian Weimer <fweimer@redhat.com>
807
808 misc: Add twalk_r function.
809 * include/search.h (__twalk_r): Declare.
810 * manual/examples/twalk.c: New file.
811 * manual/search.texi (Tree Search Function): Document twalk_r.
812 * misc/Versions (2.30): Export twalk_r.
813 (GLIBC_PRIVATE): Export __twalk_r.
814 * misc/search.h [__USE_GNU] (twalk_r): Declare.
815 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
816 (twalk_r): Add weak alias.
817 * misc/tst-tsearch.c (struct walk_trace_element): Define.
818 (walk_trace): New variable.
819 (struct twalk_with_twalk_r_closure): Define.
820 (twalk_with_twalk_r_action): New function.
821 (twalk_with_twalk_r): Likewise.
822 (walk_action): Call walk_trace_add.
823 (walk_tree_with): Rename from walk_tree. Add walk argument.
824 (walk_tree): New function.
825 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
826 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
827 Likewise.
828 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
829 Likewise.
830 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
831 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
832 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
833 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
834 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
835 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
836 Likewise.
837 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
838 Likewise.
839 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
840 Likewise.
841 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
842 (GLIBC_2.30): Likewise.
843 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
844 (GLIBC_2.30): Likewise.
845 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
846 (GLIBC_2.30): Likewise.
847 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
848 (GLIBC_2.30): Likewise.
849 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
850 Likewise.
851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
852 (GLIBC_2.30): Likewise.
853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
854 (GLIBC_2.30): Likewise.
855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
856 (GLIBC_2.30): Likewise.
857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
858 (GLIBC_2.30): Likewise.
859 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
860 Likewise.
861 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
862 Likewise.
863 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
864 Likewise.
865 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
866 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
867 Likewise.
868 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
869 Likewise.
870 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
871 Likewise.
872 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
873 Likewise.
874
20aa5819
PE
8752019-04-30 Paul Eggert <eggert@cs.ucla.edu>
876
877 Make mktime etc. compatible with __time64_t
878 Keep these functions compatible with Gnulib while adding
879 __time64_t support. The basic idea is to move private API
880 declarations from include/time.h to time/mktime-internal.h, since
881 the former file cannot easily be shared with Gnulib whereas the
882 latter can.
883 Also, do some other minor cleanup while in the neighborhood.
884 * include/time.h: Include stdbool.h, time/mktime-internal.h.
885 (__mktime_internal): Move this prototype to time/mktime-internal.h,
886 since Gnulib needs it.
887 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
888 Move these macros to time/mktime-internal.h, since Gnulib needs them.
889 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
890 (in_time_t_range): New static function.
891 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
892 so that glibc users are not tempted to use __time64_t.
893 * time/mktime-internal.h: Rewrite so that it does both glibc
894 and Gnulib work. Include time.h if not _LIBC.
895 (mktime_offset_t) [!_LIBC]: Define for gnulib.
896 (__time64_t): New type or macro, moved here from
897 posix/bits/types.h.
898 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
899 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
900 from include/time.h.
901 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
902 New macros, taken from GNulib.
903 (__mktime_internal): New prototype, moved here from include/time.h.
904 * time/mktime.c (mktime_min, mktime_max, convert_time)
905 (ranged_convert, __mktime_internal, __mktime64):
906 * time/timegm.c (__timegm64):
907 Use __time64_t, not time_t.
908 * time/mktime.c: Stop worrying about whether time_t is floating-point.
909 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
910 Rename from mktime.
911 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
912 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
913 for libc_hidden_def.
914 Include errno.h.
915 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
916 Rename from timegm.
917 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
918
87c266d7
MR
9192019-04-30 Maciej W. Rozycki <macro@wdc.com>
920
921 [BZ #19444]
922 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
923 from `-Wmaybe-uninitialized'.
924 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
925
c4c0848b
AZ
9262019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
927
6cac323c
AZ
928 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
929 function.
930 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
931 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
932 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
933 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
934 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
936 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
938 Remove file.
939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
940 Likewise.
941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
942 Likewise.
943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
944 Likewise.
945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
946 New file.
947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
948 Likewise.
949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
950 Likewise.
951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
952 Likewise.
953 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
954 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
955 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
956 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
957 Likewise.
958 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
959 Likewise.
960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
961 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
962 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
963 file.
964 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
965 Likewise.
966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
967 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
968 * here.
969 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
970 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
971 s_ceilf-power5+, and s_ceilf-ppc64.
972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
973 file.
974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
977 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
978 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
979 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
980 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
981
c4c0848b
AZ
982 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
983 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
984 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
985
f492fc99
YD
9862019-04-29 Yann Droneaud <ydroneaud@opteya.com>
987
988 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
989 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
990 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
991 (sem_getvalue): Likewise.
992
c57afec0
FW
9932019-04-26 Florian Weimer <fweimer@redhat.com>
994
995 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
996 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
997
a8ff215e
FW
9982019-04-26 Florian Weimer <fweimer@redhat.com>
999
1000 Makeconfig: Move -Wl,-rpath-link options before library references.
1001 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
1002 (link-libc): Remove $(link-libc-rpath-link).
1003
10042019-04-25 Florian Weimer <fweimer@redhat.com>
1005
1006 * Makeconfig (+link-pie-before-libc): Remove $(CC).
1007 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
1008 (+link-static-before-libc): Remove $(CC).
1009 (+link-static, +link-static-tests): Add $(CC).
1010 (+link-before-libc): Remove $(CC).
1011 (+link, +link-pie, +link-pie-printers): Add $(CC).
1012
e30fb31c
FW
10132019-04-26 Florian Weimer <fweimer@redhat.com>
1014
1015 * Makeconfig (+link-pie-before-libc): Remove $(CC).
1016 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
1017 (+link-static-before-libc): Remove $(CC).
1018 (+link-static, +link-static-tests): Add $(CC).
1019 (+link-before-libc): Remove $(CC).
1020 (+link, +link-pie, +link-pie-printers): Add $(CC).
1021
deacca00
DA
10222019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
1023
1024 [BZ#24484]
1025 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
1026
b5ffdc48
FW
10272019-04-25 Florian Weimer <fweimer@redhat.com>
1028
1029 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
1030 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
1031 (bench-link-targets): New variable.
1032 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
1033
94a4e9e4
FW
10342019-04-25 Florian Weimer <fweimer@redhat.com>
1035
1036 Also enable BIND_NOW for programs if --enable-bind-now.
1037 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
1038 (+link-pie): Use $(link-extra-flags).
1039 (+link-static): Likewise.
1040 [! $(build-pie-default)] (+link): Likewise.
1041 * manual/install.texi (Configuring and compiling): Update
1042 --enable-bind-now description.
1043 * INSTALL: Regenerated.
1044
fe92a91f
WD
10452019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
1046
1047 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
1048 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
1049
f9b645b4
MF
10502019-04-24 Mike Frysinger <vapier@gentoo.org>
1051
1052 [BZ #18465]
1053 * malloc/Makefile (others): Add memusagestat.
1054 ($(objpfx)memusagestat): Delete rule.
1055 (LDLIBS-memusagestat): New variable.
1056
439bf534
FW
10572019-04-24 Florian Weimer <fweimer@redhat.com>
1058
1059 * locale/Makefile (tests-special): Guard setting by
1060 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
1061 to run while cross-compiling.
1062
1a4c2735
AZ
10632019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1064
1065 [BZ #18035]
1066 * elf/Makefile (tests-container): Add tst-pldd.
1067 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
1068 (E(find_maps)): Avoid use alloca, use default read file operations
1069 instead of explicit LFS names, and fix infinite loop.
1070 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
1071 (get_process_info): Use _Static_assert instead of assert, use default
1072 directory operations instead of explicit LFS names, and free some
1073 leadek pointers.
1074 * elf/tst-pldd.c: New file.
1075
2d398aa2
L
10762019-04-23 H.J. Lu <hongjiu.lu@intel.com>
1077
1078 * malloc/arena.c (do_set_mallopt_check): Removed.
1079
e485b2b6
FW
10802019-04-23 Florian Weimer <fweimer@redhat.com>
1081
1082 locale: Add LOCPATH diagnostics to the locale program.
1083 * locale/programs/locale.c (setlocale_failed): New variable.
1084 (try_setlocale): New function.
1085 (quote_string): Likewise.
1086 (setlocale_diagnostics): Likewise.
1087 (main): Call try_setlocale instead of setlocale. Call
1088 setlocale_diagnostics.
1089 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
1090 (tst-locale-locpath.out): New target.
1091 * locale/tst-locale-locpath.sh: New file.
1092
25f7a3c9
AZ
10932019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1094
1095 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
1096 to 2.30 notes.
1097
9bf8e29c
AZ
10982019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1099
1100 [BZ #23741]
1101 * malloc/hooks.c (malloc_check, realloc_check): Use
1102 __builtin_add_overflow on overflow check and adapt to
1103 checked_request2size change.
1104 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
1105 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
1106 allocation size to PTRDIFF_MAX.
1107 (REQUEST_OUT_OF_RANGE): Remove macro.
1108 (checked_request2size): Change to inline function and limit maximum
1109 requested size to PTRDIFF_MAX.
1110 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
1111 maximum allocation size to PTRDIFF_MAX.
1112 (_mid_memalign): Use _int_memalign call for overflow check.
1113 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
1114 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
1115 limit maximum requested size to PTRDIFF_MAX.
1116 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
1117 valloc, pvalloc): Add __attribute_alloc_size__.
1118 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
1119 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
1120 larger than PTRDIFF_MAX.
1121 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
1122 around tests of malloc with negative sizes.
1123 * malloc/tst-posix_memalign.c (do_test): Likewise.
1124 * malloc/tst-pvalloc.c (do_test): Likewise.
1125 * malloc/tst-valloc.c (do_test): Likewise.
1126 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
1127 with resulting size allocation larger than PTRDIFF_MAX with
1128 reallocarray_nowarn.
1129 (reallocarray_nowarn): New function.
1130 * NEWS: Mention the malloc function semantic change.
1131
0e169691
AZ
11322019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1133
52faba65
AZ
1134 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
1135 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
1136
3a16dd78
AZ
1137 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
1138 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
1139 * sysdeps/powerpc/fpu/s_fma.c: New file.
1140 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
1141
1dac8bd6
AZ
1142 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
1143 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
1144
a3ae315a
AZ
1145 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
1146 the magic flag store.
1147 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
1148 Likewise.
1149 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
1150 Likewise.
1151 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
1152 Remove rt_sigreturn call.
1153
ffe8a9a8
AZ
1154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1155 Remove rt_sigreturn call.
1156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1157 Likewise.
1158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
1159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1160
0e169691
AZ
1161 * support/Makefile (libsupport-routines): Add support_subprocess,
1162 xposix_spawn, xposix_spawn_file_actions_addclose, and
1163 xposix_spawn_file_actions_adddup2.
1164 (tst-support_capture_subprocess-ARGS): New rule.
1165 * support/capture_subprocess.h (support_capture_subprogram): New
1166 prototype.
1167 * support/support_capture_subprocess.c (support_capture_subprocess):
1168 Refactor to use support_subprocess and support_capture_poll.
1169 (support_capture_subprogram): New function.
1170 * support/tst-support_capture_subprocess.c (write_mode_to_str,
1171 str_to_write_mode, test_common, parse_int, handle_restart,
1172 do_subprocess, do_subprogram, do_multiple_tests): New functions.
1173 (do_test): Add support_capture_subprogram tests.
1174 * support/subprocess.h: New file.
1175 * support/support_subprocess.c: Likewise.
1176 * support/xposix_spawn.c: Likewise.
1177 * support/xposix_spawn_file_actions_addclose.c: Likewise.
1178 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
1179 * support/xspawn.h: Likewise.
1180
bae8cf0e
MG
11812019-04-17 Mike Gerow <gerow@google.com>
1182
1183 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
1184 groups limit.
1185
e3f454ba
FW
11862019-04-11 Florian Weimer <fweimer@redhat.com>
1187
1188 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
1189 domain with empty string.
1190 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1191
32d85c11
FW
11922019-04-11 Florian Weimer <fweimer@redhat.com>
1193
1194 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
1195 comment.
1196 (alloc_buffer_next): Change return type to non-const. Update
1197 comment.
1198
221710af
FW
11992019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
1200
1201 * manual/time.texi (Formatting Calendar Time): Add missing percent
1202 sign to conversion specifier.
1203
e621246e
CD
12042019-04-09 Carlos O'Donell <carlos@redhat.com>
1205 Kwok Cheung Yeung <kcy@codesourcery.com>
1206
1207 [BZ #16573]
1208 * malloc/mtrace.c: Define prototypes for all hooks.
1209 (set_default_hooks): New function.
1210 (set_trace_hooks): Likewise.
1211 (save_default_hooks): Likewise.
1212 (tr_freehook): Use new s*_hooks functions.
1213 (tr_mallochook): Likewise.
1214 (tr_reallochook): Likewise.
1215 (tr_memalignhook): Likewise.
1216 (mtrace): Likewise.
1217 (muntrace): Likewise.
1218
648279f4
WD
12192019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1220
1221 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
1222 (generic_stpcpy): New function.
1223 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
1224 (generic_stpncpy): New function.
1225 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
1226 (generic_strcat): New function.
1227 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
1228 (generic_strcpy): New function.
1229 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
1230 (STUPID_STRNCAT): Remove function.
1231 (generic_strncat): New function.
1232 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
1233 (STUPID_STRNCPY): Remove function.
1234 (generic_strncpy): New function.
1235 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
1236 (generic_strnlen): New function.
1237 (memchr_strnlen): New function.
1238 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
1239 (memchr_strlen): Likewise.
1240
93eebae5
WD
12412019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1242
1243 * benchtests/bench-strstr.c (input): Add realistic input text.
1244 (stupid_strstr): Remove function.
1245 (basic_strstr): Add function.
1246 (twoway_strstr): Add function.
1247 (do_one_test): Add result checking.
1248 (do_test): Use new input text. Remove accidental early matches.
1249 (test_main): Improve range of tests, reduce unaligned cases.
1250
a173d09f
WD
12512019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1252
1253 * benchtests/bench-memmem.c (simple_memmem): Remove function.
1254 (basic_memmem): Add function.
1255 (twoway_memmem): Add function.
1256
6103c0a8
WD
12572019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1258
1259 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
1260 * benchtests/bench-malloc-thread.c: Likewise.
1261 * benchtests/bench-skeleton.c: Likewise.
1262 * benchtests/bench-strtod.c: Likewise.
1263 * benchtests/bench-timing.h: Likewise.
1264
33322186
FW
12652019-04-08 Florian Weimer <fweimer@redhat.com>
1266
1267 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
1268 definitions.
1269 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
1270 RES_INSECURE2 security checks.
1271 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
1272 RES_INSECURE2 handling.
1273
3f8b44be
FW
12742019-04-08 Florian Weimer <fweimer@redhat.com>
1275
1276 resolv: Remove support for RES_USE_INET6 and the inet6 option.
1277 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
1278 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
1279 GETHOSTBYNAME.
1280 * resolv/Makefile (tests): Remove tst-res_use_inet6.
1281 (tests-internal): Update justification for tst-resolv-res_init,
1282 tst-resolv-res_init-thread.
1283 (tst-res_use_inet6): Remove target.
1284 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
1285 * resolv/res_debug.c (p_option): Remove "inet6" support.
1286 * resolv/res_init.c (res_setoptions): Likewise.
1287 * resolv/res_use_inet6.h: Remove file.
1288 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
1289 definition.
1290 (res_use_inet6): Always return false.
1291 * resolv/resolv.h (RES_USE_INET6): Remove definition.
1292 * resolv/resolv_context.h: Adjust file comment.
1293 (struct resolv_context): Update comment on __next field.
1294 (__resolv_context_put): Update comment.
1295 * resolv/tst-res_use_inet6.c: Remove file.
1296 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
1297 "inet6" support.
1298 (test_cases): Adjust test case.
1299 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
1300 (thread_byname2_af_inet6): Use old byname_inet6 code.
1301 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
1302 (gai): Remove do_inet6 argument.
1303 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
1304 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
1305 (thread_gai_unspec_inet6): Remove functions.
1306 (do_test): Adjust thread_funcs.
1307 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
1308 RES_USE_INET6 flag.
1309 (gaih_inet): Do not disable RES_USE_INET6 flag.
1310
6b5c8607 13112019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
94e358f6
AY
1312
1313 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
1314 and remove redundant code.
1315
e3fd0b0e
AZ
13162019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1317
f82ed45d
AZ
1318 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
1319 New rule.
1320 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
1321 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
1322 Likewise.
1323 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
1324 Likewise.
1325 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
1326 Likewise.
1327 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
1328 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
1329 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
1330 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
1331 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
1332 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
1333 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1334 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
1335 wcsrchr-power7.
1336 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
1337 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1338 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1339 Remove wcsrchr optimizations.
1340 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1341
662c2cc4
AZ
1342 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
1343 the loop unroll.
1344
421e3005
AZ
1345 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
1346 New rule.
1347 * sysdeps/powerpc/power6/wcschr.c: Remove file.
1348 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
1349 Likewise.
1350 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
1351 Likewise.
1352 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
1353 Likewise.
1354 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
1355 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
1356 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
1357 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
1358 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1359 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
1360 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1361 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
1362 wcschr-power7.
1363 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
1364 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1365 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1366 Remove wcschr optimizations.
1367 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1368
7ba0100c
AZ
1369 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
1370 the loop unroll.
1371
447a1306
AZ
1372 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
1373 New rule.
1374 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
1375 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
1376 Likewise.
1377 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
1378 Likewise.
1379 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
1380 Likewise.
1381 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
1382 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
1383 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
1384 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
1385 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1386 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
1387 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1388 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
1389 wcscpy-power7.
1390 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
1391 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1392 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1393 Remove wcscpy optimizations.
1394 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1395
e3fd0b0e
AZ
1396 * include/loop_unroll.h: New file.
1397 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
1398 besides generic implementation.
1399
8260f236
DD
14002019-04-03 DJ Delorie <dj@redhat.com>
1401
1402 * time/tst-strftime3.c (tm_to_printed): Disable warning about
1403 snprintf truncating output.
1404
0bd545ee
DD
14052019-04-02 DJ Delorie <dj@redhat.com>
1406
1407 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
1408 warning.
1409
466afec3
TS
14102019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1411
1412 [BZ #22964]
1413 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
1414 era.
1415 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
1416 (mkreftable): Add rules for the new Japanese era and the new dates.
1417
2f1d6155
TS
14182019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1419 Rafal Luzynski <digitalfreak@lingonborough.com>
1420
1421 * time/tst-strftime2.c (date_t): Explicitly define the type.
1422 (dates): Use natural month and year numbers to express a date.
1423 (is_before): New function to compare dates.
1424 (mkreftable): Minor improvements to simplify maintenance.
1425 (do_test): Reflect the changes in dates array.
1426
84aea169
TS
1427 [BZ #24293]
1428 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
1429 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
1430 * time/tst-strftime2.c (locales): Likewise.
1431 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
1432 2010-04-01, and 2011-04-01.
1433 (mkreftable): Add rules for the new locales and the new dates.
1434
62449176
CD
14352019-04-01 Carlos O'Donell <carlos@redhat.com>
1436
1437 * localedata/locales/ja_JP: Add comments to era entries.
1438
e0e4c321
DD
14392019-04-01 DJ Delorie <dj@redhat.com>
1440
1441 [BZ #24394]
1442 * time/strptime_l.c (%Ey): Fix fencepost error.
1443 * time/tst-strftime3.c: New.
1444 * time/Makefile (tests): Add tst-strftime3.
1445
6b5c8607 14462019-04-01 Uros Bizjak <ubizjak@gmail.com>
993e3107
UB
1447
1448 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
1449 conditional branch to DIVBYZERO. Fix unwind info.
1450 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
1451 excb after conditional branch to $powerof2. Add missing unop
1452 instructions and .align directives and reorder instructions to
1453 match __divqu.
1454
d5ecee82
RH
14552019-04-01 Richard Henderson <rth@twiddle.net>
1456
1457 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
1458 Do not redefine.
1459 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
1460 Do not redefine.
1461
656dd306
MR
14622019-03-30 Maciej W. Rozycki <macro@wdc.com>
1463
1464 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
1465 $libc_cv_riscv_float_abi in `test' invocation.
1466 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
1467
10cce669
PC
14682019-03-29 Paul A. Clarke <pc@us.ibm.com>
1469
1470 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
1471 asm with builtin.
1472 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
1473 Likewise.
1474 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1475 (_GET_SI_FPSCR): Likewise.
1476 (_SET_SI_FPSCR): Likewise.
1477
5e67e4bf 14782019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4997e8f3
AZ
1479
1480 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
1481 clang 2.8.
1482 (signbit): Use builtin for clang 3.3.
1483 (isinf): Use builtin for clang 3.7.
1484
01963891
AZ
14852019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1486
1487 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
1488
67112f7a
AH
14892019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
1490
1491 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
1492 quote in printf.
1493
7a773abf
MC
14942019-03-25 Mike Crowe <mac@mcrowe.com>
1495
82849fde
MC
1496 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
1497 pthread_rwlock_timedrdlock with calls to
1498 pthread_rwlock_timedwrlock to ensure that the latter is tested
1499 too. Use new function name in diagnostic messages too.
1500
7a773abf
MC
1501 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
1502 (do_test) Use libsupport test macros rather than hand-coded
1503 conditionals and error messages. Ensure that sem_init returns zero
1504 rather than not -1. Use <support/test-driver.c> rather than
1505 test-skeleton.c.
1506
1507 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
1508 test macros rather than hand-coded conditionals and error messages.
1509 Use <support/test-driver.c> rather than test-skeleton.c.
1510
9ac2de69
JM
15112019-03-25 Joseph Myers <joseph@codesourcery.com>
1512
d7563e62
JM
1513 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
1514
9ac2de69
JM
1515 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
1516 (NT_MIPS_MSA): Likewise.
1517
38cc11da
AZ
15182019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1519
7621e38b
WD
1520 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
1521 * benchtests/README: Update description.
1522 * benchtests/bench-timing.h: Default to hp-timing.
1523 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
1524 HP_TIMING_PRINT): Remove.
1525 (HP_TIMING_NOW): Add generic implementation.
1526 (hp_timing_t): Change to uint64_t.
1527
1e372ded
AZ
1528 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
1529 HP_TIMING_INLINE.
1530 * nptl/descr.h: Likewise.
1531 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
1532 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
1533 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
1534 Abstract hp-timing usage with RTLD_* macros.
1535 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
1536 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
1537 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
1538 HP_TIMING_NONAVAIL): Likewise.
1539 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
1540 Likewise.
1541 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
1542 HP_SMALL_TIMING_AVAIL): Likewise.
1543 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
1544 HP_SMALL_TIMING_AVAIL): Likewise.
1545 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
1546 HP_SMALL_TIMING_AVAIL): Likewise.
1547 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
1548 HP_SMALL_TIMING_AVAIL): Likewise.
1549 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
1550 Likewise.
1551 * sysdeps/generic/hp-timing-common.h: Update comment with
1552 HP_TIMING_AVAIL removal.
1553
359653aa
AZ
1554 * include/random-bits.h: New file.
1555 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
1556 (__res_context_mkquery): Remove usage hp-timing usage and replace with
1557 random_bits.
1558 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
1559 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
1560 Likewise.
1561
6e8ba7fd
AZ
1562 * include/libc-internal.h (__get_clockfreq): Remove prototype.
1563 * rt/Makefile (clock-routines): Remove get_clockfreq.
1564 * rt/get_clockfreq.c: Remove file.
1565 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
1566 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
1567 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
1568 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
1569 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
1570
77b6f553
AZ
1571 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
1572 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
1573 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
1574 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
1575 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
1576
38cc11da
AZ
1577 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
1578 pthread_clock_settime.
1579 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
1580 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
1581 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
1582 * elf/rtld.c (_dl_start_final): Likewise.
1583 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
1584 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
1585 Remove.
1586 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
1587 (_dl_cpuclock_offset): Remove.
1588 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
1589 cpuclock_offset_ununsed.
1590 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
1591 cpuclock_offset set.
1592 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
1593 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1594 * nptl/pthread_clock_gettime.c: Remove file.
1595 * nptl/pthread_clock_settime.c: Likewise.
1596 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
1597 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
1598 and CLOCK_PROCESS_CPUTIME_ID support.
1599 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
1600 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
1601 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
1602 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
1603 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
1604 Likewise.
1605 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
1606
421749d6
SL
16072019-03-22 Stefan Liebler <stli@linux.ibm.com>
1608
1609 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
1610 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
1611 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
1612 New defines.
1613 * sysdeps/s390/memmem-arch13.S: New file.
1614 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
1615 if it is only used as fallback.
1616 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
1617 * sysdeps/s390/multiarch/ifunc-impl-list.c
1618 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
1619
6f47401b
SL
16202019-03-22 Stefan Liebler <stli@linux.ibm.com>
1621
1622 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
1623 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
1624 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
1625 New defines.
1626 * sysdeps/s390/multiarch/ifunc-impl-list.c
1627 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
1628 * sysdeps/s390/strstr-arch13.S: New file.
1629 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
1630 if it is only used as fallback.
1631 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
1632
96fbb9a3
SL
16332019-03-22 Stefan Liebler <stli@linux.ibm.com>
1634
1635 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
1636 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
1637 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
1638 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
1639 ifunc selector.
1640 * sysdeps/s390/multiarch/ifunc-impl-list.c
1641 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
1642 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
1643 S390_IS_ARCH13_MIE3): New defines.
1644
a899a551
SL
16452019-03-22 Stefan Liebler <stli@linux.ibm.com>
1646
1647 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
1648 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
1649 * sysdeps/s390/configure.ac: Add checks for arch13 support.
1650 * sysdeps/s390/configure: Regenerated.
1651
1a7df49c
SL
16522019-03-22 Stefan Liebler <stli@linux.ibm.com>
1653
1654 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
1655 Add vxe2, vxp, dflt, sort flags.
1656 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
1657 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
1658 capabilities.
1659 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
1660 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
1661 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
1662 HWCAP_S390_DFLT): Define.
1663
5e67e4bf 16642019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5abcddd7
GG
1665
1666 [BZ #24372]
1667 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
1668 of compiler warning.
1669 * locale/programs/ld-collate.c (collate_output): Likewise.
1670
ac64195c
DD
16712019-03-21 DJ Delorie <dj@redhat.com>
1672
1673 [BZ #24372]
1674 * iconv/iconvconfig.c (write_output): Replace floating point math
1675 with integer math to avoid imprecise results.
1676 * locale/programs/ld-collate.c (collate_output): Likewise.
1677
61f5e947
SL
16782019-03-21 Stefan Liebler <stli@linux.ibm.com>
1679
1680 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
1681 Add HWCAP_S390_VX and HWCAP_S390_VXE.
1682
57ada43c 16832019-03-20 mansayk <6688000@gmail.com>
1684
1685 [BZ #24296]
1686 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
1687 (abday): Likewise, but remove the trailing dots.
1688
a2e57f89
JM
16892019-03-19 Joseph Myers <joseph@codesourcery.com>
1690
1691 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
1692 macro.
1693 (HWCAP_PACA): Likewise.
1694 (HWCAP_PACG): Likewise.
1695 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
1696 Increase to 32.
1697 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
1698
e87d8ada
ST
16992019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1700
1701 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
1702 should be handled.
1703
477e739b
JM
17042019-03-15 Joseph Myers <joseph@codesourcery.com>
1705
1706 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1707 version to 5.0.
1708 (old_getpagesize): New syscall.
1709
238d60a1
FY
17102019-03-15 Felix Yan <felixonmars@archlinux.org>
1711
1712 [BZ #24293]
1713 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
1714 * localedata/locales/cmn_TW (era): Likewise.
1715 * localedata/locales/hak_TW (era): Likewise.
1716 * localedata/locales/lzh_TW (era): Likewise.
1717 * localedata/locales/nan_TW (era): Likewise.
1718
5dde9ef7
DD
17192019-03-14 Adam Maris <amaris@redhat.com>
1720
1721 * malloc/malloc.c (_int_malloc): Check for large bin list
1722 corruption when inserting unsorted chunk.
1723
a0a0dc83
FW
17242019-03-14 Florian Weimer <fweimer@redhat.com>
1725
1726 Remove obsolete, never-implemented XSI STREAMS declarations.
1727 * manual/terminal.texi (Allocation): Remove portability note and
1728 adjust example.
1729 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
1730 _SC_STREAMS.
1731 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
1732 * sysdeps/unix/inet/Subdirs (streams): Remove.
1733 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
1734 (conformtest-headers-UNIX98): Likewise.
1735 (conformtest-headers-XOPEN2K): Likewise.
1736 (conformtest-headers-POSIX2008): Likewise.
1737 * posix/compat-streams.c: New file.
1738 * posix/Makefile (routines): Add it.
1739 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
1740 getpmsg, isastream, putmsg, putpmsg.
1741 (GLIBC_2.30): New section.
1742 * bits/stropts.h: Remove file.
1743 * bits/xtitypes.h: Likewise.
1744 * conform/data/stropts.h-data: Likewise.
1745 * include/stropts.h: Likewise.
1746 * include/sys/stropts.h: Likewise.
1747 * include/xtitypes.h: Likewise.
1748 * streams/Makefile: Likewise.
1749 * streams/fattach.c: Likewise.
1750 * streams/fdetach.c: Likewise.
1751 * streams/getmsg.c: Likewise.
1752 * streams/getpmsg.c: Likewise.
1753 * streams/isastream.c: Likewise.
1754 * streams/putmsg.c: Likewise.
1755 * streams/putpmsg.c: Likewise.
1756 * streams/stropts.h: Likewise.
1757 * streams/sys/stropts.h: Likewise.
1758 * sysdeps/ia64/bits/xtitypes.h: Likewise.
1759 * sysdeps/s390/bits/xtitypes.h: Likewise.
1760 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
1761 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
1762 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
1763 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
1764 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
1765 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
1766 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
1767 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
1768 * sysdeps/x86/bits/xtitypes.h: Likewise.
1769
081bdf94
FW
17702019-03-14 Florian Weimer <fweimer@redhat.com>
1771
1772 * nss/tst-nss-files-alias-truncated.c (do_test): Load
1773 libnss_files.
1774 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
1775 but not with libnss_files.
1776 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
1777
97f8225d
ZW
17782019-03-14 Zack Weinberg <zackw@panix.com>
1779
1780 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
1781 Specify encoding="utf-8" when opening headers to check.
1782
0c1041ee
JM
17832019-03-13 Joseph Myers <joseph@codesourcery.com>
1784
1785 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1786 version to 5.0.
1787 (Context.checkout_tar): Handle variable major version for Linux
1788 kernel.
1789
043440e7
FW
17902019-03-13 Florian Weimer <fweimer@redhat.com>
1791
1792 [BZ #24047]
1793 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
1794
29218b26
ZW
17952019-03-13 Zack Weinberg <zackw@panix.com>
1796
1797 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
1798 Move to stdlib.
1799 * include/inttypes.h: Adjust to match.
1800 * include/stdint.h: New wrapper.
1801
711a322a
ZW
18022019-03-13 Zack Weinberg <zackw@panix.com>
1803
1804 * scripts/check-obsolete-constructs.py: New test script.
1805 * scripts/check-installed-headers.sh: Remove tests for
1806 obsolete typedefs, superseded by check-obsolete-constructs.py.
1807 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
1808 as a special test. Update commentary.
1809 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
1810 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
1811 Update commentary.
1812 * posix/sys/types.h (__u_intN_t): Remove.
1813 (u_int8_t): Typedef using __uint8_t.
1814 (u_int16_t): Typedef using __uint16_t.
1815 (u_int32_t): Typedef using __uint32_t.
1816 (u_int64_t): Typedef using __uint64_t.
1817
7c651308
SL
18182019-03-13 Stefan Liebler <stli@linux.ibm.com>
1819
1820 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
1821 call _dl_procinfo.
1822 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
1823 Ignore types other than AT_HWCAP.
1824 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
1825 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
1826 Likewise.
1827 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
1828 in the case of falling back to generic output mechanism.
1829 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
1830 Likewise.
1831
38b52865
FW
18322019-03-12 Florian Weimer <fweimer@redhat.com>
1833
1834 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
1835
08504de7
FW
18362019-03-12 Florian Weimer <fweimer@redhat.com>
1837
1838 [BZ #24047]
1839 resolv: Enable full ICMP errors for UDP DNS sockets
1840 * resolv/res_enable_icmp.c: New file.
1841 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
1842 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
1843 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
1844 socket.
1845
5fbcd763
MH
18462019-03-11 Mao Han <han_mao@c-sky.com>
1847
1848 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
1849 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
1850
c4e5f34b
MH
18512019-03-11 Mao Han <han_mao@c-sky.com>
1852
1853 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
1854 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
1855 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
1856
827e30f3
MH
18572019-03-11 Mao Han <han_mao@c-sky.com>
1858
1859 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
1860 directly.
1861 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
1862 definition.
1863
6229c9bf
MH
18642019-03-11 Mao Han <han_mao@c-sky.com>
1865
1866 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
1867 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
1868 in mcontext_t
1869
86bdd49d
MF
18702019-03-08 Mike FABIAN <mfabian@redhat.com>
1871
1872 [BZ #24307]
1873 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
1874 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
1875 Unicode 12.0.0.
1876 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
1877 * localedata/unicode-gen/PropList.txt: Likewise.
1878 * localedata/unicode-gen/UnicodeData.txt: Likewise.
1879 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
1880 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
1881 * localedata/charmaps/UTF-8: Regenerate.
1882 * localedata/locales/i18n_ctype: Likewise.
1883 * localedata/locales/tr_TR: Likewise.
1884 * localedata/locales/translit_circle: Likewise.
1885 * localedata/locales/translit_cjk_compat: Likewise.
1886 * localedata/locales/translit_combining: Likewise.
1887 * localedata/locales/translit_compat: Likewise.
1888 * localedata/locales/translit_font: Likewise.
1889 * localedata/locales/translit_fraction: Likewise.
1890
c5f65462
JM
18912019-03-07 Joseph Myers <joseph@codesourcery.com>
1892
1893 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
1894 than after operators.
1895 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
1896 (setitimer_locked): Likewise.
1897 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
1898 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
1899 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
1900 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
1901 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
1902 (PPC_CPU_SUPPORTED): Likewise.
1903 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
1904 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
1905 (stat_overflow): Likewise.
1906 (statfs_overflow): Likewise.
1907 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
1908 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
1909 (eq_ttyname_r): Likewise.
1910 (run_chroot_tests): Likewise.
1911
27a2f2f3
FW
19122019-03-07 Florian Weimer <fweimer@redhat.com>
1913
1914 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
1915 header check.
1916
ae514971 19172019-03-07 Martin Liska <mliska@suse.cz>
1918
1919 * math/Makefile: Change location where math-vector-fortran.h is
1920 installed.
1921 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
1922 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
1923 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
1924 * scripts/check-installed-headers.sh: Skip Fortran header files.
1925 * scripts/check-wrapper-headers.py: Likewise.
1926
0ddb7ea8
AZ
19272019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1928
1929 * nptl/nptl-init.c (__have_futex_clock_realtime,
1930 __have_futex_clock_realtime): Remove definition.
1931 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
1932 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
1933 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
1934 __ASSUME_FUTEX_CLOCK_REALTIME support.
1935 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
1936 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1937 * sysdeps/unix/sysv/linux/kernel-features.h
1938 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
1939 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
1940 Adjust comment.
1941
590675c0
GG
19422019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1943
1944 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
1945 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
1946 __GI___wcscpy and wcscpy.
1947
de71ee7b
FW
19482019-03-04 Florian Weimer <fweimer@redhat.com>
1949
1950 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
1951 declaration.
1952 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
1953 defined.
1954
ce6ddae0
SL
19552019-03-04 Stefan Liebler <stli@linux.ibm.com>
1956
1957 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
1958 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1959
31efface
TS
19602019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1961
1962 [BZ #24162]
1963 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
1964 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
1965
f0eaf862
GG
19662019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1967
1968 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
1969 tests.
1970 (do_test): Likewise.
1971 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
1972 (do_test_call_varg): Likewise.
1973 (do_test_call_rarg): Likewise.
1974 * sysdeps/ieee754/ldbl-opt/Makefile
1975 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
1976 tst-nldbl-error.
1977 ($(objpfx)tst-nldbl-warn.c): New rule.
1978 ($(objpfx)tst-nldbl-error.c): Likewise.
1979 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
1980 New variables.
1981
d11086a9
GG
19822019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1983
1984 [BZ #23984]
1985 * include/bits/error-ldbl.h: New file.
1986 * include/error.h: Include stdarg.h. Declare internal functions
1987 __error_internal and __error_at_line_internal.
1988 * misc/Makefile (headers): Add bits/error-ldbl.h.
1989 * misc/bits/error-ldbl.h: New file.
1990 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
1991 avoid the inclusion of bits/error.h.
1992 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
1993 and __nldbl_error_at_line.
1994 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
1995 (__nldbl_error, __ndlbl_error_at_line): New functions.
1996 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
1997 Redirect error and error_at_line.
1998 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2000 Likewise.
2001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2002 Likewise.
2003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2004 Likewise.
2005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2006 Likewise.
2007 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2008 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2009 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2010
90188e7d
GG
20112019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2012
2013 [BZ #23984]
2014 * include/bits/err-ldbl.h: New file.
2015 * include/err.h: Add prototypes for the internal functions:
2016 __vwarnx_internal and __vwarn_internal.
2017 * misc/Makefile (headers): Add bits/err-ldbl.h.
2018 * misc/bits/err-ldbl.h: New file.
2019 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
2020 defined, i.e.: when -mlong-double-64 is in use.
2021 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
2022 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
2023 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
2024 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
2025 (VA_CALL): New macro.
2026 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
2027 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
2028 functions.
2029 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
2030 declare prototypes for the new functions.
2031 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2033 Likewise.
2034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2035 Likewise.
2036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2037 Likewise.
2038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2039 Likewise.
2040 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2041 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2042 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2043
ea2d89d0
GG
20442019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2045
2046 * sysdeps/ieee754/ldbl-opt/Makefile
2047 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
2048 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
2049 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
2050
6e1f6440
GG
20512019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2052
2053 [BZ #23983]
2054 * argp/Makefile (headers): Add bits/argp-ldbl.h.
2055 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
2056 * argp/bits/argp-ldbl.h: New file.
2057 * include/argp.h: Include stdarg.h. Add prototypes for internal
2058 functions: __argp_error_internal and __argp_failure_internal.
2059 * include/bits/argp-ldbl.h: New file.
2060 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
2061 __nldbl_argp_error and __nldbl_argp_failure.
2062 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
2063 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
2064 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
2065 Redirect argp_error and argp_failure calls.
2066 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2068 Likewise.
2069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2070 Likewise.
2071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2072 Likewise.
2073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2074 Likewise.
2075 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2076 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2077 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2078
c259196b
FW
20792019-03-01 Florian Weimer <fweimer@redhat.com>
2080
2081 [BZ #20419]
2082 * elf/tst-big-note-lib.S: Create a syntactically valid note.
2083 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
2084 code, to avoid creating an ABI tag note.
2085 (modules-names-nobuild): Add tst-big-note-lib.
2086
928b305d
SL
20872019-03-01 Stefan Liebler <stli@linux.ibm.com>
2088
2089 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
2090 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
2091
36f30c10
FW
20922019-03-01 Florian Weimer <fweimer@redhat.com>
2093
2094 [BZ #20271]
2095 * sysdeps/unix/sysv/linux/netlink_assert_response.c
2096 (__netlink_assert_response): Add additional missing newlines.
2097
462e83a4
JM
20982019-02-28 Joseph Myers <joseph@codesourcery.com>
2099
2100 * sysdeps/powerpc/powerpc32/dl-machine.c
2101 (__elf_machine_fixup_plt): Use space before '('.
2102 (__process_machine_rela): Likewise.
2103 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
2104 Likewise.
2105 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
2106 Likewise.
2107 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
2108 Likewise.
2109 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
2110 (pattern): Likewise.
2111 (delta): Likewise.
2112 (check_result): Likewise.
2113 (check_excepts): Likewise.
2114 (check_op): Likewise.
2115 (fail_xr): Likewise.
2116 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
2117 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
2118 (SCNHSZ): Likewise.
2119 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
2120 Likewise.
2121 (ARGS): Likewise.
2122 (__makecontext): Likewise.
2123 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
2124 Likewise.
2125
cc3e573c
FW
21262019-02-28 Florian Weimer <fweimer@redhat.com>
2127
2128 [BZ #23937]
2129 elf: Add test with a local IFUNC resolver.
2130 * elf/ifuncmain9.c: New file.
2131 * elf/ifuncmain9pic.c: Likewise.
2132 * elf/ifuncmain9picstatic.c: Likewise.
2133 * elf/ifuncmain9pie.c: Likewise.
2134 * elf/ifuncmain9static.c: Likewise.
2135 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
2136 ifuncmain9static, ifuncmain9picstatic.
2137 * elf/Makefile [multi-arch && build-shared] (tests-internal):
2138 Add ifuncmain9, ifuncmain9pic.
2139 * elf/Makefile [multi-arch && build-shared && have-fpie]
2140 (ifunc-pie-tests): Add ifuncmain9pie.
2141 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
2142 (CFLAGS-ifuncmain9picstatic.c): Likewise.
2143 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
2144
92ad88fe
L
21452019-02-27 H.J. Lu <hongjiu.lu@intel.com>
2146
2147 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
2148 * configure: Regenerated.
2149 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
2150
6bd4d02e
AZ
21512019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2152
2153 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
2154 symbol as __wcspcy instead of wcscpy.
2155
1b218417
ST
21562019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2157
2158 * include/stdio.h (__renameat2): New hidden prototype.
2159 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
2160 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
2161 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
2162 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
2163
c4f50205
JM
21642019-02-27 Joseph Myers <joseph@codesourcery.com>
2165
f627dd4d
JM
2166 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
2167 if statement.
2168
c4f50205
JM
2169 * benchtests/bench-strcpy.c (do_test): Use space before '('.
2170 * benchtests/bench-string.h (cmdline_process_function): Likewise.
2171 * benchtests/bench-strlen.c (do_test): Likewise.
2172 (test_main): Likewise.
2173 * catgets/gencat.c (read_old): Likewise.
2174 * elf/cache.c (load_aux_cache): Likewise.
2175 * iconvdata/bug-iconv8.c (do_test): Likewise.
2176 * math/test-tgmath-ret.c (do_test): Likewise.
2177 * nis/nis_call.c (rec_dirsearch): Likewise.
2178 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2179 * nptl/tst-audit-threads.c (do_test): Likewise.
2180 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
2181 * nss/nss_test1.c (init): Likewise.
2182 * nss/test-netdb.c (test_hosts): Likewise.
2183 * posix/execvpe.c (maybe_script_execute): Likewise.
2184 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
2185 * stdio-common/tst-printf.c (do_test): Likewise.
2186 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
2187 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
2188 * stdlib/qsort.c (STACK_SIZE): Likewise.
2189 * stdlib/test-canon.c (do_test): Likewise.
2190 * stdlib/tst-swapcontext1.c (do_test): Likewise.
2191 * string/memcmp.c (OPSIZ): Likewise.
2192 * string/test-strcpy.c (do_test): Likewise.
2193 (do_random_tests): Likewise.
2194 * string/test-strlen.c (do_test): Likewise.
2195 (test_main): Likewise.
2196 * string/test-strrchr.c (do_test): Likewise.
2197 (do_random_tests): Likewise.
2198 * string/tester.c (test_memrchr): Likewise.
2199 (test_memchr): Likewise.
2200 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
2201 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
2202 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
2203 (read_encoded_value_with_base): Likewise.
2204 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
2205 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
2206 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
2207 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
2208 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
2209 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
2210 Likewise.
2211 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
2212 Likewise.
2213 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
2214 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
2215 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
2216 Likewise.
2217 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
2218 Likewise.
2219 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
2220 Likewise.
2221 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
2222 Likewise.
2223 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
2224 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
2225 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2226 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
2227 * time/test_time.c (main): Likewise.
2228
7b3fb620
AZ
22292019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2230
457208b1
AZ
2231 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
2232
30a7e208
AZ
2233 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
2234 wmemcpy.
2235
ddf21ec7
AZ
2236 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
2237 wmemcpy.
2238
4d801563
AZ
2239 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
2240
81a14439
AZ
2241 * include/wchar.h (__wcscpy): New prototype.
2242 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
2243 (__wcscpy): Route internal symbol to generic implementation.
2244 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
2245 Add internal __wcscpy alias.
2246 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
2247 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
2248 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
2249 * wcsmbs/wcscpy.c (wcscpy): Add
2250 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
2251 use generic implementation.
2252 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
2253
39ef0744
AZ
2254 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
2255 wmemset.
2256
7b3fb620
AZ
2257 * sysdeps/m68k/wcpcpy.c: Remove file.
2258 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
2259
e0cb7b61
JM
22602019-02-26 Joseph Myers <joseph@codesourcery.com>
2261
aa0e4663
JM
2262 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
2263 than after operators.
2264 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
2265 * sysdeps/mach/hurd/getcwd.c
2266 (__hurd_canonicalize_directory_name_internal): Likewise.
2267 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
2268 (pthread_mutex_consistent): Likewise.
2269 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
2270 Likewise.
2271 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
2272 (__pthread_mutex_transfer_np): Likewise.
2273 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
2274 (__pthread_mutex_unlock): Likewise.
2275 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
2276 (mtx_owned_p): Likewise.
2277 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
2278 (pthread_mutexattr_getrobust): Likewise.
2279 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
2280 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
2281 Likewise.
2282 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2283 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
2284 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
2285 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
2286 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
2287 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2288 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
2289 Likewise.
2290 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
2291 Likewise.
2292 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
2293 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
2294 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
2295 (____longjmp_chk): Likewise.
2296 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
2297 Likewise.
2298 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2299 (INTERNAL_SYSCALL): Likewise.
2300 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2301 (INTERNAL_SYSCALL): Likewise.
2302 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2303 (__get_clockfreq_via_cpuinfo): Likewise.
2304
e0cb7b61
JM
2305 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
2306 comments.
2307 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
2308 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
2309 (WORD_COPY_BWD): Likewise.
2310 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2311 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2312 Likewise.
2313 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
2314 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
2315 comment.
2316 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
2317
a04549c1
JM
23182019-02-25 Joseph Myers <joseph@codesourcery.com>
2319
2320 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
2321 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
2322 rather than after operators.
2323 * elf/cache.c (print_cache): Likewise.
2324 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
2325 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
2326 * hurd/hurdinit.c (_hurd_setproc): Likewise.
2327 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
2328 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
2329 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
2330 (reauth_proc): Likewise.
2331 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
2332 (__file_name_split_at): Likewise.
2333 (__directory_name_split_at): Likewise.
2334 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
2335 * hurd/port2fd.c (_hurd_port2fd): Likewise.
2336 * iconv/gconv_dl.c (do_print): Likewise.
2337 * inet/netinet/in.h (struct sockaddr_in): Likewise.
2338 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
2339 * locale/setlocale.c (new_composite_name): Likewise.
2340 * malloc/memusagestat.c (main): Likewise.
2341 * misc/fstab.c (fstab_convert): Likewise.
2342 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
2343 Likewise.
2344 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
2345 (getgrent_next_file): Likewise.
2346 (internal_getgrnam_r): Likewise.
2347 (internal_getgrgid_r): Likewise.
2348 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
2349 Likewise.
2350 (internal_getgrent_r): Likewise.
2351 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
2352 (getpwent_next_nss): Likewise.
2353 (getpwent_next_file): Likewise.
2354 (internal_getpwnam_r): Likewise.
2355 (internal_getpwuid_r): Likewise.
2356 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
2357 Likewise.
2358 (getspent_next_nss): Likewise.
2359 (internal_getspnam_r): Likewise.
2360 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
2361 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
2362 * string/strchr.c (STRCHR): Likewise.
2363 * string/strchrnul.c (STRCHRNUL): Likewise.
2364 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
2365 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2366 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
2367 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
2368 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
2369 Likewise.
2370 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
2371 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
2372 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
2373 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
2374 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
2375 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
2376 (open_file): Likewise.
2377 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
2378 (pthread_mutexattr_setprotocol): Likewise.
2379 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2380 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
2381 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
2382 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
2383 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
2384 Likewise.
2385 (elf_machine_rela): Likewise.
2386 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2387 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2388 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
2389 * sysdeps/posix/rename.c (rename): Likewise.
2390 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
2391 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
2392 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
2393 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
2394 * sysdeps/unix/grantpt.c (grantpt): Likewise.
2395 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
2396 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
2397 Likewise.
2398 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
2399 Likewise.
2400 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
2401 * time/tzfile.c (__tzfile_compute): Likewise.
2402
34a5a146
JM
24032019-02-22 Joseph Myers <joseph@codesourcery.com>
2404
2405 * benchtests/bench-memmem.c (simple_memmem): Break lines before
2406 rather than after operators.
2407 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
2408 * crypt/md5.c (md5_finish_ctx): Likewise.
2409 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
2410 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
2411 * elf/cache.c (load_aux_cache): Likewise.
2412 * elf/dl-load.c (open_verify): Likewise.
2413 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
2414 * elf/readelflib.c (process_elf_file): Likewise.
2415 * elf/rtld.c (dl_main): Likewise.
2416 * elf/sprof.c (generate_call_graph): Likewise.
2417 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
2418 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
2419 * hurd/dtable.c (reauth_dtable): Likewise.
2420 * hurd/getdport.c (__getdport): Likewise.
2421 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
2422 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
2423 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
2424 Likewise.
2425 * hurd/hurdioctl.c (fioctl): Likewise.
2426 * hurd/hurdselect.c (_hurd_select): Likewise.
2427 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
2428 (STOPSIGS): Likewise.
2429 * hurd/hurdstartup.c (_hurd_startup): Likewise.
2430 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
2431 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
2432 * hurd/msgportdemux.c (msgport_server): Likewise.
2433 * hurd/setauth.c (_hurd_setauth): Likewise.
2434 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
2435 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
2436 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
2437 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
2438 * login/tst-utmp.c (do_check): Likewise.
2439 (simulate_login): Likewise.
2440 * mach/lowlevellock.h (lll_lock): Likewise.
2441 (lll_trylock): Likewise.
2442 * math/test-fenv.c (ALL_EXC): Likewise.
2443 * math/test-fenvinline.c (ALL_EXC): Likewise.
2444 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
2445 * nis/nis_call.c (__do_niscall3): Likewise.
2446 * nis/nis_callback.c (cb_prog_1): Likewise.
2447 * nis/nis_defaults.c (searchaccess): Likewise.
2448 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2449 * nis/nis_ismember.c (internal_ismember): Likewise.
2450 * nis/nis_local_names.c (nis_local_principal): Likewise.
2451 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
2452 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
2453 Likewise.
2454 * nis/ypclnt.c (yp_match): Likewise.
2455 (yp_first): Likewise.
2456 (yp_next): Likewise.
2457 (yp_master): Likewise.
2458 (yp_order): Likewise.
2459 * nscd/hstcache.c (cache_addhst): Likewise.
2460 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2461 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
2462 (internal_getpwuid_r): Likewise.
2463 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
2464 * posix/glob.h (__GLOB_FLAGS): Likewise.
2465 * posix/regcomp.c (peek_token): Likewise.
2466 (peek_token_bracket): Likewise.
2467 (parse_expression): Likewise.
2468 * posix/regexec.c (sift_states_iter_mb): Likewise.
2469 (check_node_accept_bytes): Likewise.
2470 * posix/tst-spawn3.c (do_test): Likewise.
2471 * posix/wordexp-test.c (testit): Likewise.
2472 * posix/wordexp.c (parse_tilde): Likewise.
2473 (exec_comm): Likewise.
2474 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
2475 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
2476 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
2477 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
2478 * stdio-common/tst-fileno.c (do_test): Likewise.
2479 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
2480 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
2481 * stdlib/strtod_l.c (round_and_return): Likewise.
2482 (____STRTOF_INTERNAL): Likewise.
2483 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
2484 * string/strcspn.c (STRCSPN): Likewise.
2485 * string/test-memmem.c (simple_memmem): Likewise.
2486 * termios/tcsetattr.c (tcsetattr): Likewise.
2487 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
2488 * time/asctime.c (asctime_internal): Likewise.
2489 * time/strptime_l.c (__strptime_internal): Likewise.
2490 * time/sys/time.h (timercmp): Likewise.
2491 * time/tzfile.c (__tzfile_compute): Likewise.
2492
b0b50fe0
PF
24932019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
2494
b39d961c
TS
2495 [BZ #21915]
2496 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
b0b50fe0 2497
f43b8dd5
GG
24982019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2499
2500 * argp/argp-help.c (__argp_error_internal): New function,
2501 renamed from __argp_error, but that takes a 'mode_flags'
2502 parameter to control the format of long double parameters.
2503 (__argp_error): Converted into a call __argp_error_internal.
2504 (__argp_failure_internal): New function, renamed from
2505 __argp_failure, but that takes a 'mode_flags' parameter.
2506 (__argp_failure): Converted into a call __argp_failure_internal.
2507 * misc/err.c (__vwarnx_internal): New function, renamed from
2508 vwarnx, but that takes a 'mode_flags' parameter.
2509 (vwarnx): Converted into a call to __vwarnx_internal.
2510 (__vwarn_internal): New function, renamed from vwarn, but that
2511 takes a 'mode_flags' parameter.
2512 (vwarn): Converted into a call to __vwarn_internal.
2513 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
2514 call to __vfxprintf with 'mode_flags'.
2515 (__error_internal): New function, renamed from error, but that
2516 takes a 'mode_flags' parameter.
2517 (error): Converted into a call to __error_internal.
2518 (__error_at_line_internal): New function, renamed from
2519 error_at_line, but that takes a 'mode_flags' parameter.
2520 (error_at_line): Converted into a call to
2521 __error_at_line_internal.
2522 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
2523 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
2524 Likewise.
2525
dc0afac3 25262019-02-20 Martin Liska <mliska@suse.cz>
2527
2528 * math/Makefile: Install math-vector-fortran.h.
2529 * bits/math-vector-fortran.h: New file.
2530 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
2531
4a2dd41c
GG
25322019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2533
2534 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
2535 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
2536
04de9302
WS
25372019-02-19 Wolfram Sang <wsa@the-dreams.de>
2538
2539 * nptl/pthread_mutex_trylock.c: Fix comment.
2540
b026ce1e
CD
25412019-02-19 Carlos O'Donell <carlos@redhat.com>
2542
2543 * nptl/pthread_tryjoin.c: Fix comment.
2544
8c9289b6
JM
25452019-02-18 Joseph Myers <joseph@codesourcery.com>
2546
2547 [BZ #24231]
2548 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
2549 after R_SPARC_H34 case.
2550
308e022f
FW
25512019-02-18 Florian Weimer <fweimer@redhat.com>
2552
2553 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
2554 (getanswer): Do not call Dprintf.
2555 (res_gethostbyname2_context): Likewise.
2556 (res_gethostbyaddr_context): Likewise.
2557
a5406364
FW
25582019-02-18 Florian Weimer <fweimer@redhat.com>
2559
2560 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
2561 declaration.
2562 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
2563 Remove definitions.
2564 * libio/stdfiles.c: Update comment.
2565 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
2566 set _IO_stdin, _IO_stdout, _IO_stderr.
2567 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
2568 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
2569 inline function.
2570 (_IO_deallocate_file): New inline function.
2571 * libio/iolibio.h (_IO_vprintf): Remove definition.
2572 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
2573 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
2574 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
2575 _IO_legacy_file.
2576 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
2577 __builtin_expect. Use _IO_legacy_file.
2578
6c29942c
SL
25792019-02-18 Stefan Liebler <stli@linux.ibm.com>
2580
2581 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
2582 Initialize ctid with a known value and remove update of ctid
2583 after clone.
2584 (wait_tid): Adjust arguments and call futex_wait with ctid_val
2585 as assumed current value of ctid_ptr.
2586
225d9445 25872019-02-16 Florian Weimer <fweimer@redhat.com>
ad18dade
FW
2588
2589 Check that non-sysdeps headers have wrapper headers.
2590 * scripts/check-wrapper-headers.py: New file.
2591 * Makefile (tests-special): Add check-wrapper-headers.out.
2592 (check-wrapper-headers.out): New target.
2593 * Rules (tests-special): Add check-wrapper-headers.out.
2594 (check-wrapper-headers.out): New target.
2595
225d9445 25962019-02-16 Florian Weimer <fweimer@redhat.com>
ebd32784
FW
2597
2598 Add missing header wrappers under include/.
2599 * include/ar.h: New file.
2600 * include/bits/mqueue2.h: Likewise.
2601 * include/bits/stdio.h: Likewise.
2602 * include/bits/stdio2.h: Likewise.
2603 * include/fstab.h: Likewise.
2604 * include/fts.h: Likewise.
2605 * include/lastlog.h: Likewise.
2606 * include/netinet/icmp6.h: Likewise.
2607 * include/netinet/igmp.h: Likewise.
2608 * include/netinet/ip6.h: Likewise.
2609 * include/re_comp.h: Likewise.
2610 * include/regexp.h: Likewise.
2611 * include/rpcsvc/bootparam.h: Likewise.
2612 * include/rpcsvc/yp_prot.h: Likewise.
2613 * include/sys/random.h: Likewise.
2614 * include/sys/stropts.h: Likewise.
2615 * include/sys/ttychars.h: Likewise.
2616 * include/sys/vfs.h: Likewise.
2617 * include/wait.h: Likewise.
2618
225d9445 26192019-02-16 Florian Weimer <fweimer@redhat.com>
a198d37a
FW
2620
2621 * nptl_db/proc_service.h: Move to ...
2622 * sysdeps/nptl/proc_service.h: ... here.
2623 * nptl_db/thread_db.h: Move to ...
2624 * sysdeps/nptl/thread_db.h: ... here.
2625 * nptl/descr.h: Include <thread_db.h>.
2626
e442e40d
AZ
26272019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2628
2629 * io/Makefile (tests): Add tst-lockf.
2630 * io/lockf.c (lockf): Use __fcntl and only define for
2631 !__OFF_T_MATCHES_OFF64_T.
2632 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
2633 __OFF_T_MATCHES_OFF64_T case.
2634 * io/tst-lockf.c: New file.
2635 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
2636 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
2637 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
2638 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
2639 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
2640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
2641 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
2642 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
2643 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
2644
bc10e22c
FW
26452019-02-15 Florian Weimer <fweimer@redhat.com>
2646
2647 [BZ #24211]
2648 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
2649 pd->result after the thread descriptor has been freed.
2650
365f05c7
JM
26512019-02-15 Joseph Myers <joseph@codesourcery.com>
2652
8a11f970
JM
2653 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
2654 from function return type.
2655
365f05c7
JM
2656 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
2657
6b5c8607 26582019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
56a731d4
JK
2659
2660 * scripts/test_printers_common.py: Set TERM to a known harmless
2661 value.
2662
712182c8
JM
26632019-02-14 Joseph Myers <joseph@codesourcery.com>
2664
2665 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
2666 (xdr_u_int): Likewise.
2667 (xdr_enum): Likewise.
2668 (xdr_bytes): Reword fall-through comment.
2669 (xdr_string): Likewise.
2670
eb76e5b4
AZ
26712019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2672
2673 [BZ #2421]
2674 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
2675 (tests): Add tst-join8 tst-join9.
2676 * nptl/lll_timedwait_tid.c: Remove file.
2677 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
2678 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
2679 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
2680 * nptl/pthread_join_common.c (timedwait_tid): New function.
2681 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
2682 is set.
2683 * nptl/tst-join5.c (thread_join): New function.
2684 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
2685 check.
2686 * nptl/tst-join8.c: New file.
2687 * nptl/tst-join9.c: Likewise.
2688 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
2689 lll_futex_timed_wait_cancel): Add generic macros.
2690 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
2691 Remove definitions.
2692 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2693 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2694 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2695 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
2696 Remove function.
2697 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
2698 Likewise.
2699 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2700 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
2701 (lll_futex_timed_wait_cancel): New macro.
2702
3904fd85
WD
27032019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
2704
2705 * benchtests/Makefile: Add malloc-simple benchmark.
2706 * benchtests/bench-malloc-simple.c: New benchmark.
2707
24ca04fe
SP
27082019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
2709
2710 * benchtests/bench-memmove.c (do_one_test): Remove unused
2711 ORIG_SRC.
2712 (do_test): Adjust.
2713 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
2714 ORIG_SRC.
2715 (do_test): Adjust.
2716
85bd1ddb
JW
27172019-01-13 Jim Wilson <jimw@sifive.com>
2718
2719 [BZ #24040]
2720 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
2721 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
2722 (func): New.
2723 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
2724 call func directly.
2725 * nptl/Makefile (tests): Add tst-unwind-thread.
2726 (CFLAGS-tst-unwind-thread.c): Define.
2727 * nptl/tst-unwind-thread.c: New file.
2728 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
2729 as undefined.
2730
86140c62
JM
27312019-02-13 Joseph Myers <joseph@codesourcery.com>
2732
10756268
JM
2733 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
2734 comment wording.
2735 * nis/nis_call.c (__do_niscall3): Likewise.
2736
05383720
JM
2737 * catgets/gencat.c (normalize_line): Use braces around empty
2738 'else' body.
2739 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2740 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
2741 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
2742 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
2743 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
2744 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
2745 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
2746 definition.
2747
86140c62
JM
2748 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
2749 execlp returns.
2750
16f87cfd
WD
27512019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
2752
2753 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
2754 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
2755 * benchtests/bench-strchr.c (stupid_strchr): Remove.
2756 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
2757 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
2758 * benchtests/bench-strlen.c (builtin_strlen): Remove.
2759 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
2760 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
2761 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
2762 * benchtests/bench-strspn.c (stupid_strspn): Remove.
2763 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
2764 * benchtests/bench-bcopy.c: Delete file.
2765 * benchtests/bench-bzero.c: Likewise.
2766 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
2767 (simple_memccpy): Remove.
2768 (generic_memccpy): Add function.
2769 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
2770 * benchtests/bench-memmove.c (simple_bcopy): Remove.
2771 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
2772 (generic_mempcpy): Add new function.
2773 * benchtests/bench-memset.c (simple_bzero): Remove.
2774 (builtin_bzero): Remove.
2775 (builtin_memset): Remove.
2776 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
2777 (generic_rawmemchr): Add new function.
2778
0c6d82e9
FW
27792019-02-12 Florian Weimer <fweimer@redhat.com>
2780
2781 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
2782
b3fbfe81
AZ
27832019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2784
2785 [BZ #24122]
2786 * elf/Makefile (tests): Add tst-audit13.
2787 (modules-names): Add tst-audit13mod1.
2788 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
2789 rule.
2790 * elf/tst-audit13.c: New file.
2791 * elf/tst-audit13mod1.c: Likewise.
2792
3b856d09
FW
27932019-02-12 Florian Weimer <fweimer@redhat.com>
2794
2795 [BZ #24122]
2796 * elf/rtld.c (unload_audit_module): New function.
2797 (report_audit_module_load_error): Likewise.
2798 (load_audit_module): Likewise. Extracted from dl_main. Call
2799 _dl_close if the laversion symbol cannot be found. Use early
2800 returns for error handling. Add malloc error check. Check for a
2801 zero return value from la_version. Remove spurious comment about
2802 static TLS initialization. Remove useless casts.
2803 (notify_audit_modules_of_loaded_object): New function. Extracted
2804 from dl_main.
2805 (load_audit_module): Likewise.
2806 (dl_main): Call load_audit_modules.
2807
32db86d5
JM
28082019-02-12 Joseph Myers <joseph@codesourcery.com>
2809
2810 * elf/dl-exception.c (_dl_exception_create_format): Add
2811 fall-through comments.
2812 * elf/ldconfig.c (parse_conf_include): Likewise.
2813 * elf/rtld.c (print_statistics): Likewise.
2814 * locale/programs/charmap.c (parse_charmap): Likewise.
2815 * misc/mntent_r.c (__getmntent_r): Likewise.
2816 * posix/wordexp.c (parse_arith): Likewise.
2817 (parse_backtick): Likewise.
2818 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
2819 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
2820 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2821
a51bc4fe
PC
28222019-02-11 Paul A. Clarke <pc@us.ibm.com>
2823
2824 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
2825 Use float instead of double.
2826
fb25b135
TS
28272019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
2828
2829 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
2830
32ea7299
JM
28312019-02-08 Joseph Myers <joseph@codesourcery.com>
2832
2833 * sysdeps/powerpc/bits/mathinline.h: Remove.
2834
eef4d4f8
FW
28352019-02-08 Florian Weimer <fweimer@redhat.com>
2836
2837 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
2838 * math/bits/math-finite.h: Move to ...
2839 * bits/math-finite.h: ... here.
2840
fdfbd47d
FW
28412019-02-08 Florian Weimer <fweimer@redhat.com>
2842
2843 * sysdeps/generic/bits/unistd_ext.h: Move to ...
2844 * bits/unistd_ext.h: here.
2845
11eb21c4
PF
28462019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
2847
2848 [BZ #21915]
2849 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
2850 * nss/tst-nss-files-hosts-long.c: New file.
2851 * nss/tst-nss-files-hosts-long.root: New directory.
2852 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
2853 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
2854
e47d82c9
FW
28552019-02-08 Florian Weimer <fweimer@redhat.com>
2856
2857 * include/bits/unistd_ext.h: Remove file.
2858 * posix/bits/unistd_ext.h: Move to ...
2859 * sysdeps/generic/bits/unistd_ext.h: ... here.
2860
8f89ab21
FW
28612019-02-08 Florian Weimer <fweimer@redhat.com>
2862
2863 * include/bits/unistd_ext.h: New file.
2864
144a794e
TS
28652019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
2866
2867 * time/tst-strftime2.c: Use array_length macros instead of magic
2868 numbers.
2869
669ff911
FW
28702019-02-08 Florian Weimer <fweimer@redhat.com>
2871
2872 [BZ #24161]
2873 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
2874 argument.
2875 * nptl/register-atfork.c (__run_fork_handlers): Only perform
2876 locking if the new do_locking argument is true.
2877 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
2878 __run_fork_handlers.
2879
d0bd87d4 28802019-02-08 Florian Weimer <fweimer@redhat.com>
1d0fc213
FW
2881
2882 [BZ #6399]
2883 Linux: Add gettid system call wrapper.
2884 * posix/Makefile (headers): Add bits/unistd_ext.h.
2885 * posix/bits/unistd_ext.h: New file.
2886 * posix/unistd.h: Include it.
2887 * manual/process.texi (Process Identification): Document gettid.
2888 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
2889 tst-gettid, tst-gettid-kill.
2890 (tst-gettid): Link with $(shared-thread-library).
2891 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
2892 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
2893 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
2894 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
2895 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
2896 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
2897 Add gettid.
2898 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
2899 Likewise.
2900 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
2901 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
2902 Likewise.
2903 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
2904 Likewise.
2905 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
2906 Likewise.
2907 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
2908 Likewise.
2909 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
2910 Likewise.
2911 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
2912 Likewise.
2913 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
2914 Likewise.
2915 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2916 (GLIBC_2.30): Likewise.
2917 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2918 (GLIBC_2.30): Likewise.
2919 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2920 (GLIBC_2.30): Likewise.
2921 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2922 (GLIBC_2.30): Likewise.
2923 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
2924 Likewise.
2925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2926 (GLIBC_2.30): Likewise.
2927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2928 (GLIBC_2.30): Likewise.
2929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
2930 (GLIBC_2.30): Likewise.
2931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
2932 (GLIBC_2.30): Likewise.
2933 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
2934 Likewise.
2935 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
2936 Likewise.
2937 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
2938 Likewise.
2939 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
2940 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
2941 Likewise.
2942 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
2943 Likewise.
2944 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
2945 Likewise.
2946 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
2947 Likewise.
2948 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
2949
225d9445 29502019-02-08 Florian Weimer <fweimer@redhat.com>
f289e656
FW
2951
2952 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
2953 compatibility symbols.
2954
823624bd
SL
29552019-02-07 Stefan Liebler <stli@linux.ibm.com>
2956
2957 [BZ #24180]
2958 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2959 Add compiler barriers and comments.
2960
8311c83f
FW
29612019-02-07 Florian Weimer <fweimer@redhat.com>
2962
2963 * include/array_length.h (array_length): Do not use a statement
2964 expression and _Static_assert, so that array_length can be used at
2965 file scope and as a constant expression.
2966
94b63e66
FW
29672019-02-07 Florian Weimer <fweimer@redhat.com>
2968
2969 * support/xdlfcn.h (xdlmopen): Declare.
2970 * support/xdlmopen.c: New file.
2971 * support/Makefile (libsupport-routines): Add xdlmopen.
2972
c2d8f0b7
JM
29732019-02-06 Joseph Myers <joseph@codesourcery.com>
2974
2975 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
2976 before return type, without separate inline.
2977 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
2978 * elf/dl-tunables.h (tunable_is_name): Likewise.
2979 * malloc/malloc.c (do_set_trim_threshold): Likewise.
2980 (do_set_top_pad): Likewise.
2981 (do_set_mmap_threshold): Likewise.
2982 (do_set_mmaps_max): Likewise.
2983 (do_set_mallopt_check): Likewise.
2984 (do_set_perturb_byte): Likewise.
2985 (do_set_arena_test): Likewise.
2986 (do_set_arena_max): Likewise.
2987 (do_set_tcache_max): Likewise.
2988 (do_set_tcache_count): Likewise.
2989 (do_set_tcache_unsorted_limit): Likewise.
2990 * nis/nis_subr.c (count_dots): Likewise.
2991 * nptl/allocatestack.c (advise_stack_range): Likewise.
2992 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
2993 (do_sin): Likewise.
2994 (reduce_sincos): Likewise.
2995 (do_sincos): Likewise.
2996 * sysdeps/unix/sysv/linux/x86/elision-conf.c
2997 (do_set_elision_enable): Likewise.
2998 (TUNABLE_CALLBACK_FNDECL): Likewise.
2999
3b935595
FW
30002019-02-06 Florian Weimer <fweimer@redhat.com>
3001
3002 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
3003 (xdlsym): Use dlerror to detect a NULL symbol.
3004
b4333340
FW
30052019-02-06 Florian Weimer <fweimer@redhat.com>
3006
3007 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
3008 <stap-probe.h>.
3009 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3010
b6d8a999
SL
30112019-02-06 Stefan Liebler <stli@linux.ibm.com>
3012
3013 * libio/tst-bz24153.c (wide): Use wide char format specifier.
3014
94eeeec0
SL
30152019-02-06 Stefan Liebler <stli@linux.ibm.com>
3016
3017 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
3018 __wmemcmp and weak alias to wmemcmp.
3019
bc79db3f
SL
30202019-02-06 Stefan Liebler <stli@linux.ibm.com>
3021
3022 [BZ #23403]
3023 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
3024 TLS_TCB_AT_TP tls variant.
3025 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
3026 Add alignment checks.
3027 * support/Makefile (libsupport-routines): Add xposix_memalign and
3028 xpthread_setstack.
3029 * support/support.h: Add xposix_memalign.
3030 * support/xthread.h: Add xpthread_attr_setstack.
3031 * support/xposix_memalign.c: New File.
3032 * support/xpthread_attr_setstack.c: Likewise.
3033
f1ac7455
FW
30342019-02-05 Florian Weimer <fweimer@redhat.com>
3035
3036 [BZ #24164]
3037 arm: Use "nr" constraint for Systemtap probes, to avoid the
3038 compiler using memory operands for constants, due to the "o"
3039 alternative in the default "nor" constraint.
3040 * include/stap-probe.h [USE_STAP_PROBE]: Include
3041 <stap-probe-machine.h>
3042 * sysdeps/generic/stap-probe-machine.h: New file.
3043 * sysdeps/arm/stap-probe-machine.h: Likewise.
3044
7a0dcfc6
JM
30452019-02-04 Joseph Myers <joseph@codesourcery.com>
3046
77dc0d86
JM
3047 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
3048 with 0, not tcache->entries[tc_idx].
3049
7a0dcfc6
JM
3050 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
3051 once.
3052
65f7767a
AS
30532019-02-04 Andreas Schwab <schwab@suse.de>
3054
3055 [BZ #16976]
3056 [BZ #17396]
3057 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
3058 looking up collating elements match against (wide) character
3059 sequence instead of name. Correct alignment adjustment.
3060 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
3061 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
3062 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
3063 (LOCALES): Add cs_CZ.ISO-8859-2.
3064 * posix/tst-fnmatch4.c: New file.
3065 * posix/tst-fnmatch5.c: New file.
3066 * include/wchar.h (__wmemcmp): Declare.
3067 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
3068 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
3069 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
3070 * sysdeps/s390/wmemcmp.c: Likewise.
3071
3f635fb4
L
30722019-02-04 H.J. Lu <hongjiu.lu@intel.com>
3073
3074 [BZ #24155]
3075 CVE-2019-7309
3076 * NEWS: Updated for CVE-2019-7309.
3077 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
3078 upper 32 bits of RDX register for x32. Use unsigned Jcc
3079 instructions, instead of signed.
3080 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
3081 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
3082
2ab5741b
FW
30832019-02-04 Florian Weimer <fweimer@redhat.com>
3084
3085 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
3086 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
3087 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
3088 Likewise.
3089 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
3090 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
3091 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
3092 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
3093 Likewise.
3094 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
3095 Likewise.
3096 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
3097 Likewise.
3098 (posix_spawn_file_actions_addopen): Likewise.
3099 (posix_spawn_file_actions_addclose): Likewise.
3100 (posix_spawn_file_actions_adddup2): Likewise.
3101 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
3102 qualifiers.
3103 (posix_spawn_file_actions_addfchdir_np): Likewise.
3104
8692ebdb
DN
31052019-02-04 David Newall <glibc@davidnewall.com>
3106
3107 elf: Implement --preload option for the dynamic linker.
3108 * elf/rtld.c (preloadarg): New variable.
3109 (handle_preload_list): Pass through “where” argument to
3110 do_preload.
3111 (dl_main): Handle "--preload" and add second call to
3112 handle_preload_list.
3113 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
3114 (tst-rtld-preload-OBJS): Set variable.
3115 (tst-rtld-preload.out): New target.
3116 * elf/tst-rtld-preload.sh: New file.
3117
5e10136b
MM
31182019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
3119
3120 * Makefile (testrun.sh): Exit in case of incorrect argument.
3121
221baae0
FW
31222019-02-04 Florian Weimer <fweimer@redhat.com>
3123
3124 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
3125 alignment gaps.
3126
b8c72381
FW
31272019-02-03 Florian Weimer <fweimer@redhat.com>
3128
3129 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
3130 implicit overflow checks.
3131
11f382ee
AJ
31322019-02-03 Aurelien Jarno <aurelien@aurel32.net>
3133
3134 * stdlib/isomac.c: Include <unistd.h>.
3135
77c7d55e
FW
31362019-02-03 Florian Weimer <fweimer@redhat.com>
3137
3138 * include/time.h (__tzfile_default): Use int, not long int, for
3139 the GMT offsets.
3140 * time/tzfile.c (struct ttinfo): Change type of the offset member
3141 to int.
3142 (__tzfile_read): Remove useless cast.
3143 (__tzfile_default): Adjust prototype.
3144 * time/tzset.c (tz_rule): Change type of the offset member to int.
3145 (parse_offset): Change the type of the sign variable to int.
3146
ee9941f9
FW
31472019-02-03 Florian Weimer <fweimer@redhat.com>
3148
3149 [BZ #24153]
3150 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
3151 * libio/getchar.c (getchar): Likewise.
3152 * libio/getchar_u.c (getchar_unlocked): Likewise.
3153 * libio/getwchar.c (getwchar): Likewise.
3154 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3155 * libio/iogets.c (_IO_gets): Likewise.
3156 * libio/vscanf.c (_IO_vscanf): Likewise.
3157 * libio/vwscanf.c (__vwscanf): Likewise.
3158 * libio/tst-bz24153.c: New file.
3159 * libio/Makefile (tests): Add it.
3160
c70824b9
FW
31612019-02-02 Florian Weimer <fweimer@redhat.com>
3162
3163 [BZ #14829]
3164 * manual/resource.texi (Basic Scheduling Functions): Add
3165 portability note. Change process to task throughout the section.
3166 Remove incorrect comment about sched_yield as it affects
3167 tasks/threads, not entire processes.
3168 * sysdeps/unix/sysv/linux/bits/posix_opt.h
3169 (_POSIX_PRIORITY_SCHEDULING): Update comment.
3170
4dcbbc3b
JM
31712019-02-01 Joseph Myers <joseph@codesourcery.com>
3172
3173 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
3174 * configure: Regenerated.
3175 * manual/install.texi (Tools for Compilation): Update minimum GCC
3176 version.
3177 * INSTALL: Regenerated.
3178
6175507c
FW
31792019-02-01 Florian Weimer <fweimer@redhat.com>
3180
3181 * support/support_test_compare_string.c
3182 (support_test_compare_string): Use "string" in error message.
3183 * support/tst-test_compare_string.c (do_test): Adjust.
3184
baef1943
FW
31852019-02-01 Florian Weimer <fweimer@redhat.com>
3186
3187 * support/support_format_address_family.c
3188 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
3189
395599f0
FW
31902019-02-01 Florian Weimer <fweimer@redhat.com>
3191
3192 * manual/socket.texi (Internet Address Formats): Clarify the byte
3193 order of struct sockaddr_in, struct sockaddr_in6. Document
3194 sin6_flowinfo and sin6_scope_id.
3195
b06f4c00
WD
31962019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
3197
3198 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
3199 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
3200 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
3201 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
3202 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
3203 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
3204
83d1cc42
FX
32052019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3206
3207 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
3208 [!MEMCHR](MEMCHR): Set to __memchr.
3209 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
3210 Add memchr_generic and memchr_nosimd.
3211 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
3212 (__libc_ifunc_impl_list): Add memchr ifuncs.
3213 * sysdeps/aarch64/multiarch/memchr.c: New file.
3214 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
3215 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
3216
c7d3890f
FX
32172019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3218
3219 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
3220 Add memset_emag.
3221 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
3222 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
3223 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
3224 Add IS_EMAG check for ifunc dispatch.
3225 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
3226 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
3227
07c3d1ec
FX
32282019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3229
3230 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
3231 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3232 Add emag.
3233 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
3234 New macro.
3235
114f792e
SL
32362019-02-01 Stefan Liebler <stli@linux.ibm.com>
3237
3238 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
3239
d5627550
VG
32402019-01-31 Vineet Gupta <vgupta@synopsys.com>
3241
3242 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
3243 syscall-template file.
3244
5fc9ed4c
CD
32452019-01-31 Carlos O'Donell <carlos@redhat.com>
3246 Torvald Riegel <triegel@redhat.com>
3247 Rik Prohaska <prohaska7@gmail.com>
3248
3249 [BZ# 23844]
3250 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
3251 tst-rwlock-trywrlock-stall.
3252 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3253 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
3254 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
3255 Set __wrphase_fute to 1 only if we started the write phase.
3256 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
3257 * nptl/tst-rwlock-trywrlock-stall.c: New file.
3258 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
3259 * support/xpthread_rwlock_destroy.c: New file.
3260 * support/xthread.h: Declare xpthread_rwlock_destroy.
3261
932329a5
JM
32622019-02-01 Joseph Myers <joseph@codesourcery.com>
3263
3264 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
3265 version to 4.0.2.
3266
5f10701f
PP
32672019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3268
3269 [BZ #24051]
3270 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
3271 * libio/fileops.c (_IO_new_file_underflow): Likewise
3272 * libio/wfileops.c (_IO_wfile_underflow): Likewise
3273 * libio/putchar.c (putchar): Likewise.
3274 * libio/putchar_u.c (putchar_unlocked): Likewise.
3275 * libio/putwchar.c (putchar): Likewise.
3276 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
3277 * libio/tst-bz24051.c: New test.
3278 * libio/Makefile (tests): Add tst-bz24051
3279
583dd860
PE
32802019-01-31 Paul Eggert <eggert@cs.ucla.edu>
3281
b626c5aa 3282 CVE-2019-9169
583dd860
PE
3283 regex: fix read overrun [BZ #24114]
3284 Problem found by AddressSanitizer, reported by Hongxu Chen in:
3285 https://debbugs.gnu.org/34140
3286 * posix/regexec.c (proceed_next_node):
3287 Do not read past end of input buffer.
3288
2bac7daa
FW
32892019-01-31 Florian Weimer <fweimer@redhat.com>
3290
3291 [BZ #24059]
3292 * nss/nss_files/files-alias.c (get_next_alias): Handle
3293 continuation line without newline at the end.
3294 * nss/tst-nss-files-alias-truncated.c: New file.
3295 * nss/Makefile [$(build-shared)] (tests): Add
3296 tst-nss-files-alias-truncated.
3297 (tst-nss-files-alias-truncated): Link with libnss_files.so.
3298 * support/namespace.h (struct support_chroot_configuration): Add
3299 aliases member.
3300 (struct support_chroot): Add path_aliases member.
3301 * support/support_chroot.c (support_chroot_create): Handle
3302 aliases.
3303 (support_chroot_free): Free path_aliases.
3304
330c9d0d
SP
33052019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
3306
de44ab67
SP
3307 * version.h (RELEASE): Set to "development".
3308 (VERSION): Set to "2.29.9000".
3309 * NEWS: Add section for 2.30.
3310
56c86f5d
SP
3311 * version.h (RELEASE): Set to "stable".
3312 (VERSION): Set to "2.29".
3313 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
3314
330c9d0d
SP
3315 * NEWS: Add the list of bugs fixed in 2.29.
3316 * manual/contrib.texi: Update contributors list with some more
3317 names.
3318 * manual/install.texi: Update latest versions of packages
3319 tested.
3320 * INSTALL: Regenerated.
3321
e1e47c91
SP
33222019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
3323
3324 * po/be.po: Update translations.
3325 * po/bg.po: Likewise.
3326 * po/ca.po: Likewise.
3327 * po/cs.po: Likewise.
3328 * po/da.po: Likewise.
3329 * po/de.po: Likewise.
3330 * po/el.po: Likewise.
3331 * po/eo.po: Likewise.
3332 * po/es.po: Likewise.
3333 * po/fi.po: Likewise.
3334 * po/fr.po: Likewise.
3335 * po/gl.po: Likewise.
3336 * po/hr.po: Likewise.
3337 * po/hu.po: Likewise.
3338 * po/ia.po: Likewise.
3339 * po/id.po: Likewise.
3340 * po/it.po: Likewise.
3341 * po/ja.po: Likewise.
3342 * po/ko.po: Likewise.
3343 * po/lt.po: Likewise.
3344 * po/nb.po: Likewise.
3345 * po/nl.po: Likewise.
3346 * po/pl.po: Likewise.
3347 * po/pt_BR.po: Likewise.
3348 * po/ru.po: Likewise.
3349 * po/rw.po: Likewise.
3350 * po/sk.po: Likewise.
3351 * po/sl.po: Likewise.
3352 * po/sv.po: Likewise.
3353 * po/tr.po: Likewise.
3354 * po/uk.po: Likewise.
3355 * po/vi.po: Likewise.
3356 * po/zh_CN.po: Likewise.
3357 * po/zh_TW.po: Likewise.
3358
8d016826
UB
33592019-01-24 Uroš Bizjak <ubizjak@gmail.com>
3360
3361 [BZ #24130]
3362 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
3363 of $f3 register on $y_is_neg path.
3364
a0bb5abd
ST
33652019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
3366
b96e22d0 3367 [BZ #24110]
a0bb5abd
ST
3368 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
3369 sigaltstack.ss_flags.
3370
b22eed37
TS
33712019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
3372
3373 [BZ #23758]
3374 * manual/time.texi (strftime): Document "%Ey".
3375 * time/strftime_l.c (__strftime_internal): Set the default width
3376 padding with zero of "%Ey" to 2.
3377
32f600a2
TS
3378 [BZ #24096]
3379 * manual/time.texi (strftime): Document "%EC" and "%EY".
3380 * time/Makefile (tests): Add tst-strftime2.
3381 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
3382 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
3383 override padding for "%Ey".
3384 If an optional flag ('_' or '-') is specified to "%EY", interpret the
3385 "%Ey" in the subformat as if decorated with that flag.
3386 * time/tst-strftime2.c: New file.
3387
8e889c5d
AZ
33882019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3389
3367acdb
AZ
3390 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
3391 are not defined.
3392
8e889c5d
AZ
3393 [BZ #24122]
3394 * elf/Makefile (tests): Add tst-audit13.
3395 (modules-names): Add tst-audit13mod1.
3396 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
3397 rule.
3398 * elf/rtld.c (dl_main): Handle invalid audit module version.
3399 * elf/tst-audit13.c: New file.
3400 * elf/tst-audit13mod1.c: Likewise.
3401
a95dc01c
ST
34022019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
3403
3404 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
3405 returned by __hurd_at_flags.
ee4d7902
ST
3406 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
3407 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
3408 directly instead of __hurd_file_name_lookup.
a95dc01c 3409
712f1167
JM
34102019-01-21 Joseph Myers <joseph@codesourcery.com>
3411
3412 * scripts/build-many-glibcs.py (Context.checkout): Default
3413 binutils version to 2.32 branch.
3414
108bc404
FW
34152019-01-21 Florian Weimer <fweimer@redhat.com>
3416
3417 [BZ #20018]
3418 CVE-2016-10739
3419 resolv: Reject trailing characters in host names
3420 * include/arpa/inet.h (__inet_aton_exact): Declare.
3421 (inet_aton): Remove hidden prototype. No longer used internally.
3422 * nscd/gai.c (__inet_aton): Do not define.
3423 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
3424 * nss/digits_dots.c (__inet_aton): Likewise.
3425 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
3426 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
3427 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
3428 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
3429 (tst-resolv-trailing): Likewise.
3430 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
3431 libc.
3432 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
3433 Make static. Add endp parameter.
3434 (__inet_aton_exact): New function.
3435 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
3436 (__inet_addr): Call inet_aton_end.
3437 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
3438 not just IPv6. Call __inet_aton_exact.
3439 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
3440 (tests): Make const. Add additional test cases with trailing
3441 characters.
3442 (do_test): Use array_length.
3443 * resolv/tst-inet_aton_exact.c: New file.
3444 * resolv/tst-resolv-trailing.c: Likewise.
3445 * resolv/tst-resolv-nondecimal.c: Likewise.
3446 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
3447
5165de69
L
34482019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3449
3450 [BZ# 24097]
3451 CVE-2019-6488
3452 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
3453 Clear the upper 32 bits of RSI register.
3454 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
3455 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
3456 and tst-size_t-wcsnlen.
3457 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
3458 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
3459
c7c54f65
L
34602019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3461
3462 [BZ# 24097]
3463 CVE-2019-6488
3464 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
3465 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3466 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3467 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
3468 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
3469
ee915088
L
34702019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3471
3472 [BZ# 24097]
3473 CVE-2019-6488
3474 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
3475 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3476 * sysdeps/x86_64/strcmp.S: Likewise.
3477 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
3478 tst-size_t-strncmp and tst-size_t-wcsncmp.
3479 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
3480 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
3481 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
3482
82d0b4a4
L
34832019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3484
3485 [BZ# 24097]
3486 CVE-2019-6488
3487 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
3488 RDX_LP for length. Clear the upper 32 bits of RDX register.
3489 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
3490 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
3491 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
3492 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
3493
ecd8b842
L
34942019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3495
3496 [BZ# 24097]
3497 CVE-2019-6488
3498 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
3499 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
3500 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
3501 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
3502
231c5676
L
35032019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3504
3505 [BZ# 24097]
3506 CVE-2019-6488
3507 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
3508 length. Clear the upper 32 bits of RDX register.
3509 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3510 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
3511 Likewise.
3512 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
3513 Likewise.
3514 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
3515 tst-size_t-wmemchr.
3516 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
3517
b304fc20
L
35182019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3519
3520 [BZ# 24097]
3521 CVE-2019-6488
3522 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
3523 length. Clear the upper 32 bits of RDX register.
3524 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3525 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3526 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
3527 tst-size_t-wmemcmp.
3528 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
3529 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
3530
97700a34
L
35312019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3532
3533 [BZ# 24097]
3534 CVE-2019-6488
3535 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
3536 upper 32 bits of RDX register.
3537 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
3538 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
3539 tst-size_t-wmemchr.
3540 * sysdeps/x86_64/x32/test-size_t.h: New file.
3541 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
3542 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
3543
6ca53a24
FW
35442019-01-18 Florian Weimer <fweimer@redhat.com>
3545
3546 [BZ #24112]
3547 resolv: Do not send queries for non-host-names in nss_dns.
3548 * resolv/nss_dns/dns-host.c (check_name): New function.
3549 (_nss_dns_gethostbyname2_r): Use it.
3550 (_nss_dns_gethostbyname_r): Likewise.
3551 (_nss_dns_gethostbyname4_r): Likewise.
3552
5e30b8ef
FW
35532019-01-21 Florian Weimer <fweimer@redhat.com>
3554
3555 * resolv/inet_addr.c: Reformat to GNU style.
3556 (__inet_addr, __inet_aton): Update comment.
3557
71effcea
FW
35582019-01-18 Florian Weimer <fweimer@redhat.com>
3559
3560 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
3561 ("malloc: Use current (C11-style) atomics for fastbin access").
3562 This commit introduces a substantial performance regression on
3563 POWER and Aarch64.
3564 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
3565 (REMOVE_FB): Define.
3566 (_int_malloc): Use it and reindent.
3567 (_int_free): Use CAS loop with
3568 catomic_compare_and_exchange_val_rel.
3569 (malloc_consolidate): Use atomic_exchange_acq.
3570
3571
562f4362
L
35722019-01-18 H.J. Lu <hongjiu.lu@intel.com>
3573
3574 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
3575 -Wl,-z,now.
3576 (LDFLAGS-tst-minsigstksz-2): Likewise.
3577 (LDFLAGS-tst-minsigstksz-3): Likewise.
3578 (LDFLAGS-tst-minsigstksz-3a): Likewise.
3579 (LDFLAGS-tst-minsigstksz-4): Likewise.
3580
80dfa298
TS
35812019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
3582
3583 * manual/time.texi (strftime): Fix the wording to "alternative" rather
3584 than "alternate".
3585
008b598e
PC
35862019-01-16 Paul A. Clarke <pc@us.ibm.com>
3587
3588 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
3589
fbbc9a4e
ZW
35902019-01-16 Zack Weinberg <zackw@panix.com>
3591
6b5c8607
TS
3592 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
3593 (xget_sigstack_location): New test support functions.
3594 * support/xsigstack.c: New file, implementing them.
3595 * support/tst-xsigstack.c: New test for them.
3596 * support/Makefile: Update.
fbbc9a4e 3597
6b5c8607
TS
3598 * signal/tst-minsigstksz-1.c
3599 * signal/tst-minsigstksz-2.c
3600 * signal/tst-minsigstksz-3.c
3601 * signal/tst-minsigstksz-3a.c
3602 * signal/tst-minsigstksz-4.c: New tests.
3603 * signal/Makefile: Run them.
fbbc9a4e 3604
5f1135e4
SP
36052019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
3606
3607 * po/libc.pot: Regenerate.
3608
ecdacd34
TMQMF
36092019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3610
3611 * math/libm-test-fma.inc (fma_test_data): Set
3612 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
3613
56054664
RA
36142019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
3615
3616 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
3617 (do_test): Changed __vector __int128_t to __vector unsigned int.
3618
1a153e47
LS
36192019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3620
3621 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3622 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
3623 stpcpy-avx2 and stpncpy-avx2.
3624 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
3625 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
3626 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
3627 and __stpncpy_avx2.
3628 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
3629 ifunc-strcpy.h}: rename header for a more generic name.
3630 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
3631 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
3632 AVX unaligned load is fast and vzeroupper is preferred.
3633 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
3634 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
3635 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
3636 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
3637 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
3638 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
3639
a1b02ae7
DL
36402019-01-12 Dmitry V. Levin <ldv@altlinux.org>
3641
3642 * argp/argp-help.c: Fix typo in comment.
3643 * misc/sys/cdefs.h: Likewise.
3644 * posix/regexec.c (sift_states_iter_mb): Likewise.
3645 * socket/sockatmark.c: Likewise.
3646 * socket/sys/socket.h: Likewise.
3647 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
3648 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
3649 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
3650 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3651 * sysdeps/unix/sockatmark.c: Likewise.
3652 * time/strptime_l.c: Likewise.
3653
5cbbf01e
TS
36542019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
3655
3656 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
3657 missing space after the cast of "_NL_CURRENT".
3658
0bc9bdf1
RA
36592019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
3660
3661 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
3662 ifdef to fix read of VSCR.
3663 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
3664 tst-ucontext-ppc64-vscr.c to test list.
3665 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
3666
5494af04
AH
36672019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
3668
3669 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
3670 fall-through.
3671
e17f63ff
JW
36722019-01-09 Jim Wilson <jimw@sifive.com>
3673
3674 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
3675
02f440c1
WD
36762019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
3677
3678 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
3679 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
3680 __memcpy_falkor for ares.
3681 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
3682 Add new define.
3683 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3684 Add ares cpu.
3685
69da3c9e
L
36862019-01-07 H.J. Lu <hongjiu.lu@intel.com>
3687
3688 [BZ #24066]
3689 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
3690 4_FP_W_TYPEs are used for IEEE quad precision.
3691 * soft-fp/extendhftf2.c: Likewise.
3692 * soft-fp/extendsftf2.c: Likewise.
3693 * soft-fp/extendxftf2.c: Likewise.
3694 * soft-fp/trunctfdf2.c: Likewise.
3695 * soft-fp/trunctfhf2.c: Likewise.
3696 * soft-fp/trunctfsf2.c: Likewise.
3697 * soft-fp/trunctfxf2.c: Likewise.
3698 * sysdeps/alpha/ots_cvttx.c: Likewise.
3699 * sysdeps/alpha/ots_cvtxt.c: Likewise.
3700 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
3701 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
3702 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
3703 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
3704 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
3705 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
3706 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
3707 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
3708 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
3709 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
3710 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
3711 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
3712 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
3713 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
3714 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
3715 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
3716
2ef42716
AJ
37172019-01-07 Aurelien Jarno <aurelien@aurel32.net>
3718
3719 [BZ #24024]
3720 * Makeconfig: Build libm with -fno-math-errno but build the remaining
3721 code with -fmath-errno.
3722 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
3723 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
3724 * string/test-strerror-errno.c: New file.
3725
7395f3a0
AJ
37262019-01-07 Aurelien Jarno <aurelien@aurel32.net>
3727
3728 [BZ #24046]
3729 * localedata/locales/en_US (date_fmt): Add, set to
3730 "%a %d %b %Y %r %Z".
3731
010fe231
FW
37322019-01-07 Florian Weimer <fweimer@redhat.com>
3733
3734 [BZ #24063]
3735 * manual/arith.texi (Math Error Reporting): Use @code{errno}
3736 instead of @var{errno}.
3737 (Parsing of Integers): Likewise.
3738 (Parsing of Floats): Likewise.
3739 * manual/filesys.texi (Working with Directory Trees): Likewise.
3740 (Temporary Files): Likewise.
3741 * manual/job.texi (Terminal Access Functions): Likewise.
3742 * manual/llio.texi (Synchronizing I/O): Likewise.
3743 * manual/math.texi (SVID Random): Likewise.
3744 * manual/message.texi (The catgets Functions): Likewise.
3745 (Translation with gettext): Likewise.
3746 (Locating gettext catalog): Likewise.
3747 (Charset conversion in gettext): Likewise.
3748 * manual/nss.texi (NSS Module Function Internals): Likewise.
3749 * manual/search.texi (Hash Search Function): Likewise.
3750 * manual/setjmp.texi (System V contexts): Likewise.
3751 * manual/time.texi (Sleeping): Likewise.
3752 * manual/users.texi (Lookup User): Likewise.
3753 (Lookup Group): Likewise.
3754
b79dc8d0
AZ
37552019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3756
3757 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
3758 fix typo.
3759
890461fe 37602019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
27c5e756
MJ
3761
3762 [BZ #19444]
3763 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
3764 __builtin_unreachable for default case in switch.
3765 (__ieee754_yn): Likewise.
3766 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3767 (__ieee754_ynl): Likewise.
3768 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3769 (__ieee754_ynl): Likewise.
3770 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3771 (__ieee754_ynl): Likewise.
3772
8b18d418
SN
37732019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
3774
3775 * manual/maint.texi: Use @{ and @}.
3776
4392898d
FW
37772019-01-04 Florian Weimer <fweimer@redhat.com>
3778
3779 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
3780 function.
3781 (do_in_chroot_1): Call it.
3782 (run_chroot_tests):
3783 Improve error reporting in case it is not possible to create a
3784 collision for the PTY name required by the test.
3785
17cc27d5
AZ
37862019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3787
ce7eb0e9
AZ
3788 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
3789 lll_wait_tid with timeout.
3790 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
3791 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
3792 futex_reltimed_wait_cancelable for cancelabla mode.
3793 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
3794 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
3795 macros.
3796 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
3797 * sysdeps/posix/waitid.c (__sigwait): Likewise.
3798 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
3799 SYSCALL_CANCEL_NCS): New macro.
3800 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
3801 (lll_timedwait_tid): Remove macro.
3802 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
3803 Likewise.
3804 (lll_timedwait_tid): Likewise.
3805 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
3806 Likewise.
3807 (lll_timedwait_tid): Likewise.
3808 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
3809 Likewise.
3810 (lll_timedwait_tid): Likewise.
3811 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
3812 Use INTERNAL_SYSCALL_CANCEL.
3813 * sysdeps/unix/sysv/linux/futex-internal.h
3814 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
3815 instead of __pthread_{enable,disable}_asynccancel.
3816 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
3817 (lll_futex_wait_cancel): New macro.
3818
0b13e255
AZ
3819 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
3820 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
3821
85c828a4
AZ
3822 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
3823 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
3824
d0d7f85f
AZ
3825 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
3826 in backtrace analysis.
3827 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
3828 side-effects.
3829 (tf_send): Likewise.
3830
17cc27d5
AZ
3831 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
3832 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
3833 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
3834 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
3835 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
3836 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
3837 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
3838 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
3839 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
3840 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
3841 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
3842 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
3843 Likewise.
3844 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
3845 tst-cancel-wrappers.sh.
3846 (generated): Remove tst-cancel-wrappers.out.
3847 (tst-cancel-wrappers.out): Remove rule.
3848 * nptl/tst-cancel-wrappers.sh: Remove file.
3849
7d7af8f1
SN
38502019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
3851
3852 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
3853 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
3854 Update.
3855
805334b2
AZ
38562019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3857
3858 [BZ #23640]
3859 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
3860 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
3861 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
3862 close-on-exec reset for adddup2 file action.
3863 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
3864
03992356
ZW
38652019-01-03 Zack Weinberg <zackw@panix.com>
3866
3867 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
3868 parameter. Only use deprecated scanf when __USE_GNU is defined
3869 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
3870 than 201103L, whichever is relevant for the language being compiled.
3871
3872 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
3873 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
3874 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
3875 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
3876 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
3877
3878 * libio/iovsscanf.c
3879 * libio/fwscanf.c
3880 * libio/iovswscanf.c
3881 * libio/swscanf.c
3882 * libio/vscanf.c
3883 * libio/vwscanf.c
3884 * libio/wscanf.c
3885 * stdio-common/fscanf.c
3886 * stdio-common/scanf.c
3887 * stdio-common/vfscanf.c
3888 * stdio-common/vfwscanf.c
3889 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
3890 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
3891 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
3892 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
3893 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
3894 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
3895 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
3896 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
3897 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
3898 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
3899 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
3900 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
3901 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
3902 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
3903 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
3904
3905 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
3906 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
3907 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
3908 not sscanf.
3909 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
3910 with a preprocessor macro.
3911
3912 * stdio-common/bug21.c, stdio-common/scanf14.c:
3913 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
3914 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
3915 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
3916 to xscanf, xfscanf, xsscanf.
3917
3918 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
3919 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
3920 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
3921 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
3922 xfscanf, xsscanf.
3923 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
3924 override feature selection macros or provide definitions of u_char etc.
3925 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
3926 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
3927 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
3928 with -std=gnu89.
3929
8083afa5
AZ
39302019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3931
6f343c1f
AZ
3932 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3933 bits/termios-misc.h.
3934 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
3935 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3936 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3937 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3938 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
3939 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
3940
51f4beb0
AZ
3941 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
3942 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
3943 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
3944 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
3945 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
3946 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
3947 termios-misc.h.
3948 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
3949 (sysdep_headers): Add termios-misc.h.
3950
f69c5cb2
AZ
3951 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
3952 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3953 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3954
3aa4a07e
AZ
3955 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3956 termios-tcflow.h.
3957 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
3958 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
3959 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
3960 TCSAFLUSH): Move to termios-tcflow.h.
3961 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3962 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3963 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3964 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3965
22679ddf
AZ
3966 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3967 termios-c_lflag.h.
3968 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
3969 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
3970 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
3971 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
3972 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
3973 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
3974 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
3975 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
3976 Likewise.
3977 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3978 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3979 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3980 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3981
72eb6ecc
AZ
3982 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3983 termios-c_cflag.h.
3984 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
3985 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
3986 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
3987 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
3988 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
3989 termios-c_cflag.h.
3990 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3991 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3992 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3993 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3994
9c5d0d02
AZ
3995 [BZ #23783]
3996 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3997 termios-baud.h.
3998 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
3999 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
4000 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
4001 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
4002 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
4003 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
4004 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
4005 __MAX_BAUD): Move to termios-baud.h.
4006 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
4007 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
4008 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4009 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4010 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4011
7b832018
AZ
4012 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
4013 termios-c_oflag.h.
4014 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
4015 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
4016 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
4017 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
4018 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
4019 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
4020 termios-c_oflag.h.
4021 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
4022 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
4023 FFR1): Likewise.
4024 [USE_MISC] (XTABS): Likewise.
4025 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4026 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4027 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4028 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
4029
3127003e
AZ
4030 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
4031 termios-c_iflag.h.
4032 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
4033 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
4034 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
4035 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
4036 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
4037 IUTF8): Move to termios-c_iflag.h.
4038 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4039 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4040 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4041 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4042
48c1dd96
AZ
4043 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
4044 termios-cc.h.
4045 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
4046 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
4047 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
4048 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
4049 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
4050 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
4051 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
4052 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
4053 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4054 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4055 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4056 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4057
e5a50db3
AZ
4058 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
4059 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
4060 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
4061 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
4062 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4063 termios-struct.h.
4064 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
4065 termios-struct.h.
4066 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
4067 Likewise.
4068 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
4069 Likewise.
4070 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
4071 Likewise.
4072 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
4073 Likewise.
4074 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
4075 _HAVE_C_OSPEED): Define.
4076 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
4077 _HAVE_C_OSPEED): Likewise.
4078 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
4079 _HAVE_C_OSPEED): Likewise.
4080 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
4081 (cfsetospeed): Check for define value instead of existence.
4082 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
4083 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
4084 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
4085 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
4086 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
4087
8083afa5
AZ
4088 [BZ #17783]
4089 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
4090 Define.
4091 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
4092 (TIOCSER_TEMT): Likewise.
4093 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
4094 (TEOCSER_TEMT): Likewise.
4095
4d7d7dc6
P
40962019-01-02 PanderMusubi <pander@users.sourceforge.net>
4097
4098 [BZ #24011]
4099 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
4100
8e291a29
JM
41012019-01-02 Joseph Myers <joseph@codesourcery.com>
4102
4103 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
4104
55137f7d
ST
41052019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
4106
4107 * sysdeps/htl/pt-barrierattr-setpshared.c
4108 (pthread_barrierattr_setpshared): Add stub warning.
4109 * sysdeps/htl/pt-condattr-setpshared.c
4110 (pthread_condattr_setpshared): Likewise.
4111 * sysdeps/htl/pt-mutexattr-setpshared.c
4112 (pthread_mutexattr_setpshared): Likewise.
4113 * sysdeps/htl/pt-rwlockattr-setpshared.c
4114 (pthread_rwlockattr_setpshared): Likewise.
4115 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
4116 (pthread_mutexattr_setpshared): Likewise.
4117
2ce09e01
JM
41182019-01-02 Joseph Myers <joseph@codesourcery.com>
4119
acb55dcb
JM
4120 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
4121 constants to match with Linux 4.20.
4122
2ce09e01
JM
4123 * sysdeps/mips/mips32/libm-test-ulps: Update.
4124 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4125
fe20bb1d
AJ
41262019-01-02 Aurelien Jarno <aurelien@aurel32.net>
4127
4128 [BZ #24034]
4129 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
4130 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
4131 than __typeof (...) for the a_ptr variable.
4132
2d9837c1
GG
41332019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4134
4135 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
4136 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
4137 * libio/Makefile (tests): Add tst-sprintf-ub and
4138 tst-sprintf-chk-ub.
4139 (CFLAGS-tst-sprintf-ub.c): New variable.
4140 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
4141 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
4142 destination buffer and check for overflows in fortified mode.
4143 * libio/libioP.h (PRINTF_CHK): New macro.
4144 * libio/tst-sprintf-chk-ub.c: New file.
4145 * libio/tst-sprintf-ub.c: Likewise.
4146
d5c6df0b 41472019-01-02 Florian Weimer <fweimer@redhat.com>
8c1aafc1
FW
4148
4149 [BZ #24018]
4150 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
4151 failure.
4152
66081e38
FW
41532019-01-02 Florian Weimer <fweimer@redhat.com>
4154
4155 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
4156
04277e02
JM
41572019-01-01 Joseph Myers <joseph@codesourcery.com>
4158
6ef3d225
JM
4159 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
4160 macro.
4161
e3d4e292
JM
4162 * sysdeps/unix/sysv/linux/netpacket/packet.h
4163 (PACKET_IGNORE_OUTGOING): New macro.
4164
f4507797
JM
4165 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
4166 macro.
4167
47ad5e1a
JM
4168 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4169 version to 4.20.
4170 (riscv_flush_icache): New syscall.
4171
7628a1b0
JM
4172 * manual/texinfo.tex: Update to version 2018-12-28.17 with
4173 trailing whitespace removed.
4174 * scripts/config.guess: Update to version 2019-01-01.
4175 * scripts/config.sub: Update to version 2019-01-01.
4176 * scripts/move-if-change: Update from gnulib.
4177
c9123888
JM
4178 * NEWS: Update copyright dates.
4179 * catgets/gencat.c (print_version): Likewise.
4180 * csu/version.c (banner): Likewise.
4181 * debug/catchsegv.sh: Likewise.
4182 * debug/pcprofiledump.c (print_version): Likewise.
4183 * debug/xtrace.sh (do_version): Likewise.
4184 * elf/ldconfig.c (print_version): Likewise.
4185 * elf/ldd.bash.in: Likewise.
4186 * elf/pldd.c (print_version): Likewise.
4187 * elf/sotruss.sh: Likewise.
4188 * elf/sprof.c (print_version): Likewise.
4189 * iconv/iconv_prog.c (print_version): Likewise.
4190 * iconv/iconvconfig.c (print_version): Likewise.
4191 * locale/programs/locale.c (print_version): Likewise.
4192 * locale/programs/localedef.c (print_version): Likewise.
4193 * login/programs/pt_chown.c (print_version): Likewise.
4194 * malloc/memusage.sh (do_version): Likewise.
4195 * malloc/memusagestat.c (print_version): Likewise.
4196 * malloc/mtrace.pl: Likewise.
4197 * manual/libc.texinfo: Likewise.
4198 * nptl/version.c (banner): Likewise.
4199 * nscd/nscd.c (print_version): Likewise.
4200 * nss/getent.c (print_version): Likewise.
4201 * nss/makedb.c (print_version): Likewise.
4202 * posix/getconf.c (main): Likewise.
4203 * scripts/test-installation.pl: Likewise.
4204 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
4205
04277e02
JM
4206 * All files with FSF copyright notices: Update copyright dates
4207 using scripts/update-copyrights.
4208 * locale/programs/charmap-kw.h: Regenerated.
4209 * locale/programs/locfile-kw.h: Likewise.
4210
e740e5b1
JM
42112018-12-31 Joseph Myers <joseph@codesourcery.com>
4212
4213 * timezone/zdump.c: Update from tzcode 2018i.
4214 * timezone/zic.c: Likewise.
4215
9b7f98b3
PE
42162018-12-31 Paul Eggert <eggert@cs.ucla.edu>
4217
4218 regex: improve Gnulib port to AIX
4219 From the glibc point of view, this removes duplicate macro
4220 definitions and is obviously safe.
4221 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
4222 * posix/regex_internal.h:
4223 (__attribute__, __attribute_warn_unused_result__):
4224 Remove; already defined elsewhere.
4225
b50dd3bc
FW
42262018-12-31 Florian Weimer <fw@deneb.enyo.de>
4227
4228 [BZ #24027]
4229 * malloc/malloc.c (_int_realloc): Always call memcpy for the
4230 copying operation. (ncopies had the wrong type, resulting in an
4231 integer wraparound and too few elements being copied.)
4232
0b9c8490
L
42332018-12-31 H.J. Lu <hongjiu.lu@intel.com>
4234
4235 [BZ #24022]
4236 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
4237 <asm/syscalls.h> exists with __has_include__ before including it.
4238
01047fa6
JM
42392018-12-31 Joseph Myers <joseph@codesourcery.com>
4240
4241 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4242 version to 4.20.
4243
6b5c8607 42442018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
065957a3
JW
4245
4246 * hurd/lookup-retry: Include <unistd.h>.
4247 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
4248 Release it on return. Handle "pid" magical lookup retry.
4249
989182c4
RL
42502018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
4251
4252 [BZ #10496]
4253 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
4254 (t_fmt_ampm): Likewise.
4255 * localedata/locales/aa_ER (t_fmt): Likewise.
4256 (t_fmt_ampm): Likewise.
4257 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
4258 (t_fmt_ampm): Likewise.
4259 * localedata/locales/aa_ET (t_fmt): Likewise.
4260 (t_fmt_ampm): Likewise.
4261 * localedata/locales/am_ET (t_fmt): Likewise.
4262 (t_fmt_ampm): Likewise.
4263 * localedata/locales/byn_ER (t_fmt): Likewise.
4264 (t_fmt_ampm): Likewise.
4265 * localedata/locales/om_ET (t_fmt): Likewise.
4266 (t_fmt_ampm): Likewise.
4267 * localedata/locales/sid_ET (t_fmt): Likewise.
4268 (t_fmt_ampm): Likewise.
4269 * localedata/locales/so_DJ (t_fmt): Likewise.
4270 (t_fmt_ampm): Likewise.
4271 * localedata/locales/so_ET (t_fmt): Likewise.
4272 (t_fmt_ampm): Likewise.
4273 * localedata/locales/so_SO (t_fmt): Likewise.
4274 (t_fmt_ampm): Likewise.
4275 * localedata/locales/ti_ER (t_fmt): Likewise.
4276 (t_fmt_ampm): Likewise.
4277 * localedata/locales/ti_ET (t_fmt): Likewise.
4278 (t_fmt_ampm): Likewise.
4279 * localedata/locales/tig_ER (t_fmt): Likewise.
4280 (t_fmt_ampm): Likewise.
4281 * localedata/locales/wal_ET (t_fmt): Likewise.
4282 (t_fmt_ampm): Likewise.
4283
4284 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
4285 * localedata/locales/ar_IN (t_fmt): Likewise.
4286 * localedata/locales/bhb_IN (t_fmt): Likewise.
4287 * localedata/locales/bho_IN (t_fmt): Likewise.
4288 * localedata/locales/bi_VU (t_fmt): Likewise.
4289 * localedata/locales/bn_BD (t_fmt): Likewise.
4290 * localedata/locales/bn_IN (t_fmt): Likewise.
4291 * localedata/locales/brx_IN (t_fmt): Likewise.
4292 * localedata/locales/doi_IN (t_fmt): Likewise.
4293 * localedata/locales/en_HK (t_fmt): Likewise.
4294 (t_fmt_ampm): Likewise.
4295 * localedata/locales/en_IN (t_fmt): Likewise.
4296 * localedata/locales/en_PH (t_fmt): Likewise.
4297 * localedata/locales/gu_IN (t_fmt): Likewise.
4298 * localedata/locales/hi_IN (t_fmt): Likewise.
4299 * localedata/locales/hif_FJ (t_fmt): Likewise.
4300 * localedata/locales/hne_IN (t_fmt): Likewise.
4301 * localedata/locales/kn_IN (t_fmt): Likewise.
4302 * localedata/locales/kok_IN (t_fmt): Likewise.
4303 * localedata/locales/ks_IN (t_fmt): Likewise.
4304 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
4305 * localedata/locales/mag_IN (t_fmt): Likewise.
4306 * localedata/locales/mai_IN (t_fmt): Likewise.
4307 * localedata/locales/mjw_IN (t_fmt): Likewise.
4308 * localedata/locales/ml_IN (t_fmt): Likewise.
4309 * localedata/locales/mni_IN (t_fmt): Likewise.
4310 * localedata/locales/mr_IN (t_fmt): Likewise.
4311 * localedata/locales/ms_MY (t_fmt): Likewise.
4312 * localedata/locales/pa_IN (t_fmt): Likewise.
4313 * localedata/locales/raj_IN (t_fmt): Likewise.
4314 * localedata/locales/sa_IN (t_fmt): Likewise.
4315 * localedata/locales/sat_IN (t_fmt): Likewise.
4316 * localedata/locales/sd_IN (t_fmt): Likewise.
4317 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
4318 * localedata/locales/tcy_IN (t_fmt): Likewise.
4319 * localedata/locales/the_NP (t_fmt): Likewise.
4320 * localedata/locales/to_TO (t_fmt): Likewise.
4321 * localedata/locales/ur_IN (t_fmt): Likewise.
4322
4323 * localedata/locales/hif_FJ (d_t_fmt): Set to
4324 "%A %d %b %Y %I:%M:%S %p".
4325 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
4326
4327 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
4328 * localedata/locales/ar_BH (t_fmt): Likewise.
4329 * localedata/locales/ar_DZ (t_fmt): Likewise.
4330 * localedata/locales/ar_EG (t_fmt): Likewise.
4331 * localedata/locales/ar_IQ (t_fmt): Likewise.
4332 * localedata/locales/ar_JO (t_fmt): Likewise.
4333 * localedata/locales/ar_KW (t_fmt): Likewise.
4334 * localedata/locales/ar_LB (t_fmt): Likewise.
4335 * localedata/locales/ar_LY (t_fmt): Likewise.
4336 * localedata/locales/ar_OM (t_fmt): Likewise.
4337 * localedata/locales/ar_QA (t_fmt): Likewise.
4338 * localedata/locales/ar_SD (t_fmt): Likewise.
4339 * localedata/locales/ar_SS (t_fmt): Likewise.
4340 * localedata/locales/ar_SY (t_fmt): Likewise.
4341 * localedata/locales/ar_TN (t_fmt): Likewise.
4342 * localedata/locales/ar_YE (t_fmt): Likewise.
4343
4344 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
4345 (t_fmt_ampm): Likewise.
4346 * localedata/locales/gez_ET (t_fmt): Likewise.
4347 (t_fmt_ampm): Likewise.
4348
4349 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
4350 (t_fmt_ampm): Likewise.
4351 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
4352
4353 * localedata/locales/zh_HK (t_fmt):
4354 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
4355
4356 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
4357 because this locale does not use the 12-hour clock.
4358 (t_fmt): Set to "%Z %H:%M:%S".
4359 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
4360
4361 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
4362 because this locale does not use the 12-hour clock.
4363 (t_fmt): Set to "%H:%M:%S %Z".
4364 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
4365
4366 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
4367 because this locale does not use the 12-hour clock.
4368 (t_fmt): Set to "%T".
4369 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
4370 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
4371
4372 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
4373 because this locale does not use the 12-hour clock.
4374 (t_fmt): Set to "%H:%M:%S %Z".
4375 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
4376
4377 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
4378 because this locale does not use the 12-hour clock.
4379 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
4380 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
4381
27841a7d
RL
43822018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
4383
4384 [BZ #10496]
4385 [BZ #23724]
4386 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
4387 (t_fmt_ampm): Likewise.
4388 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
4389 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
4390 (d_fmt): Set to "%-d.%-m.%y".
4391
0253580a
AZ
43922018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4393
4394 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
4395 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
4396 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
4397 Likewise.
4398 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
4399 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
4400 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
4401 function.
4402 * support/blob_repeat.c (check_mul_overflow_size_t,
4403 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
4404
09104e5b
AJ
44052018-12-28 Aurelien Jarno <aurelien@aurel32.net>
4406
4407 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
4408
c0feb731
PE
44092018-12-27 Paul Eggert <eggert@cs.ucla.edu>
4410
4411 regex: simplify Gnulib port
4412 This simplifies the code, by removing stuff intended for porting
4413 to Gnulib but no longer needed there.
4414 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
4415 uses of libc_hidden_def, weak_alias.
4416 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
4417 _Restrict_ except for public-facing headers.
4418 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
4419 Remove; already defined elsewhere.
4420 * posix/regex.c, posix/regex_internal.h:
4421 Use __GNUC_PREREQ instead of rolling our own.
4422 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
4423
5289f1f5
WD
44242018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
4425
4426 * benchtests/bench-strlen.c (generic_strlen): New function.
6b5c8607 4427 (memchr_strlen): New function.
5289f1f5 4428
ba4b8fab
L
44292018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4430
4431 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
4432 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
4433 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
4434
9412979a
L
44352018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4436
4437 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4438
8700a785
L
44392018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4440
4441 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
4442 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
4443 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
4444 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
4445 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
4446 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
4447 <sysdeps/ieee754/flt-32/s_sincosf.c>.
4448
57b3ff8e
JM
44492018-12-21 Joseph Myers <joseph@codesourcery.com>
4450
4451 [BZ #24023]
4452 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
4453 PLT reference in libc.so.
4454 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
4455 _Q_lltoq and _Q_qtod PLT references in libc.so.
4456
90d3320d
WD
44572018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
4458
4459 * benchtests/bench-memchr.c: Cleanup defines.
4460 * benchtests/bench-memcmp.c: Likewise.
4461 * benchtests/bench-memset.c: Likewise.
4462 * benchtests/bench-memset-large.c: Likewise.
4463 * benchtests/bench-memset-walk.c: Likewise.
4464 * benchtests/bench-stpcpy.c: Likewise.
4465 * benchtests/bench-stpncpy.c: Likewise.
4466 * benchtests/bench-strcat.c: Likewise.
4467 * benchtests/bench-strchr.c: Likewise.
4468 * benchtests/bench-strcmp.c: Likewise.
4469 * benchtests/bench-strcpy.c: Likewise.
4470 * benchtests/bench-strcspn.c: Likewise.
4471 * benchtests/bench-string.h: Likewise.
4472 * benchtests/bench-strlen.c: Likewise.
4473 * benchtests/bench-strncat.c: Likewise.
4474 * benchtests/bench-strncmp.c: Likewise.
4475 * benchtests/bench-strncpy.c: Likewise.
4476 * benchtests/bench-strnlen.c: Likewise.
4477 * benchtests/bench-strpbrk.c: Likewise.
4478 * benchtests/bench-strrchr.c: Likewise.
4479 * benchtests/bench-strspn.c: Likewise.
4480
192963be
JM
44812018-12-21 Joseph Myers <joseph@codesourcery.com>
4482
5d025ea6
JM
4483 * stdlib/longlong.h: Update from GCC.
4484
192963be
JM
4485 [BZ #23993]
4486 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
4487 * configure: Regenerated.
4488 * manual/install.texi (Tools for Compilation): Update minimum GCC
4489 version.
4490 * INSTALL: Regenerated.
4491
6b5c8607 44922018-12-21 Istvan Kurucsai <pistukem@gmail.com>
c0e82f11
IK
4493
4494 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
4495
6b5c8607 44962018-12-20 Istvan Kurucsai <pistukem@gmail.com>
ebe544bf
IK
4497
4498 * malloc/malloc.c (mremap_chunk): Additional checks.
4499
5f72b005
MH
45002018-12-21 Mao Han <han_mao@c-sky.com>
4501
4502 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
4503 * scripts/build-many-glibcs.py: Add C-SKY targets.
4504 * sysdeps/csky/Implies: New file.
4505 * sysdeps/csky/Makefile: Likewise.
4506 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
4507 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
4508 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
4509 * sysdeps/csky/abiv2/memcmp.S: Likewise.
4510 * sysdeps/csky/abiv2/memcpy.S: Likewise.
4511 * sysdeps/csky/abiv2/memmove.S: Likewise.
4512 * sysdeps/csky/abiv2/memset.S: Likewise.
4513 * sysdeps/csky/abiv2/setjmp.S: Likewise.
4514 * sysdeps/csky/abiv2/start.S: Likewise.
4515 * sysdeps/csky/abiv2/strcmp.S: Likewise.
4516 * sysdeps/csky/abiv2/strcpy.S: Likewise.
4517 * sysdeps/csky/abiv2/strlen.S: Likewise.
4518 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
4519 * sysdeps/csky/abort-instr.h: Likewise.
4520 * sysdeps/csky/atomic-machine.h: Likewise.
4521 * sysdeps/csky/bits/endian.h: Likewise.
4522 * sysdeps/csky/bits/fenv.h: Likewise.
4523 * sysdeps/csky/bits/link.h: Likewise.
4524 * sysdeps/csky/bits/setjmp.h: Likewise.
4525 * sysdeps/csky/bsd-_setjmp.S: Likewise.
4526 * sysdeps/csky/bsd-setjmp.S: Likewise.
4527 * sysdeps/csky/configure: Likewise.
4528 * sysdeps/csky/configure.ac: Likewise.
4529 * sysdeps/csky/dl-machine.h: Likewise.
4530 * sysdeps/csky/dl-procinfo.c: Likewise.
4531 * sysdeps/csky/dl-procinfo.h: Likewise.
4532 * sysdeps/csky/dl-sysdep.h: Likewise.
4533 * sysdeps/csky/dl-tls.h: Likewise.
4534 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
4535 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
4536 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
4537 * sysdeps/csky/fpu/fegetenv.c: Likewise.
4538 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
4539 * sysdeps/csky/fpu/fegetmode.c: Likewise.
4540 * sysdeps/csky/fpu/fegetround.c: Likewise.
4541 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
4542 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
4543 * sysdeps/csky/fpu/fenv_private.h: Likewise.
4544 * sysdeps/csky/fpu/fesetenv.c: Likewise.
4545 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
4546 * sysdeps/csky/fpu/fesetmode.c: Likewise.
4547 * sysdeps/csky/fpu/fesetround.c: Likewise.
4548 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
4549 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
4550 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
4551 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
4552 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
4553 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
4554 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
4555 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
4556 * sysdeps/csky/fpu_control.h: Likewise.
4557 * sysdeps/csky/gccframe.h: Likewise.
4558 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
4559 * sysdeps/csky/ldsodefs.h: Likewise.
4560 * sysdeps/csky/libc-tls.c: Likewise.
4561 * sysdeps/csky/linkmap.h: Likewise.
4562 * sysdeps/csky/machine-gmon.h: Likewise.
4563 * sysdeps/csky/memusage.h: Likewise.
4564 * sysdeps/csky/nofpu/Implies: Likewise.
4565 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
4566 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
4567 * sysdeps/csky/nptl/Makefile: Likewise.
4568 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
4569 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
4570 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
4571 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
4572 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
4573 * sysdeps/csky/nptl/tls.h: Likewise.
4574 * sysdeps/csky/preconfigure: Likewise.
4575 * sysdeps/csky/sfp-machine.h: Likewise.
4576 * sysdeps/csky/sotruss-lib.c: Likewise.
4577 * sysdeps/csky/stackinfo.h: Likewise.
4578 * sysdeps/csky/sysdep.h: Likewise.
4579 * sysdeps/csky/tininess.h: Likewise.
4580 * sysdeps/csky/tst-audit.h: Likewise.
4581 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
4582 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
4583 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
4584 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
4585 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
4586 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
4587 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
4588 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
4589 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
4590 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
4591 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
4592 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
4593 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
4594 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
4595 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
4596 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
4597 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
4598 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
4599 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
4600 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
4601 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
4602 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
4603 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
4604 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
4605 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
4606 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
4607 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
4608 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
4609 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
4610 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
4611 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
4612 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
4613 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
4614 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
4615 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
4616 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
4617 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
4618 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
4619 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
4620 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
4621 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
4622 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
4623 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
4624 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
4625
6b5c8607 46262018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
ac253355
AA
4627
4628 * include/time.h (__difftime64): Add.
4629 * time/difftime.c (subtract): convert to 64-bit time.
4630 * time/difftime.c (__difftime64): Add.
4631 * time/difftime.c (__difftime): Wrap around __difftime64.
4632
ab416931
L
46332018-12-20 H.J. Lu <hongjiu.lu@intel.com>
4634
4635 * manual/examples/add.c: Remove redundant "if not".
4636 * manual/examples/argp-ex1.c: Likewise.
4637 * manual/examples/argp-ex2.c: Likewise.
4638 * manual/examples/argp-ex3.c: Likewise.
4639 * manual/examples/argp-ex4.c: Likewise.
4640 * manual/examples/atexit.c: Likewise.
4641 * manual/examples/db.c: Likewise.
4642 * manual/examples/dir.c: Likewise.
4643 * manual/examples/dir2.c: Likewise.
4644 * manual/examples/execinfo.c: Likewise.
4645 * manual/examples/filecli.c: Likewise.
4646 * manual/examples/filesrv.c: Likewise.
4647 * manual/examples/fmtmsgexpl.c: Likewise.
4648 * manual/examples/genpass.c: Likewise.
4649 * manual/examples/inetcli.c: Likewise.
4650 * manual/examples/inetsrv.c: Likewise.
4651 * manual/examples/isockad.c: Likewise.
4652 * manual/examples/longopt.c: Likewise.
4653 * manual/examples/memopen.c: Likewise.
4654 * manual/examples/memstrm.c: Likewise.
4655 * manual/examples/mkdirent.c: Likewise.
4656 * manual/examples/mkfsock.c: Likewise.
4657 * manual/examples/mkisock.c: Likewise.
4658 * manual/examples/mygetpass.c: Likewise.
4659 * manual/examples/pipe.c: Likewise.
4660 * manual/examples/popen.c: Likewise.
4661 * manual/examples/rprintf.c: Likewise.
4662 * manual/examples/search.c: Likewise.
4663 * manual/examples/select.c: Likewise.
4664 * manual/examples/setjmp.c: Likewise.
4665 * manual/examples/sigh1.c: Likewise.
4666 * manual/examples/sigusr.c: Likewise.
4667 * manual/examples/stpcpy.c: Likewise.
4668 * manual/examples/strdupa.c: Likewise.
4669 * manual/examples/strftim.c: Likewise.
4670 * manual/examples/subopt.c: Likewise.
4671 * manual/examples/swapcontext.c: Likewise.
4672 * manual/examples/termios.c: Likewise.
4673 * manual/examples/testopt.c: Likewise.
4674 * manual/examples/testpass.c: Likewise.
4675 * manual/examples/timeval_subtract.c: Likewise.
4676
515f463f
JM
46772018-12-19 Joseph Myers <joseph@codesourcery.com>
4678
da75c1b1
JM
4679 * sysdeps/x86/fpu/math_private.h: New file.
4680 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
4681
515f463f
JM
4682 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
4683 definition.
4684 (cosh): Likewise.
4685 (tanh): Likewise.
4686
1616d034
TMQMF
46872018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4688
4689 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
4690 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
4691 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
4692 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
4693 fields.
4694 (_dl_show_auxv): Give a special treatment to
4695 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
4696 and AT_L3_CACHEGEOMETRY.
4697 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
4698 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
4699 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
4700 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
4701
61595e3d
AS
47022018-12-19 Andreas Schwab <schwab@suse.de>
4703
4704 * nscd/connections.c (check_use): Don't abort on invalid len.
4705
bbb7dc84
ST
47062018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
4707
4708 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
4709 values in the 64bit value cases.
4710
6b5c8607 47112018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
64c2277d 4712
c4c2836a
AA
4713 * include/time.h
4714 (__ctime64_r): Add.
4715 * time/ctime_r.c
4716 (__ctime64_r): Add.
4717 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
4718
7755e504
AA
4719 * include/time.h
4720 (__ctime64): Add.
4721 * time/gmtime.c
4722 (__ctime64): Add.
4723 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
4724
a1d346ce
AA
4725 * include/time.h
4726 (__gmtime64_r): Add.
4727 * time/gmtime.c
4728 (__gmtime64_r): Add.
4729 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
4730
131db8b0
AA
4731 * include/time.h
4732 (__gmtime64): Add.
4733 * time/gmtime.c
4734 (__gmtime64): Add.
4735 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
4736
64c2277d
AA
4737 * include/time.h
4738 (__localtime64_r): Add.
4739 * time/localtime.c
4740 (__localtime64_r): Add.
4741 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
4742
56b98bf1
AZ
47432018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4744
64dd7a16
AZ
4745 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
4746 kernel_sigction definition.
4747
8b1d5da5
AZ
4748 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
4749
f9eabb19
AZ
4750 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
4751
56b98bf1
AZ
4752 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
4753 __syscall_rt_sigaction.
4754 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
4755 (kernel_sigaction): Use Linux generic defintion.
4756 (STUB): Define.
4757 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
4758 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
4759 (__syscall_rt_sigaction): Remove implementation.
4760 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
4761 hidden.
4762 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
4763 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
4764 INTERNAL_SYSCALL): Remove definitions.
4765 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
4766 action and signal set size.
4767 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
4768 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
4769
43a45c2d
AZ
47702018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4771 James Clarke <jrtc27@jrtc27.com>
4772
dfa6216f 4773 [BZ #23967]
43a45c2d
AZ
4774 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
4775 Define if SA_RESTORER is defined.
4776 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
4777 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
4778 already defined.
4779 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
4780 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
4781 definitions.
4782 (HAS_SA_RESTORER): Define.
4783 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
4784 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
4785 (HAS_SA_RESTORER): Define.
4786 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
4787 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
4788 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
4789 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
4790 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4791
646ce7e0
JM
47922018-12-18 Joseph Myers <joseph@codesourcery.com>
4793
4794 * sysdeps/unix/sysv/linux/kernel-features.h
4795 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
4796 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4797 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
4798 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4799 (__ASSUME_ST_INO_64_BIT): Likewise.
4800 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
4801 <kernel-features.h>.
4802 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4803 Remove conditional code.
4804 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
4805 <kernel-features.h>.
4806 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4807 Remove conditional code.
4808 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
4809 <kernel-features.h>.
4810 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4811 Remove conditional code.
4812 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
4813 <kernel-features.h>.
4814 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
4815 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
4816
80190d2b
SL
48172018-12-18 Stefan Liebler <stli@linux.ibm.com>
4818
4819 * sysdeps/s390/multiarch/ifunc-resolve.h
4820 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
4821 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
4822 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
4823 Delete macro definition.
4824 (s390_libc_ifunc_init): Rename to
4825 s390_libc_ifunc_expr_stfle_init.
4826 * sysdeps/s390/bzero: Use
4827 s390_libc_ifunc_expr_stfle_init instead of
4828 s390_libc_ifunc_init.
4829 * sysdeps/s390/memcmp.c: Likewise.
4830 * sysdeps/s390/memcpy.c: Likewise.
4831 * sysdeps/s390/mempcpy.c: Likewise.
4832 * sysdeps/s390/memset.c: Likewise.
4833
12f0dcb8
SL
48342018-12-18 Stefan Liebler <stli@linux.ibm.com>
4835
4836 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
4837 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
4838
25654a8c
SL
48392018-12-18 Stefan Liebler <stli@linux.ibm.com>
4840
4841 * sysdeps/s390/multiarch/Makefile
4842 (sysdep_routines): Remove wmemcmp variants.
4843 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
4844 * sysdeps/s390/multiarch/ifunc-impl-list.c
4845 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
4846 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
4847 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
4848 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
4849 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
4850 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
4851 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
4852 * sysdeps/s390/ifunc-wmemcmp.h: New file.
4853
d2a7436c
SL
48542018-12-18 Stefan Liebler <stli@linux.ibm.com>
4855
4856 * sysdeps/s390/multiarch/Makefile
4857 (sysdep_routines): Remove wmemset variants.
4858 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
4859 * sysdeps/s390/multiarch/ifunc-impl-list.c
4860 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
4861 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
4862 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
4863 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
4864 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
4865 * sysdeps/s390/multiarch/wmemset.c: Move to ...
4866 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
4867 * sysdeps/s390/ifunc-wmemset.h: New file.
4868
c62534ae
SL
48692018-12-18 Stefan Liebler <stli@linux.ibm.com>
4870
4871 * sysdeps/s390/multiarch/Makefile
4872 (sysdep_routines): Remove wmemchr variants.
4873 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
4874 * sysdeps/s390/multiarch/ifunc-impl-list.c
4875 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
4876 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
4877 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
4878 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
4879 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
4880 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
4881 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
4882 * sysdeps/s390/ifunc-wmemchr.h: New file.
4883
79b44cf6
SL
48842018-12-18 Stefan Liebler <stli@linux.ibm.com>
4885
4886 * sysdeps/s390/multiarch/Makefile
4887 (sysdep_routines): Remove wcscspn variants.
4888 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
4889 * sysdeps/s390/multiarch/ifunc-impl-list.c
4890 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
4891 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
4892 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
4893 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
4894 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
4895 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
4896 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
4897 * sysdeps/s390/ifunc-wcscspn.h: New file.
4898
8e87c1f6
SL
48992018-12-18 Stefan Liebler <stli@linux.ibm.com>
4900
4901 * sysdeps/s390/multiarch/Makefile
4902 (sysdep_routines): Remove wcspbrk variants.
4903 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
4904 * sysdeps/s390/multiarch/ifunc-impl-list.c
4905 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
4906 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
4907 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
4908 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
4909 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
4910 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
4911 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
4912 * sysdeps/s390/ifunc-wcspbrk.h: New file.
4913
8507e831
SL
49142018-12-18 Stefan Liebler <stli@linux.ibm.com>
4915
4916 * sysdeps/s390/multiarch/Makefile
4917 (sysdep_routines): Remove wcsspn variants.
4918 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
4919 * sysdeps/s390/multiarch/ifunc-impl-list.c
4920 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
4921 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
4922 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
4923 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
4924 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
4925 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
4926 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
4927 * sysdeps/s390/ifunc-wcsspn.h: New file.
4928
4753713a
SL
49292018-12-18 Stefan Liebler <stli@linux.ibm.com>
4930
4931 * sysdeps/s390/multiarch/Makefile
4932 (sysdep_routines): Remove wcsrchr variants.
4933 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
4934 * sysdeps/s390/multiarch/ifunc-impl-list.c
4935 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
4936 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
4937 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
4938 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
4939 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
4940 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
4941 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
4942 * sysdeps/s390/ifunc-wcsrchr.h: New file.
4943
c09c1b6f
SL
49442018-12-18 Stefan Liebler <stli@linux.ibm.com>
4945
4946 * sysdeps/s390/multiarch/Makefile
4947 (sysdep_routines): Remove wcschrnul variants.
4948 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
4949 * sysdeps/s390/multiarch/ifunc-impl-list.c
4950 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
4951 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
4952 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
4953 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
4954 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
4955 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
4956 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
4957 * sysdeps/s390/ifunc-wcschrnul.h: New file.
4958
cf3ccc31
SL
49592018-12-18 Stefan Liebler <stli@linux.ibm.com>
4960
4961 * sysdeps/s390/multiarch/Makefile
4962 (sysdep_routines): Remove wcschr variants.
4963 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
4964 * sysdeps/s390/multiarch/ifunc-impl-list.c
4965 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
4966 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
4967 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
4968 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
4969 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
4970 * sysdeps/s390/multiarch/wcschr.c: Move to ...
4971 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
4972 * sysdeps/s390/ifunc-wcschr.h: New file.
4973
e9873e1d
SL
49742018-12-18 Stefan Liebler <stli@linux.ibm.com>
4975
4976 * sysdeps/s390/multiarch/Makefile
4977 (sysdep_routines): Remove wcsncmp variants.
4978 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
4979 * sysdeps/s390/multiarch/ifunc-impl-list.c
4980 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
4981 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
4982 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
4983 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
4984 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
4985 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
4986 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
4987 * sysdeps/s390/ifunc-wcsncmp.h: New file.
4988
3459e23d
SL
49892018-12-18 Stefan Liebler <stli@linux.ibm.com>
4990
4991 * sysdeps/s390/multiarch/Makefile
4992 (sysdep_routines): Remove wcscmp variants.
4993 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
4994 * sysdeps/s390/multiarch/ifunc-impl-list.c
4995 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
4996 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
4997 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
4998 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
4999 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
5000 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
5001 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
5002 * sysdeps/s390/ifunc-wcscmp.h: New file.
5003
814a76e1
SL
50042018-12-18 Stefan Liebler <stli@linux.ibm.com>
5005
5006 * sysdeps/s390/multiarch/Makefile
5007 (sysdep_routines): Remove wcsncat variants.
5008 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
5009 * sysdeps/s390/multiarch/ifunc-impl-list.c
5010 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
5011 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
5012 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
5013 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
5014 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
5015 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
5016 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
5017 * sysdeps/s390/ifunc-wcsncat.h: New file.
5018
3389cae4
SL
50192018-12-18 Stefan Liebler <stli@linux.ibm.com>
5020
5021 * sysdeps/s390/multiarch/Makefile
5022 (sysdep_routines): Remove wcscat variants.
5023 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
5024 * sysdeps/s390/multiarch/ifunc-impl-list.c
5025 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
5026 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
5027 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
5028 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
5029 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
5030 * sysdeps/s390/multiarch/wcscat.c: Move to ...
5031 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
5032 * sysdeps/s390/ifunc-wcscat.h: New file.
5033
c3081bcb
SL
50342018-12-18 Stefan Liebler <stli@linux.ibm.com>
5035
5036 * sysdeps/s390/multiarch/Makefile
5037 (sysdep_routines): Remove wcpncpy variants.
5038 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
5039 * sysdeps/s390/multiarch/ifunc-impl-list.c
5040 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
5041 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
5042 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
5043 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
5044 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
5045 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
5046 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
5047 * sysdeps/s390/ifunc-wcpncpy.h: New file.
5048
0966dd86
SL
50492018-12-18 Stefan Liebler <stli@linux.ibm.com>
5050
5051 * sysdeps/s390/multiarch/Makefile
5052 (sysdep_routines): Remove wcsncpy variants.
5053 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
5054 * sysdeps/s390/multiarch/ifunc-impl-list.c
5055 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
5056 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
5057 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
5058 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
5059 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
5060 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
5061 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
5062 * sysdeps/s390/ifunc-wcsncpy.h: New file.
5063
0582e428
SL
50642018-12-18 Stefan Liebler <stli@linux.ibm.com>
5065
5066 * sysdeps/s390/multiarch/Makefile
5067 (sysdep_routines): Remove wcpcpy variants.
5068 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
5069 * sysdeps/s390/multiarch/ifunc-impl-list.c
5070 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
5071 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
5072 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
5073 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
5074 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
5075 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
5076 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
5077 * sysdeps/s390/ifunc-wcpcpy.h: New file.
5078
804f2e5c
SL
50792018-12-18 Stefan Liebler <stli@linux.ibm.com>
5080
5081 * sysdeps/s390/multiarch/Makefile
5082 (sysdep_routines): Remove wcscpy variants.
5083 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
5084 * sysdeps/s390/multiarch/ifunc-impl-list.c
5085 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
5086 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
5087 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
5088 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
5089 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
5090 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
5091 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
5092 * sysdeps/s390/ifunc-wcscpy.h: New file.
5093
c7e7cd26
SL
50942018-12-18 Stefan Liebler <stli@linux.ibm.com>
5095
5096 * sysdeps/s390/multiarch/Makefile
5097 (sysdep_routines): Remove wcsnlen variants.
5098 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
5099 * sysdeps/s390/multiarch/ifunc-impl-list.c
5100 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
5101 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
5102 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
5103 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
5104 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
5105 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
5106 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
5107 * sysdeps/s390/ifunc-wcsnlen.h: New file.
5108
2e02d0b7
SL
51092018-12-18 Stefan Liebler <stli@linux.ibm.com>
5110
5111 * sysdeps/s390/multiarch/Makefile
5112 (sysdep_routines): Remove wcslen variants.
5113 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
5114 * sysdeps/s390/multiarch/ifunc-impl-list.c
5115 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
5116 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
5117 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
5118 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
5119 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
5120 * sysdeps/s390/multiarch/wcslen.c: Move to ...
5121 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
5122 * sysdeps/s390/ifunc-wcslen.h: New file.
5123
89bfcbdf
SL
51242018-12-18 Stefan Liebler <stli@linux.ibm.com>
5125
5126 * sysdeps/s390/multiarch/Makefile
5127 (sysdep_routines): Remove memrchr variants.
5128 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
5129 * sysdeps/s390/multiarch/ifunc-impl-list.c
5130 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
5131 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
5132 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
5133 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
5134 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
5135 * sysdeps/s390/multiarch/memrchr.c: Move to ...
5136 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
5137 * sysdeps/s390/ifunc-memrchr.h: New file.
5138
196655ba
SL
51392018-12-18 Stefan Liebler <stli@linux.ibm.com>
5140
5141 * sysdeps/s390/multiarch/Makefile
5142 (sysdep_routines): Remove memccpy variants.
5143 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
5144 * sysdeps/s390/multiarch/ifunc-impl-list.c
5145 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
5146 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
5147 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
5148 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
5149 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
5150 * sysdeps/s390/multiarch/memccpy.c: Move to ...
5151 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
5152 * sysdeps/s390/ifunc-memccpy.h: New file.
5153
4c7b3cec
SL
51542018-12-18 Stefan Liebler <stli@linux.ibm.com>
5155
5156 * sysdeps/s390/multiarch/Makefile
5157 (sysdep_routines): Remove rawmemchr variants.
5158 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
5159 * sysdeps/s390/multiarch/ifunc-impl-list.c
5160 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
5161 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
5162 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
5163 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
5164 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
5165 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
5166 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
5167 * sysdeps/s390/ifunc-rawmemchr.h: New file.
5168
581a051c
SL
51692018-12-18 Stefan Liebler <stli@linux.ibm.com>
5170
5171 * sysdeps/s390/multiarch/Makefile
5172 (sysdep_routines): Remove memchr variants.
5173 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
5174 * sysdeps/s390/multiarch/ifunc-impl-list.c
5175 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
5176 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
5177 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
5178 * sysdeps/s390/multiarch/memchr.c: Move to ...
5179 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
5180 * sysdeps/s390/ifunc-memchr.h: New file.
5181 * sysdeps/s390/s390-64/memchr.S: Move to ...
5182 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
5183 for 31/64bit and ifunc handling.
5184 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
5185 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
5186 * sysdeps/s390/s390-32/memchr.S: Likewise.
5187
5d2ec20a
SL
51882018-12-18 Stefan Liebler <stli@linux.ibm.com>
5189
5190 * sysdeps/s390/multiarch/Makefile
5191 (sysdep_routines): Remove strcspn variants.
5192 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
5193 * sysdeps/s390/multiarch/ifunc-impl-list.c
5194 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
5195 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
5196 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
5197 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
5198 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
5199 * sysdeps/s390/multiarch/strcspn.c: Move to ...
5200 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
5201 * sysdeps/s390/ifunc-strcspn.h: New file.
5202
572cca93
SL
52032018-12-18 Stefan Liebler <stli@linux.ibm.com>
5204
5205 * sysdeps/s390/multiarch/Makefile
5206 (sysdep_routines): Remove strpbrk variants.
5207 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
5208 * sysdeps/s390/multiarch/ifunc-impl-list.c
5209 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
5210 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
5211 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
5212 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
5213 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
5214 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
5215 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
5216 * sysdeps/s390/ifunc-strpbrk.h: New file.
5217
483fc569
SL
52182018-12-18 Stefan Liebler <stli@linux.ibm.com>
5219
5220 * sysdeps/s390/multiarch/Makefile
5221 (sysdep_routines): Remove strspn variants.
5222 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
5223 * sysdeps/s390/multiarch/ifunc-impl-list.c
5224 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
5225 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
5226 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
5227 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
5228 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
5229 * sysdeps/s390/multiarch/strspn.c: Move to ...
5230 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
5231 * sysdeps/s390/ifunc-strspn.h: New file.
5232
26ea8760
SL
52332018-12-18 Stefan Liebler <stli@linux.ibm.com>
5234
5235 * sysdeps/s390/multiarch/Makefile
5236 (sysdep_routines): Remove strrchr variants.
5237 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
5238 * sysdeps/s390/multiarch/ifunc-impl-list.c
5239 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
5240 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
5241 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
5242 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
5243 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
5244 * sysdeps/s390/multiarch/strrchr.c: Move to ...
5245 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
5246 * sysdeps/s390/ifunc-strrchr.h: New file.
5247
a1361e65
SL
52482018-12-18 Stefan Liebler <stli@linux.ibm.com>
5249
5250 * sysdeps/s390/multiarch/Makefile
5251 (sysdep_routines): Remove strchrnul variants.
5252 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
5253 * sysdeps/s390/multiarch/ifunc-impl-list.c
5254 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
5255 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
5256 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
5257 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
5258 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
5259 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
5260 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
5261 * sysdeps/s390/ifunc-strchrnul.h: New file.
5262
32f12653
SL
52632018-12-18 Stefan Liebler <stli@linux.ibm.com>
5264
5265 * sysdeps/s390/multiarch/Makefile
5266 (sysdep_routines): Remove strchr variants.
5267 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
5268 * sysdeps/s390/multiarch/ifunc-impl-list.c
5269 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
5270 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
5271 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
5272 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
5273 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
5274 * sysdeps/s390/multiarch/strchr.c: Move to ...
5275 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
5276 * sysdeps/s390/ifunc-strchr.h: New file.
5277
316b8842
SL
52782018-12-18 Stefan Liebler <stli@linux.ibm.com>
5279
5280 * sysdeps/s390/multiarch/Makefile
5281 (sysdep_routines): Remove strncmp variants.
5282 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
5283 * sysdeps/s390/multiarch/ifunc-impl-list.c
5284 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
5285 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
5286 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
5287 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
5288 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
5289 * sysdeps/s390/multiarch/strncmp.c: Move to ...
5290 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
5291 * sysdeps/s390/ifunc-strncmp.h: New file.
5292
cdab85fe
SL
52932018-12-18 Stefan Liebler <stli@linux.ibm.com>
5294
5295 * sysdeps/s390/multiarch/Makefile
5296 (sysdep_routines): Remove strcmp variants.
5297 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
5298 * sysdeps/s390/multiarch/ifunc-impl-list.c
5299 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
5300 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
5301 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
5302 * sysdeps/s390/multiarch/strcmp.c: Move to ...
5303 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
5304 * sysdeps/s390/ifunc-strcmp.h: New file.
5305 * sysdeps/s390/s390-64/strcmp.S: Move to ...
5306 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
5307 for 31/64bit and ifunc handling.
5308 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
5309 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
5310 * sysdeps/s390/s390-32/strcmp.S: Likewise.
5311
b9353351
SL
53122018-12-18 Stefan Liebler <stli@linux.ibm.com>
5313
5314 * sysdeps/s390/multiarch/Makefile
5315 (sysdep_routines): Remove strncat variants.
5316 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
5317 * sysdeps/s390/multiarch/ifunc-impl-list.c
5318 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
5319 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
5320 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
5321 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
5322 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
5323 * sysdeps/s390/multiarch/strncat.c: Move to ...
5324 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
5325 * sysdeps/s390/ifunc-strncat.h: New file.
5326
8e5a0afb
SL
53272018-12-18 Stefan Liebler <stli@linux.ibm.com>
5328
5329 * sysdeps/s390/multiarch/Makefile
5330 (sysdep_routines): Remove strcat variants.
5331 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
5332 * sysdeps/s390/multiarch/ifunc-impl-list.c
5333 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
5334 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
5335 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
5336 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
5337 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
5338 * sysdeps/s390/multiarch/strcat.c: Move to ...
5339 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
5340 * sysdeps/s390/ifunc-strcat.h: New file.
5341
25218822
SL
53422018-12-18 Stefan Liebler <stli@linux.ibm.com>
5343
5344 * sysdeps/s390/multiarch/Makefile
5345 (sysdep_routines): Remove stpncpy variants.
5346 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
5347 * sysdeps/s390/multiarch/ifunc-impl-list.c
5348 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
5349 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
5350 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
5351 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
5352 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
5353 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
5354 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
5355 * sysdeps/s390/ifunc-stpncpy.h: New file.
5356
d1bdbf38
SL
53572018-12-18 Stefan Liebler <stli@linux.ibm.com>
5358
5359 * sysdeps/s390/multiarch/Makefile
5360 (sysdep_routines): Remove strncpy variants.
5361 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
5362 * sysdeps/s390/multiarch/ifunc-impl-list.c
5363 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
5364 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
5365 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
5366 * sysdeps/s390/multiarch/strncpy.c: Move to ...
5367 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
5368 * sysdeps/s390/ifunc-strncpy.h: New file.
5369 * sysdeps/s390/s390-64/strncpy.S: Move to ...
5370 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
5371 and adjust ifunc handling.
5372 * sysdeps/s390/s390-32/strncpy.S: Move to ...
5373 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
5374 and adjust ifunc handling.
5375 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
5376 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
5377
97044931
SL
53782018-12-18 Stefan Liebler <stli@linux.ibm.com>
5379
5380 * sysdeps/s390/multiarch/Makefile
5381 (sysdep_routines): Remove stpcpy variants.
5382 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
5383 * sysdeps/s390/multiarch/ifunc-impl-list.c
5384 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
5385 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
5386 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
5387 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
5388 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
5389 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
5390 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
5391 * sysdeps/s390/ifunc-stpcpy.h: New file.
5392
914a4e05
SL
53932018-12-18 Stefan Liebler <stli@linux.ibm.com>
5394
5395 * sysdeps/s390/multiarch/Makefile
5396 (sysdep_routines): Remove strcpy variants.
5397 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
5398 * sysdeps/s390/multiarch/ifunc-impl-list.c
5399 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
5400 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
5401 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
5402 * sysdeps/s390/multiarch/strcpy.c: Move to ...
5403 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
5404 * sysdeps/s390/ifunc-strcpy.h: New file.
5405 * sysdeps/s390/s390-64/strcpy.S: Move to ...
5406 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
5407 for 31/64bit and ifunc handling.
5408 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
5409 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
5410 * sysdeps/s390/s390-32/strcpy.S: Likewise.
5411
de10e44d
SL
54122018-12-18 Stefan Liebler <stli@linux.ibm.com>
5413
5414 * sysdeps/s390/multiarch/Makefile
5415 (sysdep_routines): Remove strnlen variants.
5416 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
5417 * sysdeps/s390/multiarch/ifunc-impl-list.c
5418 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
5419 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
5420 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
5421 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
5422 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
5423 * sysdeps/s390/multiarch/strnlen.c: Move to ...
5424 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
5425 * sysdeps/s390/ifunc-strnlen.h: New file.
5426
ff3ca374
SL
54272018-12-18 Stefan Liebler <stli@linux.ibm.com>
5428
5429 * sysdeps/s390/multiarch/Makefile
5430 (sysdep_routines): Remove strlen variants.
5431 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
5432 * sysdeps/s390/multiarch/ifunc-impl-list.c
5433 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
5434 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
5435 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
5436 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
5437 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
5438 * sysdeps/s390/multiarch/strlen.c: Move to ...
5439 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
5440 * sysdeps/s390/ifunc-strlen.h: New file.
5441
d2c4c403
SL
54422018-12-18 Stefan Liebler <stli@linux.ibm.com>
5443
5444 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
5445 * sysdeps/s390/multiarch/ifunc-impl-list.c
5446 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
5447 * sysdeps/s390/ifunc-memmem.h: New file.
5448 * sysdeps/s390/memmem.c: Likewise.
5449 * sysdeps/s390/memmem-c.c: Likewise.
5450 * sysdeps/s390/memmem-vx.c: Likewise.
5451
8c25dddd
SL
54522018-12-18 Stefan Liebler <stli@linux.ibm.com>
5453
5454 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
5455 * sysdeps/s390/multiarch/ifunc-impl-list.c
5456 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
5457 * sysdeps/s390/ifunc-strstr.h: New file.
5458 * sysdeps/s390/strstr.c: Likewise.
5459 * sysdeps/s390/strstr-c.c: Likewise.
5460 * sysdeps/s390/strstr-vx.c: Likewise.
5461
cdd927d9
SL
54622018-12-18 Stefan Liebler <stli@linux.ibm.com>
5463
5464 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
5465 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
5466 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
5467 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
5468 New defines.
5469 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
5470 * sysdeps/s390/memmove-c.c: New file.
5471 * sysdeps/s390/memmove.c: Likewise.
5472 * sysdeps/s390/multiarch/ifunc-impl-list.c
5473 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
5474
2ee1bc57
SL
54752018-12-18 Stefan Liebler <stli@linux.ibm.com>
5476
5477 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
5478 * sysdeps/s390/configure.ac: Add check for z13 support.
5479 * sysdeps/s390/configure: Regenerated.
5480
d097d976
SL
54812018-12-18 Stefan Liebler <stli@linux.ibm.com>
5482
5483 * sysdeps/s390/memcopy.h: New file.
5484
e099aab0
SL
54852018-12-18 Stefan Liebler <stli@linux.ibm.com>
5486
5487 * sysdeps/s390/s390-32/bcopy.S: Remove.
5488 * sysdeps/s390/s390-64/bcopy.S: Likewise.
5489
18eb862d
SL
54902018-12-18 Stefan Liebler <stli@linux.ibm.com>
5491
5492 * sysdeps/s390/ifunc-memcpy.h: New File.
5493 * sysdeps/s390/memcpy.S: Move to ...
5494 * sysdeps/s390/memcpy-z900.S ... here.
5495 Move implementations from memcpy-s390x.s to here.
5496 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
5497 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5498 Remove memcpy/mempcpy variants.
5499 * sysdeps/s390/Makefile (sysdep_routines):
5500 Add memcpy/mempcpy variants.
5501 * sysdeps/s390/multiarch/ifunc-impl-list.c
5502 (__libc_ifunc_impl_list): Adjust ifunc variants for
5503 memcpy and mempcpy.
5504 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
5505 to ...
5506 * sysdeps/s390/memcpy.c: ... here.
5507 Adjust ifunc variants for memcpy.
5508 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
5509 * sysdeps/s390/mempcpy.c: ... here.
5510 Adjust ifunc variants for mempcpy.
5511 * sysdeps/s390/mempcpy.S: Delete file.
5512
df3eb8de
SL
55132018-12-18 Stefan Liebler <stli@linux.ibm.com>
5514
5515 * sysdeps/s390/s390-64/memcpy.S: Move to ...
5516 * sysdeps/s390/memcpy.S: ... here.
5517 Adjust to be usable for 31/64bit.
5518 * sysdeps/s390/s390-32/memcpy.S: Delete File.
5519 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
5520 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
5521 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5522 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
5523 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
5524 Adjust to be usable for 31/64bit.
5525 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
5526 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
5527 * sysdeps/s390/multiarch/memcpy.c: ... here.
5528 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
5529
b7e024a8
SL
55302018-12-18 Stefan Liebler <stli@linux.ibm.com>
5531
5532 * sysdeps/s390/ifunc-memcmp.h: New File.
5533 * sysdeps/s390/memcmp.S: Move to ...
5534 * sysdeps/s390/memcmp-z900.S ... here.
5535 Move implementations from memcmp-s390x.s to here.
5536 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
5537 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5538 Remove memcmp variants.
5539 * sysdeps/s390/Makefile (sysdep_routines):
5540 Add memcmp variants.
5541 * sysdeps/s390/multiarch/ifunc-impl-list.c
5542 (__libc_ifunc_impl_list): Adjust ifunc variants for
5543 memcmp.
5544 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
5545 to ...
5546 * sysdeps/s390/memcmp.c: ... here.
5547 Adjust ifunc variants for memcmp.
5548
6c6b8c74
SL
55492018-12-18 Stefan Liebler <stli@linux.ibm.com>
5550
5551 * sysdeps/s390/s390-64/memcmp.S: Move to ...
5552 * sysdeps/s390/memcmp.S: ... here.
5553 Adjust to be usable for 31/64bit.
5554 * sysdeps/s390/s390-32/memcmp.S: Delete File.
5555 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
5556 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
5557 Remove memcmp.
5558 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5559 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
5560 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
5561 Adjust to be usable for 31/64bit.
5562 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
5563 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
5564 * sysdeps/s390/multiarch/memcmp.c: ... here.
5565 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
5566
07be3928
SL
55672018-12-18 Stefan Liebler <stli@linux.ibm.com>
5568
5569 * sysdeps/s390/s390-32/bzero.S: Delete file.
5570 * sysdeps/s390/s390-64/bzero.S: Likewise.
5571 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
5572 * sysdeps/s390/bzero.c: New file.
5573 * sysdeps/s390/memset-z900.S: Add bzero entry points.
5574 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
5575 * sysdeps/s390/multiarch/ifunc-impl-list.c
5576 (__libc_ifunc_impl_list): Add bzero ifunc variants.
5577
712a254a
SL
55782018-12-18 Stefan Liebler <stli@linux.ibm.com>
5579
5580 * sysdeps/s390/ifunc-memset.h: New File.
5581 * sysdeps/s390/memset.S: Move to ...
5582 * sysdeps/s390/memset-z900.S ... here.
5583 Move implementations from memset-s390x.s to here.
5584 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
5585 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5586 Remove memset variants.
5587 * sysdeps/s390/Makefile (sysdep_routines):
5588 Add memset variants.
5589 * sysdeps/s390/multiarch/ifunc-impl-list.c
5590 (__libc_ifunc_impl_list): Adjust ifunc variants for
5591 memset.
5592 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
5593 to ...
5594 * sysdeps/s390/memset.c: ... here.
5595 Adjust ifunc variants for memset.
5596
5f1743d1
SL
55972018-12-18 Stefan Liebler <stli@linux.ibm.com>
5598
5599 * sysdeps/s390/s390-64/memset.S: Move to ...
5600 * sysdeps/s390/memset.S: ... here.
5601 Adjust to be usable for 31/64bit.
5602 * sysdeps/s390/s390-32/memset.S: Delete File.
5603 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
5604 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
5605 Remove memset.
5606 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5607 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
5608 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
5609 Adjust to be usable for 31/64bit.
5610 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
5611 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
5612 * sysdeps/s390/multiarch/memset.c: ... here.
5613 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
5614
e8023f26
SL
56152018-12-18 Stefan Liebler <stli@linux.ibm.com>
5616
5617 * sysdeps/s390/multiarch/ifunc-resolve.h
5618 (s390_libc_ifunc_init, s390_libc_ifunc,
5619 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
5620
b8686c0d
SL
56212018-12-18 Stefan Liebler <stli@linux.ibm.com>
5622
5623 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
5624 * sysdeps/s390/configure.ac: Add check for z10 support.
5625 * sysdeps/s390/configure: Regenerated.
5626
cd815050
L
56272018-12-18 H.J. Lu <hongjiu.lu@intel.com>
5628
5629 * sysdeps/i386/atomic-machine.h: Merged with ...
5630 * sysdeps/x86_64/atomic-machine.h: To ...
5631 * sysdeps/x86/atomic-machine.h: This. New file.
5632
053c52b1
FW
56332018-12-18 Florian Weimer <fweimer@redhat.com>
5634
5635 Rewrite locale/gen-translit.pl in Python.
5636 * locale/Makefile (generated): Add C-translit.h.
5637 (before-compile): Add $(objpfx)C-translit.h.
5638 (C-translit.h): Move to $(objpfx). Create target directory.
5639 Build using Python script.
5640 * locale/gen-translit.py: New file.
5641 * locale/gen-translit.pl: Remove file.
5642 * locale/C-translit.h.in: Change comment character to '#' for
5643 easier parsing without a C preprocessor.
5644 * locale/C-translit.h: Remove generated file.
5645 * manual/install.texi (Tools for Compilation): Do not mention
5646 C-translit.h.
5647 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
5648 Remove locale/C-translit.h.
5649 * scripts/update-copyrights: Likewise.
5650 * INSTALL: Regenerate.
5651
40e6c1ec
FW
56522018-12-18 Florian Weimer <fweimer@redhat.com>
5653
5654 [BZ #23995]
5655 * localedata/locales/bi_VU: Remove executable bit from file.
5656
6b5c8607 56572018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
6e15f3e2
AA
5658
5659 * include/time.h
5660 (__localtime64): Add.
5661 * manual/maint.texi: Document Y2038 symbol handling.
5662 * time/localtime.c
5663 (__localtime64): Add.
bfb79db4 5664 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
6e15f3e2 5665
df648905
JM
56662018-12-17 Joseph Myers <joseph@codesourcery.com>
5667
551e81d9
JM
5668 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
5669 Do not clobber r12.
5670
df648905
JM
5671 * scripts/glibcextract.py (compare_macro_consts): Take parameters
5672 to allow extra macros from first or second sources.
5673 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
5674 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5675 (tests-special): Add $(objpfx)tst-mman-consts.out.
5676 ($(objpfx)tst-mman-consts.out): New makefile target.
5677
6bbfc5c0
MH
56782018-12-17 Mao Han <han_mao@c-sky.com>
5679
5680 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
5681 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
5682 without stat64 system call support.
5683 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
5684 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
5685 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
5686 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
5687 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
5688 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
5689 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
5690 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
5691 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
5692 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
5693 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
5694
ef202e53
PE
56952018-12-15 Paul Eggert <eggert@cs.ucla.edu>
5696
5697 regex: fix storage-exhaustion error
5698 [BZ #18040]
5699 * posix/regexec.c (get_subexp):
5700 Do not continue if storage is exhausted.
5701
077caf61
AG
57022018-12-15 Assaf Gordon <assafgordon@gmail.com>
5703
5704 regex: fix heap-use-after-free error
5705 [BZ #18040]
5706 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
5707 https://debbugs.gnu.org/32592
5708 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
5709 call extend_buffers which reallocates the re_string_t internal buffer.
5710 Local variable 'buf' was not updated in such case, resulting in
5711 use-after-free.
5712 * posix/regexec.c (get_subexp): Update 'buf' after call to
5713 get_subexp_sub.
5714
0c1719e6
FW
57152018-12-15 Florian Weimer <fweimer@redhat.com>
5716
5717 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
5718 (minimum_stride_size): Use it.
5719 (support_blob_repeat_allocate): Likewise.
5720
033a2c0a
JM
57212018-12-14 Joseph Myers <joseph@codesourcery.com>
5722
5723 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
5724 definition.
5725 (acosh): Likewise.
5726 (atanh): Likewise.
5727
e361dc04
FW
57282018-12-14 Florian Weimer <fweimer@redhat.com>
5729
5730 * manual/process.texi (Process Creation Concepts): Remove
5731 documentation of process (ID) lifetime. List more process
5732 creation functions. Reference Process Identification section.
5733 (Process Identification): Add information about process ID
5734 lifetime. Describe Linux thread/task IDs.
5735 * manual/signal.texi (Signaling Another Process): Mention that the
5736 signal is always sent to the process.
5737
bd51ff5e
GG
57382018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5739
5740 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
5741 and tst-ldbl-efgcvt.
5742 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
5743 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
5744 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
5745 (fcvt_tests, output_error, output_r_error, do_test): Use the
5746 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
5747 select the type of floating-point variables and arguments; to
5748 produce extra tests for double and conversion specifiers for
5749 printf; and to set the names of called functions.
5750 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
5751 in tst-efgcvt-template.c.
5752 * misc/tst-ldbl-efgcvt.c: Likewise.
5753
268bb71e
SL
57542018-12-14 Stefan Liebler <stli@linux.ibm.com>
5755
5756 * nss/Makefile (tst-nss-test3.out): New rule.
5757
db6df070
JM
57582018-12-13 Joseph Myers <joseph@codesourcery.com>
5759
5760 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
5761 clobber sp.
5762
ade8b817
CD
57632018-12-13 fanjinke <fanjinke@hygon.cn>
5764
5765 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
5766 "HygonGenuine".
5767
3d265911
AS
57682018-12-13 Andreas Schwab <schwab@suse.de>
5769
f21e8f8c 5770 [BZ #23861]
3d265911 5771 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
f21e8f8c
AS
5772 (__pthread_rwlock_rdlock_full): Update expected value for
5773 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
5774 * nptl/tst-rwlock-pwn.c: New file.
5775 * nptl/Makefile (tests): Add tst-rwlock-pwn.
3d265911 5776
bf8ae8c0
JM
57772018-12-12 Joseph Myers <joseph@codesourcery.com>
5778
5779 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
5780 definition.
5781
de099757
LS
57822018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5783
5784 * benchtests/scripts/compare_bench.py (do_compare): write to
5785 stderr in casestat is not present.
5786 * benchtests/scripts/compare_bench.py (plot_graphs): write to
5787 stderr in case timings field is not present. Also string showing
5788 the output filename goes into the stderr.
5789
1990185f
LS
57902018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5791
5792 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
5793 and ZeroDivisorError exceptions.
5794 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
5795 argument to loop through user provided statistics.
5796 * benchtests/scripts/compare_bench.py (main): Include the --stats
5797 argument.
5798
587426d4
LS
57992018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5800
5801 * benchtests/scripts/compare_bench.py (compare_runs): Continue
5802 instead of return.
5803
46703efa
FW
58042018-12-12 Florian Weimer <fweimer@redhat.com>
5805
5806 * sysdeps/posix/timespec_get.c: Add missing “any later version”
5807 clause to copyright header.
5808
1d880d4a
TMQMF
58092018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5810
5811 [BZ #23614]
5812 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
5813 registers saved in the stack frame.
5814 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
5815 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
5816
1a502f52
GG
58172018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5818
5819 * include/bits/monetary-ldbl.h: New file.
5820 * include/bits/printf-ldbl.h: Likewise.
5821 * include/bits/stdio-ldbl.h: Likewise.
5822 * include/bits/stdlib-ldbl.h: Likewise.
5823 * include/bits/syslog-ldbl.h: Likewise.
5824 * include/bits/wchar-ldbl.h: Likewise.
5825
df682d1d
GG
58262018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5827
5828 * libio/libio.h: Remove redirection for _IO_vfprintf.
5829
c2c082c1
AS
58302018-12-11 Andreas Schwab <schwab@suse.de>
5831
5832 * Makerules: Remove all references to abilist-pattern.
5833 (update-all-abi): Simplify find expression.
5834
505b5b29
SN
58352018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
5836
5837 [BZ #23961]
5838 * math/auto-libm-test-in: Add new test case.
5839 * math/auto-libm-test-out-pow: Regenerated.
5840 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
5841
304c61a2
DD
58422018-12-10 DJ Delorie <dj@redhat.com>
5843
5844 [BZ #23948]
5845 * support/test-container.c: Move postclean step to before we
5846 change namespaces.
5847
a8110b72
JM
58482018-12-10 Joseph Myers <joseph@codesourcery.com>
5849
cb7be159
JM
5850 * scripts/gen-as-const.py (main): Handle --python option.
5851 * scripts/gen-py-const.awk: Remove.
5852 * Makerules (py-const-script): Use gen-as-const.py.
5853 ($(py-const)): Likewise.
5854 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
5855 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
5856 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
5857 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
5858 ~PTHREAD_MUTEX_NO_ELISION_NP.
5859 * manual/README.pretty-printers: Update reference to
5860 gen-py-const.awk.
5861
a8110b72
JM
5862 * scripts/glibcextract.py: New file.
5863 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
5864 or tempfile. Import glibcexctract.
5865 (compute_c_consts): Remove. Moved to glibcextract.py.
5866 (gen_test): Update reference to compute_c_consts.
5867 (main): Likewise.
5868 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
5869 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
5870 * sysdeps/unix/sysv/linux/Makefile
5871 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
5872 Redirect stderr as well as stdout.
5873
f9ba9eb8
RÁE
58742018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
5875
5876 [BZ #19767]
5877 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
b39d961c
TS
5878 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
5879 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
f9ba9eb8 5880 ALWAYS_USE_VSYSCALL.
b39d961c 5881 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
f9ba9eb8
RÁE
5882 ALWAYS_USE_VSYSCALL.
5883 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
5884 ALWAYS_USE_VSYSCALL.
5885
8d20a2f4
FW
58862018-12-10 Florian Weimer <fweimer@redhat.com>
5887
5888 [BZ #23972]
5889 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
5890 offset instead of count for clarity. Fix typo in comment.
5891 (__old_getdents64): Keep track of previous offset. Use it to call
5892 handle_overflow.
5893 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
5894 that d_off is never zero.
5895
80472e2f
AS
58962018-12-10 Andreas Schwab <schwab@suse.de>
5897
5898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
5899 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
5900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
5901 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
5902 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
5903
0afcb29d
JM
59042018-12-10 Joseph Myers <joseph@codesourcery.com>
5905
5906 * timezone/private.h: Update from tzcode 2018g.
5907 * timezone/tzfile.h: Likewise.
5908 * timezone/tzselect.ksh: Likewise.
5909 * timezone/zdump.c: Likewise.
5910 * timezone/zic.c: Likewise.
5911
b93f4052
PP
59122018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5913
5914 [BZ #23490]
5915 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
5916 (do_test): Adjust buffer size and fix format.
5917
7c9a7c68
DD
59182018-12-07 DJ Delorie <dj@redhat.com>
5919
5920 [BZ #23907]
5921 * malloc/tst-tcfree3.c: New.
5922 * malloc/Makefile: Add it.
5923
37caec3a
L
59242018-12-07 H.J. Lu <hongjiu.lu@intel.com>
5925
5926 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
5927
10446f5d
GG
59282018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5929
5930 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
5931 used as a mask for the mode argument of __vfscanf_internal and
5932 __vfwscanf_internal.
5933 * stdio-common/vfscanf-internal.c
5934 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
5935 (__strtof128_internal): Define to __wcstof128_internal.
5936 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
5937 __strtof128_internal or __wcstof128_internal when the format of
5938 long double is the same as _Float128.
5939
45f33aac
ST
59402018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
5941
5942 * include/unistd.h (__confstr): Add prototype and hidden prototype.
5943 * posix/confstr.c (confstr): Rename to __confstr.
5944 (__confstr): Add hidden def.
5945 (confstr): Add weak alias for __confstr.
5946 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
5947 confstr.
5948
a092ca94
L
59492018-12-07 H.J. Lu <hongjiu.lu@intel.com>
5950
5951 * NEWS: Mention getcpu.
5952 * include/sched.h (__getcpu): New libc_hidden_proto.
5953 * manual/resource.texi: Document getcpu.
5954 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
5955 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
5956 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
5957 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5958 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5959 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5960 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5961 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5962 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5963 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5964 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5965 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5966 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
5967 Likewise.
5968 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5969 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5970 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5972 Likewise.
5973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5974 Likewise.
5975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5976 Likewise.
5977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5978 Likewise.
5979 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
5980 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5981 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5982 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5983 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5984 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5985 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5986 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5987 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
5988 * sysdeps/unix/sysv/linux/getcpu.c: New file.
5989 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
5990 Also check getcpu.
5991
7c857b6f
ST
59922018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
5993
5994 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
5995 functions.
5996 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
5997
3a3fb755
FW
59982018-12-07 Florian Weimer <fweimer@redhat.com>
5999
6000 [BZ #17405]
6001 * posix/Makefile (routines): Add spawn_faction_addfchdir.
6002 * posix/Versions (GLIBC_2.29): Export
6003 posix_spawn_file_actions_addfchdir_np.
6004 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
6005 * posix/spawn_faction_destroy.c
6006 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
6007 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
6008 and the field action.fchdir_action.
6009 * posix/tst-spawn-chdir.c (add_chdir): New function.
6010 (do_test): Add do_fchdir loop. Call add_chdir.
6011 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
6012 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6013 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
6014 posix_spawn_file_actions_addfchdir_np.
6015 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
6016 Likewise.
6017 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
6018 Likewise.
6019 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
6020 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
6021 Likewise.
6022 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
6023 Likewise.
6024 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
6025 Likewise.
6026 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
6027 Likewise.
6028 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
6029 Likewise.
6030 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
6031 Likewise.
6032 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6033 (GLIBC_2.29): Likewise.
6034 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6035 (GLIBC_2.29): Likewise.
6036 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6037 (GLIBC_2.29): Likewise.
6038 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6039 (GLIBC_2.29): Likewise.
6040 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
6041 Likewise.
6042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6043 (GLIBC_2.29): Likewise.
6044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6045 (GLIBC_2.29): Likewise.
6046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6047 (GLIBC_2.29): Likewise.
6048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6049 (GLIBC_2.29): Likewise.
6050 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
6051 Likewise.
6052 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
6053 Likewise.
6054 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
6055 Likewise.
6056 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
6057 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
6058 Likewise.
6059 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
6060 Likewise.
6061 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
6062 Likewise.
6063 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
6064 Likewise.
6065
c37cd439
JM
60662018-12-06 Joseph Myers <joseph@codesourcery.com>
6067
6068 * manual/texinfo.tex: Update to version 2018-09-21.20 with
6069 trailing whitespace removed.
6070 * scripts/config.guess: Update to version 2018-11-28.
6071 * scripts/config.sub: Update to version 2018-11-28.
6072 * scripts/install-sh: Update to version 2018-03-11.20.
6073 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
6074 * scripts/move-if-change: Update to version 2018-03-07 03:47.
6075
899478c2
FW
60762018-12-07 Florian Weimer <fweimer@redhat.com>
6077
6078 [BZ #23927]
6079 CVE-2018-19591
6080 * inet/tst-if_index-long.c: New file.
6081 * inet/Makefile (tests): Add tst-if_index-long.
6082
f255336a
FW
60832018-12-07 Florian Weimer <fweimer@redhat.com>
6084
6085 * support/check.h (support_record_failure_is_failed): Declare.
6086 * support/descriptors.h: New file.
6087 * support/support_descriptors.c: Likewise.
6088 * support/tst-support_descriptors.c: Likewise.
6089 * support/support_record_failure.c
6090 (support_record_failure_is_failed): New function.
6091 * support/Makefile (libsupport-routines): Add support_descriptors.
6092 (tests): Add tst-support_descriptors.
6093
35caceb1
ZW
60942018-12-05 Zack Weinberg <zackw@panix.com>
6095 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6096
6097 * stdio-common/vfprintf-internal.c
6098 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
6099 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
6100 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
6101 and __no_long_double.
6102 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
6103 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
6104 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
6105 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
6106 and __nldbl_*syslog* functions.
6107 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
6108 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
6109 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
6110 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
6111 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
6112 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
6113 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
6114 (__nldbl_vwprintf, __nldbl_wprintf):
6115 Directly call the appropriate __v*printf_internal routine, passing
6116 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
6117 variable names.
6118 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
6119 (__nldbl___printf_chk, __nldbl___snprintf_chk)
6120 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
6121 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
6122 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
6123 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
6124 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
6125 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
6126 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
6127 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
6128 Likewise, and also pass PRINTF_FORTIFY when appropriate.
6129 (__nldbl_syslog, __nldbl_vsyslog):
6130 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
6131 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
6132 appropriate.
6133 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
6134 appropriate.
6135
4e2f43f8
ZW
61362018-12-05 Zack Weinberg <zackw@panix.com>
6137 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6138
6139 [BZ #11319]
6140 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
6141 Moved here from debug/vsprintf_chk.c.
6142 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
6143 and completion logic for the strfile to match exactly what
6144 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
6145 _IO_str_init_static_internal instead of maxlen-1.
6146 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
6147 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
6148 __vsprintf_internal.
6149
6150 * debug/vsprintf_chk.c (__vsprintf_chk)
6151 * debug/sprintf_chk.c (__sprintf_chk):
6152 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
6153 'flags' argument is positive, and slen as maxlen. No need to lock
6154 the FILE and/or construct a temporary FILE. Minimize and normalize
6155 header inclusions and variable names. Do not libc_hidden_def anything.
6156
6157 * debug/asprintf_chk.c (__asprintf_chk)
6158 * debug/dprintf_chk.c (__dprintf_chk)
6159 * debug/fprintf_chk.c (__fprintf_chk)
6160 * debug/fwprintf_chk.c (__fwprintf_chk)
6161 * debug/printf_chk.c (__printf_chk)
6162 * debug/snprintf_chk.c (__snprintf_chk)
6163 * debug/swprintf_chk.c (__swprintf_chk)
6164 * debug/vasprintf_chk.c (__vasprintf_chk)
6165 * debug/vdprintf_chk.c (__vdprintf_chk)
6166 * debug/vfprintf_chk.c (__vfprintf_chk)
6167 * debug/vfwprintf_chk.c (__vfwprintf_chk)
6168 * debug/vprintf_chk.c (__vprintf_chk)
6169 * debug/vsnprintf_chk.c (__vsnprintf_chk)
6170 * debug/vswprintf_chk.c (__vswprintf_chk)
6171 * debug/vwprintf_chk.c (__vwprintf_chk)
6172 * debug/wprintf_chk.c (__wprintf_chk):
6173 Directly call the corresponding vxxprintf_internal function, passing
6174 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
6175 the FILE and/or construct a temporary FILE. Minimize and normalize
6176 header inclusions and variable names. Do not libc_hidden_def anything.
6177
6178 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
6179 __obstack_vprintf_internal.
6180 (__obstack_vprintf_chk): Convert into a wrapper that calls
6181 __obstack_vprintf_internal (these two functions already had the
6182 same code) and move to new file...
6183 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
6184 file.
6185 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
6186 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
6187 * debug/Makefile (routines): Add vobprintf_chk.
6188
6189 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
6190 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
6191 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
6192 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
6193 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
6194 (__nldbl___obstack_vfprintf_chk):
6195 Directly call the corresponding vxxprintf_internal function,
6196 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
6197 duplicate comparison of slen with 0 or maxlen from the corresponding
6198 non-__nldbl function.
6199
6200 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
6201 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
6202 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
6203 Remove libc_hidden_proto.
6204
6205 * stdio-common/vfprintf-internal.c
6206 (__vfprintf_internal, __vfwprintf_internal):
6207 Do not check _IO_FLAGS2_FORTIFY.
6208 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
6209 * libio/libioP.h: Update prototype of __vsprintf_internal and add
6210 a comment explaining why it has the maxlen argument.
6211 (_IO_acquire_lock_clear_flags2_fct): Remove.
6212 (_IO_acquire_lock_clear_flags2): Remove.
6213 (_IO_release_lock): Remove conditional statement which will
6214 now never execute.
6215 (_IO_acquire_lock): Remove variable which is now unused.
6216 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
6217 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
6218
6219 * stdio-common/Makefile (tests): Add tst-bz11319 and
6220 tst-bz11319-fortify2.
6221 (CFLAGS-tst-bz11319-fortify2.c): New macro.
6222 * stdio-common/tst-bz11319-fortify2.c: New file.
6223 * stdio-common/tst-bz11319.c: Likewise.
6224
124fc732
ZW
62252018-12-05 Zack Weinberg <zackw@panix.com>
6226 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6227
6228 * misc/syslog.c: Include libioP.h, not iolibio.h.
6229 (__vsyslog_internal): New function with the former body of
6230 __vsyslog_chk; takes mode_flags argument same as
6231 __v*printf_internal. Call __vfprintf_internal directly.
6232
6233 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
6234 Remove libc_hidden_def.
6235 (__syslog, __syslog_chk): Use __vsyslog_internal.
6236 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
6237
6238 * include/sys/syslog.h: Add multiple inclusion guard.
6239 Add prototype for __vsyslog_internal.
6240 Remove declaration and libc_hidden_proto for __vsyslog_chk.
6241
6242 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
6243 Use __vsyslog_internal.
6244
698fb75b
ZW
62452018-12-05 Zack Weinberg <zackw@panix.com>
6246 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6247
6248 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
6249 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
6250 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
6251 New functions.
6252 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
6253 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
6254
6255 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
6256 Include wctype.h here if COMPILE_WPRINTF is defined.
6257 Define __vfprintf_internal or __vfwprintf_internal, depending
6258 on COMPILE_WPRINTF.
6259 Temporarily, on entry to this function, update mode_flags
6260 according to the environmental settings corresponding to
6261 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
6262 Throughout, check mode_flags instead of __ldbl_is_dbl and
6263 _IO_FLAGS2_FORTIFY on the destination FILE.
6264 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
6265 Include vfprintf-internal.c. Don't include wctype.h.
6266 * stdio-common/vfprintf.c: New file. Just define __vfprintf
6267 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
6268 and vfprintf.
6269 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
6270 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
6271 and vfwprintf.
6272 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
6273
6274 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
6275 and add mode_flags argument; use __vfprintf_internal.
6276 (__vdprintf): New function. Alias vdprintf to this.
6277 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
6278 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
6279 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
6280 (__obstack_printf): Use __obstack_printf_internal.
6281 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
6282 public aliases __vsnprintf and vsnprintf.
6283 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
6284 called internally.
6285 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
6286 public aliases _IO_vsprintf and vsprintf.
6287 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
6288 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
6289 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
6290 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
6291 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
6292
6293 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
6294 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
6295 * stdio-common/fprintf.c, stdio-common/fxprintf.c
6296 * stdio-common/printf.c: Use __vfprintf_internal.
6297
6298 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
6299 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
6300 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
6301
6302 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
6303 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
6304 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
6305 __vfwprintf_internal.
6306
6307 * libio/libio.h: Remove libc_hidden_proto and declaration for
6308 _IO_vfprintf.
6309 Remove declaration of _IO_vfwprintf.
6310 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
6311 _IO_vsprintf.
6312 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
6313 _IO_obstack_printf.
6314 * include/stdio.h: Add prototype for __vasprintf.
6315 (__vsnprintf): Remove declaration, because there are no more
6316 internal calls.
6317 * include/wchar.h (__vfwprintf, __vswprintf): Remove
6318 declaration, because there are no more internal calls.
6319
6320 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
6321 __vsnprintf_internal, instead of _IO_vsnprintf.
6322 * argp/argp-help.c (__argp_error, __argp_failure): Use
6323 __vasprintf_internal, instead of _IO_vasprintf.
6324 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
6325 redefine, because there are no more internal calls.
6326
d91798b3
ZW
63272018-12-05 Zack Weinberg <zackw@panix.com>
6328 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6329
6330 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
6331 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
6332 Include libio/strfile.h instead of libioP.h.
6333 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
6334 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
6335 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
6336 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
6337 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
6338 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
6339 necessary. Do not set __no_long_double. Normalize variable names.
6340 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
6341 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
6342 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
6343 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
6344 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
6345 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
6346 Call __vfscanf_internal / __vfwscanf_internal directly, passing
6347 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
6348 Do not set __no_long_double. Normalize variable names.
6349
b87eb3f8
ZW
63502018-12-05 Zack Weinberg <zackw@panix.com>
6351 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6352
6353 * stdio-common/isoc99_scanf.c
6354 * stdio-common/isoc99_fscanf.c
6355 * stdio-common/isoc99_sscanf.c
6356 * stdio-common/isoc99_vscanf.c
6357 * stdio-common/isoc99_vfscanf.c
6358 * stdio-common/isoc99_vsscanf.c
6359 * wcsmbs/isoc99_wscanf.c
6360 * wcsmbs/isoc99_fwscanf.c
6361 * wcsmbs/isoc99_swscanf.c
6362 * wcsmbs/isoc99_vwscanf.c
6363 * wcsmbs/isoc99_vfwscanf.c
6364 * wcsmbs/isoc99_vswscanf.c:
6365 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
6366 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
6367 No need to lock and unlock the FILE passed to that function.
6368
6369 * stdio-common/vfscanf-internal.c
6370 (__vfscanf_internal, __vfwscanf_internal):
6371 Don't look at _IO_FLAGS2_SCANF_STD.
6372 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
6373 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
6374 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
6375
349718d4
ZW
63762018-12-05 Zack Weinberg <zackw@panix.com>
6377 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6378
6379 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
6380 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
6381 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
6382 * libio/strfile.h: Add multiple inclusion guard.
6383 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
6384
6385 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
6386 consistency with the other version of this file.
6387 (ldbl_compat_symbol): New macro.
6388 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
6389 New macro.
6390
6391 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
6392 Define __vfscanf_internal or __vfwscanf_internal, depending on
6393 COMPILE_WSCANF; don't define any other public symbols.
6394 Remove errval and code to set errp.
6395 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
6396 as the mode_flags argument.
6397 (encode_error, conv_error, input_error): Don't set errval.
6398 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
6399 Include vfscanf-internal.c.
6400 * stdio-common/vfscanf.c: New file defining the public entry
6401 point vfscanf, which calls __vfscanf_internal.
6402 * stdio-common/vfwscanf.c: New file defining the public entry
6403 point vfwscanf, which calls __vfwscanf_internal.
6404
6405 * stdio-common/iovfscanf.c: New file.
6406 * stdio-common/iovfwscanf.c: Likewise.
6407
6408 * stdio-common/Makefile (routines): Add vfscanf-internal,
6409 vfwscanf-internal, iovfscanf, iovfwscanf.
6410 * stdio-common/Versions: Mention GLIBC_2.29, so that
6411 it can be used in SHLIB_COMPAT expressions.
6412 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
6413 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
6414 Call __vfscanf_internal, instead of _IO_vfscanf.
6415 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
6416 _IO_vfscanf.
6417 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
6418 _IO_vfwscanf.
6419
6420 * libio/iovsscanf.c: Clean up includes, when possible. Use
6421 _IO_strfile_read or _IO_strfile_readw, when needed. Call
6422 __vfscanf_internal or __vfwscanf_internal directly.
6423 * libio/iovswscanf.c: Likewise.
6424 * libio/swscanf.c: Likewise.
6425 * libio/vscanf.c: Likewise.
6426 * libio/vwscanf.c: Likewise.
6427 * libio/wscanf.c: Likewise.
6428 * stdio-common/isoc99_fscanf.c: Likewise.
6429 * stdio-common/isoc99_scanf.c: Likewise.
6430 * stdio-common/isoc99_sscanf.c: Likewise.
6431 * stdio-common/isoc99_vfscanf.c: Likewise.
6432 * stdio-common/isoc99_vscanf.c: Likewise.
6433 * stdio-common/isoc99_vsscanf.c: Likewise.
6434 * stdio-common/scanf.c: Likewise.
6435 * stdio-common/sscanf.c: Likewise.
6436 * wcsmbs/isoc99_fwscanf.c: Likewise.
6437 * wcsmbs/isoc99_swscanf.c: Likewise.
6438 * wcsmbs/isoc99_vfwscanf.c: Likewise.
6439 * wcsmbs/isoc99_vswscanf.c: Likewise.
6440 * wcsmbs/isoc99_vwscanf.c: Likewise.
6441 * wcsmbs/isoc99_wscanf.c: Likewise.
6442
6b5c8607 64432018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
72b8692d
AA
6444
6445 * include/time.h
6446 (__tz_compute): Replace time_t with __time64_t.
6447 (__tz_convert): Replace time_t* with __time64_t.
6448 (__offtime): Replace time_t* with __time64_t.
6449 * time/gmtime.c
6450 (__gmtime_r): Adjust call to __tz_convert.
6451 (gmtime): Likewise.
6452 * time/localtime.c
6453 (__localtime_r): Likewise.
6454 (localtime): Likewise.
6455 * time/offtime.c: Replace time_t with __time64_t.
6456 * time/tzset.c: Likewise.
6457
bd598da9
JM
64582018-12-04 Joseph Myers <joseph@codesourcery.com>
6459
6460 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
6461 dynamic linker unless [$(run-built-tests) = yes].
6462
b2e93de0
DD
64632018-12-03 DJ Delorie <dj@delorie.com>
6464
6465 * support/test-container.c (check_for_unshare_hints): New.
6466 (main): Call it if unshare fails. Add support for "su" scriptlet
6467 command.
6468
477a02f6
JM
64692018-12-03 Joseph Myers <joseph@codesourcery.com>
6470
6471 * scripts/gen-as-const.py (compute_c_consts): Take an argument
6472 'START' to indicate that start text should be output.
6473 (gen_test): Likewise.
6474 (main): Generate 'START' for first symbol or '--' line, or at end
6475 of input if not previously generated.
6476
6af956e5
RÁE
64772018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
6478
6479 [BZ #19767]
6480 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
6481 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
6482 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
6483 ALWAYS_USE_VSYSCALL.
6484
f5ec0ea9
AZ
64852018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6486
6487 [BZ #23913]
6488 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
6489 new_argv by one.
6490
8cebd4ff
CD
64912018-12-03 Carlos O'Donell <carlos@redhat.com>
6492
6493 [BZ #23923]
6494 * locale/programs/localedef.c: Declare boolean hard_links default true.
6495 (options): Add --no-hard-links option.
6496 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
6497 * locale/programs/localedef.h: Declare prototype for hard_links.
6498 * locale/programs/locfile.c (write_locale_data): Don't use hard
6499 links if hard_links is false.
6500
c22e4c2a
L
65012018-12-03 H.J. Lu <hongjiu.lu@intel.com>
6502
6503 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
6504 cpu_features_basic.
6505 (__cache_sysconf): Likewise.
6506 (init_cacheinfo): Likewise.
6507 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
6508 populate COMMON_CPUID_INDEX_80000007 and
6509 COMMON_CPUID_INDEX_80000008.
6510 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
6511 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
6512 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
6513 (init_cpu_features): Use _Static_assert on
6514 index_arch_Fast_Unaligned_Load.
6515 __get_cpuid_registers and __get_arch_feature. Updated for
6516 cpu_features_basic. Set stepping in cpu_features.
6517 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
6518 (FEATURE_INDEX_2): New.
6519 (FEATURE_INDEX_MAX): Changed to enum.
6520 (COMMON_CPUID_INDEX_D_ECX_1): New.
6521 (COMMON_CPUID_INDEX_80000007): Likewise.
6522 (COMMON_CPUID_INDEX_80000008): Likewise.
6523 (cpuid_registers): Likewise.
6524 (cpu_features_basic): Likewise.
6525 (CPU_FEATURE_USABLE): Likewise.
6526 (bit_arch_XXX_Usable): Likewise.
6527 (cpu_features): Use cpuid_registers and cpu_features_basic.
6528 (bit_arch_XXX): Reweritten.
6529 (bit_cpu_XXX): Likewise.
6530 (index_cpu_XXX): Likewise.
6531 (reg_XXX): Likewise.
6532 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
6533 <support/check.h>.
6534 (CHECK_CPU_FEATURE): New.
6535 (CHECK_CPU_FEATURE_USABLE): Likewise.
6536 (cpu_kinds): Likewise.
6537 (do_test): Print vendor, family, model and stepping. Check
6538 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
6539 (TEST_FUNCTION): Removed.
6540 Include <support/test-driver.c> instead of
6541 "../../test-skeleton.c".
6542 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
6543 Check POPCNT instead of POPCOUNT.
6544 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
6545
7b36d26b
ST
65462018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
6547
6548 * scripts/gen-as-const.py (main): Avoid emitting empty line when
6549 there is no element in `consts'.
6550
02cd5c1a
FW
65512018-12-01 Florian Weimer <fweimer@redhat.com>
6552
6553 * support/support_capture_subprocess.c
6554 (support_capture_subprocess): Check that pipe descriptors have
6555 expected values. Close original pipe descriptors in subprocess.
6556
fc493bc9
ST
65572018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
6558
6559 [BZ #23032]
6560 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
6561 attr with __pthread_default_barrierattr.
6562 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
6563 attr with __pthread_default_condattr.
6564 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
6565 attr with __pthread_default_mutexattr.
6566 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
6567 attr with __pthread_default_rwlockattr.
6568
6310e6be
KW
65692018-12-01 Kemi Wang <kemi.wang@intel.com>
6570
6571 * manual/tunables.texi (POSIX Thread Tunables): New node.
6572 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
6573 * nptl/nptl-init.c: Include pthread_mutex_conf.h
6574 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
6575 __pthread_tunables_init.
6576 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
6577 (max_adaptive_count): Define.
6578 * nptl/pthread_mutex_conf.c: New file.
6579 * nptl/pthread_mutex_conf.h: New file.
6580 * sysdeps/generic/adaptive_spin_count.h: New file.
6581 * sysdeps/nptl/dl-tunables.list: New file.
6582 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
6583 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
6584 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
6585 Likewise.
6586
8e67b39e
PP
65872018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
6588
6589 [BZ #20544]
6590 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
6591 * stdlib/on_exit.c (__on_exit): Likewise.
6592 * stdlib/Makefile (tests): Add tst-bz20544.
6593 * stdlib/tst-bz20544.c: New test.
6594
15b8d67e
RÁE
65952018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
6596
6597 [BZ #19767]
6598 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
6599 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
6600 New.
6601
5e63c240
FW
66022018-11-30 Florian Weimer <fweimer@redhat.com>
6603
6604 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
6605 Extend error logging.
6606 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
6607 symbol.
6608
71058602 66092018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14d0e87d 6610
5fb7fc96
AZ
6611 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
6612 __sigismember instead of sigismember.
6613 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
6614 cancel_handler): New definitions.
6615 (do_system): Use posix_spawn instead of fork and execl and remove
6616 reentracy code.
6617 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
6618 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
6619 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
6620 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
6621 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
6622 * sysdeps/unix/sysv/linux/system.c: Likewise.
6623
14d0e87d
AZ
6624 [BZ #22834]
6625 [BZ #17490]
6626 * NEWS: Add new semantic for atfork with popen and system.
6627 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
6628 fork and execl.
6629
e5d262ef
TMQMF
66302018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6631
6632 [BZ #23690]
6633 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
6634 modification order when accessing reloc_result->addr.
6635 * include/link.h (reloc_result): Add field init.
6636 * nptl/Makefile (tests): Add tst-audit-threads.
6637 (modules-names): Add tst-audit-threads-mod1 and
6638 tst-audit-threads-mod2.
6639 Add rules to build tst-audit-threads.
6640 * nptl/tst-audit-threads-mod1.c: New file.
6641 * nptl/tst-audit-threads-mod2.c: Likewise.
6642 * nptl/tst-audit-threads.c: Likewise.
6643 * nptl/tst-audit-threads.h: Likewise.
6644
7e1d4240
JM
66452018-11-30 Joseph Myers <joseph@codesourcery.com>
6646
6647 * scripts/gen-as-const.py: New file.
6648 * scripts/gen-as-const.awk: Remove.
6649 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
6650 gen-as-const.py.
6651 ($(objpfx)test-as-const-%.c): Likewise.
6652
ce7387cc
L
66532018-11-29 H.J. Lu <hongjiu.lu@intel.com>
6654
6655 * elf/dl-exception.c: Include <_itoa.h>.
6656
c6a5bdc1
ST
66572018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
6658
6659 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
6660 returned by __f_setlk.
6661
a5275ba5
L
66622018-11-29 H.J. Lu <hongjiu.lu@intel.com>
6663 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6664
6665 * elf/Makefile (tests-internal): Add tst-create_format1.
6666 * elf/dl-exception.c (_dl_exception_create_format): Support
6667 %x, %lx and %zx.
6668 * elf/tst-create_format1.c: New file.
6669
3a67e81d
CAC
66702018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
6671
6672 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
6673 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
6674 gnulib.)
6675 * argp/argp-help.c (__argp_failure): Likewise.
6676
4975f0c3
MH
66772018-11-29 Mao Han <han_mao@c-sky.com>
6678
6679 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
6680 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
6681 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
6682 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
6683 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
6684 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
6685 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
6686 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
6687 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
6688 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
6689 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
6690 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
6691 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
6692 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
6693 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
6694 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
6695 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
6696 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
6697 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
6698 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
6699 (R_CKCORE_TLS_TPOFF32): New defines.
6700
250102c8
FW
67012018-11-29 Florian Weimer <fweimer@redhat.com>
6702
6703 * posix/Makefile (before-compile): Remove testcases.h and
6704 ptestcases.h.
6705 (generated): Add testcases.h and ptestcases.h.
6706 (testcases.h, ptestcases.h): Move to $(objpfx).
6707 (runtests.o): Add dependency on testcases.h.
6708 (runptests.o): Add dependency on ptestcases.h.
6709 * posix/testcases.h, posix/ptestcases.h: Remove files.
6710 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
6711 not touch posix/testcases.h and posix/ptestcases.h.
6712
96cd0558
FW
67132018-11-28 Florian Weimer <fweimer@redhat.com>
6714
6715 support: Add signal support to support_capture_subprocess_check.
6716 * support/capture_subprocess.h (support_capture_subprocess_check):
6717 Adjust comment and rename parameter.
6718 * support/support_capture_subprocess_check.c
6719 (print_actual_status): New function.
6720 (support_capture_subprocess_check): Support negative
6721 status_or_signal. Call print_actual_status.
6722 * support/tst-support_capture_subprocess.c (do_test): Call
6723 support_capture_subprocess_check.
6724 * libio/tst-vtables-common.c (termination_status)
6725 (init_termination_status): Remove.
6726 (check_for_termination): Adjust support_capture_subprocess_check
6727 call.
6728 (do_test): Remove call to init_termination_status.
6729
530504e3
JM
67302018-11-28 Joseph Myers <joseph@codesourcery.com>
6731
6732 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
6733 source directory instead of a copy.
6734 (CommandList.create_copy_dir): Remove.
6735
9a0b6970
SL
67362018-11-28 Stefan Liebler <stli@linux.ibm.com>
6737
6738 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6739
47d8d9a2
FW
67402018-11-28 Florian Weimer <fweimer@redhat.com>
6741
6742 * support/support.h (support_quote_string): Do not use str
6743 parameter name.
6744
b473b7d8
JM
67452018-11-27 Joseph Myers <joseph@codesourcery.com>
6746
6747 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
6748 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
6749
c74a91de
FW
67502018-11-27 Florian Weimer <fweimer@redhat.com>
6751
6752 * support/support.h (support_quote_string): Declare.
6753 * support/support_quote_string.c: New file.
6754 * support/tst-support_quote_string.c: Likewise.
6755 * support/Makefile (libsupport-routines): Add
6756 support_quote_string.
6757 (tests): Add tst-support_quote_string.
6758
d527c860
FW
67592018-11-27 Florian Weimer <fweimer@redhat.com>
6760
6761 [BZ #23927]
6762 CVE-2018-19591
6763 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
6764 descriptor leak in case of ENODEV error.
6765
979cfed0
RÁE
67662018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
6767
6768 [BZ #19767]
6769 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
6770 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
6771 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
6772
ce035c6e
CD
67732018-11-26 Carlos O'Donell <carlos@redhat.com>
6774
6775 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
6776 Error for unknown lines.
6777
2bd0bfcc
JM
67782018-11-26 Joseph Myers <joseph@codesourcery.com>
6779
6780 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
6781 Touch additional files.
6782
affec03b
FW
67832018-11-26 Florian Weimer <fweimer@redhat.com>
6784
6785 [BZ #23907]
6786 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
6787 double-frees.
6788
8ae74ead
RÁE
67892018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
6790
6791 [BZ #19767]
6792 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
6793 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
6794 SHARED. Include sysdep.h.
6795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
6796 ALWAYS_USE_VSYSCALL.
6797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
6798 ALWAYS_USE_VSYSCALL.
6799
1e8bdc3a
RÁE
68002018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
6801
6802 [BZ #19767]
6803 * nptl/Makefile (tests-static): Add tst-cond11-static.
6804 (tests): Likewise.
6805 * nptl/tst-cond11-static.c: New File.
6806 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
6807 tst-affinity-static.
6808 (tests): Likewise.
6809 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
6810 instead of SHARED.
6811 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
6812 (USE_VSYSCALL): Likewise.
6813 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
6814 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
6815 instead of SHARED.
6816 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
6817 SHARED.
6818 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
6819 New.
6820
1283c478
JM
68212018-11-23 Joseph Myers <joseph@codesourcery.com>
6822
6823 [BZ #23915]
6824 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6825 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
6826 Undefine.
6827
c089fd80
L
68282018-11-23 H.J. Lu <hongjiu.lu@intel.com>
6829
6830 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
6831 (tst-cet-legacy-1a-ARGS): New.
6832 ($(objpfx)tst-cet-legacy-1a): New target.
6833 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
6834
cc6c89fa
JM
68352018-11-22 Joseph Myers <joseph@codesourcery.com>
6836
95edd05c
JM
6837 * conform/conformtest.py (CompileSubTest.__init__): Set
6838 self.run_early to False.
6839 (ExecuteSubTest.__init__): Likewise.
6840 (HeaderTests.run): Try running all non-optional, non-XFAILed
6841 compilation tests in a single execution of the compiler.
6842
cc6c89fa
JM
6843 * conform/conformtest.py (CompileSubTest): New class.
6844 (ExecuteSubTest): Likewise.
6845 (ElementTest.run): Rename to gen_subtests. Append tests to
6846 self.subtests instead of running them.
6847 (ConstantTest.run): Likewise.
6848 (SymbolTest.run): Likewise.
6849 (TypeTest.run): Likewise.
6850 (TagTest.run): Likewise.
6851 (FunctionTest.run): Likewise.
6852 (VariableTest.run): Likewise.
6853 (MacroFunctionTest.run): Likewise.
6854 (MacroStrTest.run): Likewise.
6855 (HeaderTests.handle_test_line): Generate subtests for tests.
6856 (HeaderTests.run): Run subtests for tests.
6857
a502c529
SN
68582018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6859
6860 * math/Versions (GLIBC_2.29): Add pow.
6861 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
6862 symbol.
6863 * math/w_pow.c: New file.
6864 * sysdeps/i386/fpu/w_pow.c: New file.
6865 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
6866 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
6867 and add necessary aliases.
6868 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
6869 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
6870 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6871 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6872 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6873 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6874 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6875 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6876 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6877 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6878 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6879 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6880 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6881 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6882 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6887 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6888 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6889 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6890 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6891 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6892 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6893 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6894 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
6895 __pow.
6896 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
6897 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
6898 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
6899
718d6542
SN
69002018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6901
6902 * math/Versions (GLIBC_2.29): Add log2.
6903 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
6904 symbol.
6905 * math/w_log2.c: New file.
6906 * sysdeps/i386/fpu/w_log2.c: New file.
6907 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
6908 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
6909 and add necessary aliases.
6910 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
6911 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
6912 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6913 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6914 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6915 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6916 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6917 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6918 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6919 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6920 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6921 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6922 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6923 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6924 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6929 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6930 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6931 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6932 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6933 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6934 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6935 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6936
f29b7c49
SN
69372018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6938
6939 * math/Versions (GLIBC_2.29): Add log.
6940 * math/w_log_compat.c (__log_compat): Change to versioned compat
6941 symbol.
6942 * math/w_log.c: New file.
6943 * sysdeps/i386/fpu/w_log.c: New file.
6944 * sysdeps/ia64/fpu/e_log.S: Update.
6945 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
6946 and add necessary aliases.
6947 * sysdeps/ieee754/dbl-64/w_log.c: New file.
6948 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
6949 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6950 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6951 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6952 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6953 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6954 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6955 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6956 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6957 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6958 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6959 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6960 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6961 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6966 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6967 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6968 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6969 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6970 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6971 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6972 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6973 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
6974 __log.
6975 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
6976 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
6977 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
6978 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
6979
c20a1056
SN
69802018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6981
6982 * math/Versions (GLIBC_2.29): Add exp and exp2.
6983 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
6984 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
6985 * math/w_exp_compat.c (__exp_compat): Likewise.
6986 * math/w_exp.c: New file.
6987 * math/w_exp2.c: New file.
6988 * sysdeps/i386/fpu/w_exp.c: New file.
6989 * sysdeps/i386/fpu/w_exp2.c: New file.
6990 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
6991 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
6992 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
6993 and add necessary aliases.
6994 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
6995 and add necessary aliases.
6996 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
6997 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
6998 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
6999 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
7000 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7001 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7002 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7003 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7004 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7005 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7006 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7007 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7008 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7009 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7010 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7011 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7012 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7017 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7018 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7019 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7020 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7021 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7022 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7023 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7024 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
7025 (__ieee754_exp): Rename to __exp.
7026 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
7027 (__ieee754_exp): Rename to __exp.
7028 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
7029 (__ieee754_exp): Rename to __exp.
7030 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
7031 __exp.
7032 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
7033
bcdaad21
DD
70342018-11-20 DJ Delorie <dj@redhat.com>
7035
7036 * malloc/malloc.c (tcache_entry): Add key field.
7037 (tcache_put): Set it.
7038 (tcache_get): Likewise.
7039 (_int_free): Check for double free in tcache.
7040 * malloc/tst-tcfree1.c: New.
7041 * malloc/tst-tcfree2.c: New.
7042 * malloc/Makefile: Run the new tests.
7043 * manual/probes.texi: Document memory_tcache_double_free probe.
7044
7045 * dlfcn/dlerror.c (check_free): Prevent double frees.
7046
5770c0ad
WD
70472018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
7048
7049 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
7050
9a62a939
JM
70512018-11-20 Joseph Myers <joseph@codesourcery.com>
7052
7053 * conform/conformtest.py (ElementTest.run): Use unique identifiers
7054 in tests. Use names for format arguments.
7055 (ConstantTest.run): Likewise.
7056 (SymbolTest.run): Likewise.
7057 (TypeTest.run): Likewise.
7058 (TagTest.run): Likewise.
7059 (FunctionTest.run): Likewise.
7060 (VariableTest.run): Likewise.
7061 (MacroFunctionTest.run): Likewise.
7062 (MacroStrTest.run): Likewise.
7063 (HeaderTests.__init__): Set self.num_tests.
7064 (HeaderTests.handle_test_line): Set test.num. Increment
7065 self.num_tests.
7066
b15b1a95
ST
70672018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
7068
7069 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
7070 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
7071 SEEK_SET.
7072
0c7f97ae
MH
70732018-11-19 Mao Han <han_mao@c-sky.com>
7074
7075 * scripts/config.guess: Update to version 2018-08-29.
7076 * scripts/config.sub: Update to version 2018-08-29.
7077
35e3fbc4
FW
70782018-11-19 Florian Weimer <fweimer@redhat.com>
7079
7080 support: Print timestamps in timeout handler.
7081 * support/support_test_main.c (print_timestamp): New function.
7082 (signal_handler): Use it to print the termination time and the
7083 time of the last write to standard output.
7084
c75772e3
ZW
70852018-11-16 Zack Weinberg <zackw@panix.com>
7086 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7087
7088 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
7089 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
7090 argument.
7091 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
7092 and add flags argument. Check flags instead of __ldbl_is_dbl when
7093 deciding whether to set is_long_double.
7094 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
7095 passing zero for flags argument.
7096 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
7097
7098 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7099 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
7100 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
7101 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
7102 variable names. Remove libc_hidden_def/libc_hidden_proto from
7103 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
7104 longer called from within the library.
7105 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
7106 for __nldbl___vstrfmon_l, declare it explicitly.
7107
7108 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
7109
346ef23f
ST
71102018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
7111
7112 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
7113 macros
7114 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
7115 F_SETLK64, F_SETLKW64, respectively.
7116 * sysdeps/mach/hurd/f_setlk.c: New file.
7117 * sysdeps/mach/hurd/f_setlk.h: New file.
7118 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
7119 f_setlk.
7120 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
7121 (__libc_fcntl): Move non-flock operations to...
7122 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
7123 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
7124
de20b81a
PE
71252018-11-15 Paul Eggert <eggert@cs.ucla.edu>
7126
5d8af156
PE
7127 mktime: DEBUG_MKTIME cleanup
7128 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
7129 And it’s no longer needed now that glibc and Gnulib both have
7130 their own testing mechanisms for mktime.
7131 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
7132
86aece3b
PE
7133 mktime: fix non-EOVERFLOW errno handling
7134 [BZ#23789]
7135 mktime was not properly reporting failures when the underlying
7136 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
7137 them like EOVERFLOW failures, and set errno to EOVERFLOW.
7138 The problem could happen on non-glibc platforms, with Gnulib.
7139 * time/mktime.c (guess_time_tm): Remove, replacing with ...
7140 (tm_diff): ... this simpler function, which does not change errno.
7141 All callers changed to deal with errno themselves.
7142 (ranged_convert, __mktime_internal): Return failure immediately if
7143 the underlying function reports any failure other than EOVERFLOW.
7144 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
7145 gap code fails.
7146
f6b3331b
PE
7147 mktime: fix bug with Y2038 DST transition
7148 [BZ#23789]
7149 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
7150 mishandle a DST transition that jumps over the Y2038 boundary.
7151 No such DST transitions are known so this is only a theoretical
7152 bug, but we might as well do things right.
7153
efbdddc3
PE
7154 mktime: make more room for overflow
7155 [BZ#23789]
7156 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
7157 This is so that we can add tm_diff results to a previous guess,
7158 which will be useful in a later patch.
7159
6c90d759
PE
7160 mktime: simplify offset guess
7161 [BZ#23789]
7162 * time/mktime.c (__mktime_internal): Omit excess precision.
7163
32c12f3f
PE
7164 mktime: new test for mktime failure
7165 [BZ#23789]
7166 Based on a test suggested by Albert Aribaud in:
7167 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
7168 * time/Makefile (tests): Add bug-mktime4.
7169 * time/bug-mktime4.c: New file.
7170
de20b81a
PE
7171 mktime: fix EOVERFLOW bug
7172 [BZ#23789]
7173 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
7174 Include libc-config.h, not config.h, for __set_errno.
7175 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
7176
8c6c3fb0
ST
71772018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
7178
7179 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
7180 __attribute_copy__ to copy attributes from name. Drop static qualifier
7181 to avoid warnings about leaf attribute not having effect on static
7182 functions.
7183
6923f6db
FW
71842018-11-13 Florian Weimer <fweimer@redhat.com>
7185
7186 * malloc/malloc.c (fastbin_push_entry): New function.
7187 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
7188 (REMOVE_FB): Remove macro.
7189 (_int_malloc): Use fastbin_pop_entry and reindent.
7190 (_int_free): Use fastbin_push_entry.
7191 (malloc_consolidate): Use atomic_exchange_acquire.
7192
53f5c659
JM
71932018-11-13 Joseph Myers <joseph@codesourcery.com>
7194
0c096dcf
JM
7195 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
7196 alias attribute, not with strong_alias.
7197
9c4b457e
JM
7198 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
7199 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
7200 with additional parameter thread.
7201 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
7202 in terms of __hidden_ver2.
7203 (hidden_tls_def): New macro.
7204 (libc_hidden_tls_def): Likewise.
7205 (rtld_hidden_tls_def): Likewise.
7206 (libm_hidden_tls_def): Likewise.
7207 (libmvec_hidden_tls_def): Likewise.
7208 (libresolv_hidden_tls_def): Likewise.
7209 (librt_hidden_tls_def): Likewise.
7210 (libdl_hidden_tls_def): Likewise.
7211 (libnss_files_hidden_tls_def): Likewise.
7212 (libnsl_hidden_tls_def): Likewise.
7213 (libnss_nisplus_hidden_tls_def): Likewise.
7214 (libutil_hidden_tls_def): Likewise.
7215 (libutil_hidden_tls_def): Likweise.
7216 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
7217 libc_hidden_tls_def.
7218 (__sim_disabled_exceptions_thread): Likewise.
7219 (__sim_round_mode_thread): Likewise.
7220
53f5c659
JM
7221 * sysdeps/sparc/sparc-ifunc.h [SHARED]
7222 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
7223 copy attributes from name.
7224
092dfde6
JM
72252018-11-12 Joseph Myers <joseph@codesourcery.com>
7226
f578f97b
JM
7227 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
7228 Use __attribute_copy__ to copy attributes from name.
7229
9a7c643a
JM
7230 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
7231 with __hidden_ver1 call.
7232 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
7233 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
7234 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
7235 (__cosf): Do not declare here.
7236 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
7237 (__sincosf): Do not declare here.
7238 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
7239 (__sinf): Do not declare here.
7240
092dfde6
JM
7241 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
7242 (__BIG_ENDIAN): Likewise.
7243 (__BYTE_ORDER): Likewise.
7244 (strong_alias): Likewise.
7245 (_strong_alias): Likewise.
7246
1ecba1fa
FW
72472018-11-12 Florian Weimer <fweimer@redhat.com>
7248
7249 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
7250 function. Move after the definition of in_smallbin_range. Do not
7251 use __builtin_expect for paths that lead to a noreturn function.
7252 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
7253 because it is unclear whether this is in fact an unlikely
7254 condition.
7255 (_int_malloc, _int_free): Adjust.
7256 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
7257 variables.
7258 * malloc/arena.c (heap_trim): Likewise.
7259
434c34bd
ST
72602018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7261
7262 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
7263 it, free it if needed.
7264 (reauthenticate): Test and use ccwdir.
7265 (child_init_port): In non-resetids case, test and use ccwdir.
7266 (child_chdir): New nested function to set ccwdir.
7fa495cd
ST
7267 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
7268 * hurd/hurd/port.h (_hurd_port_move): New function.
7269 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
7270 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
88b26b7e
ST
7271 * hurd/Versions (_hurd_port_move): Export function.
7272 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
7273 symbol.
58bb655a
ST
7274 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
7275 of dtablesize for allocating dtable_cloexec.
434c34bd 7276
1626a1cf
MS
72772018-11-09 Martin Sebor <msebor@redhat.com>
7278
7279 * include/libc-symbols.h (__attribute_copy__): Define macro unless
7280 it's already defined.
7281 (_strong_alias): Use __attribute_copy__.
7282 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
7283 * misc/sys/cdefs.h (__attribute_copy__): New macro.
7284 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
7285 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
7286 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
7287 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
7288 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
7289 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
7290 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
7291 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
7292 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
7293 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
7294 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
7295 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
7296 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
7297 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
7298 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
7299 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
7300 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
7301
968ed530
GG
73022018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7303
7304 * misc/tst-efgcvt.c: Include support/check.h and
7305 support/test-driver.c. Do not include test-skeleton.c.
7306 (error_count): Remove.
7307 (output_error): Replace increments to error_count with calls to
7308 support_record_failure.
7309 (output_r_error): Likewise.
7310 (special): Likewise.
7311 (do_test): Unconditionally return zero.
7312 (TEST_FUNCTION): Remove.
7313
c3ec0972
JM
73142018-11-09 Joseph Myers <joseph@codesourcery.com>
7315
91faaa93
JM
7316 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
7317 not $(@D)/scratch.
7318 ($(linknamespace-header-tests)): Likewise.
7319
c3ec0972
JM
7320 * conform/conformtest.py: New file.
7321 * conform/conformtest.pl: Remove.
7322 * conform/GlibcConform.pm: Likewise.
7323 * conform/glibcconform.py (KEYWORDS_C90): New constant.
7324 (KEYWORDS_C99): Likewise.
7325 (KEYWORDS): Likewise.
7326 * conform/Makefile ($(conformtest-header-tests)): Use
7327 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
7328 option. Use --header instead of --headers.
7329 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
7330 function entries.
7331 * conform/data/spawn.h-data: Likewise.
7332 * conform/data/fcntl.h-data (openat): Add space after function
7333 name.
7334 * conform/data/wchar.h-data (wcscasecmp): Likewise.
7335 (wcscasecmp_l): Likewise.
7336 * conform/data/termios.h-data (c_cc): Add space after element
7337 name.
7338
43257c33
GG
73392018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7340
7341 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
7342 instead of manually comparing and reporting mismatching strings.
7343 * misc/tst-ldbl-error.c (do_one_test): Likewise.
7344 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
7345
e5de3b5b
JM
73462018-11-08 Joseph Myers <joseph@codesourcery.com>
7347
7348 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
7349 __ASSUME_SOCKETCALL.
7350 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7351 (__ASSUME_SOCKETCALL): Remove.
7352 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7353 (__ASSUME_SOCKETCALL): Likewise.
7354 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7355 (__ASSUME_SOCKETCALL): Likewise.
7356 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7357 (__ASSUME_SOCKETCALL): Likewise.
7358 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7359 (__ASSUME_SOCKETCALL): Likewise.
7360 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7361 (__ASSUME_SOCKETCALL): Likewise.
7362 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7363 (__ASSUME_SOCKETCALL): Likewise.
7364
d524fa6c
L
73652018-11-08 H.J. Lu <hongjiu.lu@intel.com>
7366
7367 [BZ #23509]
7368 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
7369 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
7370 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
7371 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
7372 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
7373 lc_unknown.
7374
ac806026
AH
73752018-11-08 Alexandra Hájková <ahajkova@redhat.com>
7376
7377 [BZ #17630]
7378 * resolv/tst-resolv-network.c: Add test for getnetbyname.
7379
596cc360
JM
73802018-11-07 Joseph Myers <joseph@codesourcery.com>
7381
7382 [BZ #23867]
7383 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7384 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
7385 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7386 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
7387
00c86a37
AZ
73882018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7389
7390 * support/support_test_compare_string.c
7391 (support_test_compare_string): Fix printf format.
7392
1df872fd
FW
73932018-11-07 Florian Weimer <fweimer@redhat.com>
7394
7395 Implement TEST_COMPARE_STRING.
7396 * support/check.h (TEST_COMPARE_STRING): Define.
7397 (support_test_compare_string): Declare.
7398 * support/Makefile (libsupport-routines): Add
7399 support_test_compare_string.
7400 (tests): Add tst-test_compare_string.
7401 * support/support_test_compare_string.c: New file.
7402 * support/tst-test_compare_string.c: Likewise.
7403
295132ff
AS
74042018-11-07 Andreas Schwab <schwab@suse.de>
7405
7406 [BZ #23864]
7407 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
7408 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
7409 Undef.
7410
e143ceba
JM
74112018-11-06 Joseph Myers <joseph@codesourcery.com>
7412
7413 [BZ #23862]
7414 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7415 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
7416 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
7417 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
7418 Likewise.
7419
4a938cb2
FW
74202018-11-06 Florian Weimer <fweimer@redhat.com>
7421
7422 [BZ #17405]
7423 * posix/Makefile (routines): Add spawn_faction_addchdir.
7424 (tests): Add tst-spawn-chdir.
7425 * posix/Versions (GLIBC_2.29): Add
7426 posix_spawn_file_actions_addchdir_np.
7427 * posix/spawn_faction_addchdir.c: New file.
7428 * posix/spawn_faction_destroy.c
7429 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
7430 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
7431 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
7432 chdir_action.
7433 * posix/tst-spawn-chdir.c: New file.
7434 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
7435 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
7436 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
7437 posix_spawn_file_actions_addchdir_np.
7438 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
7439 Likewise.
7440 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
7441 Likewise.
7442 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
7443 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
7444 Likewise.
7445 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
7446 Likewise.
7447 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
7448 Likewise.
7449 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
7450 Likewise.
7451 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
7452 Likewise.
7453 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
7454 Likewise.
7455 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7456 (GLIBC_2.29): Likewise.
7457 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7458 (GLIBC_2.29): Likewise.
7459 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7460 (GLIBC_2.29): Likewise.
7461 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7462 (GLIBC_2.29): Likewise.
7463 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
7464 Likewise.
7465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7466 (GLIBC_2.29): Likewise.
7467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7468 (GLIBC_2.29): Likewise.
7469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7470 (GLIBC_2.29): Likewise.
7471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7472 (GLIBC_2.29): Likewise.
7473 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
7474 Likewise.
7475 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
7476 Likewise.
7477 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
7478 Likewise.
7479 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
7480 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
7481 Likewise.
7482 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
7483 Likewise.
7484 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
7485 Likewise.
7486 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
7487 Likewise.
7488
7597b0c7
GG
74892018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7490
7491 * misc/Makefile (tests): Add tst-ldbl-error.
7492 * misc/tst-ldbl-error.c: New file.
7493
9771e6cb
GG
74942018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7495
7496 * misc/Makefile (tests): Add tst-ldbl-warn.
7497 * misc/tst-ldbl-warn.c: New file.
7498
2c03961f
GG
74992018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7500
7501 * argp/Makefile (tests): Add tst-ldbl-argp.
7502 * argp/tst-ldbl-argp.c: New file.
7503
6d6ee046
AS
75042018-11-05 Arjun Shankar <arjun@redhat.com>
7505
7506 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
7507 __gconv_path_elem and call __gconv_get_path unconditionally.
7508
bd3b0fba
AS
75092018-11-05 Andreas Schwab <schwab@suse.de>
7510
7511 [BZ #22927]
7512 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
7513 creating the first helper thread failed.
7514
2e96e980
ST
75152018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
7516
7517 * sysdeps/mach/hurd/msync.c: New file.
7518
6e36266c
FW
75192018-11-02 Florian Weimer <fweimer@redhat.com>
7520
7521 * support/shell-container.c (copy_func): Call
7522 support_copy_file_range instead of copy_file_range to support
7523 cross-device copies.
7524
599f7bee
FW
75252018-11-02 Florian Weimer <fweimer@redhat.com>
7526
7527 * support/test-container.c: Include <libc-pointer-arith.h> for
7528 ALIGN_UP.
7529
ff48ea67
ZL
75302018-11-01 Zong Li <zong@andestech.com>
7531
af1d5782
ZL
7532 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
7533 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
7534 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
7535 (__FP_FRAC_SET_8): Add implementation for RV32 use.
7536
ff48ea67
ZL
7537 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
7538 variable to avoid overlap arguments.
7539
daea71c2
JM
75402018-11-01 Joseph Myers <joseph@codesourcery.com>
7541
eac4405a
JM
7542 * posix/bug-regex22.c (main): Use puts with distinct error
7543 messages for unexpected success of re_compile_pattern, not printf
7544 with NULL argument to %s.
7545
6f30e59f
JM
7546 * stdio-common/bug22.c: Include <libc-diag.h>.
7547 (do_test): Disable -Wformat-overflow= warnings around fprintf
7548 calls outputting more than INT_MAX characters.
7549 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
7550 around printf call with NULL %s argument.
7551
daea71c2
JM
7552 [BZ #23848]
7553 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
7554 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
7555 Undefine.
7556 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7557 (__ASSUME_RECVMSG_SYSCALL): Likewise.
7558 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7559 (__ASSUME_SENDTO_SYSCALL): Likewise.
7560 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7561 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
7562 [!__arch64__].
7563 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7564 (__ASSUME_CONNECT_SYSCALL): Likewise.
7565 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7566 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7567 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
7568 Define.
7569 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
7570 Likewise.
7571 [__LINUX_KERNEL_VERSION >= 0x040400]
7572 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7573 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
7574 Remove.
7575 (listen): Likewise.
7576 (setsockopt): Likewise.
7577
8e3c00db
FN
75782018-11-01 Fredrik Noring <noring@nocrew.org>
7579
7580 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
7581 with the ISA override.
7582
9c3dbdbe
RAE
75832018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
7584
7585 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
7586 #endif.
7587
e3a88b3e
ST
75882018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
7589
a67377e7 7590 * manual/errno.texi (EIEIO): Document how translators should
e3a88b3e 7591 translate the error message.
a67377e7
ST
7592 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
7593 printing trailing whitespaces refused by git.
7594 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
7595 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fc783076 7596 * hurd/Makefile (user-interfaces): Add pci.
e3a88b3e 7597
3ca235ed
JM
75982018-10-30 Joseph Myers <joseph@codesourcery.com>
7599
7600 * conform/linknamespace.py: New file.
7601 * conform/linknamespace.pl: Remove file.
7602 * conform/Makefile ($(linknamespace-header-tests)): Use
7603 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
7604 option.
7605
60708030
FW
76062018-10-30 Florian Weimer <fweimer@redhat.com>
7607
7608 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
7609 memory leaks.
7610
a91e9301
FW
76112018-10-30 Florian Weimer <fweimer@redhat.com>
7612
7613 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
7614
07da99aa
FW
76152018-10-30 Florian Weimer <fweimer@redhat.com>
7616
7617 * stdlib/tst-strtod-overflow.c (do_test): Switch to
7618 support_blob_repeat.
7619
f5e7e959
FW
76202018-10-30 Florian Weimer <fweimer@redhat.com>
7621
7622 Avoid spurious test failures in stdlib/test-bz22786.
7623 * support/Makefile (libsupport-routines): Add blob_repeat.
7624 (tests): Add tst-support_blob_repeat.
7625 * support/blob_repeat.h: New file.
7626 * support/blob_repeat.c: Likewise.
7627 * support/tst-support_blob_repeat.c: Likewise.
7628 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
7629 support_blob_repeat_allocate.
7630
2dd12baa
AS
76312018-10-30 Andreas Schwab <schwab@suse.de>
7632
7633 [BZ #23125]
7634 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
7635 Don't use tail call.
7636 * elf/tst-unwind-main.c: New file.
7637 * elf/Makefile (tests): Add tst-unwind-main.
7638 (CFLAGS-tst-unwind-main.c): Define.
7639
6b5c8607 76402018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
fec8bb7c
SAA
7641
7642 [BZ #23791]
7643 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
7644 n_cs_precedes to 0.
7645 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
7646
c6982f7e
JM
76472018-10-29 Joseph Myers <joseph@codesourcery.com>
7648
954cf3c2
JM
7649 * conform/glibcconform.py: Do not import shutil.
7650 (list_exported_functions): Use tempfile.TemporaryDirectory instead
7651 of mkdtemp.
7652
c6982f7e
JM
7653 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
7654 critic_missing for versions before 3.4.
7655 * configure: Regenerated.
7656 * manual/install.texi (Tools for Compilation): Document
7657 requirement for Python to build glibc.
7658 * INSTALL: Regenerated.
7659 * Rules [PYTHON]: Make code unconditional.
7660 * benchtests/Makefile [PYTHON]: Likewise.
7661 * conform/Makefile [PYTHON]: Likewise.
7662 * manual/Makefile [PYTHON]: Likewise.
7663 * math/Makefile [PYTHON]: Likewise.
7664
46a7f24c
ST
76652018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7666
7667 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
2d0d1d38 7668 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
b6e7c449 7669 answer to interrupt_operation, return EIEIO instead of EINTR.
5c81be53
ST
7670 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
7671 _hurd_intr_rpc_msg_about_to global point to start of controlled
7672 assembly snippet. Make it check canceled flag.
7673 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
7674 the _hurd_intr_rpc_msg_about_to point.
7675 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
7676 issue, remove cancel flag check.
46a7f24c 7677
e5b8756d
JM
76782018-10-26 Joseph Myers <joseph@codesourcery.com>
7679
7680 * scripts/build-many-glibcs.py: Remove compatibility for missing
7681 os.cpu_count and re.fullmatch.
7682
ba5b14c7
SN
76832018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
7684
7685 [BZ #23822]
7686 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
7687 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
7688 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
7689
fe61f17c
JM
76902018-10-25 Joseph Myers <joseph@codesourcery.com>
7691
7692 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
7693 macro.
7694
7c5e34d7
FW
76952018-10-25 Florian Weimer <fweimer@redhat.com>
7696
7697 [BZ #23562]
7698 [BZ #23821]
7699 XFAIL siginfo_t si_band conform test on sparc64.
7700 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
7701 (__SI_BAND_TYPE): Only override long int default type on sparc64.
7702 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
7703 (conformtest-xfail-conds): Add sparc64-linux.
7704 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
7705 sparc64.
7706 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
7707
5b784e88
JM
77082018-10-25 Joseph Myers <joseph@codesourcery.com>
7709
7710 * elf/elf.h (NT_MIPS_DSP): New macro.
7711 (NT_MIPS_FP_MODE): Likewise.
7712
41432ebe
ZL
77132018-10-25 Zong Li <zong@andestech.com>
7714
7715 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
7716 name by adding the file extension (.so).
7717
d026efea
ST
77182018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
7719
7720 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
7721 (test-xfail-ISO11/threads.h/linknamespace,
7722 test-xfail-ISO11/threads.h/conform): Add.
7723
b71ac2b9
JM
77242018-10-24 Joseph Myers <joseph@codesourcery.com>
7725
7726 * math/gen-libm-test.py: Import os.
7727 (ALL_FLOATS_MANUAL): New constant.
7728 (ALL_FLOATS_SUFFIX): Likewise.
7729 (Ulps.all_functions): New function.
7730 (real_all_ulps): Likewise.
7731 (generate_err_table_sub): Likewise.
7732 (generate_err_table): Likewise.
7733 (main): Handle -s and -m options.
7734 * manual/libm-err-tab.pl: Remove.
7735 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
7736 instead of libm-err-tab.pl.
7737 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
7738 != no].
7739 * manual/install.texi (Tools for Compilation): Document
7740 requirement for Python to build manual.
7741 * INSTALL: Regenerated.
7742
6b5c8607 77432018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
d51f99ce
AA
7744
7745 * bits/time64.h: New file.
7746 * include/time.h: Replace internal_time_t with __time64_t.
7747 * posix/bits/types (__time64_t): Add.
7748 * stdlib/Makefile: Add bits/time64.h to includes.
7749 * time/tzfile.c: Replace internal_time_t with __time64_t.
7750
97d91fcc 77512018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2a973ab7
AZ
7752
7753 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
7754 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
7755 __posix_spawn_file_actions_init, __posix_spawnattr_init,
7756 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
7757 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
7758 prototype.
7759 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
7760 * posix/spawn_faction_addclose.c
7761 (__posix_spawn_file_actions_addclose): Add hidden definition.
7762 * posix/spawn_faction_adddup2.c
7763 (__posix_spawn_file_actions_adddup2): Likewise.
7764 * posix/spawn_faction_destroy.c
7765 (__posix_spawn_file_actions_destroy): Likewise.
7766 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
7767 Likewise.
7768 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
7769 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
7770 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
7771 Likewise.
7772 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
7773 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
7774 Likewise.
7775
2954daf0
AS
77762018-10-24 Andreas Schwab <schwab@suse.de>
7777
7778 [BZ #18093]
7779 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
7780 format cache.
7781 * elf/cache.c (print_cache): Likewise.
7782
6b5c8607 77832018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
a27a4f47
AA
7784
7785 * bits/timesize.h: New file.
7786 * stdlib/Makefile (headers): Add bits/timesize.h.
7787 * sysdeps/unix/sysv/linux/bits/msq-pad.h
7788 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
7789 * sysdeps/unix/sysv/linux/bits/sem-pad.h
7790 (__SEM_PAD_AFTER_TIME): Likewise.
7791 * sysdeps/unix/sysv/linux/bits/shm-pad.h
7792 (__SHM_PAD_AFTER_TIME): Likewise.
7793 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
7794 (__MSQ_PAD_BEFORE_TIME): Likewise.
7795 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
7796 (__SEM_PAD_BEFORE_TIME): Likewise.
7797 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
7798 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
7799 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
b39d961c
TS
7800 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
7801 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
7802 (__MSQ_PAD_BEFORE_TIME): Likewise.
a27a4f47
AA
7803 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
7804 (__SEM_PAD_BEFORE_TIME): Likewise.
7805 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
7806 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
7807 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
7808 (__MSQ_PAD_BEFORE_TIME): Likewise.
7809 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
7810 (__SEM_PAD_BEFORE_TIME): Likewise.
7811 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
7812 (__SHM_PAD_BEFORE_TIME): Likewise.
7813 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
7814 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
7815 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
7816
7cc65773
L
78172018-10-24 H.J. Lu <hongjiu.lu@intel.com>
7818
7819 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
7820 USE_RDTSCP is defined.
7821 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
7822 USE_RDTSCP is defined.
7823
c3d8dc45
AZ
78242018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7825
18ad0de6
AZ
7826 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
7827 defined.
7828
c3d8dc45
AZ
7829 [BZ #23709]
7830 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
7831 independently of other flags.
7832
f1034472
FW
78332018-10-23 Florian Weimer <fweimer@redhat.com>
7834
7835 * time/tst-mktime2.c (N_STRINGS): Remove.
7836 (set_timezone): New function.
7837 (spring_forward_gap): Call it. Use FAIL_EXIT1.
7838 (mktime_test1): Report localtime failure and check errno value.
7839 Use TEST_COMPARE.
7840 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
7841 (do_test): Remove alarm call. Use set_timezone and array_length.
7842
367d7cc2
AS
78432018-10-23 Andreas Schwab <schwab@suse.de>
7844
7845 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
7846 (__start_context): Use END instead of PSEUDO_END.
7847
be8ff03f
JM
78482018-10-22 Joseph Myers <joseph@codesourcery.com>
7849
029ad711
JM
7850 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7851 version to 4.19.
7852
8190520f
JM
7853 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7854 version to 4.19.
7855
be8ff03f
JM
7856 [BZ #23793]
7857 * wcsmbs/c32rtomb.c: New file.
7858 * wcsmbs/mbrtoc32.c: Likewise.
7859 * wcsmbs/tst-c32-state.c: Likewise.
7860 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
7861 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
7862 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
7863 (tests): Add tst-c32-state.
7864 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
7865 $(gen-locales).
7866
2dd8e58c
L
78672018-10-21 H.J. Lu <hongjiu.lu@intel.com>
7868
7869 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
7870 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
7871
d0a74159
JM
78722018-10-19 Joseph Myers <joseph@codesourcery.com>
7873
7874 [BZ #23794]
7875 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
7876 pair and return 0 in that case, and use saved character to
7877 interpret following character.
7878 * wcsmbs/tst-c16-surrogate.c: New file.
7879 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
7880 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
7881 Depend on $(gen-locales)
7882
f997b4be
IYM
78832018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
7884
7885 [BZ #23562]
7886 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
7887 (struct siginfo_t): Use correct type for si_band.
7888
53b2bb87
FW
78892018-10-19 Florian Weimer <fweimer@redhat.com>
7890
7891 [BZ #23689]
7892 * resource/bits/types/struct_rusage.h (struct rusage): Update
7893 comment on struct. Remove extraneous field comment.
7894
0a271c8f
DM
78952018-10-18 David S. Miller <davem@davemloft.net>
7896
94a3a27f
DM
7897 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
7898 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
7899 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
7900 sysdep_routines in subdir elf.
7901 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
7902 version for __vdso_clock_gettime.
7903 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
7904 Define.
7905 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
7906 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
7907
0a271c8f
DM
7908 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
7909
72771e53
L
79102018-10-17 H.J. Lu <hongjiu.lu@intel.com>
7911
7912 * sysdeps/i386/init-arch.h: Removed.
7913 * sysdeps/i386/i586/init-arch.h: Likewise.
7914 * sysdeps/i386/i686/init-arch.h: Likewise.
7915 * sysdeps/i386/i686/hp-timing.h: Likewise.
7916 * sysdeps/x86_64/hp-timing.h: Likewise.
7917 * sysdeps/i386/isa.h: New file.
7918 * sysdeps/i386/i586/isa.h: Likewise.
7919 * sysdeps/i386/i686/isa.h: Likewise.
7920 * sysdeps/x86_64/isa.h: Likewise.
7921 * sysdeps/x86/hp-timing.h: New file.
7922 * sysdeps/x86/init-arch.h: Include <isa.h>.
7923
c2b7ccad
JM
79242018-10-17 Joseph Myers <joseph@codesourcery.com>
7925
7926 * math/libm-test-pow.inc (pow_test_data): Do not allow
7927 divide-by-zero exception for pow(+/- 0, -Inf).
7928
26756e57
ZW
79292018-10-17 Zack Weinberg <zackw@panix.com>
7930
7931 * manual/job.texi (Job Control is Optional): Remove node, as
7932 job control has not been optional in quite some time.
7933 (Job Control): Mention briefly that systems older than
7934 POSIX.1-2001 might not support job control.
7935 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
7936 defined on systems conforming to POSIX.1-2001.
7937
c5288d37
AS
79382018-10-17 Arjun Shankar <arjun@redhat.com>
7939
7940 [BZ #22062]
7941 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
7942 indentation.
7943 * (__gconv_read_conf): Mark function static.
7944 * (once): New static variable.
7945 * (__gconv_load_conf): New function.
7946 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
7947 * iconv/gconv_db.c (once): Remove static variable.
7948 * (__gconv_compare_alias): Use __gconv_load_conf instead of
7949 __gconv_read_conf.
7950 * (__gconv_find_transform): Likewise.
7951 * iconv/tst-iconv-mt.c: New test.
7952 * iconv/Makefile: Add tst-iconv_mt.
7953
8c8d2a8a
JM
79542018-10-17 Joseph Myers <joseph@codesourcery.com>
7955
7956 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
729f3402
JM
7957 bits/shm-pad.h.
7958 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
7959 (shmatt_t): Define as __syscall_ulong_t.
7960 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
7961 and [__SHM_PAD_AFTER_TIME].
7962 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
7963 Define shm_segsz and associated padding based on
7964 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
7965 Use __syscall_ulong_t instead of unsigned long int.
7966 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
7967 unsigned long int.
7968 [__USE_MISC] (struct shm_info): Likewise.
7969 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
7970 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
7971 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
7972 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
7973 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
7974 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
7975 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
7976 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
7977 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7978 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7979 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7980
7981 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8c8d2a8a
JM
7982 bits/shmlba.h.
7983 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
7984 (SHMLBA): Remove macro.
7985 (__getpagesize): Remove function declaration.
7986 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
7987 <bits/shmlba.h>.
7988 (SHMLBA): Remove macro.
7989 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
7990 <bits/shmlba.h>.
7991 (SHMLBA): Remove macro.
7992 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
7993 <bits/shmlba.h>.
7994 (SHMLBA): Remove macro.
7995 (__getpagesize): Remove function declaration.
7996 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
7997 <bits/shmlba.h>.
7998 (SHMLBA): Remove macro.
7999 (__getshmlba): Remove function declaration.
8000 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
8001 (SHMLBA): Remove macro.
8002 (__getpagesize): Remove function declaration.
8003 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
8004 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
8005 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8006 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
8007 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
8008 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
8009 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
8010 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
8011 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
8012 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
8013
403b4feb
SL
80142018-10-17 Stefan Liebler <stli@linux.ibm.com>
8015
8016 [BZ #23275]
8017 * nptl/tst-mutex10.c: New File.
8018 * nptl/Makefile (tests): Add tst-mutex10.
8019 (tst-mutex10-ENV): New variable.
8020 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
8021 Ensure that elision path is used if elision is available.
8022 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
8023 Likewise.
8024 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
8025 Likewise.
8026 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
8027 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
8028 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
8029 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
8030 Likewise.
8031 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
8032 (__pthread_mutex_cond_lock_adjust): Likewise.
8033 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
8034 Likewise.
8035 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
8036 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
8037 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8038 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
8039 Add comments.
8040 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
8041 Use atomic_load_relaxed and atomic_store_relaxed.
8042 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
8043 Use atomic_store_relaxed.
8044
ce5a7de6
AS
80452018-10-17 Andreas Schwab <schwab@suse.de>
8046
8047 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
8048 * crypt/badsalttest.c (TIMEOUT): Likewise.
8049 * crypt/sha256c-test.c (TIMEOUT): Likewise.
8050 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
8051 * io/test-lfs.c (TIMEOUT): Likewise.
8052 * libio/tst-atime.c (TIMEOUT): Likewise.
8053 * localedata/tst-leaks.c (TIMEOUT): Likewise.
8054 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
8055 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
8056 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
8057 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
8058 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
8059 * nptl/tst-cond11.c (TIMEOUT): Likewise.
8060 * nptl/tst-cond14.c (TIMEOUT): Likewise.
8061 * nptl/tst-cond15.c (TIMEOUT): Likewise.
8062 * nptl/tst-cond24.c (TIMEOUT): Likewise.
8063 * nptl/tst-cond25.c (TIMEOUT): Likewise.
8064 * nptl/tst-kill2.c (TIMEOUT): Likewise.
8065 * nptl/tst-kill3.c (TIMEOUT): Likewise.
8066 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
8067 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
8068 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
8069 * nptl/tst-once2.c (TIMEOUT): Likewise.
8070 * nptl/tst-once3.c (TIMEOUT): Likewise.
8071 * nptl/tst-once4.c (TIMEOUT): Likewise.
8072 * nptl/tst-robust8.c (TIMEOUT): Likewise.
8073 * nptl/tst-robust9.c (TIMEOUT): Likewise.
8074 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
8075 * nptl/tst-sem14.c (TIMEOUT): Likewise.
8076 * nptl/tst-sem6.c (TIMEOUT): Likewise.
8077 * nptl/tst-signal3.c (TIMEOUT): Likewise.
8078 * nptl/tst-spin4.c (TIMEOUT): Likewise.
8079 * nptl/tst-tls3.c (TIMEOUT): Likewise.
8080 * nptl/tst-tls4.c (TIMEOUT): Likewise.
8081 * posix/tst-chmod.c (TIMEOUT): Likewise.
8082 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
8083 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
8084 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
8085 * posix/tst-regex2.c (TIMEOUT): Likewise.
8086 * posix/tst-waitid.c (TIMEOUT): Likewise.
8087 * rt/tst-aio.c (TIMEOUT): Likewise.
8088 * rt/tst-aio10.c (TIMEOUT): Likewise.
8089 * rt/tst-aio4.c (TIMEOUT): Likewise.
8090 * rt/tst-aio5.c (TIMEOUT): Likewise.
8091 * rt/tst-aio6.c (TIMEOUT): Likewise.
8092 * rt/tst-aio64.c (TIMEOUT): Likewise.
8093 * rt/tst-aio7.c (TIMEOUT): Likewise.
8094 * rt/tst-aio9.c (TIMEOUT): Likewise.
8095 * rt/tst-clock.c (TIMEOUT): Likewise.
8096 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
8097 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
8098 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
8099 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
8100 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
8101 * rt/tst-timer4.c (TIMEOUT): Likewise.
8102 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
8103 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
8104 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
8105 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
8106 * time/tst-ftime.c (TIMEOUT): Likewise.
8107 * timezone/tst-tzset.c (TIMEOUT): Likewise.
8108
6b5c8607 81092018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
75c1aee5
AY
8110
8111 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
8112 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
8113 for thunderX2.
8114
bcdb1bfa
JM
81152018-10-15 Joseph Myers <joseph@codesourcery.com>
8116
8117 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8118 bits/sem-pad.h.
8119 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
8120 instead of <bits/wordsize.h>.
8121 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
8122 and [__SEM_PAD_AFTER_TIME].
8123 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
8124 __syscall_ulong_t instead of unsigned long int.
8125 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
8126 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
8127 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
8128 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
8129 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
8130 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
8131 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
8132 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
8133 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8134 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8135 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8136
f4efbdfb
PE
81372018-10-14 Paul Eggert <eggert@cs.ucla.edu>
8138
620a5d4c
PE
8139 regex: simplify by using intprops.h
8140 [BZ#23744]
8141 * posix/regex_internal.h [_LIBC]: Include intprops.h.
8142 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
8143 intprops.h defines them.
8144
f4efbdfb
PE
8145 regex: __builtin_expect → __glibc_unlikely
8146 [BZ#23744]
8147 This refactoring was prompted by a problem when the regex code is
8148 used as part of Gnulib and when the builder’s compiler does not grok
8149 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
8150 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
8151 Although this refactoring does not fix the problem directly,
8152 we might as well have Gawk use the now-preferred glibc style for when
8153 __builtin_expect is unavailable.
8154 * posix/regex_internal.h (BE): Remove.
8155 All uses replaced by __glibc_unlikely or __glibc_likely.
8156
9f9feb6d
JM
81572018-10-11 Joseph Myers <joseph@codesourcery.com>
8158
8159 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8160 bits/msq-pad.h.
8161 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
8162 instead of <bits/wordsize.h>.
8163 (msgqnum_t): Define as __syscall_ulong_t.
8164 (msglen_t): Likewise.
8165 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
8166 and [__MSQ_PAD_AFTER_TIME].
8167 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
8168 __syscall_ulong_t instead of unsigned long int.
8169 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
8170 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
8171 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
8172 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
8173 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
8174 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
8175 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
8176 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
8177 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8178 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8179 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8180
b9c0f6c1
JM
81812018-10-10 Joseph Myers <joseph@codesourcery.com>
8182
2a4b25fa
JM
8183 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
8184 (struct shmid_ds): Condition padding after time fields on
8185 [__WORDSIZE == 32].
8186 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
8187 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
8188 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8189
19e62f26
JM
8190 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
8191 (struct semid_ds): Condition padding after time fields on
8192 [__WORDSIZE == 32].
8193 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
8194 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
8195 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
8196 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8197
b9c0f6c1
JM
8198 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
8199 (struct msqid_ds): Condition padding after time fields on
8200 [__WORDSIZE == 32].
8201 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
8202 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
8203 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
8204 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8205
97785a61
SN
82062018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
8207
8208 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
8209
ed643089
SN
82102018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
8211
8212 * libio/tst-readline.c (TIMEOUT): Define.
8213
5a580643
PE
82142018-10-08 Paul Eggert <eggert@cs.ucla.edu>
8215
8216 mktime fix for Gnulib + coreutils
8217 [BZ#23745]
8218 This fix affects only Gnulib. Problem discovered when
8219 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
8220 * time/mktime.c:
8221 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
8222 Do not define since it is not used. Defining an unused static
8223 function prompts a warning from GCC when Coreutils is configured
8224 with --enable-gcc-warnings.
8225
c892ae04
LS
82262018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8227
8228 * benchtests/scripts/compare_bench.py (main): set float type on
8229 threshold argument.
8230
a68ec8ea
RL
82312018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
8232
8233 [BZ #23740]
8234 * localedata/locales/kl_GL (mon): Update, the relative case.
8235 (alt_mon): Add, fill with month names in the nominative case.
8236 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
8237 (d_fmt): Set to "%b %d %Y".
8238
a1987621
JM
82392018-10-04 Joseph Myers <joseph@codesourcery.com>
8240
47c49251
JM
8241 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
8242 <bits/mman-linux.h>.
8243 (PROT_READ): Don't define here.
8244 (PROT_WRITE): Likewise.
8245 (PROT_EXEC): Likewise.
8246 (PROT_NONE): Likewise.
8247 (PROT_GROWSDOWN): Likewise.
8248 (PROT_GROWSUP): Likewise.
8249 (MAP_SHARED): Likewise.
8250 (MAP_PRIVATE): Likewise.
8251 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
8252 [__USE_MISC] (MAP_FILE): Likewise.
8253 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
8254 [__USE_MISC] (MAP_ANON): Likewise.
8255 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
8256 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
8257 (MCL_CURRENT): Likewise.
8258 (MCL_FUTURE): Likewise.
8259 (MCL_ONFAULT): Likewise.
8260 [__USE_MISC] (MADV_NORMAL): Likewise.
8261 [__USE_MISC] (MADV_RANDOM): Likewise.
8262 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
8263 [__USE_MISC] (MADV_WILLNEED): Likewise.
8264 [__USE_MISC] (MADV_DONTNEED): Likewise.
8265 [__USE_MISC] (MADV_FREE): Likewise.
8266 [__USE_MISC] (MADV_REMOVE): Likewise.
8267 [__USE_MISC] (MADV_DONTFORK): Likewise.
8268 [__USE_MISC] (MADV_DOFORK): Likewise.
8269 [__USE_MISC] (MADV_HWPOISON): Likewise.
8270 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
8271 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
8272 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
8273 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
8274 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
8275 (__MAP_ANONYMOUS): New macro.
8276 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
8277 <bits/mman-linux.h> inclusion.
8278 (MAP_FIXED): Likewise.
8279 (MS_SYNC): Likewise.
8280 (MS_ASYNC): Likewise.
8281 (MS_INVALIDATE): Likewise.
8282 [__USE_MISC] (MADV_MERGEABLE): Likewise.
8283 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
8284 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
8285 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
8286 [__USE_MISC] (MADV_DONTDUMP): Likewise.
8287 [__USE_MISC] (MADV_DODUMP): Likewise.
8288 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
8289 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
8290
a1987621
JM
8291 [BZ #23735]
8292 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
8293 Define.
8294 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
8295 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
8296 Add test-nldbl-redirect.
8297 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
8298 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
8299 $(objpfx)libnldbl_nonshared.a.
8300
e7624d70
SL
83012018-10-04 Stefan Liebler <stli@linux.ibm.com>
8302
8303 * support/support.h (support_objdir_elf_ldso): New variable.
8304 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
8305 * support/Makefile (CFLAGS-support_paths.c): Add definition
8306 for OBJDIR_ELF_LDSO_PATH.
8307 * support/test-container.c (main): Search for the ld.so
8308 which is also used by the testsuite.
8309
dae3ed95
RL
83102018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
8311
8312 [BZ #20209]
8313 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
8314 should be "sap" rather than "sab".
8315 (day): Fix spelling of Sunday, should be "sapaat" rather than
8316 "sabaat".
8317
f346b5b3
JM
83182018-10-02 Joseph Myers <joseph@codesourcery.com>
8319
8320 * math/libm-test-fma.inc (fma_test_data): Add more tests.
8321
4a06ceea
MJ
83222018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
8323
8324 [BZ #19444]
8325 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
8326 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
8327 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
8328
a06fc4a5
AZ
83292018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8330
8331 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
8332
a1ccc065
L
83332018-10-02 H.J. Lu <hongjiu.lu@intel.com>
8334
8335 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
8336 Add -mrtm.
8337 (CFLAGS-elision-unlock.c): Likewise.
8338 (CFLAGS-elision-timed.c): Likewise.
8339 (CFLAGS-elision-trylock.c): Likewise.
8340 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
8341
0b727ed4
AZ
83422018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8343
8344 [BZ #21037]
8345 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
8346 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
8347 new fd_to_filename interface.
8348 * libio/freopen64.c (freopen64): Likewise.
8349 * libio/tst-memstream.h: New file.
8350 * libio/tst-memstream4.c: Likewise.
8351 * libio/tst-wmemstream4.c: Likewise.
8352 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
8353 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
8354 and remove internal dynamic allocation.
8355
d0e91e8c
JM
83562018-10-01 Joseph Myers <joseph@codesourcery.com>
8357
8358 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
8359 (MREMAP_MAYMOVE): Do not define here.
8360 [__USE_GNU] (MREMAP_FIXED): Likewise.
8361 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
8362 (MREMAP_MAYMOVE): Define here instead.
8363 [__USE_GNU] (MREMAP_FIXED): Likewise.
8364 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
8365 (MREMAP_MAYMOVE): Remove.
8366 [__USE_GNU] (MREMAP_FIXED): Likewise.
8367
c52944e8
JM
83682018-09-28 Joseph Myers <joseph@codesourcery.com>
8369
8370 * math/fromfp.h: Do not include <math_private.h>.
8371 * math/s_cacosh_template.c: Likewise.
8372 * math/s_casin_template.c: Likewise.
8373 * math/s_casinh_template.c: Likewise.
8374 * math/s_ccos_template.c: Likewise.
8375 * math/s_cproj_template.c: Likewise.
8376 * math/s_fdim_template.c: Likewise.
8377 * math/s_fmaxmag_template.c: Likewise.
8378 * math/s_fminmag_template.c: Likewise.
8379 * math/s_iseqsig_template.c: Likewise.
8380 * math/s_ldexp_template.c: Likewise.
8381 * math/s_nextdown_template.c: Likewise.
8382 * math/w_log1p_template.c: Likewise.
8383 * math/w_scalbln_template.c: Likewise.
8384 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
8385 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
8386 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
8387 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
8388 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
8389 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
8390 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
8391 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
8392 * sysdeps/i386/fpu/s_atanl.c: Likewise.
8393 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
8394 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
8395 * sysdeps/i386/fpu/s_fdim.c: Likewise.
8396 * sysdeps/i386/fpu/s_logbl.c: Likewise.
8397 * sysdeps/i386/fpu/s_rintl.c: Likewise.
8398 * sysdeps/i386/fpu/s_significandl.c: Likewise.
8399 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
8400 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
8401 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8402 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8403 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
8404 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8405 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8406 * sysdeps/ieee754/k_standardf.c: Likewise.
8407 * sysdeps/ieee754/k_standardl.c: Likewise.
8408 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8409 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
8410 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
8411 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
8412 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
8413 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
8414 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8415 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8416 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8417 * sysdeps/ieee754/s_signgam.c: Likewise.
8418 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
8419 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
8420 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
8421 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8422 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
8423 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
8424 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8425 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
8426 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8427 * sysdeps/riscv/rvd/s_finite.c: Likewise.
8428 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
8429 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
8430 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
8431 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
8432 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
8433 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
8434 * sysdeps/riscv/rvf/fegetround.c: Likewise.
8435 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
8436 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
8437 * sysdeps/riscv/rvf/fesetround.c: Likewise.
8438 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
8439 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
8440 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
8441 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8442 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
8443 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
8444 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
8445 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
8446 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
8447 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
8448 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
8449 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
8450 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
8451 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
8452 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8453 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8454 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
8455 <math_private.h>.
8456 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
8457
7b1f9406
L
84582018-09-28 H.J. Lu <hongjiu.lu@intel.com>
8459
8460 [BZ #23716]
8461 * sysdeps/i386/dl-cet.c: Removed.
8462 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
8463 prototype.
8464 (_dl_runtime_profile_shstk): Likewise.
8465 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
8466 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
8467
7a16bdbb
AZ
84682018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8469
8470 [BZ #23579]
8471 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
8472 do_test_with_invalid_iov): New tests.
8473 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
8474 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
8475 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
8476 errno is ENOSYS.
8477 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
8478 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
8479 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
8480
9755bc46
JM
84812018-09-27 Joseph Myers <joseph@codesourcery.com>
8482
81dca813
JM
8483 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8484 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
8485 (MATH_REDIRECT_BINARY_ARGS): New macro.
8486 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8487 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
8488 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
8489 header inclusion.
8490 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
8491 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8492 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
8493 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8494 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8495 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8496 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
8498 Likewise.
8499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
8500 Likewise.
8501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
8502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
8503 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
8504 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
8505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
8506 Likewise.
8507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
8508 Likewise.
8509 * sysdeps/generic/math_private_calls.h
8510 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
8511 Do not declare and define as an inline function.
8512 * math/divtc3.c (__divtc3): Use copysign functions instead of
8513 __copysign variants.
8514 * math/multc3.c (__multc3): Likewise.
8515 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
8516 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
8517 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8518 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
8519 Likewise.
8520 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8521 (__ieee754_yn): Likewise.
8522 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8523 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
8524 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
8525 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8526 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
8527 (__sin): Likewise.
8528 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
8529 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8530 Likewise.
8531 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8532 Likewise.
8533 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8534 Likewise.
8535 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8536 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8537 Likewise.
8538 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8539 (__ieee754_ynf): Likewise.
8540 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
8541 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8542 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
8543 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8544 Likewise.
8545 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8546 (__ieee754_ynl): Likewise.
8547 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8548 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
8549 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8550 Likewise.
8551 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8552 (__ieee754_ynl): Likewise.
8553 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
8554 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8555 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8556 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8557 Likewise.
8558 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8559 (__ieee754_ynl)
8560 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
8561 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8562 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
8563 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8564 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8565
9755bc46
JM
8566 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8567 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
8568 using MATH_REDIRECT.
8569 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
8570 header inclusion.
8571 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
8572 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8573 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8574 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
8575 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8576 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8577 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
8579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
8580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
8581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
8582 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8583 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8584 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8585 (round): Redirect to __round.
8586 (__roundl): Call round instead of __round.
8587 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
8588 Remove macro.
8589 [_ARCH_PWR5X] (__roundf): Likewise.
8590 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
8591 functions instead of __round variants.
8592 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
8593 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
8594 Likewise.
8595 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
8596 Likewise.
8597 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
8598 Likewise.
8599 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
8600 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
8601 __lroundl.
8602 (__ieee754_expl): Call roundl instead of __roundl.
8603
f841c97e
AS
86042018-09-27 Andreas Schwab <schwab@suse.de>
8605
8606 [BZ #23717]
8607 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
8608 (do_test): Make st1 static.
8609
6ca8284e
AS
86102018-09-26 Andreas Schwab <schwab@suse.de>
8611
8612 [BZ #23707]
8613 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
8614 * elf/Makefile (tests): Add tst-unwind-ctor.
8615 (modules-names): Add tst-unwind-ctor-lib.
8616 ($(objpfx)tst-unwind-ctor): Depend on
8617 $(objpfx)tst-unwind-ctor-lib.so.
8618
61d8b5fe
JM
86192018-09-26 Joseph Myers <joseph@codesourcery.com>
8620
8621 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
8622 file. Most contents moved from ....
8623 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
8624 and include <bits/mman-map-flags-generic.h>.
8625 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8626 (sysdep_headers): Add bits/mman-map-flags-generic.h.
8627 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
8628 <bits/mman-map-flags-generic.h>.
8629 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
8630 macros defined in <bits/mman-map-flags-generic.h>.
8631 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
8632 <bits/mman-map-flags-generic.h>.
8633 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
8634 defined in <bits/mman-map-flags-generic.h>.
8635
46341286
AS
86362018-09-26 Andreas Schwab <schwab@suse.de>
8637
8638 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
8639 output.
8640
b5c45e83
AZ
86412018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
8642 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8643 Fangrui Song <maskray@google.com>
8644
8645 [BZ #20480]
8646 * config.make.in (have-textrel_ifunc): New define.
8647 * configure.ac: Add check if linker supports textrel relocation with
8648 ifunc.
8649 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
8650 tst-ifunc-textrel.
8651 (CFLAGS-tst-ifunc-textrel.c): New rule.
8652 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
8653 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
8654 * elf/tst-ifunc-textrel.c: New file.
8655
8ea4d2b7
JM
86562018-09-25 Joseph Myers <joseph@codesourcery.com>
8657
d62f9ec0
JM
8658 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
8659 <bits/procfs-prregset.h>.
8660 (prgregset_t): Define using __prgregset_t.
8661 (prfpregset_t): Define using __prfpregset_t.
8662 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8663 (sysdep_headers): Add bits/procfs-prregset.h.
8664 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
8665 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
8666 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
8667 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
8668
d0d8eb43
JM
8669 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
8670 <bits/procfs-id.h> and <bits/procfs-extra.h>.
8671 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
8672 pr_uid and pr_gid.
8673 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8674 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
8675 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
8676 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
8677 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
8678 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
8679 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
8680 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
8681 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
8682 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
8683 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
8684 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
8685 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
8686 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
8687 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
8688 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
8689 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
8690 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
8691 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
8692 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
8693 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
8694 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
8695 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8696 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
8697
8ea4d2b7
JM
8698 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
8699 AArch64 version. Include <bits/procfs.h>.
8700 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8701 (sysdep_headers): Add bits/procfs.h.
8702 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
8703 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
8704 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
8705 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
8706 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
8707 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
8708 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
8709 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
8710 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
8711 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
8712 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
8713 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
8714 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
8715 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
8716 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
8717 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8718 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
8719
c7027166
AZ
87202018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8721
8722 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
8723 Use libsupport.
8724
335a3b0a
AS
87252018-09-25 Arjun Shankar <arjun@redhat.com>
8726
8727 * iconv/gconv_int.h (__gconv_path_elem): Remove.
8728 (__gconv_max_path_elem_len): Likewise.
8729 (__gconv_nmodules): Likewise.
8730 (__gconv_get_path): Likewise.
8731 (path_elem): Move to ...
8732 * iconv/gconv_conf.c: ... here.
8733 (__gconv_get_path): Mark function static.
8734 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
8735 * iconv/gconv_open.c: ... here.
8736
462d348c
AS
87372018-09-24 Andreas Schwab <schwab@suse.de>
8738
8739 * scripts/haveversions.awk: New file.
8740 * Makerules ($(common-objpfx)Versions.def)
8741 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
8742 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
8743 Move rules ...
8744 * Makeconfig ($(common-objpfx)Versions.def)
8745 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
8746 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
8747 ... here.
8748 ($(common-objpfx)Versions.mk): New rule. Include it.
8749 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
8750 Emit error if build-obsolete-nsl = yes.
8751 * manual/install.texi (Configuring and compiling): Describe
8752 --enable-obsolete-nsl as unavaiable after version 2.28.
8753 * INSTALL: Regenerate.
8754
f0458cf4
AZ
87552018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8756
8757 * NEWS: Add note about new TLE support on powerpc64le.
8758 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
8759 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
8760 __ununsed1.
8761 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
8762 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
8763 * sysdeps/powerpc/powerpc32/sysdep.h,
8764 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
8765 ABORT_TRANSACTION): Remove macros.
8766 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
8767 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
8768 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
8769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
8770 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8771 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
8772 usage.
8773 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
8774
434d45fd
RL
87752018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
8776
8777 [BZ #10425]
8778 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
8779 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
8780 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
8781 which is the same as in it_IT.
8782 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
8783 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
8784
d90c9b1a
JM
87852018-09-20 Joseph Myers <joseph@codesourcery.com>
8786
7abf97be
JM
8787 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8788 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
8789 using MATH_REDIRECT.
8790 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
8791 header inclusion.
8792 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
8793 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8794 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
8795 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8796 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8797 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
8799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
8800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
8801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
8802 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8803 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8804 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
8805 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
8806 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
8807 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
8808 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
8809 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8810 (ceil): Redirect to __ceil.
8811 (floor): Redirect to __floor.
8812 (trunc): Redirect to __trunc.
8813 (__truncl): Call trunc instead of __trunc.
8814 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
8815 Remove macro.
8816 [_ARCH_PWR5X] (__truncf): Likewise.
8817 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
8818 trunc functions instead of __trunc variants.
8819 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8820 Likewise.
8821 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8822 Likewise.
8823 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8824 Likewise.
8825 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8826 Likewise.
8827
d90c9b1a
JM
8828 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
8829 [__i586__ || __pentium__].
8830 [__i486__]: Handle explicitly.
8831 (HAS_CPUID): Define to 1 if above macros are undefined.
8832 (HAS_I586): Likewise.
8833 (HAS_I686): Likewise.
8834
db9a8ad4
FW
88352018-09-20 Florian Weimer <fweimer@redhat.com>
8836
8837 * misc/tst-gethostid.c: New file.
8838 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
8839 (tst-gethostid): Link with -ldl.
8840
1214ba06
MY
88412018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
8842
8843 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
8844 value from gethostbyname_r.
8845
791b350d
CD
88462018-09-19 Carlos O'Donell <carlos@redhat.com>
8847
8848 * stdlib/tst-setcontext9.c (f1): Rename to...
8849 (f1a): ... this.
8850 (f1b): New function implementing lower half of f1 in alternate stack.
8851
8e6fd2bd
PE
88522018-09-19 Paul Eggert <eggert@cs.ucla.edu>
8853
e1080e7e
PE
8854 Fix mktime localtime offset confusion
8855 [BZ #23603]
8856 * include/time.h (__mktime_internal): The localtime offset is now
8857 of type long int instead of time_t. This is the longstanding type
8858 in glibc, and it is more than enough to represent difference
8859 between localtime and gmtime even if it is 32 bits and time_t is
8860 64. Changing it now will let us avoid an unnecessary change when
8861 time_t is widened to 64 bits on 32-bit platforms.
8862 * time/mktime-internal.h (mktime_offset_t): Now long int.
8863
8e6fd2bd
PE
8864 Merge mktime, timegm from upstream Gnulib
8865 [BZ #23603][BZ #16346]
8866 This fixes some obscure problems with integer overflow.
8867 Although it looks scary, it is almost all a byte-for-byte copy
8868 from Gnulib, and the Gnulib code has been tested reasonably well.
8869 * include/intprops.h: New file, copied from Gnulib.
8870 * include/verify.h, time/mktime-internal.h:
8871 New tiny files, simplified from Gnulib.
8872 * time/mktime.c: Copy from Gnulib. This has the following changes:
8873 Do not include config.h if DEBUG_MKTIME is nonzero.
8874 Include stdbool.h, intprops.h, verify.h.
8875 Include string.h only if needed.
8876 Include stdlib.h on MS-Windows.
8877 Include mktime-internal.h.
8878 (DEBUG_MKTIME): Default to 0, and simplify later uses.
8879 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
8880 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
8881 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
8882 simplify later conditionals; default the others to zero. Use
8883 these conditionals to express only the code needed on the current
8884 platform. In uses of these conditionals, explicitly spell out how
8885 _LIBC affects things, so it’s easier to review from a glibc
8886 viewpoint.
8887 (WRAPV): Remove; no longer needed now that we have
8888 systematic overflow checking.
8889 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
8890 compartmentalize tzset issues. Move system-dependent tzsettish
8891 code here from mktime.
8892 (verify): Remove; now done by verify.h. All uses changed.
8893 (long_int): Use a more-conservative definition, to avoid
8894 integer overflow.
8895 (SHR): Remove, replacing with ...
8896 (shr): New function, which means we needn’t worry about side
8897 effects in args, and conversion analysis is simpler.
8898 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
8899 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
8900 (time_t_avg, time_t_add_ok): Remove.
8901 (mktime_min, mktime_max): New constants.
8902 (leapyear, isdst_differ): Use bool for booleans.
8903 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
8904 Use long_int, not time_t, for mktime differences.
8905 (long_int_avg): New function, replacing time_t_avg.
8906 INT_ADD_WRAPV replaces time_t_add_ok.
8907 (guess_time_tm): 6th arg is now long_int, not time_t const *.
8908 All uses changed.
8909 (convert_time): New function.
8910 (ranged_convert): Use it.
8911 (__mktime_internal): Last arg now points to mktime_offset_t, not
8912 time_t. All uses changed. This is a no-op on glibc, where
8913 mktime_offset_t is always time_t. Use int, not time_t, for UTC
8914 offset guess. Directly check for integer overflow instead of
8915 using a heuristic that works only 99.9...% of the time.
8916 Access *OFFSET only once, to avoid an unlikely race if the
8917 compiler delays a load and if this cascades into a signed integer
8918 overflow.
8919 (mktime): Move tzsettish code to my_tzset, and move
8920 localtime_offset to within mktime so that it doesn’t
8921 need a separate ifdef.
8922 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
8923 instead of localtime.
8924 * time/timegm.c: Copy from Gnulib. This has the following changes:
8925 Include mktime-internal.h.
8926 [!_LIBC]: Include config.h and time.h. Do not include
8927 timegm.h or time_r.h. Make __mktime_internal a macro,
8928 and include mktime-internal.h to get its declaration.
8929 (timegm): Temporary is now mktime_offset_t, not time_t.
8930 This affects only Gnulib.
8931
83a552b0
WD
89322018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
8933
8934 [BZ #23637]
8935 * string/test-strstr.c (pr23637): New function.
8936 (test_main): Add tests with longer needles.
8937 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
8938 * string/strstr.c (AVAILABLE): Likewise.
8939
d7347278
SN
89402018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
8941
8942 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
8943
424c4f60
SN
89442018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
8945
8946 * NEWS: Mention pow improvements.
8947 * math/Makefile (type-double-routines): Add e_pow_log_data.
8948 * sysdeps/generic/math_private.h (__exp1): Remove.
8949 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
8950 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
8951 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
8952 contraction.
8953 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
8954 (exp_inline): Remove.
8955 (__ieee754_exp): Only single double input is handled.
8956 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
8957 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
8958 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
8959 (__pow_log_data): Define.
8960 * sysdeps/ieee754/dbl-64/upow.h: Remove.
8961 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
8962 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
8963 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
8964 contraction.
8965 (CFLAGS-e_pow-fma4.c): Likewise.
8966
e4e4fde5
PE
89672018-09-18 Paul Eggert <eggert@cs.ucla.edu>
8968
dab9c348
PE
8969 Simplify tzfile fstat failure code
8970 [BZ #21716]
8971 * time/tzfile.c (__tzfile_read): Simplify slightly.
8972
e4e4fde5
PE
8973 Fix tzfile low-memory assertion failure
8974 [BZ #21716]
8975 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
8976 when registering time zone abbreviations.
8977
50bc59ca
JM
89782018-09-18 Joseph Myers <joseph@codesourcery.com>
8979
d3a43e49
JM
8980 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
8981 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
8982 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
8983 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
8984 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
8985 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
8986 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
8987 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8988 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8989
50bc59ca
JM
8990 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
8991 __ceil.
8992 (__ceill): Call ceil instead of __ceil.
8993 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
8994 __floor.
8995 (__floorl): Call floor instead of __floor.
8996
89983cb3
JM
89972018-09-17 Joseph Myers <joseph@codesourcery.com>
8998
71223ef9
JM
8999 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9000 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
9001 using MATH_REDIRECT.
9002 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
9003 header inclusion.
9004 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
9005 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9006 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9007 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
9008 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9009 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9010 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9011 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
9012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
9013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
9014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
9015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
9016 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9017 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9018 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
9019 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
9020 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
9021 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
9022 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
9023 Remove macro.
9024 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
9025 functions instead of __ceil variants.
9026 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
9027 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
9028 Likewise.
9029 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
9030 Likewise.
9031 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
9032 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
9033 Likewise.
9034 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9035 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9036
89983cb3
JM
9037 [BZ #21286]
9038 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
9039 constant.
9040 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
9041 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
9042 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
9043 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
9044 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
9045 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
9046 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
9047 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
9048 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
9049 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
9050 (ILL_BADIADDR): Remove constant.
9051 (TRAP_BRANCH): Likewise.
9052 (TRAP_HWBKPT): Likewise.
9053
e44acb20
JM
90542018-09-14 Joseph Myers <joseph@codesourcery.com>
9055
3f7f1d18
JM
9056 [BZ #23656]
9057 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
9058 Remove [_MIPS_SIM = _ABIN32] conditional case.
9059 (struct elf_prpsinfo): Likewise.
9060
d59f3e5e
JM
9061 [BZ #23649]
9062 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
9063 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
9064 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
9065 Likewise.
9066 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
9067 elf_prpsinfo): Likewise.
9068 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
9069 elf_prpsinfo): Likewise.
9070 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
9071 Likewise.
9072
f29b6f17
JM
9073 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9074 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
9075 using MATH_REDIRECT.
9076 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
9077 header inclusion.
9078 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
9079 * sysdeps/alpha/fpu/s_rint.c: Likewise.
9080 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
9081 * sysdeps/i386/fpu/s_rintl.c: Likewise.
9082 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9083 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9084 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
9085 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9086 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9087 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9088 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
9089 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
9090 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
9091 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
9092 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
9093 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9094 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9095 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
9096 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
9097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
9098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
9099 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
9100 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
9101 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
9102 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
9103 * sysdeps/x86_64/fpu/math_private.h: Remove file.
9104 * math/e_scalb.c (invalid_fn): Use rint functions instead of
9105 __rint variants.
9106 * math/e_scalbf.c (invalid_fn): Likewise.
9107 * math/e_scalbl.c (invalid_fn): Likewise.
9108 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
9109 Likewise.
9110 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9111 Likewise.
9112 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
9113 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
9114 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9115 Likewise.
9116 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9117 Likewise.
9118 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9119 Likewise.
9120 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
9121 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
9122
e44acb20
JM
9123 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9124 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
9125 New macro.
9126 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9127 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
9128 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9129 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
9130 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9131 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
9132 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9133 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
9134 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9135 && !NO_MATH_REDIRECT] (floor): Likewise.
9136 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
9137 header inclusion.
9138 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
9139 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9140 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9141 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
9142 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9143 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9144 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9145 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
9146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
9147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
9148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
9149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
9150 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9151 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9152 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
9153 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
9154 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
9155 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
9156 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
9157 Remove macro.
9158 [_ARCH_PWR5X] (__floorf): Likewise.
9159 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
9160 inline function.
9161 [__SSE4_1__] (__floorf): Likewise.
9162 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
9163 instead of __floor variants.
9164 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
9165 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
9166 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
9167 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
9168 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
9169 * math/w_tgamma_compat.c (__tgamma): Likewise.
9170 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
9171 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
9172 * math/w_tgammal_compat.c (__tgammal): Likewise.
9173 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
9174 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
9175 Likewise.
9176 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
9177 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
9178 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
9179 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9180 Likewise.
9181 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
9182 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
9183 Likewise.
9184 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
9185 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
9186 Likewise.
9187 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9188 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
9189 Likewise.
9190 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9191 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
9192 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
9193 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
9194 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9195 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9196
221e4bab
JM
91972018-09-12 Joseph Myers <joseph@codesourcery.com>
9198
9199 * elf/Makefile (modules-names-tests): New variable.
9200
3e08ff54
SN
92012018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
9202
9203 * NEWS: Mention log2 improvements.
9204 * math/Makefile (type-double-routines): Add e_log2_data.
9205 * sysdeps/i386/fpu/e_log2_data.c: New file.
9206 * sysdeps/ia64/fpu/e_log2_data.c: New file.
9207 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
9208 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
9209 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
9210 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
9211 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
9212
f41b0a43
SN
92132018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
9214
9215 * NEWS: Mention log improvement.
9216 * math/Makefile (type-double-routines): Add e_log_data.
9217 * sysdeps/i386/fpu/e_log_data.c: New file.
9218 * sysdeps/ia64/fpu/e_log_data.c: New file.
9219 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
9220 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
9221 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
9222 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
9223 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
9224 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
9225
5a274db4
L
92262018-09-12 H.J. Lu <hongjiu.lu@intel.com>
9227 Xuepeng Guo <xuepeng.guo@intel.com>
9228
9229 [BZ #23606]
9230 * sysdeps/i386/start.S: Include <sysdep.h>
9231 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
9232 enabled. Add cfi_undefined (eip).
9233
b1176270
JM
92342018-09-11 Joseph Myers <joseph@codesourcery.com>
9235
4e7fbdd7
JM
9236 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
9237 (MOVQ): Likewise.
9238 (EXTRACT_WORDS64): Likewise.
9239 (INSERT_WORDS64): Likewise.
9240 (GET_FLOAT_WORD): Likewise.
9241 (SET_FLOAT_WORD): Likewise.
9242
b1176270
JM
9243 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
9244 argument.
9245 (Config.build_gcc): Use --disable-libsanitizer for first GCC
9246 build, but not for second build if --full-gcc. Use
9247 --enable-languages=all for second build if --full-gcc.
9248 (get_parser): Add --full-gcc option.
9249 (main): Update call to Context.
9250
527f355e
RL
92512018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
9252
9253 [BZ #10797]
9254 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
9255 Single Quotation Mark).
9256 (thousands_sep): Likewise.
9257 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
9258 * localedata/locales/it_IT (thousands_sep): Use ".".
9259 (grouping): Use "3;3".
9260
7244f13d
JM
92612018-09-10 Joseph Myers <joseph@codesourcery.com>
9262
9263 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
9264 x86_64 and i686 configs using --enable-obsolete-rpc
9265 --enable-obsolete-nsl.
9266
38245425
SL
92672018-09-06 Stefan Liebler <stli@linux.ibm.com>
9268
9269 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9270
28669f86
SL
92712018-09-06 Stefan Liebler <stli@linux.ibm.com>
9272
9273 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
9274 Increment size of new_argv by one.
9275
a33650d1
RL
92762018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
9277
9278 [BZ #17426]
9279 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
9280 * localedata/locales/ar_IN (d_fmt): Likewise.
9281 * localedata/locales/bhb_IN (d_fmt): Likewise.
9282 * localedata/locales/bho_IN (d_fmt): Likewise.
9283 * localedata/locales/bn_BD (d_fmt): Likewise.
9284 * localedata/locales/bn_IN (d_fmt): Likewise.
9285 * localedata/locales/doi_IN (d_fmt): Likewise.
9286 * localedata/locales/gu_IN (d_fmt): Likewise.
9287 * localedata/locales/hi_IN (d_fmt): Likewise.
9288 * localedata/locales/hne_IN (d_fmt): Likewise.
9289 * localedata/locales/kn_IN (d_fmt): Likewise.
9290 * localedata/locales/mag_IN (d_fmt): Likewise.
9291 * localedata/locales/mai_IN (d_fmt): Likewise.
9292 * localedata/locales/mjw_IN (d_fmt): Likewise.
9293 * localedata/locales/ml_IN (d_fmt): Likewise.
9294 * localedata/locales/mni_IN (d_fmt): Likewise.
9295 * localedata/locales/mr_IN (d_fmt): Likewise.
9296 * localedata/locales/pa_IN (d_fmt): Likewise.
9297 * localedata/locales/raj_IN (d_fmt): Likewise.
9298 * localedata/locales/sat_IN (d_fmt): Likewise.
9299 * localedata/locales/sd_IN (d_fmt): Likewise.
9300 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
9301 * localedata/locales/ta_IN (d_fmt): Likewise.
9302 * localedata/locales/ta_LK (d_fmt): Likewise.
9303 * localedata/locales/tcy_IN (d_fmt): Likewise.
9304 * localedata/locales/ur_IN (d_fmt): Likewise.
9305
9306 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
9307 * localedata/locales/ks_IN (d_fmt): Likewise.
9308 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
9309
9310 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
9311 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
9312 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
9313 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
9314
d114e6a7
SN
93152018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
9316
9317 * NEWS: Mention exp and exp2 improvements.
9318 * math/Makefile (libm-support): Remove t_exp.
9319 (type-double-routines): Add math_err and e_exp_data.
9320 * sysdeps/aarch64/libm-test-ulps: Update.
9321 * sysdeps/arm/libm-test-ulps: Update.
9322 * sysdeps/i386/fpu/e_exp_data.c: New file.
9323 * sysdeps/i386/fpu/math_err.c: New file.
9324 * sysdeps/i386/fpu/t_exp.c: Remove.
9325 * sysdeps/ia64/fpu/e_exp_data.c: New file.
9326 * sysdeps/ia64/fpu/math_err.c: New file.
9327 * sysdeps/ia64/fpu/t_exp.c: Remove.
9328 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
9329 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
9330 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
9331 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
9332 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
9333 * sysdeps/ieee754/dbl-64/math_config.h: New file.
9334 * sysdeps/ieee754/dbl-64/math_err.c: New file.
9335 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
9336 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
9337 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
9338 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
9339 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
9340 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
9341 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
9342 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9343 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9344
b9d8c474
JM
93452018-09-05 Joseph Myers <joseph@codesourcery.com>
9346
b7cdc2ae
JM
9347 * sysdeps/alpha/fpu/math_private.h: Remove.
9348
b9d8c474
JM
9349 * sysdeps/generic/math_private.h
9350 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
9351 Move this inline function ....
9352 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
9353 * include/math.h [!_ISOMAC]: To here....
9354
418d99e6
JM
93552018-09-04 Joseph Myers <joseph@codesourcery.com>
9356
9357 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
9358 code ....
9359 [!FE_HAVE_ROUNDING_MODES]: And this code ....
9360 * include/fenv.h [!_ISOMAC]: ... to here.
9361 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
9362 (feraiseexcept): Likewise.
9363 * math/fromfp.h: Do not include <fenv_private.h>.
9364 * math/s_cexp_template.c: Likewise.
9365 * math/s_csin_template.c: Likewise.
9366 * math/s_csinh_template.c: Likewise.
9367 * math/s_ctan_template.c: Likewise.
9368 * math/s_ctanh_template.c: Likewise.
9369 * math/s_iseqsig_template.c: Likewise.
9370 * math/w_acos_compat.c: Likewise.
9371 * math/w_acosf_compat.c: Likewise.
9372 * math/w_acosl_compat.c: Likewise.
9373 * math/w_asin_compat.c: Likewise.
9374 * math/w_asinf_compat.c: Likewise.
9375 * math/w_asinl_compat.c: Likewise.
9376 * math/w_j0_compat.c: Likewise.
9377 * math/w_j0f_compat.c: Likewise.
9378 * math/w_j0l_compat.c: Likewise.
9379 * math/w_j1_compat.c: Likewise.
9380 * math/w_j1f_compat.c: Likewise.
9381 * math/w_j1l_compat.c: Likewise.
9382 * math/w_jn_compat.c: Likewise.
9383 * math/w_jnf_compat.c: Likewise.
9384 * math/w_log10_compat.c: Likewise.
9385 * math/w_log10f_compat.c: Likewise.
9386 * math/w_log10l_compat.c: Likewise.
9387 * math/w_log2_compat.c: Likewise.
9388 * math/w_log2f_compat.c: Likewise.
9389 * math/w_log2l_compat.c: Likewise.
9390 * math/w_log_compat.c: Likewise.
9391 * math/w_logf_compat.c: Likewise.
9392 * math/w_logl_compat.c: Likewise.
9393 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9394 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9395 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9396 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9397 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9398 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9399 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9400 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9401 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9402 * sysdeps/ieee754/k_standardl.c: Likewise.
9403 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9404 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9405 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9406 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9407 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9408 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9409 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9410 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9411 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9412 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9413 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9414 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9415 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9416 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9417 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9418 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9419 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9420 * math/w_ilogb_template.c: Include <fenv.h> instead of
9421 <fenv_private.h>.
9422 * math/w_llogb_template.c: Likewise.
9423 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9424 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9425
70e2ba33
JM
94262018-09-03 Joseph Myers <joseph@codesourcery.com>
9427
9428 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
9429 * math/fromfp.h: Include <fenv_private.h>.
9430 * math/math-narrow.h: Likewise.
9431 * math/s_cexp_template.c: Likewise.
9432 * math/s_csin_template.c: Likewise.
9433 * math/s_csinh_template.c: Likewise.
9434 * math/s_ctan_template.c: Likewise.
9435 * math/s_ctanh_template.c: Likewise.
9436 * math/s_iseqsig_template.c: Likewise.
9437 * math/w_acos_compat.c: Likewise.
9438 * math/w_acosf_compat.c: Likewise.
9439 * math/w_acosl_compat.c: Likewise.
9440 * math/w_asin_compat.c: Likewise.
9441 * math/w_asinf_compat.c: Likewise.
9442 * math/w_asinl_compat.c: Likewise.
9443 * math/w_ilogb_template.c: Likewise.
9444 * math/w_j0_compat.c: Likewise.
9445 * math/w_j0f_compat.c: Likewise.
9446 * math/w_j0l_compat.c: Likewise.
9447 * math/w_j1_compat.c: Likewise.
9448 * math/w_j1f_compat.c: Likewise.
9449 * math/w_j1l_compat.c: Likewise.
9450 * math/w_jn_compat.c: Likewise.
9451 * math/w_jnf_compat.c: Likewise.
9452 * math/w_llogb_template.c: Likewise.
9453 * math/w_log10_compat.c: Likewise.
9454 * math/w_log10f_compat.c: Likewise.
9455 * math/w_log10l_compat.c: Likewise.
9456 * math/w_log2_compat.c: Likewise.
9457 * math/w_log2f_compat.c: Likewise.
9458 * math/w_log2l_compat.c: Likewise.
9459 * math/w_log_compat.c: Likewise.
9460 * math/w_logf_compat.c: Likewise.
9461 * math/w_logl_compat.c: Likewise.
9462 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
9463 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
9464 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
9465 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
9466 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9467 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9468 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9469 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9470 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9471 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9472 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9473 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9474 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
9475 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
9476 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9477 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
9478 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9479 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9480 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9481 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9482 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9483 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9484 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9485 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9486 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9487 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9488 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9489 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
9490 * sysdeps/ieee754/float128/float128_private.h: Likewise.
9491 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9492 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9493 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9494 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
9495 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9496 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9497 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9498 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9499 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9500 * sysdeps/ieee754/k_standardl.c: Likewise.
9501 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9502 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9503 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9504 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9505 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9506 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
9507 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9508 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9509 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9510 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9511 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9512 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9513 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9514 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9515 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9516 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
9517 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9518 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
9519 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9520 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9521 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9522 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9523 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9524 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9525 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9526 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9527 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9528 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9529 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
9530 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9531 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9532 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9533 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9534 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9535 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9536 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
9537 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9538 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9539 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9540 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9541 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
9542 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
9543 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
9544 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9545 * sysdeps/riscv/rvd/s_finite.c: Likewise.
9546 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
9547 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
9548 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
9549 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
9550 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
9551 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
9552 * sysdeps/riscv/rvf/fegetround.c: Likewise.
9553 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
9554 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
9555 * sysdeps/riscv/rvf/fesetround.c: Likewise.
9556 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
9557 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
9558 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
9559 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9560 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
9561 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9562 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
9563 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
9564 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
9565 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
9566 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
9567 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
9568 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
9569 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
9570 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
9571 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9572
a6e8926f
PP
95732018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9574
9575 [BZ #20271]
9576 * include/stdio.h (__libc_fatal): Mention newline in comment.
9577 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
9578 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
9579 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9580 * nss/nsswitch.c (__nss_next2): Likewise.
9581 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
9582 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
9583 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
9584 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9585 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
9586 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
9587 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
9588 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
9589 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
9590 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
9591 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
9592 * sysdeps/unix/sysv/linux/netlink_assert_response.c
9593 (__netlink_assert_response): Likewise.
9594
2bbd06bc
JM
95952018-08-31 Joseph Myers <joseph@codesourcery.com>
9596
9597 * conform/glibcconform.py: New file.
9598 * conform/list-header-symbols.py: Likewise.
9599 * conform/list-header-symbols.pl: Remove.
9600 * conform/Makefile (tests-special): Only add linknamespace tests
9601 if [PYTHON].
9602 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
9603
81b9d87b
L
96042018-08-31 H.J. Lu <hongjiu.lu@intel.com>
9605
9606 [BZ #23597]
9607 * support/Makefile (libsupport-routines): Add
9608 support_copy_file_range and xcopy_file_range.
9609 * support/support.h: Include <sys/types.h>.
9610 (support_copy_file_range): New prototype.
9611 * support/support_copy_file_range.c: New file. Copied and
9612 modified from io/copy_file_range-compat.c.
9613 * support/test-container.c (copy_one_file): Call xcopy_file_rang
9614 instead of copy_file_range.
9615 * support/xcopy_file_range.c: New file.
9616 * support/xunistd.h (xcopy_file_range): New prototype.
9617
d330f31a
CD
96182018-08-30 Carlos O'Donell <carlos@redhat.com>
9619
9620 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
9621 xpthread_create and xpthread_join.
9622
2bda273a
FW
96232018-08-30 Florian Weimer <fweimer@redhat.com>
9624
9625 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
9626
3bad2358
SL
96272018-08-30 Stefan Liebler <stli@linux.ibm.com>
9628
9629 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
9630 if malloc fails.
9631
09c12efc
JM
96322018-08-29 Joseph Myers <joseph@codesourcery.com>
9633
9634 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
9635 and minus_oflow as non-finite.
9636
ff6b2450
JM
96372018-08-28 Joseph Myers <joseph@codesourcery.com>
9638
9639 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
9640 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
9641 moved to fenv_private.h except for ...
9642 (TOINT_INTRINSICS): Kept in math_private.h.
9643 (roundtoint): Likewise.
9644 (converttoint): Likewise.
9645 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
9646 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9647 * sysdeps/arm/math_private.h: Remove.
9648 * sysdeps/generic/fenv_private.h: New file. Contents moved from
9649 ....
9650 * sysdeps/generic/math_private.h: ... this file. Include
9651 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
9652 Include <fenv_private.h>. Remove functions and macros moved to
9653 fenv_private.h.
9654 * sysdeps/i386/fpu/math_private.h: Remove.
9655 * sysdeps/mips/math_private.h: Move to ....
9656 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
9657 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
9658 [__mips_hard_float] conditional. Include next <fenv_private.h>.
9659 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
9660 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9661 * sysdeps/powerpc/fpu/math_private.h: Do not include
9662 <fenv_private.h>.
9663 * sysdeps/riscv/rvf/math_private.h: Move to ....
9664 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
9665 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
9666 <fenv_private.h>.
9667 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
9668 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9669 * sysdeps/sparc/fpu/math_private.h: Remove.
9670 * sysdeps/i386/fpu/fenv_private.h: Move to ....
9671 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
9672 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
9673 <fenv_private.h>.
9674 * sysdeps/x86_64/fpu/math_private.h: Do not include
9675 <sysdeps/i386/fpu/fenv_private.h>.
9676
761404b7
FW
96772018-08-28 Florian Weimer <fweimer@redhat.com>
9678
9679 [BZ #23578]
9680 * posix/tst-regcomp-truncated.c: New file.
9681 * posix/Makefile (tests): Add it.
9682 (tst-regcomp-truncated.out): Depend on generated locales.
9683
d6c44c3d
FW
96842018-08-28 Florian Weimer <fweimer@redhat.com>
9685
9686 * support/test-container.c (main): Treat unshare failure with
9687 EPERM as an unsupported test.
9688
745664bd
FW
96892018-08-28 Florian Weimer <fweimer@redhat.com>
9690
9691 [BZ #23520]
9692 nscd: Fix use-after-free in addgetnetgrentX and its callers.
9693 * nscd/netgroupcache.c
9694 (addgetnetgrentX): Add tofreep parameter. Do not free
9695 heap-allocated buffer.
9696 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
9697 (addgetnetgrentX_ignore): New function.
9698 (addgetnetgrent): Call it.
9699 (readdgetnetgrent): Likewise.
9700
c8dd67e7
RS
97012018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9702
9703 * string/memmem.c: Use memcmp for first match.
9704
5abedf97
RL
97052018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
9706
9707 [BZ #17426]
9708 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
9709
86de0499
DD
97102018-08-27 DJ Delorie <dj@redhat.com>
9711
9712 * support/Makefile (others): Don't list programs explicitly as a
9713 dependency of "others".
9714
c3ab2110
JM
97152018-08-27 Joseph Myers <joseph@codesourcery.com>
9716
9717 * sysdeps/generic/math-tests-trap-force.h: New file.
9718 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
9719 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
9720 * sysdeps/powerpc/math-tests.h: Remove file.
9721 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
9722
6b5c8607
TS
97232018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
9724 Torvald Riegel <triegel@redhat.com>
99ea93ca
MK
9725
9726 [BZ #23538]
9727 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
9728 Update r to include the set wake-request flag if waiters are
9729 remaining after spinning.
9730
4061791f
JM
97312018-08-27 Joseph Myers <joseph@codesourcery.com>
9732
9733 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
9734
bc680b33
PE
97352018-08-25 Paul Eggert <eggert@cs.ucla.edu>
9736
761404b7 9737 [BZ #23578]
bc680b33
PE
9738 regex: fix uninitialized memory access
9739 I introduced this bug into gnulib in commit
9740 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
9741 eventually it was merged into glibc. The bug was found by
9742 project-repo <bugs@feusi.co> and reported here:
9743 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
9744 Diagnosis and draft fix reported by Assaf Gordon here:
9745 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
9746 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
9747 * posix/regex_internal.c (build_wcs_upper_buffer):
9748 Fix bug when mbrtowc returns 0.
9749
02458a52
CD
97502018-08-24 Carlos O'Donell <carlos@redhat.com>
9751
9752 * po/be.po: Update translation.
9753
acc2842a
DD
97542018-08-24 DJ Delorie <dj@delorie.com>
9755
9756 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
9757 $(libunwind).
9758
6c3a8a9d
PP
97592018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9760
b39d961c
TS
9761 [BZ #23400]
9762 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
9763 create temporary files in source tree.
6c3a8a9d 9764
895ef79e
JM
97652018-08-24 Joseph Myers <joseph@codesourcery.com>
9766
9767 * sysdeps/generic/math-tests-trap.h: New file.
9768 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
9769 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
9770 * sysdeps/aarch64/math-tests.h: Remove file.
9771 * sysdeps/arm/math-tests.h: Likewise.
9772 * sysdeps/riscv/math-tests.h: Likewise.
9773 * sysdeps/aarch64/math-tests-trap.h: New file.
9774 * sysdeps/arm/math-tests-trap.h: Likewise.
9775 * sysdeps/riscv/math-tests-trap.h: Likewise.
9776
ca3aac57
WD
97772018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
9778
9779 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
9780 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
9781 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
9782 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
9783 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
9784 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
9785 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9786 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
9787 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
9788 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9789 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9790 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9791 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9792 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
9793 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
9794 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
9795 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9796 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9797
60bcac09
JM
97982018-08-23 Joseph Myers <joseph@codesourcery.com>
9799
9800 * sysdeps/generic/math-tests-exceptions.h: New file.
9801 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
9802 (EXCEPTION_TESTS_float): Do not define here.
9803 (EXCEPTION_TESTS_double): Likewise.
9804 (EXCEPTION_TESTS_long_double): Likewise.
9805 (EXCEPTION_TESTS_float128): Likewise.
9806 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
9807 Likewise.
9808 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
9809 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
9810 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
9811 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
9812 * sysdeps/mips/math-tests.h: Likewise.
9813 * sysdeps/nios2/math-tests.h: Likewise.
9814 * sysdeps/riscv/math-tests.h [!__riscv_flen]
9815 (EXCEPTION_TESTS_float): Do not define here.
9816 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
9817 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
9818 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
9819
3bded567
WD
98202018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
9821
9822 * NEWS: Move optimized sinf entry to 2.29.
9823
900fb446
WD
98242018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
9825
9826 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
9827
561b0bec
DD
98282018-08-22 DJ Delorie <dj@redhat.com>
9829
9830 * Makefile (testroot.pristine): New rules to initialize the
9831 test-in-container "testroot".
9832 * Makerules (all-testsuite): Add tests-container.
9833 * Rules (tests-expected): Add tests-container.
9834 (binaries-all-tests): Likewise.
9835 (tests-container): New, run these tests in the testroot container.
9836 * support/Makefile (others): Add *-container, support_paths.c,
9837 xmkdirp, and links-dso-program.
9838 * support/links-dso-program-c.c: New.
9839 * support/links-dso-program.cc: New.
9840 * support/test-container.c: New.
9841 * support/shell-container.c: New.
9842 * support/echo-container.c: New.
9843 * support/true-container.c: New.
9844 * support/xmkdirp.c: New.
9845 * support/xsymlink.c: New.
9846 * support/support_paths.c: New.
9847 * support/support.h: Add support paths prototypes.
9848 * support/xunistd.h: Add xmkdirp () and xsymlink ().
9849
9850 * nss/tst-nss-test3.c: Convert to test-in-container.
9851 * nss/tst-nss-test3.root/: New.
9852
b35d3509
PE
98532018-08-22 Paul Eggert <eggert@cs.ucla.edu>
9854
9855 regex: port Gnulib code to z/OS POSIX environment
9856 Problem reported by Arnold Robbins in:
9857 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
9858 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
9859 Undef.
9860
16a25138
JM
98612018-08-22 Joseph Myers <joseph@codesourcery.com>
9862
debc4c98
JM
9863 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
9864 (ROUNDING_TESTS_double): Remove.
9865 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
9866 (ROUNDING_TESTS_double): Remove.
9867 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
9868 (ROUNDING_TESTS_double): Remove.
9869 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
9870 (ROUNDING_TESTS_float): Remove.
9871 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
9872 (ROUNDING_TESTS_float): Remove.
9873 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
9874 (ROUNDING_TESTS_float): Remove.
9875 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
9876 !TEST_MATHVEC here.
9877 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9878 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9879
16a25138
JM
9880 * sysdeps/generic/math-tests-rounding.h: New file.
9881 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
9882 (ROUNDING_TESTS_float): Do not define here.
9883 (ROUNDING_TESTS_double): Likewise.
9884 (ROUNDING_TESTS_long_double): Likewise.
9885 (ROUNDING_TESTS_float128): Likewise.
9886 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
9887 (ROUNDING_TESTS_double): Undefine before defining.
9888 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
9889 (ROUNDING_TESTS_double): Undefine before defining.
9890 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
9891 (ROUNDING_TESTS_double): Undefine before defining.
9892 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
9893 (ROUNDING_TESTS_float): Undefine before defining.
9894 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
9895 (ROUNDING_TESTS_float): Undefine before defining.
9896 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
9897 (ROUNDING_TESTS_float): Undefine before defining.
9898 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
9899 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
9900 not define here.
9901 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
9902 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
9903 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
9904 * sysdeps/riscv/math-tests.h [!__riscv_flen]
9905 (ROUNDING_TESTS_float): Do not define here.
9906 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
9907 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
9908 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
9909 (ROUNDING_TESTS_float): Likewise.
9910 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
9911 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
9912 * sysdeps/mips/math-tests.h [__mips_soft_float]
9913 (ROUNDING_TESTS_float): Likewise.
9914 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
9915 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
9916 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
9917 (ROUNDING_TESTS_double): Likewise.
9918 (ROUNDING_TESTS_long_double): Likewise.
9919
38b0593e
TK
99202018-08-21 Tobias Klauser <tklauser@distanz.ch>
9921
9922 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
9923 (PF_XDP): New macro.
9924 (AF_XDP): New macro.
9925 (SOL_XDP): New macro.
9926
5cd7dbde
JM
99272018-08-21 Joseph Myers <joseph@codesourcery.com>
9928
9929 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
9930 (TCP_INQ): Likewise.
9931 (TCP_CM_INQ): Likewise.
9932 (TCP_REPAIR_ON): Likewise.
9933 (TCP_REPAIR_OFF): Likewise.
9934 (TCP_REPAIR_OFF_NO_WP): Likewise.
9935 (struct tcp_zerocopy_receive): New type.
9936
aa42b3db
FW
99372018-08-21 Florian Weimer <fweimer@redhat.com>
9938
9939 * support/support.h (support_descriptor_supports_holes): Declare.
9940 * support/Makefile (libsupport-routines): Add
9941 support_descriptor_supports_holes.
9942 * support/support_descriptor_supports_holes.c: New file.
9943 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
9944 and stop testing if holes are not supported.
9945 * io/test-lfs.c (do_prepare): Likewise.
9946 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
9947 Likewise.
9948 * timezone/tst-tzset.c (create_tz_file): Likewise.
9949 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
9950 variable.
9951 (do_prepare): Set it.
9952 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
9953
c7627f41
FW
99542018-08-21 Florian Weimer <fweimer@redhat.com>
9955
9956 [BZ #17248]
9957 * Makeconfig (+cflags): Do not sort (and deduplicate).
9958
ef939d92
FW
99592018-08-21 Florian Weimer <fweimer@redhat.com>
9960
9961 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
9962 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
9963
88ffb39d
FW
99642018-08-20 Florian Weimer <fweimer@redhat.com>
9965
9966 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
9967 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
9968
17419540
JM
99692018-08-20 Joseph Myers <joseph@codesourcery.com>
9970
e6edd40d
JM
9971 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
9972 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
9973 and ssi_arch members.
9974
17419540
JM
9975 * elf/elf.c (NT_VMCOREDD): New macro.
9976 (AT_MINSIGSTKSZ): Likewise.
9977
fa78896b
RS
99782018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9979
9980 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
9981 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
9982 s_cosf-ppc64 and s_cosf-power8.
9983 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
9984 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9985 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9986 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
9988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
9989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
9990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
9991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
9992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
9993 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
9994 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
9995
86a6c75a
FW
99962018-08-17 Florian Weimer <fweimer@redhat.com>
9997
9998 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9999
35cfefd9
FW
100002018-08-17 Istvan Kurucsai <pistukem@gmail.com>
10001
10002 * malloc/malloc.c (_int_malloc): Additional binning code checks.
10003
6413fcde
FW
100042018-08-16 Florian Weimer <fweimer@redhat.com>
10005
10006 * configure.ac: Add --with-nonshared-cflags option.
10007 * config.make.in (extra-nonshared-cflags): Set variable.
10008 * Makeconfig (CFLAGS-.oS): Use it.
10009 * manual/install.texi (Configuring and compiling): Document
10010 --with-nonshared-cflags.
10011 * configure: Regenerate.
10012 * INSTALL: Likewise.
10013
93a2584c
FW
100142018-08-16 Florian Weimer <fweimer@redhat.com>
10015
10016 * Makeconfig (ASFLAGS): Always append required assembler flags.
10017
f6f275d2 100182018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
d6db68e6
ME
10019
10020 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
10021 (malloc_consolidate): Likewise.
10022
30a17d8c
PC
100232018-08-16 Pochang Chen <johnchen902@gmail.com>
10024
10025 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
10026
953a5a4a
SP
100272018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
10028
34f86d61
SP
10029 * benchtests/bench-strlen.c (do_test): Allocate buffers before
10030 every strlen call.
10031
953a5a4a
SP
10032 * benchtests/bench-strlen.c: Print performance numbers in json.
10033
7793ad7a
RS
100342018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10035
10036 * sysdeps/powerpc/powerpc64/multiarch/Makefile
10037 (sysdep_routines): Build strcmp-power9 and strncmp-power9
10038 only for little endian.
10039 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10040 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
10041 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
10042 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
10043 Add check for little endian.
10044 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
10045 (__strcmp_power9): Add check for little endian.
10046 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
10047 Add check for little endian.
10048 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
10049 (__strncmp_power9): Add check for little endian.
10050 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
10051 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
10052 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
10053 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
10054 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
10055
436e4d5b
SP
100562018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
10057
10058 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
10059 [!STRLEN](STRLEN): Set to __strlen.
10060 * sysdeps/aarch64/multiarch/strlen.c: New file.
10061 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
10062 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
10063 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
10064 (__libc_ifunc_impl_list): Add strlen.
10065 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
10066 strlen_generic and strlen_asimd.
10067
126c4e3f
WD
100682018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
10069
10070 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
10071 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
10072 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
10073
49acec17
WD
100742018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
10075
10076 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
10077
fdb16de3
FW
100782018-08-14 Florian Weimer <fweimer@redhat.com>
10079
10080 [BZ #23519]
10081 * include/stdio.h (__vfxprintf): Declare.
10082 * stdio-common/fxprintf.c (__vfxprintf): New function.
10083 (__fxprintf): Call it.
10084 * misc/err.c (convert_and_print): Remove function.
10085 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
10086 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
10087 * misc/Makefile (tests): Add tst-warn-wide.
10088 * misc/tst-warn-wide.c: New file.
10089
599cf397
WD
100902018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
10091 Szabolcs Nagy <szabolcs.nagy@arm.com>
10092
10093 * NEWS: Mention sinf, cosf, sincosf.
10094 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
10095 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
10096 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
10097 constants rather than including generic sincosf.h.
10098 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
10099 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
10100 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
10101 (reduced_cos): Remove.
10102 (sinf_poly): New function.
10103 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
10104
e95c6f61
FW
101052018-08-14 Florian Weimer <fweimer@redhat.com>
10106
10107 [BZ #23521]
10108 [BZ #23522]
10109 * nss/nss_files/files-alias.c (get_next_alias): During :include:
10110 processing, bail out if no room, and close the stream before
10111 returning ERANGE.
10112 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
10113 (tst-nss-files-alias-leak): Link with libdl.
10114 (tst-nss-files-alias-leak.out): Depend on nss_files.
10115
10116 * nss/tst-nss-files-alias-leak.c: New file.
10117
2d7acfac
FW
101182018-08-14 Florian Weimer <fweimer@redhat.com>
10119
10120 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
10121 server_user, stat_user.
10122
f3cd0904
JM
101232018-08-13 Joseph Myers <joseph@codesourcery.com>
10124
17b26500
JM
10125 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10126 version to 4.18.
10127 (io_pgetevents): New syscall.
10128 (rseq): Likewise.
10129
3c1622eb
JM
10130 * manual/install.texi (Configuring and compiling): Do not list
10131 tools used for testing pretty printers here.
10132 (Tools for Compilation): List Python, PExpect and GDB here.
10133 Update descriptions of uses of Perl and Python.
10134 * INSTALL: Regenerate.
10135
f3cd0904
JM
10136 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10137 version to 4.18.
10138
b7b52b9d
FW
101392018-08-13 Florian Weimer <fweimer@redhat.com>
10140
10141 * misc/error.c (error): Add missing va_end call.
10142 (error_at_line): Likewise.
10143
01780188
FW
101442018-08-13 Florian Weimer <fweimer@redhat.com>
10145
10146 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
10147
44727aec
SP
101482018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10149
8cac1f26
SP
10150 * benchtests/scripts/benchout.schema.json (properties): Add
10151 new properties.
10152
44727aec
SP
10153 * benchtests/bench-skeleton.c (main): Add duration and
10154 iterations attributes.
10155
c77bf91b
PE
101562018-08-10 Paul Eggert <eggert@cs.ucla.edu>
10157
10158 regex: Gnulib unibyte RRI uses bytes not chars
10159 Adjust the non-glibc code to agree with what Gawk needs for
10160 rational range interpretation (RRI) for regular expression ranges.
10161 In unibyte locales, Gawk wants ranges to use the underlying byte
10162 rather than the character code point. This change does not affect
10163 glibc proper.
10164 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
10165 In unibyte locales, use the byte value rather than
10166 running it through btowc.
10167
2ce7ba7d
JM
101682018-08-10 Joseph Myers <joseph@codesourcery.com>
10169
10170 * sysdeps/generic/math-tests-snan.h: New file.
10171 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
10172 (SNAN_TESTS_float): Do not define here.
10173 (SNAN_TESTS_double): Likewise.
10174 (SNAN_TESTS_long_double): Likewise.
10175 (SNAN_TESTS_float128): Likewise.
10176 * sysdeps/i386/fpu/math-tests-snan.h: New file.
10177 * sysdeps/i386/fpu/math-tests.h: Remove file.
10178 * sysdeps/ia64/math-tests-snan.h: New file.
10179 * sysdeps/ia64/math-tests.h: Remove file.
10180 * sysdeps/x86/math-tests.h: Likewise.
10181 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
10182
ea5c662c
WD
101832018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
10184 Szabolcs Nagy <szabolcs.nagy@arm.com>
10185
10186 * math/Makefile: Add s_sincosf_data.c.
10187 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
10188 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
10189 (sincosf_poly): Likewise.
10190 (reduce_small): Likewise.
10191 (reduce_large): Likewise.
10192 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
10193 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
10194 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
10195 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
10196
43cfdf8f
SN
101972018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
10198 Szabolcs Nagy <szabolcs.nagy@arm.com>
10199
10200 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
10201 (converttoint): Use lround.
10202 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
10203 document the semantics when TOINT_INTRINSICS is set.
10204 (converttoint): Likewise.
10205 (TOINT_RINT): Remove.
10206 (TOINT_SHIFT): Remove.
10207 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
10208 path.
10209
69065288
FW
102102018-08-10 Florian Weimer <fweimer@redhat.com>
10211
10212 [BZ #23497]
10213 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
10214 function.
10215 (__old_getdents64): Use getdents64. Convert entries without
10216 moving them.
10217 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
10218 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
10219 tst-readdir64-compat.
10220
8f135efc
IL
102212018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10222
10223 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
10224 Fix unwind.
10225
71c01af5
IL
102262018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10227
10228 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
10229 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
10230 code to s390x-mcount.h and #include it.
10231 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
10232 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
10233 (__fentry__): Add.
10234
8d997d22
IL
102352018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10236
10237 * stdlib/Versions: Remove __fentry__.
10238 * sysdeps/i386/Versions: Add __fentry__.
10239 * sysdeps/x86_64/Versions: Add __fentry__.
10240
69e2444a
IL
102412018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10242
10243 * sysdeps/s390/Makefile: Register the new tests.
10244 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
10245 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
10246 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
10247 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
10248 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
10249 * sysdeps/s390/tst-dl-runtime.c: New file.
10250
bde6320f
IL
102512018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10252
10253 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10254 Do not clobber R0.
10255
5755f5e4
IL
102562018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10257
10258 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
10259 Do not clobber R0.
10260
c8ad8522
IL
102612018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10262
10263 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10264 Do not clobber R0.
10265
b215eee1
IL
102662018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10267
10268 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10269 Do not clobber R0.
10270
329c6fec
IL
102712018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10272
10273 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10274 Use symbolic offsets for stack variables.
10275
0fb7afa2
IL
102762018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10277
10278 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
10279 Use symbolic offsets for stack variables.
10280
6954059a
IL
102812018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10282
10283 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10284 Use symbolic offsets for stack variables.
10285
c7099673
IL
102862018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10287
10288 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10289 Use symbolic offsets for stack variables.
10290
2813e41e
JM
102912018-08-09 Joseph Myers <joseph@codesourcery.com>
10292
10293 * math/gen-libm-test.py: New file.
10294 * math/gen-libm-test.pl: Remove.
10295 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
10296 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
10297 gen-libm-test.pl.
10298 ($(libm-test-c-noauto-obj)): Likewise.
10299 ($(libm-test-c-auto-obj)): Likewise.
10300 ($(libm-test-c-narrow-obj)): Likewise.
10301 (regen-ulps): Likewise.
10302 * math/README.libm-test: Update references to gen-libm-test.pl.
10303 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
10304 referencing gen-libm-test.pl.
10305 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
10306 * math/libm-test-support.c: Likewise.
10307 * math/libm-test-support.h: Likewise.
10308 * sysdeps/generic/libm-test-ulps: Likewise.
10309
be64b194
SP
103102018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
10311
10312 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
10313 Fix value.
10314
140137fb
JM
103152018-08-08 Joseph Myers <joseph@codesourcery.com>
10316
10317 * math/libm-test-nextdown.inc (do_test): Move comment to ....
10318 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
10319
b5403eca
ST
103202018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
10321
10322 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
10323 symbols.
8ac0f9e6
ST
10324 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
10325 __pthread_setspecific): Add hidden proto.
10326 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
10327 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
b5403eca 10328
014efdd7
SP
103292018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
10330
10331 * benchtests/bench-string.h (buf1_size, buf2_size): New
10332 variables.
10333 (init_sizes): New function.
10334 (test_init): Use it.
10335 (alloc_buf, exit_error): New functions.
10336 (alloc_bufs): Use ALLOC_BUF.
10337 (realloc_bufs): Remove.
10338 * benchtests/bench-memcmp.c (do_test): Adjust.
10339 * benchtests/bench-memset-large.c (do_test): Likewise.
10340 * benchtests/bench-memset-walk.c (do_test): Likewise.
10341 * benchtests/bench-memset.c (do_test): Likewise.
10342 * benchtests/bench-strncmp.c (do_test): Likewise.
10343
92a4cba7
AS
103442018-08-06 Andreas Schwab <schwab@suse.de>
10345
10346 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
10347 of CONST_THREAD_AREA.
10348
fb4c32ae
L
103492018-08-06 H.J. Lu <hongjiu.lu@intel.com>
10350
10351 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
10352 (STATE_SAVE_MASK): Likewise.
10353 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
10354 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
10355 (STATE_SAVE_MASK): Likewise.
10356 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
10357 instead of <cpu-features.h>.
10358
bf418187
DD
103592018-08-03 DJ Delorie <dj@redhat.com>
10360
10361 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
e5721f45 10362 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
bf418187 10363
bb17621a
DD
10364 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
10365
ea705eb5
JM
103662018-08-03 Joseph Myers <joseph@codesourcery.com>
10367
10368 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
10369 after TEST_* calls.
10370 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
10371 * math/libm-test-logb.inc (logb_test_data): Likewise.
10372
284f42bc
WD
103732018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
10374
10375 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
10376 * string/strstr.c (AVAILABLE): Likewise.
10377
430388d5
L
103782018-08-03 H.J. Lu <hongjiu.lu@intel.com>
10379
10380 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
10381 <init-arch.h>.
10382 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
10383 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
10384 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
10385
c5760aa9
CD
103862018-08-03 Carlos O'Donell <carlos@redhat.com>
10387
10388 * po/be.po: Update translation.
10389
6b535b84
CD
10390 * po/be.po: Update translation.
10391
ae67f2e5
L
103922018-08-03 H.J. Lu <hongjiu.lu@intel.com>
10393
10394 * sysdeps/x86/cpu-features-offsets.sym
10395 (rtld_global_ro_offsetof): Removed.
10396 (CPU_FEATURES_SIZE): Likewise.
10397 (CPUID_OFFSET): Likewise.
10398 (CPUID_SIZE): Likewise.
10399 (CPUID_EAX_OFFSET): Likewise.
10400 (CPUID_EBX_OFFSET): Likewise.
10401 (CPUID_ECX_OFFSET): Likewise.
10402 (CPUID_EDX_OFFSET): Likewise.
10403 (FAMILY_OFFSET): Likewise.
10404 (MODEL_OFFSET): Likewise.
10405 (FEATURE_OFFSET): Likewise.
10406 (FEATURE_SIZ): Likewise.
10407 (COMMON_CPUID_INDEX_1): Likewise.
10408 (COMMON_CPUID_INDEX_7): Likewise.
10409 (FEATURE_INDEX_1): Likewise.
10410 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
10411
6b5c8607 104122018-08-02 Carlos O'Donell <carlos@redhat.com>
08a5ee14
CD
10413
10414 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
10415 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
10416 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
10417 (install-locales): Depend on install-locale-archive.
10418 (install-locale-archive): Define.
7b7adbd8 10419 (install-locale-files): Define.
08a5ee14
CD
10420 (build-one-locale): Define macro.
10421 * manual/install.texi (Running make install): Document.
10422 * manual/INSTALL: Regenerate.
10423
525691bd
SP
104242018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
10425
d67d634b
SP
10426 * benchtests/scripts/compare_strings.py: Import traceback.
10427 (parse_file): Pretty-print error.
10428
525691bd
SP
10429 * NEWS: Mention the change.
10430 * elf/dl-tunables.list: Rename tune namespace to cpu.
10431 * sysdeps/powerpc/dl-tunables.list: Likewise.
10432 * sysdeps/x86/dl-tunables.list: Likewise.
10433 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
10434 cpu.name.
10435 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
10436 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
10437 * manual/README.tunables: Likewise.
10438 * manual/tunables.texi: Likewise.
10439 * sysdeps/powerpc/cpu-features.c: Likewise.
10440 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
10441 (init_cpu_features): Likewise.
10442 * sysdeps/x86/cpu-features.c: Likewise.
10443 * sysdeps/x86/cpu-features.h: Likewise.
10444 * sysdeps/x86/cpu-tunables.c: Likewise.
10445 * sysdeps/x86_64/Makefile: Likewise.
10446 * sysdeps/x86/dl-cet.c: Likewise.
10447
506d7fb1
JM
104482018-08-02 Joseph Myers <joseph@codesourcery.com>
10449
10450 [BZ #23479]
10451 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
10452 [__mips_hard_float].
10453 (FE_UNDERFLOW): Likewise.
10454 (FE_OVERFLOW): Likewise.
10455 (FE_DIVBYZERO): Likewise.
10456 (FE_INVALID): Likewise.
10457 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
10458 (FE_TOWARDZERO): Define only if [__mips_hard_float].
10459 (FE_UPWARD): Likewise.
10460 (FE_DOWNWARD): Likewise.
10461 (__FE_UNDEFINED): Define if [!__mips_hard_float]
10462 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
10463 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
10464 [__mips_hard_float].
10465 (FP_ROUNDMODE): Likewise.
10466 (FP_RND_NEAREST): Likewise.
10467 (FP_RND_ZERO): Likewise.
10468 (FP_RND_PINF): Likewise.
10469 (FP_RND_MINF): Likewise.
10470 (FP_EX_INVALID): Likewise.
10471 (FP_EX_OVERFLOW): Likewise.
10472 (FP_EX_UNDERFLOW): Likewise.
10473 (FP_EX_DIVZERO): Likewise.
10474 (FP_EX_INEXACT): Likewise.
10475 (FP_INIT_ROUNDMODE): Likewise.
10476 * sysdeps/mips/nofpu/fesetenv.c: New file.
10477 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
10478
f6dcefbe
JM
104792018-08-01 Joseph Myers <joseph@codesourcery.com>
10480
10481 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
10482 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
10483 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
10484 conditional on [FE_UPWARD].
10485
fa67ba06
PE
104862018-08-01 Paul Eggert <eggert@cs.ucla.edu>
10487
10488 regex: fix memory leak in Gnulib
10489 Problem and fix reported by Assaf Gordon in:
10490 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
10491 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
10492 range_ends members too, as they are defined in 'struct
10493 re_charset_t' even if not _LIBC. This affects only Gnulib.
10494
82c80ac2
L
104952018-08-01 H.J. Lu <hongjiu.lu@intel.com>
10496
10497 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
10498 ...
10499 (get_common_indices): This.
10500 (init_cpu_features): Updated.
10501
c0e7e2c1
JM
105022018-08-01 Joseph Myers <joseph@codesourcery.com>
10503
46f8cf57
JM
10504 * sysdeps/generic/math-tests-snan-payload.h: New file.
10505 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
10506 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
10507 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
10508 * sysdeps/generic/math-tests.h: Include
10509 <math-tests-snan-payload.h>.
10510 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
10511 * sysdeps/hppa/math-tests.h: Remove file.
10512 * sysdeps/mips/math-tests.h [!__mips_nan2008]
10513 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
10514 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
10515 Likewise.
10516
c0e7e2c1
JM
10517 * sysdeps/generic/math-tests-snan-cast.h: New file.
10518 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
10519 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
10520 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
10521 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
10522
74939c83
CD
105232018-08-01 Carlos O'Donel <carlos@redhat.com>
10524
b029723b
CD
10525 * version.h (RELEASE): Set to "development".
10526 (VERSION): Set to "2.28.9000".
10527 * NEWS (2.29): New section.
10528
3c03baca
CD
10529 * version.h (RELEASE): Set to "stable".
10530 (VERSION): Set to "2.28".
10531 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
10532 * NEWS: Add the list of bugs fixed in 2.28.
10533
74939c83
CD
10534 * po/ca.po: Update to latest version.
10535 * po/cs.po: Likewise
10536 * po/da.po: Likewise
10537 * po/el.po: Likewise
10538 * po/eo.po: Likewise
10539 * po/es.po: Likewise
10540 * po/fi.po: Likewise
10541 * po/fr.po: Likewise
10542 * po/gl.po: Likewise
10543 * po/hu.po: Likewise
10544 * po/ia.po: Likewise
10545 * po/id.po: Likewise
10546 * po/it.po: Likewise
10547 * po/ja.po: Likewise
10548 * po/ko.po: Likewise
10549 * po/lt.po: Likewise
10550 * po/nb.po: Likewise
10551 * po/nl.po: Likewise
10552 * po/pt_BR.po: Likewise
10553 * po/ru.po: Likewise
10554 * po/rw.po: Likewise
10555 * po/sk.po: Likewise
10556 * po/sl.po: Likewise
10557 * po/tr.po: Likewise
10558 * po/zh_CN.po: Likewise
10559 * po/zh_TW.po: Likewise
10560
d4b54bdf
ST
105612018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10562
10563 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
10564 initialization...
10565 (init): ... before initializing libpthread.
10566
42fc12ef
ST
10567 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
10568 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
10569 (__mach_setup_tls): ... new function.
10570 (mach_setup_tls): New alias.
10571 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
10572 __mach_setup_thread.
10573 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
10574 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
10575 * mach/Versions [libc] (mach_setup_tls): Add symbol.
10576 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
10577
6cca855e
CD
105782018-07-31 Carlos O'Donell <carlos@redhat.com>
10579
f650932b
CD
10580 * manual/install.texi: Update versions.
10581 * INSTALL: Regenerate.
10582
6cca855e
CD
10583 * manual/contrib.texi (Contributors): Update contributions.
10584
07fdea47
CD
105852018-07-31 Carlos O'Donell <carlos@redhat.com>
10586
10587 * po/be.po: Update translations.
10588
63d5fad4
AZ
105892018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10590
10591 * sysdeps/sh/libm-test-ulps: Update.
10592
1ff712a6
CD
105932018-07-30 Carlos O'Donell <carlos@redhat.com>
10594
10595 * po/bg.po: Update translations.
10596 * po/de.po: Likewise.
10597 * po/hr.po: Likewise.
10598 * po/pt_BR.po: Likewise.
10599 * po/sv.po: Likewise.
10600 * po/vi.po: Likewise.
10601
98864ed0
L
106022018-07-30 H.J. Lu <hongjiu.lu@intel.com>
10603
10604 [BZ #23467]
10605 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
10606 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
10607 (CFLAGS-tst-cet-property-1.o): New.
10608 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
10609 ($(objpfx)tst-cet-property-2): Likewise.
10610 ($(objpfx)tst-cet-property-2.out): Likewise.
10611 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
10612 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
10613 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
10614 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
10615 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
10616
c92a00d8
L
106172018-07-30 H.J. Lu <hongjiu.lu@intel.com>
10618
10619 [BZ #23458]
10620 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
10621
99bc6241
ST
106222018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
10623
10624 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
10625 __sbrk): Do not set attribute_hidden.
af86087f 10626 * sysdeps/mach/hurd/not-errno.h: New file.
99bc6241
ST
10627 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
10628 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
10629
bcb1c4af
CD
106302018-07-27 Carlos O'Donell <carlos@redhat.com>
10631
10632 * po/uk.po: Update translations.
10633 * po/cs.po: Likewise.
10634 * po/pl.po: Likewise.
10635
4591b7db
L
106362018-07-27 H.J. Lu <hongjiu.lu@intel.com>
10637
10638 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
10639 parse beyond the note end.
10640
2c6da2f4
AZ
106412018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10642
10643 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
10644 kernel does not support OFD locks.
10645 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
10646
20365a31
ST
106472018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
10648
10649 * sysdeps/mach/hurd/Versions (libc): Make __access and
10650 __access_noerrno external so they can override the ld symbols.
10651 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
10652 __writev, __open64, __access_noerrno extern so they can be overrided.
10653 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
10654 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
10655
cb1a43db
CD
106562018-07-26 Carlos O'Donell <carlos@redhat.com>
10657
10658 * po/libc.pot: Regenerate.
10659
74759ae5
JM
106602018-07-26 Joseph Myers <joseph@codesourcery.com>
10661
10662 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
10663
da80612d
L
106642018-07-26 H.J. Lu <hongjiu.lu@intel.com>
10665
10666 [BZ #23459]
10667 * sysdeps/x86/cpu-features.c (get_extended_indices): New
10668 function.
10669 (init_cpu_features): Call get_extended_indices for both Intel
10670 and AMD CPUs.
10671 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
10672 Remove "for AMD" comment.
10673
65d87ade
L
106742018-07-26 H.J. Lu <hongjiu.lu@intel.com>
10675
10676 [BZ # 23456]
10677 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
10678 COMMON_CPUID_INDEX_80000001.
10679
c9dc4d51
SL
106802018-07-26 Stefan Liebler <stli@linux.ibm.com>
10681
10682 * string/tst-xbzero-opt.c (use_test_buffer): New function.
10683 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
10684
cfba5dbb
FW
106852018-07-26 Florian Weimer <fweimer@redhat.com>
10686
10687 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
10688 aliases for symbols not in the implementation namespace.
10689
6b5c8607 106902018-07-25 Carlos O'Donell <carlos@redhat.com>
7cd7d36f
CD
10691
10692 [BZ #23393]
10693 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
10694 lowercase in LATIN script.
10695 * localedata/Makefile (test-input): Add en_US.UTF-8.
10696 * localedata/en_US.UTF-8.in: New file.
10697 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
10698 and restore old tests.
10699 * posix/tst-regexloc.c (do_test): Add back range expression test.
10700
3fb455b3
L
107012018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10702
10703 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
10704
d6499b70
AZ
107052018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10706
10707 * nptl/threads.h: Move to ...
10708 * sysdeps/nptl/threads.h: ... here.
10709 * sysdeps/hurd/stdc-predef.h: New file.
10710
08ac6bed
L
107112018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10712
10713 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
10714 tst-cet-setcontext-1 if CET is enabled.
10715 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
10716 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
10717
9faaf938
AZ
107182018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10719
10720 * include/threads.h: Move to ...
10721 * sysdeps/nptl/threads.h: ... here.
10722 * sysdeps/htl/threads.h: New file.
10723 * conform/Makefile (linknamespace-libs-ISO11): Use
10724 static-thread-library instead of linking libpthread.
10725 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
10726
d6b8f847
FW
107272018-07-25 Florian Weimer <fweimer@redhat.com>
10728
10729 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
10730 nanoseconds into seconds.
10731 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
10732 (do_test): Likewise.
10733 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
10734 (do_test): Likewise. Avoid nanosecond overflow and spurious
10735 timeouts due to system load.
10736 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
10737 (child_wait): Increment it.
10738 (do_test): Wait as long as necessary until all expected threads
10739 have arrived.
10740
25123a1c
L
107412018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
10742 H.J. Lu <hongjiu.lu@intel.com>
10743
10744 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
10745 __ssp.
10746 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
10747 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
10748 (__push___start_context): New.
10749 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
10750 <asm/prctl.h>.
10751 (__getcontext): Record the current shadow stack base. Save the
10752 caller's shadow stack pointer and base.
10753 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
10754 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
10755 (__push___start_context): New prototype.
10756 (__makecontext): Call __push___start_context to allocate a new
10757 shadow stack, push __start_context onto the new stack as well
10758 as the new shadow stack.
10759 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
10760 <asm/prctl.h>.
10761 (__setcontext): Restore the target shadow stack.
10762 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
10763 <asm/prctl.h>.
10764 (__swapcontext): Record the current shadow stack base. Save
10765 the caller's shadow stack pointer and base. Restore the target
10766 shadow stack.
10767 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
10768 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
10769 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
10770
375a4844
L
107712018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10772
10773 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
10774 tst-setcontext8 and tst-setcontext9.
10775 * stdlib/tst-setcontext6.c: New file.
10776 * stdlib/tst-setcontext7.c: Likewise.
10777 * stdlib/tst-setcontext8.c: Likewise.
10778 * stdlib/tst-setcontext9.c: Likewise.
10779
bd4f7903
L
107802018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10781
10782 * stdlib/Makefile ((tests): Add tst-setcontext5.
10783 * stdlib/tst-setcontext5.c: New file.
10784
7e28f203
L
107852018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10786
10787 * stdlib/Makefile (tests): Add tst-setcontext4.
10788 * stdlib/tst-setcontext4.c: New file.
10789
8516ad2d
L
107902018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10791
10792 * stdlib/Makefile (tests): Add tst-swapcontext1.
10793 * stdlib/tst-swapcontext1.c: New test.
10794
fddcd003
L
107952018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10796
10797 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
10798 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
10799 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
10800 and tst-cet-legacy-4c.
10801 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
10802 and tst-cet-legacy-mod-4.
10803 (CFLAGS-tst-cet-legacy-2.c): New.
10804 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
10805 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
10806 (CFLAGS-tst-cet-legacy-3.c): Likewise.
10807 (CFLAGS-tst-cet-legacy-4.c): Likewise.
10808 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
10809 ($(objpfx)tst-cet-legacy-1): Likewise.
10810 ($(objpfx)tst-cet-legacy-2): Likewise.
10811 ($(objpfx)tst-cet-legacy-2.out): Likewise.
10812 ($(objpfx)tst-cet-legacy-2a): Likewise.
10813 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
10814 ($(objpfx)tst-cet-legacy-4): Likewise.
10815 ($(objpfx)tst-cet-legacy-4.out): Likewise.
10816 ($(objpfx)tst-cet-legacy-4a): Likewise.
10817 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
10818 (tst-cet-legacy-4a-ENV): Likewise.
10819 ($(objpfx)tst-cet-legacy-4b): Likewise.
10820 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
10821 (tst-cet-legacy-4b-ENV): Likewise.
10822 ($(objpfx)tst-cet-legacy-4c): Likewise.
10823 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
10824 (tst-cet-legacy-4c-ENV): Likewise.
10825 * sysdeps/x86/tst-cet-legacy-1.c: New file.
10826 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
10827 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
10828 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
10829 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
10830 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
10831 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
10832 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
10833 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
10834 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
10835 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
10836
9aa3113a
L
108372018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10838
10839 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
10840 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
10841 with ssp_base.
10842 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
10843 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
10844 with ssp_base.
10845
9c79cec8
AS
108462018-07-25 Andreas Schwab <schwab@suse.de>
10847
10848 [BZ #23442]
10849 * locale/weightwc.h (findidx): Handle the case where usrc is a
10850 prefix of cp but one character too short.
10851
969c3355
AZ
108522018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10853
10854 * NEWS: Add ISO C threads addition.
10855
e0f9c462
FW
108562018-07-24 Florian Weimer <fweimer@redhat.com>
10857
10858 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10859 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
10860 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
10861 4.13.
10862
394df381
L
108632018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10864
10865 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
10866 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
10867 <sys/prctl.h> and <asm/prctl.h>.
10868 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
10869 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
10870 and <asm/prctl.h>.
10871 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
10872 ARCH_CET_LEGACY_BITMAP.
10873 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
10874 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
10875 * sysdeps/x86/libc-start.c: Include <startup.h>.
10876
46545530
FW
108772018-07-24 Florian Weimer <fweimer@redhat.com>
10878
10879 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
10880 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
10881
6b5c8607 108822018-07-24 Rical Jasan <rj@2c3t.io>
9d0a979e 10883 Adhemerval Zanella <adhemerval.zanella@linaro.org>
0a07288b
AZ
10884 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
10885
10886 [BZ #14092]
9d0a979e
RJ
10887 * manual/debug.texi: Update adjacent chapter name.
10888 * manual/probes.texi: Likewise.
10889 * manual/threads.texi (ISO C Threads): New section.
10890 (POSIX Threads): Convert to a section.
10891
108922018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10893 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
10894
10895 [BZ# 14092]
0a07288b
AZ
10896 * nptl/Makefile (tests): Add new test files.
10897 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
10898 * nptl/tst-cnd-basic.c: Likewise.
10899 * nptl/tst-cnd-broadcast.c: Likewise.
10900 * nptl/tst-cnd-timedwait.c: Likewise.
10901 * nptl/tst-mtx-basic.c: Likewise.
10902 * nptl/tst-mtx-recursive.c: Likewise.
10903 * nptl/tst-mtx-timedlock.c: Likewise.
10904 * nptl/tst-mtx-trylock.c: Likewise.
10905 * nptl/tst-thrd-basic.c: Likewise.
10906 * nptl/tst-thrd-detach.c: Likewise.
10907 * nptl/tst-thrd-sleep.c: Likewise.
10908 * nptl/tst-tss-basic.c: Likewise.
10909
ce7528f6
AZ
109102018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10911
c6dd669b
AZ
10912 [BZ #14092]
10913 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
10914 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
10915 symbols.
10916 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10917 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10918 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10919 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10920 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10921 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10922 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10923 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10924 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10925 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10926 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10927 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10929 Likewise.
10930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10931 Likewise.
10932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
10933 Likewise.
10934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10935 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
10936 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10937 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10938 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10939 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10940 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10941 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10942 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10943 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
10944 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
10945 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
10946 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
10947 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
10948 Likewise.
10949 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
10950 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
10951 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
10952 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
10953 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
10954 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
10955 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
10956 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
10957 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
10958 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
10959 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
10960 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
10961 ikewise.
10962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
10963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10964 Likewise.
10965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10966 Likewise.
10967 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
10968 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
10969 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
10970 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
10971 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
10972 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
10973 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
10974 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
10975
78d40132
AZ
10976 [BZ #14092]
10977 * conform/data/threads.h-data (thread_local): New macro.
10978 (TSS_DTOR_ITERATIONS): Likewise.
10979 (tss_t): New type.
10980 (tss_dtor_t): Likewise.
10981 (tss_create): New function.
10982 (tss_get): Likewise.
10983 (tss_set): Likewise.
10984 (tss_delete): Likewise.
10985 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
10986 tss_get, and tss_set objects.
10987 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
10988 * nptl/tss_create.c: New file.
10989 * nptl/tss_delete.c: Likewise.
10990 * nptl/tss_get.c: Likewise.
10991 * nptl/tss_set.c: Likewise.
10992 * sysdeps/nptl/threads.h (thread_local): New define.
10993 (TSS_DTOR_ITERATIONS): Likewise.
10994 (tss_t): New typedef.
10995 (tss_dtor_t): Likewise.
10996 (tss_create): New prototype.
10997 (tss_get): Likewise.
10998 (tss_set): Likewise.
10999 (tss_delete): Likewise.
11000
918311a3
AZ
11001 [BZ #14092]
11002 * conform/data/threads.h-data (cnd_t): New type.
11003 (cnd_init): New function.
11004 (cnd_signal): Likewise.
11005 (cnd_broadcast): Likewise.
11006 (cnd_wait): Likewise.
11007 (cnd_timedwait): Likewise.
11008 (cnd_destroy): Likewise.
11009 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
11010 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
11011 object.
11012 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
11013 * nptl/cnd_broadcast.c: New file.
11014 * nptl/cnd_destroy.c: Likewise.
11015 * nptl/cnd_init.c: Likewise.
11016 * nptl/cnd_signal.c: Likewise.
11017 * nptl/cnd_timedwait.c: Likewise.
11018 * nptl/cnd_wait.c: Likewise.
11019 * sysdeps/nptl/threads.h (cnd_t): New type.
11020 (cnd_init): New prototype.
11021 (cnd_signa): Likewise.
11022 (cnd_broadcast): Likewise.
11023 (cnd_wait): Likewise.
11024 (cnd_timedwait): Likewise.
11025 (cnd_destroy): Likewise.
11026
3c20a679
AZ
11027 [BZ #14092]
11028 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
11029 (once_flag): New type.
11030 (call_once): New function.
11031 * nptl/Makefile (libpthread-routines): Add call_once object.
11032 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
11033 * nptl/call_once.c: New file.
11034 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
11035 (once_flag): New type.
11036 (call_once): New prototype.
11037
18d59c1b
AZ
11038 [BZ #14092]
11039 * conform/data/threads.h-data (mtx_plain): New constant.
11040 (mtx_recursive): Likewise.
11041 (mtx_timed): Likewise.
11042 (mtx_t): New type.
11043 (mtx_init): New function.
11044 (mtx_lock): Likewise.
11045 (mtx_timedlock): Likewise.
11046 (mtx_trylock): Likewise.
11047 (mtx_unlock): Likewise.
11048 (mtx_destroy): Likewise.
11049 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
11050 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
11051 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
11052 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
11053 * nptl/mtx_destroy.c: New file.
11054 * nptl/mtx_init.c: Likewise.
11055 * nptl/mtx_lock.c: Likewise.
11056 * nptl/mtx_timedlock.c: Likewise.
11057 * nptl/mtx_trylock.c: Likewise.
11058 * nptl/mtx_unlock.c: Likewise.
11059 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
11060 (mtx_recursive): Likewise.
11061 (mtx_timed): Likewise.
11062 (mtx_t): New type.
11063 (mtx_init): New prototype.
11064 (mtx_lock): Likewise.
11065 (mtx_timedlock): Likewise.
11066 (mtx_trylock): Likewise.
11067 (mtx_unlock): Likewise.
11068 (mtx_destroy): Likewise.
11069
ce7528f6
AZ
11070 [BZ #14092]
11071 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
11072 (linknamespace-libs-ISO11): Add libpthread.a.
11073 * conform/data/threads.h-data: New file: add C11 thrd_* types and
11074 functions.
11075 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
11076 * nptl/Makefile (headers): Add threads.h.
11077 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
11078 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
11079 thrd_yield.
11080 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
11081 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
11082 thrd_join, thrd_sleep, and thrd_yield symbols.
11083 * nptl/descr.h (struct pthread): Add c11 field.
11084 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
11085 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
11086 routine with expected function prototype.
11087 (__pthread_create_2_1): Add C11 threads check based on attribute
11088 value.
11089 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
11090 * nptl/thrd_create.c: New file.
11091 * nptl/thrd_current.c: Likewise.
11092 * nptl/thrd_detach.c: Likewise.
11093 * nptl/thrd_equal.c: Likewise.
11094 * nptl/thrd_exit.c: Likewise.
11095 * nptl/thrd_join.c: Likewise.
11096 * nptl/thrd_priv.h: Likewise.
11097 * nptl/thrd_sleep.c: Likewise.
11098 * nptl/thrd_yield.c: Likewise.
11099 * include/threads.h: Likewise.
11100
e27f41ba
L
111012018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11102
11103 * bits/indirect-return.h: New file.
11104 * misc/sys/cdefs.h (__glibc_has_attribute): New.
11105 * sysdeps/x86/bits/indirect-return.h: Likewise.
11106 * stdlib/Makefile (headers): Add bits/indirect-return.h.
11107 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
11108 (swapcontext): Add __INDIRECT_RETURN.
11109 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
11110 (prepare_test_buffer): Use it.
11111
21526a50
AS
111122018-07-24 Andreas Schwab <schwab@suse.de>
11113
11114 [BZ #23448]
11115 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
11116 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
11117
3650e1d9
L
111182018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11119
11120 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
11121 Redefine if shadow stack is enabled.
11122 (SYSCALL_ERROR_LABEL): Likewise.
11123 (__vfork): Pop shadow stack and jump back to to caller directly
11124 when shadow stack is in use.
11125 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
11126 Redefine if shadow stack is enabled.
11127 (SYSCALL_ERROR_LABEL): Likewise.
11128 (__vfork): Pop shadow stack and jump back to to caller directly
11129 when shadow stack is in use.
11130
ca027e0f
L
111312018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11132
11133 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
11134 enabled.
11135 (foo): Likewise.
11136 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
11137 (foo): Likewise.
11138
b99f1c95
JM
111392018-07-20 Joseph Myers <joseph@codesourcery.com>
11140
11141 * scripts/build-many-glibcs.py (Context.checkout): Default
11142 binutils version to 2.31 branch.
11143
c8fabb84
ZL
111442018-07-20 Zong Li <zong@andestech.com>
11145
11146 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
11147 URL of gcc's tarball.
11148
786658a0
FW
111492018-07-20 Florian Weimer <fweimer@redhat.com>
11150
11151 [BZ #23396]
11152 * posix/regcomp.c (build_equiv_class): When comparing weights, do
11153 not compare an extra byte after the end of the weights.
11154
46f2474e
ST
111552018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
11156
11157 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
11158 to 1.
8ba1520e
ST
11159 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
11160 hidden prototypes.
11161 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
11162 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
2d5c41de
ST
11163 * scripts/check-execstack.awk: Consider `xfail' variable containing a
11164 list of libraries whose stack executability is expected.
11165 * elf/Makefile ($(objpfx)check-execstack.out): Pass
11166 $(check-execstack-xfail) to check-execstack.awk through `xfail'
11167 variable.
11168 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
11169 libc.so libpthread.so.
46f2474e 11170
60088242
TS
111712018-07-20 Thomas Schwinge <tschwinge@gnu.org>
11172
11173 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
11174 SOCK_NONBLOCK.
75d5e4a0
TS
11175 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
11176 and SOCK_NONBLOCK.
de195be0
TS
11177 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
11178 implement __pipe2.
11179 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
60088242 11180
1cf4ae7f
LS
111812018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11182
11183 * benchtests/scripts/compare_bench.py (__main__): use the argparse
11184 library to improve command line parsing.
11185 (__main__): make schema file as optional parameter (--schema),
11186 defaulting to benchtests/scripts/benchout.schema.json.
11187 (main): move out of the parsing stuff to __main_  and leave it
11188 only as caller of main comparison functions.
11189
e84bd851
L
111902018-07-19 H.J. Lu <hongjiu.lu@intel.com>
11191
11192 * NEWS: Add a note for Intel CET status.
11193 * manual/install.texi: Likewise.
11194 * INSTALL: Regenerated.
11195
df467d22
QP
111962018-07-18 Quentin PAGÈS <provaires@quentino.fr>
11197
11198 [BZ #23140]
11199 * localedata/locales/oc_FR (mon): Rename to...
11200 (alt_mon): This, then update October (typo fix).
11201 (mon): New content (genitive case, month names preceded by
11202 "de" or "d’").
11203
11204 [BZ #23422]
11205 * localedata/locales/oc_FR (abday): Update all items.
11206 (day): Update Wednesday and Saturday (typo fixes).
11207 (abmon): Update all items, except May.
11208 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
11209 (LC_IDENTIFICATION): Bump the revision number and date.
11210 Keep the "category" entries in alphabetic order.
11211 (LC_ADDRESS): Remove no longer needed comment.
11212 (LC_COLLATE): Use “copy "ca_ES"”.
11213 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
11214 "name_mrs".
11215
5c112f1b
JM
112162018-07-18 Joseph Myers <joseph@codesourcery.com>
11217
11218 * grp/tst_fgetgrent.c: Include <unistd.h>.
11219 (main): Use mkstemp instead of tmpnam.
11220 * io/test-utime.c (main): Likewise.
11221 * posix/annexc.c (macrofile): Change to modifiable array.
11222 (main): Remove macrofile here.
11223 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
11224 macrofile here.
11225 (check_header): Do not remove macrofile here.
11226 * posix/bug-getopt1.c: Include <stdlib.h>.
11227 (do_test): Use mkstemp instead of tmpnam.
11228 * posix/bug-getopt2.c: Include <stdlib.h>.
11229 (do_test): Use mkstemp instead of tmpnam.
11230 * posix/bug-getopt3.c: Include <stdlib.h>.
11231 (do_test): Use mkstemp instead of tmpnam.
11232 * posix/bug-getopt4.c: Include <stdlib.h>.
11233 (do_test): Use mkstemp instead of tmpnam.
11234 * posix/bug-getopt5.c: Include <stdlib.h>.
11235 (do_test): Use mkstemp instead of tmpnam.
11236 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
11237 (main): Use mkstemp instead of tmpnam.
11238 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
11239 (main): Use mkstemp instead of tmpnam.
11240 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
11241 (main): use mkstemp instead of tmpnam.
11242 * stdlib/isomac.c (macrofile): Change to modifiable array.
11243 (main): Remove macrofile here.
11244 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
11245 macrofile here.
11246 (check_header): Do not remove macrofile here.
11247
6d90776d
L
112482018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11249
11250 * manual/tunables.texi: Document glibc.tune.x86_ibt and
11251 glibc.tune.x86_shstk.
11252
e6c69509
L
112532018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11254
11255 * NEWS: Mention --enable-cet.
11256 * manual/install.texi: Document --enable-cet.
11257 * INSTALL: Regenerated.
11258
e2d40a88
L
112592018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11260
11261 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
11262 Add _CET_NOTRACK before indirect jump to jump table.
11263
77a8ae09
L
112642018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11265
11266 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
11267 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11268 to jump table.
11269
90d15dc5
L
112702018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11271
11272 * sysdeps/i386/i686/multiarch/strcat-sse2.S
11273 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11274 to jump table.
11275
f1574581
L
112762018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11277
11278 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
11279 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11280 to jump table.
11281
7fb61336
L
112822018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11283
11284 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
11285 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11286 to jump table.
11287
0a899af0
L
112882018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11289
11290 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
11291 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11292 to jump table.
11293 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
11294
177824e2
L
112952018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11296
11297 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
11298 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11299 to jump table.
11300
00e7b76a
L
113012018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11302
11303 * sysdeps/i386/i686/multiarch/memset-sse2.S
11304 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11305 to jump table.
11306
7e119cd5
L
113072018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11308
11309 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
11310 indirect jump to jump table.
11311
03aaf49b
L
113122018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11313
11314 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
11315 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11316 to jump table.
11317 (MEMCPY): Likewise.
11318
811e9e52
L
113192018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11320
11321 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
11322 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11323 to jump table.
11324 (MEMCPY): Likewise.
11325
8817df42
L
113262018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11327
11328 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
11329 _CET_NOTRACK before indirect jump to jump table.
11330
921595d1
L
113312018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11332
11333 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
11334 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11335 to jump table.
11336
4ef60d95
L
113372018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11338
11339 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
11340 indirect jump to jump table.
11341
61c4aad7
VT
113422018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
11343
11344 [BZ #22241]
11345 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
11346 (LOCALES): Likewise.
11347 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
11348 * localedata/locales/sah_RU: New file.
11349 * localedata/sah_RU.UTF-8.in: New file.
11350
be9ccd27
L
113512018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11352
11353 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
11354 "sysdep.h".
11355 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
11356 _CET_ENDBR to indirect jump targets and adjust jump destination
11357 for _CET_ENDBR.
11358 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
11359 "sysdep.h".
11360 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
11361 _CET_ENDBR to indirect jump targets and adjust jump destination
11362 for _CET_ENDBR.
11363 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
11364 "sysdep.h".
11365 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
11366 _CET_ENDBR to indirect jump targets and adjust jump destination
11367 for _CET_ENDBR.
11368
5efc6777
L
113692018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11370
11371 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
11372 _CET_ENDBR.
11373
562837c0
L
113742018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11375
11376 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
11377 _CET_ENDBR.
11378 (_dl_tlsdesc_undefweak): Likewise.
11379 (_dl_tlsdesc_dynamic): Likewise.
11380 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
11381 (_dl_tlsdesc_resolve_rel): Likewise.
11382 (_dl_tlsdesc_resolve_rela): Likewise.
11383 (_dl_tlsdesc_resolve_hold): Likewise.
11384 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
11385 (_dl_tlsdesc_undefweak): Likewise.
11386 (_dl_tlsdesc_dynamic): Likewise.
11387 (_dl_tlsdesc_resolve_rela): Likewise.
11388 (_dl_tlsdesc_resolve_hold): Likewise.
11389
124bcde6
L
113902018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11391
11392 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
11393 (_fini): Likewise.
11394 * sysdeps/x86_64/crti.S (_init): Likewise.
11395 (_fini): Likewise.
11396
9145f033
RL
113972018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
11398
11399 [BZ #23140]
11400 * localedata/locales/os_RU (mon): Rename to...
11401 (alt_mon): This.
11402 (mon): Import from CLDR (genitive case).
11403
ba2ea23d
L
114042018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11405
11406 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
11407 cet-tunables.h> when CET is enabled.
11408
f753fa7d
L
114092018-07-16 H.J. Lu <hongjiu.lu@intel.com>
11410
6b5c8607 11411 [BZ #21598]
f753fa7d
L
11412 * configure.ac: Add --enable-cet.
11413 * configure: Regenerated.
11414 * elf/Makefille (all-built-dso): Add a comment.
11415 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
11416 Include <dl-prop.h>.
11417 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
11418 segment.
11419 * elf/dl-open.c: Include <dl-prop.h>.
11420 (dl_open_worker): Call _dl_open_check.
11421 * elf/rtld.c: Include <dl-prop.h>.
11422 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
11423 _rtld_main_check.
11424 * sysdeps/generic/dl-prop.h: New file.
11425 * sysdeps/i386/dl-cet.c: Likewise.
11426 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
11427 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
11428 * sysdeps/x86/cet-tunables.h: Likewise.
11429 * sysdeps/x86/check-cet.awk: Likewise.
11430 * sysdeps/x86/configure: Likewise.
11431 * sysdeps/x86/configure.ac: Likewise.
11432 * sysdeps/x86/dl-cet.c: Likewise.
11433 * sysdeps/x86/dl-procruntime.c: Likewise.
11434 * sysdeps/x86/dl-prop.h: Likewise.
11435 * sysdeps/x86/libc-start.h: Likewise.
11436 * sysdeps/x86/link_map.h: Likewise.
11437 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
11438 _CET_ENDBR.
11439 (_dl_runtime_profile): Likewise.
11440 (_dl_runtime_resolve_shstk): New.
11441 (_dl_runtime_profile_shstk): Likewise.
11442 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
11443 if CET is enabled.
11444 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
11445 (CFLAGS-.os): Likewise.
11446 (CFLAGS-.op): Likewise.
11447 (CFLAGS-.oS): Likewise.
11448 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
11449 is enabled.
11450 (tests-special): Add $(objpfx)check-cet.out.
11451 (cet-built-dso): New.
11452 (+$(cet-built-dso:=.note)): Likewise.
11453 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
11454 ($(objpfx)check-cet.out): New.
11455 (generated): Add check-cet.out.
11456 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
11457 <cet-tunables.h>.
11458 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
11459 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
11460 (init_cpu_features): Call get_cet_status to check CET status
11461 and update dl_x86_feature_1 with CET status. Call
11462 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
11463 (set_x86_shstk). Disable and lock CET in libc.a.
11464 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
11465 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
11466 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
11467 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
11468 (_CET_ENDBR): Define if not defined.
11469 (ENTRY): Add _CET_ENDBR.
11470 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
11471 x86_shstk.
11472 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
11473 _CET_ENDBR.
11474 (_dl_runtime_profile): Likewise.
11475
52b2a80f
RA
114762018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
11477
11478 [BZ #21895]
11479 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
11480 restore r2 on longjmp.
11481 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
11482 test list.
11483 Added rules to build test tst-setjmp-bug21895-static.
11484 Added module setjmp-bug21895 and rules to build a shared object from it.
11485 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
11486 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
11487
3ae725df
WD
114882018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
11489
11490 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
11491 * benchtests/bench-strstr.c: Likewise.
11492 * string/memmem.c (FASTSEARCH): Define.
11493 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
11494 Add support for FASTSEARCH.
11495 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
11496 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
11497 (FASTSEARCH): Define.
11498 * string/test-strcasestr.c: Rename __strnlen to strnlen.
11499 * string/test-strstr.c: Likewise.
11500
31e422ca
L
115012018-07-15 H.J. Lu <hongjiu.lu@intel.com>
11502
11503 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
11504 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
11505
faaee1f0
L
115062018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
11507 H.J. Lu <hongjiu.lu@intel.com>
11508
11509 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
11510 (__longjmp): Restore shadow stack pointer if shadow stack is
11511 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
11512 isn't defined for __longjmp_cancel.
11513 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
11514 (_setjmp): Save shadow stack pointer if shadow stack is enabled
11515 and SHADOW_STACK_POINTER_OFFSET is defined.
11516 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
11517 (setjmp): Save shadow stack pointer if shadow stack is enabled
11518 and SHADOW_STACK_POINTER_OFFSET is defined.
11519 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
11520 (__sigsetjmp): Save shadow stack pointer if shadow stack is
11521 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11522 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
11523 <jmp_buf-ssp.h>.
11524 (____longjmp_chk): Restore shadow stack pointer if shadow stack
11525 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11526 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
11527 Remove jmp_buf-ssp.sym.
11528 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
11529 <jmp_buf-ssp.h>.
11530 (____longjmp_chk): Restore shadow stack pointer if shadow stack
11531 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11532 * sysdeps/x86/Makefile (gen-as-const-headers): Add
11533 jmp_buf-ssp.sym.
11534 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
11535 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
11536 (__longjmp): Restore shadow stack pointer if shadow stack is
11537 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
11538 isn't defined for __longjmp_cancel.
11539 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
11540 (__sigsetjmp): Save shadow stack pointer if shadow stack is
11541 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11542
ebff9c5c
L
115432018-07-14 H.J. Lu <hongjiu.lu@intel.com>
11544
11545 [BZ #22563]
11546 * nptl/pthread_create.c: Include <tls-setup.h>.
11547 (__pthread_create_2_1): Call tls_setup_tcbhead.
11548 * sysdeps/generic/tls-setup.h: New file.
11549 * sysdeps/x86/nptl/tls-setup.h: Likewise.
11550 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
11551 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
11552 Likewise.
11553 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
11554 to feature_1.
11555 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
11556 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
11557 (X86_FEATURE_1_SHSTK): Likewise.
11558 (CET_ENABLED): Likewise.
11559 (IBT_ENABLED): Likewise.
11560 (SHSTK_ENABLED): Likewise.
11561
0a83bad2
RL
115622018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
11563
11564 [BZ #23208]
11565 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
11566 (LOCALES): Likewise.
11567 * localedata/dsb_DE.UTF-8.in: New file.
11568 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
11569
046bfed9
FW
115702018-07-12 Florian Weimer <fweimer@redhat.com>
11571
11572 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
11573 __mprotect, not mprotect.
11574
93304f5f
FW
115752018-07-11 Florian Weimer <fweimer@redhat.com>
11576
11577 * io/Makefile (headers): Add bits/statx.h.
11578
4beefeeb
MF
115792018-07-10 Mike FABIAN <mfabian@redhat.com>
11580
11581 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
11582 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
11583 and headers.
11584 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
11585 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
11586 for utf8_gen.py
11587
fd70af45
FW
115882018-07-10 Florian Weimer <fweimer@redhat.com>
11589
11590 * io/Makefile (routines): Add statx.
11591 (tests-internal): Add tst-statx.
11592 * io/Versions (GLIBC_2.28): Export statx.
11593 * io/bits/statx.h: New file.
11594 * io/sys/stat.h [__USE_GNU]: Include it.
11595 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
11596 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
11597 Define.
11598 * io/statx.c: New file.
11599 * io/statx_generic.: Likewise.
11600 * io/tst-statx.: Likewise.
11601 * include/bits/statx.h: Likewise.
11602 * sysdeps/unix/sysv/linux/kernel-features.h
11603 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
11604 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11605 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
11606 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
11607 Undefine.
11608 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11609 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
11610 * sysdeps/unix/sysv/linux/statx.c: New file.
11611 * manual/filesys.texi: Note that statx is undocumented.
11612 * sysdeps/**/libc*.abilist: Update.
11613
b444e8f7
AZ
116142018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11615
11616 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
11617 a kernel issue which lead to test failure in some cases.
11618
7b2f4ced
FW
116192018-07-10 Florian Weimer <fweimer@redhat.com>
11620
11621 [BZ #23036]
11622 * posix/regexec.c (check_node_accept_bytes): When comparing
11623 weights, do not compare an extra byte after the end of the
11624 weights.
11625
4fa34da6
FW
116262018-07-10 Florian Weimer <fweimer@redhat.com>
11627
11628 * libio/readline.c: Fix copyright year.
11629 * libio/tst-readline.c Likewise.
11630 * nss/tst-nss-files-hosts-getent.c: Likewise.
11631
916124ed
FW
116322018-07-06 Florian Weimer <fweimer@redhat.com>
11633
11634 [BZ #18991]
11635 * nss/nss_files/files-XXX.c (internal_getent): Use
11636 __libc_readline_unlocked. Seek back to the start of the line if
11637 parsing failes with ERANGE.
11638 (get_contents_ret, get_contents): Remove.
11639 * nss/tst-nss-files-hosts-getent.c: New file.
11640 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
11641 (tst-nss-files-hosts-getent): Link with -ldl.
11642
3f5e3f5d
FW
116432018-07-06 Florian Weimer <fweimer@redhat.com>
11644
11645 * include/stdio.h (__libc_readline_unlocked): Declare.
11646 (__ftello64, __fseeko64): Declare aliases.
11647 * libio/readline.c: New file.
11648 * libio/tst-readline.c: Likewise.
11649 (routines): Add readline.
11650 (tests-internal): Add tst-readlime.
11651 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
11652 __libc_readline_unlocked.
11653 * libio/fseeko.c (__fseeko): Rename from fseeko.
11654 (fseeko): Add alias.
11655 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
11656 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
11657 (fseeko64): Add alias.
11658 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
11659 * libio/ftello64.c (__ftello64): Rename from ftello64.
11660 (ftello64): Add alias.
11661
397c54c1
SN
116622018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
11663
11664 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
11665 HWCAP_ATOMICS.
11666
d0cd7980
SN
116672018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
11668
11669 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
11670 Use dl_hwcap without masking.
11671 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
11672 Remove HWCAP_CPUID.
11673
ddb3c626
FW
116742018-07-06 Florian Weimer <fweimer@redhat.com>
11675
11676 * conform/conformtest.pl (checknamespace): Escape literal braces
11677 in regular expressions.
11678
bce5911b
AP
116792018-07-06 Amit Pawar <amit.pawar@amd.com>
11680
11681 * sysdeps/x86/cpu-features.c (get_common_indeces):
11682 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
11683 * sysdeps/x86/cpu-features.c (init_cpu_features):
11684 AVX_Fast_Unaligned_Load is disabled for Excavator core.
11685
3a885c1f
FW
116862018-07-05 Florian Weimer <fweimer@redhat.com>
11687
11688 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
11689 protector.
11690 (CFLAGS-elf-init.oS): Likewise.
11691
38cade0c
FW
116922018-07-05 Florian Weimer <fweimer@redhat.com>
11693 Carlos O'Donell <carlos@redhat.com>
11694
11695 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
11696 $(no-stack-protector). stack_chk_fail_local.c can be compiled
11697 with stack protector enabled because there is no risk of infinite
11698 recursion.
11699
9449a295
MR
117002018-07-05 Maciej W. Rozycki <macro@mips.com>
11701
11702 [BZ #19818]
11703 [BZ #23307]
11704 * libc-abis (ABSOLUTE): New ABI.
11705 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
11706 * NEWS: Mention the new ABI.
11707
d6da5cb6
FW
117082018-07-05 Florian Weimer <fweimer@redhat.com>
11709
11710 [BZ # 17662]
11711 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
11712 (RENAME_WHITEOUT): Define.
11713 [__USE_GNU] (renameat2): Declare.
11714 * stdio-common/Makefile (routines): Add renameat2.
11715 (tests): Add tst-renameat2.
11716 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
11717 * stdio-common/renameat2.c: New file.
11718 * stdio-common/tst-renameat2.c: Likewise.
11719 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
11720 * manual/filesys.texi (Temporary Files): Note that renameat2 is
11721 undocumented.
11722 * sysdeps/unix/sysv/linux/kernel-features.h
11723 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
11724 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11725 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
11726 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11727 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
11728 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11729 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
11730 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11731 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
11732 * include/stdio.h (__renameat): Add alias for renameat.
11733 * stdio-common/renameat.c (__renameat): Rename from renameat.
11734 Add hidden definition and alias.
11735 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
11736 * sysdeps/mach/hurd/renameat.c: Likewise.
11737 * sysdeps/**/libc*.abilist: Add renameat2.
11738
1002d708
AZ
117392018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11740
11741 * posix/bug-regex33.c: Fix build after regex sync.
11742
34fdb893
CD
117432018-07-04 Carlos O'Donell <carlos@redhat.com>
11744
11745 [BZ #23164]
11746 * localedata/tst-langinfo-setlocale.c: New file.
11747 * localedata/tst-langinfo-setlocale-static.c: New file.
11748 * localedata/tst-langinfo-newlocale.c: New file.
11749 * localedata/tst-langinfo-newlocale-static.c: New file.
11750 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
11751 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
11752 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
11753 (tests-static): Remove tst-langinfo-static. Add
11754 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
11755 (tests-special): Remove $(objpfx)tst-langinfo.out,
11756 $(objpfx)tst-langinfo-static.out. Add
11757 $(objpfx)tst-langinfo-setlocale.out,
11758 $(objpfx)tst-langinfo-newlocale.out,
11759 $(objpfx)tst-langinfo-setlocale-static.out,
11760 $(objpfx)tst-langinfo-newlocale-static.out.
11761 ($(objpfx)tst-langinfo.out): Remove.
11762 ($(objpfx)tst-langinfo-static.out): Remove.
11763 ($(objpfx)tst-langinfo-newlocale.out): New target.
11764 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
11765 (test-xfail-tst-langinfo-newlocale-static): Add.
11766 ($(objpfx)tst-langinfo-setlocale.out): New target.
11767 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
11768 * localedata/tst-langinfo.c: Call test_locale.
11769 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
11770 data.
11771
f2873d2d
FW
117722018-07-04 Florian Weimer <fweimer@redhat.com>
11773
11774 testrun.sh: Implement --tool=strace, --tool=valgrind
11775 * Makefile (testrun-script): Define variable.
11776 (testrun.sh): Use variable.
11777 * manual/install.texi (Tools for Compilation): make 4.0 or later
11778 is required.
11779 * configure.ac: Check for make 4.0 or later.
11780 * INSTALL: Regenerate.
11781 * configure: Likewise.
11782
eb04c213
AZ
117832018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11784
11785 [BZ #23233]
11786 [BZ #21163]
11787 [BZ #18986]
11788 [BZ #13762]
11789 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
11790 * posix/PCRE.tests: Remove invalid test.
11791 * posix/bug-regex28.c: Fix expected values for used syntax.
11792 * posix/bug-regex37.c: New file.
11793 * posix/bug-regex38.c: Likewise.
11794 * posix/regcomp.c: Sync with gnulib.
11795 * posix/regex.c: Likewise.
11796 * posix/regex.h: Likewise.
11797 * posix/regex_internal.c: Likewise.
11798 * posix/regex_internal.h: Likewise.
11799 * posix/regexec.c: Likewise.
11800
b11643c2
MF
118012018-06-26 Mike FABIAN <mfabian@redhat.com>
11802
11803 [BZ #23308]
11804 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
11805 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
11806 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
11807 * localedata/unicode-gen/PropList.txt: likewise.
11808 * localedata/unicode-gen/UnicodeData.txt: likewise.
11809 * localedata/charmaps/UTF-8: Regenerate.
11810 * localedata/locales/i18n_ctype: likewise.
11811 * localedata/locales/tr_TR: likewise.
11812 * localedata/locales/translit_circle: likewise.
11813 * localedata/locales/translit_cjk_compat: likewise.
11814 * localedata/locales/translit_combining: likewise.
11815 * localedata/locales/translit_compat: likewise.
11816 * localedata/locales/translit_font: likewise.
11817 * localedata/locales/translit_fraction: likewise.
11818
5a357506
FW
118192018-07-03 Florian Weimer <fweimer@redhat.com>
11820
11821 [BZ #23363]
11822 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
11823 * stdio-common/tst-printf.sh: Adjust expected output.
11824 * LICENSES: Update.
11825
7279af00
AZ
118262018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11827
11828 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
11829 symbol.
11830
b7b88cea
GG
118312018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11832
11833 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
11834 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
11835 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
11836 * stdio-common/tst-printfsz-islongdouble.c: New file.
11837 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
11838 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
11839 [subdir == stdio-common] (routines): Add ieee128-printf_size.
11840 [subdir == stdio-common] (tests-internal): Add
11841 test-printf-size-ieee128, and test-printf-size-ibm128.
11842 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
11843 (CFLAGS-test-printf-size-ibm128.c): New variables.
11844 [subdir == stdio-common] (tests-special): Add
11845 $(objpfx)test-printf-size-ieee128.out and
11846 $(objpfx)test-printf-size-ibm128.out.
11847 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
11848 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
11849 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
11850 __printf_sizeieee128.
11851 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
11852 New file.
11853 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
11854 Likewise.
11855 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
11856 Likewise.
11857
2b445206
SN
118582018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
11859
11860 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
11861 (exp2f_inline): Likewise.
11862 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
11863 (__math_uflowf): Likewise.
11864 (__math_may_uflowf): Likewise.
11865 (__math_divzerof): Likewise.
11866 (__math_invalidf): Likewise.
11867 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
11868 (__math_oflowf): Likewise.
11869 (__math_uflowf): Likewise.
11870 (__math_may_uflowf): Likewise.
11871 (__math_divzerof): Likewise.
11872 (__math_invalidf): Likewise.
11873
2827ab99
CD
118742018-06-29 DJ Delorie <dj@redhat.com>
11875 Carlos O'Donell <carlos@redhat.com>
11876
11877 [BZ #23329]
11878 * include/libc-symbols.h: Comment the freeres framework.
11879 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
11880 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
11881 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
11882 * dlfcn/dlerror.c: Include libc-symbols.h
11883 (__dlerror_main_freeres): New function.
11884 * dlfcn/dlfreeres.c: New file.
11885 * dlfcn/sdlfreeres.c: New file.
11886 * include/dlfcn.h: Declare __dlerror_main_freeres.
11887 * malloc/set-freeres.c: Declare __libdl_freeres, and
11888 __libpthread_freeres.
11889 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
11890 the releavant libraries are loaded.
11891 * malloc/thread-freeres.c: Add comments.
11892 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
11893 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
11894 * nptl/allocatestack.c (__nptl_free_stacks): New function.
11895 (__free_stacks): Rename to...
11896 (free_stacks): ...this. Mark static.
11897 (queue_stack): Call free_stacks.
11898 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
11899 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
11900 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
11901 ptr_freeres element from struct.
11902 (pthread_functions): Remove .ptr_freeres from struct initializer.
11903 [SHARED] (nptl_freeres): Remove.
11904 * nptl/nptlfreeres.c: New file.
11905 * nptl/pthreadP.h
11906 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
11907 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
11908 attribute_hidden.
11909 (__free_stacks): Rename to...
11910 (__nptl_stacks_freeres): ...this.
11911 (__shm_directory_freeres): Declare.
11912 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
11913 (__nptl_unwind_freeres): ...this.
11914 * resolv/res-close.c: Add comment.
11915 * resolv/resolv_conf.c: Include libc-symbols.h.
11916 * string/strerror_l.c: Include libc-symbols.h.
11917 * sunrpc/rpc_thread.c: Include libc-symbols.h.
11918 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
11919 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
11920 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
11921
37d3d244
RS
119222018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11923
11924 * stdlib/tst-strfmon_l.c: Add tests for long double.
11925
a1e0c5fa
MW
119262018-06-29 Michael Wolf <milupo@sorbzilla.de>
11927
11928 [BZ #23208]
11929 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
11930 * localedata/locales/dsb_DE: New file.
11931
2e0c5de6
RL
119322018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
11933
11934 [BZ #23140]
11935 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
11936 genitive case).
11937 (alt_mon): New entry, import from CLDR (nominative case).
11938
cdb52c71
SL
119392018-06-29 Sylvain Lesage <severo@rednegra.net>
11940
11941 [BZ #22996]
11942 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
11943
ce76a5cb
SP
119442018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
11945
0aec4c1d
SP
11946 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
11947 Use vector registers.
11948
ce76a5cb
SP
11949 * sysdeps/aarch64/multiarch/memmove_falkor.S
11950 (__memcpy_falkor): Use vector registers.
11951
7e8989d0
MS
119522018-06-29 Martin Sebor <msebor@redhat.com>
11953
11954 * manual/stdio.texi (Customizing Printf): Mention interaction
11955 with GCC built-ins.
11956
bac15a72
MR
119572018-06-29 Maciej W. Rozycki <macro@mips.com>
11958
11959 [BZ #23307]
11960 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
11961 `st_value' is 0 if `st_shndx' is SHN_ABS.
11962 * elf/tst-absolute-zero.c: New file.
11963 * elf/tst-absolute-zero-lib.c: New file.
11964 * elf/tst-absolute-zero-lib.lds: New file.
11965 * elf/Makefile (tests): Add `tst-absolute-zero'.
11966 (modules-names): Add `tst-absolute-zero-lib'.
11967 (LDLIBS-tst-absolute-zero-lib.so): New variable.
11968 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
11969 ($(objpfx)tst-absolute-zero: New dependency.
11970
e69d994a
ZW
119712018-06-29 Zack Weinberg <zackw@panix.com>
11972
11973 * configure.ac: New command-line option --disable-crypt.
11974 Force --disable-nss-crypt when --disable-crypt is given, with a
11975 warning if it was explicitly enabled.
11976 * configure: Regenerate.
11977 * config.make.in: New boolean substitution variable $(build-crypt).
11978 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
11979 when $(build-crypt).
11980 * manual/install.texi: Document --disable-crypt.
11981 * INSTALL: Regenerate.
11982
11983 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
11984 which is never set.
11985 * conform/Makefile: Only include libcrypt.a in
11986 linknamespace-libs-xsi and linknamespace-libs-XPG4
11987 when $(build-crypt).
11988 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
11989 USE_CRYPT to 1 when $(build-crypt).
11990 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
11991 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
11992 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
11993
841785ba
ZW
119942018-06-29 Zack Weinberg <zackw@panix.com>
11995
11996 * crypt/crypt.h, posix/unistd.h: Update comments and
11997 prototypes for crypt and crypt_r.
11998
11999 * manual/crypt.texi (Cryptographic Functions): New initial
12000 exposition.
12001 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
12002 (Unpredictable Bytes): Improve initial exposition. Clarify error
12003 behavior of getentropy and getrandom.
12004 * manual/examples/genpass.c: Generate a salt using getentropy
12005 instead of the current time. Use hash $5$ (SHA-2-256).
12006 * manual/examples/testpass.c: Demonstrate validation against
12007 hashes generated with three different one-way functions.
12008
12009 * manual/intro.texi: crypt.texi does not need an overview
12010 anymore.
12011
12012 * manual/nss.texi, manual/memory.texi, manual/socket.texi
12013 * manual/terminal.texi: Consistently refer to "passphrases"
12014 * instead of "passwords", and to the "user database" instead
12015 * of the "password database".
12016 * manual/users.texi: Similarly. Add notes about how actual
12017 passphrase hashes are now stored in the shadow database.
12018 Remove 20-year-old junk todo note.
12019
6ab902e4
ZW
120202018-06-29 Zack Weinberg <zackw@panix.com>
12021
12022 * manual/crypt.texi: Use a normal top-level @node declaration.
12023 Move most of the introductory text to the 'crypt' section.
12024 Move the example programs below the @deftypefun for 'crypt_r'.
12025 Move the 'getpass' section...
12026 * manual/terminal.texi: ...here.
12027
b10a0acc
ZW
120282018-06-29 Zack Weinberg <zackw@panix.com>
12029 Florian Weimer <fweimer@redhat.com>
12030
12031 * posix/unistd.h: Do not declare encrypt.
12032 (_XOPEN_CRYPT): Remove macro definition.
12033 (crypt): Declare only for _USE_MISC.
12034 * stdlib/stdlib.h: Do not declare setkey.
12035 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
12036 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
12037
12038 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
12039 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
12040 into compat symbols. Don't define initial_perm if it's not
12041 going to be used.
12042 * crypt/cert.c: Link explicitly with the expected versions for
12043 setkey and encrypt. If they are not available at all, mark
12044 the test as unsupported.
12045
12046 * sunrpc/des_crypt.c: Unconditionally block linkage with
12047 cbc_crypt and ecb_crypt for new binaries.
12048 * sunrpc/des_soft.c: Unconditionally block linkage with
12049 des_setparity for new binaries.
12050
12051 * manual/crypt.texi: Remove the entire "DES Encryption"
12052 section. Also remove the paragraph talking about FIPS 140-2
12053 from the introduction.
12054 * manual/string.texi (strfry, memfrob): Revise. Recommend use
12055 of libgcrypt for "real" encryption, not DES.
12056 * manual/conf.texi (Constants for Sysconf): Mention that
12057 _XOPEN_CRYPT is no longer impelemented.
12058
12059 * conform/data/unistd.h-data: Remove crypt function declaration.
12060
524d796d
FW
120612018-06-29 Florian Weimer <fweimer@redhat.com>
12062
12063 [BZ #23351]
12064 * malloc/hooks.c: Update comments on restoring of dumped heaps.
12065 (disallow_malloc_check): Remove variable.
12066 (__malloc_check_init): Adjust.
12067 (malloc_set_state): Update comment.
12068 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
12069 declarations.
12070
339124ab
RL
120712018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
12072
12073 [BZ #23140]
12074 * localedata/locales/ast_ES (mon): Rename to...
12075 (alt_mon): This.
12076 (mon): Import from CLDR (genitive case).
12077
c1f86a33
DA
120782018-06-29 Daniel Alvarez <dalvarez@redhat.com>
12079 Jakub Sitnicki <jkbs@redhat.com>
12080
12081 [BZ #21812]
12082 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
12083 on NLM_F_DUMP_INTR.
12084
0b11b649
SN
120852018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
12086
12087 * manual/llio.texi: Remove spurious space.
12088
c1c2848b
FW
120892018-06-28 Florian Weimer <fweimer@redhat.com>
12090
12091 [BZ #23349]
12092 * time/bits/types/struct_timespec.h: Change header inclusion guard to
12093 _STRUCT_TIMESPEC.
12094
86a0f561
RS
120952018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12096
12097 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
6b5c8607 12098 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
86a0f561
RS
12099 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
12100 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
12101 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
12102 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
12103 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
12104
780684eb
MR
121052018-06-27 Maciej W. Rozycki <macro@mips.com>
12106
12107 [BZ #23266]
12108 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
12109 Copy and null-terminate entries that are not terminated, in
12110 addition to empty ones.
12111
c49e1822
FW
121122018-06-27 Florian Weimer <fweimer@redhat.com>
12113
12114 [BZ #18023]
b39d961c
TS
12115 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
12116 (extend_alloca_account): Remove.
c49e1822
FW
12117 * manual/stdio.texi (Variable Arguments Output): Update comment.
12118
a833e627
JM
121192018-06-27 Joseph Myers <joseph@codesourcery.com>
12120
12121 * nptl/sockperf.c: Remove file.
12122
92d6aa85
FW
121232018-06-27 Florian Weimer <fweimer@redhat.com>
12124
12125 [BZ #18023]
12126 * elf/dl-deps.c (_dl_map_object_deps): Use struct
12127 scratch_buffer instead of extend_alloca.
12128
890c2ced
FW
121292018-06-27 Florian Weimer <fweimer@redhat.com>
12130
12131 [BZ #18023]
12132 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
12133 scratch_buffer instead of extend_alloca. Update comments.
12134
4272059d
FW
121352018-06-27 Florian Weimer <fweimer@redhat.com>
12136
12137 [BZ #18023]
12138 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
12139 instead of extend_alloca.
12140
27f10a09
JM
121412018-06-26 Joseph Myers <joseph@codesourcery.com>
12142
12143 [BZ #13888]
12144 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
12145 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
12146 /tmp.
12147 * scripts/test-installation.pl: Put temporary files in build
12148 directory, not /tmp.
12149 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
12150 (CFLAGS-bug4.c): Likewise.
12151 (CFLAGS-bug5.c): Likewise.
12152 (CFLAGS-test-fseek.c): Likewise.
12153 (CFLAGS-test-popen.c): Likewise.
12154 (CFLAGS-test_rdwr.c): Likewise.
12155 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
12156 /tmp.
12157 * stdio-common/bug4.c (main): Likewise.
12158 * stdio-common/bug5.c (main): Likewise.
12159 * stdio-common/test-fseek.c (TESTFILE): Likewise.
12160 * stdio-common/test-popen.c (do_test): Likewise.
12161 * stdio-common/test_rdwr.c (main): Likewise.
12162
05598a09
PF
121632018-06-26 Patsy Franklin <pfrankli@redhat.com>
12164
12165 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
12166 (sem_open): Set sem.newsem.pad to zero for valgrind.
12167
06ab719d
AZ
121682018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12169
12170 [BZ #20251]
12171 * NEWS: Mention fcntl64 addition.
12172 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
12173 * login/utmp_file.c: Likewise.
12174 * sysdeps/posix/fdopendir.c: Likewise.
12175 * sysdeps/posix/opendir.c: Likewise.
12176 * sysdeps/unix/pt-fcntl.c: Likewise.
12177 * include/fcntl.h (__libc_fcntl64, __fcntl64,
12178 __fcntl64_nocancel_adjusted): New prototype.
12179 (__fcntl_nocancel_adjusted): Remove prototype.
12180 * io/Makefile (routines): Add fcntl64.
12181 (CFLAGS-fcntl64.c): New rule.
12182 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
12183 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
12184 * io/fcntl.h (fcntl64): Add prototype and redirect if
12185 __USE_FILE_OFFSET64 is defined.
12186 * io/fcntl64.c: New file.
12187 * manual/llio.text: Add a note for which commands fcntl acts a
12188 cancellation point.
12189 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
12190 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
12191 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
12192 New symbols.
12193 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
12194 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
12195 non-LFS case.
12196 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
12197 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
12198 to __fcntl64_nocancel.
12199 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
12200 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
12201 to __fcntl64_nocancel.
12202 * sysdeps/generic/not-cancel.h: Likewise.
12203 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
12204 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
12205 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
12206 (fcntl64): New symbol.
12207 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12208 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12209 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12212 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12213 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12214 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12215 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12216 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12217 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
12218 fcntl64): Likewise.
12219 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12220 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
12221 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12222 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12223 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12224 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12225 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12226 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12227 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12229 Likewise.
12230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12231 Likewise.
12232 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12233 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12234 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12235
124e0258
FW
122362018-06-26 Florian Weimer <fweimer@redhat.com>
12237
12238 Run thread shutdown functions in an explicit order.
12239 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
12240 definition.
12241 (__libc_thread_freeres): Call thread shutdown functions
12242 explicitly.
12243 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
12244 * include/string.h (__strerror_thread_freeres): Declare.
12245 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
12246 arena_thread_freeres. No longer static. Remove thread shutdown
12247 hook registration.
12248 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
12249 Declare.
12250 * resolv/res-close.c (__res_thread_freeres): Renamed from
12251 res_thread_freeres. No longer static. Remove thread shutdown
12252 hook registration.
12253 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
12254 * resolv/resolv_conf.c (freeres): Remove incorrect section
12255 attribute and use libc_freeres_fn.
12256 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
12257 strerror_thread_freeres. No longer static. Remove thread
12258 shutdown hook registration.
12259 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
12260 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
12261 shutdown hook registration.
12262 * Makerules (shlib.lds): Do not provide section boundary symbols
12263 for __libc_thread_subfreeres.
12264 * manual/memory.texi (Basic Allocation): Update comment.
12265
935d920e
FW
122662018-06-26 Florian Weimer <fweimer@redhat.com>
12267
12268 Remove always-defined _RPC_THREAD_SAFE_ macro.
12269 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
12270 Do not define _RPC_THREAD_SAFE_.
12271 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
12272 conditional.
12273 * sunrpc/clnt_perr.c: Likewise.
12274 * sunrpc/clnt_raw.c: Likewise.
12275 * sunrpc/clnt_simp.c: Likewise.
12276 * sunrpc/key_call.c: Likewise.
12277 * sunrpc/rpc_common.c: Likewise.
12278 * sunrpc/rpc_main.c: Likewise.
12279 * sunrpc/rpc_thread.c: Likewise.
12280 * sunrpc/svc.c: Likewise.
12281 * sunrpc/svc_raw.c: Likewise.
12282 * sunrpc/svc_simple.c: Likewise.
12283 * sumrpc/svcauth_des.c: Likewise.
12284
29055464
FW
122852018-06-26 Florian Weimer <fweimer@redhat.com>
12286
12287 * libio/Makefile (tests-internal): Add tst-vtables,
12288 tst-vtables-interposed.
12289 * libio/tst-vtables.c: New file.
12290 * libio/tst-vtables-common.c: Likewise.
12291 * libio/tst-vtables-interposed.c: Likewise.
12292
5c0202af
FW
122932018-06-26 Florian Weimer <fweimer@redhat.com>
12294
12295 * support/support_test_main.c (support_test_main): Only call
12296 setvbuf if not disables.
12297 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
12298 * support/test-driver.h (struct test_config): Add no_setvbuf member.
12299
c402355d
FW
123002018-06-26 Florian Weimer <fweimer@redhat.com>
12301
12302 [BZ #23313]
12303 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
12304
43b1048a
FW
123052018-06-25 Florian Weimer <fweimer@redhat.com>
12306
12307 [BZ #18023]
12308 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12309 Use struct scratch_buffer instead of extend_alloca.
12310
1599ed4e
FW
123112018-06-25 Florian Weimer <fweimer@redhat.com>
12312
12313 [BZ #18023]
12314 * nss/getent.c (initgroups_keys): Use dynarray instead of
12315 extend_alloca.
12316
a26fe163
FW
123172018-06-25 Florian Weimer <fweimer@redhat.com>
12318
12319 [BZ #18023]
12320 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
12321 Use struct scratch_buffer instead of extend_alloca.
12322
90d9d9ce
FW
123232018-06-25 Florian Weimer <fweimer@redhat.com>
12324
12325 [BZ #18023]
12326 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
12327 back to malloc directly, without stack allocations.
12328
6b7b2aba
FW
123292018-06-25 Florian Weimer <fweimer@redhat.com>
12330
12331 [BZ #18023]
12332 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
12333 of extend_alloca.
12334
2f9f0d18
FW
123352018-06-25 Florian Weimer <fweimer@redhat.com>
12336
12337 [BZ #18023]
12338 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
12339 of extend_alloca.
12340 * nscd/hstcache.c (addhstbyX): Likewise.
12341 * nscd/pwdcache.c (addpwbyX): Likewise.
12342 * nscd/servicescache.c (addservbyX): Likewise.
12343
318bad78
FW
123442018-06-25 Florian Weimer <fweimer@redhat.com>
12345
12346 [BZ #18023]
12347 * nscd/connections.c (read_cmdline): New function.
12348 (restart): Use it. Update comment.
12349
189699ab
RL
123502018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
12351
12352 [BZ #23140]
12353 * localedata/locales/csb_PL (mon): Rename to...
12354 (alt_mon): This.
12355 (abmon): Rename to...
12356 (ab_alt_mon): This.
12357 (mon): Add with proper genitive forms, copy from Wikipedia.
12358 (abmon): Likewise.
12359
0ea3f13c
RL
123602018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
12361
12362 [BZ #19485]
12363 * localedata/locales/csb_PL (mon): Fix typos:
12364 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
12365 (yesstr): Add, value is "jo".
12366 (nostr): Add, value is "nié".
12367
d93f4ff1
TMQMF
123682018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12369
12370 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
12371 all log1p and significand functions on m680x0.
12372 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
12373 of s_significand.c..
12374 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
12375 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
12376 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
12377 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
12378 s_log1p.c and include it..
12379
f6299d2a
VC
123802018-06-21 Vincent Chen <vincentc@andestech.com>
12381
12382 * elf/elf.h (R_NDS32_NONE): New define.
12383 (R_NDS32_32_RELA): Likewise.
12384 (R_NDS32_COPY): Likewise.
12385 (R_NDS32_GLOB_DAT): Likewise.
12386 (R_NDS32_JUMP_SLOT): Likewise.
12387 (R_NDS32_RELATIVE): Likewise.
12388 (R_NDS32_TLS_TPOFF): Likewise.
12389 (R_NDS32_TLS_DESC): Likewise.
12390
61ab61c2
MW
123912018-06-21 Mark Wielaard <mark@klomp.org>
12392
12393 * elf/elf.h (R_BPF_MAP_FD): Removed.
12394 (R_BPF_64_64, R_BPF_64_32): New.
12395
f496b28e
FW
123962018-06-21 Florian Weimer <fweimer@redhat.com>
12397
12398 [BZ #23253]
12399 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
12400 Renamed from libc_feholdsetround_ctx.
12401 (default_libc_feresetround_ctx): Renamed from
12402 libc_feresetround_ctx.
12403 (default_libc_feholdsetround_noex_ctx): Renamed from
12404 libc_feholdsetround_noex_ctx.
12405 (default_libc_feresetround_noex_ctx): Renamed from
12406 libc_feresetround_noex_ctx.
12407 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
12408 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
12409 forwardning to the old implementations under the new names.
12410 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
12411 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
12412 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
12413 (libc_feresetround_ctx): Forward to default implements for i386
12414 and MATH_SET_BOTH_ROUNDING_MODES.
12415 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
12416 Add -DMATH_SET_BOTH_ROUNDING_MODES.
12417
1760daad
JM
124182018-06-20 Joseph Myers <joseph@codesourcery.com>
12419
99c7adf9
JM
12420 * string/tst-cmp.c: Include <libc-diag.h>.
12421 (strncmp_max): Disable -Wstringop-overflow= around call to
12422 strncmp.
12423 (strncasecmp_max): Disable -Wstringop-overflow= around call to
12424 strncasecmp.
12425
1760daad
JM
12426 * string/bug-strpbrk1.c: Include <libc-diag.h>.
12427 (main): Disable -Wunused-value around call to strpbrk.
12428 * string/bug-strspn1.c: Include <libc-diag.h>.
12429 (main): Disable -Wunused-value around call to strspn.
12430
209ae17c
TMQMF
124312018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12432 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12433
12434 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
12435 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
12436
badba23c
TMQMF
124372018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12438
5e79e029
TMQMF
12439 * math/Makefile (libm-calls): Move s_significandF to...
12440 (gen-libm-calls): ... here.
12441 * math/s_significand_template.c: New file.
12442 * math/s_significand.c: Removed.
12443 * math/s_significandf.c: Removed.
12444 * math/s_significandl.c: Removed.
12445 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
12446 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
12447
badba23c
TMQMF
12448 * math/e_exp2_template.c (declare_mgen_finite_alias,
12449 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
12450 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
12451 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
12452
2d1c89a5
FW
124532018-06-20 Florian Weimer <fweimer@redhat.com>
12454
12455 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
12456
646c2833
JM
124572018-06-19 Joseph Myers <joseph@codesourcery.com>
12458
12459 [BZ #23280]
12460 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
12461 floating-point number to strtod functions rather than possibly
12462 negating result of those functions.
12463 * stdio-common/tst-scanf-round.c: New file.
12464 * stdio-common/Makefile (tests): Add tst-scanf-round.
12465 ($(objpfx)tst-scanf-round): Depend on $(libm).
12466
c77e4dc0
ST
124672018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
12468
12469 * sysdeps/mach/hurd/localplt.data: Move to...
12470 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
12471 R_386_GLOB_DAT like on Linux i386.
12472
91b2f3e5
JM
124732018-06-18 Joseph Myers <joseph@codesourcery.com>
12474
f2857da7
JM
12475 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
12476 (SHM_STAT_ANY): New macro.
12477 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
12478 (SHM_STAT_ANY): Likewise.
12479 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
12480 (SHM_STAT_ANY): Likewise.
12481 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
12482 (SHM_STAT_ANY): Likewise.
12483 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
12484 (SHM_STAT_ANY): Likewise.
12485 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
12486 (SHM_STAT_ANY): Likewise.
12487 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
12488 (SHM_STAT_ANY): Likewise.
12489 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
12490 (SHM_STAT_ANY): Likewise.
12491 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
12492 (SHM_STAT_ANY): Likewise.
12493 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
12494 (SHM_STAT_ANY): Likewise.
12495 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
12496 (SHM_STAT_ANY): Likewise.
12497 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
12498 (SHM_STAT_ANY): Likewise.
12499
176c7fee
JM
12500 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
12501 (SEM_STAT_ANY): New macro.
12502 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
12503 (SEM_STAT_ANY): Likewise.
12504 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
12505 (SEM_STAT_ANY): Likewise.
12506 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
12507 (SEM_STAT_ANY): Likewise.
12508 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
12509 (SEM_STAT_ANY): Likewise.
12510 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
12511 (SEM_STAT_ANY): Likewise.
12512 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
12513 (SEM_STAT_ANY): Likewise.
12514 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
12515 (SEM_STAT_ANY): Likewise.
12516 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
12517 (SEM_STAT_ANY): Likewise.
12518 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
12519 (SEM_STAT_ANY): Likewise.
12520
86bf0019
JM
12521 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
12522 (MSG_STAT_ANY): New macro.
12523 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
12524 (MSG_STAT_ANY): Likewise.
12525 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
12526 (MSG_STAT_ANY): Likewise.
12527 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
12528 (MSG_STAT_ANY): Likewise.
12529 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
12530 (MSG_STAT_ANY): Likewise.
12531 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
12532 (MSG_STAT_ANY): Likewise.
12533 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
12534 (MSG_STAT_ANY): Likewise.
12535 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
12536 (MSG_STAT_ANY): Likewise.
12537 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
12538 (MSG_STAT_ANY): Likewise.
12539 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
12540 (MSG_STAT_ANY): Likewise.
12541
91b2f3e5
JM
12542 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12543 (MAP_TYPE): Change value to 0x2b.
12544
3fe8fc79
FW
125452018-06-18 Florian Weimer <fweimer@redhat.com>
12546
12547 [BZ #15722]
12548 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
12549 socket with SOCK_CLOEXEC.
12550
809dc95d
JM
125512018-06-18 Joseph Myers <joseph@codesourcery.com>
12552
12553 [BZ #23303]
12554 * sysdeps/powerpc/powerpc64/le/Makefile
12555 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
12556 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
12557 (gnulib-tests): Also add $(f128-loader-link) for
12558 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
12559
298a8b59
ST
125602018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
12561
12562 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
12563 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
12564 of sendfile.
12565 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
12566 (sendfile64): New strong alias.
faf7bbc2
ST
12567 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
12568 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
12569 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
f96a85e0
ST
12570 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
12571 attribute.
12572 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
12573 ___pthread_get_cleanup_stack.
932d05f0 12574 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
c1b7586c
ST
12575 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
12576 * mach/shortcut.awk: Make syscall stubs include
12577 <mach-shortcuts-hidden.h> and add hidden definition.
12578 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
7a646a93
ST
12579 (__mach_msg): Add hidden prototype.
12580 * mach/msg.c: Include <mach.h>.
12581 (__mach_msg): Add hidden definition.
b0344cf5
ST
12582 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
12583 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
12584 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
12585 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
8c9d5342
ST
12586 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
12587 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
4d0ac037
ST
12588 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
12589 prototype and definition.
12590 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
12591 hidden target for _hurd_self_sigstate.
298a8b59 12592
b12c1e79
JM
125932018-06-15 Joseph Myers <joseph@codesourcery.com>
12594
12595 [BZ #23007]
12596 * stdlib/tst-strtod-nan-sign-main.c: New file.
12597 * stdlib/tst-strtod-nan-sign.c: Likewise.
12598 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
12599 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
12600 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
12601 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
12602 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
12603
b0debe14
HB
126042018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
12605
12606 [BZ #23007]
12607 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
12608 appropriate sign.
12609
14beef75
FW
126102018-06-14 Florian Weimer <fweimer@redhat.com>
12611
12612 [BZ #23290]
12613 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
12614 that the result stays within the ISO-8859-1 range.
12615 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
12616 characters are defined in IBM273.
12617
c596630b
ST
126182018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
12619
12620 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
12621 __mach_task_self): Remove attribute_hidden.
12622
35ebb6b0
JM
126232018-06-14 Joseph Myers <joseph@codesourcery.com>
12624
12625 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
12626 ignore -Wrestrict for one test.
12627
3c7b9f1f
SE
126282018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
12629 Szabolcs Nagy <szabolcs.nagy@arm.com>
12630
12631 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
12632
c59ee916
FW
126332018-06-14 Florian Weimer <fweimer@redhat.com>
12634
12635 * scripts/update-abilist.sh: Accept empty list of files to patch.
12636
43b5ff50
ST
126372018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
12638
12639 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
12640 test-xfail-check-abi-libmachuser): Add.
c8c910ed
ST
12641 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
12642 __libc_read and __libc_write to __read and __write.
c8c6e6d6 12643 * sysdeps/hurd/include/hurd/port.h: New file.
126b3ec3
ST
12644 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
12645 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
12646 __thread_switch, __evc_wait): Move declarations to...
12647 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
12648 attribute_hidden.
06d1a826
ST
12649 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
12650 use PLT to call _hurd_self_sigstate.
43b5ff50 12651
fcd6b5ac
JM
126522018-06-13 Joseph Myers <joseph@codesourcery.com>
12653
12654 [BZ #23279]
12655 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
12656 MAX_EXP as overflowing.
12657 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
12658 overflow flag.
12659 (round_str): Output also whether result overflows in each rounding
12660 mode.
12661 * stdlib/tst-strtod-round-data: Add more tests.
12662 * stdlib/tst-strtod-round-data.h: Regenerated.
12663 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
12664 (TEST): Handle extra arguments for overflow flags.
12665 (struct test_overflow): New type.
12666 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
12667 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
12668 (test_in_one_mode): Take argument with overflow information.
12669 (do_test): Update calls to test_in_one_mode.
12670
35df5a77
CD
126712018-06-12 Carlos O'Donell <carlos@redhat.com>
12672
a745c837
CD
12673 * elf/dl-load (_dl_dst_substitute): Correct comment.
12674 (_dl_dst_count): Likewise.
12675
35df5a77
CD
12676 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
12677 lll_futex_timed_wait.
12678
48b12ed5
JM
126792018-06-12 Joseph Myers <joseph@codesourcery.com>
12680
12681 [BZ #23277]
12682 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
12683 attribute.
12684 * math/test-nan-const.c: New file.
12685 * math/Makefile (tests): Add test-nan-const.
12686 (CFLAGS-test-nan-const.c): New variable.
12687
cb8f6aff
L
126882018-06-12 H.J. Lu <hongjiu.lu@intel.com>
12689
12690 * benchtests/scripts/compare_strings.py (process_results): Add
12691 funcs argument. Compare only functions which are selected.
12692 (main): Check if base function is among selected functions.
12693 Pass selected functions to process_results.
12694 (__main__): Add -f/--functions argument.
12695
fc2ba803
HZ
126962018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
12697 Hongbo Zhang <hongbo.zhang@linaro.org>
12698
12699 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
12700 __memcpy_falkor for phecda core.
12701 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
12702 __memmove_falkor for phecda core.
12703 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
12704 __memset_falkor for phecda core.
12705 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
12706 for phecda core.
12707 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
12708 macro to identify phecda core.
12709
5aad5f61
CD
127102018-06-12 Carlos O'Donell <carlos@redhat.com>
12711 Andreas Schwab <schwab@suse.de>
12712 Dmitry V. Levin <ldv@altlinux.org>
6b5c8607 12713 Florian Weimer <fweimer@redhat.com>
5aad5f61
CD
12714
12715 [BZ #23102]
12716 [BZ #21942]
12717 [BZ #18018]
12718 [BZ #23259]
12719 CVE-2011-0536
12720 * elf/dl-dst.h: Remove DL_DST_COUNT.
12721 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
12722 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
12723 (is_dst): Comment. Support ELF gABI.
12724 (_dl_dst_count): Comment. Simplify and count DSTs.
12725 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
12726 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
12727 locals.
12728
329ea513
ZW
127292018-06-12 Zack Weinberg <zackw@panix.com>
12730
12731 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
12732 * sysdeps/unix/sysv/linux/dl-sysdep.c
12733 Include not-cancel.h. Use __close_nocancel instead of __close,
12734 __open64_nocancel instead of __open, __read_nocancel instead of
12735 __libc_read, and __write_nocancel instead of __libc_write.
12736
12737 * csu/check_fds.c (check_one_fd)
12738 * sysdeps/posix/fdopendir.c (__fdopendir)
12739 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
b39d961c 12740 instead of __fcntl and/or __libc_fcntl.
329ea513
ZW
12741
12742 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
12743 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
b39d961c 12744 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
329ea513
ZW
12745 Use __open64_nocancel instead of __open_nocancel.
12746
12747 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
12748 hidden_proto declarations to the end and issue them if either
12749 IS_IN(libc) or IS_IN(rtld).
12750 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
12751 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
12752 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
12753 read_nocancel, waitpid_nocancel, write_nocancel.
12754
b39d961c
TS
12755 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
12756 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
12757 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
329ea513 12758
b39d961c
TS
12759 * nptl/pt-fcntl.c: New file.
12760 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
12761 (libpthread-routines): Add pt-fcntl.
12762 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
12763 (__libc_fcntl): Remove attribute_hidden.
329ea513
ZW
12764 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
12765 __fcntl_nocancel_adjusted, not fcntl_common.
b39d961c 12766 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
329ea513
ZW
12767 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
12768 to fcntl_nocancel.c.
12769 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
12770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
12771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12772 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
12773
12774 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
12775 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
12776 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
12777 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
12778 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
12779 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
12780 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
12781 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
12782 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
12783 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
12784 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
12785 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
12786 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
12787 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
12788 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
12789 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
12790 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
12791 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
12792 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
12793 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
12794
b39d961c
TS
12795 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
12796 libpthread-routines.
12797 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
12798 defines nothing.
329ea513 12799
b39d961c
TS
12800 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
12801 __libc_read, and __write instead of __libc_write. Define
12802 __open64 in addition to __open.
329ea513 12803
0221ce2a
L
128042018-06-12 H.J. Lu <hongjiu.lu@intel.com>
12805
12806 [BZ #23250]
12807 [BZ #10686]
12808 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
12809 to _private_tm[3] and add __glibc_reserved2.
12810 Add _Static_assert of offset of __private_ss == 0x30.
12811 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
12812 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
12813
e826574c
FW
128142018-06-12 Florian Weimer <fweimer@redhat.com>
12815
12816 x86: Make strncmp usable from rtld.
12817 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
12818 __strncmp_ia32 if in libc (and not in rtld).
12819 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
12820 strncmp if not in libc (and not to __strncmp_sse2).
12821
c4ad5782
RL
128222018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
12823
12824 [BZ #23140]
12825 * localedata/locales/gd_GB (mon): Rename to...
12826 (alt_mon): This.
12827 (mon): Import from CLDR (genitive case).
12828 * localedata/locales/hsb_DE (mon): Rename to...
12829 (alt_mon): This.
12830 (mon): Import from CLDR (genitive case).
12831 * localedata/locales/wa_BE (mon): Rename to...
12832 (alt_mon): This.
12833 (mon): Add, fill with the proper genitive forms, but CLDR data
12834 is incomplete; completed according to the comments in this file.
12835 (d_t_fmt): Do not use "di" before the month name, no longer needed.
12836
12837 * localedata/locales/wa_BE (country_name): Reword
12838 "Beljike" -> "Beldjike".
12839
ca121b11
JM
128402018-06-11 Joseph Myers <joseph@codesourcery.com>
12841
12842 [BZ #23272]
12843 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
12844 cases of non-finite arguments.
12845 * math/libm-test-fma.inc (fma_test_data): Add more tests.
12846
2b69fecb
JDA
128472018-06-10 John David Anglin <danglin@gcc.gnu.org>
12848
12849 [BZ #23174]
12850 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
12851
283d9851
AZ
128522018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12853
12854 [BZ #23264]
12855 * include/unistd.h (__execvpex): New prototype.
12856 * posix/Makefile (tests): Add tst-spawn4.
12857 (tests-internal): Add tst-spawn4-compat.
12858 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
12859 * posix/tst-spawn4-compat.c: New file.
12860 * posix/tst-spawn4.c: Likewise.
12861 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
12862 binaries as shell scripts.
12863 * sysdeps/posix/spawni.c (__spawni): Likewise.
12864
67c05796
L
128652018-06-08 H.J. Lu <hongjiu.lu@intel.com>
12866
12867 [BZ #23145]
12868 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
12869 ($(all-built-dso:=.dynsym): New target.
12870 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
12871 ($(objpfx)check-initfini.out): New target.
12872 (generated): Add check-initfini.out.
12873 * scripts/check-initfini.awk: New file.
12874 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
12875 (_fini): Likewise.
12876 * sysdeps/alpha/crti.S (_init): Mark as hidden.
12877 (_fini): Likewise.
12878 * sysdeps/arm/crti.S (_init): Mark as hidden.
12879 (_fini): Likewise.
12880 * sysdeps/hppa/crti.S (_init): Mark as hidden.
12881 (_fini): Likewise.
12882 * sysdeps/i386/crti.S (_init): Mark as hidden.
12883 (_fini): Likewise.
12884 * sysdeps/ia64/crti.S (_init): Mark as hidden.
12885 (_fini): Likewise.
12886 * sysdeps/m68k/crti.S (_init): Mark as hidden.
12887 (_fini): Likewise.
12888 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
12889 (_fini): Likewise.
12890 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
12891 (_fini): Likewise.
12892 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
12893 (_fini): Likewise.
12894 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
12895 (_fini): Likewise.
12896 * sysdeps/nios2/crti.S (_init): Mark as hidden.
12897 (_fini): Likewise.
12898 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
12899 (_fini): Likewise.
12900 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
12901 (_fini): Likewise.
12902 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
12903 (_fini): Likewise.
12904 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
12905 (_fini): Likewise.
12906 * sysdeps/sh/crti.S (_init): Mark as hidden.
12907 (_fini): Likewise.
12908 * sysdeps/sparc/crti.S (_init): Mark as hidden.
12909 (_fini): Likewise.
12910 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
12911 (_fini): Likewise.
12912
1c09524e
TMQMF
129132018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12914
12915 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
12916 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
12917 and TF redirection to KFtype and KF only when the default
12918 long double type is not the IEEE 128-bit floating point type.
12919
0e0577c9
JM
129202018-06-05 Joseph Myers <joseph@codesourcery.com>
12921
0c1c33b2
JM
12922 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
12923 macro.
12924 (HWCAP_USCAT): Likewise.
12925 (HWCAP_ILRCPC): Likewise.
12926 (HWCAP_FLAGM): Likewise.
12927 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
12928 Increase to 28.
12929 (_dl_aarch64_cap_flags): Add new flag names.
12930
bef1cbf4
JM
12931 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
12932 (MAP_FIXED_NOREPLACE): New macro.
12933 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
12934 (MAP_FIXED_NOREPLACE): Likewise.
12935 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
12936 (MAP_FIXED_NOREPLACE): Likewise.
12937 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12938 (MAP_FIXED_NOREPLACE): Likewise.
12939 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
12940 (MAP_FIXED_NOREPLACE): Likewise.
12941 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
12942 (MAP_FIXED_NOREPLACE): Likewise.
12943 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
12944 (MAP_FIXED_NOREPLACE): Likewise.
12945 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
12946 (MAP_FIXED_NOREPLACE): Likewise.
12947 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
12948 (MAP_FIXED_NOREPLACE): Likewise.
12949 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
12950 (MAP_FIXED_NOREPLACE): Likewise.
12951 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
12952 (MAP_FIXED_NOREPLACE): Likewise.
12953 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
12954 (MAP_FIXED_NOREPLACE): Likewise.
12955 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
12956 (MAP_FIXED_NOREPLACE): Likewise.
12957 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
12958 (MAP_FIXED_NOREPLACE): Likewise.
12959 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
12960 (MAP_FIXED_NOREPLACE): Likewise.
12961
0e0577c9
JM
12962 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12963 version to 4.17.
12964
ab3a0da0
JM
129652018-06-04 Joseph Myers <joseph@codesourcery.com>
12966
12967 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12968 version to 4.17
12969
d2d9dfb6
ST
129702018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12971
12972 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
12973 int.
12974 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
12975
a650b05e
LS
129762018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12977
12978 * benchtests/scripts/compare_string.py: (process_results) Catch
12979 exception in non-existent base_func and catch exception in
12980 non-existent attribute.
12981 (parse_file) Catch exception if input file does not exist.
12982
195abbf4
LS
129832018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12984
12985 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
12986 options to avoid diff calculation and omit header, respectively.
12987 (main): process --no-diff and --no-header
12988
14570163
LS
129892018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12990 H.J. Lu <hongjiu.lu@intel.com>
12991
12992 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12993 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
12994 wcsncmp-sse2.
12995 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12996 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
12997 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
12998 and __wcsncmp_sse2.
12999 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
13000 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
13001 AVX unaligned load is fast and vzeroupper is preferred.
13002 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
13003 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
13004 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
13005 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
13006 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
13007 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
13008 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
13009 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
13010 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
13011 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
13012 is undefined.
13013
e02c026f
FW
130142018-06-01 Florian Weimer <fweimer@redhat.com>
13015
13016 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
13017 configuring with --disable-multi-arch, building with
13018 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
13019 Haswell-era CPU.
13020
d8c19275
FW
130212018-06-01 Florian Weimer <fweimer@redhat.com>
13022
13023 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
13024 results from building with “-march=x86-64 -mtune=generic
13025 -mfpmath=sse” and running on a Haswell-era CPU.
13026
0d2163eb
JM
130272018-06-01 Joseph Myers <joseph@codesourcery.com>
13028
13029 [BZ #18473]
13030 * soft-fp/sqrttf2.c: Remove file.
13031 * soft-fp/sqrtdf2.c: Move to ....
13032 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
13033 <shlib-compat.h>.
13034 (__sqrtdf2): Make conditional on
13035 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
13036 symbol.
13037 * soft-fp/sqrtsf2.c: Move to ....
13038 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
13039 <shlib-compat.h>.
13040 (__sqrtsf2): Make conditional on
13041 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
13042 symbol.
13043 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
13044 (gcc-double-routines): Remove sqrtdf2.
13045 (gcc-quad-routines): Remove sqrttf2.
13046 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
13047 Do not filter out sqrtsf2 and sqrtdf2.
13048 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13049 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
13050
10450210
FW
130512018-06-01 Florian Weimer <fweimer@redhat.com>
13052
13053 * sysdeps/generic/libcidn.abilist: Remove file.
13054
4e8a6346
FW
130552018-06-01 Florian Weimer <fweimer@redhat.com>
13056
13057 [BZ #23236]
13058 * libio/strfile.h (struct _IO_str_fields): Rename members to
13059 discourage their use and add comment.
13060 (_IO_STR_DYNAMIC): Remove unused macro.
13061 * libio/strops.c (_IO_str_init_static_internal): Do not use
13062 callback pointers. Call malloc and free.
13063 (_IO_str_overflow): Do not use callback pointers. Call malloc
13064 and free.
13065 (enlarge_userbuf): Likewise.
13066 (_IO_str_finish): Call free.
13067 * libio/wstrops.c (_IO_wstr_init_static): Initialize
13068 _allocate_buffer_unused.
13069 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
13070 and free.
13071 (enlarge_userbuf): Likewise.
13072 (_IO_wstr_finish): Call free.
13073 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
13074 _allocate_buffer_unused, _free_buffer_unused.
13075 * libio/memstream.c (__open_memstream): Likewise.
13076 * libio/vasprintf.c (_IO_vasprintf): Likewise.
13077 * libio/wmemstream.c (open_wmemstream): Likewise.
13078
50d004c9
PP
130792018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
13080
13081 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
13082 AMD Ryzen 7 1800X.
13083
2c93fce7
RS
130842018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13085
13086 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
13087 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
13088 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
13089 New file.
13090 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
13091 Likewise.
13092 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
13093
0ce2fa69
FW
130942018-05-29 Florian Weimer <fweimer@redhat.com>
13095
13096 * support/Makefile (libsupport-routines): Add
13097 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
13098 xpthread_barrierattr_setpshared.
13099 * support/xpthread_barrierattr_destroy.c: New file.
13100 * support/xpthread_barrierattr_init.c: Likewise.
13101 * support/xpthread_barrierattr_setpshared.c: Likewise.
13102
7f7b5d8d
L
131032018-05-29 H.J. Lu <hongjiu.lu@intel.com>
13104
13105 [BZ #23206]
13106 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
13107 _r_debug and update DT_DEBUG for debugger.
13108
e4890300
FW
131092018-05-29 Florian Weimer <fweimer@redhat.com>
13110
13111 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
13112 (tst-strtod5i.out): Likewise.
13113
2c753f3e
JM
131142018-05-25 Joseph Myers <joseph@codesourcery.com>
13115
b5453d9f
JM
13116 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
13117 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
13118 (sparc64-quad-routines): New variable. Moved from ....
13119 [$(subdir) = soft-fp] (sysdep_routines): Add
13120 $(sparc64-quad-routines). Moved from ....
13121 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
13122 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
13123 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
13124 moved from ....
13125 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
13126 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
13127 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
13128 * sysdeps/sparc/sparc64/qp_add.c: ... here.
13129 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
13130 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
13131 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
13132 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
13133 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
13134 * sysdeps/sparc/sparc64/qp_div.c: ... here.
13135 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
13136 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
13137 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
13138 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
13139 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
13140 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
13141 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
13142 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
13143 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
13144 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
13145 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
13146 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
13147 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
13148 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
13149 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
13150 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
13151 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
13152 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
13153 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
13154 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
13155 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
13156 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
13157 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
13158 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
13159 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
13160 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
13161 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
13162 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
13163 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
13164 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
13165 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
13166 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
13167 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
13168 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
13169 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
13170 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
13171 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
13172 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
13173 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
13174 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
13175 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
13176 * sysdeps/sparc/sparc64/qp_util.c: ... here.
13177 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
13178 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
13179 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
13180 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
13181 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
13182 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
13183
2c753f3e
JM
13184 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
13185 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
13186 (sparc32-quad-routines): New variable. Moved from ....
13187 [$(subdir) = soft-fp] (sysdep_routines): Add
13188 $(sparc32-quad-routines). Moved from ....
13189 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
13190 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
13191 moved from ....
13192 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
13193 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
13194 * sysdeps/sparc/sparc32/q_add.c: ... here.
13195 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
13196 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
13197 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
13198 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
13199 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
13200 * sysdeps/sparc/sparc32/q_div.c: ... here.
13201 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
13202 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
13203 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
13204 * sysdeps/sparc/sparc32/q_feq.c: ... here.
13205 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
13206 * sysdeps/sparc/sparc32/q_fge.c: ... here.
13207 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
13208 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
13209 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
13210 * sysdeps/sparc/sparc32/q_fle.c: ... here.
13211 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
13212 * sysdeps/sparc/sparc32/q_flt.c: ... here.
13213 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
13214 * sysdeps/sparc/sparc32/q_fne.c: ... here.
13215 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
13216 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
13217 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
13218 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
13219 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
13220 * sysdeps/sparc/sparc32/q_mul.c: ... here.
13221 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
13222 * sysdeps/sparc/sparc32/q_neg.c: ... here.
13223 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
13224 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
13225 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
13226 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
13227 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
13228 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
13229 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
13230 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
13231 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
13232 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
13233 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
13234 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
13235 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
13236 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
13237 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
13238 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
13239 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
13240 * sysdeps/sparc/sparc32/q_sub.c: ... here.
13241 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
13242 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
13243 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
13244 * sysdeps/sparc/sparc32/q_util.c: ... here.
13245 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
13246 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
13247 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
13248 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
13249
c1dc1e1b
TMQMF
132502018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13251 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13252
13253 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
13254 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
13255 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
13256 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
13257
14186e8d
JM
132582018-05-24 Joseph Myers <joseph@codesourcery.com>
13259
13260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
13261 powerpc/soft-fp.
13262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13263 Likewise.
13264 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
13265 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
13266
fb0e10b8
GG
132672018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13268
13269 [BZ #23171]
13270 * math/math.h [C++] (iseqsig): Fix parameter type for the long
13271 double version.
13272
1dfeb17e
JM
132732018-05-23 Joseph Myers <joseph@codesourcery.com>
13274
13275 * sysdeps/sh/Implies: Remove sh/soft-fp.
13276 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
13277 * sysdeps/sh/sfp-machine.h: ... here.
13278
727b38df
L
132792018-05-23 H.J. Lu <hongjiu.lu@intel.com>
13280
13281 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13282 (__mempcpy_erms): Skip zero length.
13283 (__memmove_erms): Likewise.
13284 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13285 (__memset_erms): Likewise.
13286
2834fb46
JM
132872018-05-23 Joseph Myers <joseph@codesourcery.com>
13288
13289 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
13290 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
13291 Add functions moved from ....
13292 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
13293 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
13294 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
13295 from ....
13296 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
13297 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
13298 * sysdeps/alpha/e_sqrtl.c: ... here.
13299 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
13300 * sysdeps/alpha/local-soft-fp.h: ... here.
13301 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
13302 * sysdeps/alpha/ots_add.c: ... here.
13303 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
13304 * sysdeps/alpha/ots_cmp.c: ... here.
13305 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
13306 * sysdeps/alpha/ots_cmpe.c: ... here.
13307 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
13308 * sysdeps/alpha/ots_cvtqux.c: ... here.
13309 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
13310 * sysdeps/alpha/ots_cvtqx.c: ... here.
13311 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
13312 * sysdeps/alpha/ots_cvttx.c: ... here.
13313 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
13314 * sysdeps/alpha/ots_cvtxq.c: ... here.
13315 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
13316 * sysdeps/alpha/ots_cvtxt.c: ... here.
13317 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
13318 * sysdeps/alpha/ots_div.c: ... here.
13319 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
13320 * sysdeps/alpha/ots_mul.c: ... here.
13321 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
13322 * sysdeps/alpha/ots_nintxq.c: ... here.
13323 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
13324 * sysdeps/alpha/ots_sub.c: ... here.
13325 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
13326 * sysdeps/alpha/sfp-machine.h: ... here.
13327
7f9f1ecb
FW
133282018-05-23 Florian Weimer <fweimer@redhat.com>
13329
13330 [BZ #19728]
13331 [BZ #19729]
13332 [BZ #22247]
13333 CVE-2016-6261
13334 CVE-2016-6263
13335 CVE-2017-14062
13336 Switch to extern IDNA implementation (libidn2).
13337 * libidn: Remove subdirectory.
13338 * LICENSES: Do not mention licensing conditions for the removed
13339 libidn code.
13340 * config.h.in (HAVE_LIBIDN): Remove.
13341 * include/dlfcn.h (__libc_dlopen): Update comment.
13342 * include/idna.h: Remove file.
13343 * inet/Makefile (routines): Add idna.
13344 (tests-static, tests-internal): Add tst-idna_name_classify.
13345 (LOCALES): Generate locales for tests.
13346 (tst-idna_name_classify.out): Depend on generated locales.
13347 * inet/idna_name_classify.c: New file.
13348 * inet/tst-idna_name_classify.c: Likewise.
13349 * inet/net-internal.h (__idna_to_dns_encoding)
13350 (__idna_from_dns_encoding): Declare.
13351 * inet/net-internal.h (enum idna_name_classification): Define.
13352 (__idna_name_classify): Declare.
13353 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
13354 __idna_from_dns_encoding.
13355 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
13356 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
13357 name as a fallback in case of encoding errors.
13358 (getnameinfo): Use DEPRECATED_NI_IDN.
13359 * inet/idna.c: New file.
13360 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
13361 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
13362 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
13363 (modules-names): Add tst-no-libidn2.
13364 (extra-test-objs): Add tst-no-libidn2.os.
13365 (LDFLAGS-tst-no-libidn2.so): Set soname.
13366 (LOCALES): Set, and generate locales.
13367 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
13368 (tst-resolv-ai_idn-latin1): Likewise.
13369 (tst-resolv-ai_idn-nolibidn2): Likewise.
13370 (tst-resolv-ai_idn.out): Depend on locales.
13371 (tst-resolv-ai_idn-latin1.out): Depend on locales.
13372 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
13373 tst-no-libidn2.so.
13374 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
13375 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
13376 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
13377 * resolv/tst-resolv-ai_idn.c: New file.
13378 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
13379 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
13380 * resolv/tst-no-libidn2.c: Likewise.
13381 * support/support_format_addrinfo.c (format_ai_flags): Do not
13382 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
13383 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
13384 (gaih_inet): Call __idna_to_dns_encoding and
13385 __idna_from_dns_encoding, and use the original (punycode) name if
13386 __idna_from_dns_encoding fails due to an encoding error.
13387 (getaddrinfo): Use DEPRECATED_AI_IDN.
13388 * sysdeps/unix/inet/Subdirs (libidn): Remove.
13389 * sysdeps/unix/inet/configure: Remove file.
13390 * sysdeps/unix/inet/configure.ac: Likewise.
13391
5f7b841d
FW
133922018-05-23 Florian Weimer <fweimer@redhat.com>
13393
13394 Implement allocate_once.
13395 * include/allocate_once.h: New file.
13396 * misc/allocate_once.c: Likewise.
13397 * misc/tst-allocate_once.c: Likewise.
13398 * misc/Makefile (routines): Add allocate_once.
13399 (tests-internal): Add tst-allocate_once.
13400 (generated): Add tst-allocate_once.mtrace,
13401 tst-allocate_once-mem.out.
13402 (tests-special): Add tst-allocate_once-mem.out.
13403 (tst-allocate_once-ENV): Set MALLOC_TRACE.
13404 (tst-allocate_once-mem.out): Call mtrace.
13405 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
13406
ed983107
L
134072018-05-23 H.J. Lu <hongjiu.lu@intel.com>
13408
13409 [BZ #23196]
13410 * string/test-memcpy.c (do_test1): New function.
13411 (test_main): Call it.
13412
9aaaab7c
AS
134132018-05-23 Andreas Schwab <schwab@suse.de>
13414
13415 [BZ #23196]
13416 CVE-2018-11237
13417 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
13418 (L(preloop_large)): Save initial destination pointer in %r11 and
13419 use it instead of %rax after the loop.
13420 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
13421
5c5c0dd7
JM
134222018-05-22 Joseph Myers <joseph@codesourcery.com>
13423
8f145c77
JM
13424 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
13425 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
13426 -I../soft-fp. Moved from ....
13427 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
13428 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
13429 * sysdeps/aarch64/e_sqrtl.c: ... here.
13430 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
13431 * sysdeps/aarch64/sfp-machine.h: ... here.
13432
3d6302a5
JM
13433 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
13434 -Wmaybe-uninitialized around access to fq[0].
13435 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
13436 Likewise.
13437
5c5c0dd7
JM
13438 [BZ #18471]
13439 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
13440 aliases for non-libc case of versioned symbols.
13441 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
13442 (llseek): Define as compat symbol if
13443 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
13444 with link warning.
13445 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
13446 Make into a compat symbol, disabled for minimum symbol version
13447 GLIBC_2.28 and later.
13448 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
13449
ed0d6988
FW
134502018-05-22 Florian Weimer <fweimer@redhat.com>
13451
13452 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
13453 not add -mpreferred-stack-boundary=4.
13454 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
13455 (stack-align-test-flags): Likewise.
13456 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
13457 Likewise.
13458 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
13459 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
13460 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
13461 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
13462 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
13463 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
13464 (CFLAGS-tst-align2.c): Likewise.
13465
e28e9b1e
L
134662018-05-21 H.J. Lu <hongjiu.lu@intel.com>
13467
13468 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
13469 (index_arch_Prefer_FSRM): Likewise.
13470 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
13471 Also check Prefer_FSRM.
13472 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
13473 Also return OPTIMIZE (erms) for Prefer_FSRM.
13474
1af30adc
L
134752018-05-21 H.J. Lu <hongjiu.lu@intel.com>
13476
13477 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
13478 (index_cpu_FSRM): Likewise.
13479 (reg_FSRM): Likewise.
13480
78274dc8
JM
134812018-05-18 Joseph Myers <joseph@codesourcery.com>
13482
7c67e6e8
JM
13483 * math/gen-tgmath-tests.py: Import sys.
13484 (Tests.__init__): Initialize macros_seen.
13485 (Tests.add_tests): Add macro to macros_seen. Only generate tests
13486 if requested to do so for this macro.
13487 (Tests.add_all_tests): Take argument for macro for which to
13488 generate tests.
13489 (Tests.check_macro_list): New function.
13490 (main): Handle check-list argument and argument specifying macro
13491 for which to generate tests.
13492 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
13493 [PYTHON] (tgmath3-macro-tests): Likewise.
13494 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
13495 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
13496 not test-tgmath3.c.
13497 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
13498 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
13499 to CFLAGS.
13500 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
13501 [PYTHON] ($(foreach
13502 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
13503 rule.
13504 [PYTHON] (tests-special): Add
13505 $(objpfx)test-tgmath3-macro-list.out.
13506 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
13507
ebc129fd
JM
13508 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
13509 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
13510 later.
13511
78274dc8
JM
13512 [BZ #22639]
13513 * time/tzset.c (SECSPERDAY): Cast to time_t.
13514 * time/tst-y2039.c: New file.
13515 * time/Makefile (tests): Add tst-y2039.
13516
6f7fdeeb
LS
135172018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13518
13519 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13520 (PREFETCH_ONE_SET): Remove duplicate line.
13521
e363a91c
FW
135222018-05-17 Florian Weimer <fweimer@redhat.com>
13523
13524 * sysdeps/generic/math-type-macros-double.h: Include
13525 <math-nan-payload-double.h> after <libm-alias-double.h>.
13526 * sysdeps/generic/math-type-macros-float.h: Include
13527 <math-nan-payload-float.h> after <libm-alias-float.h>.
13528 * sysdeps/generic/math-type-macros-float128.h: Include
13529 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
13530 * sysdeps/generic/math-type-macros-ldouble.h: Include
13531 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
13532
dae6c43c
AS
135332018-05-17 Andreas Schwab <schwab@suse.de>
13534
13535 * resolv/res_send.c (__res_context_send): Don't set errno when
13536 returing error after malloc failure.
13537
0068c085
L
135382018-05-17 H.J. Lu <hongjiu.lu@intel.com>
13539
13540 * nptl/allocatestack.c (allocate_stack): Remove the
13541 !__ASSUME_PRIVATE_FUTEX paths.
13542 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
13543 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
13544 Likewise.
13545 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
13546 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13547 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13548 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13549 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
13550 !__ASSUME_PRIVATE_FUTEX path.
13551 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
13552 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
13553 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
13554 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
13555 !__ASSUME_PRIVATE_FUTEX macros.
13556 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
13557 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
13558 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
13559 * sysdeps/unix/sysv/linux/kernel-features.h
13560 (__ASSUME_PRIVATE_FUTEX): Removed.
13561
632a6cbe
JM
135622018-05-17 Joseph Myers <joseph@codesourcery.com>
13563
13564 * math/Makefile (libm-narrow-fns): Add div.
13565 (libm-test-funcs-narrow): Likewise.
13566 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
13567 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
13568 * math/gen-auto-libm-tests.c (test_functions): Add div.
13569 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
13570 (NARROW_DIV_ROUND_TO_ODD): Likewise.
13571 (NARROW_DIV_TRIVIAL): Likewise.
13572 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
13573 macro.
13574 (__ddivl): Likewise.
13575 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
13576 ddiv.
13577 (CFLAGS-nldbl-ddiv.c): New variable.
13578 (CFLAGS-nldbl-fdiv.c): Likewise.
13579 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13580 __nldbl_ddivl.
13581 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
13582 prototype.
13583 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
13584 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
13585 * math/auto-libm-test-in: Add tests of div.
13586 * math/auto-libm-test-out-narrow-div: New generated file.
13587 * math/libm-test-narrow-div.inc: New file.
13588 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
13589 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
13590 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
13591 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
13592 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
13593 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
13594 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
13595 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
13596 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
13597 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
13598 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
13599 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
13600 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
13601 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
13602 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
13603 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
13604 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
13605 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
13606 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13607 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13608 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13609 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13610 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13611 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13612 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13613 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13614 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13615 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13616 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13617 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13618 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13619 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13624 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13625 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13626 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13627 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13628 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13629 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13630 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13631 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13632
8c78faa9
AZ
136332018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13634
13635 [BZ #23178]
13636 * nscd/nscd-client.h (sendfileall): Remove prototype.
13637 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
13638 (handle_request): Use writeall instead of sendfileall.
13639 * nscd/aicache.c (addhstaiX): Likewise.
13640 * nscd/grpcache.c (cache_addgr): Likewise.
13641 * nscd/hstcache.c (cache_addhst): Likewise.
13642 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13643 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
13644 * nscd/pwdcache.c (cache_addpw): Likewise.
13645 * nscd/servicescache.c (cache_addserv): Likewise.
13646 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
13647 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
13648 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
13649 Remove define.
13650
04958880
L
136512018-05-16 H.J. Lu <hongjiu.lu@intel.com>
13652
13653 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
13654 Include <string/strncat.c>.
13655 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
13656 alias.
13657 (__GI___strncat): New hidden alias.
13658
c9992d13
JM
136592018-05-16 Joseph Myers <joseph@codesourcery.com>
13660
13661 * sysdeps/mips/mips32/libm-test-ulps: Update.
13662 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13663
2afece36
FW
136642018-05-16 Florian Weimer <fweimer@redhat.com>
13665
13666 * support/Makefile (libsupport-routines): Add support_quote_blob,
13667 support_test_compare_blob.
13668 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
13669 * support/check.h (TEST_COMPARE_BLOB): Define.
13670 (support_test_compare_blob): Declare.
13671 * support/support.h (support_quote_blob): Declare.
13672 * support/support_quote_blob.c: New file.
13673 * support/support_test_compare_blob.c: Likewise.
13674 * support/tst-support_quote_blob.c: Likewise.
13675 * support/tst-test_compare_blob.c: Likewise.
13676
9761bf4d
FW
136772018-05-16 Florian Weimer <fweimer@redhat.com>
13678
13679 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
13680 of <strtod_nan_double.h>.
13681 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
13682 instead of SET_MANTISSA.
13683 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
13684 of include <strtod_nan_float.h>.
13685 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
13686 instead of <strtod_nan_ldouble.h>.
13687 * stdlib/strtod_nan_double.h: Move to ...
13688 * sysdeps/generic/math-nan-payload-double.h: ... here.
13689 (FLOAT): Remove definition.
13690 (SET_MANTISSA): Rename to ...
13691 (SET_NAN_PAYLOAD): ... this.
13692 * stdlib/strtod_nan_float.h: Move to ...
13693 * sysdeps/generic/math-nan-payload-float.h: ... here.
13694 (FLOAT): Remove definition.
13695 (SET_MANTISSA): Rename to ...
13696 (SET_NAN_PAYLOAD): ... this.
13697 * sysdeps/generic/math-type-macros-double.h: Include
13698 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
13699 instead of <math-svid-compat.h>.
13700 * sysdeps/generic/math-type-macros-float.h: Include
13701 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
13702 instead of <math-svid-compat.h>.
13703 * sysdeps/generic/math-type-macros-float128.h: Include
13704 <math-nan-payload-float128.h>.
13705 * sysdeps/generic/math-type-macros-ldouble.h: Include
13706 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
13707 instead of <math-svid-compat.h>.
13708 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
13709 check for definition.
13710 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
13711 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
13712 Include <ieee754_float128.h>.
13713 (FLOAT): Remove definition.
13714 (SET_MANTISSA): Rename to ...
13715 (SET_NAN_PAYLOAD): ... this.
13716 * sysdeps/ieee754/float128/strtof128_nan.c: Include
13717 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
13718 Do not include <float128_private.h>.
13719 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
13720 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
13721 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
13722 (FLOAT): Remove definition.
13723 (SET_MANTISSA): Rename to ...
13724 (SET_NAN_PAYLOAD): ... this.
13725 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
13726 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
13727 (FLOAT): Remove definition.
13728 (SET_MANTISSA): Rename to ...
13729 (SET_NAN_PAYLOAD): ... this.
13730 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
13731 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
13732 (FLOAT): Remove definition.
13733 (SET_MANTISSA): Rename to ...
13734 (SET_NAN_PAYLOAD): ... this.
13735 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
13736 of "../stdlib/strtod_nan_double.h".
13737 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
13738 of "../stdlib/strtod_nan_float.h".
13739 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
13740 instead of "../stdlib/strtod_nan_ldouble.h".
13741 * manual/arith.texi (Parsing of Floats): Adjust comment.
13742
69a01461
JM
137432018-05-16 Joseph Myers <joseph@codesourcery.com>
13744
13745 * math/Makefile (libm-narrow-fns): Add mul.
13746 (libm-test-funcs-narrow): Likewise.
13747 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
13748 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
13749 * math/gen-auto-libm-tests.c (test_functions): Add mul.
13750 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
13751 (NARROW_MUL_ROUND_TO_ODD): Likewise.
13752 (NARROW_MUL_TRIVIAL): Likewise.
13753 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
13754 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
13755 macro.
13756 (__dmull): Likewise.
13757 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
13758 dmul.
13759 (CFLAGS-nldbl-dmul.c): New variable.
13760 (CFLAGS-nldbl-fmul.c): Likewise.
13761 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13762 __nldbl_dmull.
13763 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
13764 prototype.
13765 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
13766 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
13767 * math/auto-libm-test-in: Add tests of mul.
13768 * math/auto-libm-test-out-narrow-mul: New generated file.
13769 * math/libm-test-narrow-mul.inc: New file.
13770 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
13771 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
13772 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
13773 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
13774 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
13775 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
13776 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
13777 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
13778 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
13779 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
13780 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
13781 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
13782 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
13783 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
13784 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
13785 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
13786 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
13787 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
13788 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13789 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13790 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13791 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13792 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13793 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13794 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13795 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13796 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13797 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13798 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13799 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13800 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13801 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13806 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13807 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13808 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13809 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13810 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13811 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13812 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13813 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13814
a15529fd
L
138152018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13816
13817 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
13818 with *%eax in call.
13819
98ee36c7
L
138202018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13821
13822 * sysdeps/i386/ldsodefs.h: Removed.
13823 * sysdeps/x86_64/ldsodefs.h: Moved to ...
13824 * sysdeps/x86/ldsodefs.h: This.
13825 (La_i86_regs): New.
13826 (La_i86_retval): Likewise.
13827 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
13828 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
13829
e322ec32
L
138302018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13831
13832 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
13833 unnecessary testl.
13834
0937e209
AM
138352018-05-13 Alan Modra <amodra@gmail.com>
13836
13837 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
13838 R_PARISC_TLS_DTPOFF32 reloc addend.
13839
5db7d705
TMQMF
138402018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13841
13842 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
13843 * math/math.h: Restrict the prototype definition for the functions
13844 issignaling(_Float128) and iszero(_Float128); and template
13845 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
13846 __HAVE_FLOAT128_UNLIKE_LDBL.
13847 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
13848 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
13849 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
13850 __f128() constants; define the type _Float128 as long double;
13851 and reuse long double in __CFLOAT128.
13852
b4d5b8b0
JM
138532018-05-11 Joseph Myers <joseph@codesourcery.com>
13854
13855 * sysdeps/generic/math_private.h: Do not include
13856 <math-barriers.h>.
13857 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
13858 <math_private.h>.
13859 * math/fromfp.h: Include <math-barriers.h>.
13860 * math/math-narrow.h: Likewise.
13861 * math/s_nextafter.c: Likewise.
13862 * math/s_nexttowardf.c: Likewise.
13863 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
13864 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
13865 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
13866 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
13867 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13868 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13869 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13870 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13871 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13872 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13873 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13874 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13875 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13876 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13877 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
13878 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13879 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13880 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13881 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13882 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13883 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13884 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13885 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13886 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13887 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13888 * sysdeps/ieee754/k_standardl.c: Likewise.
13889 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13890 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13891 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13892 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13893 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13894 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13895 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13896 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13897 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13898 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13899 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13900 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13901 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13902 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13903 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13904 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13905 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
13906 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
13907 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13908 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13909 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
13910 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
13911
fc79706a
FW
139122018-05-11 Florian Weimer <fweimer@redhat.com>
13913
13914 Use 64-bit epoch values in the time zone file parser.
13915 * include/time.h (internal_time_t): Define.
13916 (__tzfile_compute): Use it.
13917 * time/tzfile.c (struct leap): Use internal_time_t for epoch
13918 member.
13919 (transitions): Switch to internal_time_t.
13920 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
13921 types.
13922 (__tzfile_compute): Use internal_time_t for timer argument. Check
13923 for truncation before calling __offtime.
13924
89aacb51
FW
139252018-05-11 Florian Weimer <fweimer@redhat.com>
13926
13927 [BZ #23166]
13928 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
13929 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
13930 Likewise.
13931 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
13932 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
13933 export without --enable-obsolete-rpc.
13934 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
13935 symbol. This should not have been exported, ever.
13936
bb066cb8
RL
139372018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
13938
13939 [BZ #23152]
13940 * localedata/locales/gd_GB (abmon): Fix typo in May:
13941 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
13942
70c97f84
SP
139432018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
13944
db725a45
SP
13945 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
13946 Use multiple registers to copy data in loop tail.
13947
70c97f84
SP
13948 * sysdeps/aarch64/multiarch/memmove_falkor.S
13949 (__memmove_falkor): Use multiple registers to move data in
13950 loop tail.
13951
8f5b00d3
JM
139522018-05-10 Joseph Myers <joseph@codesourcery.com>
13953
13954 * math/math-underflow.h: New file.
13955 * sysdeps/generic/math_private.h: Do not include <float.h>.
13956 (fabs_tg): Remove macro. Moved to math-underflow.h.
13957 (min_of_type_f): Likewise.
13958 (min_of_type_): Likewise.
13959 (min_of_type_l): Likewise.
13960 (min_of_type_f128): Likewise.
13961 (min_of_type): Likewise.
13962 (math_check_force_underflow): Likewise.
13963 (math_check_force_underflow_nonneg): Likewise.
13964 (math_check_force_underflow_complex): Likewise.
13965 * math/e_exp2_template.c: Include <math-underflow.h>.
13966 * math/k_casinh_template.c: Likewise.
13967 * math/s_catan_template.c: Likewise.
13968 * math/s_catanh_template.c: Likewise.
13969 * math/s_ccosh_template.c: Likewise.
13970 * math/s_cexp_template.c: Likewise.
13971 * math/s_clog10_template.c: Likewise.
13972 * math/s_clog_template.c: Likewise.
13973 * math/s_csin_template.c: Likewise.
13974 * math/s_csinh_template.c: Likewise.
13975 * math/s_csqrt_template.c: Likewise.
13976 * math/s_ctan_template.c: Likewise.
13977 * math/s_ctanh_template.c: Likewise.
13978 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13979 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13980 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13981 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13982 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13983 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13984 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13985 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13986 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13987 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13988 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13989 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13990 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13991 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13992 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13993 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13994 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13995 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13996 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13997 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13998 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13999 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14000 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14001 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14002 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14003 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14004 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14005 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14006 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14007 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14008 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14009 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14010 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14011 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14012 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14013 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14014 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14015 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14016 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14017 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14018 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14019 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14020 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14021 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14022 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14023 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14024 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14025 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14026 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14027 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14028 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14029 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14030 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14031 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
14032 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14033 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14034 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14035 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14036 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14037 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14038 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14039 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
14040 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14041 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
14042 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14043 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14044 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14045 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14046 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14047 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14048 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14049 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14050 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
14051 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
14052 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14053 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14054 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14055 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14056 * sysdeps/x86/fpu/powl_helper.c: Likewise.
14057 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
14058 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
14059 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
14060 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
14061 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
14062
9ed2e15f
JM
140632018-05-09 Joseph Myers <joseph@codesourcery.com>
14064
14065 * sysdeps/generic/math-barriers.h: New file.
14066 * sysdeps/generic/math_private.h [!math_opt_barrier]
14067 (math_opt_barrier): Move to math-barriers.h.
14068 [!math_opt_barrier] (math_force_eval): Likewise.
14069 * sysdeps/aarch64/fpu/math-barriers.h: New file.
14070 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
14071 math-barriers.h.
14072 (math_force_eval): Likewise.
14073 * sysdeps/alpha/fpu/math-barriers.h: New file.
14074 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
14075 math-barriers.h.
14076 (math_force_eval): Likewise.
14077 * sysdeps/x86/fpu/math-barriers.h: New file.
14078 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
14079 math-barriers.h.
14080 (math_force_eval): Likewise.
14081 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
14082 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
14083 multiple-include guard for rename.
14084 * sysdeps/powerpc/fpu/math-barriers.h: New file.
14085 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
14086 math-barriers.h.
14087 (math_force_eval): Likewise.
14088
5460617d
PP
140892018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
14090
14091 [BZ #22786]
43d4f3d5 14092 CVE-2018-11236
5460617d
PP
14093 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
14094 computation.
14095 * stdlib/Makefile (test-bz22786): New test.
14096 * stdlib/test-bz22786.c: New test.
14097
aaee3cd8
JM
140982018-05-09 Joseph Myers <joseph@codesourcery.com>
14099
14100 * include/math-narrow-eval.h: New file. Contents moved from ....
14101 * sysdeps/generic/math_private.h: ... here.
14102 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
14103 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
14104 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
14105 * stdlib/strtod_l.c: Likewise.
14106 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
14107 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
14108 * sysdeps/i386/fpu/s_fdim.c: Likewise.
14109 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14110 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14111 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14112 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14113 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14114 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14115 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14116 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14117 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
14118 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14119 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
14120 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14121 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14122 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14123 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14124 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14125 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14126 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14127 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14128 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14129 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14130 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
14131 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14132 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14133 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14134 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14135
0555c477
AS
141362018-05-08 Andreas Schwab <schwab@suse.de>
14137
14138 * sysdeps/nptl/internaltypes.h: Fix comment.
14139
50d7d351
L
141402018-05-07 H.J. Lu <hongjiu.lu@intel.com>
14141
14142 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
14143 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
14144 hidden.
14145
543477f7
SP
141462018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
14147
14148 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
14149 of I into loop header.
14150 * benchtests/bench-memmove-walk.c
14151 (test_main): Likewise.
14152
141532018-05-07 Alexandre Oliva <oliva@gnu.org>
ffa81c22
AO
14154
14155 Revert:
14156 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
14157 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
14158
0065aaaa
PP
141592018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14160
14161 [BZ #20419]
14162 * elf/dl-load.c (open_verify): Fix stack overflow.
14163 * elf/Makefile (tst-big-note): New test.
14164 * elf/tst-big-note-lib.S: New.
14165 * elf/tst-big-note.c: New.
14166
b289cd9d
JM
141672018-05-04 Joseph Myers <joseph@codesourcery.com>
14168
14169 * scripts/abilist.awk: Ignore absolute symbols.
14170 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
14171 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
14172 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
14173 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
14174 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
14175 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
14176 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14177 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
14178 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
14179 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
14180 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
14181 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
14182 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
14183 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
14184 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
14185 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
14186 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
14187 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
14188 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14189 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
14190 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
14191 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
14192 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
14193 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
14194 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
14195 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
14196 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
14197 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
14198 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14199 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
14200 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
14201 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14202 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
14203 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
14204 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
14205 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
14206 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
14207 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
14208 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
14209 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
14210 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
14211 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14212 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
14213 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
14214 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14215 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
14216 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
14217 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
14218 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
14219 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
14220 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
14221 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
14222 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
14223 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
14224 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14225 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
14226 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
14227 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14228 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
14229 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
14230 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
14231 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
14232 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
14233 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
14234 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
14235 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
14236 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
14237 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14238 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
14239 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
14240 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14241 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
14242 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
14243 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
14244 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
14245 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
14246 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
14247 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
14248 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
14249 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
14250 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14251 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
14252 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
14253 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14254 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
14255 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
14256 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
14257 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
14258 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
14259 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
14260 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
14261 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
14262 Likewise.
14263 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
14264 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14265 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
14266 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
14267 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14268 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
14269 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
14270 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
14271 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
14272 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
14273 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
14274 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
14275 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
14276 Likewise.
14277 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
14278 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14279 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
14280 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
14281 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14282 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
14283 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
14284 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
14285 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
14286 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
14287 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
14288 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
14289 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
14290 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
14291 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14292 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
14293 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
14294 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14295 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
14296 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
14297 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
14298 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
14299 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
14300 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
14301 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14302 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
14303 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
14304 Likewise.
14305 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
14306 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
14307 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
14308 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
14309 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14310 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
14311 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
14312 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
14313 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
14314 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
14315 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
14316 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
14317 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
14318 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
14319 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
14320 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
14321 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
14322 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
14323 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14324 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
14325 Likewise.
14326 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
14327 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
14328 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
14329 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14330 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
14331 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
14332 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
14333 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
14334 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
14335 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
14336 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14337 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
14338 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
14339 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14340 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
14341 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
14342 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
14343 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
14344 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14345 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
14346 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
14347 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14348 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
14349 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
14350 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
14351 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
14352 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
14353 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
14354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
14355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
14357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
14358 Likewise.
14359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
14360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
14361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
14362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
14363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
14364 Likewise.
14365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
14366 Likewise.
14367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
14368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
14369 Likewise.
14370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
14371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14372 Likewise.
14373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14374 Likewise.
14375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
14376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
14377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
14378 Likewise.
14379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
14380 Likewise.
14381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
14382 Likewise.
14383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
14384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
14387 Likewise.
14388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
14389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
14390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
14391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
14394 Likewise.
14395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
14396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14397 Likewise.
14398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14399 Likewise.
14400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
14401 Likewise.
14402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
14403 Likewise.
14404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
14405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
14406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
14407 Likewise.
14408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
14409 Likewise.
14410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
14411 Likewise.
14412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
14413 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
14414 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
14415 Likewise.
14416 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
14417 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
14418 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
14419 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
14420 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14421 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
14422 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
14423 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
14424 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
14425 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
14426 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
14427 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
14428 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
14429 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
14430 Likewise.
14431 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14432 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
14433 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
14434 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14435 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
14436 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
14437 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
14438 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
14439 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
14440 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
14441 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
14442 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
14443 Likewise.
14444 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14445 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
14446 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
14447 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14448 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
14449 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
14450 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
14451 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
14452 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
14453 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
14454 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
14455 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
14456 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
14457 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14458 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
14459 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
14460 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14461 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
14462 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
14463 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
14464 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
14465 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
14466 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
14467 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
14468 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
14469 Likewise.
14470 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
14471 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14472 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
14473 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
14474 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14475 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
14476 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
14477 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
14478 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
14479 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
14480 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
14481 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
14482 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
14483 Likewise.
14484 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
14485 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14486 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
14487 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
14488 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14489 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
14490 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
14491 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
14492 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
14493 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
14494 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
14495 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
14496 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
14497 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
14498 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14499 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
14500 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
14501 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14502 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
14503 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
14504 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
14505 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
14506 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
14507 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
14508 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
14509 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
14510 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
14511 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
14512 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14513 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
14514 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
14515 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14516 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
14517 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
14518 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
14519 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
14520 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
14521 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
14522
16609018
SL
145232018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
14524
14525 [BZ #23137]
14526 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
14527 Use atomic_load_acquire to load __tid.
14528
556f5c46
L
145292018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14530
14531 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
14532 Restore the pointer into %rdx, after syscall and use %rdx,
14533 instead of %rsi, to restore context.
14534
8b8f32b2
L
145352018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14536
14537 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
14538 Pop the pointer into %rdx after syscall and use %rdx, instead
14539 of %rsi, to restore context.
14540
d6cc1829
L
145412018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14542
14543 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
14544 handlers after setjmp.
14545 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
14546 defined.
14547 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
14548 <libc-pointer-arith.h>.
14549 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
14550 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
14551 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
14552 _JUMP_BUF_SIGSET_BITS_PER_WORD.
14553 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
14554 * sysdeps/x86/__longjmp_cancel.S: New file.
14555 * sysdeps/x86/longjmp.c: Likewise.
14556 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
14557
cf2478d5
AZ
145582018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14559
14560 * NEWS: Add ustat.h deprecation entry.
14561 * bits/ustat.h: Remove file.
14562 * misc/sys/ustat.h: Likewise.
14563 * misc/ustat.h: Likewise.
14564 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
14565 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
14566 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
14567 compatibility mode.
14568 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
14569 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
14570 generic Linux implementation.
14571
dc115e1c
TMQMF
145722018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14573
14574 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
14575 * math/w_expl_compat.c: Likewise.
14576 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
14577
6b5c8607 145782018-04-30 Raymond Nicholson <rain1@airmail.cc>
340d9652
RN
14579
14580 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
14581
c57bf7c1
AZ
145822018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14583
14584 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
14585 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
14586 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
14587 Remove.
14588 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
14589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14590 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14591 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
14592 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
14593 and SYSCALL_LL64.
14594
06135c33
TMQMF
145952018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14596
33927914
TMQMF
14597 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
14598
06135c33
TMQMF
14599 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
14600 * math/w_asin_template.c: Likewise.
14601 * math/w_atanh_template.c: Likewise.
14602
3a33b069
GG
146032018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14604
14605 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
14606 to powerpc/powerpc64/be for big-endian.
14607 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
14608 little-endian.
14609
14610 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
14611 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
14612 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
14613 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
14614 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
14615 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
14616 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
14617 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
14618 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
14619 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
14620 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
14621 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
14622 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
14623 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
14624 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
14625 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
14626 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
14627 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
14628 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
14629 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
14630 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
14631 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
14632 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
14633 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
14634 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
14635 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
14636 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
14637 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
14638 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
14639 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
14640 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
14641 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
14642
14643 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
14644 adjusted to imply powerpc64 and older processors on powerpc64/be.
14645 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
14646 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
14647 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
14648 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
14649 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
14650 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
14651 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
14652 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
14653 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
14654 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
14655 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
14656 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
14657 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
14658 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
14659 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
14660 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
14661 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
14662 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
14663 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
14664 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
14665 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
14666 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
14667 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
14668 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
14669 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
14670 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
14671 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
14672 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
14673 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
14674 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
14675 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
14676
14677 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
14678 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
14679 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
14680 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
14681
14682 * sysdeps/powerpc/powerpc64/be/Implies: New file.
14683 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
14684 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
14685 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
14686
14687 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
14688 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
14689 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
14690 * sysdeps/powerpc/powerpc64le/configure: Likewise.
14691 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
14692 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
14693 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
14694 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
14695 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
14696 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
14697 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
14698
14699 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
14700 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
14701 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
14702 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
14703 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
14704 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
14705 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
14706 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
14707 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
14708 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
14709 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
14710
14711 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
14712 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
14713 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
14714 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
14715 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
14716 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
14717 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
14718 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
14719 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
14720 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
14721 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
14722 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
14723
14724 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
14725 and adjusted to imply olders processors.
14726 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
14727 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
14728 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
14729 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
14730 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
14731 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
14732 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
14733 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
14734 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
14735 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
14736 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
14737
14738 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
14739 powerpc64/le.
14740 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
14741 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
14742
14743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
14744 powerpc64le.
14745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
14746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
14747
14748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
14749 powerpc64/be.
14750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
14751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
14752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
14753
14754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
14755 powerpc64 and adjusted.
14756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
14757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
14758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
14759 Likewise.
14760
a3fb6b6b
JM
147612018-04-27 Joseph Myers <joseph@codesourcery.com>
14762
14763 * sysdeps/tile: Remove.
14764 * sysdeps/unix/sysv/linux/tile: Likewise.
14765 * README (tilegx-*-linux-gnu): Remove from list of supported
14766 configurations.
14767 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
14768 contribution of support for generic Linux kernel syscall
14769 interface.
14770 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
14771 tilegx configurations.
14772 (Config.install_linux_headers): Do not handle tile.
14773 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
14774 in comment.
14775 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
14776 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
14777 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
14778 conditional undefine and redefine.
14779 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
14780 in comment.
14781 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
14782 conditional undefine and redefine.
14783
7a6f7478
AJ
147842018-04-26 Aurelien Jarno <aurelien@aurel32.net>
14785
14786 * signal/tst-sigaction.c: New file to test BZ #23069.
14787 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
14788
81b49e96
TMQMF
147892018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14790
14791 [BZ #22766]
14792 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
14793 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
14794 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
14795 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
14796
7d80f48e
AZ
147972018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14798
14799 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
14800 _DIRENT_MATCHES_DIRENT64 is not defined.
14801 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
14802 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
14803 is defined.
14804 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
14805 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
14806
42a2bf58
JM
148072018-04-25 Joseph Myers <joseph@codesourcery.com>
14808
14809 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
14810 version to GCC 8 branch.
14811
9320ca88
JM
148122018-04-24 Joseph Myers <joseph@codesourcery.com>
14813
5e14bb97
JM
14814 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
14815 (check_no_hidden): Use type of original function when declaring
14816 alias.
14817
9320ca88
JM
14818 * sysdeps/unix/sysv/linux/sys/ptrace.h
14819 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
14820 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
14821 (struct __ptrace_seccomp_metadata): New type.
14822 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
14823 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14824 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
14825 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14826 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
14827 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14828 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
14829 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14830 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
14831 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14832 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
14833 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14834 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
14835 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14836 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
14837 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14838
af7e376b
AZ
148392018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14840
14841 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
14842 defined.
14843 * dirent/versionsort.c (versionsort): Likewise.
14844 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
14845 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
14846 * dirent/versionsort64.c (versionsort64): Likewise.
14847 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
14848 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
14849 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
14850 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
14851 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
14852 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
14853 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
14854 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
14855 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
14856 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
14857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
14858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
14859 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
14860 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
14861
da5e0361
JM
148622018-04-23 Joseph Myers <joseph@codesourcery.com>
14863
14864 * elf/elf.h (NT_PPC_PKEY): New macro.
14865
6b5c8607 148662018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
ea76691a
DSN
14867
14868 [BZ #23094]
14869 * localedata/locales/hr_HR: fix thousands_sep and
14870 mon_thousands_sep
14871
573963e3
JM
148722018-04-20 Joseph Myers <joseph@codesourcery.com>
14873
14874 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
14875 (XTABS): Define to TAB3.
14876
c0123b3b
AZ
148772018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14878
0900a849
AZ
14879 * sysdeps/hppa/fpu/libm-test-ulps: Update.
14880
c0123b3b
AZ
14881 * dirent/scandir-tail-common.c: New file.
14882 * dirent/scandir-tail.c: Use scandir-tail-common.c.
14883 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
14884 * dirent/scandir.c: Use scandir-tail-common.c.
14885 * dirent/scandirat.c: Likewise.
14886 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
14887 * dirent/scandir64.c (scandir64): Always build and alias to scandir
14888 if _DIRENT_MATCHES_DIRENT64 is defined.
14889 * dirent/scandirat64.c (scandirat64): Likewise.
14890 * include/dirent.h (__scandir_tail): Only define iff
14891 _DIRENT_MATCHES_DIRENT64 is not defined.
14892 (__scandir64_tail): Define regardless.
14893 (__scandirat, scandirat64): Remove libc_hidden_proto.
14894 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
14895 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
14896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
14897 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
14898 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14899 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
14900 * sysdeps/unix/sysv/linux/scandir64.c: New file.
14901
458b94f6
JM
149022018-04-20 Joseph Myers <joseph@codesourcery.com>
14903
14904 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
14905 New macro.
14906 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
14907 Increase to 24.
14908 (_dl_aarch64_cap_flags): Add asimdfhm.
14909
9f0437e8
CLT
149102018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
14911
14912 * sysdeps/nios2/libm-test-ulps: Update.
14913
298d0e31
AZ
149142018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14915
50511ca4
AZ
14916 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
14917 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
14918
298d0e31
AZ
14919 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
14920 requirements.
6b5c8607 14921 (_DIRENT_MATCHES_DIRENT64): Undef
298d0e31
AZ
14922 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
14923 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
14924 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
14925 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
14926 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
14927 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
14928 use getdents64 syscalls as base.
14929 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
14930 symbol if required.
14931 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
14932 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
14933 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
14934 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
14935 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
14936 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
14937 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
14938 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
14939 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14940 (__get_clockfreq_via_proc_openprom): Use __getdents64.
14941 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
14942
0085be14
SL
149432018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
14944
14945 * scripts/test_printers_common.py (init_test): Disable lock elision.
14946
da796524
SL
149472018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
14948
14949 * math/test-tgmath.c (count_double, count_float,
14950 count_ldouble, count_cdouble, count_cfloat,
14951 count_cldouble): Use volatile int.
14952
0dd25301
ST
149532018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
14954
14955 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
14956 (conformtest-xfail-conds): Add i386-gnu.
cbc256b1 14957 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
0dd25301
ST
14958 i386-gnu.
14959 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
14960 ipc_perm.cuid, ipc_perm.cgid): Likewise.
14961 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
14962 msqid_ds.msg_lrpid): Likewise.
14963 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
14964 Likewise.
14965 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
14966 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
9d9f8f03
ST
14967 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
14968 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
14969 unsigned int.
14970 (struct statvfs64): Likewise.
f55a4fde
ST
14971 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
14972 Likewise.
77b93390
ST
14973 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
14974 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
14975 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
14976 instead of wait_queue.
14977 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
14978 instead of vm_area_struct.
5cd2931a
ST
14979 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
14980 struct sched_param definition to it.
e60c3f2b
ST
14981 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
14982 * bits/types/struct_sched_param.h: New file.
14983 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
14984 <bits/types/struct_sched_param.h> instead of <sched.h>.
14985 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
5cd2931a
ST
14986 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
14987 generic version but include <bits/pthreadtypes.h> to make struct
14988 sigevent's sigev_notify_attributes field a pthread_attr_t*.
ed370924
ST
14989 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
14990 non-compliant.
a564872d
ST
14991 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
14992 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
14993 [__USE_XOPEN] (OFDEL): New macro.
14994 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
a279b8ed 14995 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
5dbfe13b
ST
14996 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
14997 prototypes.
14998 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
14999 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
81b032c8
ST
15000 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
15001 non-compliant.
15002 * sysdeps/i386/sys/ucontext.h: Likewise.
15003 * sysdeps/m68k/sys/ucontext.h: Likewise.
15004 * sysdeps/mips/sys/ucontext.h: Likewise.
15005 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
f00b62ec
ST
15006 * sysdeps/mach/hurd/i386/Makefile
15007 (test-xfail-POSIX/fcntl.h/conform): Add.
15008 (test-xfail-POSIX/signal.h/conform): Add.
15009 (test-xfail-POSIX/semaphore.h/conform): Add.
15010 (test-xfail-POSIX/regex.h/conform): Add.
15011 (test-xfail-POSIX/aio.h/conform): Add.
15012 (test-xfail-POSIX/mqueue.h/conform): Add.
15013 (test-xfail-POSIX/sys/types.h/conform): Add.
15014 (test-xfail-UNIX98/fcntl.h/conform): Add.
15015 (test-xfail-UNIX98/netdb.h/conform): Add.
15016 (test-xfail-UNIX98/signal.h/conform): Add.
15017 (test-xfail-UNIX98/semaphore.h/conform): Add.
15018 (test-xfail-UNIX98/regex.h/conform): Add.
15019 (test-xfail-UNIX98/aio.h/conform): Add.
15020 (test-xfail-UNIX98/ftw.h/conform): Add.
15021 (test-xfail-UNIX98/mqueue.h/conform): Add.
15022 (test-xfail-UNIX98/netinet/in.h/conform): Add.
15023 (test-xfail-UNIX98/sys/wait.h/conform): Add.
15024 (test-xfail-UNIX98/sys/sem.h/conform): Add.
15025 (test-xfail-UNIX98/sys/uio.h/conform): Add.
15026 (test-xfail-UNIX98/sys/socket.h/conform): Add.
15027 (test-xfail-UNIX98/sys/types.h/conform): Add.
15028 (test-xfail-UNIX98/stdlib.h/conform): Add.
15029 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
15030 (test-xfail-POSIX2008/fcntl.h/conform): Add.
15031 (test-xfail-POSIX2008/netdb.h/conform): Add.
15032 (test-xfail-POSIX2008/signal.h/conform): Add.
15033 (test-xfail-POSIX2008/semaphore.h/conform): Add.
15034 (test-xfail-POSIX2008/regex.h/conform): Add.
15035 (test-xfail-POSIX2008/aio.h/conform): Add.
15036 (test-xfail-POSIX2008/mqueue.h/conform): Add.
15037 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
15038 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
15039 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
15040 (test-xfail-POSIX2008/sys/types.h/conform): Add.
15041 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
15042 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
15043 (test-xfail-XOPEN2K/netdb.h/conform): Add.
15044 (test-xfail-XOPEN2K/signal.h/conform): Add.
15045 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
15046 (test-xfail-XOPEN2K/regex.h/conform): Add.
15047 (test-xfail-XOPEN2K/aio.h/conform): Add.
15048 (test-xfail-XOPEN2K/ftw.h/conform): Add.
15049 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
15050 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
15051 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
15052 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
15053 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
15054 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
15055 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
15056 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
15057 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
15058 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
15059 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
15060 (test-xfail-XOPEN2K8/signal.h/conform): Add.
15061 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
15062 (test-xfail-XOPEN2K8/regex.h/conform): Add.
15063 (test-xfail-XOPEN2K8/aio.h/conform): Add.
15064 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
15065 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
15066 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
15067 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
15068 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
15069 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
15070 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
15071 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
15072 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
15073 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
cbc256b1
ST
15074 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
15075 i386-gnu.
15076 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
15077 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
0dd25301 15078
d6397de3
JM
150792018-04-18 Joseph Myers <joseph@codesourcery.com>
15080
15081 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
15082 --enable-obsolete for powerpc-linux-gnuspe.
15083
8323a902
ST
150842018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15085
3dc0814c 15086 * conform/data/sys/un.h-data: Allow sun_ prefix.
c5896a45 15087 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
d4379e02 15088 prototypes.
c5896a45
ST
15089 * sysdeps/mach/include/mach.h: Likewise.
15090 * sysdeps/mach/include/mach/mig_support.h: Likewise.
15091 * sysdeps/mach/include/mach_error.h: Likewise.
8323a902 15092
743b9c2a
AZ
150932018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15094
15095 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
15096 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
15097 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
15098 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
15099
326e74e7
AS
151002018-04-16 Andreas Schwab <schwab@suse.de>
15101
15102 [BZ #19527]
15103 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
15104
6b5c8607 151052018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
a14d8acd
PM
15106
15107 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
15108 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
15109
a700e7cb
DD
151102018-04-12 DJ Delorie <dj@redhat.com>
15111
15112 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
15113 version to 4.16.
15114
d8abfab7
SL
151152018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
15116
15117 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
15118 (struct kernel_sigaction): Use the same definition on 31bit as is used
15119 on 64bit.
15120
583a27d5
FW
151212018-04-09 Florian Weimer <fweimer@redhat.com>
15122
15123 [BZ #23037]
15124 * resolv/res_send.c (send_dg): Use designated initializers instead
15125 of assignment to zero-initialize other fields of struct mmsghdr.
15126
243f59e5
AZ
151272018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15128
942de61a
AZ
15129 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
15130 __READDIR_ALIAS): Undefine after usage.
15131 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
15132 __READDIR_R_ALIAS): Likewise.
15133 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
15134 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
15135 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
15136 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
15137 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
15138 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
15139 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15140 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15141 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
15142 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
15143 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
15144 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
15145 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15146 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
15147 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
15148 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
15149 * sysdeps/unix/sysv/linux/readdir.c: New file.
15150 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
15151 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
15152 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
15153
243f59e5
AZ
15154 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
15155
690c3475
AS
151562018-04-06 Andreas Schwab <schwab@linux-m68k.org>
15157
15158 * manual/charset.texi (Converting a Character): Fix typo.
15159
6b5c8607 151602018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
b4a5d26d 15161
bbc2062a
AZ
15162 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15163
fa7c6199
AZ
15164 * sysdeps/arm/libm-test-ulps: Update.
15165
b4a5d26d
AZ
15166 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
15167 as base implementation.
15168 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15169 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15170 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15171 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15172 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15173 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
15174 remove unrequired definitions and update comments.
15175 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
15176 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
15177 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
15178 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
15179 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
15180 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
15181 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
15182 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
15183 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
15184 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
15185 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
15186 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15187 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
15188 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
15189 and RESET_SA_RESTORER hooks.
15190
db9e55ff
SL
151912018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
15192
15193 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15194
cf138b0c
FW
151952018-04-05 Florian Weimer <fweimer@redhat.com>
15196
15197 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
15198 integer overflow, memory leak on error, and indeterminate errno
15199 value. Add a null wide character to terminate the result string.
15200 * manual/charset.texi (Converting a Character): Mention embedded
15201 null bytes in the mbrtowc input string. Explain what happens in
15202 the -2 result case. Do not claim that mbrtowc is simple or
15203 obvious to use. Adjust the description of the code example. Use
15204 @code, not @var, for concrete variables.
15205
0f339252
FW
152062018-04-05 Florian Weimer <fweimer@redhat.com>
15207
15208 * manual/examples/mbstouwcs.c: New file.
15209 * manual/charset.texi (Converting a Character): Include it.
15210
e5f9508a
ST
152112018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15212
c120981d
ST
15213 * include/dirent.h (dirfd): Add hidden proto.
15214 * dirent/dirfd.c (dirfd): Add hidden def.
15215 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
15216 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
e5f9508a 15217
b2fd61ca
TMQMF
152182018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15219
15220 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
15221 sin, cos and sincos to 1 ULP.
15222
10a446dd
MR
152232018-04-04 Maciej W. Rozycki <macro@mips.com>
15224
e7feec37
MR
15225 [BZ #19818]
15226 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
15227 symbols.
15228 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
15229 * elf/tst-absolute-sym.c: New file.
15230 * elf/tst-absolute-sym-lib.c: New file.
15231 * elf/tst-absolute-sym-lib.lds: New file.
15232 * elf/Makefile (tests): Add `tst-absolute-sym'.
15233 (modules-names): Add `tst-absolute-sym-lib'.
15234 (LDLIBS-tst-absolute-sym-lib.so): New variable.
15235 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
15236 ($(objpfx)tst-absolute-sym): New dependency.
15237
10a446dd
MR
15238 [BZ #19818]
15239 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
15240 parameter.
15241 (SYMBOL_ADDRESS): New macro.
15242 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
15243 SYMBOL_ADDRESS for symbol address calculation.
15244 * elf/dl-runtime.c (_dl_fixup): Likewise.
15245 (_dl_profile_fixup): Likewise.
15246 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
15247 * elf/rtld.c (dl_main): Likewise.
15248 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
15249 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
15250 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
15251 (elf_machine_rela): Likewise.
15252 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
15253 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
15254 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15255 (elf_machine_rela): Likewise.
15256 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15257 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
15258 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
15259 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
15260 Likewise.
15261 (elf_machine_reloc): Likewise.
15262 (elf_machine_got_rel): Likewise.
15263 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
15264 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
15265 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15266 Likewise.
15267 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15268 Likewise.
15269 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
15270 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15271 Likewise.
15272 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15273 Likewise.
15274 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15275 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15276 Likewise.
15277 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15278 Likewise.
15279 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
15280 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15281
9185f86d
ZW
152822018-04-04 Zack Weinberg <zackw@panix.com>
15283
15284 * sysdeps/generic/internal-signals.h: Include signal.h,
15285 sigsetops.h, and stdbool.h.
15286 (__libc_signal_block_all): Actually block all signals.
15287 (__libc_signal_block_app): Likewise.
15288 (__libc_signal_restore_set): Actually restore the signal mask.
15289
b07367bc
FW
152902018-04-04 Florian Weimer <fweimer@redhat.com>
15291
15292 inet: Actually build and run tst-deadline.
15293 * inet/Makefile (tests-internal): Add tst-deadline and do not
15294 overwrite the variable.
15295 (tests-static-internal): Remove variable.
15296
f2652643
L
152972018-04-03 H.J. Lu <hongjiu.lu@intel.com>
15298
15299 [BZ #22947]
15300 * bits/uio-ext.h (RWF_APPEND): New.
15301 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
15302 * manual/llio.texi: Document RWF_APPEND.
15303 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
15304 (RWF_SUPPORTED): Add RWF_APPEND.
15305
6b5c8607 153062018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
d2dc5467
AZ
15307
15308 [BZ #22391]
15309 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
15310 check for internal nptl signals.
15311 * nptl/sigaction.c (__sigaction): Likewise.
15312 * signal/sigaddset.c (sigaddset): Likewise.
15313 * signal/sigdelset.c (sigdelset): Likewise.
15314 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
15315 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
15316 value.
15317 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
15318 to filter out internal nptl signals.
15319 * signal/tst-sigset.c (do_test): Check ech signal indidually and
15320 also check realtime signals using standard macros.
15321 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
15322 __is_internal_signal, __libc_signal_block_all,
15323 __libc_signal_block_app, __libc_signal_restore_set): New functions.
15324 * sysdeps/nptl/sigfillset.c: Remove file.
15325 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
15326 Change return to bool.
15327 (__clear_internal_signals): Remove SIGTIMER clean since it is
15328 equal to SIGCANEL on Linux.
15329 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
15330 signal set was constructed using standard functions.
15331
511ed56f
ST
153322018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
15333
92846492
ST
15334 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
15335 ifname is too long.
e8ef51b1
ST
15336 * hurd/hurdsig.c (interrupted_reply_port_location): Use
15337 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
ff297b70
ST
15338 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
15339 hidden def.
15340 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
d8440a21
ST
15341 * signal/sigaddset.c: Include <sigsetopts.h>.
15342 * signal/sigdelset.c: Likewise.
511ed56f 15343
e88ecbbf
WD
153442018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15345
15346 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
15347 (__cos): Likewise.
15348 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
15349 logic as sin and cos.
15350
aef3e255
WD
153512018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15352
15353 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
15354 inputs. Return correct sign.
15355 (do_sincos): Remove small input check before do_sin, let do_sin set
15356 the sign.
15357 (__sin): Likewise.
15358 (__cos): Likewise.
15359
72f6e9a3
WD
153602018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15361
15362 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
15363 (do_cos_slow): Likewise.
15364 (do_sin_slow): Likewise.
15365 (reduce_and_compute): Likewise.
15366 (slow): Likewise.
15367 (slow1): Likewise.
15368 (slow2): Likewise.
15369 (sloww): Likewise.
15370 (sloww1): Likewise.
15371 (sloww2): Likewise.
15372 (bslow): Likewise.
15373 (bslow1): Likewise.
15374 (bslow2): Likewise.
15375 (cslow2): Likewise.
15376
64909583
WD
153772018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15378
15379 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
15380 (do_cos): Remove corp parameter and calculations.
15381 (do_sin): Likewise.
15382 (do_sincos): Remove cor variable.
15383 (__sin): Use do_sincos for huge inputs.
15384 (__cos): Likewise.
15385 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
15386 (reduce_and_compute_sincos): Remove unused function.
15387
d9469deb
WD
153882018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15389
15390 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
15391 reduce_sincos, improve accuracy to 136 bits.
15392 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
15393 (__sin): Use improved reduction and simplified do_sincos calculation.
15394 (__cos): Likewise.
15395 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
15396
7a5640f2
WD
153972018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15398
15399 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
15400 (do_sincos_2): Likewise.
15401 (__sin): Remove middle range reduction case.
15402 (__cos): Likewise.
15403 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
15404 reduction case.
15405
19a8b9a3
WD
154062018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15407
15408 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
15409 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
15410 inputs.
15411 (__cos): Likewise.
15412 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
15413
f72aa11d
JM
154142018-04-03 Joseph Myers <joseph@codesourcery.com>
15415
15416 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19a8b9a3 15417 version to 4.16
f72aa11d 15418
8e4754ed
AZ
154192018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15420
15421 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
15422 Remove definitions.
15423 (opendir_oflags): Use O_DIRECTORY regardless.
15424 (__opendir, __opendirat): Remove need_isdir_precheck usage.
15425 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
15426
8e2666ea
ST
154272018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15428
15429 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
15430 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
15431 macros.
15432 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
15433 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
15434 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
15435 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
deed72f6
ST
15436 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
15437 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
8e2666ea 15438
ad2b41bf
ST
15439 * htl/Makefile: Bump licence to LGPL 2.1+.
15440 * htl/alloca_cutoff.c: Likewise.
15441 * htl/cthreads-compat.c: Likewise.
15442 * htl/lockfile.c: Likewise.
15443 * htl/pt-alloc.c: Likewise.
15444 * htl/pt-cancel.c: Likewise.
15445 * htl/pt-cleanup.c: Likewise.
15446 * htl/pt-create.c: Likewise.
15447 * htl/pt-dealloc.c: Likewise.
15448 * htl/pt-detach.c: Likewise.
15449 * htl/pt-exit.c: Likewise.
15450 * htl/pt-getattr.c: Likewise.
15451 * htl/pt-initialize.c: Likewise.
15452 * htl/pt-internal.h: Likewise.
15453 * htl/pt-join.c: Likewise.
15454 * htl/pt-self.c: Likewise.
15455 * htl/pt-setcancelstate.c: Likewise.
15456 * htl/pt-setcanceltype.c: Likewise.
15457 * htl/pt-sigmask.c: Likewise.
15458 * htl/pt-spin-inlines.c: Likewise.
15459 * htl/pt-testcancel.c: Likewise.
15460 * htl/pt-yield.c: Likewise.
15461 * htl/tests/test-1.c: Likewise.
15462 * htl/tests/test-10.c: Likewise.
15463 * htl/tests/test-11.c: Likewise.
15464 * htl/tests/test-12.c: Likewise.
15465 * htl/tests/test-13.c: Likewise.
15466 * htl/tests/test-14.c: Likewise.
15467 * htl/tests/test-15.c: Likewise.
15468 * htl/tests/test-16.c: Likewise.
15469 * htl/tests/test-17.c: Likewise.
15470 * htl/tests/test-2.c: Likewise.
15471 * htl/tests/test-3.c: Likewise.
15472 * htl/tests/test-4.c: Likewise.
15473 * htl/tests/test-5.c: Likewise.
15474 * htl/tests/test-6.c: Likewise.
15475 * htl/tests/test-7.c: Likewise.
15476 * htl/tests/test-8.c: Likewise.
15477 * htl/tests/test-9.c: Likewise.
15478 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
15479 * sysdeps/htl/bits/cancelation.h: Likewise.
15480 * sysdeps/htl/bits/pthread-np.h: Likewise.
15481 * sysdeps/htl/bits/pthread.h: Likewise.
15482 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
15483 * sysdeps/htl/bits/semaphore.h: Likewise.
15484 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
15485 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
15486 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
15487 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
15488 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
15489 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
15490 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
15491 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
15492 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
15493 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
15494 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
15495 * sysdeps/htl/old_pt-atfork.c: Likewise.
15496 * sysdeps/htl/pt-atfork.c: Likewise.
15497 * sysdeps/htl/pt-attr-destroy.c: Likewise.
15498 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
15499 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
15500 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
15501 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
15502 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
15503 * sysdeps/htl/pt-attr-getscope.c: Likewise.
15504 * sysdeps/htl/pt-attr-getstack.c: Likewise.
15505 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
15506 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
15507 * sysdeps/htl/pt-attr-init.c: Likewise.
15508 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
15509 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
15510 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
15511 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
15512 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
15513 * sysdeps/htl/pt-attr-setscope.c: Likewise.
15514 * sysdeps/htl/pt-attr-setstack.c: Likewise.
15515 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
15516 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
15517 * sysdeps/htl/pt-attr.c: Likewise.
15518 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
15519 * sysdeps/htl/pt-barrier-init.c: Likewise.
15520 * sysdeps/htl/pt-barrier-wait.c: Likewise.
15521 * sysdeps/htl/pt-barrier.c: Likewise.
15522 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
15523 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
15524 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
15525 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
15526 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
15527 * sysdeps/htl/pt-cond-destroy.c: Likewise.
15528 * sysdeps/htl/pt-cond-init.c: Likewise.
15529 * sysdeps/htl/pt-cond-signal.c: Likewise.
15530 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
15531 * sysdeps/htl/pt-cond-wait.c: Likewise.
15532 * sysdeps/htl/pt-cond.c: Likewise.
15533 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
15534 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
15535 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
15536 * sysdeps/htl/pt-condattr-init.c: Likewise.
15537 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
15538 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
15539 * sysdeps/htl/pt-destroy-specific.c: Likewise.
15540 * sysdeps/htl/pt-equal.c: Likewise.
15541 * sysdeps/htl/pt-getconcurrency.c: Likewise.
15542 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
15543 * sysdeps/htl/pt-getschedparam.c: Likewise.
15544 * sysdeps/htl/pt-getspecific.c: Likewise.
15545 * sysdeps/htl/pt-init-specific.c: Likewise.
15546 * sysdeps/htl/pt-key-create.c: Likewise.
15547 * sysdeps/htl/pt-key-delete.c: Likewise.
15548 * sysdeps/htl/pt-key.h: Likewise.
15549 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
15550 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
15551 * sysdeps/htl/pt-mutex-init.c: Likewise.
15552 * sysdeps/htl/pt-mutex-lock.c: Likewise.
15553 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
15554 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
15555 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
15556 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
15557 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
15558 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
15559 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
15560 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
15561 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
15562 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
15563 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
15564 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
15565 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
15566 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
15567 * sysdeps/htl/pt-mutexattr.c: Likewise.
15568 * sysdeps/htl/pt-once.c: Likewise.
15569 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
15570 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
15571 * sysdeps/htl/pt-rwlock-init.c: Likewise.
15572 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
15573 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
15574 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
15575 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
15576 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
15577 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
15578 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
15579 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
15580 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
15581 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
15582 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
15583 * sysdeps/htl/pt-setconcurrency.c: Likewise.
15584 * sysdeps/htl/pt-setschedparam.c: Likewise.
15585 * sysdeps/htl/pt-setschedprio.c: Likewise.
15586 * sysdeps/htl/pt-setspecific.c: Likewise.
15587 * sysdeps/htl/pt-spin.c: Likewise.
15588 * sysdeps/htl/pt-startup.c: Likewise.
15589 * sysdeps/htl/pthread.h: Likewise.
15590 * sysdeps/htl/sem-close.c: Likewise.
15591 * sysdeps/htl/sem-destroy.c: Likewise.
15592 * sysdeps/htl/sem-getvalue.c: Likewise.
15593 * sysdeps/htl/sem-init.c: Likewise.
15594 * sysdeps/htl/sem-open.c: Likewise.
15595 * sysdeps/htl/sem-post.c: Likewise.
15596 * sysdeps/htl/sem-timedwait.c: Likewise.
15597 * sysdeps/htl/sem-trywait.c: Likewise.
15598 * sysdeps/htl/sem-unlink.c: Likewise.
15599 * sysdeps/htl/sem-wait.c: Likewise.
15600 * sysdeps/hurd/htl/pt-kill.c: Likewise.
15601 * sysdeps/i386/htl/pt-machdep.h: Likewise.
15602 * sysdeps/mach/htl/pt-block.c: Likewise.
15603 * sysdeps/mach/htl/pt-spin.c: Likewise.
15604 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
15605 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
15606 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
15607 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
15608 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
15609 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
15610 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
15611 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
15612 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
15613 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
15614 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
15615 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
15616 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
15617 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
15618 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
15619 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
15620 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
15621 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
15622 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
15623 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
15624 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
15625 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
15626 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
15627 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
15628 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
15629 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
15630 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
15631 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
15632 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
15633 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
15634 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
15635 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
15636 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
15637 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
15638 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
15639 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
15640 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
15641 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
15642 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
15643 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
15644 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
15645 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
15646 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
15647
fb03b04b
ST
15648 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
15649 * README: Remove the mention of out-of-tree patches needed for
15650 GNU/Hurd.
15651
fa9e1555
ST
15652 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
15653 (UTIME_NOW, UTIME_OMIT): Define macros.
15654
f6fb29d2
ST
15655 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
15656 instead of pthread_detach.
15657 (__cthread_fork): Call __pthread_create instead of pthread_create.
15658 (__cthread_keycreate): Call __pthread_key_create instead of
15659 pthread_key_create.
15660 (__cthread_getspecific): Call __pthread_getspecific instead of
15661 pthread_getspecific.
15662 (__cthread_setspecific): Call __pthread_setspecific instead of
15663 pthread_setspecific.
15664 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
15665 __pthread_mutex_unlock instead of pthread_mutex_lock and
15666 pthread_mutex_unlock.
15667 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
15668 ___pthread_get_cleanup_stack.
15669 (__pthread_get_cleanup_stack): New strong alias.
15670 * htl/pt-create.c: Include <pthreadP.h>.
15671 (entry_point): Call __pthread_exit instead of pthread_exit.
15672 (pthread_create): Rename to __pthread_create.
15673 (pthread_create): New strong alias.
15674 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
15675 (pthread_detach): New strong alias.
15676 (__pthread_detach): Call __pthread_cond_broadcast instead of
15677 pthread_cond_broadcast.
fe9748cc
ST
15678 * htl/pt-exit.c: Include <pthreadP.h>.
15679 (__pthread_exit): Call __pthread_setcancelstate and
15680 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
15681 __pthread_get_cleanup_stack.
f6fb29d2
ST
15682 * htl/pt-testcancel.c: Include <pthreadP.h>.
15683 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
15684 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
15685 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
15686 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
15687 pthread_attr_getstacksize.
15688 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
15689 Rename to __pthread_attr_getstackaddr.
15690 (pthread_attr_getstackaddr): New strong alias.
15691 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
15692 Rename to __pthread_attr_getstacksize.
15693 (pthread_attr_getstacksize): New strong alias.
15694 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
15695 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
15696 (pthread_attr_setstack): New strong alias.
15697 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
15698 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
15699 pthread_attr_getstacksize, pthread_attr_setstacksize and
15700 pthread_attr_setstackaddr.
15701 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
15702 Rename to __pthread_attr_setstackaddr.
15703 (pthread_attr_setstackaddr): New strong alias.
15704 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
15705 Rename to __pthread_attr_setstacksize.
15706 (pthread_attr_setstacksize): New strong alias.
15707 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
15708 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
15709 pthread_exit.
15710 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
15711 (__pthread_key_create): New hidden def.
15712 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
15713 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
15714 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
15715 __pthread_exit, __pthread_key_create, __pthread_getspecific,
15716 __pthread_setspecific, __pthread_setcancelstate,
15717 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
15718 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
15719 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
15720 declarations.
15721 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
15722 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
15723 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
15724 (pthread_attr_setstackaddr): New strong alias.
15725 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
15726 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
15727 (pthread_attr_setstacksize): New strong alias.
15728 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
15729 (call_exit): Call __pthread_exit instead of pthread_exit.
15730 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
15731 (_pthread_mutex_init): New hidden definition.
15732 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
15733 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
15734 instead of pthread_attr_init and pthread_attr_setstack.
15735
dba2bdbe
ST
15736 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
15737 __vm_deallocate instead of vm_allocate and vm_deallocate.
15738 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
15739 setenv.
15740 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
15741 of geteuid.
15742 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
15743 strdup.
15744 * hurd/siginfo.c: Include <libioP.h>.
15745 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
15746 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
15747 munmap.
dba2bdbe
ST
15748 * mach/devstream.c: Include <libioP.h>.
15749 (dealloc_ref): Call __mach_port_deallocate instead of
15750 mach_port_deallocate.
15751 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
15752 Call __mach_port_deallocate instead of mach_port_deallocate.
15753 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
15754 pathconf.
15755 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
15756 munmap.
15757 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
15758 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
15759 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
15760 of munmap.
15761 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
15762 of close.
15763 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
15764 instead of sysconf.
15765 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
15766 __clock_gettime instead of clock_gettime.
15767 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
15768 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
15769 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
15770 * sysdeps/unix/bsd/stty.c (stty): Likewise.
15771 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
15772 tcgetattr.
15773 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
15774 __clock_gettime and __nanosleep instead of clock_gettime and
15775 nanosleep.
7a8f45e3
ST
15776 * hurd/catch-signal.c (hurd_catch_signal): Rename to
15777 __hurd_catch_signal.
15778 (hurd_catch_signal): New strong alias.
15779 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
15780 __hurd_catch_signal instead of hurd_catch_signal.
15781 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
15782 * hurd/hurdexec.c (_hurd_init): Add hidden def.
15783 * hurd/hurdinit.c (_hurd_init): Add hidden def.
15784 * hurd/hurdsig.c: Include <mach/mig_support.h>.
15785 (_hurd_thread_sigstate): Add hidden def.
15786 (_hurd_internal_post_signal): Use __mutex_unlock instead of
15787 mutex_unlock.
15788 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
15789 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
15790 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
15791 __hurd_file_name_path_lookup.
15792 (hurd_file_name_path_lookup): New strong alias.
15793 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
15794 hurd_file_name_path_lookup.
15795 * mach/errstring.c (mach_error_type): Add hidden def.
15796 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
15797 * mach/mutex-init.c (__mutex_init): Add hidden def.
15798 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
15799 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
15800 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
15801 * sysdeps/mach/hurd/getcwd.c
15802 (_hurd_canonicalize_directory_name_internal): Rename to
15803 __hurd_canonicalize_directory_name_internal.
15804 (_hurd_canonicalize_directory_name_internal): New strong alias.
15805 (__canonicalize_directory_name_internal, __getcwd): Call
15806 __hurd_canonicalize_directory_name_internal instead of
15807 _hurd_canonicalize_directory_name_internal.
15808 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
15809 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
15810 hidden defs.
15811 * sysdeps/hurd/include/hurd.h: New file.
15812 * sysdeps/hurd/include/hurd/fd.h: New file.
15813 * sysdeps/hurd/include/hurd/signal.h: New file.
15814 * sysdeps/mach/include/lock-intern.h: New file.
15815 * sysdeps/mach/include/mach.h: New file.
15816 * sysdeps/mach/include/mach/mig_support.h: New file.
15817 * sysdeps/mach/include/mach_error.h: New file.
a758c293
ST
15818 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
15819 prototype.
15820 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
15821 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
15822 _HEADER_H_HIDDEN_DEF macro.
15823 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
15824 _hurd_fd_error_signal): Add hidden prototype.
15825 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
15826 hidden def.
82dbf555
ST
15827 * libio/iolibio.h (_IO_puts): New hidden prototype.
15828 * libio/ioputs.c (_IO_puts): New hidden def.
171488a2
ST
15829 * sysdeps/mach/hurd/localplt.data: New file.
15830
33574c17 158312018-04-02 Agustina Arzille <avarzille@riseup.net>
b39d961c
TS
15832 Amos Jeffries <squid3@treenet.co.nz>
15833 David Michael <fedora.dm0@gmail.com>
15834 Marco Gerards <marco@gnu.org>
15835 Marcus Brinkmann <marcus@gnu.org>
15836 Neal H. Walfield <neal@gnu.org>
15837 Pino Toscano <toscano.pino@tiscali.it>
15838 Richard Braun <rbraun@sceen.net>
15839 Roland McGrath <roland@gnu.org>
15840 Samuel Thibault <samuel.thibault@ens-lyon.org>
15841 Thomas DiModica <ricinwich@yahoo.com>
15842 Thomas Schwinge <tschwinge@gnu.org>
33574c17
ST
15843
15844 * htl: New directory.
15845 * sysdeps/htl: New directory.
15846 * sysdeps/hurd/htl: New directory.
15847 * sysdeps/i386/htl: New directory.
15848 * sysdeps/mach/htl: New directory.
15849 * sysdeps/mach/hurd/htl: New directory.
15850 * sysdeps/mach/hurd/i386/htl: New directory.
15851 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
15852 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
15853 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
15854
03e2aa50
ST
158552018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15856
15857 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
15858 signals in thread created for runing timers.
15859
1aa52ced
FW
158602018-04-01 Florian Weimer <fweimer@redhat.com>
15861
15862 * support/support_format_addrinfo.c (support_format_addrinfo):
15863 Include unknown error number in formatted result.
15864
4d76d3e5
FW
158652018-03-29 Florian Weimer <fweimer@redhat.com>
15866
15867 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
15868 capture SIGBUS.
15869
d39c0a45
AZ
158702018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15871
15872 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
15873 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
15874 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15875 (__ASSUME_CLONE_BACKWARDS): Define.
15876
cc8a1620
JH
158772018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
15878
57408435 15879 [BZ #23024]
cc8a1620
JH
15880 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
15881 early when linux sentinel value is set.
15882
8bfd94d0
ST
158832018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15884
15885 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
15886
f178e59f
AS
158872018-03-27 Andreas Schwab <schwab@suse.de>
15888
15889 [BZ #23005]
15890 * resolv/res_send.c (__res_context_send): Return ENOMEM if
15891 allocation of private copy of nsaddr_list fails.
15892
5f45f96a
JM
158932018-03-26 Joseph Myers <joseph@codesourcery.com>
15894
15895 [BZ #16552]
15896 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
15897 * sysdeps/unix/sysv/linux/umount.c: ... here.
15898 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
15899 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
15900 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
15901 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
15902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
15903 * sysdeps/unix/sysv/linux/umount.S: Likewise.
15904 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
15905
3dfd23eb
AS
159062018-03-26 Andreas Schwab <schwab@suse.de>
15907
15908 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
15909 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
15910 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
15911 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
15912 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
15913 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
15914 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
15915 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
15916 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
15917 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
15918 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
15919 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
15920 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
15921 (R_RISCV_NUM): Define.
15922
fa97d2ab
ST
159232018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
15924
15925 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
15926 TLS declaration of errno.
37be82a0
ST
15927 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
15928 __libc_setup_tls.
15929 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
15930 (ARCH_SETUP_TLS): Likewise.
15931 * sysdeps/mach/hurd/libc-start.h: New file copied from
15932 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
978a6803
ST
15933 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
15934 instead of __libc_setup_tls.
37be82a0 15935 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
978a6803
ST
15936 __libc_setup_tls before initializing libpthread and running _hurd_init
15937 which starts the signal thread.
15938 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
15939 Declare function.
2d813d7b 15940 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fa97d2ab 15941
b8114edd
L
159422018-03-24 H.J. Lu <hongjiu.lu@intel.com>
15943
15944 [BZ #22998]
15945 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
15946 after it is defined.
15947
cd66c0e5
AS
159482018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
15949 Max Horn <max@quendi.de>
15950
15951 [BZ #22644]
43d4f3d5 15952 CVE-2017-18269
cd66c0e5
AS
15953 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
15954 branch conditions.
15955 * string/test-memmove.c (do_test2): New testcase.
15956
a4406139
JM
159572018-03-22 Joseph Myers <joseph@codesourcery.com>
15958
15959 * sysdeps/generic/frame.h: Remove file.
15960 * sysdeps/arm/frame.h: Likewise.
15961 * sysdeps/hppa/frame.h: Likewise.
15962 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
15963 macro.
15964 (GET_FRAME): Likewise.
15965 (GET_STACK): Likewise.
15966 (CALL_SIGHANDLER): Likewise.
15967 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
15968 Likewise.
15969 (GET_FRAME): Likewise.
15970 (GET_STACK): Likewise.
15971 (CALL_SIGHANDLER): Likewise.
15972 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
15973 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15974 (GET_FRAME): Likewise.
15975 (GET_STACK): Likewise.
15976 (CALL_SIGHANDLER): Likewise.
15977 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
15978 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15979 (GET_FRAME): Likewise.
15980 (GET_STACK): Likewise.
15981 (ADVANCE_STACK_FRAME): Likewise.
15982 (CALL_SIGHANDLER): Likewise.
15983 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
15984 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15985 (GET_FRAME): Likewise.
15986 (GET_STACK): Likewise.
15987 (CALL_SIGHANDLER): Likewise.
15988 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
15989 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15990 (GET_FRAME): Likewise.
15991 (GET_STACK): Likewise.
15992 (CALL_SIGHANDLER): Likewise.
15993 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
15994 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15995 (GET_FRAME): Likewise.
15996 (GET_STACK): Likewise.
15997 (CALL_SIGHANDLER): Likewise.
15998 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
15999 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16000 (GET_FRAME): Likewise.
16001 (GET_STACK): Likewise.
16002 (CALL_SIGHANDLER): Likewise.
16003 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
16004 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16005 (GET_FRAME): Likewise.
16006 (GET_STACK): Likewise.
16007 (CALL_SIGHANDLER): Likewise.
16008 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
16009 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16010 (GET_FRAME): Likewise.
16011 (GET_STACK): Likewise.
16012 (CALL_SIGHANDLER): Likewise.
16013 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
16014 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16015 (GET_FRAME): Likewise.
16016 (GET_STACK): Likewise.
16017 (CALL_SIGHANDLER): Likewise.
16018 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
16019 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16020 (GET_FRAME): Likewise.
16021 (GET_STACK): Likewise.
16022 (CALL_SIGHANDLER): Likewise.
16023 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
16024 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16025 (GET_FRAME): Likewise.
16026 (GET_STACK): Likewise.
16027 (CALL_SIGHANDLER): Likewise.
16028 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
16029 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16030 (FIRST_FRAME_POINTER): Likewise.
16031 (ADVANCE_STACK_FRAME): Likewise.
16032 (GET_STACK): Likewise.
16033 (GET_FRAME): Likewise.
16034 (CALL_SIGHANDLER): Likewise.
16035 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
16036 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16037 (ADVANCE_STACK_FRAME): Likewise.
16038 (GET_STACK): Likewise.
16039 (GET_FRAME): Likewise.
16040 (CALL_SIGHANDLER): Likewise.
16041 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
16042 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16043 (GET_FRAME): Likewise.
16044 (GET_STACK): Likewise.
16045 (CALL_SIGHANDLER): Likewise.
16046 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
16047 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16048 (GET_FRAME): Likewise.
16049 (GET_STACK): Likewise.
16050 (CALL_SIGHANDLER): Likewise.
16051
ffec7b27
JM
160522018-03-21 Joseph Myers <joseph@codesourcery.com>
16053
16054 * sysdeps/x86_64/backtrace.c: Move to ....
16055 * debug/backtrace.c: ... here.
16056 * sysdeps/aarch64/backtrace.c: Remove file.
16057 * sysdeps/alpha/backtrace.c: Likewise.
16058 * sysdeps/hppa/backtrace.c: Likewise.
16059 * sysdeps/ia64/backtrace.c: Likewise.
16060 * sysdeps/mips/backtrace.c: Likewise.
16061 * sysdeps/nios2/backtrace.c: Likewise.
16062 * sysdeps/riscv/backtrace.c: Likewise.
16063 * sysdeps/sh/backtrace.c: Likewise.
16064 * sysdeps/tile/backtrace.c: Likewise.
16065
8a07b0c4
JM
160662018-03-20 Joseph Myers <joseph@codesourcery.com>
16067
d0c5d731
JM
16068 [BZ #22987]
16069 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
16070 function.
16071 (fdimf): Likewise.
16072 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
16073
8a07b0c4
JM
16074 [BZ #17343]
16075 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
16076 possibly overflowing computations.
16077
ceb54b9b
ST
160782018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
16079
16080 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
16081 values from Linux-specific section now that it is in the GNU section.
16082 * sysdeps/gnu/errlist.c: Regenerate.
16083
8d3f9e85
JM
160842018-03-20 Joseph Myers <joseph@codesourcery.com>
16085
16086 * math/Makefile (libm-narrow-fns): Add sub.
16087 (libm-test-funcs-narrow): Likewise.
16088 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
16089 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
16090 * math/gen-auto-libm-tests.c (test_functions): Add sub.
16091 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
16092 (NARROW_SUB_ROUND_TO_ODD): Likewise.
16093 (NARROW_SUB_TRIVIAL): Likewise.
16094 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
16095 macro.
16096 (__dsubl): Likewise.
16097 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
16098 dsub.
16099 (CFLAGS-nldbl-dsub.c): New variable.
16100 (CFLAGS-nldbl-fsub.c): Likewise.
16101 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16102 __nldbl_dsubl.
16103 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
16104 prototype.
16105 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
16106 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
16107 * math/auto-libm-test-in: Add tests of sub.
16108 * math/auto-libm-test-out-narrow-sub: New generated file.
16109 * math/libm-test-narrow-sub.inc: New file.
16110 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
16111 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
16112 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
16113 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
16114 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
16115 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
16116 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
16117 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
16118 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
16119 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
16120 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
16121 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
16122 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
16123 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
16124 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
16125 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
16126 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
16127 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
16128 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16129 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16130 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16131 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16132 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16133 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16134 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16135 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16136 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16137 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16138 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16139 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16140 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16141 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16146 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16147 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16148 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16149 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16150 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16151 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16152 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
16153 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
16154 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16155 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16156
d473f015
JM
161572018-03-19 Joseph Myers <joseph@codesourcery.com>
16158
16159 [BZ #20079]
16160 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
16161
fbce6f72
WD
161622018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
16163
16164 * benchtests/bench-timing.h (attribute_hidden): Undefine.
16165
72e7ffc3
RB
161662018-03-18 Richard Braun <rbraun@sceen.net>
16167
16168 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
16169 thread reference.
16170
542c20a1
AA
161712018-03-18 Agustina Arzille <avarzille@riseup.net>
16172
16173 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
16174 (__libc_cleanup_fct): Define function.
16175 (__libc_cleanup_region_start, __libc_cleanup_region_end,
16176 __libc_cleanup_end): Rewrite implementation using
16177 __attribute__ ((__cleanup__)).
16178 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
fb4cc8a0
AA
16179 * hurd/Makefile (routines): Add hurdlock.
16180 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
16181 interface.
16182 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
16183 * hurd/hurdpid.c: Include <lowlevellock.h>
16184 (_S_msg_proc_newids): Use lll_wait to synchronize.
16185 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
16186 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
16187 * mach/Makefile (lock-headers): Remove machine-lock.h.
16188 * mach/lock-intern.h: Include <lowlevellock.h> instead of
16189 <machine-lock.h>.
16190 (__spin_lock_t): New type.
16191 (__SPIN_LOCK_INITIALIZER): New macro.
16192 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
16193 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
16194 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
16195 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
16196 (__mutex_init): Initialize with lll.
16197 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
16198 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
16199 needing lll.
16200 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16201 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
16202 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
16203 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
16204 (__setpgid): Use lll for synchronization.
16205 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
16206 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
16207 instead of <cthreads.h>.
16208 (_IO_lock_inexpensive): New macro
16209 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
16210 (__libc_lock_self0): New declaration.
16211 (__libc_lock_owner_self): New macro.
16212 (__libc_key_t): Remove type.
16213 (_LIBC_LOCK_INITIALIZER): New macro.
16214 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
16215 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
16216 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
16217 __libc_lock_define_initialized_recursive,
16218 __rtld_lock_define_initialized_recursive,
16219 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
16220 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
16221 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
16222 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
16223 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
16224 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
16225 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
16226 New macros.
16227 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
16228 * hurd/hurdlock.c: New file.
16229 * hurd/hurdlock.h: New file.
16230 * mach/lowlevellock.h: New file
542c20a1 16231
9a37922e
ST
162322018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16233
16234 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
489999cc
ST
16235 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
16236 when opening a symlink with O_NOFOLLOW.
72103e73
ST
16237 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
16238 path when flags contains O_NOFOLLOW.
16239 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
16240 if flags contains O_DIRECTORY and the result is a directory.
aa218929
ST
16241 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
16242 oneself when the pointer given in D is nul (as set by ext2fs).
20bc801b
ST
16243 * sysdeps/mach/hurd/mlockall.c: New file.
16244 * sysdeps/mach/hurd/munlockall.c: New file.
9a37922e 16245
34e6a869
ST
162462018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
16247
16248 * hurd/hurdsig.c: Include <pthread.h>.
16249 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
16250 get the signal thread stack layout.
dc33bef3
ST
16251 * hurd/Makefile (headers): Remove threadvar.h.
16252 (inline-headers): Remove threadvar.h.
16253 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
16254 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
16255 __hurd_threadvar_max, __hurd_errno_location.
16256 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
16257 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
16258 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
16259 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
16260 unless TLS is not initialized yet, in which case we do not need a
16261 critical section yet anyway.
16262 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
16263 <machine-sp.h>.
16264 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
16265 declarations.
16266 (__hurd_threadvar_index): Remove enum.
16267 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
16268 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
16269 inlines.
16270 (__hurd_reply_port0): New variable declaration.
16271 (__hurd_local_reply_port): New macro.
16272 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
16273 (interrupted_reply_port_location): Add thread_t parameter. Use it
16274 with THREAD_TCB to access thread-local variables.
16275 (_hurdsig_abort_rpcs): Pass ss->thread to
16276 interrupted_reply_port_location.
16277 (_hurd_internal_post_signal): Likewise.
16278 (_hurdsig_init): Use presence of cthread_fork instead of
16279 __hurd_threadvar_stack_mask to start signal thread by hand.
16280 Remove signal thread threadvar initialization.
16281 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
16282 * hurd/sigunwind.c: Include <hurd/threadvar.h>
16283 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
16284 of threadvar.
16285 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
16286 __libc_lock_self0.
16287 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
16288 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
16289 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
16290 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
16291 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
16292 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
16293 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
16294 define variables.
16295 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
16296 <hurd/threadvar.h>.
16297 [IS_IN(rtld)] (rtld_errno): New variable.
16298 [IS_IN(rtld)] (__errno_location): New weak function.
16299 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
16300 * sysdeps/mach/hurd/errno.c: Remove file.
16301 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
16302 (__fork): Remove THREADVAR_SPACE macro and its use.
16303 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
16304 variable.
16305 (init): Do not initialize threadvar.
16306 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
16307 symbol.
16308 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
16309 __hurd_local_reply_port instead of threadvar.
16310 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
16311 _hurd_sigstate fields.
16312 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
16313 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
16314 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
16315 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
16316 instead of threadvar.
16317 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
16318 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
16319 (use_threadvar, global_reply_port): Remove variables.
16320 (__hurd_reply_port0): New variable.
16321 (__mig_get_reply_port): Use __hurd_local_reply_port and
16322 __hurd_reply_port0 instead of threadvar.
16323 (__mig_dealloc_reply_port): Likewise.
16324 (__mig_init): Do not initialize threadvar.
16325 * sysdeps/mach/hurd/profil.c: Fix comment.
c2fb08c7
ST
16326 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
16327 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
16328 cthread_keycreate, cthread_getspecific, cthread_setspecific to
16329 __cthread_fork, __cthread_detach, __pthread_getattr_np,
16330 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
16331 __cthread_setspecific.
16332 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
16333 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
16334 __cthread_t instead of cthread_fork, cthread_detach,
16335 pthread_getattr_np, pthread_attr_getstack.
16336 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
16337 __cthread_keycreate.
16338 (cthread_getspecific): Rename to __cthread_getspecific.
16339 (cthread_setspecific): Rename to __cthread_setspecific.
16340 (__libc_getspecific): Use __cthread_getspecific instead of
16341 cthread_getspecific.
16342 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
16343 __cthread_keycreate instead of cthread_keycreate.
16344 (__libc_setspecific): Use __cthread_setspecific instead of
16345 cthread_setspecific.
16346 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
16347 Likewise.
dd28d4ba
ST
16348 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
16349 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
16350 testing whether it is defined.
34e6a869 16351
f8baf2a2
ST
163522018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16353
16354 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
16355 Define macro.
16356 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
16357 * sysdeps/mach/i386/thread_state.h
16358 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
16359 i386_THREAD_STATE.
16360 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
16361 i386_THREAD_STATE.
16362 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
16363
16364 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
16365 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
16366
16367 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
16368 macros.
16369 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
16370 descriptor instead of creating a new one.
16371 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
16372
16373 * mach/setup-thread.c: Include <ldsodefs.h>.
16374 (__mach_setup_thread): Call _dl_allocate_tls, pass
16375 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
16376 MACHINE_THREAD_STATE_FLAVOR, before getting
16377 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
16378 MACHINE_THREAD_STATE_FLAVOR with the result.
16379 * hurd/hurdfault.c (_hurdsig_fault_init): Call
16380 MACHINE_THREAD_STATE_FIX_NEW.
16381 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
16382 too. Add original thread parameter.
16383
34ba96b8
JM
163842018-03-16 Joseph Myers <joseph@codesourcery.com>
16385
5d75b75f
JM
16386 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
16387 Remove inline function.
16388
34ba96b8
JM
16389 * sysdeps/i386/fpu/libm-test-ulps: Update.
16390 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
16391
22679b2c
WD
163922018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
16393
16394 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
16395 commit.
16396
c429a8d8
JM
163972018-03-15 Joseph Myers <joseph@codesourcery.com>
16398
16399 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
16400 (__sincos_code): Remove define and undefine.
16401 [__FAST_MATH__] (__sincos): Remove inline function.
16402 [__FAST_MATH__] (__sincosf): Remove inline function.
16403 [__FAST_MATH__] (__sincosl): Remove inline function.
16404 (__atan2l): Remove inline functions.
16405 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
16406 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
16407 function.
16408 (floor): Remove inline function.
16409 (ceil): Likewise.
16410 [__FAST_MATH__] (__ldexp_code): Remove macro.
16411 [__FAST_MATH__] (ldexp): Remove inline function.
16412 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
16413 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
16414 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
16415 [__USE_ISOC99] (__lrint_code): Remove macro.
16416 [__USE_ISOC99] (__llrint_code): Likewise.
16417 [__USE_ISOC99] (lrintf): Remove inline function.
16418 [__USE_ISOC99] (lrint): Likewise.
16419 [__USE_ISOC99] (lrintl): Likewise.
16420 [__USE_ISOC99] (llrint): Likewise.
16421 [__USE_ISOC99] (llrintf): Likewise.
16422 [__USE_ISOC99] (llrintl): Likewise.
16423
700593fd
WD
164242018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16425
16426 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
16427 (__ieee754_sqrtf): Remove.
16428 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
16429 (__ieee754_sqrtf): Remove.
16430 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
16431 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
16432 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
16433 (__ieee754_sqrtf): Remove.
16434 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
16435 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
16436 (sqrtf): Remove.
16437 (sqrtl): Remove.
16438 (__ieee754_sqrt): Remove.
16439 (__ieee754_sqrtf): Remove.
16440 (__ieee754_sqrtl): Remove.
16441 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
16442 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
16443 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
16444 (__ieee754_sqrtf): Remove.
16445 (__ieee754_sqrtl): Remove.
16446
f67a8147
WD
164472018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16448
16449 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
16450 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
16451 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
16452 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
16453 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
16454 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16455 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16456 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
16457 Likewise.
16458 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
16459 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
16460 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
16461 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
16462 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
16463 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
16464 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
16465 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
16466 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
16467 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
16468 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
16469 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
16470 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
16471 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
16472 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
16473 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16474 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16475 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
16476 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
16477 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
16478 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16479 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16480 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
16481 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
16482 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
16483 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
16484 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16485 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16486 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
16487 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
16488 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
16489 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
16490 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
16491 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
16492 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16493 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16494 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
16495 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
16496 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
16497 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
16498
1294b189
WD
164992018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16500
16501 * include/math.h (sqrt): Declare with asm redirect.
16502 (sqrtf): Likewise.
16503 (sqrtl): Likewise.
16504 (sqrtf128): Likewise.
16505 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
16506 nonlib and libnldbl with -fmath-errno.
16507 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
16508 * math/w_sqrt_template.c: Likewise.
16509 * math/w_sqrtf_compat.c: Likewise.
16510 * math/w_sqrtl_compat.c: Likewise.
16511 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
16512 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
16513 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
16514 complex.h.
16515
f1c8185d
WD
165162018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16517
16518 * benchtests/Makefile: Define _ISOMAC.
16519 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
16520 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
16521 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
16522 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
16523 * benchtests/bench-timing.h: Define attribute_hidden.
16524
b47c3e76
SP
165252018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
16526
16527 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
16528 mov + lsr.
16529
807fee29
RL
165302018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16531
16532 [BZ #22963]
16533 * localedata/locales/cs_CZ (mon): Rename to...
16534 (alt_mon): This.
16535 (mon): Import from CLDR (genitive case).
16536
e7155a28
RL
165372018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16538
16539 [BZ #22937]
16540 * localedata/locales/el_CY (abmon): Rename to...
16541 (ab_alt_mon): This.
16542 (abmon): Import from CLDR (abbreviated genitive case).
16543 * localedata/locales/el_GR (abmon): Rename to...
16544 (ab_alt_mon): This.
16545 (abmon): Import from CLDR (abbreviated genitive case).
16546
71d7b121
RL
165472018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16548
16549 [BZ #22932]
16550 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
16551
a00bffe8
RB
165522018-03-15 Robert Buj <robert.buj@gmail.com>
16553
16554 [BZ #22848]
16555 * localedata/locales/ca_ES (abmon): Rename to...
16556 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
16557 (mon): Rename to...
16558 (alt_mon): This.
16559 (abmon): Import from CLDR (genitive case, month names preceded by
16560 "de" or "d’").
16561 (mon): Likewise.
16562 (abday): Synchronize with CLDR.
16563 (d_t_fmt): Likewise.
16564 (d_fmt): Likewise.
16565 (am_pm): Likewise.
16566
16567 (LC_TIME): Improve indentation.
16568 (LC_TELEPHONE): Likewise.
16569 (LC_NAME): Likewise.
16570 (LC_ADDRESS): Likewise.
16571
f9555d73
JM
165722018-03-14 Joseph Myers <joseph@codesourcery.com>
16573
16574 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
16575 (lrintf): Remove definitions used only with old GCC.
16576 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
16577 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
16578 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
16579 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
16580 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
16581 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
16582 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
16583 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
16584 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
16585 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
16586 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
16587 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
16588 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
16589 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
16590 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
16591 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
16592 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
16593 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
16594 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
16595 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
16596 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
16597 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
16598 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
16599 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
16600 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
16601 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
16602 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
16603 [__FAST_MATH__] (__M_SQRT2): Remove macro.
16604
d46f84de
SP
166052018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
16606
16607 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
16608 instruction to unbreak builds with binutils 2.26 and older.
16609
7108f1f9
SP
166102018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
16611
16612 * sysdeps/aarch64/strncmp.S (count): New macro.
16613 (strncmp): Store misaligned length in SRC1 in COUNT.
16614 (mutual_align): Adjust.
16615 (misaligned8): Load dword at a time when it is safe.
16616
2cc7bad0
ZW
166172018-03-12 Zack Weinberg <zackw@panix.com>
16618
16619 [BZ #1190]
16620 [BZ #19476]
16621 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
16622 if the _IO_EOF_SEEN bit is already set; update commentary.
16623 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
16624 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
16625
16626 * support/support_openpty.c, support/tty.h: New files.
16627 * support/Makefile (libsupport-routines): Add support_openpty.
16628
16629 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
16630 New test cases.
16631 * libio/Makefile (tests): Add tst-fgetc-after-eof.
16632 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
16633
778f1974
DL
166342018-03-12 Dmitry V. Levin <ldv@altlinux.org>
16635
16636 * po/pt_BR.po: Update translations.
16637
6b5c8607 166382018-03-12 David Michael <fedora.dm0@gmail.com>
da6d4404
DM
16639
16640 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
16641 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
16642 get a port to the startup server.
16643
d3da750d
ZW
166442018-03-11 Zack Weinberg <zackw@panix.com>
16645
16646 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
16647 before nldbl-compat.h.
16648
054b72cc
ZW
166492018-03-10 Zack Weinberg <zackw@panix.com>
16650
0d13dfa1
ZW
16651 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
16652 math.h or math_private.h.
16653
16654 * sysdeps/alpha/fpu/s_isnan.c
16655 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
16656 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
16657 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
16658 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
16659 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
16660 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
16661 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
16662 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
16663 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
16664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
16665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
16666 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
16667 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
16668 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
16669 Include math_private.h.
16670
16671 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
16672 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
16673 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
16674 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
16675 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
16676 * sysdeps/powerpc/power7/fpu/s_logb.c:
16677 Include math.h and math_private.h.
16678
054b72cc
ZW
16679 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
16680 uses of $at in .set noat / .set at.
16681
6253bacd
L
166822018-03-10 H.J. Lu <hongjiu.lu@intel.com>
16683
16684 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
16685 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
16686 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
16687 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
16688 Likewise.
16689
229855e5
FW
166902018-03-09 Florian Weimer <fweimer@redhat.com>
16691
16692 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
16693 in comment.
16694
9aa5c222
AJ
166952018-03-09 Aurelien Jarno <aurelien@aurel32.net>
16696
16697 [BZ #22919]
16698 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
16699 Add nop before __startcontext, add explaining comments.
16700
3dc21497
AZ
167012018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16702
e921c89e
AZ
16703 [BZ #22926]
16704 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
16705 empty for __SPE__.
16706 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
16707 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
16708 Do not build hardware transactional code for __SPE__.
16709 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
16710 (__lll_trylock_elision): Likewise.
16711 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
16712 (__lll_unlock_elision): Likewise.
16713
d9f26dab 16714 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
3dc21497
AZ
16715 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
16716 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
16717 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
16718 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
16719 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
16720 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
16721 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
16722 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
16723 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
16724 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
16725 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
16726 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
16727 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
16728 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
16729 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
16730 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
16731 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
16732 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
16733 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
16734 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
16735 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16736 (__ASSUME_CLONE_BACKWARDS): Define.
16737 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
16738 __clone2 if __NR_clone2 is defined.
16739 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16740 (__ASSUME_CLONE_BACKWARDS): Likewise.
16741 * sysdeps/unix/sysv/linux/i386/kernel-features.h
16742 (__ASSUME_CLONE_BACKWARDS): Likewise.
16743 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16744 (__ASSUME_CLONE2): Likewise.
16745 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16746 (__ASSUME_CLONE_BACKWARDS3): Likewise.
16747 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
16748 variants and the define architecture can use.
16749 (__ASSUME_CLONE_DEFAULT): Define as default.
16750 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16751 (__ASSUME_CLONE_BACKWARDS): Likewise.
16752 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16753 (__ASSUME_CLONE_BACKWARDS): Likewise.
16754 * sysdeps/unix/sysv/linux/s390/kernel-features.h
16755 (__ASSUME_CLONE_BACKWARDS2): Likewise.
16756
adc95fb0
SP
167572018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
16758
4e54d918
SP
16759 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
16760
30a81dae
SP
16761 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
16762 time.
16763
adc95fb0
SP
16764 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
16765 (do_test_limit): Likewise.
16766
16767 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
16768 for every implementation.
16769 (do_test): Likewise.
16770
16771 * benchtests/bench-strncmp.c: Convert output to json.
16772
4e9066bc
ST
167732018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16774
16775 * io/futimens.c: Add missing start-of-file descriptive comment.
16776 * io/utime.c: Likewise.
16777 * misc/futimesat.c: Likewise.
16778 * misc/utimes.c: Likewise.
16779 * sysdeps/mach/hurd/futimesat.c: Likewise.
16780 * sysdeps/mach/hurd/utimes.c: Likewise.
16781 * sysdeps/posix/utime.c: Likewise.
16782 * sysdeps/posix/utimes.c: Likewise.
16783 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
16784 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
16785 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
16786 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
16787
ec1300cf
ST
167882018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16789
16790 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
16791 hurd_futimes.
16792 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
16793 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
16794 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
16795 (__futimens): Move implementation to...
16796 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
16797 utime_tvalue_from_tspec): ... new helper functions.
16798 (hurd_futimens): New function.
16799 * sysdeps/mach/hurd/futimesat.c: New file.
16800 * sysdeps/mach/hurd/utimensat.c: New file.
16801
bbe762d1
FC
168022018-03-05 Flávio Cruz <flaviocruz@gmail.com>
16803
16804 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
16805 UTIME_OMIT): New macros.
16806 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
16807 before reverting to converting time spec to time value and calling
16808 __file_utimes.
16809 * sysdeps/mach/hurd/utime-helper.c: New file.
16810 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
16811 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
16812 reverting to utime_tvalue_from_tval and __file_utimes.
16813 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
16814 (__lutimes): Just call hurd_futimens after lookup.
16815 * sysdeps/mach/hurd/utimes.c: Likewise.
16816
a1ede3a4
ST
168172018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16818
16819 * bits/sigaction.h: Add include guard.
16820 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
16821 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
16822 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
16823 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
16824 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
16825 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
16826 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
16827 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
16828 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
16829
6900d2ca
JM
168302018-03-05 Joseph Myers <joseph@codesourcery.com>
16831
16832 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
16833 -Wmaybe-uninitialized for -Os.
16834 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
16835 this disabling.
16836
68448be2
AZ
168372018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16838
5226a81f
AZ
16839 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
16840 __INO_T_MATCHES_INO64_T is defined.
16841 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
16842 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
16843 of definition.
16844 * dirent/alphasort64.c: Likewise.
16845 * dirent/scandir.c: Likewise.
16846 * dirent/scandir64-tail.c: Likewise.
16847 * dirent/scandir64.c: Likewise.
16848 * dirent/scandirat.c: Likewise.
16849 * dirent/scandirat64.c: Likewise.
16850 * dirent/versionsort.c: Likewise.
16851 * dirent/versionsort64.c: Likewise.
16852 * include/dirent.h: Likewise.
16853
fbd01e6c
AZ
16854 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
16855 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
16856 for socketpair endpoint.
16857 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
16858 WRITE_BUFFER_SIZE as buffer size for sending socket.
16859 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
16860 issue on system where send is implemented with sendto syscall.
16861 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
16862 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
16863 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
16864 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
16865
68448be2
AZ
16866 [BZ #21269]
16867 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
16868 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
16869 sa_restorer for vDSO case.
16870 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
16871
eb1ca47e
ST
168722018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
16873
16874 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
e30c291a
ST
16875 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
16876 * hurd/hurd/ioctl.h: Include <mach/port.h>
16877 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
f4bff843
ST
16878 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
16879 <mach/mach_types.h> and <mach/message.h>.
430fd945
ST
16880 (headers): Move mach/param.h to bits/mach/param.h.
16881 * sysdeps/mach/i386/mach/param.h: Move file to ...
16882 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
16883 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
16884 of <mach/param.h>.
3403cb7d
ST
16885 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
16886 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
16887 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
48d34cbc
ST
16888 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
16889 trivial, for C++ conformity.
44c6376c 16890 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
95dfdbd2
ST
16891 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
16892 Process mig output through $(migheadersed).
16893 * hurd/Makefile (migheadersed): Define variable.
a726c87a
ST
16894 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
16895 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
16896 headers.
ba89615d
ST
16897 * hurd/hurd.h: Include <bits/types/sigset_t.h>
16898 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
16899 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
16900 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
16901 <bits/types/sigset_t.h>.
16902 [!defined __USE_GNU]: Do not #error out.
16903 (struct hurd_sigstate): Use _NSIG instead of NSIG.
16904 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
16905 Include <stddef.h> and <bits/types/sigset_t.h>
16906 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
16907 instead of sighandler_t.
974393ea
ST
16908 * stdlib/errno.h (error_t): Move definition to...
16909 * bits/types/error_t.h: ... new header.
16910 * stdlib/Makefile (headers): Add bits/types/error_t.h.
16911 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
16912 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
16913 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
16914 * hurd/hurd.h: Include <bits/types/error_t.h>
16915 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
16916 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
16917 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
16918 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
16919 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
16920 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
8d965cde 16921 * sysdeps/mach/hurd/futimens.c: New file.
eb1ca47e 16922
eaf6753f
AS
169232018-03-03 Andreas Schwab <schwab@linux-m68k.org>
16924
16925 [BZ #22918]
16926 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
16927 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
16928 * nscd/gai.c (__nss_hosts_database): Readd definition.
16929 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
16930 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
16931 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
16932
4dc23804
JM
169332018-03-02 Joseph Myers <joseph@codesourcery.com>
16934
16935 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
16936 (ifunc_one): Likewise.
16937
1c81d55f
DD
169382018-03-01 DJ Delorie <dj@delorie.com>
16939
16940 [BZ #22342]
16941 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
16942 key value.
16943
b717c14f
MR
169442018-03-01 Maciej W. Rozycki <macro@mips.com>
16945
16946 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
16947 `match_pid' parameter.
16948 (td_ta_thr_iter): Update accordingly.
16949
1efe1358
FW
169502018-03-01 Florian Weimer <fweimer@redhat.com>
16951
16952 * nptl/Makefile (install-lib-ldscripts): Remove.
16953 (install): Remove rule.
16954 ($(inst_libdir)/libpthread.so): Likewise.
16955
a527f09c
MF
169562018-03-01 Mike FABIAN <mfabian@redhat.com>
16957
16958 [BZ #22896]
16959 * localedata/locales/an_ES: update month and day names,
16960 improve d_fmt, improve postal_fmt, add country_post,
16961 add country_isbn
16962
35d660b0
MF
169632018-03-01 Mike FABIAN <mfabian@redhat.com>
16964
16965 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
16966 Ukrainian instead of Bulgarian.
16967
1a2f44a8
FW
169682018-03-01 Florian Weimer <fweimer@redhat.com>
16969
16970 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
16971 reference.
16972
bd60ce86
FW
169732018-03-01 Florian Weimer <fweimer@redhat.com>
16974
16975 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
16976 * nptl/Makefile (routines): Add pthread_atfork.
16977 (static-only-routines): Set to pthread_atfork.
16978 (libpthread-routines): Remove pthread_atfork.
16979 (libpthread-static-only-routines): Remove.
16980 (install): Update comment.
16981 (libpthread.so): Do not install libpthread_nonshared.a.
16982 (tests): Do not link with libpthread_nonshared.a.
16983 (generated): Remove libpthread_nonshared.a.
16984 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
16985 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
16986 with libpthread_nonshared.a.
16987
000f290f
JM
169882018-02-28 Joseph Myers <joseph@codesourcery.com>
16989
e2bcf6a8
JM
16990 [BZ #22902]
16991 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
16992 (libc_feholdexcept_setroundf128): New macro.
16993 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
16994
000f290f
JM
16995 [BZ #15105]
16996 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
16997 libc_hidden_def.
16998 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
16999 * include/inttypes.h: New file.
17000
02f2fead
JM
170012018-02-27 Joseph Myers <joseph@codesourcery.com>
17002
17003 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
17004 -Os in two more places.
17005
874c56d7
MF
170062018-02-27 Mike FABIAN <mfabian@redhat.com>
17007
17008 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
17009 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
17010 be sorted correctly at the moment because of a bug.
17011
15973854
MF
170122018-02-27 Mike FABIAN <mfabian@redhat.com>
17013
17014 [BZ #22550] - es_ES locale (and other es_* locales): collation should
17015 treat ñ as a primary different character, sync the collation
17016 for Spanish with CLDR.
17017 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
17018 * localedata/Makefile: Add new test files.
17019 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
17020 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
17021 collation order.
17022 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
17023 * localedata/am_ET.UTF-8.in: New test file.
17024 * localedata/az_AZ.UTF-8.in: Likewise.
17025 * localedata/be_BY.UTF-8.in: Likewise.
17026 * localedata/ber_DZ.UTF-8.in: Likewise.
17027 * localedata/ber_MA.UTF-8.in: Likewise.
17028 * localedata/bg_BG.UTF-8.in: Likewise.
17029 * localedata/br_FR.UTF-8.in: Likewise.
17030 * localedata/cmn_TW.UTF-8.in: Likewise.
17031 * localedata/crh_UA.UTF-8.in: Likewise.
17032 * localedata/csb_PL.UTF-8.in: Likewise.
17033 * localedata/cv_RU.UTF-8.in: Likewise.
17034 * localedata/cy_GB.UTF-8.in: Likewise.
17035 * localedata/dz_BT.UTF-8.in: Likewise.
17036 * localedata/eo.UTF-8.in: Likewise.
17037 * localedata/es_ES.UTF-8.in: Likewise.
17038 * localedata/fa_IR.UTF-8.in: Likewise.
17039 * localedata/fi_FI.UTF-8.in: Likewise.
17040 * localedata/fil_PH.UTF-8.in: Likewise.
17041 * localedata/fur_IT.UTF-8.in: Likewise.
17042 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
17043 * localedata/ha_NG.UTF-8.in: Likewise.
17044 * localedata/ig_NG.UTF-8.in: Likewise.
17045 * localedata/ik_CA.UTF-8.in: Likewise.
17046 * localedata/kk_KZ.UTF-8.in: Likewise.
17047 * localedata/ku_TR.UTF-8.in: Likewise.
17048 * localedata/ky_KG.UTF-8.in: Likewise.
17049 * localedata/ln_CD.UTF-8.in: Likewise.
17050 * localedata/mi_NZ.UTF-8.in: Likewise.
17051 * localedata/ml_IN.UTF-8.in: Likewise.
17052 * localedata/mn_MN.UTF-8.in: Likewise.
17053 * localedata/mr_IN.UTF-8.in: Likewise.
17054 * localedata/mt_MT.UTF-8.in: Likewise.
17055 * localedata/nb_NO.UTF-8.in: Likewise.
17056 * localedata/om_KE.UTF-8.in: Likewise.
17057 * localedata/os_RU.UTF-8.in: Likewise.
17058 * localedata/ps_AF.UTF-8.in: Likewise.
17059 * localedata/ro_RO.UTF-8.in: Likewise.
17060 * localedata/ru_RU.UTF-8.in: Likewise.
17061 * localedata/sc_IT.UTF-8.in: Likewise.
17062 * localedata/se_NO.UTF-8.in: Likewise.
17063 * localedata/sq_AL.UTF-8.in: Likewise.
17064 * localedata/sv_SE.UTF-8.in: Likewise.
17065 * localedata/szl_PL.UTF-8.in: Likewise.
17066 * localedata/tg_TJ.UTF-8.in: Likewise.
17067 * localedata/tk_TM.UTF-8.in: Likewise.
17068 * localedata/tt_RU.UTF-8.in: Likewise.
17069 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
17070 * localedata/ug_CN.UTF-8.in: Likewise.
17071 * localedata/uz_UZ.UTF-8.in: Likewise.
17072 * localedata/vi_VN.UTF-8.in: Likewise.
17073 * localedata/yi_US.UTF-8.in: Likewise.
17074 * localedata/yo_NG.UTF-8.in: Likewise.
17075 * localedata/zh_CN.UTF-8.in: Likewise.
17076 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
17077 file and fix bugs in the collation.
17078 * localedata/locales/az_AZ: Likewise.
17079 * localedata/locales/be_BY: Likewise.
17080 * localedata/locales/ber_DZ: Likewise.
17081 * localedata/locales/ber_MA: Likewise.
17082 * localedata/locales/bg_BG: Likewise.
17083 * localedata/locales/br_FR: Likewise.
17084 * localedata/locales/br_FR@euro: Likewise.
17085 * localedata/locales/ca_ES: Likewise.
17086 * localedata/locales/cns11643_stroke: Likewise.
17087 * localedata/locales/crh_UA: Likewise.
17088 * localedata/locales/cs_CZ: Likewise.
17089 * localedata/locales/csb_PL: Likewise.
17090 * localedata/locales/cv_RU: Likewise.
17091 * localedata/locales/cy_GB: Likewise.
17092 * localedata/locales/da_DK: Likewise.
17093 * localedata/locales/dz_BT: Likewise.
17094 * localedata/locales/en_CA: Likewise.
17095 * localedata/locales/eo: Likewise.
17096 * localedata/locales/es_CU: Likewise.
17097 * localedata/locales/es_EC: Likewise.
17098 * localedata/locales/es_ES: Likewise.
17099 * localedata/locales/es_US: Likewise.
17100 * localedata/locales/et_EE: Likewise.
17101 * localedata/locales/fa_IR: Likewise.
17102 * localedata/locales/fi_FI: Likewise.
17103 * localedata/locales/fil_PH: Likewise.
17104 * localedata/locales/fur_IT: Likewise.
17105 * localedata/locales/gez_ER@abegede: Likewise.
17106 * localedata/locales/ha_NG: Likewise.
17107 * localedata/locales/hr_HR: Likewise.
17108 * localedata/locales/hsb_DE: Likewise.
17109 * localedata/locales/hu_HU: Likewise.
17110 * localedata/locales/ig_NG: Likewise.
17111 * localedata/locales/ik_CA: Likewise.
17112 * localedata/locales/is_IS: Likewise.
17113 * localedata/locales/iso14651_t1_pinyin: Likewise.
17114 * localedata/locales/kk_KZ: Likewise.
17115 * localedata/locales/ku_TR: Likewise.
17116 * localedata/locales/ky_KG: Likewise.
17117 * localedata/locales/ln_CD: Likewise.
17118 * localedata/locales/lt_LT: Likewise.
17119 * localedata/locales/lv_LV: Likewise.
17120 * localedata/locales/mi_NZ: Likewise.
17121 * localedata/locales/ml_IN: Likewise.
17122 * localedata/locales/mn_MN: Likewise.
17123 * localedata/locales/mr_IN: Likewise.
17124 * localedata/locales/mt_MT: Likewise.
17125 * localedata/locales/nb_NO: Likewise.
17126 * localedata/locales/om_KE: Likewise.
17127 * localedata/locales/os_RU: Likewise.
17128 * localedata/locales/pl_PL: Likewise.
17129 * localedata/locales/ps_AF: Likewise.
17130 * localedata/locales/ro_RO: Likewise.
17131 * localedata/locales/ru_RU: Likewise.
17132 * localedata/locales/ru_UA: Likewise.
17133 * localedata/locales/sc_IT: Likewise.
17134 * localedata/locales/se_NO: Likewise.
17135 * localedata/locales/si_LK: Likewise.
17136 * localedata/locales/sq_AL: Likewise.
17137 * localedata/locales/sv_FI: Likewise.
17138 * localedata/locales/sv_FI@euro: Likewise.
17139 * localedata/locales/sv_SE: Likewise.
17140 * localedata/locales/szl_PL: Likewise.
17141 * localedata/locales/tg_TJ: Likewise.
17142 * localedata/locales/ti_ER: Likewise.
17143 * localedata/locales/tk_TM: Likewise.
17144 * localedata/locales/tl_PH: Likewise.
17145 * localedata/locales/tr_TR: Likewise.
17146 * localedata/locales/tt_RU: Likewise.
17147 * localedata/locales/tt_RU@iqtelif: Likewise.
17148 * localedata/locales/ug_CN: Likewise.
17149 * localedata/locales/uk_UA: Likewise.
17150 * localedata/locales/uz_UZ: Likewise.
17151 * localedata/locales/uz_UZ@cyrillic: Likewise.
17152 * localedata/locales/vi_VN: Likewise.
17153 * localedata/locales/yi_US: Likewise.
17154 * localedata/locales/yo_NG: Likewise.
17155
ce6636b0
MF
171562018-02-27 Mike FABIAN <mfabian@redhat.com>
17157
17158 * gen-locales.mk: Make test files which contain @ modifiers in their
17159 name work.
17160 * localedata/gen-locale.sh: Likewise.
17161
ac3a3b4b
MF
171622018-02-27 Mike FABIAN <mfabian@redhat.com>
17163
17164 * posix/tst-fnmatch.input: Fix results for range expressions
17165 for non C locales.
17166 * posix/tst-regexloc.c: Do not use a range expression for
17167 de_DE.ISO-8859-1 locale.
17168
770cbe14
MF
171692018-02-27 Mike FABIAN <mfabian@redhat.com>
17170
17171 * posix/bug-regex5.c: Fix test case because with the new
17172 iso14651_t1_common file, the da_DK locale now has 6 collating elements
17173 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
17174 file.
17175
0fc355d9
MF
171762018-02-27 Mike FABIAN <mfabian@redhat.com>
17177
17178 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
17179 downloaded from ISO, the collation order of @-. and space has changed.
17180 Therefore, this test file needed to be adapted.
17181 * localedata/fr_CA.UTF-8.in: Likewise.
17182 * localedata/fr_FR.UTF-8.in: Likewise.
17183 * localedata/uk_UA.UTF-8.in: Likewise.
17184
43f3893f
MF
171852018-02-27 Mike FABIAN <mfabian@redhat.com>
17186
17187 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
17188 order of ȥ in the new iso14651_t1_common file.
17189 * localedata/pl_PL.UTF-8.in: Likewise.
17190
df74ef78
MF
171912018-02-27 Mike FABIAN <mfabian@redhat.com>
17192
17193 * localedata/locales/iso14651_t1_common: Add sections for various
17194 scripts to the iso14651_t1_common file.
17195
d5adfbad
MF
171962018-02-27 Mike FABIAN <mfabian@redhat.com>
17197
17198 * localedata/locales/iso14651_t1_common: Use the code point of a
17199 character in the fourth collation level instead of IGNORE for all
17200 entries which have IGNORE on all 4 levels.
17201
5f5a9610
MF
172022018-02-27 Mike FABIAN <mfabian@redhat.com>
17203
17204 * localedata/locales/iso14651_t1_common: Add some convenient collation
17205 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
17206 rules similar to those in CLDR.
17207
8a97e900
MF
172082018-02-27 Mike FABIAN <mfabian@redhat.com>
17209
17210 * localedata/locales/iso14651_t1_common: The new version of this
17211 file downloaded from ISO contained several syntax errors which
17212 are fixed by this patch.
17213
bbdd2fba
MF
172142018-02-27 Mike FABIAN <mfabian@redhat.com>
17215
17216 * localedata/locales/iso14651_t1_common: replace all <U.....>
17217 with <U000.....> because glibc understands only 4 digit or 8 digit
17218
1569e551
MF
172192018-02-27 Mike FABIAN <mfabian@redhat.com>
17220
17221 * localedata/locales/iso14651_t1_common: Necessary changes
17222 to make the file downloaded from ISO usable by glibc.
17223
9479b6d5
MF
172242018-02-27 Mike FABIAN <mfabian@redhat.com>
17225
17226 [BZ #14095]
17227 * localedata/locales/iso14651_t1_common: Update file to
17228 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
17229
03b540b3
ST
172302018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17231
17232 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
17233 of <nptl/pthreadP.h>
17234 (thread_attr_compare): Move function to...
eb937a52 17235 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
03b540b3 17236 * sysdeps/nptl/timer_routines.h: ... new header.
7211eba6 17237 * sysdeps/mach/hurd/gai_misc.h: New file.
03b540b3 17238
20602c72
JM
172392018-02-26 Joseph Myers <joseph@codesourcery.com>
17240
f54d8f73
JM
17241 * string/strcoll_l.c: Include <libc-diag.h>.
17242 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
17243 declarations of seq1 and seq2.
17244
20602c72
JM
17245 [BZ #15105]
17246 * stdlib/atoi.c (atoi): Use libc_hidden_def.
17247 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
17248
f5f473a9
DL
172492018-02-26 Dmitry V. Levin <ldv@altlinux.org>
17250
17251 [BZ #22433]
17252 [BZ #22807]
17253 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
17254 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
17255 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
17256 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
17257 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
17258 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
17259
398c6fdd
TMQMF
172602018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17261
17262 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
17263 macros used in __ptrace_request.
17264
f5d1f629
L
172652018-02-23 H.J. Lu <hongjiu.lu@intel.com>
17266
17267 [BZ #22792]
17268 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
17269 to $(CC).
17270 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
17271 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
17272 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
17273 <tcb-offsets.h>.
17274
54412d20
JM
172752018-02-23 Joseph Myers <joseph@codesourcery.com>
17276
17277 [BZ #15105]
17278 * ctype/ctype.c (tolower): Use libc_hidden_def.
17279 (toupper): Likewise.
17280 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
17281 [!_ISOMAC] (toupper): Likewise.
17282
81be4b5e
MF
172832018-02-23 Mike FABIAN <mfabian@redhat.com>
17284
17285 * localedata/Makefile: Remove --quiet argument when
17286 installing locales
17287
9d5cfd8e
MF
172882018-02-23 Mike FABIAN <mfabian@redhat.com>
17289
17290 [BZ #17438]
17291 * localedata/locales/pt_BR (LC_TIME): use / instead of -
17292 in d_fmt.
17293 * localedata/locales/pt_PT (LC_TIME): likewise
17294
6c7269f3
MF
172952018-02-23 Mike FABIAN <mfabian@redhat.com>
17296
17297 [BZ #22646]
17298 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
17299 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
17300 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
17301
92aabad9
AZ
173022018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17303
4cdc25a4
AZ
17304 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17305
27761a10
AZ
17306 * nptl/Makefile (routines): Remove unregister-atfork.
17307 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
17308 (fork_handler_alloc): Remove function.
17309 (fork_handlers, fork_handler_init): New variables.
17310 (__fork_lock): Rename to atfork_lock.
17311 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
17312 to use a dynamic array to add/remove atfork handlers.
17313 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17314 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
17315 Remove declaration.
17316 (fork_handler): Remove next, refcntr, and need_signal member.
17317 (__run_fork_handler_type): New enum.
17318 (__run_fork_handlers): New prototype.
17319 * nptl/register-atfork.c: Remove file.
17320 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
17321
92aabad9
AZ
17322 * sysdeps/nptl/nptl-signals.h: Move to ...
17323 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
17324 comments.
17325 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
17326 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
17327 unnecessary check for SIGTIMER.
17328 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
17329 remove unnecessary removal of SIGTIMER.
17330 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
17331 include-signals.h rename.
17332 * nptl/pthreadP.h: Likewise.
17333 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
17334 __is_internal_signal instead of __nptl_is_internal_signal.
17335
6b5c8607 173362018-02-22 Andrew Waterman <andrew@sifive.com>
fdcc6253 17337
7e04eb29 17338 [BZ # 22884]
fdcc6253
AW
17339 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
17340 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
17341 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
17342 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
17343
8090720a
DD
173442018-02-22 DJ Delorie <dj@delorie.com>
17345
17346 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
17347
6ca24c43
SP
173482018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
17349
17350 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
17351 do_misaligned, not misaligned8.
17352
e9537ddd
SE
173532018-02-22 Steve Ellcey <sellcey@cavium.com>
17354
17355 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
17356 Add memcpy_thunderx2.
17357 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
17358 Increment to 4.
17359 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
17360 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
17361 and IS_THUNDERX2PA checks.
17362 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
17363 Use macro to set name appropriately.
17364 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
17365 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
17366 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
17367 New macro.
17368 (IS_THUNDERX2): New macro.
17369
6e336476
SL
173702018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
17371
17372 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17373
34957904
ZW
173742018-02-21 Zack Weinberg <zackw@panix.com>
17375
30bfee26
ZW
17376 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
17377 Define here, unconditionally.
17378 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
17379 * libio/libioP.h: Remove #if 0 blocks.
17380 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
17381 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
17382 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
17383
17384 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
17385 Assume weak_alias is always defined.
17386
17387 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
17388 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
17389 Remove #if 0 and #ifdef TODO blocks.
17390 Assume text_set_element is always defined.
17391
17392 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
17393 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
17394 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
17395
df6c012b
ZW
17396 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
17397 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
17398 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
17399 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
17400 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
17401 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
17402 Reformat bit flags for _flags field to make occupancy clearer.
17403 Update commentary.
17404 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
17405 Keep definitions consistent with those in libio/libio.h.
17406
17407 * libio/libio.h (_IO_file_flags): Remove macro.
17408 All uses changed to _flags.
17409
177aad3f
ZW
17410 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
17411 (__HAVE_COLUMN, _IO_BE): Don't define.
17412 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
17413 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
17414 * libio/libioP.h (EOF): Don't define.
17415 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
17416 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
17417 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
17418 testing _IO_UNIFIED_JUMPTABLES.
17419
9964a145
ZW
17420 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
17421 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
17422 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
17423 (_IO_size_t): Delete; all uses changed to size_t.
17424 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
17425 (_IO_off_t): Delete; all uses changed to off_t.
17426 (_IO_off64_t): Delete; all uses changed to off64_t.
17427 (_IO_pid_t): Delete; all uses changed to pid_t.
17428 (_IO_uid_t): Delete; all uses changed to uid_t.
17429 (_IO_wint_t): Delete; all uses changed to wint_t.
17430 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
17431 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
17432 (_IO_cookie_io_functions_t): Delete; all uses changed to
17433 cookie_io_functions_t.
17434 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
17435 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
17436 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
17437 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
17438
17439 * libio/iofopncook.c: Remove unnecessary forward declarations.
17440 * libio/iolibio.h: Correct outdated commentary.
17441 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
17442 * stdio-common/fxprintf.c (__fxprintf_nocancel):
17443 Remove unnecessary casts.
17444 * stdio-common/getline.c: Use _IO_getdelim directly.
17445 Don't redefine ssize_t.
17446 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
17447 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
17448 Remove outdated comments.
17449 * stdio-common/vfscanf.c: Don't redefine va_list.
17450
34957904
ZW
17451 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
17452 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
17453 Remove preprocessor conditionals on _LIBC and __USE_GNU,
17454 which are always true, and __cplusplus, which is always false.
17455
30ac923d
JM
174562018-02-21 Joseph Myers <joseph@codesourcery.com>
17457
039c721a
JM
17458 [BZ #15105]
17459 [BZ #19463]
17460 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
17461 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
17462 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
17463 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
17464 libc_hidden_proto.
17465 [!_ISOMAC] (putc_unlocked): Likewise.
17466 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
17467 define inline if [__USE_EXTERN_INLINES].
17468 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
17469 putc_unlocked.
17470
30ac923d
JM
17471 [BZ #15105]
17472 [BZ #19463]
17473 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
17474 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
17475 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
17476 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
17477 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
17478 getc_unlocked.
17479 * time/tzfile.c (__tzfile_read): Likewise.
17480
7ec5f946
MF
174812018-02-21 Mike FABIAN <mfabian@redhat.com>
17482
17483 [BZ #22517]
17484 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
17485
0d217f40
RJ
174862018-02-21 Rical Jasan <ricaljasan@pacific.net>
17487
17488 * io/fcntl.h: Fix a typo in a comment.
17489
862b4502
RJ
174902018-02-21 Rical Jasan <ricaljasan@pacific.net>
17491
17492 [BZ #22862]
17493 * include/features.h: Add _ISOC11_SOURCE to test for whether to
17494 define _DEFAULT_SOURCE.
17495 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
17496
999a6dab
FW
174972018-02-21 Florian Weimer <fweimer@redhat.com>
17498
17499 [BZ #20890]
17500 * elf/cache.c (save_cache): Call fsync on temporary file before
17501 renaming it.
17502 (save_aux_cache): Call fdatasync on temporary file before renaming
17503 it.
17504
52a01100
FW
175052018-02-21 Florian Weimer <fweimer@redhat.com>
17506
17507 [BZ #22787]
17508 * include/caller.h: Remove file.
17509 * elf/dl-caller.c: Likewise.
17510 * elf/Makefile (dl-routines): Remove dl-caller.
17511 (shared-only-routines): Do not add dl-caller.
17512 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
17513 __check_caller.
17514 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
17515 member.
17516 (dl_open_worker): Do not call __check_caller.
17517 (_dl_open): Do not set caller_dl_open member.
17518 * elf/rtld.c (_rtld_global_ro): Do not initialize
17519 _dl_check_caller member.
17520 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
17521 _dl_check_caller member.
17522 (_dl_check_caller): Remove declaration.
17523 * sysdeps/unix/sysv/linux/dl-execstack.c
17524 (_dl_make_stack_executable): Do not call __check_caller.
17525
b5bf62e4
ST
175262018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
17527
17528 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
315304d2 17529 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
b5bf62e4 17530
e8d190b9
RJ
175312018-02-20 Rical Jasan <ricaljasan@pacific.net>
17532
17533 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
17534 description.
17535
6a3962c4
RJ
175362018-02-20 Rical Jasan <ricaljasan@pacific.net>
17537
da81ae64 17538 [BZ #16335]
6a3962c4
RJ
17539 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
17540 of 199606L, 200112L, and 200809L.
17541 (_XOPEN_SOURCE): Document special values of 600 and 700.
17542 (_ISOC11_SOURCE): Document macro.
17543 (_ATFILE_SOURCE): Likewise.
17544 (_FORTIFY_SOURCE): Likewise.
17545
ec481ad8
JM
175462018-02-19 Joseph Myers <joseph@codesourcery.com>
17547
17548 [BZ #15105]
17549 [BZ #19463]
17550 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
17551 and define as weak alias of __ferror_unlocked. Use
17552 libc_hidden_weak.
17553 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
17554 libc_hidden_proto.
17555 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
17556 function if [__USE_EXTERN_INLINES].
17557 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
17558 ferror_unlocked.
17559
7d15ef84
RJ
175602018-02-19 Rical Jasan <ricaljasan@pacific.net>
17561
17562 [BZ #6889]
17563 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
17564
f8d79582
AJ
175652018-02-18 Aurelien Jarno <aurelien@aurel32.net>
17566
17567 [BZ #22818]
17568 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
17569 the GLIBC_2.1 version.
17570
56456a2a
AJ
175712018-02-18 Aurelien Jarno <aurelien@aurel32.net>
17572
17573 [BZ #21508]
17574 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
17575 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
17576 intl/tst-gettext-de.po from po/de.po by removing the
17577 POT-Creation-Date line.
17578 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
17579 ../po/de.po.
17580 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
17581 ../po/de.po.
17582
13768813
ST
175832018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
17584
17585 * mach/Makefile (headers): Add mach/param.h.
17586 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
17587 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
dd1efd8c
ST
17588 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
17589 (__ptsname_r): Move implementation to...
17590 (__ptsname_internal): ... new function. Add filling the STP
17591 structure.
13768813 17592
6aca1b61
JDA
175932018-02-17 John David Anglin <danglin@gcc.gnu.org>
17594
17595 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
17596 idouble to 1 ULP.
17597
16efad51
RJ
175982018-02-16 Rical Jasan <ricaljasan@pacific.net>
17599
17600 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
17601 syntax.
17602
87245073
SL
176032018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
17604
17605 * nptl/Makefile (tst-mutex8-ENV): Delete.
17606 * nptl/tst-mutex8.c (check_type):
17607 Add runtime check if mutex will be elided.
17608
7fc03cf3
JM
176092018-02-15 Joseph Myers <joseph@codesourcery.com>
17610
db9881ec
JM
17611 [BZ #20980]
17612 [BZ #21234]
17613 * manual/install.texi (Configuring and compiling): Describe
17614 passing CC and CFLAGS on configure command line, not as
17615 environment variables. Use @code markup on those variables.
17616 Specify what options go in CC and what go in CFLAGS. Note the
17617 requirement to compile with optimization.
17618 * INSTALL: Regenerated.
17619
3785b31c
JM
17620 [BZ #18124]
17621 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
17622 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
17623 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
17624 __sigprocmask instead of sigprocmask.
17625 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
17626 Likewise.
17627 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
17628 __sigsetjmp and sigprocmask.
17629
055ac2a7
JM
17630 [BZ #15105]
17631 * include/argz.h (argz_next): Use libc_hidden_proto.
17632 (__argz_next): Likewise.
17633 * string-argz-next.c (__argz_next): Use libc_hidden_def.
17634 (argz_next): Use libc_hidden_weak.
17635
e4452a2d
JM
17636 [BZ #15105]
17637 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
17638 libc_hidden_proto.
17639 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
17640 libc_hidden_def.
17641
499b3153
JM
17642 [BZ #15105]
17643 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
17644 libc_hidden_proto.
17645 * libio/iofputs.c (fputs): Use libc_hidden_weak.
17646
7fc03cf3
JM
17647 [BZ #15105]
17648 [BZ #19463]
17649 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
17650 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
17651 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
17652 (__feof_unlocked): New declaration, and inline function if
17653 [__USE_EXTERN_INLINES].
17654 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
17655 instead of feof_unlocked.
17656 * intl/localealias.c [_LIBC] (FEOF): Likewise.
17657 * nss/nsswitch.c (nss_parse_file): Likewise.
17658 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
17659 Likewise.
17660 * time/getdate.c (__getdate_r): Likewise.
17661 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
17662 Define as macro to call __feof_unlocked.
17663
0c8a67a5
WD
176642018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
17665
17666 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
17667
610ee1fc
WD
176682018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
17669
17670 * math/Makefile: Remove mpexp.c and mplog.c
17671 * sysdeps/i386/fpu/mpexp.c: Delete file.
17672 * sysdeps/i386/fpu/mplog.c: Likewise.
17673 * sysdeps/ia64/fpu/mpexp.c: Likewise.
17674 * sysdeps/ia64/fpu/mplog.c: Likewise.
17675 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
17676 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
17677 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
17678 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
17679 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
17680 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
17681 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
17682 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
17683 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
17684 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17685 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
17686 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
17687 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17688 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
17689 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
17690 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17691
8e7196c8
SL
176922018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
17693
17694 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17695
4f55ad0b
AZ
176962018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17697
17698 * sysdeps/sh/libm-test-ulps: Update.
17699
261a851c
TMQMF
177002018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17701
17702 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
17703 idouble to 1 ULP.
17704
e16deca6
ZW
177052018-02-12 Zack Weinberg <zackw@panix.com>
17706
17707 [BZ #19239]
17708 * posix/sys/types.h: Don't include sys/sysmacros.h.
17709 * misc/sys/sysmacros.h: Remove the conditional deprecation
17710 warnings for the macros defined by this header.
17711
de800d83
SN
177122018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17713
17714 * manual/probes.texi: Remove slowexp probes.
17715 * math/Makefile: Remove slowexp.
17716 * sysdeps/generic/math_private.h (__slowexp): Remove.
17717 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
17718 document error bounds.
17719 * sysdeps/i386/fpu/slowexp.c: Remove.
17720 * sysdeps/ia64/fpu/slowexp.c: Remove.
17721 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
17722 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
17723 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
17724 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
17725 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
17726 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
17727 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
17728 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
17729 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
17730 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
17731 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
17732
c3d466cb
WD
177332018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
17734
17735 [BZ #13932]
17736 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
17737 * benchtests/pow-inputs: Update comment for slow path cases.
17738 * manual/probes.texi (slowpow_p10): Delete removed probe.
17739 (slowpow_p10): Likewise.
17740 * math/Makefile: Remove halfulp.c and slowpow.c.
17741 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
17742 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
17743 (__halfulp): Remove.
17744 (__slowpow): Remove.
17745 * sysdeps/i386/fpu/halfulp.c: Delete file.
17746 * sysdeps/i386/fpu/slowpow.c: Likewise.
17747 * sysdeps/ia64/fpu/halfulp.c: Likewise.
17748 * sysdeps/ia64/fpu/slowpow.c: Likewise.
17749 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
17750 improve comments and add error analysis.
17751 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
17752 (power1): Remove function:
17753 (log1): Remove error argument, add error analysis.
17754 (my_log2): Remove function.
17755 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
17756 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17757 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
17758 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
17759 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
17760 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
17761 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
17762 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
17763 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
17764 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
17765 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
17766 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17767 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
17768 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17769
7bb087bd
ST
177702018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
17771
17772 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
17773 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
17774
2fd4bbaa
DL
177752018-02-10 Dmitry V. Levin <ldv@altlinux.org>
17776
17777 [BZ #22433]
17778 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
17779 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
17780 and PTRACE_SETHBPREGS.
17781
402ecba4
ZW
177822018-02-10 Zack Weinberg <zackw@panix.com>
17783
17784 [BZ #22830]
17785 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
17786 correctly.
17787 * malloc/tst-malloc-stats-cancellation.c: New test case.
17788 * malloc/Makefile: Add new test case.
17789
4f5b921e
WD
177902018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
17791
17792 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
17793
a85b70db
JM
177942018-02-10 Joseph Myers <joseph@codesourcery.com>
17795
d8742dd8
JM
17796 * math/Makefile (libm-narrow-fns): Add add.
17797 (libm-test-funcs-narrow): Likewise.
17798 * math/Versions (GLIBC_2.28): Add narrowing add functions.
17799 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
17800 * math/gen-auto-libm-tests.c (test_functions): Add add.
17801 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
17802 (NARROW_ADD_ROUND_TO_ODD): Likewise.
17803 (NARROW_ADD_TRIVIAL): Likewise.
17804 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
17805 macro.
17806 (__daddl): Likewise.
17807 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
17808 dadd.
17809 (CFLAGS-nldbl-dadd.c): New variable.
17810 (CFLAGS-nldbl-fadd.c): Likewise.
17811 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17812 __nldbl_daddl.
17813 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
17814 prototype.
17815 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
17816 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
17817 * math/auto-libm-test-in: Add tests of add.
17818 * math/auto-libm-test-out-narrow-add: New generated file.
17819 * math/libm-test-narrow-add.inc: New file.
17820 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
17821 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
17822 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
17823 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
17824 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
17825 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
17826 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
17827 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
17828 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
17829 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
17830 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
17831 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
17832 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
17833 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
17834 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
17835 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
17836 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
17837 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
17838 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17839 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17840 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17841 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17842 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17843 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17844 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17845 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17846 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17847 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17848 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17849 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17850 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17851 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17856 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17857 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17858 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17859 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17860 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17861 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17862 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
17863 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
17864 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17865 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17866
a85b70db
JM
17867 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
17868 (f128-pairs): New variable.
17869 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
17870 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
17871 to CFLAGS.
17872 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
17873 Also make tests add $(f128-loader-link) to gnulib-tests.
17874
6a1ff640
DD
178752018-02-09 DJ Delorie <dj@redhat.com>
17876
17877 [BZ #22827]
17878 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
17879 64-bit ELF type for 64-bit ELF objects.
17880
bfd47587
JM
178812018-02-09 Joseph Myers <joseph@codesourcery.com>
17882
31958338
JM
17883 * math/libm-test-driver.c (snan_tests_arg): New variable.
17884 * math/libm-test-support.h (snan_tests_arg): New declaration.
17885 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
17886
8e554659
JM
17887 * math/Makefile (test-type-pairs): New variable.
17888 (test-type-pairs-f64xf128-yes): Likewise.
17889 (tests): Add test-narrow-macros.
17890 (libm-test-funcs-narrow): New variable.
17891 (libm-test-c-narrow): Likewise.
17892 (generated): Add $(libm-test-c-narrow).
17893 (libm-tests-base-narrow): New variable.
17894 (libm-tests-narrow): Likewise.
17895 (libm-tests): Add $(libm-tests-narrow).
17896 (libm-tests-for-type): Handle $(libm-tests-narrow).
17897 (libm-test-c-narrow-obj): New variable.
17898 ($(libm-test-c-narrow-obj)): New rule.
17899 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
17900 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
17901 $(o-iterator) to set dependencies and CFLAGS.
17902 * math/gen-auto-libm-tests.c: Document use for narrowing
17903 functions.
17904 (output_for_one_input_case): Take argument NARROW.
17905 (generate_output): Likewise. Update call to
17906 output_for_one_input_case.
17907 (main): Take --narrow option. Update call to generate_output.
17908 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
17909 (apply_lit): Update call to _apply_lit.
17910 (apply_arglit): New function.
17911 (parse_args): Handle "a" arguments.
17912 (parse_auto_input): Handle format names using ":".
17913 * math/README.libm-test: Document "a" parameter type.
17914 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
17915 (ARG_TYPE_TRUE_MIN): Likewise.
17916 (ARG_TYPE_MAX): Likwise.
17917 (ARG_MIN_EXP): Likewise.
17918 (ARG_MAX_EXP): Likewise.
17919 (ARG_MANT_DIG): Likewise.
17920 (TEST_COND_arg_ibm128): Likewise.
17921 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
17922 (TEST_COND_arg_fmt): New macro.
17923 (init_max_error): Update prototype.
17924 * math/libm-test-support.c (test_ibm128): New variable.
17925 (init_max_error): Take argument testing_ibm128 and set test_ibm128
17926 instead of using [TEST_COND_ibm128] conditional.
17927 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
17928 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
17929 [TEST_NARROW] (TEST_MSG): New definition.
17930 (arg_plus_zero): New macro.
17931 (arg_minus_zero): Likewise.
17932 (arg_plus_infty): Likewise.
17933 (arg_minus_infty): Likewise.
17934 (arg_qnan_value_pl): Likewise.
17935 (arg_qnan_value): Likewise.
17936 (arg_snan_value_pl): Likewise.
17937 (arg_snan_value): Likewise.
17938 (arg_max_value): Likewise.
17939 (arg_min_value): Likewise.
17940 (arg_min_subnorm_value): Likewise.
17941 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
17942 (RUN_TEST_LOOP_aa_f): New macro.
17943 (TEST_SUFF): New macro.
17944 (TEST_SUFF_STR): Likewise.
17945 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
17946 (TEST_COND_any_ibm128): New macro.
17947 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
17948 this_func. Update call to init_max_error.
17949 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
17950 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
17951 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
17952 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
17953 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
17954 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
17955 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
17956 * math/test-math-scalar.h (TEST_NARROW): Likewise.
17957 * math/test-math-vector.h (TEST_NARROW): Likewise.
17958 * math/test-arg-double.h: New file.
17959 * math/test-arg-float128.h: Likewise.
17960 * math/test-arg-float32x.h: Likewise.
17961 * math/test-arg-float64.h: Likewise.
17962 * math/test-arg-float64x.h: Likewise.
17963 * math/test-arg-ldouble.h: Likewise.
17964 * math/test-math-narrow.h: Likewise.
17965 * math/test-narrow-macros.c: Likewise.
17966 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
17967 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
17968 test-narrow-macros-ldbl-64.
17969 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
17970
63716ab2
JM
17971 * math/bits/mathcalls-narrow.h: New file.
17972 * include/bits/mathcalls-narrow.h: Likewise.
17973 * math/math-narrow.h: Likewise.
17974 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
17975 (__MATHCALL_NARROW_ARGS_2): Likewise.
17976 (__MATHCALL_NARROW_ARGS_3): Likewise.
17977 (__MATHCALL_NARROW_NORMAL): Likewise.
17978 (__MATHCALL_NARROW_REDIR): Likewise.
17979 (__MATHCALL_NARROW): Likewise.
17980 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
17981 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
17982 defined.
17983 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
17984 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
17985 (libm-narrow-fns): New variable.
17986 (libm-narrow-types-basic): Likewise.
17987 (libm-narrow-types-ldouble-yes): Likewise.
17988 (libm-narrow-types-float128-yes): Likewise.
17989 (libm-narrow-types-float128-alias-yes): Likewise.
17990 (libm-narrow-types): Likewise.
17991 (libm-routines): Add narrowing functions.
17992 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
17993 (libc_feholdexcept_setroundf128): New macro.
17994 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
17995 * sysdeps/ieee754/float128/float128_private.h: Include
17996 <math/math-narrow.h>.
17997 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
17998 Undefine and redefine.
17999 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
18000 (libm_alias_float_ldouble): Undefine and redefine.
18001 (libm_alias_double_ldouble): Likewise.
18002
bfd47587
JM
18003 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
18004
3f8d9d58
WD
180052018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
18006
18007 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
18008 FPCR/FPSR.
18009
1f6676d7
RJ
180102018-02-09 Rical Jasan <ricaljasan@pacific.net>
18011
18012 * manual/creature.texi: Convert references to gcc.info to gcc.
18013 * manual/stdio.texi: Likewise.
18014 * manual/string.texi: Likewise.
18015
d80441dd
JM
180162018-02-07 Joseph Myers <joseph@codesourcery.com>
18017
15081be9
JM
18018 [BZ #17979]
18019 * posix/bits/types.h (__int_least8_t): New typedef.
18020 (__uint_least8_t): Likewise.
18021 (__int_least16_t): Likewise.
18022 (__uint_least16_t): Likewise.
18023 (__int_least32_t): Likewise.
18024 (__uint_least32_t): Likewise.
18025 (__int_least64_t): Likewise.
18026 (__uint_least64_t): Likewise.
18027 * sysdeps/generic/stdint.h (int_least8_t): Define using
18028 __int_least8_t.
18029 (int_least16_t): Define using __int_least16_t.
18030 (int_least32_t): Define using __int_least32_t.
18031 (int_least64_t): Define using __int_least64_t.
18032 (uint_least8_t): Define using __uint_least8_t.
18033 (uint_least16_t): Define using __uint_least16_t.
18034 (uint_least32_t): Define using __uint_least32_t.
18035 (uint_least64_t): Define using __uint_least64_t.
18036 * wcsmbs/uchar.h: Include <bits/types.h>.
18037 (char16_t): Define using __uint_least16_t conditional only on
18038 [!__USE_ISOCXX11].
18039 (char32_t): Define using __uint_least32_t conditional only on
18040 [!__USE_ISOCXX11].
18041 * wcsmbs/test-char-types.c: New file.
18042 * wcsmbs/Makefile (tests): Add test-char-types.
18043
d80441dd
JM
18044 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
18045 version to 4.0.1.
18046
6c6c962a
ZW
180472018-02-07 Zack Weinberg <zackw@panix.com>
18048
63fb8f9a
ZW
18049 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
18050 Delete all contents except for definitions of _G_HAVE_MMAP and
18051 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
18052 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
18053 sysdeps/unix/sysv/linux/_G_config.h. Make same content
18054 change as above.
18055
18056 * libio/libio.h: Don't include bits/_G_config.h here.
18057 Include stddef.h with __need_wchar_t defined. Include
18058 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
18059 Define _IO_iconv_t here, directly.
18060 Don't define _IO_HAVE_ST_BLKSIZE.
18061 * libio/libioP.h: Include _G_config.h here. Move include of
18062 shlib-compat.h up with rest of includes. Simplify conditionals
18063 controlling definition of _IO_JUMPS_OFFSET.
18064
18065 * csu/init.c: Remove always-true #if around entire file.
18066 Don't include stdio.h. Set _IO_stdin_used to hardwired
18067 constant 0x20001, and update commentary.
18068 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
18069 Replace all uses of _G_va_list with __gnuc_va_list.
18070 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
18071 instead of #if _IO_HAVE_ST_BLKSIZE.
18072 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
18073 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
18074 not #ifdef.
18075
6c6c962a
ZW
18076 * libio/bits/libio.h: Move back to libio/libio.h and adjust
18077 multiple-include guard to match.
18078 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
18079 into this file.
18080 Remove preprocessor conditionals that are always true and/or
18081 redundant to other preprocessor conditionals in the same nest.
18082 Include shlib-compat.h unconditionally.
18083 Error out if _LIBC is not defined, or if _ISOMAC is defined,
18084 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
18085 defined after including stdio.h.
18086 Use __BEGIN_DECLS/__END_DECLS.
18087
18088 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
18089 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
18090 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
18091
a4fea3f2
ZW
180922018-02-07 Zack Weinberg <zackw@panix.com>
18093
18094 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
18095 New single-type headers split from _G_config.h.
18096 * libio/bits/types/cookie_io_functions_t.h
18097 * libio/bits/types/struct_FILE.h
18098 New single-type headers split from libio.h.
18099
18100 * libio/Makefile: Install the above new headers. Don't install
18101 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
18102 bits/libio-ldbl.h.
18103 * libio/_G_config.h, libio/libio.h: Delete file.
18104
18105 * libio/bits/libio.h: Remove improper-inclusion guard.
18106 Include stdio.h and don't repeat anything that it does.
18107 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
18108 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
18109 __io_read_fn as cookie_read_function_t,
18110 __io_write_fn as cookie_write_function_t,
18111 __io_seek_fn as cookie_seek_function_t,
18112 __io_close_fn as cookie_close_function_t,
18113 and _IO_cookie_io_functions_t as cookie_io_functions_t.
18114 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
18115 here, in the "compatibility defines" section. Remove an #if 0
6c6c962a 18116 block. Use the "body" macros from bits/types/struct_FILE.h to
a4fea3f2
ZW
18117 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
18118 and _IO_ferror_unlocked.
18119 Move prototypes of __uflow and __overflow...
18120
18121 * libio/stdio.h: ...here. Don't include bits/libio.h.
18122 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
6c6c962a 18123 directly from stdarg.h. Include bits/types/__fpos_t.h,
a4fea3f2
ZW
18124 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
18125 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
18126 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
18127 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
18128 cookie_io_functions_t, not _IO_cookie_io_functions_t;
18129 __ssize_t, not _IO_ssize_t. Unconditionally define
18130 BUFSIZ as 8192 and EOF as (-1).
18131
18132 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
18133 macros from bits/types/struct_FILE.h instead of _IO_* macros
18134 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
18135 instead of _IO_ssize_t.
18136 * libio/bits/stdio2.h: Similarly.
18137
18138 * libio/iolibio.h: Add multiple-include guard.
18139 Include bits/libio.h after stdio.h.
18140 * libio/libioP.h: Add multiple-include guard.
18141 Include stdio.h and bits/libio.h before iolibio.h.
18142
6c6c962a 18143 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
a4fea3f2
ZW
18144 * include/bits/types/cookie_io_functions_t.h
18145 * include/bits/types/struct_FILE.h: New wrappers.
18146
18147 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
6c6c962a
ZW
18148 Get definitions of _G_fpos_t and _G_fpos64_t from
18149 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
18150 respectively. Remove improper-inclusion guards.
a4fea3f2 18151
6c6c962a 18152 * conform/data/stdio.h-data: Update expectations of va_list.
a4fea3f2 18153 * scripts/check-installed-headers.sh: Remove special case for
6c6c962a 18154 libio.h and _G_config.h.
a4fea3f2 18155
ce999220
JM
181562018-02-07 Joseph Myers <joseph@codesourcery.com>
18157
8b4a1182
JM
18158 [BZ #15105]
18159 [BZ #19463]
18160 * include/sys/sysmacros.h [!_ISOMAC]
18161 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
18162 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
18163 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
18164 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
18165 libc_hidden_proto.
18166 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
18167 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
18168 Likewise.
18169 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
18170 Undefine and redefine to add use __gnu_dev_ prefix.
18171 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
18172 Likewise.
18173 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
18174 and define as hidden inline function.
18175 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
18176 Likewise.
18177 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
18178 Likewise.
18179 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
18180 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
18181 (gnu_dev_minor): Likewise.
18182 (gnu_dev_makedev): Likewise.
18183 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
18184 makedev.
18185 * posix/wordexp.c (exec_comm_child): Likewise.
18186 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
18187 instead of minor and __gnu_dev_major instead of major.
18188 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
18189 __gnu_dev_major instead of major.
18190 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
18191 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
18192 instead of gnu_dev_minor.
18193 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
18194 (SLAVE_P): Likewise.
18195 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
18196 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
18197 instead of major.
18198
ce999220
JM
18199 [BZ #21313]
18200 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
18201 in another place.
18202 * locale/weightwc.h (findidx): Likewise.
18203
b7c83ca3
WD
182042018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
18205
18206 * manual/probes.texi (slowlog): Delete documentation of removed probe.
18207 (slowlog_inexact): Likewise
18208 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
18209 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
18210
388ff7bd
IG
182112018-02-07 Igor Gnatenko <ignatenko@redhat.com>
18212
18213 [BZ #22797]
18214 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
18215 missing second underscore to parameter name.
18216
663e7d78
JM
182172018-02-06 Joseph Myers <joseph@codesourcery.com>
18218
0d40d0ec
JM
18219 [BZ #14508]
18220 [BZ #15512]
18221 [BZ #17082]
18222 [BZ #20530]
18223 * bits/byteswap.h: Update file comment. Do not include
18224 <bits/byteswap-16.h>.
18225 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
18226 constant.
18227 (__bswap_16): Define as inline function.
18228 (__bswap_constant_32): Reformat definition.
18229 (__bswap_32): Always define as inline function, not macro, using
18230 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
18231 otherwise __bswap_constant_32.
18232 (__bswap_constant_64): Reformat definition. Do not use
18233 __extension__ here.
18234 (__bswap_64): Always define as inline function, not macro. Use
18235 __extension__ on function definition. Use __builtin_bswap64 if
18236 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
18237 * string/test-endian-file-scope.c: New file.
18238 * string/test-endian-sign-conversion.c: Likewise.
18239 * string/Makefile (headers): Remove bits/byteswap-16.h.
18240 (tests): Add test-endian-file-scope and
18241 test-endian-sign-conversion.
18242 (CFLAGS-test-endian-sign-conversion.c): New variable.
18243 * bits/byteswap-16.h: Remove file.
18244 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
18245 * sysdeps/ia64/bits/byteswap.h: Likewise.
18246 * sysdeps/m68k/bits/byteswap.h: Likewise.
18247 * sysdeps/s390/bits/byteswap-16.h: Likewise.
18248 * sysdeps/s390/bits/byteswap.h: Likewise.
18249 * sysdeps/tile/bits/byteswap.h: Likewise.
18250 * sysdeps/x86/bits/byteswap-16.h: Likewise.
18251 * sysdeps/x86/bits/byteswap.h: Likewise.
18252
383e87c9
JM
18253 [BZ #17721]
18254 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
18255 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
18256 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
18257 199901L] (__restrict): Define to restrict.
18258
d92c2759
JM
18259 [BZ #19667]
18260 * string/testcopy.c: Include <support/support.h>. Do not include
18261 <malloc.h>. Use <support/test-driver.c>.
18262 (main): Rename to do_test. Make static. Use xmalloc instead of
18263 malloc.
18264
625fb764
JM
18265 [BZ #13575]
18266 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
18267 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
18268 (SSIZE_MAX): Define to INT_MAX.
18269 * posix/test-ssize-max.c: New file.
18270 * posix/Makefile (tests): Add test-ssize-max.
18271
02325d6c
JM
18272 [BZ #19668]
18273 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
18274 <support/support.h>. Do not include <malloc.h>.
18275 (query_auxv): Use xmalloc instead of malloc.
18276
663e7d78
JM
18277 [BZ #14553]
18278 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
18279 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
18280 instead of loff_t.
18281
6b5c8607 182822018-02-06 Florian Weimer <fweimer@redhat.com>
6d7aa2b5
FW
18283
18284 [BZ #18023]
18285 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18286 Use scratch_buffer instead of extend_alloca.
18287
de6da571
ZW
182882018-02-06 Zack Weinberg <zackw@panix.com>
18289
26c07172
ZW
18290 * libio/stdio.h: Don't define getc or putc as macros.
18291 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
18292 not _IO_getc and _IO_putc.
18293
de6da571
ZW
18294 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
18295 * stdio-common/tstgetln.c: Don't redefine ssize_t.
18296
92669d6e
JM
182972018-02-06 Joseph Myers <joseph@codesourcery.com>
18298
c2b84df9
JM
18299 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
18300 (TCP_FASTOPEN_NO_COOKIE): Likewise.
18301
41376f8c
JM
18302 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
18303
d28bf648
JM
18304 [BZ #14890]
18305 * elf/elf.h (NT_PRFPREG): New macro.
18306 (NT_S390_VXRS_LOW): Likewise.
18307 (NT_S390_VXRS_HIGH): Likewise.
18308 (NT_S390_GS_CB): Likewise.
18309 (NT_S390_GS_BC): Likewise.
18310 (NT_S390_RI_CB): Likewise.
18311
e76def72
JM
18312 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
18313 (MAP_SYNC): New macro.
18314 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
18315 Likewise.
18316 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
18317 (MAP_SYNC): Likewise.
18318 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
18319 (MAP_SYNC): Likewise.
18320 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
18321 (MAP_SYNC): Likewise.
18322 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
18323 (MAP_SYNC): Likewise.
18324 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
18325 (MAP_SYNC): Likewise.
18326 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
18327 (MAP_SYNC): Likewise.
18328 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
18329 Likewise.
18330 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
18331 Likewise.
18332
92669d6e
JM
18333 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
18334 (MAP_SHARED_VALIDATE): New macro.
18335 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
18336 (MAP_SHARED_VALIDATE): Likewise.
18337
6a5cac49
L
183382018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18339
18340 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
18341 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
18342 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
18343
b44e0dfb
L
183442018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18345
18346 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
18347 (DT_NUM): Updated to 35.
18348
f886c16c
L
183492018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18350
18351 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
18352 __builtin_expect with __glibc_likely and __glibc_unlikely.
18353 (elf_machine_rela): Likewise.
18354 (elf_machine_lazy_rel): Likewise.
18355
06fbebff
L
183562018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18357
18358 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
8f4bf93f 18359 __builtin_expect with __glibc_likely and __glibc_unlikely.
06fbebff
L
18360 (elf_machine_lazy_rel): Likewise.
18361
371b220f
L
183622018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18363
18364 [BZ #22638]
18365 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
18366 SHARED.
65805016 18367 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
371b220f 18368
f649a1b8
AS
183692018-02-05 Andreas Schwab <schwab@suse.de>
18370
18371 [BZ #22761]
18372 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
18373 string.
18374
9fdb340e
ST
183752018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18376
18377 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
18378 not check against PTHREAD_STACK_MIN.
18379
09e56b9e
SM
183802018-02-02 Sean McKean <smckean83@gmail.com>
18381
18382 [BZ #22735]
18383 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
18384
d4b4a00a
FW
183852018-02-02 Florian Weimer <fweimer@redhat.com>
18386
18387 [BZ #22753]
18388 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
18389 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
18390 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
18391 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
18392 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
18393 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
18394 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
18395 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
18396 * manual/llio.texi (Scatter-Gather): Mention offset -1.
18397 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
18398 * misc/tst-preadvwritev2.c (do_test): Call it.
18399 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
18400
3dfcbfa1
SP
184012018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
18402
84c94d2f
SP
18403 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
18404
96e6a716
SP
18405 * benchtests/bench-memcmp.c: Print json instead of plain text.
18406
3dfcbfa1
SP
18407 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
18408 every test run.
18409
049375e2
JM
184102018-02-01 Joseph Myers <joseph@codesourcery.com>
18411
39f898c6
JM
18412 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
18413 version to 4.15.
18414 (s390_sthyi): New syscall.
18415
6f9a3dd8
JM
18416 * sysdeps/generic/ldbl-classify-compat.h: New file.
18417 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
18418 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
18419 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
18420 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
18421 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
18422 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
18423 * sysdeps/ieee754/dbl-64/s_finite.c: Include
18424 <ldbl-classify-compat.h>.
18425 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18426 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
18427 <ldbl-classify-compat.h>.
18428 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18429 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
18430 <ldbl-classify-compat.h>.
18431 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18432 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
18433 <ldbl-classify-compat.h>.
18434 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18435 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
18436 <ldbl-classify-compat.h>.
18437 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18438 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
18439 <ldbl-classify-compat.h>.
18440 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18441 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
18442 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
18443 * sysdeps/m68k/coldfire/math_private.h: Remove file.
18444 * sysdeps/microblaze/math_private.h: Likewise.
18445 * sysdeps/nios2/math_private.h: Likewise.
18446 * sysdeps/sh/math_private.h: Likewise.
18447
eb65a3d5
JM
18448 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
18449 * sysdeps/m68k/coldfire/math_private.h: ... here.
18450 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
18451 * sysdeps/tile/math_private.h: Likewise.
18452 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
18453 Remove macro.
18454 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
18455 Likewise.
18456
8a6bb1d0
JM
18457 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
18458 Remove macro.
18459 (libc_fetestexcept): Likewise.
18460 (libc_feupdateenv_test): Likewise.
18461 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
18462 (libc_fetestexcept): Likewise.
18463 (libc_feupdateenv_test): Likewise.
18464 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
18465 (libc_fetestexcept): Likewise.
18466 (libc_feupdateenv_test): Likewise.
18467 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
18468 (libc_fetestexcept): Likewise.
18469 (libc_feupdateenv_test): Likewise.
18470
ae1fcb7b
JM
18471 * sysdeps/generic/math_private.h
18472 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
18473 New inline function.
18474 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
18475 Likewise.
18476
b1c347e2
JM
18477 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
18478 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
18479 * sysdeps/generic/math_private.h
18480 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
18481 inline function.
18482 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
18483 Likewise.
18484 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
18485 Likewise.
18486 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
18487 Likewise.
18488 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
18489 Likewise.
18490 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
18491 Likewise.
18492 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
18493 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
18494 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
18495 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
18496 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
18497 (__fegetenv): Likewise.
18498 (fesetenv): Likewise.
18499 (__fesetenv): Likewise.
18500 (feupdateenv): Likewise.
18501 (__feupdateenv): Likewise.
18502 (fegetround): Likewise.
18503 (__fegetround): Likewise.
18504 (fesetround): Likewise.
18505 (__fesetround): Likewise.
18506
d23a4962
JM
18507 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
18508 (feraiseexcept): New macro.
18509 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
18510 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
18511 Remove macro.
18512 (__feraiseexcept): Likewise.
18513 (feclearexcept): Likewise.
18514 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
18515 (__feraiseexcept): Likewise.
18516 (feclearexcept): Likewise.
18517 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
18518 (__feraiseexcept): Likewise.
18519 (feclearexcept): Likewise.
18520 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
18521 (__feraiseexcept): Likewise.
18522 (feclearexcept): Likewise.
18523 (fetestexcept): Likewise.
18524
5f167950
JM
18525 * sysdeps/m68k/coldfire/math-tests.h: New file.
18526
ccc9035a
JM
18527 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
18528 * sysdeps/m68k/bits/fenv.h: ... here.
18529 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
18530 not define.
18531 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
18532 Likewise.
18533 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
18534 Likewise.
18535 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
18536 Likewise.
18537 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
18538 Likewise.
18539 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
18540 Define to 0.
18541 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
18542 (__FE_UNDEFINED): New enum constant.
18543 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
18544 Do not define.
18545 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
18546 Likewise.
18547 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
18548 Likewise.
18549 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
18550 to match generic bits/fenv.h.
18551 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
18552 Do not define.
18553
049375e2
JM
18554 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
18555 packed on bits.
18556 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
18557 * soft-fp/half.h (union _FP_UNION_H): Likewise.
18558 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
18559 * soft-fp/single.h (union _FP_UNION_S): Likewise.
18560
f1d73681
CD
185612018-02-01 Carlos O'Donell <carlos@redhat.com>
18562 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
18563 Joseph Myers <joseph@codesourcery.com>
18564
18565 [BZ #21314]
18566 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
18567 (__log1p): Disable -Wmaybe-uninitialized for -Os around
18568 computation using c.
18569 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
18570 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
18571 computation using c.
18572
242cbc90
DL
185732018-02-01 Dmitry V. Levin <ldv@altlinux.org>
18574
086ee48e
DL
18575 * version.h (RELEASE): Set to "development".
18576 (VERSION): Set to "2.27.9000".
18577 * NEWS (2.28): New section.
18578
23158b08
DL
18579 * version.h (RELEASE): Set to "stable".
18580 (VERSION): Set to "2.27".
18581 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
18582
242cbc90
DL
18583 * NEWS: Add the list of bugs fixed in 2.27.
18584
673e2305
AZ
185852018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18586
18587 * stdlib/test-atexit-race-common.c (do_test): Check stack size
18588 against PTHREAD_STACK_MIN.
18589
ced64e01
DL
185902018-02-01 Dmitry V. Levin <ldv@altlinux.org>
18591
18592 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
18593 New entries.
18594 (Rafal Luzynski, Andreas Schwab): Update.
18595
c10c9a5e
RL
185962018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
18597
18598 [BZ #10871]
18599 * NEWS: List the languages which actually use the alternative
18600 months feature in this release. Also explain that "alt_mon" and
18601 "ab_alt_mon" are optional.
18602
650ba77a
IM
186032018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
18604
18605 [BZ #22765]
18606 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
18607
93493119
DL
186082018-01-31 Dmitry V. Levin <ldv@altlinux.org>
18609
18610 * manual/install.texi (Tools for Compilation): Update the newest
18611 versions of gcc, binutils, texinfo, gawk, bison, and sed.
18612 * INSTALL: Regenerated.
18613
363e4519 186142018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
407552cf
ST
18615
18616 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
18617 instead of __builtin_expect.
18618
d7536874
FW
186192018-01-30 Florian Weimer <fweimer@redhat.com>
18620
18621 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
18622 data.
18623 * nss/tst-nss-getpwent.c (do_test): Likewise.
18624
9a1b267d
RL
186252018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
18626
18627 [BZ #10871]
18628 * localedata/locales/hr_HR (mon): Rename to...
18629 (alt_mon): This.
18630 (mon): Import from CLDR (genitive case).
18631 (d_t_fmt): Update the comment.
18632
9a179328
AS
186332018-01-29 Andreas Schwab <schwab@linux-m68k.org>
18634
18635 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
18636 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
18637 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
18638
e01e0ddc
ST
186392018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
18640
18641 * mach/Versions: Fix version when __mach_host_self_ was added.
18642 * hurd/Versions: Fix version when _hurd_exec_paths was added.
18643 * sysdeps/mach/hurd/i386/ld.abilist: New file.
18644 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
18645 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
18646 * sysdeps/mach/hurd/i386/libc.abilist: New file.
18647 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
18648 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
18649 * sysdeps/mach/hurd/i386/libm.abilist: New file.
18650 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
18651 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
18652 * sysdeps/mach/hurd/i386/librt.abilist: New file.
18653 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
ba729de6
ST
18654 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
18655 || to respect codestyle.
2aadb705
ST
18656 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
18657 (do_test_bz20181): Rename accordingly.
406e7a0a
ST
18658 * malloc/malloc.c: Include <assert.h>.
18659 (assert): Do not define.
18660 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
99dfbef4
ST
18661 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
18662 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
ac56adbb 18663 * sysdeps/mach/hurd/hp-timing.h: New file.
ef4cf463 18664 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
e01e0ddc 18665
521877e1
PD
186662018-01-29 Darius Rad <darius@bluespec.com>
18667
18668 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
18669
532cf290
PD
186702018-01-29 Palmer Dabbelt <palmer@sifive.com>
18671
18672 * sysdeps/init_array/crti.S (.section .init_array): Add
18673 PREINIT_FUNCTION when defined.
40ca951b 18674 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
4215e276 18675 * config.h.in: Regenerate.
ba9e25a6
PD
18676 * manual/platform.texi: Add RISC-V documenation for
18677 __riscv_flush_icache.
c776fa11
PD
18678 * sysdeps/riscv/__longjmp.S: New file.
18679 * sysdeps/riscv/backtrace.c: Likewise.
18680 * sysdeps/riscv/bits/endian.h: Likewise.
18681 * sysdeps/riscv/bits/setjmp.h: Likewise.
18682 * sysdeps/riscv/bits/wordsize.h: Likewise.
18683 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
18684 * sysdeps/riscv/bsd-setjmp.c: Likewise.
18685 * sysdeps/riscv/dl-trampoline.S: Likewise.
18686 * sysdeps/riscv/gccframe.h: Likewise.
18687 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
18688 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
18689 * sysdeps/riscv/machine-gmon.h: Likewise.
18690 * sysdeps/riscv/memusage.h: Likewise.
18691 * sysdeps/riscv/setjmp.S: Likewise.
18692 * sysdeps/riscv/sys/asm.h: Likewise.
18693 * sysdeps/riscv/tls-macros.h: Likewise.
33712660
PD
18694 * sysdeps/riscv/dl-tls.h: New file.
18695 * sysdeps/riscv/libc-tls.c: Likewise.
18696 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
18697 * sysdeps/riscv/nptl/tls.h: Likewise.
18698 * sysdeps/riscv/stackinfo.h: Likewise.
67236aeb
PD
18699 * sysdeps/riscv/bits/fenv.h: New file.
18700 * sysdeps/riscv/e_sqrtl.c: Likewise.
18701 * sysdeps/riscv/fpu_control.h: Likewise.
18702 * sysdeps/riscv/math-tests.h: Likewise.
18703 * sysdeps/riscv/nofpu/Implies: Likewise.
18704 * sysdeps/riscv/sfp-machine.h: Likewise.
18705 * sysdeps/riscv/tininess.h: Likewise.
b2cb5e02
PD
18706 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
18707 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
18708 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
18709 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
18710 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
18711 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
18712 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
18713 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
18714 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
18715 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
18716 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
18717 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
18718 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
18719 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
18720 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
18721 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
18722 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
18723 * sysdeps/riscv/rvd/s_finite.c: Likewise.
18724 * sysdeps/riscv/rvd/s_fma.c: Likewise.
18725 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
18726 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
18727 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
18728 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
18729 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
18730 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
18731 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
18732 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
18733 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
18734 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
18735 * sysdeps/riscv/rvf/fegetround.c: Likewise.
18736 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
18737 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
18738 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
18739 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
18740 * sysdeps/riscv/rvf/fesetround.c: Likewise.
18741 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
18742 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
18743 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
18744 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
18745 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
18746 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
18747 * sysdeps/riscv/rvf/math_private.h: Likewise.
18748 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
18749 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
18750 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
18751 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
18752 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
18753 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
18754 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
18755 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
18756 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
18757 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
18758 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
18759 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
18760 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
18761 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
18762 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
18763 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
d1c09b24
PD
18764 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
18765 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
18766 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
18767 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
36960f0c
PD
18768 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
18769 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
18770 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
18771 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
18772 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
18773 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
18774 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
18775 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
18776 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
7f33b09c
PD
18777 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
18778 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
18779 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
18780 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
18781 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
18782 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
18783 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
18784 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
18785 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
18786 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
18787 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
18788 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
18789 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
18790 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
18791 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
18792 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
18793 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
18794 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
18795 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
18796 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
18797 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
18798 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
ee53fed9
PD
18799 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
18800 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
18801 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
2268c433
PD
18802 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
18803 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
18804 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
18805 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
18806 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
18807 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
18808 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
18809 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
18810 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
18811 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
18812 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18813 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
18814 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
18815 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
c5061557
PD
18816 * sysdeps/riscv/Implies: New file.
18817 * sysdeps/riscv/Makefile: Likewise.
18818 * sysdeps/riscv/configure: Likewise.
18819 * sysdeps/riscv/configure.ac: Likewise.
18820 * sysdeps/riscv/nptl/Makefile: Likewise.
18821 * sysdeps/riscv/preconfigure: Likewise.
18822 * sysdeps/riscv/rv64/Implies-after: Likewise.
18823 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
18824 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
18825 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
18826 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
18827 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
18828 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
18829 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
18830 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
18831 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
18832 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
18833 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
0fd5d876
PD
18834 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
18835 (Config): Likewise.
532cf290 18836
cdd14619
FW
188372018-01-29 Florian Weimer <fweimer@redhat.com>
18838
18839 [BZ #22701]
18840 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
18841 libnsl_hidden_proto.
18842 * include/rpcsvc/yp.h (yp_xdrall): Declare with
18843 libnsl_hidden_proto.
18844 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
18845 * nis/Makefile (libnsl-routines): Add nss-default only for
18846 build-obsolete-nsl.
18847 * nis/nis_defaults.c (__nis_default_ttl): Add
18848 libnsl_hidden_nolink_def.
18849 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
18850 declaration.
18851 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
18852 * nis/ypclnt.c (yp_maplist): Likewise.
18853
b7ccb5de
RN
188542018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
18855
18856 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18857 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
18858
522623e4
JM
188592018-01-29 Joseph Myers <joseph@codesourcery.com>
18860
e3aa6999
JM
18861 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
18862 clean -dxfq for git updates when replacing sources.
18863
088de7d0
JM
18864 * scripts/build-many-glibcs.py (Config.build_gcc): Use
18865 --disable-libcilkrts unconditionally, not just for the final GCC
18866 build for Hurd.
18867
522623e4
JM
18868 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
18869 version to 4.15.
18870
8b406f87
RL
188712018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18872
18873 [BZ #10871]
18874 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
18875 case).
18876
105e90bd
RL
188772018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18878
18879 [BZ #10871]
18880 * localedata/locales/be_BY (mon): Rename to...
18881 (alt_mon): This, then synchronize with CLDR (nominative case).
18882 (abmon): Rename to...
18883 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
18884 (mon): Import from CLDR (genitive case).
18885 (abmon): Likewise.
18886 * localedata/locales/be_BY@latin (mon): Rename to...
18887 (alt_mon): This.
18888 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
18889
18890 * localedata/locales/be_BY@latin (lang_name): Reworded to
18891 "biełaruskaja mova".
18892
561cb414
RL
188932018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18894
18895 [BZ #10871]
18896 * localedata/locales/el_CY (mon): Renamed to...
18897 (alt_mon): This.
18898 (mon): Import from CLDR (genitive case).
18899 * localedata/locales/el_GR: Likewise.
18900
f7bdf30d
RL
189012018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18902
18903 [BZ #10871]
18904 * localedata/locales/ru_RU (mon): Rename to...
18905 (alt_mon): This.
18906 (abmon): Rename to...
18907 (ab_alt_mon): This.
18908 (mon): Import from CLDR (genitive case).
18909 (abmon): Copy from the old content except the 5th month which is
18910 now in the genitive case, even when abbreviated.
18911 * localedata/locales/ru_UA: Likewise.
18912 * time/tst-strptime.c (day_tests): Add an actual example of
18913 a difference between %b and %Ob in Russian.
18914
85285a0c
ST
189152018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
18916
18917 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
da8168df
ST
18918 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
18919 a `c' variable.
3538a4b6 18920 * resolv/res-close.c: Include <stdlib.h>.
b29848b9
ST
18921 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
18922 <sys/wait.h>, <time.h>, <sys/uio.h>.
18923 (NOT_CANCEL_H): Add inclusion guard.
4f66dc23 18924 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
147d1dbb
ST
18925 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
18926 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
18927 return 0.
05ebfe87
ST
18928 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
18929 vm_address_t * to ElfW(Addr) * for dl_main parameter.
61a3a8c6
ST
18930 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
18931 instead of void *.
18932 * sysdeps/pthread/timer_create.c (timer_create): Do not use
18933 timer_ptr2id to cast struct timer_node * to void *.
d4d5b2dd
ST
18934 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
18935 --disable-libcilkrts to gcc configure.
19fd8d0d
ST
18936 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
18937 and make them the default for now.
903d3633
ST
18938 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
18939 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
7dab2d00
ST
18940 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
18941 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
18942 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
18943 MACH_IPC_COMPAT.
06fac9f5
ST
18944 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
18945 __task_terminate would ever return successfully.
f8177753
ST
18946 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
18947 to global scope.
41cdb1eb
ST
18948 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
18949 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
660b7bff
ST
18950 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
18951 critical section to make code simpler and avoid warning.
18952 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
18953 critical section to make code simpler and avoid warning.
844bf921
ST
18954 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
18955 const char * instead of char *.
f8bee46c
ST
18956 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
18957 __hurd_file_name_split, hurd_file_name_split,
18958 __hurd_directory_name_split, hurd_directory_name_split,
18959 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
18960 hurd_file_name_path_lookup): Make lookup function parameter take a
18961 const char *name instead of char *name.
18962 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
18963 __hurd_directory_name_split): Likewise.
18964 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
18965 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
40066975
ST
18966 * sysdeps/mach/hurd/check_native.c: New file.
18967 * sysdeps/mach/hurd/check_pf.c: New file.
7c5b106d
ST
18968 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
18969 (__freeifaddrs): Define macro to freeifaddrs.
5f982b0b
ST
18970 * sysdeps/mach/hurd/libhurduser.abilist: New file.
18971 * sysdeps/mach/libmachuser.abilist: New file.
cef7166a
ST
18972 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
18973 (do_test_bz20181): Rename accordingly.
18974 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
3fc1ecf9
ST
18975 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
18976 <sys/mount.h>.
28f6186f
ST
18977 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
18978 version only if __USE_EXTERN_INLINES is defined.
18979 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
18980 __hurd_sockfail): Likewise.
18981 (_hurd_fd_get): Always declare functions, and provide inline versions
18982 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
18983 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
18984 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
18985 _hurd_port_set): Always declare functions, and provide inline versions
18986 only if __USE_EXTERN_INLINES and _LIBC are defined and
18987 IS_IN(libc).
18988 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
18989 _hurd_critical_section_unlock): Likewise.
18990 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
18991 * __hurd_threadvar_location): Likewise.
18992 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
18993 _hurd_userlink_clear): Likewise.
18994 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
18995 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
18996 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
18997 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
18998 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
18999 __spin_lock_locked): Likewise.
19000 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
19001 __spin_lock_locked): Likewise.
19002 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
19003 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
19004 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
19005 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
19006 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
b1025304
ST
19007 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
19008 _POSIX_NO_TRUNC): Define to 0.
a902a086
ST
19009 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
19010 check size against PTHREAD_STACK_MIN.
625ba81e
ST
19011 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
19012 IS_IN(libpthread)]: Include <sigsetops.h>.
2e52dff4
ST
19013 * mach/Makefile (user-interfaces): Add mach/gnumach.
19014 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
19015 * sysdeps/mach/configure (mach_interface_list): Regenerate.
80463dc6
ST
19016 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
19017 instead of invalid -1.
1f89ac71
ST
19018 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
19019 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
19020 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
19021 <net/ppp_defs.h>.
85285a0c 19022
1fd1e27c 190232018-01-27 Thomas Schwinge <tschwinge@gnu.org>
84814e2a
TS
19024
19025 * hurd/fcntl-internal.h: New file.
19026
3854c5a8
JC
190272018-01-27 James Clarke <jrtc27@jrtc27.com>
19028
7e23a7dd
JC
19029 * sysdeps/hppa/fpu/libm-test-ulps: Update.
19030
3854c5a8
JC
19031 * sysdeps/alpha/fpu/libm-test-ulps: Update.
19032
5503f413
AS
190332018-01-26 Andreas Schwab <schwab@linux-m68k.org>
19034
19035 [BZ #22701]
19036 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
19037 Build only shared objects.
19038
caaf7804
CD
190392018-01-26 Carlos O'Donell <carlos@redhat.com>
19040
19041 * README: Update for hppa.
19042
1cbf818d
PM
190432018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19044
caaf7804
CD
19045 * sysdeps/sparc/fpu/libm-test-ulps: Update
19046 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
1cbf818d 19047
caaf7804 190482018-01-26 Carlos O'Donell <carlos@redhat.com>
2ec0e7ea
CD
19049
19050 Revert:
19051
19052 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19053
19054 [BZ #22563]
19055 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19056 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
19057 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19058 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
19059 to feature_1.
19060
19061 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19062
19063 [BZ #22563]
19064 * bits/types/__cancel_jmp_buf_tag.h: New file.
19065 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
19066 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
19067 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
19068 * nptl/Makefile (headers): Add
19069 bits/types/__cancel_jmp_buf_tag.h.
19070 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
19071 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
19072 * sysdeps/nptl/pthread.h: Include
19073 <bits/types/__cancel_jmp_buf_tag.h>.
19074 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
19075 __cancel_jmp_buf.
19076 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
19077
65f6c94e
RL
190782018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
19079
19080 [BZ #10871]
19081 * localedata/locales/uk_UA (mon): Renamed to...
19082 (alt_mon): This.
19083 (alt_digits): "0" removed and then renamed to...
19084 (mon): This.
19085 (date_fmt): Definition changed not to use the alternative
19086 digits hack.
19087
fb58aac5
PD
190882018-01-25 Palmer Dabbelt <palmer@sifive.com>
19089
19090 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
19091 FLAG_RISCV_FLOAT_ABI_DOUBLE.
19092 * elf/elf.h (EF_RISCV_RVC): New define.
19093 (EF_RISCV_FLOAT_ABI): Likewise.
19094 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
19095 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
19096 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
19097 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
19098 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
19099 define.
19100 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
19101
128c43a2
AS
191022018-01-25 Andreas Schwab <schwab@suse.de>
19103
19104 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
19105 single quotes.
19106 * sysdeps/gnu/configure: Regenerate.
19107 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
19108 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19110 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
19111 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
19112 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
19113 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
19114 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
19115
f9015003
ST
191162018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
19117
48130690 19118 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
47c4b4b0 19119 URL, and run autoconf, make it the default for now.
f9015003 19120
91b2cffa
JM
191212018-01-24 Joseph Myers <joseph@codesourcery.com>
19122
3005b705
JM
19123 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19124 soft-float ColdFire configuration.
19125
69231fab
JM
19126 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
19127 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
19128 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
19129
d4c7e1d0
JM
19130 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
19131 MicroBlaze file.
19132
0cfe5be5
JM
19133 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
19134 ....
19135 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
19136 ... here.
19137 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
19138 New file.
19139
91b2cffa
JM
19140 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
19141 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
19142 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
19143 file.
19144
c739e191
SN
191452018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
19146
19147 [BZ #22742]
19148 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
19149 Rename to __reserved and add comment.
19150 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
19151 Rename to __reserved.
19152
394b5bac
JM
191532018-01-24 Joseph Myers <joseph@codesourcery.com>
19154
19155 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19156 i686-gnu configurations.
19157 (Context.run_builds): Include mig, gnumach and hurd in components
19158 considered.
19159 (Context.checkout): Add mig, gnumach and hurd to components.
19160 (Context.checkout_tar): Add URL mappings for mig, gnumach and
19161 hurd.
19162 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
19163 (Config.build): Install gnumach headers, build mig and install
19164 hurd headers for 'gnu' OS.
19165 (Config.install_gnumach_headers): New function.
19166 (Config.install_hurd_headers): Likewise.
19167 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
19168 when building for 'gnu' OS.
19169
28c3f14f
TK
191702018-01-23 Tobias Klauser <tklauser@distanz.ch>
19171
19172 * manual/tunables.texi (Hardware Capability Tunables): Fix
19173 spelling.
19174
0f5e2da1
RJ
191752018-01-22 Rical Jasan <ricaljasan@pacific.net>
19176
19177 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
19178 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
19179 (ALTMON_11, ALTMON_12): Improve documentation.
19180 * manual/time.texi (strftime): Likewise.
19181
7817b14a
RL
191822018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19183
19184 [BZ #10871]
19185 * localedata/locales/pl_PL: Alternative month names added,
19186 primary month names are genitive now.
19187 * time/tst-strptime.c (day_tests): Actually use a genitive case
19188 of a month name in Polish language.
19189
22390764
RL
191902018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19191
19192 [BZ #10871]
19193 * manual/locale.texi: Document ALTMON_1..12 constants for
19194 nl_langinfo. Specify when to use ALTMON instead of MON.
19195 * manual/time.texi (strftime, strptime): Document GNU extension
19196 permitting O modifier with %B and %b. Specify when to use
19197 %OB instead of %B.
19198
761a585c
RL
191992018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19200
19201 [BZ #10871]
19202 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
19203 names, define them as the same as abbreviated month names explicitly.
19204 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
19205 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
19206 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
19207 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
19208 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
19209 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
19210 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
19211 _NL_WABALTMON_12): New enum constants.
19212 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
19213 wab_alt_mon, and ab_alt_mon_defined members.
19214 (time_output): Output ab_alt_mon and wab_alt_mon members.
19215 (time_read): Read them, initialize them as copies of abmon and wabmon
19216 respectively if they are missing, initialize ab_alt_mon_defined.
19217 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
19218 * locale/programs/locfile-kw.h: Regenerate.
19219 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
19220 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
19221 and ru_RU.UTF-8.
19222 * time/strftime_l.c (a_altmonth, aam_len): New macros.
19223 [!COMPILE_WIDE] (ABALTMON_1): New macro.
19224 (__strftime_internal): Handle %Ob and %Oh formats.
19225 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
19226 (__strptime_internal): Handle %Ob and %Oh formats.
19227 * time/tst-strptime.c (day_tests): Add more tests to parse different
19228 forms of month names including the new %Ob format specifier.
19229
95cb863a
RL
192302018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19231
19232 [BZ #10871]
19233 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
19234 define them as the same as primary full month names explicitly.
19235 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
19236 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
19237 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
19238 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
19239 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
19240 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
19241 _NL_WALTMON_12): New enum constants.
19242 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
19243 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
19244 macros.
19245 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
19246 walt_mon, and alt_mon_defined members.
19247 (time_output): Output alt_mon and walt_mon members.
19248 (time_read): Read them, initialize them as copies of mon and wmon
19249 respectively if they are missing, initialize alt_mon_defined.
19250 * locale/programs/locfile-kw.gperf (alt_mon): Define.
19251 * locale/programs/locfile-kw.h: Regenerate.
19252 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
19253 * localedata/tst-langinfo.c (map): Add tests for the new constants
19254 ALTMON_1 .. ALTMON_12.
19255 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
19256 and pl_PL.UTF-8.
19257 * time/strftime_l.c (f_altmonth): New macro.
19258 (__strftime_internal): Handle %OB format.
19259 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
19260 (__strptime_internal): Handle %OB format.
19261 * time/tst-strptime.c (day_tests): Add tests to parse different forms
19262 of month names including the new %OB format specifier.
19263
4612268a
TMQMF
192642018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19265
19266 [BZ #22685]
19267 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
19268 from ABORT_TRANSACTION.
19269 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
19270 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
19271 ABORT_TRANSACTION_IMPL): Likewise.
19272 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
19273 Linux code, but remove the code that aborts transactions.
19274
64f63cb4
ST
192752018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
19276
19277 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
19278
32ac6e92
RL
192792018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
19280
19281 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
19282 in date: "2004-14-09" should be "2004-09-14".
19283 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
19284 "2003-15-09" should be "2003-09-15".
19285
8e448310
AS
192862018-01-18 Arjun Shankar <arjun@redhat.com>
19287
19288 [BZ #22343]
71aa429b 19289 [BZ #22774]
4590634f 19290 CVE-2018-6485
71aa429b 19291 CVE-2018-6551
8e448310
AS
19292 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
19293 after padding.
19294 (_int_memalign): check for integer overflow before calling
19295 _int_malloc.
19296 * malloc/tst-malloc-too-large.c: New test.
19297 * malloc/Makefile: Add tst-malloc-too-large.
19298
e234d7cb
RL
192992018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
19300
19301 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
19302 in date: "2017-24-07" should be "2017-07-24".
19303 * localedata/locales/mai_IN: Likewise.
19304 * localedata/locales/mai_NP: Likewise.
19305
48b66019
DL
193062018-01-17 Dmitry V. Levin <ldv@altlinux.org>
19307
19308 * po/ru.po: Update translations.
19309
1eeddc58
JM
193102018-01-17 Joseph Myers <joseph@codesourcery.com>
19311
19312 [BZ #22719]
19313 * sysdeps/hppa/backtrace.c: New file.
19314
207a72e2
L
193152018-01-17 H.J. Lu <hongjiu.lu@intel.com>
19316
19317 [BZ #22715]
19318 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
19319 align La_x86_64_retval to VEC_SIZE.
19320
4942c4ea
JM
193212018-01-16 Joseph Myers <joseph@codesourcery.com>
19322
19323 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
19324 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
19325
10d200db
FW
193262018-01-16 Florian Weimer <fweimer@redhat.com>
19327
19328 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
19329 Move tst-thread-exit-clobber ...
19330 [$(CXX)] (tests-unsupported): ... to here.
19331
953c49cc
SN
193322018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
19333
19334 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
19335 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
19336 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
19337 (_dl_aarch64_cap_flags): Update.
19338 (_DL_HWCAP_COUNT): Update.
19339
afce1991
SN
193402018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
19341
19342 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
19343 (_DL_HWCAP_LAST): Remove.
19344 (_DL_HWCAP_COUNT): Move to ...
19345 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
19346 (_DL_HWCAP_COUNT): ... here.
19347
b725132d
FW
193482018-01-16 Florian Weimer <fweimer@redhat.com>
19349
19350 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
19351 mode with GNU extensions.
19352
c9e613a7
AH
193532018-01-15 Alan Hayward <alan.hayward@arm.com>
19354
19355 * elf/elf.h (NT_ARM_SVE): Define.
19356
860b0240
FW
193572018-01-15 Florian Weimer <fweimer@redhat.com>
19358
19359 [BZ #22636]
19360 * nptl/tst-minstack-throw.cc: New file.
19361 * nptl/Makefile (tests): Add tst-minstack-throw.
19362 (LDLIBS-tst-minstack-throw): Link with libstdc++.
19363 [!CXX] (tests-unsupported): Add tst-minstack-throw.
19364
16d0f6ac
JM
193652018-01-15 Joseph Myers <joseph@codesourcery.com>
19366
19367 * scripts/build-many-glibcs.py (Context.checkout): Default
19368 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
19369 version to 1.1.0.
19370
505d3910
CD
193712018-01-13 Carlos O'Donell <carlos@redhat.com>
19372
19373 [BZ #22707]
19374 * elf/elf.h (DF_1_STUB): Define.
19375 (DF_1_PIE): Define.
19376
af1e6be4
TMQMF
193772018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19378
19379 [BZ #22697]
19380 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
19381 Do not add 0.5 to integer or out-of-range arguments.
19382
98d13ce0
DL
193832018-01-12 Dmitry V. Levin <ldv@altlinux.org>
19384
19385 * po/bg.po: Update translations.
19386 * po/cs.po: Likewise.
19387 * po/de.po: Likewise.
19388 * po/ko.po: Likewise.
19389 * po/pl.po: Likewise.
19390 * po/sv.po: Likewise.
19391 * po/uk.po: Likewise.
19392 * po/vi.po: Likewise.
19393
3d1d7928
SN
193942018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
19395
19396 * aarch64/start.S (_start): Use __wrap_main.
19397 (__wrap_main): New local symbol.
19398
52a713fd
DL
193992018-01-12 Dmitry V. Levin <ldv@altlinux.org>
19400
19401 [BZ #22679]
19402 CVE-2018-1000001
19403 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
19404 generic_getcwd if the path returned by getcwd syscall is not absolute.
19405 * io/tst-getcwd-abspath.c: New test.
19406 * io/Makefile (tests): Add tst-getcwd-abspath.
19407
249a5895
IK
194082018-01-12 Istvan Kurucsai <pistukem@gmail.com>
19409
19410 * malloc/malloc.c (malloc_consolidate): Add size check.
19411
1a51e46e
FW
194122018-01-12 Florian Weimer <fweimer@redhat.com>
19413
19414 * support/write_message.c (write_message): Preserve errno.
19415 * support/check.c (print_failure): Likewise.
19416 * support/support_test_verify_impl.c (support_test_verify_impl):
19417 Likewise.
19418 * support/support_test_compare_failure.c
19419 (support_test_compare_failure): Likewise.
19420
9a08a366
FW
194212018-01-12 Florian Weimer <fweimer@redhat.com>
19422
19423 [BZ #22701]
19424 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
19425 Prevent installation of libnsl.so.
19426 (libnsl-inhibit-o): Do not build (or install) static libraries.
19427
80647883 194282018-01-12 Egmont Koblinger <egmont@gmail.com>
f172187b
EK
19429
19430 [BZ #22657]
19431 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
19432 before the day number which may produce a double space.
19433 (date_fmt): Likewise.
19434
c8924f1f
JM
194352018-01-12 Joseph Myers <joseph@codesourcery.com>
19436
19437 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
19438 instead of fegetenv.
19439
da09e6fa
JM
194402018-01-11 Joseph Myers <joseph@codesourcery.com>
19441
19442 [BZ #22702]
19443 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
19444 comment to say exceptions are discarded.
19445 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
19446 __fegetenv.
19447 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
19448 be enabled.
19449
08c6e952
FW
194502018-01-11 Florian Weimer <fweimer@redhat.com>
19451
19452 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
19453 and error message.
19454
d8b77890
FW
194552018-01-11 Florian Weimer <fweimer@redhat.com>
19456
19457 [BZ #22636]
19458 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
19459 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
19460
b303185d
JM
194612018-01-10 Joseph Myers <joseph@codesourcery.com>
19462
19463 [BZ #22693]
19464 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
19465 negative arguments in test for NaN or infinity argument.
19466
ee61d028
DL
194672018-01-10 Dmitry V. Levin <ldv@altlinux.org>
19468
19469 * po/libc.pot: Regenerate.
19470
f993b875
FW
194712018-01-10 Florian Weimer <fweimer@redhat.com>
19472
19473 [BZ #22636]
19474 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
19475 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
19476
09085ede
ST
194772018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19478
19479 * hurd/hurd/fd.h: Include <fcntl.h>
19480 (__hurd_at_flags): New function.
19481 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
19482 with call to __hurd_at_flags.
19483 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
19484 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
19485 __faccessat
19486 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
19487 (__access_noerrno): Use __faccessat_common instead of access_common.
19488 (__access): Likewise.
19489 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
19490 with a call to __faccessat.
19491 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
19492 (__faccessat_common): ... this. Move implementation of __access into it when
19493 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
19494 reauthenticate_cwdir_at helper to implement AT mechanism.
19495 (__faccessat_noerrno): New function, just calls __faccessat_common.
19496 (__faccessat): New function, just calls __faccessat_common.
19497 (faccessat): Define weak alias.
19498
12727488
JM
194992018-01-10 Joseph Myers <joseph@codesourcery.com>
19500
87faac55
JM
19501 [BZ #22691]
19502 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19503 (CFLAGS-s_fmaxmagl.c): New variable.
19504 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
19505
12727488
JM
19506 [BZ #22690]
19507 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
19508 long int for arguments of possibly overflowing addition or
19509 subtraction.
19510 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
19511
e134ca17
JM
195122018-01-09 Joseph Myers <joseph@codesourcery.com>
19513
b2584ac2
JM
19514 [BZ #22688]
19515 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19516 (CFLAGS-e_remainderl.c): New variable.
19517
e134ca17
JM
19518 [BZ #22687]
19519 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
19520 variable.
19521 (CFLAGS-s_cacoshl.c): Likewise.
19522 (CFLAGS-s_casinhl.c): Likewise.
19523 (CFLAGS-s_catanl.c): Likewise.
19524 (CFLAGS-s_catanhl.c): Likewise.
19525 (CFLAGS-s_cexpl.c): Likewise.
19526 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
19527 (CFLAGS-s_csinhl.c): Likewise.
19528 (CFLAGS-s_clogl.c): Likewise.
19529 (CFLAGS-s_clog10l.c): Likewise.
19530 (CFLAGS-s_csinl.c): Likewise.
19531 (CFLAGS-s_csqrtl.c): Likewise.
19532
d31a4a48
ST
195332017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
195342017-01-09 Svante Signell <svante.signell@gmail.com>
311ba8dc
ST
19535
19536 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
19537 (_hurd_exec_paths): New function.
19538 * hurd/hurd.h (_hurd_exec): Deprecate function.
19539 (_hurd_exec_paths): Declare function.
19540 * hurd/Versions: Export _hurd_exec_paths.
19541 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
19542 (__execve): Use __getcwd to build absolute path, and use
19543 _hurd_exec_paths instead of _hurd_exec.
19544 * sysdeps/mach/hurd/spawni.c: Likewise.
19545 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
19546 _hurd_exec.
19547
d7ff3f11
DL
195482018-01-08 Dmitry V. Levin <ldv@altlinux.org>
19549
19550 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
19551 test instead of failing in case of ENOENT returned by posix_openpt.
19552
401311cf
FW
195532018-01-08 Florian Weimer <fweimer@redhat.com>
19554
19555 resolv: Support binary labels in test framework.
19556 * support/resolv_test.c (struct to_be_freed): Remove.
19557 (struct compressed_name): New.
19558 (allocate_compressed_name, ascii_tolower)
19559 (compare_compressed_name): New functions.
19560 (struct resolv_response_builder): Update type of
19561 compression_offsets for use with tsearch. Rempve to_be_freed.
19562 (response_push_pointer_to_free): Remove function.
19563 (resolv_response_add_name): Rewrite using struct compressed_name
19564 and tsearch instead of hsearch_r.
19565 (response_builder_allocate): Remove initialization of
19566 compression_offsets.
19567 (response_builder_free): Update for removal of to_be_freed. Use
19568 tdestroy instead of hdestroy_r.
19569 * resolv/Makefile (tests): Add tst-resolv-binary.
19570 (tst-resolv-binary): Link with -lresolv -lpthread.
19571
2b3aa446
FW
195722018-01-08 Florian Weimer <fweimer@redhat.com>
19573
19574 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
19575 time. Pass positive flag instead of negative flag to
19576 support_test_compare_failure.
19577 (support_test_compare_failure): Change negative parameter to
19578 positive.
19579 * support/support_test_compare_failure.c (report)
19580 (support_test_compare_failure): Likewise.
19581 * support/tst-test_compare.c (return_ssize_t, return_int): New.
19582 (do_test): Check int/size_t, ssize_t/size_t comparisons.
19583
630f4cc3
SN
195842018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
19585
19586 [BZ #22637]
19587 * nptl/descr.h (stackblock, stackblock_size): Update comments.
19588 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
19589 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
19590 stacksize.
19591 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
19592
c70e4e9c
L
195932018-01-08 H.J. Lu <hongjiu.lu@intel.com>
19594
19595 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19596 Add s_sincosf-sse2 and s_sincosf-fma.
19597 (CFLAGS-s_sincosf-fma.c): New.
19598 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
19599 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
19600 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
19601 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
19602 __sincosf is defined.
19603
579396ee
FW
196042018-01-08 Florian Weimer <fweimer@redhat.com>
19605
19606 * nptl/tst-thread-exit-clobber.cc: New file.
19607 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
19608 C++11 mode.
19609 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
19610 (tests): Add tst-thread-exit-clobber.
19611 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
19612
dabd75b6
FW
196132018-01-08 Florian Weimer <fweimer@redhat.com>
19614
19615 * support/check.h (support_static_assert): Define.
19616 (TEST_COMPARE): Use it.
19617
c2e014cc
AJ
196182018-01-07 Aurelien Jarno <aurelien@aurel32.net>
19619
19620 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
19621 [!__RLIM_T_MATCHES_RLIM64_T]
19622 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
19623 __getrlimit64. Add libc_hidden_weak.
19624
31a98837
PD
196252018-01-06 Palmer Dabbelt <palmer@sifive.com>
19626
19627 * elf/elf.h (R_RISCV_NONE): New define.
19628 (R_RISCV_32): Likewise.
19629 (R_RISCV_64): Likewise.
19630 (R_RISCV_RELATIVE): Likewise.
19631 (R_RISCV_COPY): Likewise.
19632 (R_RISCV_JUMP_SLOT): Likewise.
19633 (R_RISCV_TLS_DTPMOD32): Likewise.
19634 (R_RISCV_TLS_DTPMOD64): Likewise.
19635 (R_RISCV_TLS_DTPREL32): Likewise.
19636 (R_RISCV_TLS_DTPREL64): Likewise.
19637 (R_RISCV_TLS_TPREL32): Likewise.
19638 (R_RISCV_TLS_TPREL64): Likewise.
00505532
PD
19639 * Makerules (make-link-multidir): Make directories before linking into
19640 them.
150bbac1
PD
19641 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
19642 define.
19643 (VDSO_HASH_LINUX_4_15): Likewise.
1598f3ad
PD
19644 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
19645 in subdirectories of lib.
8e13c51b
PD
19646 * nptl/Makefile (/librt.so): Always depend on
19647 "$(shared-thread-library)".
31a98837 19648
fad7d57e
ST
196492018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19650
19651 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
4a5ce6e9
ST
19652 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
19653 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
19654 (___tls_get_addr).
19655 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
107a35a5
ST
19656 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
19657 "-O2 -march=i686".
01c7e549 19658 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
f417d92c
ST
19659 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
19660 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
19661 * sysdeps/gnu/glob-lstat-compat.c: New file.
19662 * sysdeps/gnu/glob64-lstat-compat.c: New file.
200fc24b 19663 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
fad7d57e 19664
3a32b716
TMQMF
196652018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19666
19667 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
19668 Reserve 16 chars to reloc_addr before calling _itoa_word.
19669
24731685
AJ
196702018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19671
19672 [BZ #22678]
19673 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
19674 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
19675
19be56d8
AJ
19676 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
19677 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
19678
a6d0afb5
AJ
19679 * resource/tst-getrlimit.c: Add copyright header.
19680
8e900969
AJ
196812018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19682 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19683
19684 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
19685 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
19686 Define __GI_getrlimit64 as weak alias of __getrlimit64.
19687 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
19688 instead.
19689 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
19690 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
19691 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
19692 RLIM64_INFINITY): Fix values to match the kernel ones.
19693 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
19694 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
19695 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
19696 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
19697 getrlimit64@@GLIBC_2_27.
19698 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
19699 and setrlimit64.
19700 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
19701 getrlimit, setrlimit, getrlimit64 and setrlimit64.
19702 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
19703 setrlimit, getrlimit64 and setrlimit64.
19704
0d0bc784
AJ
197052018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19706
19707 [BZ #22648]
19708 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
19709 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
19710
ba374b6d
JM
197112018-01-04 Joseph Myers <joseph@codesourcery.com>
19712
19713 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
19714 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
19715 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
19716
4854ddd8
AZ
197172018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19718
b0a4eca2
AZ
19719 [BZ #15479]
19720 [BZ #22666]
19721 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
19722 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
19723
4854ddd8
AZ
19724 [BZ #15479]
19725 [BZ #22665]
19726 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
19727 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
19728 * sysdeps/alpha/fpu/s_floor.c: Likewise.
19729 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
19730
8a5df95f
FW
197312018-01-04 Florian Weimer <fweimer@redhat.com>
19732
19733 [BZ #22667]
19734 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
19735 Align the stack before calling exit.
19736 * stdlib/tst-makecontext-align.c: New file.
19737 * stdlib/Makefile (tests): Add tst-makecontext-align.
19738
82eef55f
FW
197392018-01-04 Florian Weimer <fweimer@redhat.com>
19740
19741 Add support for calling dlvsym from libc.so.
19742 * include/dlfcn.h (__libc_dlvsym): Declare.
19743 * elf/Makefile (tests-static-internal): Add
19744 tst-libc_dlvsym-static.
19745 (tests-internal): Add tst-libc_dlvsym.
19746 (modules-names): Add tst-libc_dlvsym-dso.
19747 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
19748 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
19749 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
19750 object tst-libc_dlvsym-dso.so needs to be built before running
19751 these tests.
19752 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
19753 * elf/Versions: Export __libc_dlvsym.
19754 * elf/dl-libc.c (struct do_dlvsym_args): New.
19755 (do_dlvsym, __libc_dlvsym): New functions.
19756 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
19757 (_dl_open_hook2): New variable.
19758 (__libc_register_dl_open_hook): Set it.
19759 * elf/tst-libc_dlvsym-dso.c: New file.
19760 * elf/tst-libc_dlvsym-static.c: Likewise.
19761 * elf/tst-libc_dlvsym.c: Likewise.
19762 * elf/tst-libc_dlvsym.h: Likewise.
19763
1714fc06
ST
197642018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
19765
19766 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
19767 include <sys/mount.h>.
19768
3c7d0312
WD
197692018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
19770
19771 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
19772 Add __NO_MATH_ERRNO__ check.
19773
7eff0954
JM
197742018-01-02 Joseph Myers <joseph@codesourcery.com>
19775
19776 * sysdeps/mips/mips32/libm-test-ulps: Update.
19777 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19778
77f49956
FW
197792018-01-02 Florian Weimer <fweimer@redhat.com>
19780
19781 * misc/tst-pselect.c: Add copyright header.
19782
363e4519 197832018-01-02 Aurelien Jarno <aurelien@aurel32.net>
d35989be
AJ
19784
19785 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
19786 comment.
19787 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
19788 comment.
19789 (settrlimit): Rename into setrlimit.
19790 (__sttrlimit): Rename into __setrlimit.
19791
3e4226ff
AJ
19792 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
19793 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
19794 never defined in that case.
19795
b9256ab6
JM
197962018-01-02 Joseph Myers <joseph@codesourcery.com>
19797
28fd6a44
JM
19798 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
19799
a4933a15
JM
19800 * sysdeps/arm/libm-test-ulps: Update.
19801
b9256ab6
JM
19802 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
19803 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
19804
4cf82d23
RS
198052018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19806
19807 * NEWS: Add cosf and sincosf to list of optimized functions.
19808
6a9dd7a7
AJ
198092018-01-02 Aurelien Jarno <aurelien@aurel32.net>
19810
19811 [BZ #22660]
19812 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
19813 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
19814 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
19815 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
19816
dbba87d5
DL
198172018-01-01 Dmitry V. Levin <ldv@altlinux.org>
19818
b05cb613
DL
19819 [BZ #22433]
19820 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
19821
dbba87d5
DL
19822 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
19823 making a copy of it.
19824
688903eb
JM
198252018-01-01 Joseph Myers <joseph@codesourcery.com>
19826
66ac23de
JM
19827 * manual/texinfo.tex: Update to version 2017-12-26.21 with
19828 trailing whitespace removed.
19829 * scripts/config.guess: Update to version 2018-01-01.
19830 * scripts/config.sub: Update to version 2018-01-01.
19831 * scripts/move-if-change: Update from gnulib.
19832
09533208
JM
19833 * NEWS: Update copyright dates.
19834 * catgets/gencat.c (print_version): Likewise.
19835 * csu/version.c (banner): Likewise.
19836 * debug/catchsegv.sh: Likewise.
19837 * debug/pcprofiledump.c (print_version): Likewise.
19838 * debug/xtrace.sh (do_version): Likewise.
19839 * elf/ldconfig.c (print_version): Likewise.
19840 * elf/ldd.bash.in: Likewise.
19841 * elf/pldd.c (print_version): Likewise.
19842 * elf/sotruss.sh: Likewise.
19843 * elf/sprof.c (print_version): Likewise.
19844 * iconv/iconv_prog.c (print_version): Likewise.
19845 * iconv/iconvconfig.c (print_version): Likewise.
19846 * locale/programs/locale.c (print_version): Likewise.
19847 * locale/programs/localedef.c (print_version): Likewise.
19848 * login/programs/pt_chown.c (print_version): Likewise.
19849 * malloc/memusage.sh (do_version): Likewise.
19850 * malloc/memusagestat.c (print_version): Likewise.
19851 * malloc/mtrace.pl: Likewise.
19852 * manual/libc.texinfo: Likewise.
19853 * nptl/version.c (banner): Likewise.
19854 * nscd/nscd.c (print_version): Likewise.
19855 * nss/getent.c (print_version): Likewise.
19856 * nss/makedb.c (print_version): Likewise.
19857 * posix/getconf.c (main): Likewise.
19858 * scripts/test-installation.pl: Likewise.
19859 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
19860
688903eb
JM
19861 * All files with FSF copyright notices: Update copyright dates
19862 using scripts/update-copyrights.
19863 * locale/programs/charmap-kw.h: Regenerated.
19864 * locale/programs/locfile-kw.h: Likewise.
19865
4f820792
ZW
198662017-12-31 Zack Weinberg <zackw@panix.com>
19867
19868 * libio/bits/libio-ldbl.h: Correct check for improper
19869 inclusion. Add own multiple include guard.
19870
3e3c904d
AJ
198712017-12-30 Aurelien Jarno <aurelien@aurel32.net>
19872 Dmitry V. Levin <ldv@altlinux.org>
19873
19874 [BZ #22625]
31f96325 19875 CVE-2017-16997
3e3c904d
AJ
19876 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
19877 string token expansion. Check for NULL pointer or empty string possibly
19878 returned by expand_dynamic_string_token.
19879 (decompose_rpath): Check for empty path after dynamic string
19880 token expansion.
19881
7e21972b
DL
198822017-12-29 Dmitry V. Levin <ldv@altlinux.org>
19883
c48831d0
DL
19884 [BZ #22433]
19885 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
19886
ac583f50
DL
19887 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
19888 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
19889 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
19890 and PTRACE_SYSCALL.
19891 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
19892 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19893 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19894 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19895 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19896 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
19897
7e21972b
DL
19898 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
19899 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
19900 __ptrace_peeksiginfo_flags, ptrace): Move to ...
19901 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
19902 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19903 bits/ptrace-shared.h.
19904 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
19905 <bits/ptrace-shared.h>.
19906 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
19907 __ptrace_peeksiginfo_flags, ptrace): Remove.
19908 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19909 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19910 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19911 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19912 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
19913
72f29e3a
AJ
199142017-12-29 Aurelien Jarno <aurelien@aurel32.net>
19915
19916 [BZ #17804]
19917 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
19918 end of the loop. Improve comments.
19919
54e4efc2
AJ
199202017-12-29 Zack Weinberg <zackw@panix.com>
19921
19922 [BZ #22615]
19923 * manual/errno.texi (Checking for Errors): Explicitly say that errno
19924 might be set on success.
19925
f8aa69be
AJ
199262017-12-29 Aurelien Jarno <aurelien@aurel32.net>
19927
19928 [BZ #22611]
19929 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
19930 is unchanged on success.
19931
97f13188
DL
199322017-12-27 Dmitry V. Levin <ldv@altlinux.org>
19933
2bd86632
DL
19934 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
19935 updated.
19936 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
19937 expand_dynamic_string_token): Likewise.
19938 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
19939 is_path argument.
19940
1c36e1e6
DL
19941 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
19942 contains ':'.
19943
97f13188
DL
19944 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
19945 is set and name contains ':', and all code depending on these checks.
19946
48a8f832
ZW
199472017-12-24 Zack Weinberg <zackw@panix.com>
19948
19949 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
19950 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
19951 respectively.
19952 * libio/libio.h: Rename the original version of this file to
19953 libio/bits/libio.h. Error out if not included by stdio.h or the
19954 stub libio.h.
19955 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
19956 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
19957 if not included by bits/libio.h or the stub _G_config.h.
19958 * sysdeps/unix/sysv/linux/_G_config.h: Move to
19959 sysdeps/unix/sysv/linux/bits. Error out if not included by
19960 bits/libio.h or the stub _G_config.h.
19961 * libio/stdio.h: Include bits/libio.h, not libio.h.
19962 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
19963 well as libio.h and _G_config.h.
19964
19965 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
19966 * libio/strfile.h, stdio-common/vfscanf.c
19967 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
19968 Include stdio.h, not _G_config.h nor libio.h.
19969 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
19970 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
19971
19972 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
19973
a47ad79a
DL
199742017-12-23 Dmitry V. Levin <ldv@altlinux.org>
19975
19976 [BZ #22347]
19977 * stdlib/getrandom.c (getrandom): Fix comment.
19978 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
19979
363e4519 199802017-12-23 Aurelien Jarno <aurelien@aurel32.net>
e65a5644 19981
f5c558f3
AJ
19982 [BZ #21161]
19983 * manual/arith.texi (strtoul): Fix a typo.
19984
e65a5644
AJ
19985 [BZ #22596]
19986 * manual/arith.texi (finite): Fix the description of the return
19987 value.
19988
ed8ae46b
EB
199892017-12-22 Eric Blake <ebb9@byu.net>
19990
19991 Avoid gcc warnings on cygwin
19992 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
19993 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
19994 Avoid unused variable.
19995
bad7a0c8
FW
199962017-12-22 Florian Weimer <fweimer@redhat.com>
19997
19998 * io/Makefile (routines): Add copy_file_range.
19999 (tests): Add tst-copy_file_range.
20000 (tests-static, tests-internal): Add tst-copy_file_range-compat.
20001 * io/Versions (GLIBC_2.27): Export copy_file_range.
20002 * io/copy_file_range-compat.c: New file.
20003 * io/copy_file_range.c: Likewise.
20004 * io/tst-copy_file_range-compat.c: Likewise.
20005 * io/tst-copy_file_range.c: Likewise.
20006 * manual/llio.texi (Copying File Data): New section.
20007 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
20008 * support/Makefile (libsupport-routines): Add support-xfstat,
20009 xftruncate, xlseek.
20010 * support/support-xfstat.c: New file.
20011 * support/xftruncate.c: Likewise.
20012 * support/xlseek.c: Likewise.
20013 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
20014 * sysdeps/unix/sysv/linux/**.abilist: Update.
20015 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
20016
6cb86fd2
SN
200172017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
20018
20019 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20020 disable-multi-arch variant to aarch64-linux-gnu.
20021
41d11b15
JM
200222017-12-20 Joseph Myers <joseph@codesourcery.com>
20023
20024 * manual/texinfo.tex: Update to version 2017-12-18.20 with
20025 trailing whitespace removed.
20026 * scripts/config.guess: Update to version 2017-12-17.
20027 * scripts/config.sub: Update to version 2017-11-23.
20028 * scripts/install-sh: Update to version 2017-09-23.17.
20029 * scripts/move-if-change: Update to version 2017-09-13 06:45.
20030
4735850f
AZ
200312017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20032
8d2d239c
AZ
20033 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
20034 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
20035 * sysdeps/tile/_mcount.S (__mcount): Likewise.
20036 * sysdeps/tile/crti.S (_init, _fini): Likewise.
20037 * sysdeps/tile/crtn.S: Likewise.
20038 * sysdeps/tile/dl-start.S (_start): Likewise.
20039 * sysdeps/tile/dl-trampoline.S: Likewise.
20040 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
20041 * sysdeps/tile/start.S (_start): Likewise.
20042 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
20043 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
20044 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
20045 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
20046 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
20047 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
20048 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
20049
24d1d8ec
AZ
20050 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
20051 comment.
20052 * sysdeps/tile/preconfigure: Remove tilegx folder.
20053 * sysdeps/tile/tilegx/Implies: Move definitions to ...
20054 * sysdeps/tile/Implies: ... here.
20055 * sysdeps/tile/tilegx/Makefile: Move rules to ...
20056 * sysdeps/tile/Makefile: ... here.
20057 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
20058 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
20059 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
20060 * sysdeps/tile/bits/wordsize.h: ... here.
20061 * sysdeps/tile/tilegx/*: Move to ...
20062 * sysdeps/tile/*: ... here.
20063 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
20064 * sysdeps/tile/tilegx32/Implies: ... here.
20065 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
20066 * sysdeps/tile/tilegx64/Implies: ... here.
20067 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
20068 to ...
20069 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
20070 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
20071 * sysdeps/unix/sysv/linux/tile/*: ... here.
20072 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
20073 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
20074 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
20075 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
20076
ed95f611
AZ
20077 * README: Remove tilepro-*-linux-gnu from supported architecture.
20078 * scripts/build-many-glibcs.py: Likewise.
20079 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
20080 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
20081 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
20082 elf_machine_matches_host, elf_machine_dynamic,
20083 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
20084 howto, elf_machine_rela): Likewise.
20085 * sysdeps/tile/dl-start.S (_start): Likewise.
20086 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
20087 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
20088 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
20089 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
20090 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
20091 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
20092 Likewise.
20093 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
20094 * sysdeps/tile/preconfigure: Likewise.
20095 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
20096 POINTER_CHK_GUARD): Likewise.
20097 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
20098 * sysdeps/tile/start.S (_start): Likewise.
20099 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
20100 Likewise.
20101 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
20102 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
20103 CMOVNEZ): Remove.
20104 * sysdeps/unix/sysv/linux/tile/bits/environments.h
20105 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
20106 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
20107 Likewise.
20108 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
20109 * sysdeps/tile/tilepro/Implies: Remove file.
20110 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
20111 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
20112 * sysdeps/tile/tilepro/memchr.c: Likewise.
20113 * sysdeps/tile/tilepro/memcpy.S: Likewise.
20114 * sysdeps/tile/tilepro/memset.c: Likewise.
20115 * sysdeps/tile/tilepro/memusage.h: Likewise.
20116 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
20117 * sysdeps/tile/tilepro/strchr.c: Likewise.
20118 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
20119 * sysdeps/tile/tilepro/strlen.c: Likewise.
20120 * sysdeps/tile/tilepro/strrchr.c: Likewise.
20121 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
20122 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
20123 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
20124 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
20125 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
20126 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
20127 Likewise.
20128 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
20129 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20130 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
20131 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
20132 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20133 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
20134 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
20135 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
20136 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
20137 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
20138 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
20139 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
20140 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
20141 tilepro mention in comment.
20142
4735850f
AZ
20143 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
20144 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
20145 * nptl/pthread_join_common.c: New file: common function used on
20146 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
20147 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
20148 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
20149 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
20150 (cleanup): Move definition to pthread_join_common.c.
20151 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
20152 Remove superflous checks.
20153 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
20154 Likewise.
20155
8bfb461e
SN
201562017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
20157
20158 * sysdeps/aarch64/libm-test-ulps: Update.
20159
4e001969
AZ
201602017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20161
20162 * sysdeps/aarch64/memset.S (MEMSET): Define.
20163
8a26ad2a
FW
201642017-12-20 Florian Weimer <fweimer@redhat.com>
20165
20166 [BZ #22635]
20167 nptl: Provide full implementation of pthread_self in libc.so.
20168 * nptl/Makefile (routines): Add pthread_self.
20169 (libpthread-routines): Replace pthread_self with
20170 compat-pthread_self.
20171 * nptl/forward.c (pthread_self): Remove.
20172 * nptl/nptl-init.c (pthread_functions): Do not initialize
20173 ptr_pthread_self.
20174 * nptl/pthread_self.c (pthread_self): Remove weak alias.
20175 * nptl/compat-pthread_self.c: New file.
20176 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
20177 Remove ptr_pthread_self.
20178
5069ff32
AR
201792017-12-19 Arnold D. Robbins <arnold@skeeve.com>
20180
20181 * posix/regcomp.c: Fix spelling in comments.
20182 * posix/regex.h: Likewise.
20183 * posix/regex_internal.c: Likewise.
20184 * posix/regexec.c: Likewise.
20185
c85e54ac
GG
201862017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
20187
20188 [BZ #22377]
20189 * math/Makefile [C++] (tests): Add test for iseqsig.
20190 * math/math.h [C++] (iseqsig): New implementation, which does
20191 not rely on __MATH_TG/__builtin_types_compatible_p.
20192 * math/test-math-iseqsig.cc: New file.
20193 * sysdeps/powerpc/powerpc64le/Makefile
20194 (CFLAGS-test-math-iseqsig.cc): New variable.
20195
10e93d96
DL
201962017-12-19 Dmitry V. Levin <ldv@altlinux.org>
20197
20198 * elf/dl-load.c (is_trusted_path): Remove.
20199 (fillin_rpath): Remove check_trusted argument and its use,
20200 all callers changed.
20201
ce16eb52
L
202022017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20203
20204 [BZ #22630]
20205 * Makeconfig (link-pie-before-libc): Replace -pie with
20206 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
20207 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
20208 (tst-dlopen-aout-no-pie): New.
20209 (LDFLAGS-tst-prelink): Removed.
20210 (tst-prelink-no-pie): New.
20211 (LDFLAGS-tst-main1): Removed.
20212 (tst-main1-no-pie): New.
20213 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
20214 (tst-gmon-no-pie): New.
20215
126adc89
L
202162017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20217
20218 * manual/install.texi: Document that --enable-static-pie
20219 implies PIE.
20220 * INSTALL: Regenerated.
20221
648615e1
BE
202222017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
20223
20224 [BZ #21309]
20225 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
20226 unsigned.
20227
f1e00502
JM
202282017-12-19 Joseph Myers <joseph@codesourcery.com>
20229
20230 Revert:
20231
20232 2017-12-19 Joseph Myers <joseph@codesourcery.com>
20233
20234 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20235
20236 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20237
20238 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
20239 <errno.h>. Include "eexp.tbl".
20240 (half): New constant.
20241 (one): Likewise.
20242 (__ieee754_exp): Rewrite.
20243 (__slowexp): Remove prototype.
20244 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
20245 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
20246 * sysdeps/i386/fpu/slowexp.c: Likewise.
20247 * sysdeps/ia64/fpu/slowexp.c: Likewise.
20248 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
20249 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
20250 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
20251 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20252 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
20253 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
20254 comment.
20255 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
20256 (CPPFLAGS-slowexp.c): Remove variable.
20257 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20258 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
20259 (CFLAGS-slowexp-fma.c): Remove variable.
20260 (CFLAGS-slowexp-fma4.c): Likewise.
20261 (CFLAGS-slowexp-avx.c): Likewise.
20262 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
20263 define as macro.
20264 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
20265 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
20266 * math/Makefile (type-double-routines): Remove slowexp.
20267 * manual/probes.texi (slowexp_p6): Remove.
20268 (slowexp_p32): Likewise.
20269
d711a00f
AZ
202702017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20271
e184ac3a
AZ
20272 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
20273 arithmetic.
20274
d711a00f
AZ
20275 * lib/glob.c (glob): Do not pass NULL to mempcpy.
20276
6f58c10d
JM
202772017-12-19 Joseph Myers <joseph@codesourcery.com>
20278
20279 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20280
6fd0a3c6
PM
202812017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20282
20283 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
20284 <errno.h>. Include "eexp.tbl".
20285 (half): New constant.
20286 (one): Likewise.
20287 (__ieee754_exp): Rewrite.
20288 (__slowexp): Remove prototype.
20289 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
20290 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
20291 * sysdeps/i386/fpu/slowexp.c: Likewise.
20292 * sysdeps/ia64/fpu/slowexp.c: Likewise.
20293 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
20294 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
20295 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
20296 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20297 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
20298 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
20299 comment.
20300 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
20301 (CPPFLAGS-slowexp.c): Remove variable.
20302 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20303 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
20304 (CFLAGS-slowexp-fma.c): Remove variable.
20305 (CFLAGS-slowexp-fma4.c): Likewise.
20306 (CFLAGS-slowexp-avx.c): Likewise.
20307 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
20308 define as macro.
20309 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
20310 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
20311 * math/Makefile (type-double-routines): Remove slowexp.
20312 * manual/probes.texi (slowexp_p6): Remove.
20313 (slowexp_p32): Likewise.
20314
3bb1ef58 203152017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6b5c8607 20316 James Clarke <jrtc27@jrtc27.com>
3bb1ef58
AZ
20317
20318 [BZ #22603]
20319 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
20320 addition.
20321
554e3d51
AZ
203222017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20323
20324 [BZ #22605]
20325 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
20326 code.
20327
cba595c3
L
203282017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20329
20330 [BZ #22563]
20331 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20332 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
20333 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20334 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
20335 to feature_1.
20336
f81ddabf
L
203372017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20338
20339 [BZ #22563]
20340 * bits/types/__cancel_jmp_buf_tag.h: New file.
20341 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
20342 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
20343 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
20344 * nptl/Makefile (headers): Add
20345 bits/types/__cancel_jmp_buf_tag.h.
20346 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
20347 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
20348 * sysdeps/nptl/pthread.h: Include
20349 <bits/types/__cancel_jmp_buf_tag.h>.
20350 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
20351 __cancel_jmp_buf.
20352 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
20353
1a49fc59
L
203542017-12-18 H.J. Lu <hongjiu.lu@intel.com>
20355
20356 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20357 --enable-static-pie variants to x86_64, x32 and i686.
20358
8e52f573
JM
203592017-12-19 Joseph Myers <joseph@codesourcery.com>
20360
66425185
JM
20361 [BZ #22631]
20362 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
20363 argument for attrubutes. All callers changed.
20364 (__inline_mathop1): Likewise. All callers changed.
20365 (__inline_mathop): Likewise. All callers changed.
20366 [__USE_MISC] (scalbn): Use __inline_forward instead of
20367 __inline_forward_c.
20368 [__USE_ISOC99] (scalbln): Likewise.
20369 [__USE_ISOC99] (nearbyint): Likewise.
20370 [__USE_ISOC99] (lrint): Likewise.
20371 [__USE_MISC] (scalbnf): Likewise.
20372 [__USE_ISOC99] (scalblnf): Likewise.
20373 [__USE_ISOC99] (nearbyintf): Likewise.
20374 [__USE_ISOC99] (lrintf): Likewise.
20375 [__USE_MISC] (scalbnl): Likewise.
20376 [__USE_ISOC99] (scalblnl): Likewise.
20377 [__USE_ISOC99] (nearbyintl): Likewise.
20378 [__USE_ISOC99] (lrintl): Likewise.
20379 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
20380 __inline_mathop and __m81_defun changed.
20381
8e52f573
JM
20382 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
20383 CPU or FPU for ARM hard-float configurations.
20384
1421f39b
JM
203852017-12-18 Joseph Myers <joseph@codesourcery.com>
20386
40c4162d
JM
20387 * nptl/tst-attr3.c: Include <libc-diag.h>.
20388 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
20389
5983df32
JM
20390 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
20391
1421f39b
JM
20392 * string/tester.c (test_strncat): Also disable -Warray-bounds
20393 warnings for two tests.
20394
00c714df
L
203952017-12-18 H.J. Lu <hongjiu.lu@intel.com>
20396
20397 [BZ #22614]
20398 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
20399 $(cc-pie-default) == yes.
20400 * config.make.in (cc-pie-default): New.
20401 * configure.ac (libc_cv_pie_default): Renamed to ...
20402 (libc_cv_cc_pie_default): This.
20403 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
20404 * configure: Regenerated.
20405
8e1472d2
FW
204062017-12-18 Florian Weimer <fweimer@redhat.com>
20407
20408 [BZ #20204]
20409 ld.so: Harden dl-libc/libdl hooks.
20410 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
20411 (rtld_active): New function.
20412 * dlfcn/dladdr.c (__dladdr): Call it.
20413 * dlfcn/dladdr1.c (__dladdr1): Likewise.
20414 * dlfcn/dlclose.c (__dlcose): Likewise.
20415 * dlfcn/dlerror.c (__dlerror): Likewise.
20416 * dlfcn/dlinfo.c (__dlinfo): Likewise.
20417 * dlfcn/dlmopen.c (__dlmopen): Likewise.
20418 * dlfcn/dlopen.c (__dlopen): Likewise.
20419 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
20420 * dlfcn/dlsym.c (__dlsym): Likewise.
20421 * dlfcn/dlvsym.c (__dlvsym): Likewise.
20422 * libio/vtables.c (_IO_vtable_check): Likewise.
20423 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
20424 (__libc_dlclose): Likewise.
20425 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
20426 assignment.
20427
49b036bc
JM
204282017-12-18 Joseph Myers <joseph@codesourcery.com>
20429
20430 [BZ #22446]
20431 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
20432 buffers for readlink input and output.
20433
368b6c8d
ST
204342017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
20435
c85c564d
ST
20436 [BZ #22624]
20437 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
20438 inhibit_stack_protector.
20439
368b6c8d
ST
20440 [BZ #22624]
20441 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
20442 inhibit_stack_protector.
20443
bb195224
DL
204442017-12-18 Dmitry V. Levin <ldv@altlinux.org>
20445
20446 [BZ #22627]
20447 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
20448 code and invocation.
20449
14d886ed
SN
204502017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
20451
20452 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
20453
7d38eb38
AJ
204542017-12-16 Aurelien Jarno <aurelien@aurel32.net>
20455
20456 [BZ #22505]
20457 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
20458
2e77deef
RS
204592017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20460
20461 * sysdeps/s390/fpu/libm-test-ulps: Update.
20462
0b9bef6d
RS
204632017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20464
20465 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20466
984ae996
RS
204672017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20468
20469 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
20470 constants to s_sincosf.h file.
20471 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20472 * sysdeps/ieee754/flt-32/s_sincosf.c: New
20473 implementation.
20474 * sysdeps/ieee754/flt-32/s_sincosf.h:
20475 New file.
20476
363e4519 204772017-12-12 Carlos O'Donell <carlos@redhat.com>
93930ea9
CD
20478
20479 [BZ #14681]
20480 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
20481 before mtrace.
20482
9d7a3741
L
204832017-12-15 H.J. Lu <hongjiu.lu@intel.com>
20484
20485 [BZ #19574]
20486 * INSTALL: Regenerated.
20487 * Makeconfig (real-static-start-installed-name): New.
20488 (pic-default): Updated for --enable-static-pie.
20489 (pie-default): New for --enable-static-pie.
20490 (default-pie-ldflag): Likewise.
20491 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
20492 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
20493 Replace $(static-start-installed-name) with
20494 $(real-static-start-installed-name).
20495 (+prectorT): Updated for --enable-static-pie.
20496 (+postctorT): Likewise.
20497 (CFLAGS-.o): Add $(pie-default).
20498 (CFLAGS-.op): Likewise.
20499 * NEWS: Mention --enable-static-pie.
20500 * config.h.in (ENABLE_STATIC_PIE): New.
20501 * configure.ac (--enable-static-pie): New configure option.
20502 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
20503 (have-static-pie): Likewise.
20504 Enable static PIE if linker supports --no-dynamic-linker.
20505 (ENABLE_STATIC_PIE): New AC_DEFINE.
20506 (enable-static-pie): New LIBC_CONFIG_VAR.
20507 * configure: Regenerated.
20508 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
20509 gr$(start-installed-name) for --enable-static-pie.
20510 (extra-objs): Likewise.
20511 (install-lib): Likewise.
20512 (extra-objs): Add static-reloc.o and static-reloc.os
20513 ($(objpfx)$(start-installed-name)): Also depend on
20514 $(objpfx)static-reloc.o.
20515 ($(objpfx)r$(start-installed-name)): New.
20516 ($(objpfx)g$(start-installed-name)): Also depend on
20517 $(objpfx)static-reloc.os.
20518 ($(objpfx)gr$(start-installed-name)): New.
20519 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
20520 in libc.a.
20521 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
20522 initimage.
20523 * csu/static-reloc.c: New file.
20524 * elf/Makefile (routines): Add dl-reloc-static-pie.
20525 (elide-routines.os): Likewise.
20526 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
20527 (tst-tls1-static-non-pie-no-pie): New.
20528 * elf/dl-reloc-static-pie.c: New file.
20529 * elf/dl-support.c (_dl_get_dl_main_map): New function.
20530 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
20531 STATIC_PIE_BOOTSTRAP.
20532 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
20533 * gmon/Makefile (tests): Add tst-gmon-static-pie.
20534 (tests-static): Likewise.
20535 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
20536 (tst-gmon-static-no-pie): New.
20537 (CFLAGS-tst-gmon-static-pie.c): Likewise.
20538 (CRT-tst-gmon-static-pie): Likewise.
20539 (tst-gmon-static-pie-ENV): Likewise.
20540 (tests-special): Likewise.
20541 ($(objpfx)tst-gmon-static-pie.out): Likewise.
20542 (clean-tst-gmon-static-pie-data): Likewise.
20543 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
20544 * gmon/tst-gmon-static-pie.c: New file.
20545 * manual/install.texi: Document --enable-static-pie.
20546 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
20547 (_dl_get_dl_main_map): Likewise.
20548 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
20549 * sysdeps/x86_64/configure.ac: Likewise.
20550 * sysdeps/i386/configure: Regenerated.
20551 * sysdeps/x86_64/configure: Likewise.
20552 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
20553 (ASFLAGS-.op): Likewise.
20554
95511aab
JM
205552017-12-15 Joseph Myers <joseph@codesourcery.com>
20556
20557 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
20558 * posix/tst-mmap-offset.c (fname): Use /tmp.
20559 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
20560
a7e3edf4
SE
205612017-12-15 Steve Ellcey <sellcey@cavium.com>
20562
20563 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
20564
d232f2e1
TS
205652017-12-15 Thomas Schwinge <thomas@codesourcery.com>
20566
20567 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
20568 errno.
20569
174edbde
JM
205702017-12-15 Joseph Myers <joseph@codesourcery.com>
20571
5170fa49
JM
20572 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
20573 --with-float=hard for arm-linux-gnueabihf configurations.
20574
f2da2fd8
JM
20575 [BZ #14121]
20576 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
20577 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
20578 ($(mo-installed)): Use $(objpfx)%.mo.
20579 (realclean): Remove rule.
20580
0c4fe28d
JM
20581 * po/Makefile (linguas): Remove rule and dependencies.
20582 (linguas.mo): Likewise.
20583 (.PHONY): Do not depend on linguas and linguas.mo.
20584 (podir): Remove variable.
20585 (pofiles): Likewise.
20586 [$(pofiles)] (%.po): Remove rule.
20587
174edbde
JM
20588 * sysdeps/sparc/sparc32/Makefile
20589 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
20590 start-of-line whitespace in argument of echo.
20591 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
20592 with whitespace. Generate __wrap_.udiv alias.
20593 * sysdeps/sparc/sparc32/rem.S: Regenerated.
20594 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
20595 * sysdeps/sparc/sparc32/udiv.S: Likewise.
20596 * sysdeps/sparc/sparc32/urem.S: Likewise.
20597
1e36806f
RS
205982017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20599
20600 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
20601 for aligned inputs.
20602
aa6932aa
SP
206032017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
20604
5f1603c3
SP
20605 * benchtests/bench-strcmp.c: Print output in JSON format.
20606
aa6932aa
SP
20607 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
20608
3ff3dfa5
FW
206092017-12-14 Florian Weimer <fweimer@redhat.com>
20610
20611 [BZ #22607]
20612 CVE-2017-1000409
20613 * elf/dl-load.c (_dl_init_paths): Compute number of components in
20614 the expanded path string.
20615
8a0b17e4
FW
206162017-12-14 Florian Weimer <fweimer@redhat.com>
20617
20618 [BZ #22606]
20619 CVE-2017-1000408
20620 * elf/dl-load.c (system_dirs): Update comment.
20621 (nsystem_dirs_len): Use array_length.
20622 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
20623
f58bd7f0
FW
206242017-12-14 Florian Weimer <fweimer@redhat.com>
20625
20626 Simplify compiling most of support/ outside of glibc.
20627 * support/check_addrinfo.c: Include <string.h>.
20628 * support/check_dns_packet.c: Likewise.
20629 * support/check_hostent.c: Likewise.
20630 * support/support_can_chroot.c: Include <support/xunistd.h>.
20631 * support/support_format_addrinfo.c: Include <stdlib.h>
20632 * support/support_format_dns_packet.c: Include <stdbool.h>.
20633 * support/support_format_hostent.c: Include <stdlib.h>.
20634 * support/support_format_netent.c: Likewise.
20635 * support/support_write_string.c: Include <support/xunistd.h>.
20636 * support/xdlfcn.c: Include <stddef.h>.
20637
4ca945e9
L
206382017-12-14 H.J. Lu <hongjiu.lu@intel.com>
20639
20640 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
20641
1b6e07f8
PM
206422017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20643 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20644
e6a1c5dc
PM
20645 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20646 (sysdeps_routines): Add memset-niagara7.
20647 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
20648 Likewise.
20649 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
20650 file.
20651 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
20652 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
20653 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
20654 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
20655 Add niagara7 option.
20656 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
20657 memset.
20658
1b6e07f8
PM
20659 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20660 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
20661 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
20662 Likewise.
20663 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
20664 New file.
20665 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
20666 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
20667 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
20668 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
20669 and __memmove_niagara7.
20670 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
20671 Add niagara7 option.
20672 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
20673 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
20674 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
20675 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
20676 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
20677
bfb7bf22
JM
206782017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
20679
767a26d6
JM
20680 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
20681 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
20682 * sysdeps/sparc/sparc64/memmove.S: Likewise.
20683 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
20684
bfb7bf22
JM
20685 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
20686 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
20687 _dl_sparc_cap_flags array.
20688 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
20689
2bce01eb
SP
206902017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
20691
20692 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
20693 time whenever possible.
20694
363e4519 206952017-12-12 Carlos O'Donell <carlos@redhat.com>
243b6333
CD
20696
20697 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
20698 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
20699
6f7c0092
JM
207002017-12-12 Joseph Myers <joseph@codesourcery.com>
20701
20702 * soft-fp/fmadf4.c: Move to ....
20703 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
20704 * soft-fp/fmasf4.c: Move to ....
20705 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
20706 * soft-fp/fmatf4.c: Move to ....
20707 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
20708 * sysdeps/ieee754/soft-fp/Makefile: New file.
20709 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
20710 * sysdeps/arm/preconfigure: Regenerated.
20711 * sysdeps/arm/nofpu/Implies: New file.
20712 * sysdeps/arm/s_fma.c: Remove file.
20713 * sysdeps/arm/s_fmaf.c: Likewise.
20714 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
20715 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
20716 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
20717 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
20718 * sysdeps/microblaze/s_fma.c: Remove file.
20719 * sysdeps/microblaze/s_fmaf.c: Likewise.
20720 * sysdeps/mips/mips32/nofpu/Implies: New file.
20721 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
20722 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
20723 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
20724 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
20725 * sysdeps/mips/ieee754/s_fma.c: Remove file.
20726 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
20727 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
20728 implementation.
20729 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
20730 * sysdeps/nios2/s_fma.c: Remove file.
20731 * sysdeps/nios2/s_fmaf.c: Likewise.
20732 * sysdeps/sh/nofpu/Implies: New file.
20733 * sysdeps/sh/s_fma.c: Remove file.
20734 * sysdeps/sh/s_fmaf.c: Likewise.
20735 * sysdeps/tile/Implies: Add ieee754/soft-fp.
20736 * sysdeps/tile/s_fma.c: Remove file.
20737 * sysdeps/tile/s_fmaf.c: Likewise.
20738
ac817e08
L
207392017-12-12 H.J. Lu <hongjiu.lu@intel.com>
20740
20741 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20742 Add s_cosf-sse2 and s_cosf-fma.
20743 (CFLAGS-s_cosf-fma.c): New.
20744 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
20745 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
20746 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
20747
eb428576
SE
207482017-12-12 Steve Ellcey <sellcey@cavium.com>
20749
20750 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
20751
c80acdc3
AZ
207522017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20753
cc683f7e
AZ
20754 * libio/Makefile (tests): Add tst-bz22415.
20755 (tst-bz22415-ENV): New rule.
20756 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
20757 (tests-special): Add tst-bz22415-mem.out.
20758 ($(objpfx)tst-bz22415-mem.out): New rule.
20759 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
20760 in case of a successful seek operation.
20761 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20762 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
20763 buffer is required.
20764 * libio/tst-bz22415.c: New test.
20765
c80acdc3
AZ
20766 * sysdeps/ia64/fpu/libm-test-ulps: Update.
20767
363e4519 207682017-12-12 James Clarke <jrtc27@jrtc27.com>
89bd8016
JC
20769
20770 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
20771 __IPC_64 to 0 to avoid IPC_64 being set.
20772
4e0dca54
SN
207732017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
20774
20775 [BZ #22593]
20776 * math/bits/mathcalls.h (nextafter): Remove const.
20777 (nexttoward): Likewise.
20778
8df5d347
JM
207792017-12-12 Joseph Myers <joseph@codesourcery.com>
20780
20781 * configure.ac (--with-fp): Remove configure option.
20782 (with_fp_cond): New variable.
20783 (libc_cv_with_fp): New configure test. Use this variable instead
20784 of with_fp.
20785 * configure: Regenerated.
20786 * config.make.in (with-fp): Use @libc_cv_with_fp@.
20787 * manual/install.texi (Configuring and compiling): Remove
20788 --without-fp.
20789 * INSTALL: Regenerated.
20790 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
20791 * sysdeps/mips/preconfigure (with_fp_cond): Define.
20792 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
20793 * sysdeps/sh/preconfigure (with_fp_cond): Define.
20794 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
20795 use --without-fp to configure glibc.
20796
0cee1257
RJ
207972017-12-12 Rical Jasan <ricaljasan@pacific.net>
20798
20799 * manual/locale.texi (nl_langinfo): Fix a typo.
20800
363e4519 208012017-12-12 Aurelien Jarno <aurelien@aurel32.net>
f54ad2f9
AJ
20802
20803 [BZ #22588]
20804 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
20805
36975e8e
L
208062017-12-11 H.J. Lu <hongjiu.lu@intel.com>
20807
20808 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
20809 (CFLAGS-argp-parse.c): Likewise.
20810 (CFLAGS-argp-fmtstream.c): Likewise.
20811 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
20812 (CPPFLAGS-sha512-crypt.c): Likewise.
20813 (CPPFLAGS-md5-crypt.c): Likewise.
20814 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
20815 (CFLAGS-stack_chk_fail_local.c): Likewise.
20816 (CFLAGS-backtrace.c): Likewise.
20817 (CFLAGS-sprintf_chk.c): Likewise.
20818 (CFLAGS-snprintf_chk.c): Likewise.
20819 (CFLAGS-vsprintf_chk.c): Likewise.
20820 (CFLAGS-vsnprintf_chk.c): Likewise.
20821 (CFLAGS-asprintf_chk.c): Likewise.
20822 (CFLAGS-vasprintf_chk.c): Likewise.
20823 (CFLAGS-obprintf_chk.c): Likewise.
20824 (CFLAGS-dprintf_chk.c): Likewise.
20825 (CFLAGS-vdprintf_chk.c): Likewise.
20826 (CFLAGS-printf_chk.c): Likewise.
20827 (CFLAGS-fprintf_chk.c): Likewise.
20828 (CFLAGS-vprintf_chk.c): Likewise.
20829 (CFLAGS-vfprintf_chk.c): Likewise.
20830 (CFLAGS-gets_chk.c): Likewise.
20831 (CFLAGS-fgets_chk.c): Likewise.
20832 (CFLAGS-fgets_u_chk.c): Likewise.
20833 (CFLAGS-fread_chk.c): Likewise.
20834 (CFLAGS-fread_u_chk.c): Likewise.
20835 (CFLAGS-swprintf_chk.c): Likewise.
20836 (CFLAGS-vswprintf_chk.c): Likewise.
20837 (CFLAGS-wprintf_chk.c): Likewise.
20838 (CFLAGS-fwprintf_chk.c): Likewise.
20839 (CFLAGS-vwprintf_chk.c): Likewise.
20840 (CFLAGS-vfwprintf_chk.c): Likewise.
20841 (CFLAGS-fgetws_chk.c): Likewise.
20842 (CFLAGS-fgetws_u_chk.c): Likewise.
20843 (CFLAGS-read_chk.c): Likewise.
20844 (CFLAGS-pread_chk.c): Likewise.
20845 (CFLAGS-pread64_chk.c): Likewise.
20846 (CFLAGS-recv_chk.c): Likewise.
20847 (CFLAGS-recvfrom_chk.c): Likewise.
20848 (CFLAGS-tst-longjmp_chk.c): Likewise.
20849 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
20850 (CFLAGS-tst-longjmp_chk2.c): Likewise.
20851 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
20852 (CFLAGS-tst-longjmp_chk3.c): Likewise.
20853 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
20854 (CFLAGS-tst-chk1.c): Likewise.
20855 (CFLAGS-tst-chk2.c): Likewise.
20856 (CFLAGS-tst-chk3.c): Likewise.
20857 (CFLAGS-tst-chk4.cc): Likewise.
20858 (CFLAGS-tst-chk5.cc): Likewise.
20859 (CFLAGS-tst-chk6.cc): Likewise.
20860 (CFLAGS-tst-lfschk1.c): Likewise.
20861 (CFLAGS-tst-lfschk2.c): Likewise.
20862 (CFLAGS-tst-lfschk3.c): Likewise.
20863 (CFLAGS-tst-lfschk4.cc): Likewise.
20864 (CFLAGS-tst-lfschk5.cc): Likewise.
20865 (CFLAGS-tst-lfschk6.cc): Likewise.
20866 (CFLAGS-tst-ssp-1.c): Likewise.
20867 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
20868 (CFLAGS-scandir64.c): Likewise.
20869 (CFLAGS-scandir-tail.c): Likewise.
20870 (CFLAGS-scandir64-tail.c): Likewise.
20871 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
20872 (CFLAGS-dl-tunables.c): Likewise.
20873 (CFLAGS-dl-runtime.c): Likewise.
20874 (CFLAGS-dl-lookup.c): Likewise.
20875 (CFLAGS-dl-iterate-phdr.c): Likewise.
20876 (CFLAGS-vismain.c): Likewise.
20877 (CFLAGS-tst-linkall-static.c): Likewise.
20878 (CFLAGS-tst-linkall-static.c): Likewise.
20879 (CPPFLAGS-dl-load.c): Likewise.
20880 (CFLAGS-ldconfig.c): Likewise.
20881 (CFLAGS-dl-cache.c): Likewise.
20882 (CFLAGS-cache.c): Likewise.
20883 (CFLAGS-rtld.c): Likewise.
20884 (CFLAGS-multiload.c): Likewise.
20885 (CFLAGS-filtmod1.c): Likewise.
20886 (CFLAGS-tst-align.c): Likewise.
20887 (CFLAGS-tst-align2.c): Likewise.
20888 (CFLAGS-tst-alignmod.c): Likewise.
20889 (CFLAGS-tst-alignmod2.c): Likewise.
20890 (CPPFLAGS-tst-execstack.c): Likewise.
20891 (CFLAGS-tst-ptrguard1-static.c): Likewise.
20892 (CFLAGS-tst-latepthreadmod.c): Likewise.
20893 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
20894 (CFLAGS-getgrnam_r.c): Likewise.
20895 (CFLAGS-getgrent_r.c): Likewise.
20896 (CFLAGS-getgrent.c): Likewise.
20897 (CFLAGS-fgetgrent.c): Likewise.
20898 (CFLAGS-fgetgrent_r.c): Likewise.
20899 (CFLAGS-putgrent.c): Likewise.
20900 (CFLAGS-initgroups.c): Likewise.
20901 (CFLAGS-getgrgid.c): Likewise.
20902 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
20903 (CFLAGS-getsgent.c): Likewise.
20904 (CFLAGS-fgetsgent.c): Likewise.
20905 (CFLAGS-fgetsgent_r.c): Likewise.
20906 (CFLAGS-putsgent.c): Likewise.
20907 (CFLAGS-getsgnam.c): Likewise.
20908 (CFLAGS-getsgnam_r.c): Likewise.
20909 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
20910 (CFLAGS-iconv_charmap.c): Likewise.
20911 (CFLAGS-dummy-repertoire.c): Likewise.
20912 (CFLAGS-charmap.c): Likewise.
20913 (CFLAGS-linereader.c): Likewise.
20914 (CFLAGS-simple-hash.c): Likewise.
20915 (CFLAGS-gconv_conf.c): Likewise.
20916 (CFLAGS-iconvconfig.c): Likewise.
20917 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
20918 (CFLAGS-gethstbyad.c): Likewise.
20919 (CFLAGS-gethstbynm_r.c): Likewise.
20920 (CFLAGS-gethstbynm.c): Likewise.
20921 (CFLAGS-gethstbynm2_r.c): Likewise.
20922 (CFLAGS-gethstbynm2.c): Likewise.
20923 (CFLAGS-gethstent_r.c): Likewise.
20924 (CFLAGS-gethstent.c): Likewise.
20925 (CFLAGS-rcmd.c): Likewise.
20926 (CFLAGS-getnetbynm_r.c): Likewise.
20927 (CFLAGS-getnetbynm.c): Likewise.
20928 (CFLAGS-getnetbyad_r.c): Likewise.
20929 (CFLAGS-getnetbyad.c): Likewise.
20930 (CFLAGS-getnetent_r.c): Likewise.
20931 (CFLAGS-getnetent.c): Likewise.
20932 (CFLAGS-getaliasent_r.c): Likewise.
20933 (CFLAGS-getaliasent.c): Likewise.
20934 (CFLAGS-getrpcent_r.c): Likewise.
20935 (CFLAGS-getrpcent.c): Likewise.
20936 (CFLAGS-getservent_r.c): Likewise.
20937 (CFLAGS-getservent.c): Likewise.
20938 (CFLAGS-getprtent_r.c): Likewise.
20939 (CFLAGS-getprtent.c): Likewise.
20940 (CFLAGS-either_ntoh.c): Likewise.
20941 (CFLAGS-either_hton.c): Likewise.
20942 (CFLAGS-getnetgrent.c): Likewise.
20943 (CFLAGS-getnetgrent_r.c): Likewise.
20944 (CFLAGS-tst-checks-posix.c): Likewise.
20945 (CFLAGS-tst-sockaddr.c): Likewise.
20946 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
20947 (CFLAGS-tst-translit.c): Likewise.
20948 (CFLAGS-tst-gettext2.c): Likewise.
20949 (CFLAGS-tst-codeset.c): Likewise.
20950 (CFLAGS-tst-gettext3.c): Likewise.
20951 (CFLAGS-tst-gettext4.c): Likewise.
20952 (CFLAGS-tst-gettext5.c): Likewise.
20953 (CFLAGS-tst-gettext6.c): Likewise.
20954 * io/Makefile (CFLAGS-open.c): Likewise.
20955 (CFLAGS-open64.c): Likewise.
20956 (CFLAGS-creat.c): Likewise.
20957 (CFLAGS-creat64.c): Likewise.
20958 (CFLAGS-fcntl.c): Likewise.
20959 (CFLAGS-poll.c): Likewise.
20960 (CFLAGS-ppoll.c): Likewise.
20961 (CFLAGS-lockf.c): Likewise.
20962 (CFLAGS-statfs.c): Likewise.
20963 (CFLAGS-fstatfs.c): Likewise.
20964 (CFLAGS-statvfs.c): Likewise.
20965 (CFLAGS-fstatvfs.c): Likewise.
20966 (CFLAGS-fts.c): Likewise.
20967 (CFLAGS-fts64.c): Likewise.
20968 (CFLAGS-ftw.c): Likewise.
20969 (CFLAGS-ftw64.c): Likewise.
20970 (CFLAGS-lockf.c): Likewise.
20971 (CFLAGS-posix_fallocate.c): Likewise.
20972 (CFLAGS-posix_fallocate64.c): Likewise.
20973 (CFLAGS-fallocate.c): Likewise.
20974 (CFLAGS-fallocate64.c): Likewise.
20975 (CFLAGS-read.c): Likewise.
20976 (CFLAGS-write.c): Likewise.
20977 (CFLAGS-test-stat.c): Likewise.
20978 (CFLAGS-test-lfs.c): Likewise.
20979 * libio/Makefile (CFLAGS-fileops.c): Likewise.
20980 (CFLAGS-fputc.c): Likewise.
20981 (CFLAGS-fputwc.c): Likewise.
20982 (CFLAGS-freopen64.c): Likewise.
20983 (CFLAGS-freopen.c): Likewise.
20984 (CFLAGS-fseek.c): Likewise.
20985 (CFLAGS-fseeko64.c): Likewise.
20986 (CFLAGS-fseeko.c): Likewise.
20987 (CFLAGS-ftello64.c): Likewise.
20988 (CFLAGS-ftello.c): Likewise.
20989 (CFLAGS-fwide.c): Likewise.
20990 (CFLAGS-genops.c): Likewise.
20991 (CFLAGS-getc.c): Likewise.
20992 (CFLAGS-getchar.c): Likewise.
20993 (CFLAGS-getwc.c): Likewise.
20994 (CFLAGS-getwchar.c): Likewise.
20995 (CFLAGS-iofclose.c): Likewise.
20996 (CFLAGS-iofflush.c): Likewise.
20997 (CFLAGS-iofgetpos64.c): Likewise.
20998 (CFLAGS-iofgetpos.c): Likewise.
20999 (CFLAGS-iofgets.c): Likewise.
21000 (CFLAGS-iofgetws.c): Likewise.
21001 (CFLAGS-iofputs.c): Likewise.
21002 (CFLAGS-iofputws.c): Likewise.
21003 (CFLAGS-iofread.c): Likewise.
21004 (CFLAGS-iofsetpos64.c): Likewise.
21005 (CFLAGS-iofsetpos.c): Likewise.
21006 (CFLAGS-ioftell.c): Likewise.
21007 (CFLAGS-iofwrite.c): Likewise.
21008 (CFLAGS-iogetdelim.c): Likewise.
21009 (CFLAGS-iogetline.c): Likewise.
21010 (CFLAGS-iogets.c): Likewise.
21011 (CFLAGS-iogetwline.c): Likewise.
21012 (CFLAGS-ioputs.c): Likewise.
21013 (CFLAGS-ioseekoff.c): Likewise.
21014 (CFLAGS-ioseekpos.c): Likewise.
21015 (CFLAGS-iosetbuffer.c): Likewise.
21016 (CFLAGS-iosetvbuf.c): Likewise.
21017 (CFLAGS-ioungetc.c): Likewise.
21018 (CFLAGS-ioungetwc.c): Likewise.
21019 (CFLAGS-oldfileops.c): Likewise.
21020 (CFLAGS-oldiofclose.c): Likewise.
21021 (CFLAGS-oldiofgetpos64.c): Likewise.
21022 (CFLAGS-oldiofgetpos.c): Likewise.
21023 (CFLAGS-oldiofsetpos64.c): Likewise.
21024 (CFLAGS-oldiofsetpos.c): Likewise.
21025 (CFLAGS-peekc.c): Likewise.
21026 (CFLAGS-putc.c): Likewise.
21027 (CFLAGS-putchar.c): Likewise.
21028 (CFLAGS-putwc.c): Likewise.
21029 (CFLAGS-putwchar.c): Likewise.
21030 (CFLAGS-rewind.c): Likewise.
21031 (CFLAGS-wfileops.c): Likewise.
21032 (CFLAGS-wgenops.c): Likewise.
21033 (CFLAGS-oldiofopen.c): Likewise.
21034 (CFLAGS-iofopen.c): Likewise.
21035 (CFLAGS-iofopen64.c): Likewise.
21036 (CFLAGS-oldtmpfile.c): Likewise.
21037 (CFLAGS-tst_putwc.c): Likewise.
21038 * locale/Makefile (CFLAGS-md5.c): Likewise.
21039 (CFLAGS-charmap.c): Likewise.
21040 (CFLAGS-locfile.c): Likewise.
21041 (CFLAGS-charmap-dir.c): Likewise.
21042 * login/Makefile (CFLAGS-grantpt.c): Likewise.
21043 (CFLAGS-getpt.c): Likewise.
21044 (CFLAGS-pt_chown.c): Likewise.
21045 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
21046 (CFLAGS-obstack.c): Likewise.
21047 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
21048 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
21049 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
21050 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
21051 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
21052 (CFLAGS-test-tgmath.c): Likewise.
21053 (CFLAGS-test-tgmath2.c): Likewise.
21054 (CFLAGS-test-tgmath-ret.c): Likewise.
21055 (CFLAGS-test-powl.c): Likewise.
21056 (CFLAGS-test-snan.c): Likewise.
21057 (CFLAGS-test-signgam-finite.c): Likewise.
21058 (CFLAGS-test-signgam-finite-c99.c): Likewise.
21059 (CFLAGS-test-signgam-finite-c11.c): Likewise.
21060 (CFLAGS-test-signgam-uchar.c): Likewise.
21061 (CFLAGS-test-signgam-uchar-init.c): Likewise.
21062 (CFLAGS-test-signgam-uchar-static.c): Likewise.
21063 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
21064 (CFLAGS-test-signgam-uint.c): Likewise.
21065 (CFLAGS-test-signgam-uint-init.c): Likewise.
21066 (CFLAGS-test-signgam-uint-static.c): Likewise.
21067 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
21068 (CFLAGS-test-signgam-ullong.c): Likewise.
21069 (CFLAGS-test-signgam-ullong-init.c): Likewise.
21070 (CFLAGS-test-signgam-ullong-static.c): Likewise.
21071 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
21072 (CFLAGS-test-math-cxx11.cc): Likewise.
21073 (CFLAGS-test-math-isinff.cc): Likewise.
21074 (CFLAGS-test-math-iszero.cc): Likewise.
21075 (CFLAGS-test-math-issignaling.cc): Likewise.
21076 (CFLAGS-test-math-iscanonical.cc): Likewise.
21077 (CFLAGS-test-iszero-excess-precision.c): Likewise.
21078 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
21079 (CFLAGS-test-flt-eval-method.c): Likewise.
21080 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
21081 (CFLAGS-test-finite-macros.c): Likewise.
21082 * misc/Makefile (CFLAGS-select.c): Likewise.
21083 (CFLAGS-tsearch.c): Likewise.
21084 (CFLAGS-lsearch.c): Likewise.
21085 (CFLAGS-pselect.c): Likewise.
21086 (CFLAGS-readv.c): Likewise.
21087 (CFLAGS-writev.c): Likewise.
21088 (CFLAGS-preadv.c): Likewise.
21089 (CFLAGS-preadv64.c): Likewise.
21090 (CFLAGS-pwritev.c): Likewise.
21091 (CFLAGS-pwritev64.c): Likewise.
21092 (CFLAGS-preadv2.c): Likewise.
21093 (CFLAGS-preadv64v2.c): Likewise.
21094 (CFLAGS-pwritev2.c): Likewise.
21095 (CFLAGS-pwritev64v2.c): Likewise.
21096 (CFLAGS-usleep.c): Likewise.
21097 (CFLAGS-syslog.c): Likewise.
21098 (CFLAGS-error.c): Likewise.
21099 (CFLAGS-getpass.c): Likewise.
21100 (CFLAGS-mkstemp.c): Likewise.
21101 (CFLAGS-mkstemp64.c): Likewise.
21102 (CFLAGS-getsysstats.c): Likewise.
21103 (CFLAGS-getusershell.c): Likewise.
21104 (CFLAGS-err.c): Likewise.
21105 (CFLAGS-tst-tsearch.c): Likewise.
21106 (CFLAGS-msync.c): Likewise.
21107 (CFLAGS-fdatasync.c): Likewise.
21108 (CFLAGS-fsync.c): Likewise.
21109 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
21110 (CFLAGS-unwind.c): Likewise.
21111 (CFLAGS-unwind-forcedunwind.c): Likewise.
21112 (CFLAGS-pthread_cancel.c): Likewise.
21113 (CFLAGS-pthread_setcancelstate.c): Likewise.
21114 (CFLAGS-pthread_setcanceltype.c): Likewise.
21115 (CFLAGS-cancellation.c): Likewise.
21116 (CFLAGS-libc-cancellation.c): Likewise.
21117 (CFLAGS-pthread_exit.c): Likewise.
21118 (CFLAGS-forward.c): Likewise.
21119 (CFLAGS-pthread_testcancel.c): Likewise.
21120 (CFLAGS-pthread_join.c): Likewise.
21121 (CFLAGS-pthread_timedjoin.c): Likewise.
21122 (CFLAGS-pthread_once.c): Likewise.
21123 (CFLAGS-pthread_cond_wait.c): Likewise.
21124 (CFLAGS-sem_wait.c): Likewise.
21125 (CFLAGS-sem_timedwait.c): Likewise.
21126 (CFLAGS-fcntl.c): Likewise.
21127 (CFLAGS-lockf.c): Likewise.
21128 (CFLAGS-pread.c): Likewise.
21129 (CFLAGS-pread64.c): Likewise.
21130 (CFLAGS-pwrite.c): Likewise.
21131 (CFLAGS-pwrite64.c): Likewise.
21132 (CFLAGS-wait.c): Likewise.
21133 (CFLAGS-waitpid.c): Likewise.
21134 (CFLAGS-sigwait.c): Likewise.
21135 (CFLAGS-msgrcv.c): Likewise.
21136 (CFLAGS-msgsnd.c): Likewise.
21137 (CFLAGS-tcdrain.c): Likewise.
21138 (CFLAGS-open.c): Likewise.
21139 (CFLAGS-open64.c): Likewise.
21140 (CFLAGS-pause.c): Likewise.
21141 (CFLAGS-recv.c): Likewise.
21142 (CFLAGS-send.c): Likewise.
21143 (CFLAGS-accept.c): Likewise.
21144 (CFLAGS-sendto.c): Likewise.
21145 (CFLAGS-connect.c): Likewise.
21146 (CFLAGS-recvfrom.c): Likewise.
21147 (CFLAGS-recvmsg.c): Likewise.
21148 (CFLAGS-sendmsg.c): Likewise.
21149 (CFLAGS-close.c): Likewise.
21150 (CFLAGS-read.c): Likewise.
21151 (CFLAGS-write.c): Likewise.
21152 (CFLAGS-nanosleep.c): Likewise.
21153 (CFLAGS-sigsuspend.c): Likewise.
21154 (CFLAGS-msync.c): Likewise.
21155 (CFLAGS-fdatasync.c): Likewise.
21156 (CFLAGS-fsync.c): Likewise.
21157 (CFLAGS-pt-system.c): Likewise.
21158 (CFLAGS-tst-cleanup2.c): Likewise.
21159 (CFLAGS-tst-cleanupx2.c): Likewise.
21160 (CFLAGS-flockfile.c): Likewise.
21161 (CFLAGS-ftrylockfile.c): Likewise.
21162 (CFLAGS-funlockfile.c): Likewise.
21163 (CFLAGS-tst-initializers1.c): Likewise.
21164 (CFLAGS-tst-initializers1-c89.c): Likewise.
21165 (CFLAGS-tst-initializers1-c99.c): Likewise.
21166 (CFLAGS-tst-initializers1-c11.c): Likewise.
21167 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
21168 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
21169 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
21170 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
21171 (CFLAGS-nscd_getgr_r.c): Likewise.
21172 (CFLAGS-nscd_gethst_r.c): Likewise.
21173 (CFLAGS-nscd_getai.c): Likewise.
21174 (CFLAGS-nscd_initgroups.c): Likewise.
21175 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
21176 (CFLAGS-pause.c): Likewise.
21177 (CFLAGS-pread.c): Likewise.
21178 (CFLAGS-pread64.c): Likewise.
21179 (CFLAGS-pwrite.c): Likewise.
21180 (CFLAGS-pwrite64.c): Likewise.
21181 (CFLAGS-sleep.c): Likewise.
21182 (CFLAGS-wait.c): Likewise.
21183 (CFLAGS-waitid.c): Likewise.
21184 (CFLAGS-waitpid.c): Likewise.
21185 (CFLAGS-getopt.c): Likewise.
21186 (CFLAGS-wordexp.c): Likewise.
21187 (CFLAGS-sysconf.c): Likewise.
21188 (CFLAGS-pathconf.c): Likewise.
21189 (CFLAGS-fpathconf.c): Likewise.
21190 (CFLAGS-spawn.c): Likewise.
21191 (CFLAGS-spawnp.c): Likewise.
21192 (CFLAGS-spawni.c): Likewise.
21193 (CFLAGS-glob.c): Likewise.
21194 (CFLAGS-glob64.c): Likewise.
21195 (CFLAGS-getconf.c): Likewise.
21196 (CFLAGS-nanosleep.c): Likewise.
21197 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
21198 (CFLAGS-getpwent.c): Likewise.
21199 (CFLAGS-getpw.c): Likewise.
21200 (CFLAGS-fgetpwent_r.c): Likewise.
21201 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
21202 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
21203 (CFLAGS-mq_timedreceive.c): Likewise.
21204 (CFLAGS-mq_timedsend.c): Likewise.
21205 (CFLAGS-clock_nanosleep.c): Likewise.
21206 (CFLAGS-librt-cancellation.c): Likewise.
21207 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
21208 (CFLAGS-getspent.c): Likewise.
21209 (CFLAGS-fgetspent.c): Likewise.
21210 (CFLAGS-fgetspent_r.c): Likewise.
21211 (CFLAGS-putspent.c): Likewise.
21212 (CFLAGS-getspnam.c): Likewise.
21213 (CFLAGS-getspnam_r.c): Likewise.
21214 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
21215 (CFLAGS-sigsuspend.c): Likewise.
21216 (CFLAGS-sigtimedwait.c): Likewise.
21217 (CFLAGS-sigwait.c): Likewise.
21218 (CFLAGS-sigwaitinfo.c): Likewise.
21219 (CFLAGS-sigreturn.c): Likewise.
21220 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
21221 (CFLAGS-vfwprintf.c): Likewise.
21222 (CFLAGS-tmpfile.c): Likewise.
21223 (CFLAGS-tmpfile64.c): Likewise.
21224 (CFLAGS-tempname.c): Likewise.
21225 (CFLAGS-psignal.c): Likewise.
21226 (CFLAGS-vprintf.c): Likewise.
21227 (CFLAGS-cuserid.c): Likewise.
21228 (CFLAGS-errlist.c): Likewise.
21229 (CFLAGS-siglist.c): Likewise.
21230 (CFLAGS-scanf15.c): Likewise.
21231 (CFLAGS-scanf17.c): Likewise.
21232 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
21233 (CFLAGS-msort.c): Likewise.
21234 (CFLAGS-qsort.c): Likewise.
21235 (CFLAGS-system.c): Likewise.
21236 (CFLAGS-fmtmsg.c): Likewise.
21237 (CFLAGS-strfmon.c): Likewise.
21238 (CFLAGS-strfmon_l.c): Likewise.
21239 (CFLAGS-strfromd.c): Likewise.
21240 (CFLAGS-strfromf.c): Likewise.
21241 (CFLAGS-strfroml.c): Likewise.
21242 (CFLAGS-tst-bsearch.c): Likewise.
21243 (CFLAGS-tst-qsort.c): Likewise.
21244 (CFLAGS-tst-makecontext2.c): Likewise.
21245 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
21246 (CFLAGS-xnlm_prot.c): Likewise.
21247 (CFLAGS-xrstat.c): Likewise.
21248 (CFLAGS-xyppasswd.c): Likewise.
21249 (CFLAGS-xklm_prot.c): Likewise.
21250 (CFLAGS-xrex.c): Likewise.
21251 (CFLAGS-xsm_inter.c): Likewise.
21252 (CFLAGS-xmount.c): Likewise.
21253 (CFLAGS-xrusers.c): Likewise.
21254 (CFLAGS-xspray.c): Likewise.
21255 (CFLAGS-xnfs_prot.c): Likewise.
21256 (CFLAGS-xrquota.c): Likewise.
21257 (CFLAGS-xkey_prot.c): Likewise.
21258 (CFLAGS-auth_unix.c): Likewise.
21259 (CFLAGS-key_call.c): Likewise.
21260 (CFLAGS-pmap_rmt.c): Likewise.
21261 (CFLAGS-clnt_perr.c): Likewise.
21262 (CFLAGS-openchild.c): Likewise.
21263 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
21264 (CFLAGS-msgsnd.c): Likewise.
21265 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
21266 * time/Makefile (CFLAGS-tzfile.c): Likewise.
21267 (CFLAGS-tzset.c): Likewise.
21268 (CFLAGS-getdate.c): Likewise.
21269 (CFLAGS-test_time.c): Likewise.
21270 (CPPFLAGS-tst-tzname.c): Likewise.
21271 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
21272 (CFLAGS-zic.c): Likewise.
21273 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
21274 (CFLAGS-wcswidth.c): Likewise.
21275 (CFLAGS-wcstol.c): Likewise.
21276 (CFLAGS-wcstoul.c): Likewise.
21277 (CFLAGS-wcstoll.c): Likewise.
21278 (CFLAGS-wcstoull.c): Likewise.
21279 (CFLAGS-wcstod.c): Likewise.
21280 (CFLAGS-wcstold.c): Likewise.
21281 (CFLAGS-wcstof128.c): Likewise.
21282 (CFLAGS-wcstof.c): Likewise.
21283 (CFLAGS-wcstol_l.c): Likewise.
21284 (CFLAGS-wcstoul_l.c): Likewise.
21285 (CFLAGS-wcstoll_l.c): Likewise.
21286 (CFLAGS-wcstoull_l.c): Likewise.
21287 (CFLAGS-wcstod_l.c): Likewise.
21288 (CFLAGS-wcstold_l.c): Likewise.
21289 (CFLAGS-wcstof128_l.c): Likewise.
21290 (CFLAGS-wcstof_l.c): Likewise.
21291 (CPPFLAGS-tst-wchar-h.c): Likewise.
21292 (CPPFLAGS-wcstold_l.c): Likewise.
583dd860 21293
f4b2aea6
PC
212942017-12-11 Paul A. Clarke <pc@us.ibm.com>
21295
21296 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
21297
c9cd7b0c
AZ
212982017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21299 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21300
21301 * manual/tunables.texi (Hardware Capability Tunables): Document
21302 glibc.tune.cached_memopt.
21303 * sysdeps/powerpc/cpu-features.c: New file.
21304 * sysdeps/powerpc/cpu-features.h: New file.
21305 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
21306 _dl_powerpc_cpu_features.
21307 * sysdeps/powerpc/dl-tunables.list: New file.
21308 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
21309 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
21310 (INIT_ARCH): Initialize use_aligned_memopt.
21311 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
21312 IS_IN(rtld))]: Restrict dl_platform_init availability and
21313 initialize CPU features used by tunables.
21314 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
21315 Add memcpy-power8-cached.
21316 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
21317 __memcpy_power8_cached.
21318 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
21319 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
21320 New file.
21321
e70c6fee
L
213222017-12-11 H.J. Lu <hongjiu.lu@intel.com>
21323
21324 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
21325 (CFLAGS-noinl-tester.c): Likewise.
21326 (CFLAGS-tst-strlen.c): Likewise.
21327 (CFLAGS-stratcliff.c): Likewise.
21328 (CFLAGS-test-ffs.c): Likewise.
21329 (CFLAGS-tst-inlcall.c): Likewise.
21330 (CFLAGS-tst-xbzero-opt.c): Likewise.
21331 (CFLAGS-memcpy.c): Likewise.
21332 (CFLAGS-wordcopy.c): Likewise.
21333
dee94366
SL
213342017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
21335
21336 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
21337 Store r15 on stack and add cfi rule.
21338 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
21339 Likewise.
21340
363e4519 213412017-12-10 Aurelien Jarno <aurelien@aurel32.net>
f648728c
AJ
21342
21343 [BZ #22577]
21344 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
21345 call.
21346
9d0ffa60
L
213472017-12-07 H.J. Lu <hongjiu.lu@intel.com>
21348
21349 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21350 Add s_sinf-sse2 and s_sinf-fma.
21351 (CFLAGS-s_sinf-fma.c): New.
21352 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
21353 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
21354 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
21355
9574c7b6
L
213562017-12-07 H.J. Lu <hongjiu.lu@intel.com>
21357
21358 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
21359
d15e83c5
JM
213602017-12-07 Joseph Myers <joseph@codesourcery.com>
21361
21362 [BZ #22568]
21363 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
21364 part of result to imaginary part of argument if it is zero and the
21365 real part of the argument is not finite.
21366 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
21367 of result to real part of argument if it is zero and the imaginary
21368 part of the argument is not finite.
21369
d89756eb
MF
213702017-12-07 Mike FABIAN <mfabian@redhat.com>
21371
21372 [BZ #22524]
21373 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
21374 and to the list of locales to be built for testing.
21375 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
21376 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
21377 and build the collation rules upon that.
21378
1f9055ce
JM
213792017-12-07 Joseph Myers <joseph@codesourcery.com>
21380
21381 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
21382 * manual/math.texi (Mathematics): Document support for _Float32.
21383 * math/Makefile (test-types): Add float32.
21384 * math/Versions (GLIBC_2.27): Add _Float32 functions.
21385 * stdlib/Versions (GLIBC_2.27): Likewise.
21386 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21387 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21388 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21389 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21390 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21391 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
21392 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21393 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21394 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21395 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21396 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21397 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21398 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21399 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21400 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21401 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21402 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21403 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21404 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21405 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21406 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21407 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
21408 Likewise.
21409 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21410 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21411 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21412 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
21413 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21415 Likewise.
21416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
21417 Likewise.
21418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21419 Likewise.
21420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
21421 Likewise.
21422
21423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21424 Likewise.
21425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
21426 Likewise.
21427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21428 Likewise.
21429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
21430 Likewise.
21431 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21432 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21433 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21434 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21435 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21436 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21437 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21438 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21439 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21440 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21441 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
21442 Likewise.
21443 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
21444 Likewise.
21445 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21446 Likewise.
21447 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21448 Likewise.
21449 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21450 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21451 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21452 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21453 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21454 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21455 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21456 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21457
5244527d
JM
214582017-12-06 Joseph Myers <joseph@codesourcery.com>
21459
fb1ca2aa
JM
21460 * stdlib/strtof.c: Include <bits/floatn.h>
21461 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
21462 and later undefine as macro. Define as weak alias if
21463 [!USE_WIDE_CHAR].
21464 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
21465 and later undefine as macro. Define as weak alias if
21466 [USE_WIDE_CHAR].
21467 * stdlib/strtof_l.c: Include <bits/floatn.h>
21468 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
21469 and later undefine as macro. Define as weak alias if
21470 [!USE_WIDE_CHAR].
21471 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
21472 and later undefine as macro. Define as weak alias if
21473 [USE_WIDE_CHAR].
21474
fc10cc3f
JM
21475 * stdlib/strfromf.c: Include <bits/floatn.h>.
21476 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
21477 and later undefine as macro and define as weak alias.
21478
e420d228
JM
21479 * math/test-float32.h: New file.
21480
26007a2f
JM
21481 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
21482 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
21483 (libm_alias_float_other_r): Create f32 alias.
21484 (libm_alias_float_r): Use semicolon before call to
21485 libm_alias_float_other_r.
21486
c191f64c
JM
21487 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
21488 second argument to libm_alias_float_other.
21489 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
21490 second argument to libm_alias_float_other.
21491 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
21492 argument to libm_alias_float_other.
21493
5244527d
JM
21494 [BZ #22561]
21495 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
21496 real part of result for argument 0 + i * NaN.
21497 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
21498 results for tests of 0 + i * NaN.
21499
d73fac82
AZ
215002017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21501
21502 * sysdeps/alpha/fpu/libm-test-ulps: Update.
21503
7ec094e8
DM
215042017-12-06 David S. Miller <davem@davemloft.net>
21505
21506 * sysdeps/sparc/fpu/libm-test-ulps: Update
21507 exp_{downward,towardzero,upward} ulps.
21508
53994f12
JM
215092017-12-06 Joseph Myers <joseph@codesourcery.com>
21510
1dbe6f64
JM
21511 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
21512 variables static.
21513
53994f12
JM
21514 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
21515 (Y0_2D): Likewise.
21516 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
21517 (Y0_2D): Likewise.
21518 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
21519 (Y0_2D): Likewise.
21520 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
21521 (Y0_2D): Likewise.
21522
62ea2193
MF
215232017-12-06 Mike FABIAN <mfabian@redhat.com>
21524
21525 [BZ #22515]
21526 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
21527 and to the list of locales to be built for testing.
21528 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
21529 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
21530 and build the collation rules upon that.
21531
87235d70
RS
215322017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21533
21534 * NEWS: Add sinf to list of optimized functions.
21535
0d93b7fd
JM
215362017-12-06 Joseph Myers <joseph@codesourcery.com>
21537
21538 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
21539 (__HAVE_FLOAT32X): Likewise.
21540 * manual/math.texi (Mathematics): Document support for _Float64
21541 and _Float32x.
21542 * math/Makefile (test-types): Add float64 and float32x.
21543 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
21544 functions.
21545 * stdlib/Versions (GLIBC_2.27): Likewise.
21546 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21547 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21548 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21549 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21550 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21551 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
21552 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21553 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21554 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21555 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21556 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21557 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21558 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21559 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21560 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21561 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21562 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21563 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21564 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21565 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21566 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21567 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
21568 Likewise.
21569 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21570 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21571 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21572 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
21573 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21575 Likewise.
21576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
21577 Likewise.
21578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21579 Likewise.
21580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
21581 Likewise.
21582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21583 Likewise.
21584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
21585 Likewise.
21586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21587 Likewise.
21588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
21589 Likewise.
21590 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21591 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21592 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21593 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21594 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21595 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21596 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21597 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21598 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21599 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21600 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
21601 Likewise.
21602 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
21603 Likewise.
21604 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21605 Likewise.
21606 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21607 Likewise.
21608 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21609 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21610 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21611 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21612 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21613 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21614 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21615 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21616
f7787234
JM
216172017-12-05 Joseph Myers <joseph@codesourcery.com>
21618
21619 * bits/floatn-common.h: Include <bits/long-double.h>.
21620 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21621 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
21622 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21623 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
21624 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21625 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
21626 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21627 (__builtin_huge_valf64): Use __builtin_huge_vall.
21628 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21629 (__builtin_inff64): Use __builtin_infl.
21630 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21631 (__builtin_nanf64): Use __builtin_nanl.
21632 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21633 (__builtin_nansf64): Use __builtin_nansl.
21634
363e4519
DL
216352017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
21636 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6b5c8607 21637 Carlos O'Donnell <carlos@redhat.com>
07ed18d2
RA
21638
21639 * elf/dl-tunables.list: Add elision parameters.
21640 * manual/tunables.texi: Add entries about elision tunable.
21641 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
21642 Add callback functions to dynamically enable/disable elision.
21643 Add multiple callbacks functions to set elision parameters.
21644 Deleted __libc_enable_secure check.
21645 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
21646 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
21647 * configure: Regenerated.
21648 * configure.ac: Option enable_lock_elision was deleted.
21649 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
21650 * config.make.in: Remove references to enable_lock_elision.
21651 * manual/install.texi: Elision configure option was removed.
21652 * INSTALL: Regenerated to remove enable_lock_elision.
21653 * nptl/Makefile:
21654 Disable elision so it can verify error case for destroying a mutex.
21655 * sysdeps/powerpc/nptl/elide.h:
21656 Cleanup ENABLE_LOCK_ELISION check.
21657 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
21658 * sysdeps/s390/configure: Regenerated.
21659 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
21660 * nptl/tst-mutex8.c:
21661 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
21662 * sysdeps/powerpc/powerpc32/sysdep.h:
21663 Deleted all ENABLE_LOCK_ELISION checks.
21664 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
21665 * sysdeps/powerpc/sysdep.h: Likewise.
21666 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
21667 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
21668 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
21669 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
21670 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
21671 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
21672 enable-lock-elision.
21673
a5a2a76b
JM
216742017-12-05 Joseph Myers <joseph@codesourcery.com>
21675
21676 * stdlib/strtod.c: Include <bits/floatn.h>.
21677 (BUILD_DOUBLE): New macro.
21678 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21679 (strtof64): Define and later undefine as macro. Define as weak
21680 alias if [!USE_WIDE_CHAR].
21681 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21682 (wcstof64): Define and later undefine as macro. Define as weak
21683 alias if [USE_WIDE_CHAR].
21684 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21685 (strtof32x): Define and later undefine as macro. Define as weak
21686 alias if [!USE_WIDE_CHAR].
21687 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21688 (wcstof32x): Define and later undefine as macro. Define as weak
21689 alias if [USE_WIDE_CHAR].
21690 * stdlib/strtod_l.c: Include <bits/floatn.h>.
21691 (BUILD_DOUBLE): New macro.
21692 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21693 (strtof64_l): Define and later undefine as macro. Define as weak
21694 alias if [!USE_WIDE_CHAR].
21695 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21696 (wcstof64_l): Define and later undefine as macro. Define as weak
21697 alias if [USE_WIDE_CHAR].
21698 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21699 (strtof32x_l): Define and later undefine as macro. Define as weak
21700 alias if [!USE_WIDE_CHAR].
21701 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21702 (wcstof32x_l): Define and later undefine as macro. Define as weak
21703 alias if [USE_WIDE_CHAR].
21704
94d80dfc
AZ
217052017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21706
21707 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
21708 (reduced): Use ones as double instead of integer.
21709
00d54af7
SN
217102017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
21711
21712 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
21713
f2d64d62
JM
217142017-12-05 Joseph Myers <joseph@codesourcery.com>
21715
1f70eae4
JM
21716 * stdlib/strfromd.c: Include <bits/floatn.h>.
21717 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
21718 and later undefine as macro and define as weak alias.
21719 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
21720 Likewise.
21721
e2c4dce5
JM
21722 * math/test-float32x.h: New file.
21723 * math/test-float64.h: Likewise.
21724
f2d64d62
JM
21725 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
21726 (libm_alias_double_other_r_f64): New macro.
21727 (libm_alias_double_other_r_f32x): Likewise.
21728 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
21729 libm_alias_double_other_r_f32x.
21730 (libm_alias_double_r): Use semicolon before call to
21731 libm_alias_double_other_r.
21732 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
21733 <bits/floatn.h>.
21734 (libm_alias_double_other_r_f64): New macro.
21735 (libm_alias_double_other_r_f32x): Likewise.
21736 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
21737 libm_alias_double_other_r_f32x.
21738
91c318e7
L
217392017-12-05 H.J. Lu <hongjiu.lu@intel.com>
21740
21741 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
21742 int.
21743 (SINF_FUNC): Likewise. Replace floor with simple casts.
21744
de9661d6
MF
217452017-12-05 Mike FABIAN <mfabian@redhat.com>
21746
21747 [BZ #22517]
21748 * localedata/Makefile: Add et_EE.UTF-8 to test-input
21749 and to the list of locales to be built for testing.
21750 * localedata/et_EE.UTF-8.in: New file for testing the collation.
21751 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
21752 and build the collation rules upon that.
21753
f18b8dc7
CM
217542017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
21755
21756 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
21757 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
21758 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
21759 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
21760 instead of __insn__xxx.
21761 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
21762 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
21763 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
21764 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
21765 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
21766 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
21767
446d22e9
FW
217682017-12-05 Florian Weimer <fweimer@redhat.com>
21769
21770 Linux: Implement interfaces for memory protection keys
21771 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
21772 xsignal, xsysconf.
21773 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
21774 * support/xunistd.h (xsysconf): Declare.
21775 * support/xraise.c: New file.
21776 * support/xsigaction.c: Likewise.
21777 * support/xsignal.c: Likewise.
21778 * support/xsysconf.c: Likewise.
21779 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
21780 pkey_set, pkey_get, pkey_mprotect.
21781 [misc] (tests): Add tst-pkey.
21782 (tst-pkey): Link with -lpthread.
21783 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
21784 pkey_free, pkey_set, pkey_get, pkey_mprotect.
21785 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
21786 (PKEY_DISABLE_WRITE): Define.
21787 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
21788 Declare.
21789 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
21790 (SEGV_PKUERR): Add.
21791 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
21792 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
21793 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
21794 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
21795 Add.
21796 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
21797 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
21798 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
21799 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
21800 * sysdeps/unix/sysv/linux/**.abilist: Update.
21801
da616c14
FW
218022017-12-05 Florian Weimer <fweimer@redhat.com>
21803
21804 * support/tst-test_compare.c (subprocess): Use long long instead
21805 of long argument for consistent type width across 32-bit and
21806 64-bit architectures.
21807 (do_test): Adjust expected output.
21808
216933b2
JM
218092017-12-05 Joseph Myers <joseph@codesourcery.com>
21810
21811 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
21812 (cosf): Define using libm_alias_float.
21813 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
21814 (fabsf): Define using libm_alias_float.
21815 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
21816 (fmaf): Define using libm_alias_float.
21817 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
21818 (rintf): Define using libm_alias_float.
21819 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
21820 (sinf): Define using libm_alias_float.
21821 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
21822 <libm-alias-float.h>.
21823 (modff): Define using libm_alias_float.
21824 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
21825 <libm-alias-float.h>.
21826 (logbf): Define using libm_alias_float.
21827 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
21828 <libm-alias-float.h>.
21829 (ceilf): Define using libm_alias_float.
21830 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
21831 <libm-alias-float.h>.
21832 (copysignf): Define using libm_alias_float.
21833 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
21834 <libm-alias-float.h>.
21835 (floorf): Define using libm_alias_float.
21836 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
21837 <libm-alias-float.h>.
21838 (llrintf): Define using libm_alias_float.
21839 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
21840 <libm-alias-float.h>.
21841 (llroundf): Define using libm_alias_float.
21842 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
21843 <libm-alias-float.h>.
21844 (lrintf): Define using libm_alias_float.
21845 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
21846 <libm-alias-float.h>.
21847 (lroundf): Define using libm_alias_float.
21848 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
21849 <libm-alias-float.h>.
21850 (nearbyintf): Define using libm_alias_float.
21851 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
21852 <libm-alias-float.h>.
21853 (rintf): Define using libm_alias_float.
21854 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
21855 <libm-alias-float.h>.
21856 (roundf): Define using libm_alias_float.
21857 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
21858 <libm-alias-float.h>.
21859 (truncf): Define using libm_alias_float.
21860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
21861 Include <libm-alias-float.h>.
21862 (ceilf): Define using libm_alias_float.
21863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
21864 Include <libm-alias-float.h>.
21865 (copysignf): Define using libm_alias_float.
21866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
21867 Include <libm-alias-float.h>.
21868 (floorf): Define using libm_alias_float.
21869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
21870 Include <libm-alias-float.h>.
21871 (llrintf): Define using libm_alias_float.
21872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
21873 Include <libm-alias-float.h>.
21874 (llroundf): Define using libm_alias_float.
21875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
21876 Include <libm-alias-float.h>.
21877 (logbf): Define using libm_alias_float.
21878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
21879 Include <libm-alias-float.h>.
21880 (lrintf): Define using libm_alias_float.
21881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
21882 Include <libm-alias-float.h>.
21883 (lroundf): Define using libm_alias_float.
21884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
21885 Include <libm-alias-float.h>.
21886 (modff): Define using libm_alias_float.
21887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
21888 Include <libm-alias-float.h>.
21889 (roundf): Define using libm_alias_float.
21890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
21891 Include <libm-alias-float.h>.
21892 (truncf): Define using libm_alias_float.
21893 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
21894 <libm-alias-float.h>.
21895 (llrintf): Define using libm_alias_float.
21896 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
21897 <libm-alias-float.h>.
21898 (llroundf): Define using libm_alias_float.
21899 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
21900 <libm-alias-float.h>.
21901 (ceilf): Define using libm_alias_float.
21902 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
21903 <libm-alias-float.h>.
21904 (floorf): Define using libm_alias_float.
21905 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
21906 <libm-alias-float.h>.
21907 (llroundf): Define using libm_alias_float.
21908 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
21909 <libm-alias-float.h>.
21910 (lroundf): Define using libm_alias_float.
21911 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
21912 <libm-alias-float.h>.
21913 (roundf): Define using libm_alias_float.
21914 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
21915 <libm-alias-float.h>.
21916 (truncf): Define using libm_alias_float.
21917 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
21918 <libm-alias-float.h>.
21919 (copysignf): Define using libm_alias_float.
21920 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
21921 <libm-alias-float.h>.
21922 (llrintf): Define using libm_alias_float.
21923 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
21924 <libm-alias-float.h>.
21925 (llroundf): Define using libm_alias_float.
21926 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
21927 <libm-alias-float.h>.
21928 (lrintf): Define using libm_alias_float.
21929 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
21930 <libm-alias-float.h>.
21931 (lroundf): Define using libm_alias_float.
21932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
21933 <libm-alias-float.h>.
21934 (ceilf): Define using libm_alias_float.
21935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
21936 <libm-alias-float.h>.
21937 (copysignf): Define using libm_alias_float.
21938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
21939 <libm-alias-float.h>.
21940 (cosf): Define using libm_alias_float.
21941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
21942 <libm-alias-float.h>.
21943 (floorf): Define using libm_alias_float.
21944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
21945 <libm-alias-float.h>.
21946 (llrintf): Define using libm_alias_float.
21947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
21948 <libm-alias-float.h>.
21949 (llroundf): Define using libm_alias_float.
21950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
21951 <libm-alias-float.h>.
21952 (logbf): Define using libm_alias_float.
21953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
21954 <libm-alias-float.h>.
21955 (modff): Define using libm_alias_float.
21956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
21957 <libm-alias-float.h>.
21958 (roundf): Define using libm_alias_float.
21959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
21960 <libm-alias-float.h>.
21961 (sinf): Define using libm_alias_float.
21962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
21963 <libm-alias-float.h>.
21964 (truncf): Define using libm_alias_float.
21965 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
21966 <libm-alias-float.h>.
21967 (ceilf): Define using libm_alias_float.
21968 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
21969 <libm-alias-float.h>.
21970 (copysignf): Define using libm_alias_float.
21971 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
21972 <libm-alias-float.h>.
21973 (floorf): Define using libm_alias_float.
21974 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
21975 <libm-alias-float.h>.
21976 (llrintf): Define using libm_alias_float.
21977 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
21978 <libm-alias-float.h>.
21979 (llroundf): Define using libm_alias_float.
21980 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
21981 <libm-alias-float.h>.
21982 (nearbyintf): Define using libm_alias_float.
21983 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
21984 <libm-alias-float.h>.
21985 (rintf): Define using libm_alias_float.
21986 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
21987 <libm-alias-float.h>.
21988 (roundf): Define using libm_alias_float.
21989 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
21990 <libm-alias-float.h>.
21991 (truncf): Define using libm_alias_float.
21992 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
21993 <libm-alias-float.h>.
21994 (ceilf): Define using libm_alias_float.
21995 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
21996 <libm-alias-float.h>.
21997 (floorf): Define using libm_alias_float.
21998 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
21999 <libm-alias-float.h>.
22000 (llroundf): Define using libm_alias_float.
22001 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
22002 <libm-alias-float.h>.
22003 (roundf): Define using libm_alias_float.
22004 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
22005 <libm-alias-float.h>.
22006 (truncf): Define using libm_alias_float.
22007 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
22008 <libm-alias-float.h>.
22009 (copysignf): Define using libm_alias_float.
22010 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
22011 <libm-alias-float.h>.
22012 (llrintf): Define using libm_alias_float.
22013 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
22014 <libm-alias-float.h>.
22015 (llroundf): Define using libm_alias_float.
22016 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
22017 <libm-alias-float.h>.
22018 (cosf): Define using libm_alias_float.
22019 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
22020 <libm-alias-float.h>.
22021 (llrintf): Define using libm_alias_float.
22022 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
22023 <libm-alias-float.h>.
22024 (llroundf): Define using libm_alias_float.
22025 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
22026 <libm-alias-float.h>.
22027 (sinf): Define using libm_alias_float.
22028
93485524
FW
220292017-12-04 Florian Weimer <fweimer@redhat.com>
22030
22031 * support/check.h (TEST_COMPARE): Define.
22032 (support_test_compare_failure): Declare.
22033 * support/Makefile (libsupport-routines): Add
22034 support_test_compare_failure.
22035 (tests): Add tst-test_compare.
22036 * support /support_test_compare_failure.c: New file.
22037 * support/tst-test_compare.c: Likewise.
22038
96b06a19
MF
220392017-12-04 Mike FABIAN <mfabian@redhat.com>
22040
22041 [BZ #22527]
22042 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
22043 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
22044 available, this rewrite of the collation rules does reproduce
22045 the test file in the same order.
22046
1f6d91f3
MF
220472017-12-04 Mike FABIAN <mfabian@redhat.com>
22048
22049 [BZ #10580]
22050 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
22051 digraphs in the month and day names. Using single code points for
22052 digraphs is deprecated. While there are dedicated Unicode
22053 codepoints, for the digraphs, these are included for backwards
22054 compatibility and modern texts use a sequence of Basic Latin
22055 characters. See: https://www.unicode.org/faq/ligature_digraph.html
22056 This makes the month and day names agree exactly with CLDR now,
22057 CLDR does not use the single code points for the digraphs either.
22058
2e49fed8
CM
220592017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
22060
22061 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
22062
73895b49
JM
220632017-12-04 Joseph Myers <joseph@codesourcery.com>
22064
22065 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
22066 of floor.
22067
4c1d801a
SP
220682017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
22069
22070 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
22071 Define only for libc.so.
22072
478593e6
SL
220732017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
22074
22075 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22076 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
6b5c8607 22077 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
478593e6
SL
22078 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
22079 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22080
7863a711
RS
220812017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22082
22083 [BZ #5997]
22084 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
22085
800a496a
JDA
220862017-12-02 John David Anglin <danglin@gcc.gnu.org>
22087
b3f7fb12
JDA
22088 [BZ libc/19170]
22089 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
22090 PREINIT_FUNCTION_WEAK is nonzero.
22091 (gmon_initializer): New function. Put procedure label for it in
22092 .init_array section.
22093 (_init): Don't call PREINIT_FUNCTION.
22094 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
22095 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
22096 value when map argument is null.
22097
800a496a
JDA
22098 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
22099 depi instruction from PIC pc-relative sequence.
22100 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
22101 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
22102 (elf_machine_load_address): Likewise.
22103 (elf_machine_runtime_setup): Likewise.
22104
d17542d2
JM
221052017-12-02 Joseph Myers <joseph@codesourcery.com>
22106
22107 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
22108 <libm-alias-double.h>.
22109 (logb): Define using libm_alias_double.
22110 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
22111 <libm-alias-double.h>.
22112 (copysign): Define using libm_alias_double.
22113 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
22114 <libm-alias-double.h>.
22115 (llrint): Define using libm_alias_double.
22116 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
22117 <libm-alias-double.h>.
22118 (llround): Define using libm_alias_double.
22119 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
22120 <libm-alias-double.h>.
22121 (lrint): Define using libm_alias_double.
22122 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
22123 <libm-alias-double.h>.
22124 (lround): Define using libm_alias_double.
22125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
22126 Include <libm-alias-double.h>.
22127 (copysign): Define using libm_alias_double.
22128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
22129 Include <libm-alias-double.h>.
22130 (llrint): Define using libm_alias_double.
22131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
22132 Include <libm-alias-double.h>.
22133 (llround): Define using libm_alias_double.
22134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
22135 <libm-alias-double.h>.
22136 (logb): Define using libm_alias_double.
22137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
22138 Include <libm-alias-double.h>.
22139 (lrint): Define using libm_alias_double.
22140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
22141 Include <libm-alias-double.h>.
22142 (lround): Define using libm_alias_double.
22143 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
22144 <libm-alias-double.h>.
22145 (llrint): Define using libm_alias_double.
22146 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
22147 <libm-alias-double.h>.
22148 (llround): Define using libm_alias_double.
22149 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
22150 <libm-alias-double.h>.
22151 (llround): Define using libm_alias_double.
22152 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
22153 <libm-alias-double.h>.
22154 (lround): Define using libm_alias_double.
22155 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
22156 <libm-alias-double.h>.
22157 (copysign): Define using libm_alias_double.
22158 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
22159 <libm-alias-double.h>.
22160 (llrint): Define using libm_alias_double.
22161 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
22162 <libm-alias-double.h>.
22163 (llround): Define using libm_alias_double.
22164 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
22165 <libm-alias-double.h>.
22166 (lrint): Define using libm_alias_double.
22167 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
22168 <libm-alias-double.h>.
22169 (lround): Define using libm_alias_double.
22170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
22171 <libm-alias-double.h>.
22172 (copysign): Define using libm_alias_double.
22173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
22174 <libm-alias-double.h>.
22175 (llrint): Define using libm_alias_double.
22176 (lrint): Likewise.
22177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
22178 <libm-alias-double.h>.
22179 (llround): Define using libm_alias_double.
22180 (lround): Likewise.
22181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
22182 <libm-alias-double.h>.
22183 (logb): Define using libm_alias_double.
22184 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
22185 <libm-alias-double.h>.
22186 (copysign): Define using libm_alias_double.
22187 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
22188 <libm-alias-double.h>.
22189 (llrint): Define using libm_alias_double.
22190 (lrint): Likewise.
22191 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
22192 <libm-alias-double.h>.
22193 (llround): Define using libm_alias_double.
22194 (lround): Likewise.
22195 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
22196 <libm-alias-double.h>.
22197 (llround): Define using libm_alias_double.
22198 (lround): Likewise.
22199 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
22200 <libm-alias-double.h>.
22201 (copysign): Define using libm_alias_double.
22202 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
22203 <libm-alias-double.h>.
22204 (llrint): Define using libm_alias_double.
22205 (lrint): Likewise.
22206 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
22207 <libm-alias-double.h>.
22208 (llround): Define using libm_alias_double.
22209 (lround): Likewise.
22210 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
22211 <libm-alias-double.h>.
22212 (llrint): Define using libm_alias_double.
22213 (lrint): Likewise.
22214 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
22215 <libm-alias-double.h>.
22216 (llround): Define using libm_alias_double.
22217 (lround): Likewise.
22218
ec2cf3f4
JM
222192017-12-01 Joseph Myers <joseph@codesourcery.com>
22220
0ddde474
JM
22221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
22222 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
22223 compat symbol based on llround.
22224
0d5ba561
JM
22225 * sysdeps/powerpc/power7/fpu/s_logb.c
22226 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
22227 symbol based on __logb, not on logb.
22228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
22229 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
22230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
22231 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
22232
51ea3b20
JM
22233 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
22234 (rint): Define using libm_alias_double.
22235 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
22236 <libm-alias-double.h>.
22237 (modf): Define using libm_alias_double.
22238 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
22239 <libm-alias-double.h>.
22240 (ceil): Define using libm_alias_double.
22241 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
22242 <libm-alias-double.h>.
22243 (floor): Define using libm_alias_double.
22244 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
22245 <libm-alias-double.h>.
22246 (nearbyint): Define using libm_alias_double.
22247 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
22248 <libm-alias-double.h>.
22249 (rint): Define using libm_alias_double.
22250 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
22251 <libm-alias-double.h>.
22252 (round): Define using libm_alias_double.
22253 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
22254 <libm-alias-double.h>.
22255 (trunc): Define using libm_alias_double.
22256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
22257 <libm-alias-double.h>.
22258 (ceil): Define using libm_alias_double.
22259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
22260 Include <libm-alias-double.h>.
22261 (floor): Define using libm_alias_double.
22262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
22263 <libm-alias-double.h>.
22264 (modf): Define using libm_alias_double.
22265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
22266 Include <libm-alias-double.h>.
22267 (round): Define using libm_alias_double.
22268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
22269 Include <libm-alias-double.h>.
22270 (trunc): Define using libm_alias_double.
22271 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
22272 <libm-alias-double.h>.
22273 (ceil): Define using libm_alias_double.
22274 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
22275 <libm-alias-double.h>.
22276 (floor): Define using libm_alias_double.
22277 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
22278 <libm-alias-double.h>.
22279 (round): Define using libm_alias_double.
22280 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
22281 <libm-alias-double.h>.
22282 (trunc): Define using libm_alias_double.
22283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
22284 <libm-alias-double.h>.
22285 (ceil): Define using libm_alias_double.
22286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
22287 <libm-alias-double.h>.
22288 (floor): Define using libm_alias_double.
22289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
22290 <libm-alias-double.h>.
22291 (modf): Define using libm_alias_double.
22292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
22293 <libm-alias-double.h>.
22294 (round): Define using libm_alias_double.
22295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
22296 <libm-alias-double.h>.
22297 (trunc): Define using libm_alias_double.
22298 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
22299 <libm-alias-double.h>.
22300 (ceil): Define using libm_alias_double.
22301 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
22302 <libm-alias-double.h>.
22303 (floor): Define using libm_alias_double.
22304 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
22305 <libm-alias-double.h>.
22306 (nearbyint): Define using libm_alias_double.
22307 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
22308 <libm-alias-double.h>.
22309 (rint): Define using libm_alias_double.
22310 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
22311 <libm-alias-double.h>.
22312 (round): Define using libm_alias_double.
22313 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
22314 <libm-alias-double.h>.
22315 (trunc): Define using libm_alias_double.
22316 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
22317 <libm-alias-double.h>.
22318 (ceil): Define using libm_alias_double.
22319 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
22320 <libm-alias-double.h>.
22321 (floor): Define using libm_alias_double.
22322 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
22323 <libm-alias-double.h>.
22324 (round): Define using libm_alias_double.
22325 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
22326 <libm-alias-double.h>.
22327 (trunc): Define using libm_alias_double.
22328
ec2cf3f4
JM
22329 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
22330 (fabs): Define using libm_alias_double.
22331 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
22332 (fma): Define using libm_alias_double.
22333 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
22334 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
22335 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
22336 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
22337
5b7bd975
AZ
223382017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22339
0594b13f
AZ
22340 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
22341
dbdfcf3b
AZ
22342 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
22343 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
22344 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
22345
5b7bd975
AZ
22346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
22347 due redirect macro.
22348
ef9ecfa6
AS
223492017-12-01 Andreas Schwab <schwab@linux-m68k.org>
22350
22351 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
22352
5b4e5e78
AZ
223532017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22354
2a14526b
AZ
22355 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
22356 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
22357 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
22358 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
22359
dbeb74ef 22360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1c051a9b
AZ
22361 (libm-sysdep_routines): Add s_nearbyintf-generic and
22362 s_nearbyint-generic.
22363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
22364 New file.
22365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
22366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
22367 Likewise.
22368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
22369 Likewise.
22370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
22371 file.
22372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
22373 Likewise.
22374
22375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
dbeb74ef
AZ
22376 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
22377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
22378 file.
22379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
22380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
22381 Likewise.
22382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
22383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
22384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22385
fa7ded96
AZ
22386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22387 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
22388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
22389 file.
22390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
22391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
22392 Likewise.
22393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
22394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
22395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
22396
e240cf0e
AZ
22397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22398 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
22399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
22400 file.
22401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
22402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
22403 Likewise.
22404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
22405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
22406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22407
5b4e5e78
AZ
22408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22409 (sysdep_calls): New rule.
22410 (sysdep_routines): Use sysdep_calls as base.
22411 (libm-sysdep_routines): Add generic rule for symbols shared with
22412 libc. Add s_copysign-generic and s_copysign-generic objects.
22413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
22414 New file.
22415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
22416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
22417 Likewise.
22418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
22419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
22420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
22421
d985adae
MF
224222017-12-01 Mike FABIAN <mfabian@redhat.com>
22423
22424 [BZ #22519]
22425 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
22426 the list of locales to be built for testing.
22427 * localedata/is_IS.UTF-8.in: New file.
22428 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
22429 on iso14651_t1.
22430
ff84a0e0
JM
224312017-12-01 Joseph Myers <joseph@codesourcery.com>
22432
22433 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
22434 <libm-alias-float.h>.
22435 (fabsf): Define using libm_alias_float.
22436
ef5d8b43
L
224372017-11-30 H.J. Lu <hongjiu.lu@intel.com>
22438
22439 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
22440
c0535adf
JM
224412017-11-30 Joseph Myers <joseph@codesourcery.com>
22442
f938b397
JM
22443 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
22444 <libm-alias-float.h>.
22445 (fabsf): Define using libm_alias_float.
22446 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
22447 <libm-alias-float.h>.
22448 (lrintf): Define using libm_alias_float.
22449 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
22450 <libm-alias-float.h>.
22451 (rintf): Define using libm_alias_float.
22452
2251fad0
JM
22453 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
22454 <libm-alias-double.h>.
22455 (fabs): Define using libm_alias_double.
22456 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
22457 <libm-alias-double.h>.
22458 (lrint): Define using libm_alias_double.
22459 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
22460 <libm-alias-double.h>.
22461 (rint): Define using libm_alias_double.
22462
e53df1de
JM
22463 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
22464 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
22465 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
22466 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
22467 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
22468 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
22469 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
22470 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
22471 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
22472 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
22473 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
22474 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
22475 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
22476 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
22477 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
22478 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
22479 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
22480 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
22481 s_atan_template.c.
22482 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
22483 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
22484 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
22485 s_ceil_template.c.
22486 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
22487 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
22488 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
22489 s_cos_template.c.
22490 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
22491 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
22492 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
22493 s_expm1_template.c.
22494 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
22495 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
22496 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
22497 s_fabs_template.c.
22498 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
22499 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
22500 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
22501 s_floor_template.c.
22502 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
22503 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
22504 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
22505 s_frexp_template.c.
22506 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
22507 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
22508 s_lrint_template.c.
22509 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
22510 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
22511 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
22512 s_modf_template.c.
22513 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
22514 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
22515 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
22516 s_nearbyint_template.c.
22517 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
22518 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
22519 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
22520 s_remquo_template.c.
22521 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
22522 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
22523 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
22524 s_rint_template.c.
22525 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
22526 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
22527 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
22528 s_sin_template.c.
22529 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
22530 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
22531 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
22532 s_sincos_template.c.
22533 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
22534 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
22535 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
22536 s_tan_template.c.
22537 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
22538 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
22539 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
22540 s_tanh_template.c.
22541 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
22542 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
22543 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
22544 s_trunc_template.c.
22545 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
22546 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
22547 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
22548 s_atan.c instead of including s_atan.c.
22549 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
22550 s_atanf.c instead of including s_atanf.c.
22551 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
22552 s_atanl.c instead of including s_atanl.c.
22553 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
22554 instead of s_atan.c.
22555 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
22556 instead of s_atanf.c.
22557 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
22558 instead of s_atanl.c.
22559
c0535adf
JM
22560 * scripts/update-copyrights: Do not handle intl/plural.c
22561 specially.
22562
1faaf703
JB
225632017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
22564
22565 [BZ #22432]
22566 * configure.ac (BISON): Require to be present.
22567 * configure: Regenerated.
22568 * intl/Makefile (generated): Add plural.c.
22569 [$(BISON) != no]: Make code unconditional.
22570 (plural.c): Change rule to $(objpfx)plural.c.
22571 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
22572 * intl/plural.c: Remove.
22573 * manual/install.texi (Tools for Compilation): Document bison as
22574 required.
22575 * INSTALL: Regenerated.
22576
faec6323
JM
225772017-11-30 Joseph Myers <joseph@codesourcery.com>
22578
bd6ea9ed
JM
22579 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
22580 <libm-alias-double.h>.
22581 (llrint): Define using libm_alias_double.
22582 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
22583 <libm-alias-float.h>.
22584 (llrintf): Define using libm_alias_float.
22585 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
22586 <libm-alias-ldouble.h>.
22587 (llrintl): Define using libm_alias_ldouble.
22588
faec6323
JM
22589 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
22590 declare_mgen_alias instead of weak_alias.
22591 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
22592 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
22593 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
22594
023cade3
AZ
225952017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22596
9e2279a0
AZ
22597 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22598 Add add_n-generic.
22599 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
22600 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
22601 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
22602
75f37c71
AZ
22603 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22604 Add submul_1-generic.
22605 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
22606 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
22607 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
22608
b70cbbfc 22609 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
dda1d2e8
AZ
22610 Add addmul_1-generic.
22611 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
22612 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
22613 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
22614
22615 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
b70cbbfc
AZ
22616 Add sub_n-generic.
22617 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
22618 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
22619 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
22620
023cade3
AZ
22621 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22622 Add mul_1-generic.
22623 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
22624 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
22625 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
22626
fbb5fd03
MF
226272017-11-30 Mike FABIAN <mfabian@redhat.com>
22628
22629 According to CLDR, collation rules for Serbian and Bosnian
22630 should be the same as for Croatian.
22631
22632 [BZ #22534]
22633 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
22634 and to the list of locales to be built for testing.
22635 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
22636 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
22637 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
22638 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
22639
5e56e937
MF
226402017-11-30 Mike FABIAN <mfabian@redhat.com>
22641
22642 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
22643 to make test case pass.
22644 * localedata/hr_HR.UTF-8.in: Add more test strings.
22645
cf4341ca
MF
226462017-11-30 Mike FABIAN <mfabian@redhat.com>
22647
22648 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
22649
363e4519 226502017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
9ca6b343
DSN
22651
22652 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
22653 the list of locales to built for testing.
22654 * localedata/hr_HR.UTF-8.in: New file.
22655
363e4519 226562017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
37075ae1
DSN
22657
22658 [BZ #10580]
22659 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
22660 iso14651_t1.
22661 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
22662 CLDR (except use ligatures for the digraphs, CLDR does not use
22663 the ligatures), add first_workday, some fixes in the date and time
22664 formats.
22665 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
22666 for Đ and đ.
22667 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
22668 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
22669 Add int_p_cs_precedes and int_n_cs_precedes.
22670 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
22671 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
22672 LC_MONETARY now).
22673 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
22674 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
22675 name_miss.
22676 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
22677 and lang_lib. Change postal_fmt.
22678
f33632cc
L
226792017-11-30 H.J. Lu <hongjiu.lu@intel.com>
22680
22681 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
22682 <setjmp.h>.
22683 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
22684 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
22685 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
22686 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
22687 * sysdeps/generic/setjmpP.h: New file.
22688 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
22689 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
22690 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
22691 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
22692 Add jmp_buf-ssp.sym.
22693 (tests): Add tst-saved_mask-1.
22694
34697694
AS
226952017-11-30 Arjun Shankar <arjun@redhat.com>
22696
22697 [BZ #22375]
37ac8e63 22698 CVE-2017-17426
34697694
AS
22699 * malloc/malloc.c (__libc_malloc): Use checked_request2size
22700 instead of request2size.
22701
3e5efdbd
JM
227022017-11-30 Joseph Myers <joseph@codesourcery.com>
22703
18305fba
JM
22704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
22705 (__lllrint): Remove alias.
22706 (lllrint): Likewise.
22707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
22708 (__lllrintf): Likewise.
22709 (lllrintf): Likewise.
22710
3e5efdbd
JM
22711 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
22712 <libm-alias-float.h>.
22713 (copysignf): Define using libm_alias_float.
22714 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
22715 <libm-alias-float.h>.
22716 (fabsf): Define using libm_alias_float.
22717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22718 Include <libm-alias-float.h>.
22719 (copysignf): Define using libm_alias_float.
22720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
22721 <libm-alias-float.h>.
22722 (fabsf): Define using libm_alias_float.
22723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
22724 <libm-alias-float.h>.
22725 (fdimf): Define using libm_alias_float.
22726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
22727 <libm-alias-float.h>.
22728 (fmaf): Define using libm_alias_float.
22729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
22730 <libm-alias-float.h>.
22731 (llrintf): Define using libm_alias_float.
22732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
22733 Include <libm-alias-float.h>.
22734 (nearbyintf): Define using libm_alias_float.
22735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
22736 <libm-alias-float.h>.
22737 (rintf): Define using libm_alias_float.
22738 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
22739 <libm-alias-float.h>.
22740 (llrintf): Define using libm_alias_float.
22741 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
22742 <libm-alias-float.h>.
22743 (lrintf): Define using libm_alias_float.
22744 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
22745 <libm-alias-float.h>.
22746 (nearbyintf): Define using libm_alias_float.
22747 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
22748 <libm-alias-float.h>.
22749 (rintf): Define using libm_alias_float.
22750 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
22751 <libm-alias-float.h>.
22752 (ceilf): Define using libm_alias_float.
22753 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
22754 <libm-alias-float.h>.
22755 (floorf): Define using libm_alias_float.
22756 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
22757 <libm-alias-float.h>.
22758 (fmaf): Define using libm_alias_float.
22759 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
22760 <libm-alias-float.h>.
22761 (lrintf): Define using libm_alias_float.
22762 (llrintf): Likewise.
22763 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
22764 <libm-alias-float.h>.
22765 (nearbyintf): Define using libm_alias_float.
22766 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
22767 <libm-alias-float.h>.
22768 (rintf): Define using libm_alias_float.
22769 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
22770 <libm-alias-float.h>.
22771 (truncf): Define using libm_alias_float.
22772 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
22773 <libm-alias-float.h>.
22774 (copysignf): Define using libm_alias_float.
22775 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
22776 <libm-alias-float.h>.
22777 (fabsf): Define using libm_alias_float.
22778 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
22779 <libm-alias-float.h>.
22780 (lrintf): Define using libm_alias_float.
22781 (llrintf): Likewise.
22782 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
22783 <libm-alias-float.h>.
22784 (nearbyintf): Define using libm_alias_float.
22785 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
22786 <libm-alias-float.h>.
22787 (rintf): Define using libm_alias_float.
22788
011fba7e
JM
227892017-11-29 Joseph Myers <joseph@codesourcery.com>
22790
875cd548
JM
22791 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
22792 <libm-alias-double.h>.
22793 (copysign): Define using libm_alias_double.
22794 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
22795 <libm-alias-double.h>.
22796 (fabs): Define using libm_alias_double.
22797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22798 Include <libm-alias-double.h>.
22799 (copysign): Define using libm_alias_double.
22800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
22801 <libm-alias-double.h>.
22802 (fabs): Define using libm_alias_double.
22803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
22804 <libm-alias-double.h>.
22805 (fdim): Define using libm_alias_double.
22806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
22807 <libm-alias-double.h>.
22808 (fma): Define using libm_alias_double.
22809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
22810 <libm-alias-double.h>.
22811 (llrint): Define using libm_alias_double.
22812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
22813 Include <libm-alias-double.h>.
22814 (nearbyint): Define using libm_alias_double.
22815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
22816 <libm-alias-double.h>.
22817 (rint): Define using libm_alias_double.
22818 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
22819 <libm-alias-double.h>.
22820 (fabs): Define using libm_alias_double.
22821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
22822 <libm-alias-double.h>.
22823 (llrint): Define using libm_alias_double.
22824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
22825 <libm-alias-double.h>.
22826 (nearbyint): Define using libm_alias_double.
22827 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
22828 <libm-alias-double.h>.
22829 (rint): Define using libm_alias_double.
22830 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
22831 <libm-alias-double.h>.
22832 (ceil): Define using libm_alias_double.
22833 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
22834 <libm-alias-double.h>.
22835 (floor): Define using libm_alias_double.
22836 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
22837 <libm-alias-double.h>.
22838 (fma): Define using libm_alias_double.
22839 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
22840 <libm-alias-double.h>.
22841 (lrint): Define using libm_alias_double.
22842 (llrint): Likewise.
22843 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
22844 <libm-alias-double.h>.
22845 (nearbyint): Define using libm_alias_double.
22846 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
22847 <libm-alias-double.h>.
22848 (rint): Define using libm_alias_double.
22849 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
22850 <libm-alias-double.h>.
22851 (trunc): Define using libm_alias_double.
22852 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
22853 <libm-alias-double.h>.
22854 (copysign): Define using libm_alias_double.
22855 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
22856 <libm-alias-double.h>.
22857 (fabs): Define using libm_alias_double.
22858 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
22859 <libm-alias-double.h>.
22860 (lrint): Define using libm_alias_double.
22861 (llrint): Likewise.
22862 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
22863 <libm-alias-double.h>.
22864 (nearbyint): Define using libm_alias_double.
22865 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
22866 <libm-alias-double.h>.
22867 (rint): Define using libm_alias_double.
22868
cf4ebc27
JM
22869 [BZ #22229]
22870 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
22871 <math_ldbl_opt.h>.
22872 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
22873
0c097378
JM
22874 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22875 SPARC --disable-multi-arch glibc variants.
22876
34bb10aa
JM
22877 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
22878 <libm-alias-float.h>.
22879 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22880 if [SHARED].
22881 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
22882 <libm-alias-float.h>.
22883 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22884 if [SHARED].
22885 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
22886 <libm-alias-float.h>.
22887 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22888 if [SHARED].
22889 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
22890 <libm-alias-float.h>.
22891 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22892 if [SHARED].
22893 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
22894 <libm-alias-float.h>.
22895 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22896 if [SHARED].
22897 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
22898 <libm-alias-float.h>.
22899 (ceilf): Define using libm_alias_float.
22900 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
22901 <libm-alias-float.h>.
22902 (floorf): Define using libm_alias_float.
22903 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
22904 <libm-alias-float.h>.
22905 (fmaf): Define using libm_alias_float.
22906 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
22907 <libm-alias-float.h>.
22908 (nearbyintf): Define using libm_alias_float.
22909 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
22910 <libm-alias-float.h>.
22911 (rintf): Define using libm_alias_float.
22912 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
22913 <libm-alias-float.h>.
22914 (truncf): Define using libm_alias_float.
22915 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
22916 (copysignf): Define using libm_alias_float.
22917 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
22918 (cosf): Define using libm_alias_float.
22919 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
22920 (fabsf): Define using libm_alias_float.
22921 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22922 (fmaxf): Define using libm_alias_float.
22923 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
22924 (fminf): Define using libm_alias_float.
22925 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
22926 (llrintf): Define using libm_alias_float.
22927 [!__ILP32__] (lrintf): Likewise.
22928 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
22929 (sincosf): Define using libm_alias_float.
22930 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
22931 (sinf): Define using libm_alias_float.
22932 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
22933 (lrintf): Define using libm_alias_float.
22934
011fba7e
JM
22935 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
22936 <libm-alias-double.h>.
22937 (atan): Define using libm_alias_double.
22938 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
22939 <libm-alias-double.h>.
22940 (ceil): Define using libm_alias_double.
22941 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
22942 <libm-alias-double.h>.
22943 (floor): Define using libm_alias_double.
22944 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
22945 <libm-alias-double.h>.
22946 (fma): Define using libm_alias_double.
22947 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
22948 <libm-alias-double.h>.
22949 (nearbyint): Define using libm_alias_double.
22950 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
22951 <libm-alias-double.h>.
22952 (rint): Define using libm_alias_double.
22953 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
22954 <libm-alias-double.h>.
22955 (sin): Define using libm_alias_double.
22956 (cos): Likewise.
22957 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
22958 <libm-alias-double.h>.
22959 (tan): Define using libm_alias_double.
22960 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
22961 <libm-alias-double.h>.
22962 (trunc): Define using libm_alias_double.
22963 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
22964 (copysign): Define using libm_alias_double.
22965 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
22966 (fabs): Define using libm_alias_double.
22967 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
22968 (fmax): Define using libm_alias_double.
22969 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
22970 (fmin): Define using libm_alias_double.
22971 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
22972 (llrint): Define using libm_alias_double.
22973 [!__ILP32__] (lrint): Likewise.
22974 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
22975 (lrint): Define using libm_alias_double.
22976
1cbd7bfe
AZ
229772017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22978
21bfcc3d
AZ
22979 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22980 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
22981 objects.
22982 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
22983 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
22984 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
22985 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
22986 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
22987 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22988
522228dd
AZ
22989 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22990 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
22991 objects.
22992 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
22993 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
22994 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
22995 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
22996 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
22997 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22998
2a6f4fab
AZ
22999 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23000 (libm-sysdep_routines): Add s_nearbyint-generic and
23001 s_nearbyintf-generic objects.
23002 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
23003 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
23004 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
23005 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
23006 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
23007 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
23008
712b5b83
AZ
23009 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23010 Add s_finitef-generic and s_finite-generic objects.
23011 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
23012 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
23013 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
23014 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
23015 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
23016 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
23017
c96d3335
AZ
23018 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23019 Add s_isinff-generic and s_isinf-generic objects.
23020 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
23021 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
23022 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
23023 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
23024 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
23025 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23026
c6862a23
AZ
23027 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23028 Add s_isnanf-generic and s_isnan-generic objects.
23029 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
23030 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
23031 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
23032 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
23033 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
23034 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23035
1cbd7bfe
AZ
23036 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
23037 macro.
23038 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
23039 rule.
23040 (sysdep_routines): Use sysdep_calls as base.
23041 (libm-sysdep_routines): Add generic rule for symbols shared with
23042 libc. Add s_signbit-generic and s_signbitf-generic objects.
23043 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
23044 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
23045 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
23046 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
23047 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
23048 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23049
aa1142c5
JM
230502017-11-29 Joseph Myers <joseph@codesourcery.com>
23051
23052 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
23053 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
23054 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
23055 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
23056 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
23057 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
23058 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
23059 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
23060 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
23061 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
23062 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
23063 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
23064 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
23065 libm_alias_float_r.
23066 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
23067 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
23068 (logf): Likewise.
23069 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
23070 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
23071 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
23072 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
23073 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
23074 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
23075 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
23076 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
23077 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
23078 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
23079 libm_alias_float.
23080 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
23081 (cosf): Likewise.
23082 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
23083 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
23084 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
23085 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
23086 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
23087 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
23088 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
23089 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
23090 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
23091 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
23092 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
23093 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
23094 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
23095 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
23096 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
23097 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
23098 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
23099 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
23100 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
23101 libm_alias_float.
23102 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
23103 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
23104 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
23105 * sysdeps/ia64/fpu/w_lgammaf_main.c
23106 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
23107 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
23108
363e4519
DL
231092017-11-28 Mike FABIAN <mfabian@redhat.com>
23110 Alexandre Oliva <aoliva@redhat.com>
8da25eec
AO
23111
23112 [BZ #17750]
23113 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
23114 * localedata/fr_CA.UTF-8.in: New file with test data for backward
23115 accents sorting.
23116 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
23117 sorting.
23118 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
23119 * localedata/locales/de_DE (LC_COLLATE): Likewise.
23120 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
23121 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
23122 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
23123 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
23124 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
23125 instead of “ifdef DIACRIT_BACKWARD”.
23126
a55430cb
AZ
231272017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23128
23129 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
23130 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
23131 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
23132 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
23133 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
23134 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
23135 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
23136 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
23137 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
23138 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
23139 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
23140 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
23141 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
23142 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
23143 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
23144 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
23145 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
23146 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
23147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23148 ($(have-as-vis3) == yes): Remove conditional.
23149 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
23150 Likewise.
23151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
23152 file.
23153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
23154 file.
23155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
23156 file.
23157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
23158 file.
23159 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
23160 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
23161 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
23162 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
23163 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
23164 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
23165 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
23166 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
23167
0609ec0a
JM
231682017-11-29 Joseph Myers <joseph@codesourcery.com>
23169
23170 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
23171 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
23172 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
23173 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
23174 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
23175 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
23176 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
23177 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
23178 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
23179 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
23180 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
23181 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
23182 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
23183 libm_alias_double_r.
23184 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
23185 (log): Likewise.
23186 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
23187 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
23188 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
23189 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
23190 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
23191 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
23192 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
23193 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
23194 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
23195 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
23196 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
23197 libm_alias_double.
23198 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
23199 (cos): Likewise.
23200 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
23201 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
23202 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
23203 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
23204 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
23205 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
23206 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
23207 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
23208 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
23209 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
23210 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
23211 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
23212 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
23213 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
23214 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
23215 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
23216 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
23217 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
23218 libm_alias_double.
23219 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
23220 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
23221 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
23222 * sysdeps/ia64/fpu/w_lgamma_main.c
23223 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
23224 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
23225
d5bfa34a
JDA
232262017-11-28 John David Anglin <danglin@gcc.gnu.org>
23227
23228 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
23229 address of $global$ into %dp register earlier. Use pc-relative
23230 instruction sequence for PIC case.
23231
bc4e8f9b
JM
232322017-11-28 Joseph Myers <joseph@codesourcery.com>
23233
e4602cba
JM
23234 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
23235 (asinhf): Define using libm_alias_float.
23236 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
23237 (atanf): Define using libm_alias_float.
23238 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
23239 (cbrtf): Define using libm_alias_float.
23240 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
23241 (ceilf): Define using libm_alias_float.
23242 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
23243 (copysignf): Define using libm_alias_float.
23244 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
23245 (expm1f): Define using libm_alias_float.
23246 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
23247 (fabsf): Define using libm_alias_float.
23248 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
23249 (floorf): Define using libm_alias_float.
23250 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23251 (fmaxf): Define using libm_alias_float.
23252 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
23253 (fminf): Define using libm_alias_float.
23254 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
23255 (frexpf): Define using libm_alias_float.
23256 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
23257 (llrintf): Define using libm_alias_float.
23258 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
23259 (logbf): Define using libm_alias_float.
23260 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
23261 (lrintf): Define using libm_alias_float.
23262 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
23263 (nearbyintf): Define using libm_alias_float.
23264 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
23265 (remquof): Define using libm_alias_float.
23266 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
23267 (rintf): Define using libm_alias_float.
23268 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
23269 (truncf): Define using libm_alias_float.
23270 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
23271 <libm-alias-float.h>.
23272 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23273 if [SHARED].
23274 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
23275 <libm-alias-float.h>.
23276 (expf): Define using libm_alias_float, or libm_alias_float_other
23277 if [SHARED].
23278 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
23279 <libm-alias-float.h>.
23280 (log2f): Define using libm_alias_float, or libm_alias_float_other
23281 if [SHARED].
23282 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
23283 <libm-alias-float.h>.
23284 (logf): Define using libm_alias_float, or libm_alias_float_other
23285 if [SHARED].
23286 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
23287 <libm-alias-float.h>.
23288 (powf): Define using libm_alias_float, or libm_alias_float_other
23289 if [SHARED].
23290 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
23291 <libm-alias-float.h>.
23292 (cosf): Define using libm_alias_float.
23293 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
23294 <libm-alias-float.h>.
23295 (sincosf): Define using libm_alias_float.
23296 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
23297 <libm-alias-float.h>.
23298 (sinf): Define using libm_alias_float.
23299 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23300 (fmaxf): Define using libm_alias_float.
23301 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
23302 (fminf): Define using libm_alias_float.
23303 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
23304 <libm-alias-float.h>.
23305 (fmaf): Define using libm_alias_float.
23306
bc4e8f9b
JM
23307 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
23308 (asinh): Define using libm_alias_double.
23309 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
23310 (atan): Define using libm_alias_double.
23311 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
23312 (cbrt): Define using libm_alias_double.
23313 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
23314 (ceil): Define using libm_alias_double.
23315 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
23316 (copysign): Define using libm_alias_double.
23317 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
23318 (expm1): Define using libm_alias_double.
23319 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
23320 (fabs): Define using libm_alias_double.
23321 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
23322 (fdim): Define using libm_alias_double.
23323 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
23324 (floor): Define using libm_alias_double.
23325 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
23326 (fmax): Define using libm_alias_double.
23327 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
23328 (fmin): Define using libm_alias_double.
23329 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
23330 (frexp): Define using libm_alias_double.
23331 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
23332 (llrint): Define using libm_alias_double.
23333 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
23334 (logb): Define using libm_alias_double.
23335 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
23336 (lrint): Define using libm_alias_double.
23337 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
23338 (nearbyint): Define using libm_alias_double.
23339 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
23340 (remquo): Define using libm_alias_double.
23341 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
23342 (rint): Define using libm_alias_double.
23343 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
23344 (trunc): Define using libm_alias_double.
23345 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
23346 (fmax): Define using libm_alias_double.
23347 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
23348 (fmin): Define using libm_alias_double.
23349 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
23350 (fma): Define using libm_alias_double.
23351
8d81ce0c
L
233522017-11-28 H.J. Lu <hongjiu.lu@intel.com>
23353
23354 [BZ #22370]
23355 * elf/dl-hwcaps.c (ROUND): Removed.
23356 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
23357 and ELF_NOTE_NEXT_OFFSET.
23358 * elf/dl-load.c (ROUND): Removed.
23359 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
23360 * elf/readelflib.c (ROUND): Removed.
23361 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
23362 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
23363 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
23364 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
23365
6940bd96
JM
233662017-11-28 Joseph Myers <joseph@codesourcery.com>
23367
313ba463
JM
23368 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
23369 [!__fmaf] (fmaf): Define using libm_alias_float.
23370
6940bd96
JM
23371 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
23372 [!__fma] (fma): Define using libm_alias_double.
23373 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
23374
22c69b6a
MF
233752017-11-28 Mike FABIAN <mfabian@redhat.com>
23376
23377 [BZ #22336]
23378 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
23379 and implement the collation rules for cs from CLDR on top of that.
23380 * Makefile: Add cs_CZ.UTF-8 to test-input.
23381 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
23382
8d7d3ba8
SP
233832017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
23384
23385 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
23386
0422ed1e
VR
233872017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
23388 Icarus Sparry <icarus.w.sparry@intel.com>
23389
23390 * benchtests/Makefile:Add BENCHSET to allow subsets of
23391 benchmarks to be run.
23392 * benchtests/README: Add documentation for: Running subsets of
23393 benchmarks.
23394
0595e360
VR
233952017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
23396
d5090db3
VR
23397 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
23398 range of tests names.
23399
0595e360
VR
23400 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
23401 result from property and remove "max", min" and "mean" from
23402 required properties based on benchtests/bench-skeleton.c.
23403
b4c645c2
FW
234042017-11-28 Florian Weimer <fweimer@redhat.com>
23405
23406 [BZ #20826]
23407 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
23408 due to Internet requirement.
23409 * posix/Makefile (tests): Remove tst-getaddrinfo4,
23410 tst-getaddrinfo5.
23411 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
23412
88684de7
AZ
234132017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23414
69056564
AZ
23415 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23416 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
23417 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
23418 (sysdep_routines): Add memset-ultra1.
23419 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
23420 file.
23421 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
23422 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
23423 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
23424 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
23425 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
23426 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
23427 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
23428 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23429
88684de7
AZ
23430 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
23431 file.
23432 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
23433 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
23434 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
23435 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
23436 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
23437 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
23438 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
23439 macro.
23440 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23441 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
23442 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
23443 (sysdep_routines): Add memcpy-ultra1.
23444 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
23445 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
23446
d8124864
JM
234472017-11-28 Joseph Myers <joseph@codesourcery.com>
23448
f433d0b3
JM
23449 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
23450 (cfloat_versions): Take function argument without trailing 'f'.
23451 Call libm_alias_float_other.
23452 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
23453 * sysdeps/alpha/fpu/cargf.c: Likewise.
23454 * sysdeps/alpha/fpu/cimagf.c: Likewise.
23455 * sysdeps/alpha/fpu/conjf.c: Likewise.
23456 * sysdeps/alpha/fpu/crealf.c: Likewise.
23457 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
23458 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
23459 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
23460 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
23461 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
23462 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
23463 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
23464 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
23465 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
23466 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
23467 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
23468 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
23469 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
23470 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
23471 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
23472 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
23473 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
23474 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
23475 (clog10f): Use libm_alias_float_other.
23476 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
23477 (ceilf): Define using libm_alias_float.
23478 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
23479 (copysignf): Define using libm_alias_float.
23480 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
23481 (fabsf): Define using libm_alias_float.
23482 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
23483 (floorf): Define using libm_alias_float.
23484 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
23485 (fmaxf): Define using libm_alias_float.
23486 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
23487 (fminf): Define using libm_alias_float.
23488 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
23489 (lrintf): Define using libm_alias_float.
23490 (llrintf): Likewise.
23491 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
23492 (lroundf): Define using libm_alias_float.
23493 (llroundf): Likewise.
23494 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
23495 (rintf): Define using libm_alias_float.
23496 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
23497 (truncf): Define using libm_alias_float.
23498
15ff4900
JM
23499 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
23500 (ceilf): Define using libm_alias_float.
23501 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
23502 (floorf): Define using libm_alias_float.
23503 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
23504 (fmaf): Define using libm_alias_float.
23505 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
23506 (fmaxf): Define using libm_alias_float.
23507 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
23508 (fminf): Define using libm_alias_float.
23509 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
23510 (llrintf): Define using libm_alias_float.
23511 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
23512 (llroundf): Define using libm_alias_float.
23513 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
23514 (lrintf): Define using libm_alias_float.
23515 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
23516 (lroundf): Define using libm_alias_float.
23517 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
23518 <libm-alias-float.h>.
23519 (nearbyintf): Define using libm_alias_float.
23520 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
23521 (rintf): Define using libm_alias_float.
23522 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
23523 (roundf): Define using libm_alias_float.
23524 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
23525 (truncf): Define using libm_alias_float.
23526
5de60638
JM
23527 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
23528 (ceil): Define using libm_alias_double.
23529 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
23530 (copysign): Define using libm_alias_double.
23531 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
23532 (fabs): Define using libm_alias_double.
23533 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
23534 (floor): Define using libm_alias_double.
23535 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
23536 (fmax): Define using libm_alias_double.
23537 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
23538 (fmin): Define using libm_alias_double.
23539 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
23540 (lrint): Define using libm_alias_double.
23541 (llrint): Likewise.
23542 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
23543 (lround): Define using libm_alias_double.
23544 (llround): Likewise.
23545 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
23546 (rint): Define using libm_alias_double.
23547 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
23548 (trunc): Define using libm_alias_double.
23549
d8124864
JM
23550 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
23551 (libm_alias_double_r): Add semicolon after weak_alias call.
23552
f07d2ec8
JM
235532017-11-27 Joseph Myers <joseph@codesourcery.com>
23554
23555 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
23556 (ceil): Define using libm_alias_double.
23557 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
23558 (floor): Define using libm_alias_double.
23559 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
23560 (fma): Define using libm_alias_double.
23561 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
23562 (fmax): Define using libm_alias_double.
23563 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
23564 (fmin): Define using libm_alias_double.
23565 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
23566 (llrint): Define using libm_alias_double.
23567 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
23568 (llround): Define using libm_alias_double.
23569 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
23570 (lrint): Define using libm_alias_double.
23571 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
23572 (lround): Define using libm_alias_double.
23573 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
23574 (nearbyint): Define using libm_alias_double.
23575 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
23576 (rint): Define using libm_alias_double.
23577 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
23578 (round): Define using libm_alias_double.
23579 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
23580 (trunc): Define using libm_alias_double.
23581
4bab0224
FW
235822017-11-27 Florian Weimer <fweimer@redhat.com>
23583
23584 * sysdeps/unix/sysv/linux/mlock2.c: New file.
23585 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
23586 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
23587 (tests): Add tst-mlock2.
23588 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
23589 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
23590 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
23591 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
23592 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
23593 for mlock. Document mlock2.
23594
a23aa5b7
JM
235952017-11-27 Joseph Myers <joseph@codesourcery.com>
23596
23597 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
23598 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
23599 Likewise.
23600 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
23601 Likewise.
23602 * sysdeps/x86/Makeconfig: New file.
23603 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
23604 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23605 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
23606 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23607 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23608 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23609 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
23610 Likewise.
23611 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23612 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23613 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23614 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23615 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23616 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23617 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23618 * manual/math.texi (Mathematics): Document support for _Float64x.
23619 * math/Versions (GLIBC_2.27): Add _Float64x functions.
23620 * stdlib/Versions (GLIBC_2.27): Likewise.
23621 * wcsmbs/Versions (GLIBC_2.27): Likewise.
23622 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23623 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23624 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23625 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23626 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23627 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23628 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23629 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23630 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23631 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23632 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
23634 Likewise.
23635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23636 Likewise.
23637 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23638 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23639 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23640 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23641 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23642 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23643 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23644 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23645 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23646 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23647 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23648 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23649 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23650 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23651
c2c299fd
AS
236522017-11-27 Andreas Schwab <schwab@suse.de>
23653
23654 * elf/Makefile (dl-routines): Add dl-sort-maps.
23655 * elf/dl-sort-maps.c: New file.
23656 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
23657 (_dl_sort_maps): Declare.
23658 * elf/dl-fini.c (_dl_sort_fini): Remove.
23659 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
23660 * elf/dl-close.c (_dl_close_worker): Likewise.
23661 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
23662 open-coding it.
23663 * elf/dl-open.c (dl_open_worker): Likewise.
23664
9d4b0117
JM
236652017-11-24 Joseph Myers <joseph@codesourcery.com>
23666
de61465c
JM
23667 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
23668 using libm_alias_float128.
23669 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
23670 Likewise.
23671 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
23672 Likewise.
23673 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
23674 (setpayloadsigf128): Likewise.
23675 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
23676 Likewise.
23677 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
23678 Likewise.
23679
9ae6d171
JM
23680 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
23681 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
23682 -mfloat128 to CFLAGS.
23683 ($(foreach
23684 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
23685 Likewise.
23686 (CFLAGS-libm-test-support-float64x.c): New variable.
23687 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
23688 $(f128-loader-link) to gnulib-tests.
23689
6e70d156
JM
23690 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
23691 (libm_alias_float128_other_r): If
23692 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
23693 alias.
23694 (libm_alias_float128_r): Add semicolon after weak_alias call.
23695 * sysdeps/generic/libm-alias-ldouble.h
23696 (libm_alias_ldouble_other_r_f128): New macro.
23697 (libm_alias_ldouble_other_r_f64x): Likewise.
23698 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
23699 and libm_alias_ldouble_other_r_f64x.
23700 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
23701 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
23702 (libm_alias_ldouble_other_r_f128): New macro.
23703 (libm_alias_ldouble_other_r_f64x): Likewise.
23704 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
23705 and libm_alias_ldouble_other_r_f64x.
23706
df2806cd
JM
23707 * stdlib/strfroml.c: Always include <stdlib.h>.
23708 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
23709 undefine as macro and define as weak alias.
23710 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
23711 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
23712 <stdlib.h>.
23713 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
23714 Define and later undefine as macro and define as weak alias.
23715
0df4fe35
JM
23716 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
23717 Define and later undefine as macro. Define as weak alias if
23718 [!USE_WIDE_CHAR].
23719 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
23720 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23721 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
23722 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
23723 Define and later undefine as macro. Define as weak alias if
23724 [!USE_WIDE_CHAR].
23725 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
23726 Define and later undefine as macro. Define as weak alias if
23727 [USE_WIDE_CHAR].
23728 * sysdeps/ieee754/float128/strtof128_l.c
23729 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
23730 Define and later undefine as macro. Define as weak alias if
23731 [!USE_WIDE_CHAR].
23732 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
23733 Define and later undefine as macro. Define as weak alias if
23734 [USE_WIDE_CHAR].
23735 * sysdeps/ieee754/ldbl-128/strtold_l.c
23736 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23737 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23738 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23739 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23740 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
23741 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23742 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23743 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23744 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23745 * sysdeps/ieee754/ldbl-96/strtold_l.c
23746 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23747 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23748 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23749 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23750
ae7207d0
JM
23751 * math/test-float64x.h: New file.
23752 * math/Makefile (type-float64x-yes): New variable.
23753 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
23754
9596fc69
JM
23755 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
23756 function-like macro.
23757 (min_of_type_): Likewise.
23758 (min_of_type_l): Likewise.
23759 (min_of_type_f128): Likewise.
23760 (min_of_type): Pass () as last argument of __MATH_TG.
23761
46453c3c
JM
23762 * stdlib/tst-strtod-round-skeleton.c
23763 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
23764 headers.
23765
01e659e7
JM
23766 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
23767 for combinations of long double with _Float64 and _Float64x.
23768
5c60afdd
JM
23769 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
23770 (__DECL_SIMD_cosf32): Likewise.
23771 (__DECL_SIMD_cosf64): Likewise.
23772 (__DECL_SIMD_cosf32x): Likewise.
23773 (__DECL_SIMD_cosf64x): Likewise.
23774 (__DECL_SIMD_cosf128x): Likewise.
23775 (__DECL_SIMD_sinf16): Likewise.
23776 (__DECL_SIMD_sinf32): Likewise.
23777 (__DECL_SIMD_sinf64): Likewise.
23778 (__DECL_SIMD_sinf32x): Likewise.
23779 (__DECL_SIMD_sinf64x): Likewise.
23780 (__DECL_SIMD_sinf128x): Likewise.
23781 (__DECL_SIMD_sincosf16): Likewise.
23782 (__DECL_SIMD_sincosf32): Likewise.
23783 (__DECL_SIMD_sincosf64): Likewise.
23784 (__DECL_SIMD_sincosf32x): Likewise.
23785 (__DECL_SIMD_sincosf64x): Likewise.
23786 (__DECL_SIMD_sincosf128x): Likewise.
23787 (__DECL_SIMD_logf16): Likewise.
23788 (__DECL_SIMD_logf32): Likewise.
23789 (__DECL_SIMD_logf64): Likewise.
23790 (__DECL_SIMD_logf32x): Likewise.
23791 (__DECL_SIMD_logf64x): Likewise.
23792 (__DECL_SIMD_logf128x): Likewise.
23793 (__DECL_SIMD_expf16): Likewise.
23794 (__DECL_SIMD_expf32): Likewise.
23795 (__DECL_SIMD_expf64): Likewise.
23796 (__DECL_SIMD_expf32x): Likewise.
23797 (__DECL_SIMD_expf64x): Likewise.
23798 (__DECL_SIMD_expf128x): Likewise.
23799 (__DECL_SIMD_powf16): Likewise.
23800 (__DECL_SIMD_powf32): Likewise.
23801 (__DECL_SIMD_powf64): Likewise.
23802 (__DECL_SIMD_powf32x): Likewise.
23803 (__DECL_SIMD_powf64x): Likewise.
23804 (__DECL_SIMD_powf128x): Likewise.
23805
9d4b0117
JM
23806 * stdlib/Versions (libc): Move entries for wcstof128 and
23807 wcstof128_l to ....
23808 * wcsmbs/Versions (libc): ... here.
23809 Include <float128-abi.h>.
23810
7911dd47
FW
238112017-11-24 Florian Weimer <fweimer@redhat.com>
23812
23813 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23814 bits/mman-shared.h.
23815 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
23816 <bits/mman-shared.h>.
23817 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
23818 to ...
23819 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
23820 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
23821 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
23822 <bits/mman-shared.h>.
23823
c45d78aa
AZ
238242017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23825
23826 [BZ #22457]
23827 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
23828 posix_memalign/free.
23829 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
23830
3ffc4cc1
MF
238312017-11-22 Mike FABIAN <mfabian@redhat.com>
23832
23833 [BZ #22469]
23834 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
23835 and implement the collation rules for pl from CLDR on top of that.
23836 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
23837 of locales to be built for testing.
23838 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
23839
3a327316
JM
238402017-11-23 Joseph Myers <joseph@codesourcery.com>
23841
23842 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
23843 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
23844 libm_alias_ldouble_other.
23845 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
23846 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
23847 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
23848 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
23849 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
23850 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
23851 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
23852 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
23853 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
23854 libm_alias_ldouble_r.
23855 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
23856 libm_alias_ldouble_other.
23857 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
23858 (log10l): Likewise.
23859 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
23860 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
23861 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
23862 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
23863 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
23864 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
23865 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
23866 (atan2l): Likewise.
23867 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
23868 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
23869 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
23870 libm_alias_ldouble.
23871 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
23872 (cosl): Likewise.
23873 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
23874 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
23875 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
23876 (expl): Likewise.
23877 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
23878 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
23879 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
23880 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
23881 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
23882 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
23883 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
23884 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
23885 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
23886 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
23887 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
23888 libm_alias_ldouble.
23889 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
23890 libm_alias_ldouble_other.
23891 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
23892 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
23893 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
23894 libm_alias_ldouble.
23895 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
23896 libm_alias_ldouble_other.
23897 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
23898 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
23899 * sysdeps/ia64/fpu/w_lgammal_main.c
23900 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
23901 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
23902
0a947e06
FW
239032017-11-23 Florian Weimer <fweimer@redhat.com>
23904
23905 * malloc/malloc.c (tcache_thread_shutdown): Rename from
23906 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
23907 alike. Remove freeres marker.
23908 * malloc/arena.c (arena_thread_freeres): Call
23909 tcache_thread_shutdown.
23910
67f36c79
FW
239112017-11-23 Florian Weimer <fweimer@redhat.com>
23912
23913 [BZ #22459]
23914 Export nscd hash function as __nss_hash.
23915 * include/nss.h (__nss_hash): Declare.
23916 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
23917 symbol.
23918 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
23919 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
23920 of __nscd_hash.
23921 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
23922 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
23923 * nss/Makefiles (routines): Add nss_hash.
23924 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
23925 * nss/nss_hash.c: Rename from nis/nis_hash.c.
23926 (__nss_hash): Rename from __nis_hash. Define hidden alias.
23927 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
23928
cccb6d4e
FW
239292017-11-23 Florian Weimer <fweimer@redhat.com>
23930
23931 [BZ #22478]
23932 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
23933 Return error code, not -1.
23934 * signal/tst-sigwait-eintr.c: New file.
23935 * signal/Makefile (tests): Add tst-sigwait-eintr.
23936
59d2cbb1
FW
239372017-11-23 Florian Weimer <fweimer@redhat.com>
23938
23939 Linux: Add memfd_create system call wrapper
23940 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
23941 tst-memfd_create.
23942 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
23943 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
23944 [__USE_GNU] (memfd_create): Declare.
23945 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
23946 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
23947 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
23948 * sysdeps/unix/sysv/linux/**.abilist: Update.
23949 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
23950
a90d1ac2
JM
239512017-11-22 Joseph Myers <joseph@codesourcery.com>
23952
0a9d1d62
JM
23953 * localedata/gen-locale.sh: Fix typo in variable name.
23954
754034c4
JM
23955 * resolv/res_debug.c (p_secstodate): Condition definition on
23956 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
23957 directly as __p_secstodate, and as a compat symbol. Do not use
23958 libresolv_hidden_def.
23959 * resolv/resolv.h (p_secstodate): Remove macro and function
23960 declaration.
23961 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
23962 using p_secstodate.
23963 * include/resolv.h (__p_secstodate): Do not use
23964 libresolv_hidden_proto.
23965 * resolv/Makefile (tests): Move tst-p_secstodate to ....
23966 (tests-internal): ... here.
23967 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
23968 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
23969 and declare and use __p_secstodate and use compat_symbol_reference
23970 in that case.
23971 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
23972 implementation returning 77.
23973
f120cda6
JM
23974 [BZ #22463]
23975 * resolv/res_debug.c: Include <libc-diag.h>.
23976 (p_secstodate): Assert time_t at least as wide as u_long. On
23977 overflow, use integer seconds since the epoch as output, or use
23978 "<overflow>" as output and set errno to EOVERFLOW if integer
23979 seconds since the epoch would be 14 or more characters.
23980 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
23981 for sprintf call.
23982 * resolv/tst-p_secstodate.c: New file.
23983 * resolv/Makefile (tests): Add tst-p_secstodate.
23984 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
23985
a90d1ac2
JM
23986 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
23987 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
23988 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
23989
0285e6bd
PE
239902017-11-22 Paul Eggert <eggert@cs.ucla.edu>
23991
23992 * posix/regcomp.c (init_word_char): Add comments.
23993
4bae6150
JM
239942017-11-22 Joseph Myers <joseph@codesourcery.com>
23995
23996 [BZ #22447]
23997 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
23998 strlen to compute length of ut_user and set trailing NUL byte of
23999 result explicitly.
24000
4b7af5fc
MF
240012017-11-21 Mike FABIAN <mfabian@redhat.com>
24002
24003 [BZ #15537]
24004 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
24005 using “copy "iso14651_t1"” and then implementing the
24006 collation rules for lv from CLDR on top of that.
24007 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
24008 of locales to be built for testing.
24009 * lv_LV.UTF-8.in: New file with test data to test the Latvian
24010 sorting.
24011
922bb78c
JM
240122017-11-21 Joseph Myers <joseph@codesourcery.com>
24013
24014 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
24015 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
24016 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
24017 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
24018 [__USE_MISC] (MADV_HWPOISON): New macro.
24019 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
24020
a3aaa598
AZ
240212017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24022
24023 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
24024 -Wmissing-braces on GCC 4.9.
24025
8beba15d
SL
240262017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
24027
24028 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
24029 * sysdeps/s390/s390-32/start.S (_start): Likewise
24030 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
24031 (thread_start): Likewise.
24032 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
24033 (thread_start): Likewise.
24034 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
24035 (__makecontext_ret): Likewise.
24036 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
24037 (__makecontext_ret): Likewise.
24038
80eb52e3
SL
240392017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
24040
24041 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
24042 __wcschrnul): Remove attribute_hidden.
24043
567d8c1f
PE
240442017-11-20 Paul Eggert <eggert@cs.ucla.edu>
24045
24046 regex: don't assume uint64_t or uint32_t
24047 This avoids -Werror=overflow errors for 32-bit systems in
24048 the 64-bit case. Problem reported by Joseph Myers in:
24049 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
24050 Also, when this code is used in Gnulib it ports to platforms
24051 that lack uint64_t and uint32_t. The C standard doesn't guarantee
24052 them, and on some 32-bit compilers there is no uint64_t.
24053 Problem reported by Gianluigi Tiesi in:
24054 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
24055 * posix/regcomp.c (init_word_char): Don't assume that the types
24056 uint64_t and uint32_t exist. Adapted from Gnulib patch
24057 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
24058 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
24059
4d7632ff
SP
240602017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
24061
5a67c4fa
SP
24062 * sysdeps/aarch64/memset-reg.h: New file.
24063 * sysdeps/aarch64/memset.S: Use it.
24064 (__memset): Rename to MEMSET macro.
24065 [ZVA_MACRO]: Use zva_macro.
24066 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
24067 Add memset_generic and memset_falkor.
24068 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
24069 (__libc_ifunc_impl_list): Add memset ifuncs.
24070 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
24071 local variable zva_size.
24072 * sysdeps/aarch64/multiarch/memset.c: New file.
24073 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
24074 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
24075 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
24076 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
24077 (DCZID_DZP_MASK): New macro.
24078 (DCZID_BS_MASK): Likewise.
24079 (init_cpu_features): Read and set zva_size.
24080 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
24081 (struct cpu_features): New member zva_size.
24082
eb332f9f
SP
24083 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
24084 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
24085 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
24086
4d7632ff
SP
24087 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
24088 backwards. Fix timing computation.
24089 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
24090 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
24091 on memset by N at a time. Fix timing computation.
24092
a465b89e
FW
240932017-11-20 Florian Weimer <fweimer@redhat.com>
24094
24095 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
24096 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
24097
0f74bbf5
FW
240982017-11-19 Florian Weimer <fweimer@redhat.com>
24099
24100 manual: Document mprotect
24101 * manual/memory.texi (Memory Protection): New section.
24102 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
24103 documentation of PROT_* flags and reference the Memory Protection
24104 section instead.
24105
f6e965ee
FW
241062017-11-19 Florian Weimer <fweimer@redhat.com>
24107
24108 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
24109 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
24110 (Scatter-Gather): ... to here. Remove misleading comment.
24111
363e4519 241122017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
ea69a5c8 24113
5f9d1949
CB
24114 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
24115 style.
24116
ea69a5c8
CB
24117 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
24118 when /proc/<pid>/setgroups does not exist.
24119
8db7f48c
FW
241202017-11-18 Florian Weimer <fweimer@redhat.com>
24121
24122 * sysdeps/unix/sysv/linux/tst-ttyname.c
24123 (become_root_in_mount_ns): Remove.
24124 (do_in_chroot_1): Call support_enter_mount_namespace.
24125 (do_in_chroot_2): Likewise.
24126 (do_test): Call support_become_root early.
24127
273a0c49
FW
241282017-11-18 Florian Weimer <fweimer@redhat.com>
24129
24130 * support/namespace.h (support_enter_mount_namespace): Declare.
24131 * support/support_enter_mount_namespace.c: New file.
24132 * support/Makefile (libsupport-routines): Add
24133 support_enter_mount_namespace.
24134
8adfb0ee
FW
241352017-11-18 Florian Weimer <fweimer@redhat.com>
24136
24137 * support/temp_file.c (support_create_temp_directory): Use
24138 test_dir and do not rely on the presence of the XXXXXX suffix.
24139 * support/temp_file.h (support_create_temp_directory): Update
24140 comment.
24141 * support/tst-xreadlink.c (do_test): Adjust.
24142 * support/support_chroot.c (support_chroot_create): Likewise.
24143
df0c40ee
TMQMF
241442017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24145
24146 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
24147 macro.
24148 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
24149 htm-no-suspend.
24150
015c6dc2
JM
241512017-11-17 Joseph Myers <joseph@codesourcery.com>
24152
f58e5f48
JM
24153 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
24154 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
24155 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
24156 (ceill): Define using libm_alias_ldouble.
24157 * sysdeps/x86_64/fpu/s_copysignl.S: Include
24158 <libm-alias-ldouble.h>.
24159 (copysignl): Define using libm_alias_ldouble.
24160 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
24161 (fabsl): Define using libm_alias_ldouble.
24162 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
24163 (floorl): Define using libm_alias_ldouble.
24164 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24165 (fmaxl): Define using libm_alias_ldouble.
24166 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24167 (fminl): Define using libm_alias_ldouble.
24168 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
24169 (llrintl): Define using libm_alias_ldouble.
24170 (lrintl): Likewise.
24171 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
24172 <libm-alias-ldouble.h>.
24173 (nearbyintl): Define using libm_alias_ldouble.
24174 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
24175 (truncl): Define using libm_alias_ldouble.
24176 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
24177 <libm-alias-ldouble.h>.
24178 (lrintl): Define using libm_alias_ldouble.
24179
2ce30701
JM
24180 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
24181 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
24182 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
24183 (asinhl): Define using libm_alias_ldouble.
24184 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
24185 (atanl): Define using libm_alias_ldouble.
24186 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
24187 (cbrtl): Define using libm_alias_ldouble.
24188 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
24189 (ceill): Define using libm_alias_ldouble.
24190 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
24191 (copysignl): Define using libm_alias_ldouble.
24192 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
24193 (fabsl): Define using libm_alias_ldouble.
24194 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
24195 (floorl): Define using libm_alias_ldouble.
24196 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24197 (fmaxl): Define using libm_alias_ldouble.
24198 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24199 (fminl): Define using libm_alias_ldouble.
24200 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
24201 (frexpl): Define using libm_alias_ldouble.
24202 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
24203 (llrintl): Define using libm_alias_ldouble.
24204 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
24205 (logbl): Define using libm_alias_ldouble.
24206 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
24207 (lrintl): Define using libm_alias_ldouble.
24208 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
24209 (nearbyintl): Define using libm_alias_ldouble.
24210 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
24211 (nextafterl): Define using libm_alias_ldouble.
24212 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
24213 (remquol): Define using libm_alias_ldouble.
24214 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
24215 (rintl): Define using libm_alias_ldouble.
24216 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
24217 (truncl): Define using libm_alias_ldouble.
24218 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24219 (fmaxl): Define using libm_alias_ldouble.
24220 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24221 (fminl): Define using libm_alias_ldouble.
24222
015c6dc2
JM
24223 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
24224 to C syntax instead of availability and properties of types.
24225 * bits/floatn.h [!__ASSEMBLER]: Likewise.
24226 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
24227 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
24228 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
24229 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
24230 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
24231
ce003e5d
FW
242322017-11-17 Florian Weimer <fweimer@redhat.com>
24233
24234 support_become_root: Enable file creation in namespaces.
24235 * support/support_become_root.c (setup_mapping): New function.
24236 (support_become_root): Call it.
24237
e7df6c5c
JM
242382017-11-17 Joseph Myers <joseph@codesourcery.com>
24239
24240 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
24241 macro.
24242
58a813bf
AZ
242432017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24244
24245 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
24246 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
24247
f97773d1
JM
242482017-11-16 Joseph Myers <joseph@codesourcery.com>
24249
6a6aa1f3
JM
24250 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
24251
f97773d1
JM
24252 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
24253 version to 4.14.
24254
a306c790
SP
242552017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
24256
7b0fb870
SP
24257 * INSTALL: Fix botched up regeneration.
24258
24259 * NEWS: Update sourceare link to https.
a306c790
SP
24260 * configure.ac: Likewise.
24261 * crypt/md5test-giant.c: Likewise.
24262 * dlfcn/bug-atexit1.c: Likewise.
24263 * dlfcn/bug-atexit2.c: Likewise.
24264 * localedata/README: Likewise.
24265 * malloc/tst-mallocfork.c: Likewise.
24266 * manual/install.texi: Likewise.
24267 * nptl/tst-pthread-getattr.c: Likewise.
24268 * stdio-common/tst-fgets.c: Likewise.
24269 * stdio-common/tst-fwrite.c: Likewise.
24270 * sunrpc/Makefile: Likewise.
24271 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
24272 * wcsmbs/tst-mbrtowc2.c: Likewise.
7b0fb870
SP
24273 * configure: Regenerate.
24274 * INSTALL: Regenerate.
a306c790 24275
7532837d
MS
242762017-11-15 Martin Sebor <msebor@redhat.com>
24277
24278 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
24279 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
24280 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
24281
495a56fd
LS
242822017-11-15 Luke Shumaker <lukeshu@parabola.nu>
24283
d9611e30
LS
24284 [BZ #22145]
24285 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
24286 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
24287
a09dfc19
LS
24288 [BZ #22145]
24289 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
24290 Defer is_pty check until end of the function.
24291 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24292
2fbce9c2
LS
24293 [BZ #22145]
24294 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
24295 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
24296 (ttyname): Likewise.
24297 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
24298 (__ttyname_r): Likewise.
24299
d10d6cab
LS
24300 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
24301 int to bool.
24302
9b5a8750
LS
24303 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
24304
495a56fd
LS
24305 * manual/terminal.texi (Is It a Terminal):
24306 Mention ENODEV for ttyname and ttyname_r.
24307
fa680dc6
JM
243082017-11-15 Joseph Myers <joseph@codesourcery.com>
24309
78cde19f
JM
24310 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
24311 constant and macro.
24312
fa680dc6
JM
24313 * sysdeps/unix/sysv/linux/bits/mman-linux.h
24314 [__USE_MISC] (MADV_WIPEONFORK): New macro.
24315 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
24316 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
24317 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
24318 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
24319
ad4f43a2
AZ
243202017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24321
1ba1d8a4
AZ
24322 * signal/sigrelse.c (sigrelse): Optimize implementation.
24323
ad4f43a2
AZ
24324 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
24325 (__sigpause): Rely on __sigsuspend to implement single thread
24326 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
24327
d0212d42
JM
243282017-11-15 Joseph Myers <joseph@codesourcery.com>
24329
24330 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
24331 kernel version to 4.14.
24332
2180fee1
SE
243332017-11-15 Steve Ellcey <sellcey@cavium.com>
24334
24335 [BZ #22442]
24336 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
24337 Check if ifname is too long.
24338
cad7ca39
LS
243392017-11-15 Luke Shumaker <lukeshu@parabola.nu>
24340
24341 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
24342
58c9f659
MF
243432017-11-15 Mike FABIAN <mfabian@redhat.com>
24344
24345 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
24346 was accidentally lost.
24347
0fa87c01
MF
243482017-11-15 Mike FABIAN <mfabian@redhat.com>
24349
24350 * localedata/locales/az_IR: Add standard copyright header.
24351
34eb4157
FW
243522017-11-15 Florian Weimer <fweimer@redhat.com>
24353
24354 [BZ #22439]
24355 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
24356 not just the top one. Output a new "subheaps" statistic.
24357
7a9368a1
FW
243582017-11-15 Florian Weimer <fweimer@redhat.com>
24359
24360 [BZ #22408]
24361 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
24362 under the per-arena lock.
24363 * malloc/Makefile (tests): Add tst-malloc_info.
24364 (tst-malloc_info): Link with libpthread.
24365 * malloc/tst-malloc_info.c: New file.
24366
be3a79a3
JM
243672017-11-15 Joseph Myers <joseph@codesourcery.com>
24368
24369 [BZ #21660]
24370 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
24371 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
24372 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
24373 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
24374 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
24375 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
24376 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
24377 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
24378 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
24379 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
24380 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
24381 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
24382 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
24383 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
24384 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
24385 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
24386 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
24387 (__floating_type): Likewise.
24388 (__real_integer_type): Likewise.
24389 (__complex_integer_type): Likewise.
24390 (__expr_is_real): Likewise.
24391 (__tgmath_real_type_sub): Likewise.
24392 (__tgmath_real_type): Likewise.
24393 (__tgmath_complex_type_sub): Likewise.
24394 (__tgmath_complex_type): Likewise.
24395 (__TGMATH_F128): Likewise.
24396 (__TGMATH_CF128): Likewise.
24397 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
24398 new macros.
24399 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
24400 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
24401 Likewise.
24402 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
24403 Likewise.
24404 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
24405 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
24406 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
24407 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
24408 Likewise.
24409 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
24410 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
24411 Likewise.
24412 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
24413 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
24414 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
24415 Likewise.
24416 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
24417 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
24418 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
24419 (cimag): Likewise.
24420 (creal): Likewise.
24421
ec72135e
JM
244222017-11-14 Joseph Myers <joseph@codesourcery.com>
24423
2e64ec9c
JM
24424 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
24425 for stpncpy calls for GCC 8.
24426 (test_strncat): Disable -Wstringop-truncation warning for strncat
24427 calls for GCC 8. Disable -Wstringop-overflow= warning for one
24428 strncat call for GCC 7.
24429 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
24430 calls for GCC 8.
24431 (test_memcmp): Use memcpy instead of strncpy for calls not copying
24432 trailing NUL.
24433
ec72135e
JM
24434 * string/bug-strncat1.c: Include <libc-diag.h>.
24435 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
24436
363e4519 244372017-11-13 Claude Paroz <claude@2xlibre.net>
a259f5d3
CP
24438
24439 [BZ #22387]
24440 * localedata/locales/aa_DJ: Improved readibility by replacing
24441 <Uxxxx> sequences in the ASCII printable range by their ASCII
24442 character equivalents.
24443 * localedata/locales/aa_ER: Likewise.
24444 * localedata/locales/aa_ER@saaho: Likewise.
24445 * localedata/locales/aa_ET: Likewise.
24446 * localedata/locales/af_ZA: Likewise.
24447 * localedata/locales/agr_PE: Likewise.
24448 * localedata/locales/ak_GH: Likewise.
24449 * localedata/locales/am_ET: Likewise.
24450 * localedata/locales/anp_IN: Likewise.
24451 * localedata/locales/ar_AE: Likewise.
24452 * localedata/locales/ar_BH: Likewise.
24453 * localedata/locales/ar_DZ: Likewise.
24454 * localedata/locales/ar_EG: Likewise.
24455 * localedata/locales/ar_IN: Likewise.
24456 * localedata/locales/ar_IQ: Likewise.
24457 * localedata/locales/ar_JO: Likewise.
24458 * localedata/locales/ar_KW: Likewise.
24459 * localedata/locales/ar_LB: Likewise.
24460 * localedata/locales/ar_LY: Likewise.
24461 * localedata/locales/ar_MA: Likewise.
24462 * localedata/locales/ar_OM: Likewise.
24463 * localedata/locales/ar_QA: Likewise.
24464 * localedata/locales/ar_SA: Likewise.
24465 * localedata/locales/ar_SD: Likewise.
24466 * localedata/locales/ar_SS: Likewise.
24467 * localedata/locales/ar_SY: Likewise.
24468 * localedata/locales/ar_TN: Likewise.
24469 * localedata/locales/ar_YE: Likewise.
24470 * localedata/locales/as_IN: Likewise.
24471 * localedata/locales/ast_ES: Likewise.
24472 * localedata/locales/ayc_PE: Likewise.
24473 * localedata/locales/az_AZ: Likewise.
24474 * localedata/locales/az_IR: Likewise.
24475 * localedata/locales/be_BY: Likewise.
24476 * localedata/locales/be_BY@latin: Likewise.
24477 * localedata/locales/bem_ZM: Likewise.
24478 * localedata/locales/ber_DZ: Likewise.
24479 * localedata/locales/ber_MA: Likewise.
24480 * localedata/locales/bg_BG: Likewise.
24481 * localedata/locales/bhb_IN: Likewise.
24482 * localedata/locales/bho_IN: Likewise.
24483 * localedata/locales/bi_VU: Likewise.
24484 * localedata/locales/bn_BD: Likewise.
24485 * localedata/locales/bn_IN: Likewise.
24486 * localedata/locales/bo_CN: Likewise.
24487 * localedata/locales/bo_IN: Likewise.
24488 * localedata/locales/br_FR: Likewise.
24489 * localedata/locales/brx_IN: Likewise.
24490 * localedata/locales/bs_BA: Likewise.
24491 * localedata/locales/byn_ER: Likewise.
24492 * localedata/locales/ca_AD: Likewise.
24493 * localedata/locales/ca_ES: Likewise.
24494 * localedata/locales/ca_FR: Likewise.
24495 * localedata/locales/ca_IT: Likewise.
24496 * localedata/locales/ce_RU: Likewise.
24497 * localedata/locales/chr_US: Likewise.
24498 * localedata/locales/cmn_TW: Likewise.
24499 * localedata/locales/crh_UA: Likewise.
24500 * localedata/locales/cs_CZ: Likewise.
24501 * localedata/locales/csb_PL: Likewise.
24502 * localedata/locales/cv_RU: Likewise.
24503 * localedata/locales/cy_GB: Likewise.
24504 * localedata/locales/da_DK: Likewise.
24505 * localedata/locales/de_AT: Likewise.
24506 * localedata/locales/de_BE: Likewise.
24507 * localedata/locales/de_CH: Likewise.
24508 * localedata/locales/de_DE: Likewise.
24509 * localedata/locales/de_IT: Likewise.
24510 * localedata/locales/de_LI: Likewise.
24511 * localedata/locales/de_LU: Likewise.
24512 * localedata/locales/doi_IN: Likewise.
24513 * localedata/locales/dv_MV: Likewise.
24514 * localedata/locales/dz_BT: Likewise.
24515 * localedata/locales/el_CY: Likewise.
24516 * localedata/locales/el_GR: Likewise.
24517 * localedata/locales/en_AG: Likewise.
24518 * localedata/locales/en_AU: Likewise.
24519 * localedata/locales/en_BW: Likewise.
24520 * localedata/locales/en_CA: Likewise.
24521 * localedata/locales/en_DK: Likewise.
24522 * localedata/locales/en_GB: Likewise.
24523 * localedata/locales/en_HK: Likewise.
24524 * localedata/locales/en_IE: Likewise.
24525 * localedata/locales/en_IL: Likewise.
24526 * localedata/locales/en_IN: Likewise.
24527 * localedata/locales/en_NG: Likewise.
24528 * localedata/locales/en_NZ: Likewise.
24529 * localedata/locales/en_PH: Likewise.
24530 * localedata/locales/en_SG: Likewise.
24531 * localedata/locales/en_US: Likewise.
24532 * localedata/locales/en_ZA: Likewise.
24533 * localedata/locales/en_ZM: Likewise.
24534 * localedata/locales/en_ZW: Likewise.
24535 * localedata/locales/eo: Likewise.
24536 * localedata/locales/es_AR: Likewise.
24537 * localedata/locales/es_BO: Likewise.
24538 * localedata/locales/es_CL: Likewise.
24539 * localedata/locales/es_CO: Likewise.
24540 * localedata/locales/es_CR: Likewise.
24541 * localedata/locales/es_CU: Likewise.
24542 * localedata/locales/es_DO: Likewise.
24543 * localedata/locales/es_EC: Likewise.
24544 * localedata/locales/es_ES: Likewise.
24545 * localedata/locales/es_GT: Likewise.
24546 * localedata/locales/es_HN: Likewise.
24547 * localedata/locales/es_MX: Likewise.
24548 * localedata/locales/es_NI: Likewise.
24549 * localedata/locales/es_PA: Likewise.
24550 * localedata/locales/es_PE: Likewise.
24551 * localedata/locales/es_PR: Likewise.
24552 * localedata/locales/es_PY: Likewise.
24553 * localedata/locales/es_SV: Likewise.
24554 * localedata/locales/es_US: Likewise.
24555 * localedata/locales/es_UY: Likewise.
24556 * localedata/locales/es_VE: Likewise.
24557 * localedata/locales/et_EE: Likewise.
24558 * localedata/locales/eu_ES: Likewise.
24559 * localedata/locales/eu_ES@euro: Likewise.
24560 * localedata/locales/fa_IR: Likewise.
24561 * localedata/locales/ff_SN: Likewise.
24562 * localedata/locales/fi_FI: Likewise.
24563 * localedata/locales/fil_PH: Likewise.
24564 * localedata/locales/fo_FO: Likewise.
24565 * localedata/locales/fr_BE: Likewise.
24566 * localedata/locales/fr_CA: Likewise.
24567 * localedata/locales/fr_CH: Likewise.
24568 * localedata/locales/fr_FR: Likewise.
24569 * localedata/locales/fr_LU: Likewise.
24570 * localedata/locales/fur_IT: Likewise.
24571 * localedata/locales/fy_DE: Likewise.
24572 * localedata/locales/fy_NL: Likewise.
24573 * localedata/locales/ga_IE: Likewise.
24574 * localedata/locales/gd_GB: Likewise.
24575 * localedata/locales/gez_ER: Likewise.
24576 * localedata/locales/gez_ET: Likewise.
24577 * localedata/locales/gl_ES: Likewise.
24578 * localedata/locales/gu_IN: Likewise.
24579 * localedata/locales/gv_GB: Likewise.
24580 * localedata/locales/ha_NG: Likewise.
24581 * localedata/locales/hak_TW: Likewise.
24582 * localedata/locales/he_IL: Likewise.
24583 * localedata/locales/hi_IN: Likewise.
24584 * localedata/locales/hif_FJ: Likewise.
24585 * localedata/locales/hne_IN: Likewise.
24586 * localedata/locales/hr_HR: Likewise.
24587 * localedata/locales/hsb_DE: Likewise.
24588 * localedata/locales/ht_HT: Likewise.
24589 * localedata/locales/hu_HU: Likewise.
24590 * localedata/locales/hy_AM: Likewise.
24591 * localedata/locales/i18n: Likewise.
24592 * localedata/locales/ia_FR: Likewise.
24593 * localedata/locales/id_ID: Likewise.
24594 * localedata/locales/ig_NG: Likewise.
24595 * localedata/locales/ik_CA: Likewise.
24596 * localedata/locales/is_IS: Likewise.
24597 * localedata/locales/it_CH: Likewise.
24598 * localedata/locales/it_IT: Likewise.
24599 * localedata/locales/iu_CA: Likewise.
24600 * localedata/locales/ja_JP: Likewise.
24601 * localedata/locales/ka_GE: Likewise.
24602 * localedata/locales/kk_KZ: Likewise.
24603 * localedata/locales/kl_GL: Likewise.
24604 * localedata/locales/kn_IN: Likewise.
24605 * localedata/locales/ko_KR: Likewise.
24606 * localedata/locales/kok_IN: Likewise.
24607 * localedata/locales/ks_IN: Likewise.
24608 * localedata/locales/ks_IN@devanagari: Likewise.
24609 * localedata/locales/ku_TR: Likewise.
24610 * localedata/locales/kw_GB: Likewise.
24611 * localedata/locales/ky_KG: Likewise.
24612 * localedata/locales/lb_LU: Likewise.
24613 * localedata/locales/lg_UG: Likewise.
24614 * localedata/locales/li_BE: Likewise.
24615 * localedata/locales/li_NL: Likewise.
24616 * localedata/locales/lij_IT: Likewise.
24617 * localedata/locales/ln_CD: Likewise.
24618 * localedata/locales/lo_LA: Likewise.
24619 * localedata/locales/lt_LT: Likewise.
24620 * localedata/locales/lv_LV: Likewise.
24621 * localedata/locales/lzh_TW: Likewise.
24622 * localedata/locales/mag_IN: Likewise.
24623 * localedata/locales/mai_IN: Likewise.
24624 * localedata/locales/mg_MG: Likewise.
24625 * localedata/locales/mhr_RU: Likewise.
24626 * localedata/locales/mi_NZ: Likewise.
24627 * localedata/locales/mk_MK: Likewise.
24628 * localedata/locales/ml_IN: Likewise.
24629 * localedata/locales/mn_MN: Likewise.
24630 * localedata/locales/mni_IN: Likewise.
24631 * localedata/locales/mr_IN: Likewise.
24632 * localedata/locales/ms_MY: Likewise.
24633 * localedata/locales/mt_MT: Likewise.
24634 * localedata/locales/my_MM: Likewise.
24635 * localedata/locales/nan_TW: Likewise.
24636 * localedata/locales/nan_TW@latin: Likewise.
24637 * localedata/locales/nb_NO: Likewise.
24638 * localedata/locales/nds_DE: Likewise.
24639 * localedata/locales/nds_NL: Likewise.
24640 * localedata/locales/ne_NP: Likewise.
24641 * localedata/locales/nhn_MX: Likewise.
24642 * localedata/locales/niu_NU: Likewise.
24643 * localedata/locales/niu_NZ: Likewise.
24644 * localedata/locales/nl_AW: Likewise.
24645 * localedata/locales/nl_BE: Likewise.
24646 * localedata/locales/nl_NL: Likewise.
24647 * localedata/locales/nn_NO: Likewise.
24648 * localedata/locales/nr_ZA: Likewise.
24649 * localedata/locales/nso_ZA: Likewise.
24650 * localedata/locales/oc_FR: Likewise.
24651 * localedata/locales/om_ET: Likewise.
24652 * localedata/locales/om_KE: Likewise.
24653 * localedata/locales/or_IN: Likewise.
24654 * localedata/locales/os_RU: Likewise.
24655 * localedata/locales/pa_IN: Likewise.
24656 * localedata/locales/pa_PK: Likewise.
24657 * localedata/locales/pap_AW: Likewise.
24658 * localedata/locales/pap_CW: Likewise.
24659 * localedata/locales/pl_PL: Likewise.
24660 * localedata/locales/ps_AF: Likewise.
24661 * localedata/locales/pt_BR: Likewise.
24662 * localedata/locales/pt_PT: Likewise.
24663 * localedata/locales/quz_PE: Likewise.
24664 * localedata/locales/raj_IN: Likewise.
24665 * localedata/locales/ro_RO: Likewise.
24666 * localedata/locales/ru_RU: Likewise.
24667 * localedata/locales/ru_UA: Likewise.
24668 * localedata/locales/rw_RW: Likewise.
24669 * localedata/locales/sa_IN: Likewise.
24670 * localedata/locales/sat_IN: Likewise.
24671 * localedata/locales/sc_IT: Likewise.
24672 * localedata/locales/sd_IN: Likewise.
24673 * localedata/locales/sd_IN@devanagari: Likewise.
24674 * localedata/locales/se_NO: Likewise.
24675 * localedata/locales/sgs_LT: Likewise.
24676 * localedata/locales/shs_CA: Likewise.
24677 * localedata/locales/si_LK: Likewise.
24678 * localedata/locales/sid_ET: Likewise.
24679 * localedata/locales/sk_SK: Likewise.
24680 * localedata/locales/sl_SI: Likewise.
24681 * localedata/locales/sm_WS: Likewise.
24682 * localedata/locales/so_DJ: Likewise.
24683 * localedata/locales/so_ET: Likewise.
24684 * localedata/locales/so_KE: Likewise.
24685 * localedata/locales/so_SO: Likewise.
24686 * localedata/locales/sq_AL: Likewise.
24687 * localedata/locales/sq_MK: Likewise.
24688 * localedata/locales/sr_ME: Likewise.
24689 * localedata/locales/sr_RS: Likewise.
24690 * localedata/locales/sr_RS@latin: Likewise.
24691 * localedata/locales/ss_ZA: Likewise.
24692 * localedata/locales/st_ZA: Likewise.
24693 * localedata/locales/sv_FI: Likewise.
24694 * localedata/locales/sv_SE: Likewise.
24695 * localedata/locales/sw_KE: Likewise.
24696 * localedata/locales/sw_TZ: Likewise.
24697 * localedata/locales/szl_PL: Likewise.
24698 * localedata/locales/ta_IN: Likewise.
24699 * localedata/locales/ta_LK: Likewise.
24700 * localedata/locales/tcy_IN: Likewise.
24701 * localedata/locales/te_IN: Likewise.
24702 * localedata/locales/tg_TJ: Likewise.
24703 * localedata/locales/th_TH: Likewise.
24704 * localedata/locales/the_NP: Likewise.
24705 * localedata/locales/ti_ER: Likewise.
24706 * localedata/locales/ti_ET: Likewise.
24707 * localedata/locales/tig_ER: Likewise.
24708 * localedata/locales/tk_TM: Likewise.
24709 * localedata/locales/tl_PH: Likewise.
24710 * localedata/locales/tn_ZA: Likewise.
24711 * localedata/locales/to_TO: Likewise.
24712 * localedata/locales/tpi_PG: Likewise.
24713 * localedata/locales/tr_CY: Likewise.
24714 * localedata/locales/tr_TR: Likewise.
24715 * localedata/locales/ts_ZA: Likewise.
24716 * localedata/locales/tt_RU: Likewise.
24717 * localedata/locales/tt_RU@iqtelif: Likewise.
24718 * localedata/locales/ug_CN: Likewise.
24719 * localedata/locales/uk_UA: Likewise.
24720 * localedata/locales/unm_US: Likewise.
24721 * localedata/locales/ur_IN: Likewise.
24722 * localedata/locales/ur_PK: Likewise.
24723 * localedata/locales/uz_UZ: Likewise.
24724 * localedata/locales/uz_UZ@cyrillic: Likewise.
24725 * localedata/locales/ve_ZA: Likewise.
24726 * localedata/locales/vi_VN: Likewise.
24727 * localedata/locales/wa_BE: Likewise.
24728 * localedata/locales/wae_CH: Likewise.
24729 * localedata/locales/wal_ET: Likewise.
24730 * localedata/locales/wo_SN: Likewise.
24731 * localedata/locales/xh_ZA: Likewise.
24732 * localedata/locales/yi_US: Likewise.
24733 * localedata/locales/yo_NG: Likewise.
24734 * localedata/locales/yue_HK: Likewise.
24735 * localedata/locales/yuw_PG: Likewise.
24736 * localedata/locales/zh_CN: Likewise.
24737 * localedata/locales/zh_HK: Likewise.
24738 * localedata/locales/zh_SG: Likewise.
24739 * localedata/locales/zh_TW: Likewise.
24740 * localedata/locales/zu_ZA: Likewise.
24741
cae87e64
FW
247422017-11-13 Florian Weimer <fweimer@redhat.com>
24743
24744 * support/next_to_fault.h, support/next_to_fault.c: New files.
24745 * support/Makefile (libsupport-routines): Add next_to_fault.
24746 * resolv/tst-inet_pton.c (struct next_to_fault)
24747 (next_to_fault_allocate, next_to_fault_free): Remove.
24748 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
24749
4a306ef1
L
247502017-11-13 H.J. Lu <hongjiu.lu@intel.com>
24751
24752 * elf/dl-support.c: Include <dl-procruntime.c>.
24753 * include/link.h: Include <link_map.h>.
24754 * sysdeps/generic/dl-procruntime.c: New file.
24755 * sysdeps/generic/link_map.h: Likewise.
24756 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
24757 the writable ld.so namespace.
24758
e69897bf
PE
247592017-11-12 Paul Eggert <eggert@cs.ucla.edu>
24760
24761 timezone: pacify GCC -Wstringop-truncation
24762 Problem reported by Martin Sebor in:
24763 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
24764 * timezone/zic.c (writezone): Use memcpy, not strncpy.
24765
1ffe1ccb
FW
247662017-11-12 Florian Weimer <fweimer@redhat.com>
24767
eceed671
FW
24768 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
24769 tst-xreadlink.
24770 (tests): Add tst-xreadlink.
1ffe1ccb
FW
24771 * support/support.h (xstrndup): Declare.
24772 * support/xunistd.h (xunlink, xreadlink): Declare.
24773 * support/temp_file.h (support_create_temp_directory): Declare.
24774 * support/temp_file.c (support_create_temp_directory): New function.
24775 * support/support_chroot.c (support_chroot_create): Use it.
24776 * support/xreadlink.c: New file.
24777 * support/xstrndup.c: Likewise.
24778 * support/xunlink.c: Likewise.
24779 * support/tst-xreadlink.c: Likewise.
24780
456b40a9
JDA
247812017-11-11 John David Anglin <danglin@gcc.gnu.org>
24782
24783 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
24784
c0a25aa9
FW
247852017-11-11 Florian Weimer <fweimer@redhat.com>
24786
24787 [BZ #22409]
24788 [BZ #22412]
24789 * resolv/res_comp.c (printable_string, binary_hnok)
24790 (binary_leading_dash): New functions.
24791 (res_hnok): Reimplement using these functions and ns_name_pton.
24792 (res_ownok): Likewise.
24793 (res_mailok): Reimplement using printable_string, ns_name_pton and
24794 binary_hnok.
24795 (res_dnok): Reimplement using printable_string and ns_name_pton.
24796 * resolv/tst-res_hnok.c (tests): Add additional tests.
24797 (LETTERDIGITS, PRINTABLE): Define.
24798 (do_test): Adjust one_char results.
24799
9e0ad304
FW
248002017-11-11 Florian Weimer <fweimer@redhat.com>
24801
24802 [BZ #22413]
24803 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
24804 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
24805
e2a9fca8
FW
248062017-11-11 Florian Weimer <fweimer@redhat.com>
24807
24808 * resolv/tst-ns_name_pton.c: New file.
24809 * resolv/Makefile (tests): Add tst-ns_name_pton.
24810 (tst-ns_name_pton): Link against libresolv.
24811
5c1a6923
FW
248122017-11-11 Florian Weimer <fweimer@redhat.com>
24813
24814 * resolv/tst-res_hnok.c: New file.
24815 * resolv/Makefile (tests): Add tst-res_hnok.
24816 (tst-res_hnok): Link against libresolv.
24817
a19c0a1d
FW
248182017-11-11 Florian Weimer <fweimer@redhat.com>
24819
24820 * resolv/tst-resolv-network.c: Use test framework instead explicit
24821 main function.
24822
8cb5295d
L
248232017-11-09 H.J. Lu <hongjiu.lu@intel.com>
24824
24825 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
24826 <jmp_buf-macros.h>.
24827 [!_ISOMAC] (STR_HELPER): New.
24828 [!_ISOMAC] (STR): Likewise.
24829 [!_ISOMAC] (TEST_SIZE): Likewise.
24830 [!_ISOMAC] (TEST_ALIGN): Likewise.
24831 [!_ISOMAC] (TEST_OFFSET): Likewise.
24832 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
24833 field offsets of jmp_buf as well as sigjmp_buf.
24834 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
24835 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
24836 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
24837 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
24838 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
24839 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
24840 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
24841 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
24842 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
24843 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
24844 Likewise.
24845 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
24846 Likewise.
24847 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
24848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
24849 Likewise.
24850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
24851 Likewise.
24852 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
24853 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
24854 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
24855 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
24856 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
24857 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
24858 Likewise.
24859 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
24860 Likewise.
24861 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
24862 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
24863 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
24864
58c4a161
JM
248652017-11-07 Joseph Myers <joseph@codesourcery.com>
24866
3683b423
JM
24867 * include/float.h
24868 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24869 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
24870 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24871 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
24872 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24873 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
24874 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24875 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
24876 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24877 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
24878 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24879 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
24880 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24881 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
24882 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24883 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
24884 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24885 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
24886 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24887 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
24888 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24889 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
24890 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24891 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
24892 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24893 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
24894 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24895 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
24896 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24897 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
24898 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24899 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
24900 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24901 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
24902 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24903 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
24904 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24905 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
24906 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24907 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
24908 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24909 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
24910 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24911 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
24912 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24913 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
24914 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24915 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
24916 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24917 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
24918 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24919 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
24920 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24921 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
24922 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24923 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
24924 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24925 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
24926 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24927 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
24928 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24929 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
24930 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24931 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
24932 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24933 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
24934 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24935 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
24936 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24937 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
24938 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24939 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
24940 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24941 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
24942 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24943 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
24944 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24945 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
24946 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24947 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
24948 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24949 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
24950 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24951 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
24952 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24953 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
24954 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24955 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
24956
58c4a161
JM
24957 * stdlib/tst-strtod.h (F16): New macro.
24958 (F32): Likewise.
24959 (F64): Likewise.
24960 (F32X): Likewise.
24961 (F64X): Likewise.
24962 (F128X): Likewise.
24963 (IF_FLOAT16): Likewise.
24964 (IF_FLOAT32): Likewise.
24965 (IF_FLOAT64): Likewise.
24966 (IF_FLOAT32X): Likewise.
24967 (IF_FLOAT64X): Likewise.
24968 (IF_FLOAT128X): Likewise.
24969 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
24970 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
24971 (STRTOD_TEST_FOREACH): Likewise.
24972 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
24973 (CHOOSE_f64): Likewise.
24974 (CHOOSE_f32x): Likewise.
24975 (CHOOSE_f64x): Likewise.
24976
feda96a1
AS
249772017-11-07 Andreas Schwab <schwab@suse.de>
24978
24979 * nptl/Makefile (tests-internal): Remove tst-typesizes.
24980
1bd0cbb8
MF
249812017-11-07 Mike FABIAN <mfabian@redhat.com>
24982
24983 [BZ #22403]
24984 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
24985 to be escaped.
24986 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
24987 to be escaped.
24988
363e4519 249892017-11-07 Claude Paroz <claude@2xlibre.net>
d8301314
CP
24990
24991 [BZ #22403]
24992 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
24993 to be escaped.
24994 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
24995 to be escaped.
24996 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
24997 to be escaped.
24998
dff91cd4
AZ
249992017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25000
06be6368
AZ
25001 [BZ #22298]
25002 * nptl/allocatestack.c (allocate_stack): Check if
25003 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
25004 __PTHREAD_MUTEX_HAVE_PREV is defined.
25005 * nptl/descr.h (pthread): Likewise.
25006 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
25007 Likewise.
25008 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
25009 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
25010 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
25011 * sysdeps/nptl/bits/thread-shared-types.h
25012 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
25013 defines.
25014 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
25015 of __WORDSIZE for internal layout.
25016 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
25017 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
25018 instead of __WORDSIZE whether to use an union for __spins and __list
25019 fields.
25020 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
25021 case.
25022 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
25023 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
25024 defines.
25025 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
25026 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25027 Likewise.
25028 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
25029 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25030 Likewise.
25031 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
25032 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25033 Likewise.
25034 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
25035 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25036 Likewise.
25037 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
25038 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25039 Likewise.
25040 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
25041 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25042 Likewise.
25043 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
25044 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25045 Likewise.
25046 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
25047 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25048 Likewise.
25049 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
25050 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25051 Likewise.
25052 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
25053 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25054 Likewise.
25055 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
25056 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25057 Likewise.
25058 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
25059 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25060 Likewise.
25061 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
25062 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25063 Likewise.
25064 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
25065 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25066 Likewise.
25067
72b3c6ee
AZ
25068 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
25069 New macros.
25070 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
25071 checks for expected input type size.
25072 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
25073 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
25074 Likewise.
25075 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
25076 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
25077 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
25078 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
25079 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
25080 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
25081 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
25082 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
25083 superflous runtime assert check.
25084 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
25085 Likewise.
25086 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
25087 Likewise.
25088 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
25089 Likewise.
25090 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
25091 Likewise.
25092 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
25093 Likewise.
25094 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
25095 Likewise.
25096 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
25097 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
25098 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
25099 Likewise.
25100 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
25101 Likewise.
25102 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
25103 Likewise.
25104 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
25105 Likewise.
25106 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
25107 Likewise.
25108 * nptl/pthread_attr_setinheritsched.c
25109 (__pthread_attr_setinheritsched): Likewise.
25110 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
25111 Likewise.
25112 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
25113 Likewise.
25114 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
25115 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
25116 __old_pthread_attr_setstack): Likewise.
25117 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
25118 Likewise.
25119 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
25120 Likewise.
25121 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
25122 Likewise.
25123 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
25124 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
25125 Likewise.
25126 * nptl/tst-typesizes.c: Remove file.
25127
dff91cd4
AZ
25128 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
25129 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
25130 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
25131 checks for internal pthread_mutex_t offsets.
25132 * sysdeps/aarch64/nptl/pthread-offsets.h
25133 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
25134 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
25135 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
25136 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
25137 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
25138 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
25139 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
25140 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
25141 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
25142 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
25143 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
25144 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
25145 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
25146 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
25147 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
25148 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
25149 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
25150 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
25151
b7fc95f8
FW
251522017-11-07 Florian Weimer <fweimer@redhat.com>
25153
25154 * bits/mman-linux.h: Move ...
25155 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
25156 comment.
25157 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
25158 outdated comment.
25159
6b860364
RS
251602017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25161
25162 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
25163 Redefine STRNLEN as __strnlen_power8.
25164
802c1f16
AZ
251652017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25166
d83da3a4
AZ
25167 * signal/sighold.c (sighold): Optimize implementation.
25168
6a4235f1
AZ
25169 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
25170 __NR_rt_sigqueueinfo.
25171
8b0e795a
AZ
25172 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
25173 __sigtimedwait.
25174 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
25175 assume __NR_rt_sigtimedwait.
25176 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
25177 and add LIBC_CANCEL_HANDLED for cancellation marking.
25178 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
25179
a1a638dd
AZ
25180 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
25181 (sysdeps_routines): Add memchr_noneon.
25182 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
25183 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
25184 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
25185 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
25186 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
25187 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
25188 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
25189
802c1f16
AZ
25190 * sysdeps/arm/arm-ifunc.h: New file.
25191 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
25192 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
25193 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
25194 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
25195 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
25196 (__memcpy_neon): Avoid create hidden alias.
25197 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
25198 (__memcpy_vfp): Likewise.
25199 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
25200 (sysdep_routines): Add memcpy_arm.
25201 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
25202
abcb584d
L
252032017-11-06 H.J. Lu <hongjiu.lu@intel.com>
25204
25205 [BZ #22362]
25206 * Makerules (make-link-multidir): New.
25207 * config.make.in (multidir): New.
25208 * configure.ac (libc_cv_multidir): New. AC_SUBST.
25209 * configure: Regenerated.
25210 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
25211 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
25212 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
25213 New target.
25214
4e2dff67
JM
252152017-11-06 Joseph Myers <joseph@codesourcery.com>
25216
25217 [BZ #22402]
25218 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
25219 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
25220
a1c7cd3c
MF
252212017-11-04 Mike FABIAN <mfabian@redhat.com>
25222
25223 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
25224 to be escaped.
25225
b9af29c0
FW
252262017-11-04 Florian Weimer <fweimer@redhat.com>
25227
25228 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
25229
4ca70e1a
JM
252302017-11-03 Joseph Myers <joseph@codesourcery.com>
25231
25232 * math/math.h [__HAVE_DISTINCT_FLOAT16
25233 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
25234 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
25235 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
25236 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
25237 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
25238 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
25239 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25240 (__MATH_TG_F32): New macro.
25241 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25242 (__MATH_TG_F64X): Likewise.
25243 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25244 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
25245
ba0e6668
DL
252462017-11-03 Dmitry V. Levin <ldv@altlinux.org>
25247
25248 * po/de.po: Update translations.
25249 * po/ru.po: Likewise.
25250
bc18a6d3
FW
252512017-11-03 Florian Weimer <fweimer@redhat.com>
25252
25253 * manual/filesys.texi (Hard Links): Document linkat.
25254
97255170
JM
252552017-11-03 Joseph Myers <joseph@codesourcery.com>
25256
86ec4865
JM
25257 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
25258 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
25259 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
25260 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
25261 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
25262 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
25263 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
25264 the same as _Float128.
25265 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
25266 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
25267 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
25268
97255170
JM
25269 * stdlib/stdlib.h
25270 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
25271 Declare.
25272 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
25273 Likewise.
25274 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
25275 Likewise.
25276 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25277 (strtof32x): Likewise.
25278 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25279 (strtof64x): Likewise.
25280 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25281 (strtof128x): Likewise.
25282 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25283 (strfromf16): Likewise.
25284 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25285 (strfromf32): Likewise.
25286 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25287 (strfromf64): Likewise.
25288 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25289 (strfromf32x): Likewise.
25290 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25291 (strfromf64x): Likewise.
25292 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25293 (strfromf128x): Likewise.
25294 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
25295 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
25296 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
25297 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
25298 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
25299 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
25300
6d58ce5e
RH
253012017-11-03 Richard Henderson <rth@twiddle.net>
25302
25303 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
25304
659ca267
SN
253052017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25306
25307 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
25308
94d2f0af
SN
253092017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25310
25311 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
25312 DT_TLSDESC_GOT initialization.
25313 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
25314 (_dl_tlsdesc_resolve_hold): Likewise.
25315 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
25316 (_dl_tlsdesc_resolve_hold): Likewise.
25317 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
25318 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
25319
28e1ddf3
SN
253202017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25321
25322 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
25323
0ca3d1d6
SN
253242017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25325
25326 [BZ #18572]
25327 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
25328 non-lazily for R_ARM_TLS_DESC.
25329
2c1d4e5f
SN
253302017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25331
25332 [BZ #17078]
25333 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
25334 R_ARM_TLS_DESC case.
25335 (elf_machine_lazy_rel): Remove the prelink check.
25336
91c5a366
SN
253372017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25338
25339 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
25340 DT_TLSDESC_GOT initialization.
25341 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
25342 (_dl_tlsdesc_resolve_rela): Likewise.
25343 (_dl_tlsdesc_resolve_hold): Likewise.
25344 (_dl_tlsdesc_undefweak): Remove ldar.
25345 (_dl_tlsdesc_dynamic): Likewise.
25346 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
25347 (_dl_tlsdesc_resolve_rela): Likewise.
25348 (_dl_tlsdesc_resolve_hold): Likewise.
25349 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
25350 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
25351 (_dl_tlsdesc_resolve_rela): Likewise.
25352 (_dl_tlsdesc_resolve_hold): Likewise.
25353
b7cf203b
SN
253542017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25355
25356 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
25357 binding and initialization non-lazily for R_AARCH64_TLSDESC.
25358
0cc5b022
SN
253592017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25360
25361 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
25362 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25363
43ddff2e
JM
253642017-11-02 Joseph Myers <joseph@codesourcery.com>
25365
25366 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
25367 Declare.
25368 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
25369 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
25370 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
25371 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
25372 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
25373 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
25374 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
25375 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
25376 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
25377 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
25378 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
25379
5baac970
MF
253802017-11-02 Mike FABIAN <mfabian@redhat.com>
25381
25382 [BZ #22382]
25383 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
25384 * localedata/locales/tpi_PG: Add standard header.
25385
ef11081f
FW
253862017-11-02 Florian Weimer <fweimer@redhat.com>
25387
25388 test-errno-linux: quotactl can fail with EPERM in containers.
25389 * sysdeps/unix/sysv/linux/test-errno-linux.c
25390 (LIST, LIST_FORWARD): New macros.
25391 (check_error_in_list): New function.
25392 (test_wrp_rv): Accept list of permitted error codes.
25393 (test_wrp_rv2): Remove.
25394 (test_wrp): Call test_wrp_rv with list of error codes.
25395 (test_wrp2): Accept list of error codes.
25396 (do_test): Adjust. Allow EPERM for quotactl.
25397
d10b132b
FW
253982017-11-02 Florian Weimer <fweimer@redhat.com>
25399
25400 * stdio-common/bug16.c (do_test): Use array_length.
25401 * stdio-common/errlist.c (_sys_nerr): Likewise.
25402 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
25403 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
25404 * stdio-common/psiginfo.c (psiginfo): Use array_length.
25405 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
25406 (do_test): Use array_length.
25407 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
25408 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
25409 * stdio-common/tst-printf-round.c (do_test): Likewise.
25410 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
25411 (CHECK): Use array_length.
25412 * stdio-common/tstdiomisc.c (t3, F): Likewise.
25413 * stdio-common/tstscanf.c (main): Likewise.
25414 * stdio-common/vfprintf.c (process_string_arg): Likewise.
25415
c94a5688
FW
254162017-11-02 Florian Weimer <fweimer@redhat.com>
25417
25418 Add array_length and array_end macros.
25419 * include/array_length.h: New file.
25420
2fac6a6c
FW
254212017-11-02 Florian Weimer <fweimer@redhat.com>
25422
25423 [BZ #22332]
25424 * posix/tst-glob-tilde.c (do_noescape): New variable.
25425 (one_test): Process it.
25426 (do_test): Set do_noescape. Add unescaping test case.
25427
2f1b212e
JM
254282017-11-01 Joseph Myers <joseph@codesourcery.com>
25429
260fbd0a
JM
25430 * math/complex.h
25431 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
25432 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
25433 with appropriate macros defined and undefined.
25434 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
25435 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25436 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
25437 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25438 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
25439 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25440 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
25441 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25442 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
25443 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25444
2f1b212e
JM
25445 * math/complex.h
25446 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
25447 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
25448 that for long double. Do not condition define and undefine of
25449 _Mdouble_complex_ on [__CFLOAT128].
25450
95b93c6e
L
254512017-11-01 H.J. Lu <hongjiu.lu@intel.com>
25452
25453 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
25454 of <sysdeps/generic/sysdep.h>.
25455 (ALIGNARG): Removed.
25456 (ASM_SIZE_DIRECTIVE): Likewise.
25457 (ENTRY): Likewise.
25458 (END): Likewise.
25459 (ENTRY_CHK): Likewise.
25460 (END_CHK): Likewise.
25461 (syscall_error): Likewise.
25462 (mcount): Likewise.
25463 (PSEUDO_END): Likewise.
25464 (L): Likewise.
25465 (atom_text_section): Likewise.
25466 * sysdeps/x86/sysdep.h: New file.
25467 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
25468 of <sysdeps/generic/sysdep.h>.
25469 (ALIGNARG): Removed.
25470 (ASM_SIZE_DIRECTIVE): Likewise.
25471 (ENTRY): Likewise.
25472 (END): Likewise.
25473 (ENTRY_CHK): Likewise.
25474 (END_CHK): Likewise.
25475 (syscall_error): Likewise.
25476 (mcount): Likewise.
25477 (PSEUDO_END): Likewise.
25478 (L): Likewise.
25479 (atom_text_section): Likewise.
25480
1bb36539
RL
254812017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
25482
25483 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
25484 category of LC_CTYPE set to "i18n:2012".
25485 * localedata/locales/i18n_ctype: Regenerate.
25486
067f5d97 254872017-10-31 Yury Norov <ynorov@caviumnetworks.com>
e8681faa 25488
87bbc4cf
YN
25489 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
25490 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
25491 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
25492 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
25493
e8681faa
YN
25494 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
25495 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
25496 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
25497 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
25498
540af6e2
JM
254992017-10-31 Joseph Myers <joseph@codesourcery.com>
25500
43e66283
JM
25501 * math/complex.h
25502 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
25503 New macro.
25504 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
25505 Likewise.
25506 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
25507 Likewise.
25508 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25509 (CMPLXF32X): Likewise.
25510 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25511 (CMPLXF64X): Likewise.
25512 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25513 (CMPLXF128X): Likewise.
25514
540af6e2
JM
25515 * math/math.h
25516 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
25517 (__MATH_EVAL_FMT2): Define to add 0.0f.
25518
58af72b4
AM
255192017-10-31 Alan Modra <amodra@gmail.com>
25520
25521 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
25522 include sysdep.h.
25523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
25524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
25525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
25526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
25527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
25528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
25529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
25530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
25531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
25532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
25533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
25534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
25535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
25536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
25537 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
25538 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
25539 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
25540 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
25541 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
25542 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
25543 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
25544 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
25545 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
25546 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
25547 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
25548 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
25549 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
25550 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
25551 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
25552 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
25553 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
25554 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
25555 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
25556 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
25557 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
25558 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
25559 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
25560 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
25561 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
25562 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
25563 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
25564 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
25565 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
25566 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
25567 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
25568 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
25569 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
25570 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
25571 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
25572 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
25573 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
25574 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
25575 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
25576 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
25577 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
25578 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
25579 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
25580 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
25581 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
25582 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
25583 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
25584 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
25585 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
25586 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
25587 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
25588 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
25589 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
25590 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
25591 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
25592
25593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
25594 include sysdep.h and math_ldbl_opt.h.
25595
25596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
25597 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
25598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
25599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
25600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
25601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
25602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
25603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
25604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
25605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
25606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
25607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
25608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
25609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
25610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
25611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
25612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
25613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
25614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
25615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
25616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
25617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
25618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
25619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
25620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
25621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
25622
112f30b3
AM
256232017-10-31 Alan Modra <amodra@gmail.com>
25624
25625 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
25626 string/strncase_l.c, not string/strncase.c.
25627 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
25628 (libc_hidden_def): Redefine.
25629
e9e7eced
AM
256302017-10-31 Alan Modra <amodra@gmail.com>
25631
25632 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
25633 (__STRCMP, STRCMP, __strcasecmp_l): Define.
25634 (__strcasecmp): Don't define.
25635
f7b465cf
AM
256362017-10-31 Alan Modra <amodra@gmail.com>
25637
25638 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
25639 IS_IN (libc).
25640 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
25641 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
25642 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
25643
d46b09f9
AM
256442017-10-31 Alan Modra <amodra@gmail.com>
25645
25646 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
25647 USE_AS_STPNCPY.
25648
e9b8e194
AM
256492017-10-31 Alan Modra <amodra@gmail.com>
25650
25651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
25652 Redefine only when SHARED.
25653
eda162dd
JM
256542017-10-30 Joseph Myers <joseph@codesourcery.com>
25655
b61afe8c
JM
25656 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
25657 Include <bits/math-finite.h> with appropriate macros defined and
25658 undefined.
25659 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
25660 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
25661 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
25662 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
25663 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
25664
eda162dd
JM
25665 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
25666 [!_Mlong_double_] (_Mlong_double_): Likewise.
25667 [!_Mfloat16_] (_Mfloat16_): Likewise.
25668 [!_Mfloat32_] (_Mfloat32_): Likewise.
25669 [!_Mfloat64_] (_Mfloat64_): Likewise.
25670 [!_Mfloat128_] (_Mfloat128_): Likewise.
25671 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
25672 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
25673 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
25674 (_Mdouble_): Define without indirection through those macros.
25675 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
25676 [!_Mfloat128_] (_Mfloat128_): Likewise.
25677 [_Mlong_double_] (_Mlong_double_): Likewise.
25678 (_Mdouble_): Define without indirection through those macros.
25679 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
25680 not add -D_Mlong_double_=double.
25681 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
25682 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
25683
4ad5106e
L
256842017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25685
25686 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
25687
fe326df7
L
256882017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25689
25690 * sysdeps/x86/libc-start.c: Reformat.
25691
c5cc4514
L
256922017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25693
25694 [BZ #22353]
25695 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
25696 (1): Renamed to ...
25697 (L(Src0)): This.
25698 (L(Src1)): New.
25699 (L(Src2)): Likewise.
25700 (L(1)): Renamed to ...
25701 (L(Src3)): This.
25702
ce12269f
JM
257032017-10-30 Joseph Myers <joseph@codesourcery.com>
25704
25705 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
25706 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
25707 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
25708 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
25709 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
25710 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
25711 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
25712 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
25713 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
25714 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
25715 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
25716 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
25717 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
25718 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
25719 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
25720 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
25721 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
25722 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
25723 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
25724 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
25725 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
25726 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
25727 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
25728 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
25729 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
25730 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
25731 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
25732 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
25733 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
25734 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
25735 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
25736 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
25737 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
25738 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
25739 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
25740 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
25741 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
25742 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
25743 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
25744 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
25745 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
25746 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
25747 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
25748 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
25749 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
25750 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
25751 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
25752 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
25753 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
25754 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
25755 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
25756 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
25757 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
25758 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
25759 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
25760 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
25761 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
25762 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
25763 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
25764 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
25765 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
25766 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
25767 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
25768 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
25769 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
25770 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
25771
4484b9e2
FW
257722017-10-30 Florian Weimer <fweimer@redhat.com>
25773
25774 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
25775 always defined.
25776 * io/tst-mkdirat.c (do_test): Likewise.
25777 * io/tst-mkfifoat.c (do_test): Likewise.
25778 * io/tst-mknodat.c (do_test): Likewise.
25779 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
25780 * locale/programs/locale.c (select_dirs): Likewise.
25781 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
25782 * posix/bug-glob2.c (my_readdir): Likewise.
25783 * posix/tst-dir.c (main): Likewise.
25784 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
25785 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
25786
68fe16dd
FW
257872017-10-30 Florian Weimer <fweimer@redhat.com>
25788
25789 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
25790 just __USE_GNU.
25791
dadf23f0
FW
257922017-10-30 Florian Weimer <fweimer@redhat.com>
25793
25794 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
25795 Convert to support/test-driver.c.
25796 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
25797 New macro parameters.
25798 (PRINTF): Remove macro. Use test_verbose conditionals instead.
25799 * posix/tst-gnuglob.c: New file.
25800 * posix/tst-gnuglob64.c: Likewise.
25801 * posix/Makefile (tests): Add tst-gnuglob64.
25802
363e4519 258032017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
fbcecc08
MF
25804
25805 [BZ #19485]
25806 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
25807 and use a better translation for March in “mon”.
25808 * localedata/locales/csb_PL: Use more ASCII to improve the
25809 readability of the source.
25810
b110af82
MF
258112017-10-30 Mike FABIAN <mfabian@redhat.com>
25812
25813 [BZ #13953]
25814 * localedata/locales/km_KH: Use ASCII as much
25815 as possible for better readability of the source and
25816 remove useless comments.
25817 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
25818 was commented out and apparently wrong anyway because it was
25819 using Lao characters. If Buddhist era should be used
25820 for km_KH, a native speaker should write the correct formaat
25821 for Khmer.
25822 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
25823 (According to CLDR, the first weekday for Cambodia is Sunday).
25824 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
25825 (These were using Lao characters which must be wrong. If we get
25826 the correct data from a native speaker, we could add it back, until
25827 then it is better not to have name_mr and name_mrs at all than
25828 having it wrong).
25829
f301e533
RL
258302017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
25831
25832 * locale/loadlocale.c: Correct size of
25833 _nl_value_type_LC_<category> arrays.
25834
7e9d7073
JM
258352017-10-27 Joseph Myers <joseph@codesourcery.com>
25836
25837 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
25838 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
25839 with appropriate macros defined and undefined.
25840 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
25841 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
25842 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
25843 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
25844 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
25845
63d3b468
L
258462017-10-27 H.J. Lu <hongjiu.lu@intel.com>
25847
25848 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
25849 "-O2 -march=i586".
25850
a4cc02c7
MF
258512017-10-27 Mike FABIAN <mfabian@redhat.com>
25852
25853 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
25854 with lowercase letters to make it agree with CLDR.
25855
1e5971ec
MF
258562017-10-27 Mike FABIAN <mfabian@redhat.com>
25857
25858 [BZ #15260]
25859 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
25860 first letters of yesstr and nostr in yesexpr and noexpr,
25861 not for the full words.
25862 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
25863 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
25864 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
25865 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
25866 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
25867 first letters of yesstr and nostr in yesexpr and noexpr,
25868 until now only English was matched in yesexpr and noexpr.
25869 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
25870 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
25871 fil but not for tl. As tl and fil are very similar, using fil
25872 is probably better than using English.
25873
363e4519 258742017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
bc5fc7de
MF
25875
25876 [BZ #21706]
25877 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
25878 in yesstr and nostr.
25879
5d220788
JM
258802017-10-26 Joseph Myers <joseph@codesourcery.com>
25881
ecc7da5b
JM
25882 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
25883 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
25884 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
25885 Likewise.
25886 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
25887 Likewise.
25888 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
25889 Likewise.
25890 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
25891 Likewise.
25892 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25893 (SNANF128X): Likewise.
25894
5d220788
JM
25895 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
25896 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
25897 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25898 (HUGE_VAL_F32): Likewise.
25899 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25900 (HUGE_VAL_F64): Likewise.
25901 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25902 (HUGE_VAL_F32X): Likewise.
25903 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25904 (HUGE_VAL_F64X): Likewise.
25905 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25906 (HUGE_VAL_F128X): Likewise.
25907
363e4519 259082017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
67ad7163
TV
25909
25910 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
25911 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
25912 for the br_FR locale.
25913
363e4519 259142017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
408dff7e
TV
25915
25916 [BZ #21706]
25917 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
25918
337ff3c5
CD
259192017-10-25 Carlos O'Donell <carlos@redhat.com>
25920
02eec681
CD
25921 * locale/programs/record-status.h: Define globals, and function
25922 prototypes. Move function bodies...
25923 * locale/programs/record-status.c: ... to here. New file.
25924 * iconv/Makefile (iconv_prog-modules): Add record-status.
25925 * locale/Makefile (lib-modules): Likewise.
25926 * iconv/iconv_prog.c: Remove verbose.
25927 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
25928 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
25929 record a warning about ASCII compatibility.
25930 * locale/programs/ld-monetary.c (monetary_finish): If
25931 warn_int_curr_symbol is true then record a warning about the symbol
25932 not being in our ISO 4217 list.
25933 * locale/programs/locale.c: Include record-status.h. Remove verbose.
25934 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
25935 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
25936 (OPT_NO_WARN): Define.
25937 (OPT_WARN): Define.
25938 (options): Add entry for --no-warnings, and --warnings.
25939 (set_warnings): New function to enable/disable warnings.
25940 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
25941 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
25942 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
25943 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
25944 Pass flags to generate_locale.
25945 (generate_locale): Accept new flag argument and pass it to localedef
25946 invocation.
25947 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
25948 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
25949
56fa555a
CD
25950 * localedata/Makefile (test-input-data): Use full file name.
25951 * localedata/da_DK.in: Rename to...
25952 * localedata/da_DK.ISO-8859-1.in: ...this.
25953 * localedata/de_DE.in: Rename to...
25954 * localedata/de_DE.ISO-8859-1.in: ...this.
25955 * localedata/en_US.in: Rename to...
25956 * localedata/en_US.ISO-8859-1.in: ...this.
25957 * localedata/fr_FR.in: Rename to...
25958 * localedata/fr_FR.UTF-8.in: ... this.
25959 * localedata/hr_HR.in: Rename to...
25960 * localedata/hr_HR.ISO-8859-2.in: ...this.
25961 * localedata/hu_HU.in: Rename to...
25962 * localedata/hu_HU.UTF-8.in: ...this.
25963 * localedata/si_LK.in: Rename to...
25964 * localedata/si_LK.UTF-8.in: ...this.
25965 * localedata/sv_SE.in: Rename to...
25966 * localedata/sv_SE.ISO-8859-1.in: ...this.
25967 * localedata/tr_TR.in: Rename to...
25968 * localedata/tr_TR.UTF-8.in: ...this.
25969 * localedata/uk_UA.in: Rename to...
25970 * localedata/uk_UA.UTF-8.in: ...this.
25971 * localedata/sort-test.sh: Test file is locale name with the
25972 suffix.
25973
337ff3c5
CD
25974 * localedata/unicode-gen/Makefile (check_i18n): Rename to
25975 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
25976 file.
25977 * localedata/locales/i18n_ctype: Regenerate.
25978 * localedata/locales/tr_TR: Likewise.
25979 * localedata/locales/translit_circle: Likewise.
25980 * localedata/locales/translit_cjk_compat: Likewise.
25981 * localedata/locales/translit_combining: Likewise.
25982 * localedata/locales/translit_compat: Likewise.
25983 * localedata/locales/translit_font: Likewise.
25984 * localedata/locales/translit_fraction: Likewise.
25985
63da5cd4
RS
259862017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25987
25988 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
25989 lxvd2x/stxvd2x with lvx/stvx.
25990 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
25991
a122dbfb
L
259922017-10-25 H.J. Lu <hongjiu.lu@intel.com>
25993
25994 * include/alloc_buffer.h: Replace "if if " with "if " in
25995 comments.
25996 * sysdeps/mips/memcpy.S: Likkewise.
25997 * sysdeps/mips/memset.S: Likewise.
25998 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
25999 Likewise.
26000 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
26001 Likewise.
26002 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
26003 Likewise.
26004
9be7530c
MF
260052017-10-25 Mike FABIAN <mfabian@redhat.com>
26006
26007 [BZ #15261]
26008 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
26009 yesexpr and noexpr.
26010 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
26011 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
26012 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
26013 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
26014 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
26015 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
26016 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
26017
6ccbf6ff
MF
260182017-10-25 Mike FABIAN <mfabian@redhat.com>
26019
26020 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
26021 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
26022 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
26023 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
26024 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
26025 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
26026 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
26027 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
26028 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
26029 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
26030 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
26031 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
26032
58b1a7ea
MF
260332017-10-25 Mike FABIAN <mfabian@redhat.com>
26034
26035 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
26036 as possible for better readability of the source.
26037 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
26038 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
26039 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
26040 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
26041 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
26042 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
26043 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
26044 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
26045 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
26046 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
26047 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
26048 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
26049 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
26050 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
26051 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
26052 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
26053 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
26054 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
26055 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
26056 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
26057 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
26058 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
26059 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
26060 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
26061 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
26062 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
26063 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
26064 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
26065 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
26066 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
26067 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
26068 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
26069 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
26070 * localedata/locales/en_US (LC_MESSAGES): Likewise.
26071 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
26072 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
26073 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
26074 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
26075 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
26076 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
26077 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
26078 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
26079 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
26080 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
26081 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
26082 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
26083 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
26084 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
26085 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
26086 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
26087 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
26088 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
26089 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
26090 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
26091 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
26092 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
26093 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
26094 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
26095 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
26096 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
26097 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
26098 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
26099 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
26100 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
26101 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
26102 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
26103 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
26104 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
26105 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
26106 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
26107 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
26108 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
26109 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
26110 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
26111 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
26112 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
26113 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
26114 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
26115 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
26116 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
26117 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
26118 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
26119 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
26120 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
26121 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
26122 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
26123 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
26124 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
26125 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
26126 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
26127 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
26128 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
26129 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
26130 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
26131 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
26132 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
26133 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
26134 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
26135 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
26136 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
26137 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
26138 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
26139 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
26140 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
26141 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
26142 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
26143 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
26144 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
26145 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
26146 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
26147 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
26148 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
26149 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
26150 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
26151 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
26152 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
26153 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
26154 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
26155 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
26156 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
26157 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
26158 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
26159 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
26160 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
26161 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
26162 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
26163 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
26164 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
26165 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
26166 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
26167 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
26168 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
26169 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
26170 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
26171 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
26172 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
26173 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
26174 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
26175 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
26176 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
26177 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
26178 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
26179 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
26180 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
26181 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
26182 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
26183 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
26184 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
26185 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
26186 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
26187 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
26188 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
26189 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
26190 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
26191 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
26192 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
26193 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
26194 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
26195 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
26196 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
26197 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
26198 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
26199 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
26200 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
26201 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
26202 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
26203 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
26204 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
26205 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
26206 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
26207 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
26208 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
26209 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
26210 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
26211
17e78edb
MF
262122017-10-25 Mike FABIAN <mfabian@redhat.com>
26213
26214 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
26215 (Use first letters of yesstr and nostr correctly instead of using
26216 full words).
26217
74e7284f
MF
262182017-10-25 Mike FABIAN <mfabian@redhat.com>
26219
26220 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
26221 (Use first letters of yesstr and nostr correctly).
26222
b41a0ff1
MF
262232017-10-25 Mike FABIAN <mfabian@redhat.com>
26224
26225 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
26226 also check for the first characters of yesstr and nostr.
26227 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
26228 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
26229
d971f380
MF
262302017-10-25 Mike FABIAN <mfabian@redhat.com>
26231
26232 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
26233 also check for Chinese characters.
26234
effc9e1d
MF
262352017-10-25 Mike FABIAN <mfabian@redhat.com>
26236
26237 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
26238 match also for the contents of yesstr and nostr. As the first letter
26239 of yesstr and nostr is equal, checking only for the first letter
26240 is not enough.
26241
10320881
MF
262422017-10-25 Mike FABIAN <mfabian@redhat.com>
26243
26244 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
26245 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
26246
d8682a15
MF
262472017-10-25 Mike FABIAN <mfabian@redhat.com>
26248
26249 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
26250 of main contributor.
26251
1bfb86ae
MF
262522017-10-25 Mike FABIAN <mfabian@redhat.com>
26253
26254 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
26255 instead of using English.
26256
da33d60b
MF
262572017-10-25 Mike FABIAN <mfabian@redhat.com>
26258
26259 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
26260 by including the first letters of nostr and yesexpr in the regexp.
26261 Also make it more readable by using ASCII where possible.
26262
725bbb3e
MF
262632017-10-25 Mike FABIAN <mfabian@redhat.com>
26264
26265 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
26266 the first letter of nostr in the regexp. It agrees with CLDR now.
26267 Also make it more readable by using ASCII where possible.
26268
fe043d8a
MF
262692017-10-24 Mike FABIAN <mfabian@redhat.com>
26270
26271 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
26272 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
26273 these strings contain a U+17D6 (which somewhat looks like a colon)
26274 instead of a real colon to separate the full words for “yes”
26275 and “no” from the single letter responses.
26276
360a8df3
MF
262772017-10-24 Mike FABIAN <mfabian@redhat.com>
26278
26279 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
26280 it agree with CLDR (include the first letter of yesstr).
26281 Also make it more readable by using ASCII where possible.
26282
bab7b6b0
MF
262832017-10-24 Mike FABIAN <mfabian@redhat.com>
26284
26285 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
26286 and improve yesexpr and noexpr. The yesstr and nostr apparently
26287 came from CLDR. And CLDR has a bug there: these strings contain
26288 a U+0903 (which looks like a colon) instead of a real colon
26289 to separate the full words for “yes” and “no” from the single
26290 letter responses.
26291
3e79f758
MF
262922017-10-24 Mike FABIAN <mfabian@redhat.com>
26293
26294 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
26295 letters of the full yesstr and nostr in yesexpr and noexpr.
26296
4960c879
MF
262972017-10-24 Mike FABIAN <mfabian@redhat.com>
26298
26299 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
26300 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
26301 * localedata/locales/an_ES: Make source more readable by using ASCII
26302 where possible.
26303
b06a054f
MF
263042017-10-24 Mike FABIAN <mfabian@redhat.com>
26305
26306 [BZ #20952]
26307 * localedata/locales/yuw_PG: New file.
26308 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
26309 * locale/iso-639.def: Add Yau (Uruwa).
26310
905a7725
WD
263112017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26312
26313 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
26314
3f6bb8a3
WD
263152017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26316
26317 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
26318 (__libc_realloc): Likewise.
26319 (_mid_memalign): Likewise.
26320 (__libc_calloc): Likewise.
26321
1d479c8c
MF
263222017-10-23 Mike FABIAN <mfabian@redhat.com>
26323
26324 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
26325 by adding the generic +1 and -0 as in all other locales.
26326 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
26327 day names and make it more readable by using ASCII where possible.
26328
91c3985c
JM
263292017-10-24 Joseph Myers <joseph@codesourcery.com>
26330
26331 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
26332 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
26333
aa95a241
AZ
263342017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26335
26336 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
26337 WNOHANG in waitpid call.
26338
db9bab09
SP
263392017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
26340
a2e0a7f1
SP
26341 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
26342 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
26343
db9bab09
SP
26344 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
26345 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
26346 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
26347 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
26348 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
26349 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
26350 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
26351 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
26352 variables.
26353
5062680c
MC
263542017-10-23 Michael Collison <michael.collison@arm.com>
26355
26356 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
26357 with __builtin_sqrt.
26358 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
26359 with __builtin_sqrtf.
26360 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
26361 with __builtin_ceil.
26362 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
26363 with __builtin_ceilf.
26364 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
26365 with __builtin_floor.
26366 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
26367 with __builtin_floorf.
26368 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
26369 with __builtin_fma.
26370 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
26371 with __builtin_fmaf.
26372 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
26373 with __builtin_fmax.
26374 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
26375 with __builtin_fmaxf.
26376 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
26377 with __builtin_fmin.
26378 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
26379 with __builtin_fminf.
26380 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
26381 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
26382 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
26383 with builtin_rint and conversion to int.
26384 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
26385 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
26386 with builtin_llround.
26387 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
26388 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
26389 with builtin_rint and conversion to long int.
26390 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
26391 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
26392 with builtin_lround.
26393 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
26394 with builtin_lroundf.
26395 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
26396 statements with __builtin_nearbyint.
26397 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
26398 statements with __builtin_nearbyintf.
26399 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
26400 with __builtin_rint.
26401 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
26402 with __builtin_rintf.
26403 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
26404 with __builtin_round.
26405 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
26406 with __builtin_roundf.
26407 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
26408 with __builtin_trunc.
26409 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
26410 with __builtin_truncf.
be080b6c
SN
26411 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
26412 and s_l[l]round[f].c too.
5062680c 26413
174935af
AM
264142017-10-23 Alan Modra <amodra@gmail.com>
26415
26416 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
26417 Adjust stack after restoring regs. Add missing LR cfi_restore.
26418
750a0e49
AM
264192017-10-23 Alan Modra <amodra@gmail.com>
26420
26421 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
26422 Move LR save and frame setup/teardown and LR restore to
26423 immediately around memset call. Provide cfi.
26424
5313581c
L
264252017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26426
26427 * sysdeps/i386/fpu/e_powf.S: Removed.
26428 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
26429 * sysdeps/i386/fpu/w_powf.c: Likewise.
26430 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
26431 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26432 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26433 Add e_powf-sse2.
26434 (CFLAGS-e_powf-sse2.c): New.
26435 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
26436 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
26437
6089a3ee
L
264382017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26439
26440 * sysdeps/i386/fpu/e_log2f.S: Removed.
26441 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
26442 * sysdeps/i386/fpu/w_log2f.c: Likewise.
26443 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
26444 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26445 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26446 Add e_log2f-sse2.
26447 (CFLAGS-e_log2f-sse2.c): New.
26448 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
26449 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
26450
80bb5935
L
264512017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26452
26453 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26454 Add e_powf-fma.
26455 (CFLAGS-e_powf-fma.c): New.
26456 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
26457 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
26458
5c7adbd8
L
264592017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26460
26461 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26462 Add e_log2f-fma.
26463 (CFLAGS-e_log2f-fma.c): New.
26464 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
26465 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
26466
0ccc7153
L
264672017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26468
26469 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26470 Add e_logf-fma.
26471 (CFLAGS-e_logf-fma.c): New.
26472 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
26473 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
26474
fe596486
L
264752017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26476
26477 * sysdeps/i386/fpu/e_logf.S: Removed.
26478 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
26479 * sysdeps/i386/fpu/w_logf.c: Likewise.
26480 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
26481 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
26482 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26483 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26484 Add e_logf-sse2.
26485 (CFLAGS-e_logf-sse2.c): New.
26486 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
26487 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
26488
7eda65f6
L
264892017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26490
26491 * sysdeps/i386/fpu/e_exp2f.S: Removed.
26492 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
26493 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
26494 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26495 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26496 Add e_exp2f-sse2.
26497 (CFLAGS-e_exp2f-sse2.c): New.
26498 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
26499 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
26500
5d15c969
L
265012017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26502
26503 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26504 Add e_exp2f-fma.
26505 (CFLAGS-e_exp2f-fma.c): New.
26506 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
26507 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
26508
b2f6137e
L
265092017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26510
26511 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
26512 * sysdeps/i386/fpu/e_expf.S: Likewise.
26513 * sysdeps/i386/fpu/math_errf.c: Likewise.
26514 * sysdeps/i386/fpu/w_expf.c: Likewise.
26515 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
26516 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
26517 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
26518 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
26519 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26520 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26521 Remove e_expf-ia32.
26522 (CFLAGS-e_expf-sse2.c): New.
26523 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
26524 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
26525
e1f59beb
L
265262017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26527
26528 * sysdeps/x86_64/fpu/e_expf.S: Removed.
26529 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
26530 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
26531 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
26532 e_expf.c.
26533 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
26534 New.
26535 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
26536 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
26537 Renamed to ...
26538 (__redirect_expf): This.
26539 (SYMBOL_NAME): Changed to expf.
26540 (__ieee754_expf): Renamed to ...
26541 (__expf): This.
26542 (__GI___expf): This.
26543 (__ieee754_expf): Add strong_alias.
26544 (__expf_finite): Likewise.
26545 (__expf): New.
26546 Include <sysdeps/ieee754/flt-32/e_expf.c>.
26547
363e4519 265482017-10-22 Paul Eggert <eggert@cs.ucla.edu>
a159b53f
PE
26549
26550 [BZ #22332]
26551 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
26552 unescaping.
26553
e80fc1fc
FW
265542017-10-21 Florian Weimer <fweimer@redhat.com>
26555
26556 * posix/Makefile (tests): Add tst-glob-tilde.
26557 (tests-special): Add tst-glob-tilde-mem.out
26558 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
26559 (tst-glob-tilde-mem.out): Add mtrace check.
26560 * posix/tst-glob-tilde.c: New file.
26561
797ba44b
JM
265622017-10-20 Joseph Myers <joseph@codesourcery.com>
26563
26564 * bits/floatn-common.h: New file.
26565 * math/Makefile (headers): Add bits/floatn-common.h.
26566 * bits/floatn.h: Include <bits/floatn-common.h>.
26567 * sysdeps/ia64/bits/floatn.h: Likewise.
26568 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
26569 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
26570 * sysdeps/powerpc/bits/floatn.h: Likewise.
26571 * sysdeps/x86/bits/floatn.h: Likewise.
26572
fe05e1cb
AZ
265732017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26574
8f6f5362
AZ
26575 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
26576 indicates whether compiler emits an warning for alias for
26577 functions with incompatible types.
26578
fe05e1cb
AZ
26579 [BZ #22273]
26580 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
26581 the auxiliary process is terminated by a signal before calling _exit
26582 or execve.
26583
b52b0d79
L
265842017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26585
26586 [BZ #21265]
26587 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
26588 New.
26589 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
26590 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
26591 and bit_arch_XSAVEC_Usable if needed.
26592 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
26593 and bit_arch_Use_dl_runtime_resolve_opt.
26594 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
26595 Removed.
26596 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
26597 (bit_arch_Prefer_No_AVX512): Updated.
26598 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
26599 (bit_arch_XSAVEC_Usable): New.
26600 (STATE_SAVE_OFFSET): Likewise.
26601 (STATE_SAVE_MASK): Likewise.
26602 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
26603 (cpu_features): Add xsave_state_size and xsave_state_full_size.
26604 (index_arch_Use_dl_runtime_resolve_opt): Removed.
26605 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
26606 (index_arch_XSAVEC_Usable): New.
26607 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
26608 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
26609 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
26610 is enabled.
26611 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
26612 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
26613 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
26614 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
26615 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
26616 _dl_runtime_resolve_xsavec.
26617 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
26618 Removed.
26619 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
26620 instead of VEC_SIZE.
26621 (REGISTER_SAVE_BND0): Removed.
26622 (REGISTER_SAVE_BND1): Likewise.
26623 (REGISTER_SAVE_BND3): Likewise.
26624 (REGISTER_SAVE_RAX): Always defined to 0.
26625 (VMOV): Removed.
26626 (_dl_runtime_resolve_avx): Likewise.
26627 (_dl_runtime_resolve_avx_slow): Likewise.
26628 (_dl_runtime_resolve_avx_opt): Likewise.
26629 (_dl_runtime_resolve_avx512): Likewise.
26630 (_dl_runtime_resolve_avx512_opt): Likewise.
26631 (_dl_runtime_resolve_sse): Likewise.
26632 (_dl_runtime_resolve_sse_vex): Likewise.
26633 (USE_FXSAVE): New.
26634 (_dl_runtime_resolve_fxsave): Likewise.
26635 (USE_XSAVE): Likewise.
26636 (_dl_runtime_resolve_xsave): Likewise.
26637 (USE_XSAVEC): Likewise.
26638 (_dl_runtime_resolve_xsavec): Likewise.
26639 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
26640 Removed.
26641 (_dl_runtime_resolve_avx512_opt): Likewise.
26642 (_dl_runtime_resolve_avx): Likewise.
26643 (_dl_runtime_resolve_avx_opt): Likewise.
26644 (_dl_runtime_resolve_sse): Likewise.
26645 (_dl_runtime_resolve_sse_vex): Likewise.
26646 (_dl_runtime_resolve_fxsave): New.
26647 (_dl_runtime_resolve_xsave): Likewise.
26648 (_dl_runtime_resolve_xsavec): Likewise.
26649
363e4519 266502017-10-20 Paul Eggert <eggert@cs.ucla.edu>
c369d66e
PE
26651
26652 [BZ #22320]
26653 CVE-2017-15670
26654 * posix/glob.c (__glob): Fix one-byte overflow.
26655
6d43de4b
WD
266562017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
26657
26658 * malloc/malloc.c (sysdep-cancel.h): Add include.
26659
a15d53e2
WD
266602017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
26661
26662 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
26663
b9a558e7
WH
266642017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
26665
26666 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
26667 (tests): Remove $(objpfx)ga_test depdendency.
26668 * resolv/ga_test.c: Remove file.
26669
b6b08b8e
MF
266702017-10-20 Mike FABIAN <mfabian@redhat.com>
26671
26672 [BZ #18812]
26673 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
26674 * localedata/locales/kab_DZ: New file.
26675
9ba7e810
L
266762017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26677
26678 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
26679 _dl_relocate_static_pie instead of _dl_start to compute load
26680 address in static PIE.
26681
4027a4fd
L
266822017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26683
26684 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
26685
2f9314b4
MF
266862017-10-20 Mike FABIAN <mfabian@redhat.com>
26687
26688 [BZ #13605]
26689 * localedata/SUPPORTED: Add shn_MM/UTF-8.
26690 * localedata/locales/shn_MM: New file.
26691
63b4baa4
FW
266922017-10-20 Florian Weimer <fweimer@redhat.com>
26693
26694 [BZ #22321]
26695 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
26696 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
26697 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
26698 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
26699 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
26700 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
26701
95ccb619
L
267022017-10-19 H.J. Lu <hongjiu.lu@intel.com>
26703
26704 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26705
37bb78cb
JM
267062017-10-19 Joseph Myers <joseph@codesourcery.com>
26707
76f2ed92
JM
26708 * sysdeps/mips/ieee754/bits/floatn.h: New file.
26709
37bb78cb
JM
26710 [BZ #22322]
26711 * sysdeps/mips/bits/long-double.h: Move to ....
26712 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
26713
d74e6f6c
WD
267142017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
26715
26716 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
26717
363e4519 267182017-10-19 Valery Reznic <valery_reznic@yahoo.com>
4d916f0f
L
26719 H.J. Lu <hongjiu.lu@intel.com>
26720
26721 [BZ #22299]
26722 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
26723 GLRO(dl_platform) to NULL.
26724 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
26725 (modules-names): Add tst-platformmod-1 and
26726 x86_64/tst-platformmod-2.
26727 (CFLAGS-tst-platform-1.c): New.
26728 (CFLAGS-tst-platformmod-1.c): Likewise.
26729 (CFLAGS-tst-platformmod-2.c): Likewise.
26730 (LDFLAGS-tst-platformmod-2.so): Likewise.
26731 ($(objpfx)tst-platform-1): Likewise.
26732 ($(objpfx)tst-platform-1.out): Likewise.
26733 (tst-platform-1-ENV): Likewise.
26734 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
26735 * sysdeps/x86_64/tst-platform-1.c: New file.
26736 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
26737 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
26738
4b0fa403
MF
267392017-10-19 Mike FABIAN <mfabian@redhat.com>
26740
26741 [BZ #13994]
26742 * locale/iso-639.def: Add Karbi.
26743 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
26744 * localedata/locales/mjw_IN: New file.
26745
81325b12
JM
267462017-10-18 Joseph Myers <joseph@codesourcery.com>
26747
26748 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
26749 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
26750 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
26751 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
26752 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
26753 (libm_alias_ldouble_other_r): Also create _Float128 alias.
26754 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
26755 <bits/floatn.h>.
26756 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
26757 (libm_alias_ldouble_other_r): Also create _Float128 alias.
26758 * manual/math.texi (Mathematics): Document additional architecture
26759 support for _Float128.
26760 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
26761 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
26762 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26763 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26764 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26765 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26766 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26767 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26768 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26769 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26770 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26771 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26772 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26773 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26774 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26775
a68ba2f3
SN
267762017-10-18 Renlin Li <renlin.li@arm.com>
26777
26778 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
26779 _DYNAMIC symbol to calculate load address.
26780
346729f6
PC
267812017-10-18 Paul A. Clarke <pc@us.ibm.com>
26782
26783 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
26784 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
26785 summary bits.
26786 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
26787 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
26788
508b1e71
MF
267892017-10-18 Mike FABIAN <mfabian@redhat.com>
26790
26791 [BZ #16777]
26792 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
26793 and improve readability by using more ASCII.
26794 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
26795 and improve readability by using more ASCII.
26796
2c2245b9
WD
267972017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
26798
26799 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
26800 not all targets support atomics on bool.
26801
13c92696
JM
268022017-10-17 Joseph Myers <joseph@codesourcery.com>
26803
26804 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
26805 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
26806 __f128.
26807 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26808 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
26809 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26810 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
26811 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26812 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
26813
71d85045
AZ
268142017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26815
26816 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
26817 defines.
26818
3381be5c
WD
268192017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26820
26821 [BZ #22159]
26822 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
26823 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
26824 (do_check_remalloced_chunk): Fix build bug.
26825 (do_check_malloc_state): Add assert that checks arena->top.
26826 (malloc_consolidate): Remove initialization.
26827 (int_mallinfo): Remove call to malloc_consolidate.
6b5c8607 26828 (__libc_mallopt): Clarify why malloc_consolidate is needed.
3381be5c 26829
e956075a
WD
268302017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26831
26832 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
26833 (have_fastchunks): Remove.
26834 (clear_fastchunks): Remove.
26835 (set_fastchunks): Remove.
26836 (malloc_state): Add have_fastchunks.
26837 (malloc_init_state): Use have_fastchunks.
26838 (do_check_malloc_state): Remove incorrect invariant checks.
26839 (_int_malloc): Use have_fastchunks.
26840 (_int_free): Likewise.
26841 (malloc_consolidate): Likewise.
26842
e4dd4ace
WD
268432017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26844
26845 * malloc/malloc.c (tcache_put): Inline.
26846 (tcache_get): Inline.
26847
5bf58bc7
AJ
268482017-10-17 Jordi Mallach <jordi@gnu.org>
26849
26850 Aurelien Jarno <aurelien@aurel32.net>
26851 [BZ #2522]
26852 * localedata/locales/ca_ES@valencia: New file.
26853 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
26854
386e1c26
RN
268552017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
26856
26857 [BZ #22296]
26858 * math/math.h: Let signbit use the builtin in C++ mode with gcc
26859 < 6.x
26860
4e17c78e
AZ
268612017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26862
3d265601
AZ
26863 * scripts/build-many-glibcs.py (Context.add_all_configs):
26864 Add arm-linux-gnueabihf multiarch extra_glibcs.
26865
4e17c78e
AZ
26866 * sysdeps/generic/ifunc-init.h: New file.
26867 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
26868
56a752ab
MF
268692017-10-17 Mike FABIAN <mfabian@redhat.com>
26870
26871 [BZ #22019]
26872 * localedata/locales/el_GR: Set n_cs_precedes to 0.
26873 * localedata/locales/el_CY: copy "el_GR" because it is identical.
26874 * stdlib/tst-strfmon_l.c: adapt test case.
26875
c38a4bfd
JM
268762017-10-16 Joseph Myers <joseph@codesourcery.com>
26877
26878 * sysdeps/generic/float128-abi.h: New file.
26879 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
26880 non-__prefixed symbols to ....
26881 * math/Versions: ... here. Include <float128-abi.h>.
26882 * stdlib/Versions ... and here. Include <float128-abi.h>
26883
76009b26
FW
268842017-10-16 Florian Weimer <fweimer@redhat.com>
26885
26886 * version.h (VERSION): Switch to ".9000" as the development
26887 version suffix.
26888
7ece6cd5
FW
268892017-10-16 Florian Weimer <fweimer@redhat.com>
26890
26891 [BZ #22050]
26892 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
26893 compat_symbol_reference to access non-default version.
26894
d8287b36
FW
268952017-10-16 Florian Weimer <fweimer@redhat.com>
26896
26897 * malloc/Makefile (others-extras): Set to mcheck-init.o.
26898
3480ddc4
CD
268992017-10-16 Carlos O'Donell <carlos@redhat.com>
26900
26901 * include/shlib-compat.h (compat_symbol_reference): Update
26902 comment.
26903
02010e79
JM
269042017-10-16 Joseph Myers <joseph@codesourcery.com>
26905
596f7013
JM
26906 * math/Makefile (test-types): Add
26907 $(type-float128-$(float128-alias-fcts)).
26908 * math/test-float128.h (TYPE_STR): Define conditional on
26909 [FLT128_MANT_DIG == LDBL_MANT_DIG].
26910 (ULP_IDX): Likewise.
26911 (ULP_I_IDX): Likewise.
26912
02010e79
JM
26913 * stdlib/strtold.c: Include <bits/floatn.h>
26914 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
26915 and later undefine as macro. Define as weak alias if
26916 [!USE_WIDE_CHAR].
26917 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
26918 and later undefine as macro. Define as weak alias if
26919 [USE_WIDE_CHAR].
26920 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
26921 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
26922 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
26923 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
26924 Define and later undefine as macro. Define as weak alias if
26925 [USE_WIDE_CHAR].
26926 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
26927 <bits/floatn.h>.
26928 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
26929 Define and later undefine as macro. Define as weak alias if
26930 [!USE_WIDE_CHAR].
26931 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
26932 Define and later undefine as macro. Define as weak alias if
26933 [USE_WIDE_CHAR].
26934
ea91c315
CD
269352017-10-15 Carlos O'Donell <carlos@redhat.com>
26936
26937 * localedata/collate-test.c (allocate_arrays): Don't use \n in
26938 record_verbose messages.
26939
8e57c943
L
269402017-10-15 H.J. Lu <hongjiu.lu@intel.com>
26941
26942 [BZ #22052]
26943 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
26944 to silence -O3 -Wall warning with GCC 7.
26945
a4777c46
L
269462017-10-14 H.J. Lu <hongjiu.lu@intel.com>
26947
26948 * Makeconfig (+link-static-before-libc): Use the first of
26949 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
26950 * gmon/Makefile (tests): Add tst-gmon-static.
26951 (tests-static): Likewise.
26952 (CFLAGS-tst-gmon-static.c): New.
26953 (CRT-tst-gmon-static): Likewise.
26954 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
26955 (tst-gmon-static-ENV): Likewise.
26956 (tests-special): Likewise.
26957 ($(objpfx)tst-gmon-static.out): Likewise.
26958 (clean-tst-gmon-static-data): Likewise.
26959 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
26960 * gmon/tst-gmon-static-gprof.sh: New file.
26961 * gmon/tst-gmon-static.c: Likewise.
26962
bc3821bb
CD
269632017-10-13 Carlos O'Donell <carlos@redhat.com>
26964
26965 [BZ #22295]
26966 * locale/programs/linereader.c (get_string): Don't warn on
26967 non-symbolic character.
26968
a3e23a2c
CD
26969 [BZ #22294]
26970 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
26971 int_curr_symbol.
26972
f16491eb
CD
26973 [BZ #22292]
26974 * locale/programs/record-status.h: New file
26975 * locale/programs/locale.c: Add comment.
26976 * locale/programs/charmap-dir.c: Don't include error.h.
26977 (charmap_opendir): Use record_error.
26978 * locale/programs/charmap.c: Don't include error.h.
26979 (charmap_read): Use record_error, and record_warning.
26980 (parse_charmap): Likewise.
26981 * locale/programs/ld-address.c: Don't include error.h.
26982 (address_finish): Use record_error, and record_warning.
26983 * locale/programs/ld-collate.c: Don't include error.h.
26984 (collate_finish): Use record_error, and record_error_at_line.
26985 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
26986 (ctype_class_new): Likewise.
26987 (ctype_map_new): Likewise.
26988 (set_one_default): Likewise.
26989 (set_class_defaults): Likewise.
26990 (translit_flatten): Likewise.
26991 (allocate_arrays): Use record_error, and record_verbose.
26992 * locale/programs/ld-identification.c: Don't include error.h.
26993 (indentation_finish): Use record_error and record_warning.
26994 * locale/programs/ld-measurement.c: Don't include error.h.
26995 (measurement_finish): Use record_error.
26996 * locale/programs/ld-messages.c
26997 (message_finish): Likewise.
26998 * locale/programs/ld-monetary.c
26999 (monetary_finish): Likewise.
27000 * locale/programs/ld-name.c (name_finish): Use record_error
27001 and record_warning.
27002 * locale/programs/ld-numeric.c
27003 (numeric_finish): Use record_error.
27004 * locale/programs/ld-paper.c: Don't include error.h.
27005 (paper_finish): Use record_error.
27006 * locale/programs/ld-telephone.c: Don't include error.h.
27007 (telephone_finish): Use record_error.
27008 * locale/programs/ld-time.c (time_finish): Likewise.
27009 * locale/programs/linereader.h (lr_error): Make inline func.
27010 * locale/programs/localedef.c: Define recorded_warning_count,
27011 and recorded_error_count.
27012 (main): Use record_error. Use recorded_error_count and
27013 recorded_warning_count to issue correct error returns.
27014 (add_to_readlist): Use record_error.
27015 (find_locale): Likewise.
27016 (load_locale): Likewise.
27017 * locale/programs/localedef.h: Remove be_quiet
27018 and WITH_CUR_LOCALE.
27019 * locale/programs/locarchive.c (compare_from_file): Use
27020 record_error.
27021 * locale/programs/locfile.c (write_locale_data): Use
27022 record_error.
27023 * locale/programs/repertoire.c: Dont include error.h.
27024 (repertoire_complain): Use record_error.
27025 * localedata/tst-fmon.sh: Expect failures from localedef.
27026 * localedata/tst-locale.sh: Likewise.
27027 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
27028
8dc8be75
CD
27029 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
27030 (REPORTS): Likewise.
27031 (check): Likewise.
27032 (i18n): Rename to...
27033 (i18n_ctype): ...this.
27034 (i18n-report): Rename to...
27035 (i18n_ctype-report): ...this.
27036 * localedata/locales/i18n_ctype: Regenerate.
27037 * localedata/locales/i18n: copy i18n_ctype.
27038
f8718a9e
JM
270392017-10-13 Joseph Myers <joseph@codesourcery.com>
27040
18c08b96
JM
27041 * stdlib/strfroml.c: Include <bits/floatn.h>.
27042 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
27043 Define before include of <stdlib.h> and undefine afterwards, then
27044 define as weak alias.
27045
f8718a9e
JM
27046 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
27047 Undefine and restore default definition. Use
27048 libm_alias_ldouble_other.
27049
e4f530da
PZ
270502017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
27051
27052 [BZ #22153]
27053 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
27054 in coredumps.
27055
86445888
JC
270562017-10-13 James Clarke <jrtc27@jrtc27.com>
27057
27058 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27059 Assign sym_map to be map for local symbols, as TLS relocations
27060 use sym_map to determine whether the symbol is defined and to
27061 extract the TLS information.
27062 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27063 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27064
179dcdb7
TMQMF
270652017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27066
e8dbd6a3
TMQMF
27067 [BZ #22189]
27068 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
27069 (math_force_eval): Add powerpc version.
27070
179dcdb7
TMQMF
27071 [BZ #22142]
27072 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
27073 -DBL_MAX.
27074 (do_test): Likewise.
27075 * stdio-common/tst-printf.sh: Likewise.
27076 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
27077 ifdef clause in order to set the carry bit right. Replace r0 by
27078 0 without changing the behavior.
27079
7d25d410
JM
270802017-10-13 Joseph Myers <joseph@codesourcery.com>
27081
006e7664
JM
27082 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
27083 <libm-alias-ldouble.h>.
27084 (fabsl): Define using libm_alias_ldouble.
27085 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
27086 <libm-alias-ldouble.h>.
27087 (fabsl): Define using libm_alias_ldouble.
27088
1def91b3
JM
27089 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
27090 Remove conditional code.
27091
7d25d410
JM
27092 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
27093 Rename to __clog10_internal_l.
27094 (__clog10_internal_l): Define aliases using
27095 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
27096 with __clog10.
27097
077ee129
RS
270982017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27099
27100 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
27101 * benchtests/sincosf-inputs: New file.
27102 * benchtests/cosf-inputs: New file.
27103 * benchtests/sinf-inputs: New file.
27104
5ba41de9
SN
271052017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
27106
27107 * posix/tst-spawn.c (do_test): Wait for both children.
27108
d165ca64
L
271092017-10-12 H.J. Lu <hongjiu.lu@intel.com>
27110
27111 [BZ #22284]
27112 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
27113 tests-pie): Add tst-gmon-pie.
27114 (CFLAGS-tst-gmon-pie.c): New.
27115 (CRT-tst-gmon-pie): Likewise.
27116 (tst-gmon-pie-ENV): Likewise.
27117 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
27118 ($(objpfx)tst-gmon-pie.out): Likewise.
27119 (clean-tst-gmon-pie-data): Likewise.
27120 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
27121 * gmon/gmon.c [PIC]: Include <link.h>.
27122 [PIC] (callback): New function.
27123 (write_hist): Add an argument for load address. Subtract load
27124 address from PCs.
27125 (write_call_graph): Likewise.
27126 (write_gmon): Call __dl_iterate_phdr to get load address, pass
27127 it to write_hist and write_call_graph.
7bacdcfc 27128 * gmon/tst-gmon-pie.c: New file.
d165ca64 27129
bc9620d0
JM
271302017-10-11 Joseph Myers <joseph@codesourcery.com>
27131
27132 * math/Makefile (test-types-basic): New variable.
27133 (test-types): Likewise.
27134 (libm-test-support): Use $(test-types) instead of $(types).
27135 (libm-tests-base-normal): Likewise.
27136 (libm-tests-base-finite): Likewise.
27137 (libm-tests-base-inline): Likewise.
27138 (generated): Likewise.
27139 ($(objpfx)libm-test-support-$(t).c): Likewise.
27140 (libm-tests-for-type iterator): Likewise.
27141 (libm-test-support iterator): Likewise.
27142 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
27143 (ulp_idx): Use ULP_IDX.
27144 * math/test-ldouble.h: Include <float.h>.
27145 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
27146 (ULP_IDX): New macro.
27147 (ULP_I_IDX): Likewise.
27148 * math/test-double.h (ULP_IDX): Likewise.
27149 (ULP_I_IDX): Likewise.
27150 * math/test-float.h (ULP_IDX): Likewise.
27151 (ULP_I_IDX): Likewise.
27152 * math/test-float128.h (ULP_IDX): Likewise.
27153 (ULP_I_IDX): Likewise.
27154
09c76a74
AZ
271552017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27156
27157 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
27158 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27159 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27160 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
27161 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27162 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
27163 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
27164 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27165 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27166 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27167 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
27168 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27169 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27170 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
27171 (SINGLE_THREAD_BY_GLOBAL): Define.
27172 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27173 Likewise.
27174 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27175 Likewise.
27176 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27177 Likewise.
27178 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27179 Likewise.
27180 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
27181 (SINGLE_THREAD_BY_GLOBAL): Likewise.
27182 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27183 Likewise.
27184
2faa42da
AS
271852017-10-11 Andreas Schwab <schwab@suse.de>
27186
27187 * nis/Makefile (aux): Remove.
27188 * nscd/Makefile (aux): Add nscd_hash.
27189 (nscd-modules): Likewise.
27190 ($(objpfx)nscd): Don't depend on libnsl.
27191 * nscd/nscd_hash.c: New file.
27192 * nscd/nscd_hash.h: Likewise.
27193 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
27194 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
27195 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
27196 instead of <nis/rpcsvc/nis.h>.
27197 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
27198
d8425e11
FW
271992017-10-11 Florian Weimer <fweimer@redhat.com>
27200
27201 [BZ #22078]
27202 Avoid large NSS buffers with many addresses, aliases.
27203 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
27204 using dynarrays and struct alloc_buffer.
27205 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
27206 (tst-nss-files-hosts-multi): Link with -ldl.
27207 * nss/tst-nss-files-hosts-multi.c: New file.
27208
78e806fd
FW
272092017-10-11 Florian Weimer <fweimer@redhat.com>
27210
27211 [BZ #18023]
27212 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
27213 scratch_buffer. Eliminate gotos.
27214
541f19ba
JM
272152017-10-11 Joseph Myers <joseph@codesourcery.com>
27216
0ff64d3a
JM
27217 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
27218 libm_alias_ldouble_other.
27219 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
27220 undefine and redefine.
27221 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
27222 (exp10l): Do not define here.
27223 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
27224 (weak_alias): Undefine and redefine.
27225 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
27226 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
27227 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
27228 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
27229
541f19ba
JM
27230 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
27231 [!__fma] (fma): Define using libm_alias_double.
27232 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
27233 [!__fmaf] (fmaf): Define using libm_alias_float.
27234 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
27235 (fmal): Define using libm_alias_ldouble.
27236
24b6515d
JM
272372017-10-10 Joseph Myers <joseph@codesourcery.com>
27238
27239 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
27240 New macro.
27241 (libm_alias_double_other): Likewise.
27242 (libm_alias_double_r): Use libm_alias_double_other_r.
27243 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
27244 New macro.
27245 (libm_alias_float_other): Likewise.
27246 (libm_alias_float_r): Use libm_alias_float_other_r.
27247 * sysdeps/generic/libm-alias-float128.h
27248 (libm_alias_float128_other_r): New macro.
27249 (libm_alias_float128_other): Likewise.
27250 (libm_alias_float128_r): Use libm_alias_float128_other_r.
27251 * sysdeps/generic/libm-alias-ldouble.h
27252 (libm_alias_ldouble_other_r): New macro.
27253 (libm_alias_ldouble_other): Likewise.
27254 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
27255 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
27256 (libm_alias_double_other_r): New macro.
27257 (libm_alias_double_other): Likewise.
27258 (libm_alias_double_r): Use libm_alias_double_other_r.
27259 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
27260 (libm_alias_ldouble_other_r): New macro.
27261 (libm_alias_ldouble_other): Likewise.
27262 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
27263 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
27264 [!USE_AS_COMPAT]: Use libm_alias_double_other.
27265 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
27266 [!USE_AS_COMPAT]: Use libm_alias_float_other.
27267 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
27268 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
27269 * math/w_exp2f.c: Use libm_alias_float_other.
27270 * math/w_expf.c: Likewise.
27271 * math/w_log2f.c: Likewise.
27272 * math/w_logf.c: Likewise.
27273 * math/w_powf.c: Likewise.
27274 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
27275 [!__exp2f]: Use libm_alias_float_other.
27276 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
27277 [!__expf]: Use libm_alias_float_other.
27278 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
27279 [!__log2f]: Use libm_alias_float_other.
27280 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
27281 [!__logf]: Use libm_alias_float_other.
27282 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
27283 [!__powf]: Use libm_alias_float_other.
27284
8ed70de2
FW
272852017-10-10 Florian Weimer <fweimer@redhat.com>
27286
27287 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
27288 function.
27289 (_nss_files_gethostbyname3_r): Call it.
27290
a8dce619
JM
272912017-10-09 Joseph Myers <joseph@codesourcery.com>
27292
27293 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
27294 error. Remove default definition of declare_mgen_alias.
27295 [!declare_mgen_alias_r]: Likewise.
27296 * sysdeps/generic/math-type-macros-double.h
27297 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
27298 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
27299 (declare_mgen_alias_r): Likewise.
27300 * sysdeps/generic/math-type-macros-float128.h
27301 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
27302 * sysdeps/generic/math-type-macros-ldouble.h
27303 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
27304 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
27305 macro.
27306 (declare_mgen_alias_r_s): Likewise.
27307 (declare_mgen_alias_r): Likewise.
27308 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
27309 (lgamma_r): Define using libm_alias_double_r.
27310 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
27311 (lgammaf_r): Define using libm_alias_float_r.
27312 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
27313 (lgammal_r): Define using libm_alias_ldouble_r.
27314 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
27315 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
27316
bedac136
AZ
273172017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27318
27319 * lib/glob.c (__glob_pattern_type): Remove now-spurious
27320 extern declaration.
27321
c7509db2
JM
273222017-10-09 Joseph Myers <joseph@codesourcery.com>
27323
27324 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
27325
d6c064e9
JW
273262017-10-09 Jonathan Wakely <jwakely@redhat.com>
27327
27328 [BZ #21326]
27329 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
27330 [__cplusplus >= 201103] (__USE_ISOC99): Define.
27331 * math/Makefile (test-math-cxx11): New test.
27332 * math/test-math-cxx11.cc: New file.
27333
98e07420
CB
273342017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
27335
27336 * login/openpty.c (openpty): Close slave pty file descriptor on error.
27337
645ac9aa
CB
27338 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
27339 call to allocate the slave pty file descriptor.
27340
fd3b4e7c
JM
273412017-10-06 Joseph Myers <joseph@codesourcery.com>
27342
f85a176f
JM
27343 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
27344 [!__fma] (fma): Define using libm_alias_double.
27345 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
27346 [!__fma] (fma): Define using libm_alias_double.
27347
fd3b4e7c
JM
27348 * sysdeps/ieee754/float128/float128_private.h: Include
27349 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
27350 (libm_alias_ldouble_r): Undefine and redefine.
27351 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
27352 <libm-alias-ldouble.h>.
27353 (asinhl): Define using libm_alias_ldouble.
27354 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
27355 <libm-alias-ldouble.h>.
27356 (atanl): Define using libm_alias_ldouble.
27357 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
27358 <libm-alias-ldouble.h>.
27359 (cbrtl): Define using libm_alias_ldouble.
27360 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
27361 <libm-alias-ldouble.h>.
27362 (ceill): Define using libm_alias_ldouble.
27363 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
27364 <libm-alias-ldouble.h>.
27365 (copysignl): Define using libm_alias_ldouble.
27366 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
27367 <libm-alias-ldouble.h>.
27368 (cosl): Define using libm_alias_ldouble.
27369 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
27370 <libm-alias-ldouble.h>.
27371 (erfl): Define using libm_alias_ldouble.
27372 (erfcl): Likewise.
27373 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
27374 <libm-alias-ldouble.h>.
27375 (expm1l): Define using libm_alias_ldouble.
27376 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
27377 <libm-alias-ldouble.h>.
27378 (fabsl): Define using libm_alias_ldouble.
27379 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
27380 <libm-alias-ldouble.h>.
27381 (floorl): Define using libm_alias_ldouble.
27382 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
27383 <libm-alias-ldouble.h>.
27384 (fmal): Define using libm_alias_ldouble.
27385 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
27386 <libm-alias-ldouble.h>.
27387 (frexpl): Define using libm_alias_ldouble.
27388 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
27389 libm_alias_ldouble.
27390 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
27391 <libm-alias-ldouble.h>.
27392 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
27393 libm_alias_ldouble.
27394 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
27395 <libm-alias-ldouble.h>.
27396 (getpayloadl): Define using libm_alias_ldouble.
27397 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
27398 <libm-alias-ldouble.h>.
27399 (llrintl): Define using libm_alias_ldouble.
27400 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
27401 <libm-alias-ldouble.h>.
27402 (llroundl): Define using libm_alias_ldouble.
27403 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
27404 <libm-alias-ldouble.h>.
27405 (logbl): Define using libm_alias_ldouble.
27406 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
27407 <libm-alias-ldouble.h>.
27408 (lrintl): Define using libm_alias_ldouble.
27409 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
27410 <libm-alias-ldouble.h>.
27411 (lroundl): Define using libm_alias_ldouble.
27412 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
27413 <libm-alias-ldouble.h>.
27414 (modfl): Define using libm_alias_ldouble.
27415 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
27416 <libm-alias-ldouble.h>.
27417 (nearbyintl): Define using libm_alias_ldouble.
27418 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
27419 <libm-alias-ldouble.h>.
27420 (nextafterl): Define using libm_alias_ldouble.
27421 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
27422 <libm-alias-ldouble.h>.
27423 (nextupl): Define using libm_alias_ldouble.
27424 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
27425 <libm-alias-ldouble.h>.
27426 (remquol): Define using libm_alias_ldouble.
27427 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
27428 <libm-alias-ldouble.h>.
27429 (rintl): Define using libm_alias_ldouble.
27430 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
27431 <libm-alias-ldouble.h>.
27432 (roundevenl): Define using libm_alias_ldouble.
27433 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
27434 <libm-alias-ldouble.h>.
27435 (roundl): Define using libm_alias_ldouble.
27436 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
27437 using libm_alias_ldouble.
27438 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
27439 <libm-alias-ldouble.h>.
27440 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
27441 Define using libm_alias_ldouble.
27442 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
27443 <libm-alias-ldouble.h>.
27444 (sincosl): Define using libm_alias_ldouble.
27445 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
27446 <libm-alias-ldouble.h>.
27447 (sinl): Define using libm_alias_ldouble.
27448 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
27449 <libm-alias-ldouble.h>.
27450 (tanhl): Define using libm_alias_ldouble.
27451 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
27452 <libm-alias-ldouble.h>.
27453 (tanl): Define using libm_alias_ldouble.
27454 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
27455 <libm-alias-ldouble.h>.
27456 (totalorderl): Define using libm_alias_ldouble.
27457 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
27458 <libm-alias-ldouble.h>.
27459 (totalordermagl): Define using libm_alias_ldouble.
27460 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
27461 <libm-alias-ldouble.h>.
27462 (truncl): Define using libm_alias_ldouble.
27463 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
27464 libm_alias_ldouble.
27465 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
27466 libm_alias_ldouble.
27467 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
27468 <libm-alias-ldouble.h>.
27469 (weak_alias): Do not undefine and redefine.
27470 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27471 (copysignl): Define with long_double_symbol only if [IS_IN
27472 (libc)].
27473 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
27474 <libm-alias-ldouble.h>.
27475 (weak_alias): Do not undefine and redefine.
27476 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27477 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
27478 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
27479 <libm-alias-ldouble.h>.
27480 (weak_alias): Do not undefine and redefine.
27481 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27482 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
27483 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
27484 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
27485 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
27486 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
27487 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
27488 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
27489 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
27490 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
27491 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
27492 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
27493 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
27494 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
27495 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
27496 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
27497 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
27498 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
27499 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
27500 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
27501 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
27502 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
27503 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
27504 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
27505 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
27506 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
27507
1e26d351
CD
275082017-10-06 Carlos O'Donell <carlos@redhat.com>
27509
27510 [BZ #22111]
27511 * malloc/malloc.c (tcache_shutting_down): Use bool type.
27512 (tcache_thread_freeres): Set tcache_shutting_down before
27513 freeing the tcache.
27514 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
27515 * malloc/tst-malloc-tcache-leak.c: New file.
27516
d1386762
RS
275172017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27518
27519 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
27520 back to powerpc32 file.
27521 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
27522 (memrchr): Add __memrchr_power8 to ifunc list.
27523 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
27524 extra bytes for unaligned inputs.
27525
6dff1983
JM
275262017-10-06 Joseph Myers <joseph@codesourcery.com>
27527
27528 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
27529 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
27530 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
27531 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
27532 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
27533
86f9568a
JM
275342017-10-05 Joseph Myers <joseph@codesourcery.com>
27535
0db0b931
JM
27536 * sysdeps/arm/libm-test-ulps: Update.
27537
86f9568a
JM
27538 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
27539 <libm-alias-ldouble.h>.
27540 (asinhl): Define using libm_alias_ldouble.
27541 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
27542 <libm-alias-ldouble.h>.
27543 (cbrtl): Define using libm_alias_ldouble.
27544 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
27545 <libm-alias-ldouble.h>.
27546 (copysignl): Define using libm_alias_ldouble.
27547 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
27548 <libm-alias-ldouble.h>.
27549 (cosl): Define using libm_alias_ldouble.
27550 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
27551 <libm-alias-ldouble.h>.
27552 (erfl): Define using libm_alias_ldouble.
27553 (erfcl): Likewise.
27554 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
27555 <libm-alias-ldouble.h>.
27556 (fmal): Define using libm_alias_ldouble.
27557 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
27558 <libm-alias-ldouble.h>.
27559 (frexpl): Define using libm_alias_ldouble.
27560 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
27561 libm_alias_ldouble.
27562 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
27563 <libm-alias-ldouble.h>.
27564 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
27565 libm_alias_ldouble.
27566 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
27567 <libm-alias-ldouble.h>.
27568 (getpayloadl): Define using libm_alias_ldouble.
27569 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
27570 <libm-alias-ldouble.h>.
27571 (llrintl): Define using libm_alias_ldouble.
27572 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
27573 <libm-alias-ldouble.h>.
27574 (llroundl): Define using libm_alias_ldouble.
27575 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
27576 <libm-alias-ldouble.h>.
27577 (lrintl): Define using libm_alias_ldouble.
27578 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
27579 <libm-alias-ldouble.h>.
27580 (lroundl): Define using libm_alias_ldouble.
27581 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
27582 <libm-alias-ldouble.h>.
27583 (modfl): Define using libm_alias_ldouble.
27584 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
27585 <libm-alias-ldouble.h>.
27586 (nextupl): Define using libm_alias_ldouble.
27587 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
27588 <libm-alias-ldouble.h>.
27589 (remquol): Define using libm_alias_ldouble.
27590 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
27591 <libm-alias-ldouble.h>.
27592 (roundevenl): Define using libm_alias_ldouble.
27593 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
27594 <libm-alias-ldouble.h>.
27595 (roundl): Define using libm_alias_ldouble.
27596 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
27597 using libm_alias_ldouble.
27598 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
27599 <libm-alias-ldouble.h>.
27600 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
27601 <libm-alias-ldouble.h>.
27602 (setpayloadsigl): Define using libm_alias_ldouble.
27603 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
27604 <libm-alias-ldouble.h>.
27605 (sincosl): Define using libm_alias_ldouble.
27606 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
27607 <libm-alias-ldouble.h>.
27608 (sinl): Define using libm_alias_ldouble.
27609 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
27610 <libm-alias-ldouble.h>.
27611 (tanhl): Define using libm_alias_ldouble.
27612 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
27613 <libm-alias-ldouble.h>.
27614 (tanl): Define using libm_alias_ldouble.
27615 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
27616 <libm-alias-ldouble.h>.
27617 (totalorderl): Define using libm_alias_ldouble.
27618 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
27619 <libm-alias-ldouble.h>.
27620 (totalordermagl): Define using libm_alias_ldouble.
27621 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
27622 libm_alias_ldouble.
27623 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
27624 libm_alias_ldouble.
27625
9ec87fd2
SP
276262017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
27627
dd5bc7f1
SP
27628 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
27629 memmove_falkor.
27630 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
27631 (__libc_ifunc_impl_list): Likewise.
27632 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
27633 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
27634
5bfb0404
SP
27635 * benchtests/bench-memmove-walk.c: New file.
27636 * benchtests/Makefile (string-benchset): Add it.
27637
36bb8edf
SP
27638 * benchtests/bench-memset-walk.c: New file.
27639 * benchtests/Makefile (string-benchset): Add it.
27640
9ec87fd2
SP
27641 * benchtests/bench-memcpy-walk.c: New file.
27642 * benchtests/Makefile (string-benchset): Add it.
27643
1e9522c6
FW
276442017-10-05 Florian Weimer <fweimer@redhat.com>
27645
27646 nscd: Eliminate compilation time dependency in the build output.
27647 * nscd/nscd_stat.c (STATDATA_VERSION)
27648 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
27649 (STATDATA_VERSION_FULL): New macro definitions.
27650 (compilation): Remove.
27651 (struct statdata): Adjust version member.
27652 (send_stats): Set version from STATDATA_VERSION_FULL.
27653 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
27654
644d3857
JM
276552017-10-05 Joseph Myers <joseph@codesourcery.com>
27656
27657 * configure.ac (--enable-add-ons): Remove option.
27658 (machine): Do not mention add-ons in comment.
27659 (LIBC_PRECONFIGURE): Likewise.
27660 (add_ons): Remove variable and sanity checks and logic to locate
27661 add-ons.
27662 (add_ons_automatic): Remove variable.
27663 (configured_add_ons): Likewise.
27664 (add_ons_sfx): Likewise.
27665 (add_ons_pfx): Likewise.
27666 (add_on_subdirs): Likewise.
27667 (sysnames_add_ons): Likewise. Remove loop over add-ons and
27668 consideration of add-ons in Implies handling.
27669 (sysdeps_add_ons): Likewise.
27670 * configure: Regenerated.
27671 * libidn/configure.ac: Remove.
27672 * libidn/configure: Likewise.
27673 * sysdeps/unix/inet/configure.ac: New file.
27674 * sysdeps/unix/inet/configure: New generated file.
27675 * sysdeps/unix/inet/Subdirs: Add libidn.
27676 * Makeconfig (sysdeps-srcdirs): Remove variable.
27677 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
27678 ($(common-objpfx)config.status): Do not depend on add-on files.
27679 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
27680 comment.
27681 (all-subdirs): Do not include $(add-on-subdirs).
27682 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
27683 * config.make.in (add-ons): Remove variable.
27684 (add-on-subdirs): Likewise.
27685 (sysdeps-add-ons): Likewise.
27686 * manual/Makefile (add-chapters): Remove.
27687 ($(objpfx)texis): Do not depend on $(add-chapters).
27688 (nonexamples): Do not handle $(add-chapters).
27689 (examples): Do not handle $(add-ons).
27690 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
27691 libc-texinfo.sh.
27692 * manual/install.texi (Installation): Do not mention add-ons.
27693 (--enable-add-ons): Do not document configure option.
27694 * INSTALL: Regenerated.
27695 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
27696 * manual/maint.texi (Hierarchy Conventions): Do not mention
27697 add-ons.
27698 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
27699 --enable-add-ons.
27700 * scripts/gen-sorted.awk: Do not handle Subdirs files from
27701 add-ons.
27702 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
27703 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
27704
19f82f35
AS
277052017-10-05 Andreas Schwab <schwab@suse.de>
27706
27707 [BZ #15142]
27708 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
27709 (_IO_flush_all_lockp): Always lock list_all_lock.
27710 (_IO_flush_all_linebuffered): Likewise.
27711 (_IO_unbuffer_all): Likewise.
27712
91e7cf98
FW
277132017-10-05 Florian Weimer <fweimer@redhat.com>
27714
27715 [BZ #15436]
27716 Do not flush stdio streams on abort.
27717 * stdlib/abort.c (fflush): Remove macro definition.
27718 (abort): Remove stages related to stdio flushing.
27719
0c251257
FW
277202017-10-05 Florian Weimer <fweimer@redhat.com>
27721
27722 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
27723
7ea59e3e
SL
277242017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
27725
27726 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
27727
84d0e6f0
FW
277282017-10-05 Florian Weimer <fweimer@redhat.com>
27729
27730 * support/support_format_hostent.c (support_format_hostent): Add
27731 more error information for NETDB_INTERNAL.
27732
ee417882
L
277332017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27734
27735 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
27736 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
27737 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
27738 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
27739 AC_DEFINE if multi-arch is enabled.
27740 * sysdeps/i386/configure: Regenerated.
27741
a67029ff
L
277422017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27743
27744 * Makeconfig (+link-static-before-libc): Use
27745 $(DEFAULT-LDFLAGS-$(@F)).
27746 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
27747 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
27748 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
27749
5dba84b3
L
277502017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27751
27752 * elf/Makefile (tests): Add tst-main1.
27753 (modules-names): Add tst-main1mod.
27754 ($(objpfx)tst-main1): New.
27755 (CRT-tst-main1): Likewise.
27756 (LDFLAGS-tst-main1): Likewise.
27757 (LDLIBS-tst-main1): Likewise.
27758 (tst-main1mod.so-no-z-defs): Likewise.
27759 * elf/tst-main1.c: New file.
27760 * elf/tst-main1mod.c: Likewise.
27761
758f1bfa
L
277622017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27763
27764 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
27765
7e16a5d1
JM
277662017-10-04 Joseph Myers <joseph@codesourcery.com>
27767
27768 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
27769 (fma): Define using libm_alias_double.
27770 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
27771 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
27772 <math_ldbl_opt.h>.
27773 (fmal): Do not define as compat symbol here.
27774 * sysdeps/alpha/fpu/s_fma.c: New file.
27775
db4f87ba
SN
277762017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27777
27778 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
27779
72d13ed1
JM
277802017-10-04 Joseph Myers <joseph@codesourcery.com>
27781
32d372d5
JM
27782 [BZ #22229]
27783 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
27784 <math_ldbl_opt.h>
27785 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
27786 and libc.
27787 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
27788 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
27789 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
27790 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
27791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27792 Include <math_ldbl_opt.h>
27793 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
27794 and libc.
27795 (compat_symbol): Undefine and redefine.
27796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
27797 <math_ldbl_opt.h>
27798 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
27799 (compat_symbol): Undefine and redefine.
27800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
27801 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
27802 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
27803 GLIBC_2_1 for libm.
27804 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
27805 GLIBC_2.0 copysignl symbol.
27806 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
27807 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
27808
72d13ed1
JM
27809 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
27810
11c4f501
FW
278112017-10-04 Florian Weimer <fweimer@redhat.com>
27812
27813 * scripts/check-local-headers.sh: Ignore nspr4 header file
27814 directory in addition to nspr.
27815
57b4af19
GT
278162017-10-04 Guido Trentalancia <guido@trentalancia.net>
27817
27818 [BZ #17956]
27819 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
27820 * configure: Regenerate.
27821 * crypt/Makefile (nss-cpp-flags): New variable.
27822 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
27823 (CPPFLAGS-md5-crypt.c): Use it.
27824 * scripts/check-local-headers.sh: Ignore nspr header file
27825 directory.
27826
64d1e08e
AS
278272017-10-04 Andreas Schwab <schwab@suse.de>
27828
27829 * nis/Makefile (services): Remove compat.
27830 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
27831 ($(objpfx)libnss_compat.so): Remove rule.
27832 * nis/Versions (libnss_compat): Remove.
27833 * nss/Makefile (services): Add compat.
27834 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
27835 * nss/Versions (libnss_compat): Define.
27836 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
27837 Don't include <rpc/types.h>. Replace bool_t by bool.
27838 * nss/nss_compat/compat-initgroups.c: Likewise.
27839 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
27840 instead of <rpcsrv/ypclnt.h>.
27841 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
27842 yp_get_default_domain.
27843 * nss/nss_compat/compat-pwd.c: Likewise.
27844 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
27845 yp_get_default_domain.
27846 * nss/nss_compat/nisdomain.c: New file.
27847 * nss/nss_compat/nisdomain.h: Likewise.
27848
86c27ade
SN
278492017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27850
27851 [BZ #22244]
27852 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
27853 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27854
8f8f8ef7
SN
278552017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27856
27857 [BZ #22243]
27858 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
27859 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
27860
95577475
L
278612017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27862
27863 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
27864 "movl main@GOTOFF(%ebx), %eax".
27865
02d2d892
L
278662017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27867
27868 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
27869 allow undefined _DYNAMIC in PIE libc.a.
27870 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
27871 Likewse.
27872
0c609d19
L
278732017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27874
27875 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
27876 check _DYNAMIC.
27877
c34a19ed
L
278782017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27879
27880 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
27881 check _DYNAMIC.
27882
cdd4155d
L
278832017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27884
27885 * math/test-math-iscanonical.cc (error): Replace bool with int.
27886
4699cb8b
JM
278872017-10-03 Joseph Myers <joseph@codesourcery.com>
27888
d8f619b3
JM
27889 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
27890 (modf): Define using libm_alias_double, only if [!__modf].
27891 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
27892 <libm-alias-double.h>.
27893 (modf): Define using libm_alias_double, only if [!__modf].
27894 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
27895 compat symbol here.
27896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
27897 (weak_alias): Do not undefine and redefine.
27898 (strong_alias): Likewise.
27899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
27900 (weak_alias): Likewise.
27901 (strong_alias): Likewise.
27902
4699cb8b
JM
27903 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
27904 (logb): Define using libm_alias_double, only if [!__logb].
27905 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
27906 <libm-alias-double.h>.
27907 (logb): Define using libm_alias_double, only if [!__logb].
27908 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
27909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
27910 (weak_alias): Do not undefine and redefine.
27911 (strong_alias): Likewise.
27912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
27913 (weak_alias): Likewise.
27914 (strong_alias): Likewise.
27915
bcc4e4bb
L
279162017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27917
27918 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
27919 Check SHARED instead PIC.
27920
39793865
JM
279212017-10-03 Joseph Myers <joseph@codesourcery.com>
27922
7f1cbdf8
JM
27923 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
27924 [!__fmaf] (fmaf): Define using libm_alias_float.
27925
39793865
JM
27926 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
27927 (frexp): Define using libm_alias_double.
27928 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
27929 <libm-alias-double.h>.
27930 (frexp): Define using libm_alias_double.
27931 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
27932 compat symbol here.
27933
aa0235df
GG
279342017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27935
27936 [BZ #22235]
27937 * math/math.h: Trivial fix for unbalanced parentheses in comment.
27938 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
27939 (CFLAGS-test-math-iscanonical.cc): New variable.
27940 * math/test-math-iscanonical.cc: New file.
27941 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
27942 Provide a C++ implementation based on function overloading,
27943 rather than using __MATH_TG, which uses C-only builtins.
27944 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
27945 Likewise.
27946 * sysdeps/powerpc/powerpc64le/Makefile
27947 (CFLAGS-test-math-iscanonical.cc): New variable.
27948
a1132b5e
JM
279492017-10-03 Joseph Myers <joseph@codesourcery.com>
27950
27951 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
27952 (ceil): Define using libm_alias_double.
27953 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
27954 (floor): Define using libm_alias_double.
27955 * sysdeps/ieee754/dbl-64/s_llround.c: Include
27956 <libm-alias-double.h>.
27957 (llround): Define using libm_alias_double.
27958 * sysdeps/ieee754/dbl-64/s_lround.c: Include
27959 <libm-alias-double.h>.
27960 (lround): Define using libm_alias_double.
27961 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
27962 <libm-alias-double.h>.
27963 (nearbyint): Define using libm_alias_double.
27964 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
27965 <libm-alias-double.h>.
27966 (remquo): Define using libm_alias_double.
27967 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
27968 (rint): Define using libm_alias_double.
27969 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
27970 (round): Define using libm_alias_double.
27971 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
27972 (trunc): Define using libm_alias_double.
27973 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
27974 <libm-alias-double.h>.
27975 (ceil): Define using libm_alias_double.
27976 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
27977 <libm-alias-double.h>.
27978 (floor): Define using libm_alias_double.
27979 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
27980 <libm-alias-double.h>.
27981 (llround): Define using libm_alias_double.
27982 [_LP64] (lround): Likewise.
27983 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
27984 <libm-alias-double.h>.
27985 [!_LP64] (lround): Define using libm_alias_double.
27986 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
27987 <libm-alias-double.h>.
27988 (nearbyint): Define using libm_alias_double.
27989 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
27990 <libm-alias-double.h>.
27991 (remquo): Define using libm_alias_double.
27992 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
27993 <libm-alias-double.h>.
27994 (rint): Define using libm_alias_double.
27995 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
27996 <libm-alias-double.h>.
27997 (round): Define using libm_alias_double.
27998 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
27999 <libm-alias-double.h>.
28000 (trunc): Define using libm_alias_double.
28001 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
28002 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
28003 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
28004 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
28005 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
28006 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
28007 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
28008 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
28009 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
28010
f275f64e
SN
280112017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28012
28013 * math/w_remainder.c: New file.
28014 * math/w_remainderf.c: New file.
28015 * math/w_remainderl.c: New file.
28016
b8818ab5
L
280172017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28018
28019 * elf/rtld.c (BOOTSTRAP_MAP): New.
28020 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
28021 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28022 Likewise.
28023 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28024 Likewise.
28025 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28026 Likewise.
28027
3d1870fa
ST
280282017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
28029
28030 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
28031 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
28032 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
28033 rtld_hidden_data_ver): Define to empty.
28034 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
28035 __assert_perror_fail): Likewise.
28036 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28037 (__rewinddir): Likewise.
28038 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28039 (__profile_frequency): Likewise.
28040 * include/setjmp.h (__sigsetjmp): Likewise.
28041 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
28042 __libc_sigaction): Likewise.
28043 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
28044 not set hidden attribute.
28045 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
28046 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
28047 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
28048 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
28049 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
28050 __fxstatat64): Likewise.
28051 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28052 (__uname): Likewise.
28053 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28054 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
28055 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
28056 (NO_RTLD_HIDDEN): Set.
28057 * sysdeps/mach/hurd/configure: Refresh.
28058 * config.h.in: Refresh.
28059
527cd19c
JM
280602017-10-02 Joseph Myers <joseph@codesourcery.com>
28061
38722448
JM
28062 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
28063 (atan): Define using libm_alias_double.
28064 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
28065 (tan): Define using libm_alias_double.
28066 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
28067 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
28068
527cd19c
JM
28069 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
28070 define as weak alias of __atan. Do not define any aliases if
28071 [__atan].
28072 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
28073 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
28074 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
28075 as weak alias of __tan. Do not define any aliases if [__tan].
28076 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
28077 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
28078 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
28079 __atan.
28080 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
28081 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
28082 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
28083 and define as weak alias of __atan.
28084 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
28085 __atan.
28086 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
28087 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
28088 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
28089 define as weak alias of __tan.
28090
bdc5c592
SN
280912017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28092
28093 * math/w_lgamma.c: New file.
28094 * math/w_lgammaf.c: New file.
28095 * math/w_lgammal.c: New file.
28096
bd4430c2
SN
280972017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28098
28099 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
28100 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
28101 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
28102 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
28103 * sysdeps/ieee754/flt-32/w_logf.c: New file.
28104 * sysdeps/ieee754/flt-32/w_powf.c: New file.
28105 * sysdeps/i386/fpu/w_log2f.c: New file.
28106 * sysdeps/i386/fpu/w_logf.c: New file.
28107 * sysdeps/i386/fpu/w_powf.c: New file.
28108 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
28109 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
28110 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
28111
f7a0b063
SN
281122017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28113 H.J. Lu <hongjiu.lu@intel.com>
28114
28115 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
28116 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
28117 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
28118 * sysdeps/ieee754/flt-32/w_expf.c: New file.
28119 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
28120 the new expf code.
28121 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
28122 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
28123 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
28124 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
28125 * sysdeps/i386/fpu/w_exp2f.c: New file.
28126 * sysdeps/i386/fpu/w_expf.c: New file.
28127 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
28128 * sysdeps/x86_64/fpu/w_expf.c: New file.
28129
72d3d281
SN
281302017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28131
28132 * math/Versions (logf): New libm symbol at GLIBC_2.27.
28133 (log2f): Likewise.
28134 (powf): Likewise.
28135 * math/w_log2f.c: New file.
28136 * math/w_logf.c: New file.
28137 * math/w_powf.c: New file.
28138 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
28139 * math/w_logf_compat.c (__logf_compat): Likewise.
28140 * math/w_powf_compat.c (__powf_compat): Likewise.
28141 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
28142 * sysdeps/ia64/fpu/e_logf.S: Likewise.
28143 * sysdeps/ia64/fpu/e_powf.S: Likewise.
28144 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
28145 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
28146 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
28147 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
28148 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
28149 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
28150 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
28151 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
28152 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
28153 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
28154 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
28155 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
28156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
28157 Likewise.
28158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
28159 Likewise.
28160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
28161 Likewise.
28162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
28163 Likewise.
28164 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
28165 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
28166 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
28167 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
28168 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
28169 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
28170 Likewise.
28171 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
28172 Likewise.
28173 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
28174 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
28175 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
28176
59ba2d2b
RS
281772017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28178
28179 * sysdeps/powerpc/powerpc64/multiarch/Makefile
28180 (sysdep_routines): Add memrchr_power8.
28181 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28182 (memrchr): Add __memrchr_power8 to list of memrchr functions.
28183 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
28184 New file.
28185 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
28186 (memrchr): Add __memrchr_power8 to ifunc list.
28187 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
28188
397286ea
L
281892017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28190
28191 [BZ #18822]
28192 * sysdeps/unix/sysv/linux/posix_fadvise64.c
28193 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
28194 libc_hidden_def.
28195 * sysdeps/unix/sysv/linux/posix_fallocate64.c
28196 (__posix_fallocate64_l64): Likewise.
28197
d0a4512b
L
281982017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28199
28200 [BZ #18822]
28201 * sysdeps/unix/sysv/linux/sched_setaffinity.c
28202 (__sched_setaffinity_new): Add libc_hidden_proto and
28203 libc_hidden_def.
28204
c0769f70
L
282052017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28206
28207 [BZ #18822]
28208 * include/glob.h (__glob64): Add libc_hidden_proto.
28209 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
28210 libc_hidden_def.
28211
0e7d5b6e
L
282122017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28213
28214 [BZ #18822]
28215 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
28216 attribute_hidden.
28217
bde06c87
L
282182017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28219
28220 [BZ #18822]
28221 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
28222
fa426590
L
282232017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28224
28225 [BZ #18822]
28226 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
28227 libc_hidden_def.
28228
2f8a05d8
L
282292017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28230
28231 [BZ #18822]
28232 * csu/version.c (__libc_print_version): Add attribute_hidden.
28233
7bfd08ac
L
282342017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28235
28236 [BZ #18822]
28237 * include/libc-internal.h (__init_misc): Add attribute_hidden.
28238
0e1fd06c
L
282392017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28240
28241 [BZ #18822]
28242 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
28243
36e7ae1e
L
282442017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28245
28246 [BZ #18822]
28247 * nscd/nscd_helper.c (__nis_hash): New prototype.
28248
87078544
L
282492017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28250
28251 [BZ #18822]
28252 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
28253 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
28254 libc_hidden_def.
28255 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
28256 * termios/tcgetattr.c (__tcgetattr): Likewise.
28257
dd3121df
L
282582017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28259
28260 [BZ #18822]
28261 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
28262 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
28263 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
28264 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
28265 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
28266
047d1a81
L
282672017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28268
28269 [BZ #18822]
28270 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
28271
fd331b11
L
282722017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28273
28274 [BZ #18822]
28275 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
28276 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
28277
57f859bd
L
282782017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28279
28280 [BZ #18822]
28281 * intl/hash-string.h (__hash_string): Add attribute_hidden.
28282
d1903329
L
282832017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28284
28285 [BZ #18822]
28286 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
28287 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
28288
b4744101
L
282892017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28290
28291 [BZ #18822]
28292 * include/ifreq.h: New file.
28293 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
28294 (__ifreq): Likewise.
28295 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
28296 (__ifreq): Likewise.
28297
43b7dfd1
L
282982017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28299
28300 [BZ #18822]
28301 * include/idna.h: New file.
28302 * inet/getnameinfo.c: Include <idna.h> instead of
28303 <libidn/idna.h>.
28304 (__idna_to_unicode_lzlz): Removed.
28305 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
28306 <libidn/idna.h>.
28307 (__idna_to_ascii_lz): Removed.
28308 (__idna_to_unicode_lzlz): Likewise.
28309
2c0cd8f8
L
283102017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28311
28312 [BZ #18822]
28313 * include/plural-exp.h: New file.
28314 * intl/plural-exp.c: Include <plural-exp.h> instead of
28315 "plural-exp.h".
28316
8369d216
L
283172017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28318
28319 [BZ #18822]
28320 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
28321 "getsourcefilter.h".
28322 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
28323 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
28324 "getsourcefilter.h".
28325 (__get_sol): Removed.
28326
a0aef783
L
283272017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28328
28329 [BZ #18822]
28330 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
28331 to ...
28332 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
28333
3ee8209b
L
283342017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28335
28336 [BZ #18822]
28337 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
28338 attribute_hidden.
28339
6036fc38
L
283402017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28341
28342 [BZ #18822]
28343 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
28344
fe84fed0
L
283452017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28346
28347 [BZ #18822]
28348 * include/search.h (__tdestroy): Add libc_hidden_proto.
28349 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
28350
048dd681
L
283512017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28352
28353 [BZ #18822]
28354 * include/assert.h (__assert_fail_base): Add attribute_hidden.
28355
6e342af6
L
283562017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28357
28358 [BZ #18822]
28359 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
28360 attribute_hidden.
28361
6a088436
L
283622017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28363
28364 [BZ #18822]
28365 * include/signal.h (__kill): Add libc_hidden_proto.
28366 (__sigblock): Likewise.
28367 (__sigprocmask): Likewise.
28368 (__sigaltstack): Likewise.
28369 * signal/kill.c (__kill): Add libc_hidden_def.
28370 * signal/sigblock.c (__sigblock): Likewise.
28371 * signal/sigprocmask.c (__sigprocmask): Likewise.
28372 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
28373 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
28374 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
28375 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
28376 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
28377 Likewise.
28378 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
28379 Likewise.
28380 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
28381 (__sigprocmask): Likewise.
28382 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
28383 Likewise.
28384 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
28385 (__sigprocmask): Likewise.
28386 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
28387 Likewise.
28388
78cf1d74
L
283892017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28390
28391 [BZ #18822]
28392 * include/string.h (__strsep): Add libc_hidden_proto.
28393 * string/strsep.c (__strsep): Add libc_hidden_def.
28394
85b35894
L
283952017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28396
28397 [BZ #18822]
28398 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
28399 attribute_hidden.
28400 (__spawni): Likewise.
28401
225f7eec
L
284022017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28403
28404 [BZ #18822]
28405 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
28406 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
28407 libc_hidden_def.
28408
372fe247
L
284092017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28410
28411 [BZ #18822]
28412 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
28413
9e5ee8b8
L
284142017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28415
28416 [BZ #18822]
28417 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
28418 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
28419 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
28420 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
28421 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
28422 Likewise.
28423 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
28424 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
28425
2ff16592
L
284262017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28427
28428 [BZ #18822]
28429 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
28430 (__dcigettext): Likewise.
28431
b5648377
L
284322017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28433
28434 [BZ #18822]
28435 * include/sys/sysinfo.h (__get_nprocs_conf): Add
28436 libc_hidden_proto.
28437 (__get_nprocs): Likewise.
28438 (__get_phys_pages): Likewise.
28439 (__get_avphys_pages): Likewise.
28440 (__get_child_max): Add attribute_hidden.
28441 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
28442 (__get_nprocs): Likewise.
28443 (__get_phys_pages): Likewise.
28444 (__get_avphys_pages): Likewise.
28445 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
28446 libc_hidden_def.
28447 (__get_nprocs): Likewise.
28448 (__get_phys_pages): Likewise.
28449 (__get_avphys_pages): Likewise.
28450 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
28451 libc_hidden_def.
28452 (__get_nprocs_conf): Likewise.
28453 (__get_phys_pages): Likewise.
28454 (__get_avphys_pages): Likewise.
28455
0389a6aa
L
284562017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28457
28458 [BZ #18822]
28459 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
28460 attribute_hidden.
28461 (__netlink_close): Likewise.
28462 (__netlink_free_handle): Likewise.
28463 (__netlink_request): Likewise.
28464
d48354d8
L
284652017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28466
28467 [BZ #18822]
28468 * include/rpc/rpc.h (__rpc_thread_variables): Add
28469 attribute_hidden.
28470 (__rpc_thread_svc_cleanup): Likewise.
28471 (__rpc_thread_clnt_cleanup): Likewise.
28472 (__rpc_thread_key_cleanup): Likewise.
28473
d6daff12
L
284742017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28475
28476 [BZ #18822]
28477 * include/sys/uio.h (__readv): Add libc_hidden_proto.
28478 (__writev): Likewise.
28479 * misc/readv.c (__readv): Add libc_hidden_def.
28480 * misc/writev.c (__writev): Likewise.
28481 * sysdeps/posix/readv.c (__readv): Likewise.
28482 * sysdeps/posix/writev.c (__writev): Likewise.
28483 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
28484 (__readv): Likewise.
28485 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
28486 (__writev): Likewise.
28487
b68f8620
L
284882017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28489
28490 [BZ #18822]
28491 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
28492 (__regcomp): Add libc_hidden_proto.
28493 (__regexec): Likewise.
28494 (__regfree): Likewise.
28495 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
28496 (__regfree): Likewise.
28497 * posix/regexec.c (__regexec): Likewise.
28498
59c04e67
L
284992017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28500
28501 [BZ #18822]
28502 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
28503 (__getutent): Likewise.
28504 (__getutid): Likewise.
28505 (__getutline): Likewise.
28506 (__pututline): Likewise.
28507 (__getutent_r): Likewise.
28508 (__getutid_r): Likewise.
28509 (__getutline_r): Likewise.
28510 (__utmpname): Add attribute_hidden.
28511 (__setutent): Likewise.
28512 (__endutent): Likewise.
28513 * login/getutent.c (__getutent): Add libc_hidden_def.
28514 * login/getutent_r.c (__getutent_r): Likewise.
28515 (__pututline): Likewise.
28516 * login/getutid.c (__getutid): Likewise.
28517 * login/getutid_r.c (__getutid_r): Likewise.
28518 * login/getutline.c (__getutline): Likewise.
28519 * login/getutline_r.c (__getutline_r): Likewise.
28520 * login/updwtmp.c (__updwtmp): Likewise.
28521
4587a421
L
285222017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28523
28524 [BZ #18822]
28525 * include/dirent.h (__opendir): Always add attribute_hidden.
28526 (__fdopendir): Likewise.
28527 (__closedir): Likewise.
28528 (__readdir): Likewise.
28529 (__readdir64): Add libc_hidden_proto.
28530 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
28531 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
28532 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
28533 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
28534 New alias.
28535
9635ce69
L
285362017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28537
28538 [BZ #18822]
28539 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
28540 * include/netdb.h (__gethostbyaddr_r): Likewise.
28541 (__gethostbyname_r): Likewise.
28542 (__gethostbyname2_r): Likewise.
28543 (__getnetbyaddr_r): Likewise.
28544 (__getnetbyname_r): Likewise.
28545 (__getservbyname_r): Likewise.
28546 (__getservbyport_r): Likewise.
28547 (__getprotobyname_r): Likewise.
28548 (__getprotobynumber_r): Likewise.
28549 (__getnetgrent_r): Likewise.
28550 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
28551 (__getrpcbynumber_r): Likewise.
28552 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
28553
2e0a6909
L
285542017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28555
28556 [BZ #18822]
28557 * include/stdio.h (__fcloseall): Add attribute_hidden.
28558 (__getline): Likewise.
28559 (__path_search): Likewise.
28560 (__gen_tempname): Likewise.
28561 (__libc_message): Likewise.
28562 (__flockfile): Likewise.
28563 (__funlockfile): Likewise.
28564 (__fxprintf): Likewise.
28565 (__fxprintf_nocancel): Likewise.
28566
94fd682c
L
285672017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28568
28569 [BZ #18822]
28570 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
28571 (__sgetsgent_r): Likewise.
28572
e1b33bba
L
285732017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28574
28575 [BZ #18822]
28576 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
28577 (__statfs64): Likewise.
28578 (__fstatfs64): Likewise.
28579 * include/sys/statvfs.h (__statvfs64): Likewise.
28580 (__fstatvfs64): Likewise.
28581 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
28582 (__statfs_filesize_max): Likewise.
28583 (__statfs_symlinks): Likewise.
28584 (__statfs_chown_restricted): Likewise.
28585
b0f56784
L
285862017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28587
28588 [BZ #18822]
28589 * include/time.h (__tzstring): Add attribute_hidden.
28590 (__tzfile_read): Likewise.
28591 (__tzfile_compute): Likewise.
28592 (__tzfile_default): Likewise.
28593 (__tzset_parse_tz): Likewise.
28594 (__offtime): Likewise.
28595 (__asctime_r): Likewise.
28596 (__tzset): Likewise.
28597 (__tz_convert): Likewise.
28598 (__getdate_r): Likewise.
28599 (__getclktck): Likewise.
28600
a4338d99
L
286012017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28602
28603 [BZ #18822]
28604 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
28605 (__nscd_unmap): Likewise.
28606 (__nscd_cache_search): Likewise.
28607 (__nscd_get_nl_timestamp): Likewise.
28608 (__nscd_getpwnam_r): Likewise.
28609 (__nscd_getpwuid_r): Likewise.
28610 (__nscd_getgrnam_r): Likewise.
28611 (__nscd_getgrgid_r): Likewise.
28612 (__nscd_gethostbyname_r): Likewise.
28613 (__nscd_gethostbyname2_r): Likewise.
28614 (__nscd_gethostbyaddr_r): Likewise.
28615 (__nscd_getai): Likewise.
28616 (__nscd_getgrouplist): Likewise.
28617 (__nscd_getservbyname_r): Likewise.
28618 (__nscd_getservbyport_r): Likewise.
28619 (__nscd_innetgr): Likewise.
28620 (__nscd_setnetgrent): Likewise.
28621
a2ca1652
L
286222017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28623
28624 [BZ #18822]
28625 * include/gmp.h: Declare internal functions only if _ISOMAC is
28626 undefined.
28627 (__mpn_extract_double): Add attribute_hidden.
28628 (__mpn_extract_long_double): Likewise.
28629 (__mpn_extract_float128): Likewise.
28630 (__mpn_construct_float): Likewise.
28631 (__mpn_construct_double): Likewise.
28632 (__mpn_construct_long_double): Likewise.
28633 (__mpn_construct_float128): Likewise.
28634 (mpn_add_1): Likewise.
28635 (mpn_addmul_1): Likewise.
28636 (mpn_add_n): Likewise.
28637 (mpn_cmp): Likewise.
28638 (mpn_divrem): Likewise.
28639 (mpn_lshift): Likewise.
28640 (mpn_mul): Likewise.
28641 (mpn_mul_1): Likewise.
28642 (mpn_rshift): Likewise.
28643 (mpn_sub_1): Likewise.
28644 (mpn_submul_1): Likewise.
28645 (mpn_sub_n): Likewise.
28646
44af8a32
L
286472017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28648
28649 [BZ #18822]
28650 * include/wchar.h (__wcsnlen): Add attribute_hidden.
28651 (__wcscat): Likewise.
28652 (__btowc): Likewise.
28653 (__wcrtomb): Likewise.
28654 (__mbsrtowcs): Likewise.
28655 (__wcsrtombs): Likewise.
28656 (__mbsnrtowcs): Likewise.
28657 (__wcsnrtombs): Likewise.
28658 (__wcsncpy): Likewise.
28659 (__wcpncpy): Likewise.
28660 (__wmemcpy): Likewise.
28661 (__wmempcpy): Likewise.
28662 (__wmemmove): Likewise.
28663 (__wcschrnul): Likewise.
28664 (__vfwscanf): Likewise.
28665 (__vswprintf): Likewise.
28666 (__fwprintf): Likewise.
28667 (__vfwprintf): Likewise.
28668
783cd767
L
286692017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28670
28671 [BZ #18822]
28672 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
28673 (__getgrgid_r): Likewise.
28674 (__getgrnam_r): Likewise.
28675 * include/pwd.h (__getpwuid_r): Likewise.
28676 (__getpwnam_r): Likewise.
28677 (__fgetpwent_r): Likewise.
28678 * include/shadow.h (__getspnam_r): Likewise.
28679 (__sgetspent_r): Likewise.
28680 (__fgetspent_r): Likewise.
28681
7ec4b39a
L
286822017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28683
28684 [BZ #18822]
28685 * include/unistd.h (__access): Add attribute_hidden.
28686 (__lseek64): Likewise.
28687 (__libc_pread64): Likewise.
28688 (__pipe2): Likewise.
28689 (__sleep): Likewise.
28690 (__chdir): Likewise.
28691 (__fchdir): Likewise.
28692 (__getcwd): Likewise.
28693 (__rmdir): Likewise.
28694 (__execvpe): Likewise.
28695 (__execve): Likewise.
28696 (__setsid): Likewise.
28697 (__getuid): Likewise.
28698 (__geteuid): Likewise.
28699 (__getgid): Likewise.
28700 (__getegid): Likewise.
28701 (__getgroups): Likewise.
28702 (__group_member): Likewise.
28703 (__ttyname_r): Likewise.
28704 (__isatty): Likewise.
28705 (__readlink): Likewise.
28706 (__unlink): Likewise.
28707 (__gethostname): Likewise.
28708 (__profil): Likewise.
28709 (__getdtablesize): Likewise.
28710 (__brk): Likewise.
28711 (__ftruncate): Likewise.
28712 (__ftruncate64): Likewise.
28713
8345a760
L
287142017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28715
28716 [BZ #18822]
28717 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
28718 * argp/argp-fs-xinl.c: Likewise.
28719 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
28720 * argp/argp-parse.c: Include <argp.h>.
28721 * argp/argp-xinl.c: Likewise.
28722 * include/argp-fmtstream.h: New file.
28723 * include/argp.h (__argp_error): Add attribute_hidden.
28724 (__argp_failure): Likewise.
28725 (__argp_input): Likewise.
28726 (__argp_state_help): Likewise.
28727
c26dd7c6
L
287282017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28729
28730 [BZ #18822]
28731 * include/wchar.h (____wcstof_l_internal): New prototype.
28732 (____wcstod_l_internal): Likewise.
28733 (____wcstold_l_internal): Likewise.
28734 (____wcstol_l_internal): Likewise.
28735 (____wcstoul_l_internal): Likewise.
28736 (____wcstoll_l_internal): Likewise.
28737 (____wcstoull_l_internal): Likewise.
28738 (____wcstof128_l_internal): Likewise.
28739 * sysdeps/ieee754/float128/wcstof128.c
28740 (____wcstof128_l_internal): Removed.
28741 * sysdeps/ieee754/float128/wcstof128_l.c
28742 (____wcstof128_l_internal): Likewise.
28743 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
28744 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
28745 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
28746 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
28747 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
28748 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
28749 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
28750 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
28751 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
28752 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
28753
3aff5644
L
287542017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28755
28756 [BZ #18822]
28757 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
28758 instead of <sys/statvfs.h>.
28759 (__internal_statvfs): Removed.
28760 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
28761 instead of <sys/statvfs.h>.
28762 (__internal_statvfs64): Removed.
28763 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
28764 "internal_statvfs.h" instead of <sys/statvfs.h>.
28765 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
28766 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
28767 instead of <sys/statvfs.h>.
28768 (__internal_statvfs): Removed.
28769 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
28770 instead of <sys/statvfs.h>.
28771 (__internal_statvfs64): Removed.
28772
8bcdb7e0
L
287732017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28774
28775 [BZ #18822]
28776 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
28777 (__gconv_close): Likewise.
28778 (__gconv): Likewise.
28779 (__gconv_find_transform): Likewise.
28780 (__gconv_lookup_cache): Likewise.
28781 (__gconv_compare_alias_cache): Likewise.
28782 (__gconv_load_cache): Likewise.
28783 (__gconv_get_path): Likewise.
28784 (__gconv_close_transform): Likewise.
28785 (__gconv_release_cache): Likewise.
28786 (__gconv_find_shlib): Likewise.
28787 (__gconv_release_shlib): Likewise.
28788 (__gconv_get_builtin_trans): Likewise.
28789 (__gconv_compare_alias): Likewise.
28790 * include/dlfcn.h (_dlerror_run): Likewise.
28791 * include/stdio.h (__fortify_fail_abort): Likewise.
28792 * include/time.h (__tz_compute): Likewise.
28793 (__strptime_internal): Likewise.
28794 * intl/gettextP.h (_nl_find_domain): Likewise.
28795 (_nl_load_domain): Likewise.
28796 (_nl_find_msg): Likewise.
28797 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
28798 (EXTRACT_PLURAL_EXPRESSION): Likewise.
28799 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
28800 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
28801 (__gai_find_request): Likewise.
28802 (__gai_remove_request): Likewise.
28803 (__gai_notify): Likewise.
28804 (__gai_notify_only): Likewise.
28805 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
28806 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
28807 (_dl_non_dynamic_init): Likewise.
28808 (_dl_aux_init): Likewise.
28809 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
28810 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
28811 Likewise.
28812 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
28813 (__wcsmbs_clone_conv): Likewise.
28814 (__wcsmbs_named_conv): Likewise.
28815
8ed3b643
L
288162017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28817
28818 [BZ #18822]
28819 * include/stdlib.h (__random): Add attribute_hidden.
28820 (__random_r): Likewise.
28821 (__srandom_r): Likewise.
28822 (__initstate_r): Likewise.
28823 (__setstate_r): Likewise.
28824 (__erand48_r): Likewise.
28825 (__nrand48_r): Likewise.
28826 (__jrand48_r): Likewise.
28827 (__srand48_r): Likewise.
28828 (__seed48_r): Likewise.
28829 (__lcong48_r): Likewise.
28830 (__drand48_iterate): Likewise.
28831 (__setenv): Likewise.
28832 (__unsetenv): Likewise.
28833 (__clearenv): Likewise.
28834 (__ptsname_r): Likewise.
28835 (__posix_openpt): Likewise.
28836 (__add_to_environ): Likewise.
28837 (__realpath): Add libc_hidden_proto.
28838 (__ecvt_r): Likewise.
28839 (__fcvt_r): Likewise.
28840 (__qecvt_r): Likewise.
28841 (__qfcvt_r): Likewise.
28842 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
28843 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
28844
ef9b6f73
L
288452017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28846
28847 [BZ #18822]
28848 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
28849 * include/time.h (__mktime_internal): Likewise.
28850 * libio/iolibio.h (__fopen_internal): Likewise.
28851
8da92e72
JDA
288522017-10-01 John David Anglin <danglin@gcc.gnu.org>
28853
28854 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
28855 pointer in frame.
28856 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
28857 Correct offset used to restore PIC register.
28858
388784cf
JDA
288592017-09-30 John David Anglin <danglin@gcc.gnu.org>
28860
28861 [BZ libc/22165]
28862 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
28863 code to load address of __getcontext_ret when generating PIC code.
28864
2000067a
L
288652017-09-30 H.J. Lu <hongjiu.lu@intel.com>
28866
28867 * elf/Makefile (tests-static-internal): Add
28868 tst-tls1-static-non-pie.
28869 (LDFLAGS-tst-tls1-static-non-pie): New.
28870 * elf/tst-tls1-static-non-pie.c: New file.
28871
1e2bffd0
JM
288722017-09-29 Joseph Myers <joseph@codesourcery.com>
28873
28874 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
28875 (asinh): Define using libm_alias_double.
28876 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
28877 (cbrt): Define using libm_alias_double.
28878 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
28879 <libm-alias-double.h>.
28880 (copysign): Define using libm_alias_double.
28881 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
28882 (erf): Define using libm_alias_double.
28883 (erfc): Likewise.
28884 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
28885 (expm1): Define using libm_alias_double.
28886 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
28887 (fabs): Define using libm_alias_double.
28888 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
28889 libm_alias_double.
28890 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
28891 <libm-alias-double.h>.
28892 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
28893 libm_alias_double.
28894 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
28895 <libm-alias-double.h>.
28896 (getpayload): Define using libm_alias_double.
28897 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
28898 <libm-alias-double.h>.
28899 (llrint): Define using libm_alias_double.
28900 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
28901 (lrint): Define using libm_alias_double.
28902 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
28903 <libm-alias-double.h>.
28904 (nextup): Define using libm_alias_double.
28905 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
28906 <libm-alias-double.h>.
28907 (roundeven): Define using libm_alias_double.
28908 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
28909 libm_alias_double.
28910 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
28911 <libm-alias-double.h>.
28912 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
28913 using libm_alias_double.
28914 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
28915 (cos): Define using libm_alias_double.
28916 (sin): Likewise.
28917 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
28918 <libm-alias-double.h>.
28919 (sincos): Define using libm_alias_double.
28920 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
28921 (tanh): Define using libm_alias_double.
28922 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
28923 <libm-alias-double.h>.
28924 (totalorder): Define using libm_alias_double.
28925 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
28926 <libm-alias-double.h>.
28927 (totalordermag): Define using libm_alias_double.
28928 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
28929 libm_alias_double.
28930 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
28931 libm_alias_double.
28932 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
28933 <libm-alias-double.h>.
28934 (getpayload): Define using libm_alias_double.
28935 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
28936 <libm-alias-double.h>.
28937 (roundeven): Define using libm_alias_double.
28938 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
28939 <libm-alias-double.h>.
28940 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
28941 <libm-alias-double.h>.
28942 (totalorder): Define using libm_alias_double.
28943 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
28944 <libm-alias-double.h>.
28945 (totalordermag): Define using libm_alias_double.
28946 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
28947 libc compat symbol here.
28948 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
28949 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
28950 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
28951 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
28952 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
28953 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
28954 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
28955 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
28956 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
28957 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
28958
8172aad9
L
289592017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28960
28961 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
28962 _dl_relocate_static_pie instead of _dl_start to compute load
28963 address in static PIE. Return 0 if _DYNAMIC is undefined for
28964 static executable.
28965
54464e74
L
289662017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28967
28968 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
28969 _DYNAMIC is undefined for static executable.
28970
f6c5e5bc
L
289712017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28972
28973 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
28974
2f92505d
JM
289752017-09-29 Joseph Myers <joseph@codesourcery.com>
28976
28977 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28978
bd8d53bb
WD
289792017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
28980
28981 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
28982 (__ieee754_lgamma_r): Use fabs rather than __fabs.
28983 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
28984 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
28985 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
28986 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
28987 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
28988 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
28989 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
28990 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
28991 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
28992 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
28993 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
28994 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
28995 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
28996 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
28997 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
28998
fffb1507
WD
289992017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
29000
29001 * math/bits/cmathcalls.h (cimag): Remove inline.
29002 (creal): Remove inline.
29003 (conj): Remove inline.
29004
4ea49f4c
SN
290052017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29006
29007 * math/Makefile (type-float-routines): Add e_powf_log2_data.
29008 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
29009 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
29010 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
29011 (issignalingf_inline): Likewise.
29012 (POWF_LOG2_TABLE_BITS): Likewise.
29013 (POWF_LOG2_POLY_ORDER): Likewise.
29014 (POWF_SCALE_BITS): Likewise.
29015 (POWF_SCALE): Likewise.
29016 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
29017 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
29018 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
29019
875c76c7
SN
290202017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29021
29022 * math/Makefile (type-float-routines): Add e_log2f_data.
29023 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
29024 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
29025 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
29026 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
29027 * sysdeps/i386/fpu/e_log2f_data.c: New file.
29028 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
29029 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
29030
90c42e40
SN
290312017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29032
29033 * math/Makefile (type-float-routines): Add e_logf_data.
29034 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
29035 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
29036 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
29037 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
29038 * sysdeps/i386/fpu/e_logf_data.c: New file.
29039 * sysdeps/ia64/fpu/e_logf_data.c: New file.
29040 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
29041
4088d8dd
L
290422017-09-28 H.J. Lu <hongjiu.lu@intel.com>
29043
29044 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
29045 undefined _DYNAMIC in PIE libc.a.
29046 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
29047 Likewse.
29048
4d3693ec
WD
290492017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
29050
29051 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
29052 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
29053 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
29054 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
29055 (__signbit): Remove.
29056 (__signbitl): Remove.
29057 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
29058 (__signbit): Remove.
29059 (__signbitl): Remove.
29060 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
29061 (__signbit): Remove.
29062 (__signbitl): Remove.
29063 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
29064 (__signbit): Remove.
29065 (__signbitl): Remove.
29066 * sysdeps/tile/bits/mathinline.h: Delete file.
29067 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
29068 (__signbit): Remove.
29069 (__signbitl): Remove.
29070
1e6d0723
WD
290712017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
29072
29073 * math/math.h: Improve handling of C99 isgreater macros.
29074 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
29075 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
29076 * sysdeps/powerpc/bits/mathinline.h: Likewise.
29077 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
29078 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
29079
b2f03cf3
SN
290802017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
29081
29082 * sysdeps/aarch64/libm-test-ulps: Update.
29083
f124cb38
JM
290842017-09-28 Joseph Myers <joseph@codesourcery.com>
29085
29086 [BZ #22225]
29087 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29088 math_opt_barrier on argument when doing arithmetic on it.
29089 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
29090 Likewise. Use math_force_eval not math_opt_barrier after
29091 arithmetic.
29092 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
29093 math_opt_barrier on argument when doing arithmetic on it.
29094 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
29095 Likewise.
29096
7edd0691
L
290972017-09-27 H.J. Lu <hongjiu.lu@intel.com>
29098
29099 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
29100 libc_hidden_def.
29101 (__freeifaddrs): Likewise.
29102
2c7bbfaf
ST
291032017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
29104
29105 * include/dirent.h (__dirfd): New declaration.
29106 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
29107 alias.
29108 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
29109 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
29110 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
52a1f181
ST
29111 * include/unistd.h (__revoke): New declaration.
29112 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
29113 alias.
29114 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
29115 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
29116 revoke.
64a4af28
ST
29117 * include/dirent.h (__seekdir): New declaration.
29118 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
29119 redefine as weak alias.
29120 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
29121 of seekdir.
4009ddc6
ST
29122 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
29123 and use libc_hidden_def on them.
29124 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
29125 them.
29126 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
29127 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
29128 instead of getifaddrs and freeifaddrs.
2c7bbfaf 29129
825adeee
L
291302017-09-26 H.J. Lu <hongjiu.lu@intel.com>
29131
29132 [BZ #18822]
29133 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
29134 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
29135 (__dso_handle): Remove declaration.
29136 * dlfcn/tstatexit.c (__dso_handle): Removed.
29137 (main): Don't check __dso_handle.
29138 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
29139 (main): Don't check __dso_handle.
29140 * include/dso_handle.h: New file.
29141 * malloc/mtrace.c: Include <dso_handle.h>.
29142 (mtrace): Pass __dso_handle directly.
29143 * nptl/pthread_atfork.c: Include <dso_handle.h>.
29144 (__dso_handle): Remove declaration.
29145 (__pthread_atfork): Pass __dso_handle directly.
29146 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
29147 (__dso_handle): Removed.
29148 * posix/wordexp-test.c: Include <dso_handle.h>.
29149 (__dso_handle): Remove declaration.
29150 (__app_register_atfork): Pass __dso_handle directly.
29151 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
29152 (__dso_handle): Remove declaration.
29153 (at_quick_exit): Pass __dso_handle directly.
29154 * stdlib/atexit.c: Include <dso_handle.h>.
29155 (__dso_handle): Remove declaration.
29156 (atexit): Pass __dso_handle directly.
29157 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
29158 (__dso_handle): Removed.
29159
bfb0deb3
JM
291602017-09-26 Joseph Myers <joseph@codesourcery.com>
29161
29162 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
29163 using VDSO.
29164
cebcb9f8
AM
291652017-09-26 Alexey Makhalov <amakhalov@vmware.com>
29166
29167 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
29168 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
29169 values to correct default value for given type.
29170
592d5c75
L
291712017-09-26 H.J. Lu <hongjiu.lu@intel.com>
29172
29173 [BZ #22101]
29174 * elf/Makefile (tests): Add tst-debug1.
29175 ($(objpfx)tst-debug1): New.
29176 ($(objpfx)tst-debug1.out): Likewise.
29177 ($(objpfx)tst-debug1mod1.so): Likewise.
29178 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
29179 with p_filesz == 0.
29180 * elf/tst-debug1.c: New file.
29181
2d9193f2
JM
291822017-09-26 Joseph Myers <joseph@codesourcery.com>
29183
29184 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
29185 Define using __ifunc.
29186
4c5a7a02
TMQMF
291872017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29188
29189 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
29190 exp2f() values.
29191
12ef66c4
JM
291922017-09-26 Joseph Myers <joseph@codesourcery.com>
29193
29194 [BZ #22156]
29195 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
29196
44dade71
FW
291972017-09-26 Florian Weimer <fweimer@redhat.com>
29198
29199 * resolv/Makefile (tests-internal): Fix typo in comment.
29200
eaca16f1
FW
292012017-09-26 Florian Weimer <fweimer@redhat.com>
29202
29203 * resolv/nss_dns/dns-host.c: Fix typo in comment.
29204
ccf970c7
AZ
292052017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29206
5f9f31ad
AZ
29207 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
29208 Use an union instead of a max_align_t array for __space,
29209 so that __space is the same size on all platforms.
29210 * malloc/scratch_buffer_grow_preserve.c
29211 (__libc_scratch_buffer_grow_preserve): Likewise.
29212
ccf970c7
AZ
29213 [BZ #22183]
29214 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
29215 version to 2.
29216 * posix/Makefile (routines): Add glob-lstat-compat and
29217 glob64-lstat-compat.
29218 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
29219 * posix/glob-lstat-compat.c: New file.
29220 * posix/glob64-lstat-compat.c: Likewise.
29221 * posix/tst-glob_lstat_compat.c: Likewise.
29222 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
29223 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
29224 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
29225 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
29226 Likewise.
29227 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
29228 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
29229 * posix/glob.c (glob_lstat): New function.
29230 (glob): Rename to __glob and add versioned symbol to 2.27.
29231 (glob_in_dir): Use glob_lstat.
29232 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
29233 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
29234 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
29235 2.27.
29236 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
29237 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
29238 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
29239 gl_lstat on glob call.
29240 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
29241 and glob64 symbols.
29242 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
29243 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
29244 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
29245 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
29246 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
29247 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
29248 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
29249 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
29250 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
29251 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
29252 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
29253 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
29254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
29255 Likewise.
29256 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
29257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
29258 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
29259 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
29260 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
29261 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
29262 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
29263 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
29264 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
29265 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
29266 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
29267 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
29268
b4396163
L
292692017-09-25 H.J. Lu <hongjiu.lu@intel.com>
29270
29271 * configure.ac (AS): Require binutils 2.25 or later.
29272 * configure: Regenerated.
29273
8f834987
PP
292742017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
29275
29276 [BZ #22207]
29277 * stdlib/test-atexit-race-common.c (do_test): Minimize required
29278 VM size.
29279
3de93d19
DD
292802017-09-25 DJ Delorie <dj@redhat.com>
29281
29282 [BZ #22161]
29283 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
29284 resetting timeout.
29285
9947638d
SL
292862017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
29287
29288 * sysdeps/ieee754/dbl-64/sincos32.h
29289 [SINCCOS32_H]: Remove define.
29290 [SINCOS32_H]: Define.
29291
f5f0f526
SN
292922017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29293
29294 * math/Versions (expf): New libm symbol at GLIBC_2.27.
29295 (exp2f): Likewise.
29296 * math/w_exp2f.c: New file.
29297 * math/w_expf.c: New file.
29298 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
29299 * math/w_expf_compat.c (__expf_compat): Likewise.
29300 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
29301 * sysdeps/ia64/fpu/e_expf.S: Likewise.
29302 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
29303 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
29304 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
29305 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
29306 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
29307 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
29308 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
29309 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
29310 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
29311 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
29312 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
29313 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
29314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
29315 Likewise.
29316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
29317 Likewise.
29318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
29319 Likewise.
29320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
29321 Likewise.
29322 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
29323 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
29324 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
29325 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
29326 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
29327 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
29328 Likewise.
29329 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
29330 Likewise.
29331 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
29332 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
29333 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
29334
72aa6233
SN
293352017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29336
29337 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
29338 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
29339 (roundtoint, converttoint): Likewise.
29340 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
29341 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
29342 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
29343 * sysdeps/ieee754/flt-32/math_config.h: New file.
29344 * sysdeps/ieee754/flt-32/math_errf.c: New file.
29345 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
29346 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
29347 * sysdeps/i386/fpu/math_errf.c: New file.
29348 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
29349 * sysdeps/ia64/fpu/math_errf.c: New file.
29350 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
29351 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
29352
5e6f3253
ST
293532017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
29354
29355 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
29356 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
29357 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
29358 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
29359 to make sure that these symbols are defined.
b38a42a0
ST
29360 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
29361 of <limits.h>
29362 (__need_NULL): Do not define.
29363 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
29364 alignment.
29365 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
29366 CMGROUP_MAX, cmsgcred): Do not define.
29367 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
29368 NULL.
29369 * bits/socket.h: Likewise.
fcafcd16
ST
29370 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
29371 __gettimeofday instead of gettimeofday.
29372 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
29373 instead of settimeofday.
5e6f3253 29374
2f49ce7d
JM
293752017-09-22 Joseph Myers <joseph@codesourcery.com>
29376
29377 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
29378 (asinhf): Define using libm_alias_float.
29379 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
29380 (atanf): Define using libm_alias_float.
29381 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
29382 (cbrtf): Define using libm_alias_float.
29383 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
29384 (ceilf): Define using libm_alias_float.
29385 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
29386 <libm-alias-float.h>.
29387 (copysignf): Define using libm_alias_float.
29388 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
29389 (cosf): Define using libm_alias_float.
29390 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
29391 (erff): Define using libm_alias_float.
29392 (erfcf): Likewise.
29393 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
29394 (expm1f): Define using libm_alias_float.
29395 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
29396 (fabsf): Define using libm_alias_float.
29397 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
29398 (floorf): Define using libm_alias_float.
29399 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
29400 (frexpf): Define using libm_alias_float.
29401 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
29402 libm_alias_float.
29403 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
29404 <libm-alias-float.h>.
29405 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
29406 libm_alias_float.
29407 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
29408 <libm-alias-float.h>.
29409 (getpayloadf): Define using libm_alias_float.
29410 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
29411 <libm-alias-float.h>.
29412 (llrintf): Define using libm_alias_float.
29413 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
29414 <libm-alias-float.h>.
29415 (llroundf): Define using libm_alias_float.
29416 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
29417 (logbf): Define using libm_alias_float.
29418 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
29419 (lrintf): Define using libm_alias_float.
29420 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
29421 (lroundf): Define using libm_alias_float.
29422 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
29423 (modff): Define using libm_alias_float.
29424 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
29425 <libm-alias-float.h>.
29426 (nearbyintf): Define using libm_alias_float.
29427 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
29428 <libm-alias-float.h>.
29429 (nextafterf): Define using libm_alias_float.
29430 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
29431 <libm-alias-float.h>.
29432 (nextupf): Define using libm_alias_float.
29433 * sysdeps/ieee754/flt-32/s_remquof.c: Include
29434 <libm-alias-float.h>.
29435 (remquof): Define using libm_alias_float.
29436 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
29437 (rintf): Define using libm_alias_float.
29438 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
29439 <libm-alias-float.h>.
29440 (roundevenf): Define using libm_alias_float.
29441 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
29442 (roundf): Define using libm_alias_float.
29443 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
29444 using libm_alias_float.
29445 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
29446 <libm-alias-float.h>.
29447 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
29448 Define using libm_alias_float.
29449 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
29450 <libm-alias-float.h>.
29451 (sincosf): Define using libm_alias_float.
29452 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
29453 (sinf): Define using libm_alias_float.
29454 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
29455 (tanf): Define using libm_alias_float.
29456 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
29457 (tanhf): Define using libm_alias_float.
29458 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
29459 <libm-alias-float.h>.
29460 (totalorderf): Define using libm_alias_float.
29461 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
29462 <libm-alias-float.h>.
29463 (totalordermagf): Define using libm_alias_float.
29464 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
29465 (truncf): Define using libm_alias_float.
29466 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
29467 libm_alias_float.
29468 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
29469 libm_alias_float.
29470
c5c4a626
GG
294712017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29472
29473 [BZ #22146]
29474 math/math.h: Let fpclassify use the builtin in C++ mode, even
29475 when optimazing for size.
29476
23947846
JM
294772017-09-22 Joseph Myers <joseph@codesourcery.com>
29478
29479 * csu/Makefile (generated): Do not add version-info.h.
29480 (before-compile): Likewise.
29481 (all-Banner-files): Remove variable.
29482 ($(objpfx)version-info.h): Remove rule.
29483 * csu/version.c (banner): Do not include "version-info.h".
29484 * libidn/Banner: Remove.
29485 * manual/contrib.texi (Simon Josefsson): New entry.
29486
9ac3c682
GG
294872017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29488
29489 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
29490 Remove conditionals on LDBL_MANT_DIG.
29491 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
29492 (__ieee754_lgammal_r): Likewise.
29493
d2f0ed09
GG
294942017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29495
29496 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
29497 _Float128 and L().
29498 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
29499 _Float128 and L(). Replace _Float128 with long double and L(x)
29500 with xL, throughout the file.
29501 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
29502 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
29503 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
29504 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
29505
c5c2e667
GG
295062017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29507
29508 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
29509 sysdeps/ieee754/ldbl-128ibm.
29510 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
29511 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
29512 of including it. Keep _Float128 and L() intact. These will be
29513 reviewed by a separate patch.
29514 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
29515 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
29516 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
29517 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
29518
e010deb2
GG
295192017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29520
29521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
29522 (__finitef128): Define to __redirect___finitef128.
29523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
29524 (__isinff128): Define to __redirect___isinff128.
29525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
29526 (__isnanf128): Define to __redirect___isnanf128.
29527
ffa44804
GG
295282017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29529
29530 * sysdeps/powerpc/powerpc64le/Makefile
29531 (CFLAGS-tst-strtod-nan-locale.c): New variable.
29532 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
29533
e5e4d7cc
PP
295342017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
29535 Carlos O'Donell <carlos@redhat.com>
29536
29537 [BZ #22180]
29538 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
29539 * stdlib/test-dlclose-exit-race.c: New file.
29540 * stdlib/test-dlclose-exit-race-helper.c: New file.
29541 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
29542
c10c5267
JM
295432017-09-21 Joseph Myers <joseph@codesourcery.com>
29544
29545 * crypt/Banner: Remove file.
29546 * nptl/Banner: Likewise.
29547 * resolv/Banner: Likewise.
29548 * soft-fp/Banner: Likewise.
29549 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
29550 ($(objpfx)version.d): Remove dependency on banner.h.
29551 ($(objpfx)version.os): Likewise.
29552 * nptl/version.c (banner): Do not include banner.h.
29553 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
29554 Jelinek and BIND code.
29555
1cc9e59a
PP
295562017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
29557 Carlos O'Donell <carlos@redhat.com>
29558
29559 * support/xdlfcn.h: New file.
29560 * support/xdlfcn.c: New file.
29561 * support/Makefile (libsupport-routines): Add xdlfcn.
29562 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
29563
ae8372d7
JM
295642017-09-20 Joseph Myers <joseph@codesourcery.com>
29565
29566 [BZ #20142]
29567 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29568 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
29569 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
29570 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
29571 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
29572 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
29573 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
29574 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
29575
26e70aec 295762017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
b39d961c
TS
29577 Ricky Zhou <rickyz@google.com>
29578 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
26e70aec
PP
29579
29580 [BZ #14333]
29581 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
29582 Remove atomics.
29583 (__new_exitfn): Fail registration when we finished at_exit processing.
29584 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
29585 * stdlib/on_exit.c (__on_exit): Likewise.
29586 * stdlib/exit.c (__exit_funcs_done): New variable.
29587 (__run_exit_handlers): Use __exit_funcs_lock.
29588 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
29589 declarations.
29590 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
29591 (test-cxa_atexit-race, test-on_exit-race): New tests.
29592 * stdlib/test-atexit-race-common.c: New file.
29593 * stdlib/test-atexit-race.c: New file.
29594 * stdlib/test-at_quick_exit-race.c: New file.
29595 * stdlib/test-cxa_atexit-race.c: New file.
29596 * stdlib/test-on_exit-race.c: New file.
29597
0525ce48
SN
295982017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
29599
29600 * benchtests/Makefile: Add exp2f and log2f benchmarks.
29601 * benchtests/exp2f-inputs: Copy of expf-inputs.
29602 * benchtests/log2f-inputs: Copy of logf-inputs.
29603
d82468d1
JM
296042017-09-19 Joseph Myers <joseph@codesourcery.com>
29605
29606 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
29607 Explicitly take address of first element of array arguments in
29608 call to INLINE_SYSCALL.
29609
43ffc53a
AS
296102017-09-19 Andreas Schwab <schwab@suse.de>
29611
29612 [BZ #22134]
29613 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
29614 execveat first.
29615 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
29616 unimplemented.
29617 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
29618 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
29619 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29620 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
29621 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
29622 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
29623 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29624 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
29625 * posix/Makefile (tests): Add tst-fexecve.
29626 * posix/tst-fexecve.c: New file.
29627
a5dcc87e
WD
296282017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29629
29630 * benchtests/Makefile: Add logf benchmark.
29631 * benchtests/logf-inputs: Add reduced trace from wrf_r.
29632
7024d544
WD
296332017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29634
29635 * benchtests/Makefile: Add expf benchmark.
29636 * benchtests/expf-inputs: Add reduced trace from wrf_r.
29637
ca3a382e
WD
296382017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29639
29640 * csu/Makefile: Add -funwind-tables to libc-start.c.
29641 * debug/Makefile: Add -funwind-tables to backtrace.c.
29642 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
29643 * sysdeps/arm/Makefile: Likewise.
29644 * sysdeps/i386/Makefile: Likewise.
29645 * sysdeps/m68k/Makefile: Likewise.
29646 * sysdeps/mips/Makefile: Likewise.
29647 * sysdeps/nios2/Makefile: Likewise.
29648 * sysdeps/sh/Makefile: Likewise.
29649 * sysdeps/sparc/Makefile: Likewise.
29650
eb375def
JM
296512017-09-19 Joseph Myers <joseph@codesourcery.com>
29652
29653 * benchtests/Makefile (bench-math): Add trunc and truncf.
29654 (CFLAGS-bench-trunc.c): New variable.
29655 (CFLAGS-bench-truncf.c): Likewise.
29656 * benchtests/trunc-inputs: New file.
29657 * benchtests/truncf-inputs: Likewise.
29658
bd17ba29
RS
296592017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29660
29661 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
29662
92892fdb
JM
296632017-09-18 Joseph Myers <joseph@codesourcery.com>
29664
6d9b0b5a
JM
29665 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
29666 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
29667 redefine.
29668 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
29669 (exp10l): Define as weak alias.
29670 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
29671 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
29672 and redefine.
29673 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
29674 (remainderl): Define as weak alias.
29675
92892fdb
JM
29676 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
29677 (fmal): Define using libm_alias_ldouble.
29678 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
29679 (acoshl): Define using libm_alias_ldouble.
29680 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
29681 (acosl): Define using libm_alias_ldouble.
29682 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
29683 (asinl): Define using libm_alias_ldouble.
29684 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
29685 (atan2l): Define using libm_alias_ldouble.
29686 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
29687 (atanhl): Define using libm_alias_ldouble.
29688 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
29689 (coshl): Define using libm_alias_ldouble.
29690 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
29691 (exp10l): Define using libm_alias_ldouble.
29692 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
29693 (exp2l): Define using libm_alias_ldouble.
29694 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
29695 (expl): Define using libm_alias_ldouble.
29696 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
29697 (fmodl): Define using libm_alias_ldouble.
29698 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
29699 (hypotl): Define using libm_alias_ldouble.
29700 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
29701 (j0l): Define using libm_alias_ldouble.
29702 (y0l): Likewise.
29703 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
29704 (j1l): Define using libm_alias_ldouble.
29705 (y1l): Likewise.
29706 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
29707 (jnl): Define using libm_alias_ldouble.
29708 (ynl): Likewise.
29709 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
29710 (log10l): Define using libm_alias_ldouble.
29711 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
29712 (log2l): Define using libm_alias_ldouble.
29713 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
29714 (logl): Define using libm_alias_ldouble.
29715 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
29716 (powl): Define using libm_alias_ldouble.
29717 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
29718 (remainderl): Define using libm_alias_ldouble.
29719 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
29720 (sinhl): Define using libm_alias_ldouble.
29721 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
29722 (sqrtl): Define using libm_alias_ldouble.
29723 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
29724 (tgammal): Define using libm_alias_ldouble.
29725 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
29726 (exp10l): Do not use long_double_symbol here.
29727 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
29728 [LIBM_SVID_COMPAT] (remainderl): Likewise.
29729 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
29730 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
29731 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
29732 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
29733 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
29734 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
29735 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
29736 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
29737 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
29738 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
29739 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
29740 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
29741 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
29742 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
29743 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
29744 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
29745 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
29746 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
29747 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
29748 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
29749
6cd380dd
WB
297502017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
29751
29752 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
29753 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
29754
1c6d89e9
ST
297552017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
29756
29757 * io/read.c (read): Add libc_hidden_weak.
29758 * sysdeps/mach/hurd/read.c (read): Likewise.
29759 * io/write.c (write): Likewise.
29760 * sysdeps/mach/hurd/write.c (write): Likewise.
29761 * io/pread64.c (__pread64): Likewise.
29762 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
29763 * posix/pread64.c (__pread64): Add libc_hidden_def.
29764
06b1de23
SP
297652017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
29766
140647ea
SP
29767 * benchtests/scripts/compare_strings.py: New option -g.
29768 (draw_graph): Print a message that a graph is being generated.
29769 (process_results): Generate graph only if -g is passed.
29770 (main): Process option -g.
29771
5a6547b7
SP
29772 * benchtests/scripts/compare_strings.py (process_results):
29773 Better spacing for output.
29774
06b1de23
SP
29775 * benchtests/scripts/compare_strings.py: Use argparse.
29776 * benchtests/README: Document existence of compare_strings.py.
29777
c67a2328
JM
297782017-09-15 Joseph Myers <joseph@codesourcery.com>
29779
9ac44708
JM
29780 * math/s_fma.c: Include <libm-alias-double.h>.
29781 (fma): Define using libm_alias_double.
29782 * math/s_nextafter.c: Include <libm-alias-double.h>.
29783 (nextafter): Define using libm_alias_double.
29784 * math/w_acos_compat.c: Include <libm-alias-double.h>.
29785 (acos): Define using libm_alias_double.
29786 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
29787 (aocsh): Define using libm_alias_double.
29788 * math/w_asin_compat.c: Include <libm-alias-double.h>.
29789 (asin): Define using libm_alias_double.
29790 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
29791 (atan2): Define using libm_alias_double.
29792 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
29793 (atanh): Define using libm_alias_double.
29794 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
29795 (cosh): Define using libm_alias_double.
29796 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
29797 (exp10): Define using libm_alias_double.
29798 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
29799 (exp2): Define using libm_alias_double.
29800 * math/w_exp_compat.c: Include <libm-alias-double.h>.
29801 (exp): Define using libm_alias_double.
29802 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
29803 (fmod): Define using libm_alias_double.
29804 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
29805 (hypot): Define using libm_alias_double.
29806 * math/w_j0_compat.c: Include <libm-alias-double.h>.
29807 (j0): Define using libm_alias_double.
29808 (y0): Likewise.
29809 * math/w_j1_compat.c: Include <libm-alias-double.h>.
29810 (j1): Define using libm_alias_double.
29811 (y1): Likewise.
29812 * math/w_jn_compat.c: Include <libm-alias-double.h>.
29813 (jn): Define using libm_alias_double.
29814 (yn): Likewise.
29815 * math/w_log10_compat.c: Include <libm-alias-double.h>.
29816 (log10): Define using libm_alias_double.
29817 * math/w_log2_compat.c: Include <libm-alias-double.h>.
29818 (log2): Define using libm_alias_double.
29819 * math/w_log_compat.c: Include <libm-alias-double.h>.
29820 (log): Define using libm_alias_double.
29821 * math/w_pow_compat.c: Include <libm-alias-double.h>.
29822 (pow): Define using libm_alias_double.
29823 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
29824 (remainder): Define using libm_alias_double.
29825 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
29826 (sinh): Define using libm_alias_double.
29827 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
29828 (sqrt): Define using libm_alias_double.
29829 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
29830 (tgamma): Define using libm_alias_double.
29831 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
29832 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
29833 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
29834 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
29835 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
29836 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
29837 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
29838 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
29839 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
29840 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
29841 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
29842 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
29843 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
29844 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
29845 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
29846 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
29847 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
29848 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
29849 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
29850 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
29851 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
29852 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
29853 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
29854 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
29855 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
29856
c67a2328
JM
29857 * math/e_acoshl.c: Remove.
29858 * math/e_acosl.c: Likewise.
29859 * math/e_asinl.c: Likewise.
29860 * math/e_atan2l.c: Likewise.
29861 * math/e_atanhl.c: Likewise.
29862 * math/e_coshl.c: Likewise.
29863 * math/e_expl.c: Likewise.
29864 * math/e_fmodl.c: Likewise.
29865 * math/e_gammal_r.c: Likewise.
29866 * math/e_hypotl.c: Likewise.
29867 * math/e_j0l.c: Likewise.
29868 * math/e_j1l.c: Likewise.
29869 * math/e_jnl.c: Likewise.
29870 * math/e_lgammal_r.c: Likewise.
29871 * math/e_log10l.c: Likewise.
29872 * math/e_log2l.c: Likewise.
29873 * math/e_logl.c: Likewise.
29874 * math/e_powl.c: Likewise.
29875 * math/e_rem_pio2l.c: Likewise.
29876 * math/e_sinhl.c: Likewise.
29877 * math/e_sqrtf128.c: Likewise.
29878 * math/e_sqrtl.c: Likewise.
29879 * math/k_cosl.c: Likewise.
29880 * math/k_sinl.c: Likewise.
29881 * math/k_tanl.c: Likewise.
29882 * math/s_asinhl.c: Likewise.
29883 * math/s_atanl.c: Likewise.
29884 * math/s_cbrtl.c: Likewise.
29885 * math/s_erfl.c: Likewise.
29886 * math/s_expm1l.c: Likewise.
29887 * math/s_log1pl.c: Likewise.
29888 * math/s_tanhl.c: Likewise.
29889
61c45f25
TMQMF
298902017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29891
29892 [BZ #21745]
29893 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
29894 [$(subdir) = math] (sysdep_calls): New variable. Has the
29895 previous contents of sysdep_routines, but re-sorted..
29896 [$(subdir) = math] (sysdep_routines): Re-use the contents from
29897 sysdep_calls.
29898 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
29899 defined in sysdep_calls and replace by the respective m_* names.
29900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
29901 (compat_symbol): Undefine to avoid duplicated compat symbols in
29902 libc.
29903
5bcdb315
JM
299042017-09-15 Joseph Myers <joseph@codesourcery.com>
29905
29906 * math/s_fmaf.c: Include <libm-alias-float.h>.
29907 (fmaf): Define using libm_alias_float.
29908 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
29909 (acosf): Define using libm_alias_float.
29910 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
29911 (acoshf): Define using libm_alias_float.
29912 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
29913 (asinf): Define using libm_alias_float.
29914 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
29915 (atan2f): Define using libm_alias_float.
29916 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
29917 (atanhf): Define using libm_alias_float.
29918 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
29919 (coshf): Define using libm_alias_float.
29920 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
29921 (exp10f): Define using libm_alias_float.
29922 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
29923 (fmodf): Define using libm_alias_float.
29924 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
29925 (hypotf): Define using libm_alias_float.
29926 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
29927 (j0f): Define using libm_alias_float.
29928 (y0f): Likewise.
29929 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
29930 (j1f): Define using libm_alias_float.
29931 (y1f): Likewise.
29932 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
29933 (jnf): Define using libm_alias_float.
29934 (ynf): Likewise.
29935 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
29936 (log10f): Define using libm_alias_float.
29937 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
29938 (log2f): Define using libm_alias_float.
29939 * math/w_logf_compat.c: Include <libm-alias-float.h>.
29940 (logf): Define using libm_alias_float.
29941 * math/w_powf_compat.c: Include <libm-alias-float.h>.
29942 (powf): Define using libm_alias_float.
29943 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
29944 (remainderf): Define using libm_alias_float.
29945 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
29946 (sinhf): Define using libm_alias_float.
29947 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
29948 (sqrtf): Define using libm_alias_float.
29949 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
29950 (tgammaf): Define using libm_alias_float.
29951
01f28812
JM
299522017-09-14 Joseph Myers <joseph@codesourcery.com>
29953
29954 * include/math.h (roundeven): Change hidden_proto call to
29955 __roundeven.
29956 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
29957 alias.
29958 [NO_LONG_DOUBLE] (__j0l): New strong alias.
29959 (y0): Rename to __y0 and define as weak alias.
29960 [NO_LONG_DOUBLE] (__y0l): New strong alias.
29961 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
29962 alias.
29963 (y0f): Rename to __y0f and define as weak alias.
29964 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
29965 alias.
29966 [NO_LONG_DOUBLE] (__j1l): New strong alias.
29967 (y1): Rename to __y1 and define as weak alias.
29968 [NO_LONG_DOUBLE] (__y1l): New strong alias.
29969 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
29970 alias.
29971 (y1f): Rename to __y1f and define as weak alias.
29972 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
29973 alias.
29974 [NO_LONG_DOUBLE] (__jnl): New strong alias.
29975 (yn): Rename to __yn and define as weak alias.
29976 [NO_LONG_DOUBLE] (__ynl): New strong alias.
29977 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
29978 alias.
29979 (ynf): Rename to __ynf and define as weak alias.
29980 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
29981 (fromfp): Define as weak alias.
29982 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
29983 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
29984 (fromfpx): Define as weak alias.
29985 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
29986 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
29987 __getpayload and define as weak alias.
29988 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
29989 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
29990 __roundeven and define as weak alias.
29991 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
29992 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
29993 __setpayload.
29994 (setpayload): Define as weak alias.
29995 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
29996 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
29997 __setpayloadsig.
29998 (setpayloadsig): Define as weak alias.
29999 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
30000 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
30001 __totalorder and define as weak alias.
30002 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
30003 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
30004 to __totalordermag and define as weak alias.
30005 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
30006 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
30007 (ufromfp): Define as weak alias.
30008 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
30009 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
30010 __ufromfpx.
30011 (ufromfpx): Define as weak alias.
30012 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
30013 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
30014 Rename to __getpayload and define as weak alias.
30015 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
30016 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
30017 Rename to __roundeven and define as weak alias.
30018 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
30019 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
30020 Rename to __totalorder and define as weak alias.
30021 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
30022 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
30023 (totalordermag): Rename to __totalordermag and define as weak
30024 alias.
30025 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
30026 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
30027 macro.
30028 (__roundevenl): Likewise.
30029 (__totalorderl): Likewise.
30030 (__totalordermagl): Likewise
30031 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
30032 __fromfpf128.
30033 (fromfpf128): Define as weak alias.
30034 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
30035 __fromfpxf128.
30036 (fromfpxf128): Define as weak alias.
30037 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
30038 __setpayloadf128.
30039 (setpayloadf128): Define as weak alias.
30040 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
30041 __setpayloadsigf128.
30042 (setpayloadsigf128): Define as weak alias.
30043 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
30044 __ufromfpf128.
30045 (ufromfpf128): Define as weak alias.
30046 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
30047 __ufromfpxf128.
30048 (ufromfpxf128): Define as weak alias.
30049 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
30050 (fromfpf): Define as weak alias.
30051 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
30052 __fromfpxf.
30053 (fromfpxf): Define as weak alias.
30054 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
30055 __getpayloadf and define as weak alias.
30056 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
30057 __roundevenf and define as weak alias.
30058 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
30059 __setpayloadf.
30060 (setpayloadf): Define as weak alias.
30061 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
30062 __setpayloadsigf.
30063 (setpayloadsigf): Define as weak alias.
30064 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
30065 __totalorderf and define as weak alias.
30066 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
30067 Rename to __totalordermagf and define as weak alias.
30068 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
30069 __ufromfpf.
30070 (ufromfpf): Define as weak alias.
30071 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
30072 __ufromfpxf.
30073 (ufromfpxf): Define as weak alias.
30074 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
30075 __fromfpl.
30076 (fromfpl): Define as weak alias.
30077 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
30078 __fromfpxl.
30079 (fromfpxl): Define as weak alias.
30080 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
30081 to __getpayloadl and define as weak alias.
30082 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
30083 __roundevenl and define as weak alias.
30084 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
30085 __setpayloadl.
30086 (setpayloadl): Define as weak alias.
30087 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
30088 __setpayloadsigl.
30089 (setpayloadsigl): Define as weak alias.
30090 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
30091 to __totalorderl and define as weak alias.
30092 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
30093 Rename to __totalordermagl and define as weak alias.
30094 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
30095 __ufromfpl.
30096 (ufromfpl): Define as weak alias.
30097 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
30098 __ufromfpxl.
30099 (ufromfpxl): Define as weak alias.
30100 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
30101 __fromfpl.
30102 (fromfpl): Define as weak alias.
30103 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
30104 __fromfpxl.
30105 (fromfpxl): Define as weak alias.
30106 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
30107 Rename to __getpayloadl and define as weak alias.
30108 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
30109 to __roundevenl and define as weak alias. Call __roundeven
30110 instead of roundeven.
30111 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
30112 __setpayloadl.
30113 (setpayloadl): Define as weak alias.
30114 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
30115 __setpayloadsigl.
30116 (setpayloadsigl): Define as weak alias.
30117 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
30118 Rename to __totalorderl and define as weak alias.
30119 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
30120 Rename to __totalordermagl and define as weak alias.
30121 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
30122 __ufromfpl.
30123 (ufromfpl): Define as weak alias.
30124 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
30125 __ufromfpxl.
30126 (ufromfpxl): Define as weak alias.
30127 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
30128 __fromfpl.
30129 (fromfpl): Define as weak alias.
30130 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
30131 __fromfpxl.
30132 (fromfpxl): Define as weak alias.
30133 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
30134 __getpayloadl and define as weak alias.
30135 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
30136 __roundevenl and define as weak alias.
30137 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
30138 __setpayloadl.
30139 (setpayloadl): Define as weak alias.
30140 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
30141 __setpayloadsigl.
30142 (setpayloadsigl): Define as weak alias.
30143 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
30144 __totalorderl and define as weak alias.
30145 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
30146 Rename to __totalordermagl and define as weak alias.
30147 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
30148 __ufromfpl.
30149 (ufromfpl): Define as weak alias.
30150 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
30151 __ufromfpxl.
30152 (ufromfpxl): Define as weak alias.
30153
29c933fb
SP
301542017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
30155
503c92c3
SP
30156 * benchtests/bench-string.h (realloc_bufs): New function.
30157 (test_init): Call it.
30158 * benchtests/bench-memset-large.c (do_test): Likewise.
30159 * benchtests/bench-memset.c (do_test): Likewise.
30160
29c933fb
SP
30161 * benchtests/bench-memset-large.c: Print output in JSON
30162 format.
30163 * benchtests/bench-memset.c: Likewise.
30164
799c8d69
MF
301652017-09-14 Mike FABIAN <mfabian@redhat.com>
30166
30167 [BZ #21084]
30168 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
30169 * iconvdata/Makefile: Add IBM858.
30170 * iconvdata/gconv-modules: Likewise.
30171 * iconvdata/tst-tables.sh: Likewise.
30172 * iconvdata/ibm858.c: New file.
30173 * localedata/charmaps/IBM858: Likewise.
30174
c207f7ce 301752017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
fcc82c06
AK
30176
30177 [BZ #22023]
30178 * locales/niu_NZ (LC_TIME): copy "niu_NU".
30179 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
30180
f28a0926
AK
301812017-09-14 Mike FABIAN <mfabian@redhat.com>
30182
30183 [BZ #22112]
30184 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
30185 and add tel_int_fmt.
30186
02093e62
JM
301872017-09-14 Joseph Myers <joseph@codesourcery.com>
30188
30189 * sysdeps/generic/libm-alias-float128.h: New file.
30190 * sysdeps/generic/math-type-macros-float128.h: Include
30191 <libm-alias-float128.h>.
30192 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
30193
1aae75ef
JM
301942017-09-13 Joseph Myers <joseph@codesourcery.com>
30195
30196 * sysdeps/generic/libm-alias-ldouble.h: New file.
30197 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
30198 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
30199 * sysdeps/generic/math-type-macros-ldouble.h: Include
30200 <libm-alias-ldouble.h>.
30201 [!declare_mgen_alias] (declare_mgen_alias): Define to use
30202 libm_alias_ldouble.
30203
bcea7ad6
SN
302042017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
30205
30206 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
30207 * math/w_exp_compat.c: ... here.
30208 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
30209 * math/w_expf_compat.c: ... here.
30210 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
30211 * math/w_expl_compat.c: ... here.
30212 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
30213 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
30214 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
30215 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
30216
0fc56478
JM
302172017-09-13 Joseph Myers <joseph@codesourcery.com>
30218
30219 * math/w_scalbln_template.c (strong_alias): Do not undefine and
30220 redefine.
30221 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
30222 macro.
30223 (ldexpl): Only define as compat symbol for libc, not libm.
30224 (scalbnl): Define as compat symbol for libc here.
30225 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
30226 define for [IS_IN (libc)].
30227 (__ldexpl_2): Remove alias.
30228 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
30229 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
30230 name in long_double_symbol call.
30231 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
30232 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
30233 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
30234 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
30235 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
30236 Remove macro.
30237 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
30238 Define as compat symbol.
30239
3ca622e4
AZ
302402017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30241
30242 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
30243 * sysdeps/unix/sysv/linux/alpha/Makefile
30244 [$(subdir) = csu] (sysdep_routines): Remove rule.
30245
620ff9ee
JM
302462017-09-13 Joseph Myers <joseph@codesourcery.com>
30247
30248 * sysdeps/generic/libm-alias-double.h: New file.
30249 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
30250 * sysdeps/generic/math-type-macros-double.h: Include
30251 <libm-alias-double.h>.
30252 [declare_mgen_alias] (declare_mgen_alias): Define to use
30253 libm_alias_double.
30254 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
30255 (M_LIBM_NEED_COMPAT): Remove macro.
30256 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
30257 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
30258 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
30259 code.
30260 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30261 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30262 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30263 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30264 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30265 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30266 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30267 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30268 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30269 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30270 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30271 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30272 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30273 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30274 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30275 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30276 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30277 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30278 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30279 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30280 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30281 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30282 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30283 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30284 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30285 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30286 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30287 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
30288 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
30289 macro.
30290 (declare_mgen_alias): New macro.
30291 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
30292 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
30293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
30294 (M_LIBM_NEED_COMPAT): Remove macro.
30295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
30296 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
30297 <first-versions.h>.
30298 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
30299 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
30300
a891caff
JM
303012017-09-12 Joseph Myers <joseph@codesourcery.com>
30302
30303 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
30304 (declare_mgen_alias_2): Remove.
30305 * sysdeps/generic/math-type-macros-double.h
30306 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
30307 Likewise.
30308 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
30309 alias.
30310 (ldexp): Define with declare_mgen_alias.
30311 (scalbn): Likewise.
30312
a1a78204
SE
303132017-09-12 Steve Ellcey <sellcey@cavium.com>
30314
30315 * grp/initgroups.c: Include config.h.
30316 (DEFAULT_CONFIG): New macro.
30317 (internal_getgrouplist): Use DEFAULT_CONFIG.
30318 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30319 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
30320 (DEFAULT_DEFCONFIG): New macro.
30321 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
30322 * nss/grp-lookup.c: Include config.h
30323 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
30324 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
30325 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
30326 * manual/nss.texi: Update default values section.
30327
ef8adeb0
L
303282017-09-12 H.J. Lu <hongjiu.lu@intel.com>
30329
30330 [BZ #21967]
30331 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
30332 New.
30333 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
30334 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30335 Handle MathVec_Prefer_No_AVX512.
30336 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
30337 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
30338 is set.
30339
a166531f
ST
303402017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
30341
30342 * posix/sched_primax.c (__sched_get_priority_max): Add
30343 libc_hidden_def.
30344 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
30345 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
30346 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
30347 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
30348 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
30349 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
30350 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
30351 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
30352 Add aliases.
30353
4b7d1efb
JM
303542017-09-11 Joseph Myers <joseph@codesourcery.com>
30355
30356 * sysdeps/generic/libm-alias-float.h: New file.
30357 * sysdeps/generic/math-type-macros-float.h: Include
30358 <libm-alias-float.h>.
30359 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
30360
45ff3463
L
303612017-09-11 H.J. Lu <hongjiu.lu@intel.com>
30362
30363 [BZ #22093]
30364 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
30365 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
30366 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
30367 (HWCAP_IMPORTANT): Likewise.
30368 (HWCAP_X86_64): New enum.
30369 (HWCAP_X86_AVX512_1): Updated.
30370 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
30371 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
30372 (modules-names): Add x86_64/tst-x86_64mod-1.
30373 (LDFLAGS-tst-x86_64mod-1.so): New.
30374 ($(objpfx)tst-x86_64-1): Likewise.
30375 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
30376 (tst-x86_64-1-clean): Likewise.
30377 * sysdeps/x86_64/tst-x86_64-1.c: New file.
30378 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
30379
891abfd3
SP
303802017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
30381
30382 * po/sv.po: Update translations.
30383 * po/fr.po: Likewise.
30384
00c3da43
ST
303852017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30386
30387 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
30388 seconds.
3bdfd9fb
ST
30389 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
30390 seconds.
65b22ebc 30391 * elf/rtld-Rules: Fix $(error) use.
00c3da43 30392
96480903
MF
303932017-09-09 Mike FABIAN <mfabian@redhat.com>
30394
30395 [BZ #14925]
30396 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
30397 * locale/iso-639.def: Change “Bengali” to “Bangla”.
30398 * localedata/locales/bn_BD: “Bengali” was still used in some
30399 comments. Change it to “Bangla”.
30400
4c03a696
MT
304012017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
30402
30403 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
30404
9c9ec581
SE
304052017-09-08 Steve Ellcey <sellcey@cavium.com>
30406
30407 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
30408 thunderx2t99p1 to list of cpu names.
30409 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
30410 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
30411
f00bce74
SE
304122017-09-08 Steve Ellcey <sellcey@cavium.com>
30413
30414 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
30415 Use strcmp instead of tunable_is_name.
30416
27342d17
JM
304172017-09-08 Joseph Myers <joseph@codesourcery.com>
30418
af1b7c8c
JM
30419 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30420 (F_GET_RW_HINT): New macro.
30421 [__USE_GNU] (F_SET_RW_HINT): Likewise.
30422 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
30423 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
30424 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
30425 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
30426 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
30427 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
30428 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
30429 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
30430
27342d17
JM
30431 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30432 (F_ADD_SEALS): New macro.
30433 [__USE_GNU] (F_GET_SEALS): Likewise.
30434 [__USE_GNU] (F_SEAL_SEAL): Likewise.
30435 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
30436 [__USE_GNU] (F_SEAL_GROW): Likewise.
30437 [__USE_GNU] (F_SEAL_WRITE): Likewise.
30438
c66c9082
AZ
304392017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30440
07b4f49d
AZ
30441 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
30442 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
30443 * posix/glob_internal.h (__glob_pattern_type):
30444 * posix/glob.c (glob):
30445 * posix/glob_pattern_p.c (__glob_pattern_p):
30446 Use them.
30447
116f1c64
AZ
30448 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
30449 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
30450 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
30451 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
30452 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
30453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
30454 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
30455 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
30456 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
30457 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30458 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
30459 * sysdeps/wordsize-64/glob.c: Likewise.
30460 * sysdeps/wordsize-64/glob64.c: Likewise.
30461 * sysdeps/wordsize-64/globfree.c: Likewise.
30462 * sysdeps/wordsize-64/globfree64.c: Likewise.
30463 * sysdeps/unix/sysv/linux/glob.c: New file.
30464 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
30465 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
30466 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
30467 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
30468 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
30469 adds !GLOB_NO_OLD_VERSION as an extra condition.
30470 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
30471 using relative path instead of absolute one.
30472 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
30473 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30474 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30475 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
30476 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
30477 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
30478
ffca8901
AZ
30479 [BZ #1062]
30480 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
30481 (glob): Use the same scratch buffer for both getlogin_r and
30482 getpwnam_r. Don’t require preallocation of the login name. This
30483 simplifies storage allocation, and corrects the handling of
30484 long login names.
30485
5a79f975
AZ
30486 [BZ #1062]
30487 * posix/glob.c (glob): Port recent patches to platforms
30488 lacking getpwnam_r.
30489 (glob): Fix longstanding misuse of errno after getpwnam_r, which
30490 returns an error number rather than setting errno.
30491
e00f2425
AZ
30492 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
30493 instead of GCC extension.
30494 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
30495 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
30496 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
30497
5554304f
AZ
30498 [BZ #866]
30499 [BZ #1062]
30500 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
30501 * posix/bug-glob1.c: Remove file.
30502 * posix/tst-glob_symlinks.c: New file.
30503 * posix/glob.c (__lstat64): New macro.
30504 (is_dir): New function.
30505 (glob, glob_in_dir): Match symlinks even if they are dangling.
30506 (link_stat, link_exists_p): Remove. All uses removed.
30507
686f2ea1
AZ
30508 [BZ #1062]
30509 [BZ #19971]
30510 * posix/glob.c (struct readdir_result): Remove skip_entry member.
30511 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
30512 All uses removed.
30513
c66c9082 30514 [BZ #1062]
914c9994 30515 CVE-2017-15671
c66c9082
AZ
30516 * posix/Makefile (routines): Add globfree, globfree64, and
30517 glob_pattern_p.
30518 * posix/flexmember.h: New file.
30519 * posix/glob_internal.h: Likewise.
30520 * posix/glob_pattern_p.c: Likewise.
30521 * posix/globfree.c: Likewise.
30522 * posix/globfree64.c: Likewise.
30523 * sysdeps/gnu/globfree64.c: Likewise.
30524 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
30525 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
30526 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
30527 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
30528 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
30529 * sysdeps/wordsize-64/globfree.c: Likewise.
30530 * sysdeps/wordsize-64/globfree64.c: Likewise.
30531 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
30532 [NDEBUG): Remove comments.
30533 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
30534 (dirent_type): New type. Use uint_fast8_t not
30535 uint8_t, as C99 does not require uint8_t.
30536 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
30537 (struct readdir_result): Use dirent_type. Do not define skip_entry
30538 unless it is needed; this saves a byte on platforms lacking d_ino.
30539 (readdir_result_type, readdir_result_skip_entry):
30540 New functions, replacing ...
30541 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
6b5c8607 30542 these functions, which were removed. This makes the callers
c66c9082
AZ
30543 easier to read. All callers changed.
30544 (D_INO_TO_RESULT): Now empty if there is no d_ino.
30545 (size_add_wrapv, glob_use_alloca): New static functions.
30546 (glob, glob_in_dir): Check for size_t overflow in several places,
30547 and fix some size_t checks that were not quite right.
30548 Remove old code using SHELL since Bash no longer
30549 uses this.
30550 (glob, prefix_array): Separate MS code better.
30551 (glob_in_dir): Remove old Amiga and VMS code.
30552 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
30553 separate files.
30554 (glob_in_dir): Do not rely on undefined behavior in accessing
30555 struct members beyond their bounds. Use a flexible array member
30556 instead
30557 (link_stat): Rename from link_exists2_p and return -1/0 instead of
30558 0/1. Caller changed.
30559 (glob): Fix memory leaks.
30560 * posix/glob64 (globfree64): Move to separate file.
30561 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
30562 (globfree64): Remove hidden alias.
30563 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
30564 oldglob.
30565 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
30566 separate file.
30567 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
30568 define.
30569 Move compat code to separate file.
30570 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
30571 separate file.
30572
78bfa877
L
305732017-09-07 H.J. Lu <hongjiu.lu@intel.com>
30574
30575 * resolv/tst-resolv-qtypes.c (domain): Changed to
30576 "const char domain[] =".
30577
05f0011f
JM
305782017-09-07 Joseph Myers <joseph@codesourcery.com>
30579
85bec0f2
JM
30580 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
30581 version to 3.1.6.
30582
5c23ee6e
JM
30583 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
30584 (TCP_MD5SIG_EXT): Likewise.
30585 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
30586 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
30587 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
30588
05f0011f
JM
30589 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
30590
7c9c5be9
MF
305912017-09-07 Mike FABIAN <mfabian@redhat.com>
30592
30593 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
30594
c207f7ce 305952017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
ae214523
AK
30596
30597 [BZ #22100]
30598 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
30599
507fe027
ST
306002017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
30601
30602 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
30603 before assuming that the file is empty. Avoid testing buffer content
30604 when nread == 0.
30605
65687ac7
AZ
306062017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30607
7bbbb4b9 30608 [BZ #18858]
65687ac7
AZ
30609 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
30610 Remove define.
30611 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
30612 Likewise.
30613 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
30614 Likewise.
30615 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
30616 Likewise.
30617 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
30618 Likewise.
30619 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
30620 Likewise.
30621 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
30622 Likewise.
30623
ab5ac271
FW
306242017-09-06 Florian Weimer <fweimer@redhat.com>
30625
30626 * malloc/dynarray_emplace_enlarge.c
30627 (__libc_dynarray_emplace_enlarge): Add missing else.
30628
a8304730
FW
306292017-09-06 Florian Weimer <fweimer@redhat.com>
30630
30631 [BZ #22096]
30632 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
30633 case of failure to obtain the global conf object.
30634
5670c4ab
FW
306352017-09-06 Florian Weimer <fweimer@redhat.com>
30636
30637 [BZ #22095]
30638 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
30639 dynarray allocation failure.
30640
c77eb969
FW
306412017-09-06 Florian Weimer <fweimer@redhat.com>
30642
30643 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
30644 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
30645 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
30646 New functions.
30647 (response): Call them. Add 'p', '6' flag processing.
30648 (test_reverse): New function.
30649 (test_get2_any): Call it.
30650 (test_no_inet6): Add 'p' test.
30651 (test_inet6): Likewise.
30652
5e9c4d17
FW
306532017-09-06 Florian Weimer <fweimer@redhat.com>
30654
30655 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
30656 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
30657 the QNAME.
30658 (test_gai): Adjust query names. Add additional tests.
30659 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
30660 test_get2. Adjust query names. Add additional tests.
30661 (test_no_inet6): New function, extracted from threadfunc.
30662 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
30663 Add additional tests.
30664
2ae5be04
MF
306652017-09-06 Mike FABIAN <mfabian@redhat.com>
30666
30667 [BZ #22070]
30668 * localedata/unicode-gen/utf8_gen.py: Set the width for
30669 characters with Prepended_Concatenation_Mark property to 1
30670 * localedata/charmaps/UTF-8: Updated using the improved script.
30671
af83ed5c
MF
306722017-09-06 Mike FABIAN <mfabian@redhat.com>
30673
30674 [BZ #21750]
30675 * localedata/unicode-gen/utf8_gen.py: Improve the script to
30676 use the range notation for all ranges of neighbouring characters
30677 with the same width.
30678
4f3647e4
JM
306792017-09-05 Joseph Myers <joseph@codesourcery.com>
30680
30681 * sysdeps/generic/math-type-macros-double.h: Include
30682 <math-svid-compat.h>.
30683 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30684 * sysdeps/generic/math-type-macros-float.h: Include
30685 <math-svid-compat.h>.
30686 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30687 * sysdeps/generic/math-type-macros-ldouble.h: Include
30688 <math-svid-compat.h>.
30689 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30690 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
30691 condition.
30692 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
30693 * math/w_acosf_compat.c: Likewise.
30694 * math/w_acosh_compat.c: Likewise.
30695 * math/w_acoshf_compat.c: Likewise.
30696 * math/w_acoshl_compat.c: Likewise.
30697 * math/w_acosl_compat.c: Likewise.
30698 * math/w_asin_compat.c: Likewise.
30699 * math/w_asinf_compat.c: Likewise.
30700 * math/w_asinl_compat.c: Likewise.
30701 * math/w_atan2_compat.c: Likewise.
30702 * math/w_atan2f_compat.c: Likewise.
30703 * math/w_atan2l_compat.c: Likewise.
30704 * math/w_atanh_compat.c: Likewise.
30705 * math/w_atanhf_compat.c: Likewise.
30706 * math/w_atanhl_compat.c: Likewise.
30707 * math/w_cosh_compat.c: Likewise.
30708 * math/w_coshf_compat.c: Likewise.
30709 * math/w_coshl_compat.c: Likewise.
30710 * math/w_exp10_compat.c: Likewise.
30711 * math/w_exp10f_compat.c: Likewise.
30712 * math/w_exp10l_compat.c: Likewise.
30713 * math/w_exp2_compat.c: Likewise.
30714 * math/w_exp2f_compat.c: Likewise.
30715 * math/w_exp2l_compat.c: Likewise.
30716 * math/w_fmod_compat.c: Likewise.
30717 * math/w_fmodf_compat.c: Likewise.
30718 * math/w_fmodl_compat.c: Likewise.
30719 * math/w_hypot_compat.c: Likewise.
30720 * math/w_hypotf_compat.c: Likewise.
30721 * math/w_hypotl_compat.c: Likewise.
30722 * math/w_j0_compat.c: Likewise.
30723 * math/w_j0f_compat.c: Likewise.
30724 * math/w_j0l_compat.c: Likewise.
30725 * math/w_j1_compat.c: Likewise.
30726 * math/w_j1f_compat.c: Likewise.
30727 * math/w_j1l_compat.c: Likewise.
30728 * math/w_jn_compat.c: Likewise.
30729 * math/w_jnf_compat.c: Likewise.
30730 * math/w_jnl_compat.c: Likewise.
30731 * math/w_lgamma_r_compat.c: Likewise.
30732 * math/w_lgammaf_r_compat.c: Likewise.
30733 * math/w_lgammal_r_compat.c: Likewise.
30734 * math/w_log10_compat.c: Likewise.
30735 * math/w_log10f_compat.c: Likewise.
30736 * math/w_log10l_compat.c: Likewise.
30737 * math/w_log2_compat.c: Likewise.
30738 * math/w_log2f_compat.c: Likewise.
30739 * math/w_log2l_compat.c: Likewise.
30740 * math/w_log_compat.c: Likewise.
30741 * math/w_logf_compat.c: Likewise.
30742 * math/w_logl_compat.c: Likewise.
30743 * math/w_pow_compat.c: Likewise.
30744 * math/w_powf_compat.c: Likewise.
30745 * math/w_powl_compat.c: Likewise.
30746 * math/w_remainder_compat.c: Likewise.
30747 * math/w_remainderf_compat.c: Likewise.
30748 * math/w_remainderl_compat.c: Likewise.
30749 * math/w_sinh_compat.c: Likewise.
30750 * math/w_sinhf_compat.c: Likewise.
30751 * math/w_sinhl_compat.c: Likewise.
30752 * math/w_sqrt_compat.c: Likewise.
30753 * math/w_sqrtf_compat.c: Likewise.
30754 * math/w_sqrtl_compat.c: Likewise.
30755 * math/w_tgamma_compat.c: Likewise.
30756 * math/w_tgammaf_compat.c: Likewise.
30757 * math/w_tgammal_compat.c: Likewise.
30758 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
30759 [LIBM_SVID_COMPAT].
30760 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
30761 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
30762 [LIBM_SVID_COMPAT].
30763 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
30764 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
30765 [LIBM_SVID_COMPAT].
30766 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
30767 * sysdeps/i386/fpu/w_sqrt.c: New file.
30768 * sysdeps/ia64/fpu/w_acos.c: Likewise.
30769 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
30770 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
30771 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
30772 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
30773 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
30774 * sysdeps/ia64/fpu/w_asin.c: Likewise.
30775 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
30776 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
30777 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
30778 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
30779 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
30780 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
30781 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
30782 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
30783 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
30784 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
30785 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
30786 * sysdeps/ia64/fpu/w_exp.c: Likewise.
30787 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
30788 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
30789 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
30790 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
30791 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
30792 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
30793 * sysdeps/ia64/fpu/w_expf.c: Likewise.
30794 * sysdeps/ia64/fpu/w_expl.c: Likewise.
30795 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
30796 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
30797 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
30798 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
30799 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
30800 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
30801 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
30802 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
30803 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
30804 * sysdeps/ia64/fpu/w_log.c: Likewise.
30805 * sysdeps/ia64/fpu/w_log10.c: Likewise.
30806 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
30807 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
30808 * sysdeps/ia64/fpu/w_log2.c: Likewise.
30809 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
30810 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
30811 * sysdeps/ia64/fpu/w_logf.c: Likewise.
30812 * sysdeps/ia64/fpu/w_logl.c: Likewise.
30813 * sysdeps/ia64/fpu/w_pow.c: Likewise.
30814 * sysdeps/ia64/fpu/w_powf.c: Likewise.
30815 * sysdeps/ia64/fpu/w_powl.c: Likewise.
30816 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
30817 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
30818 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
30819 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
30820 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
30821 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
30822 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
30823 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
30824 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
30825 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
30826 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
30827 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
30828 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
30829 [LIBM_SVID_COMPAT].
30830 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
30831 * sysdeps/ieee754/k_standard.c: Likewise.
30832 * sysdeps/ieee754/k_standardf.c: Likewise.
30833 * sysdeps/ieee754/k_standardl.c: Likewise.
30834 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
30835 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
30836 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
30837 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
30838 long_double_symbol call on [LIBM_SVID_COMPAT].
30839 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
30840 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
30841 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
30842 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
30843 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
30844 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
30845 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
30846 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
30847 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
30848 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
30849 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
30850 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
30851 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
30852 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
30853 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
30854 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
30855 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
30856 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
30857 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
30858 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
30859 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
30860 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
30861
05b38d64
SE
308622017-09-05 Steve Ellcey <sellcey@cavium.com>
30863
30864 * include/shlib-compat.h (TEST_COMPAT): New Macro.
30865 * malloc/tst-mallocstate.c: Convert from test-skeleton
30866 to test-driver. Ifdef code using TEST_COMPAT macro.
30867 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
30868 * math/test-matherr.c: Likewise.
30869
99d67918
JM
308702017-09-05 Joseph Myers <joseph@codesourcery.com>
30871
30872 [BZ #22086]
30873 * debug/pcprofiledump.c (main): Use byte-swapped mask when
30874 comparing word with byte-swapped constant.
30875
c207f7ce 308762017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
3f802aeb
MF
30877
30878 [BZ #20498]
30879 * locale/iso-639.def: add Miskito.
30880 * localedata/SUPPORTED: Add miq_NI/UTF-8.
30881 * localedata/locales/miq_NI: New file.
30882
0a587a8a
L
308832017-09-04 H.J. Lu <hongjiu.lu@intel.com>
30884
30885 [BZ #18822]
30886 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
30887 (__mkdir): Likewise.
30888 * io/chmod.c (__chmod): Add libc_hidden_def.
30889 * io/mkdir.c (__mkdir): Likewise.
30890 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
30891 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
30892 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
30893 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
30894
f3a129b8
JM
308952017-09-04 Joseph Myers <joseph@codesourcery.com>
30896
1650e192
JM
30897 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
30898 version to 4.13.
30899
f3a129b8
JM
30900 [BZ #22082]
30901 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
30902 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
30903
b38042f5
FW
309042017-09-04 Florian Weimer <fweimer@redhat.com>
30905
30906 * math/math.h: Issue warning if log is defined.
30907
059b6404
JM
309082017-09-04 Joseph Myers <joseph@codesourcery.com>
30909
30910 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
30911 kernel version to 4.13.
30912
b794e16b
ST
309132017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
30914
30915 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
06cf9d31
ST
30916 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
30917 parameter.
01969395
ST
30918 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
30919 just <bits/types.h>.
dd2b31de 30920 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
ed95bf56 30921 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
dd2b31de 30922 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
ed95bf56 30923 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
2263ca7c
ST
30924 * misc/preadv2.c: Include <errno.h>.
30925 * misc/preadv64v2.c: Include <errno.h>.
30926 * misc/pwritev2.c: Include <errno.h>.
30927 * misc/pwritev64v2.c: Include <errno.h>.
30928 * sysdeps/posix/preadv2.c: Include <errno.h>.
30929 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
30930 Fix <unistd.h> inclusion.
30931 * sysdeps/posix/pwritev2.c: Include <errno.h>.
30932 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
cae3d712
ST
30933 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
30934 __strtoul_internal): New functions.
127e7773
ST
30935 * sysdeps/posix/pause.c: Include <sigsetops.h>.
30936 * sysdeps/posix/system.c: Include <sigsetops.h>.
f85958a7
ST
30937 * sysdeps/mach/hurd/i386/Makefile
30938 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
30939 [$(subdir) = csu] (sysdep-only-routines): Likewise.
30940 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1946d950
ST
30941 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
30942 __feraiseexcept_renamed to feraiseexcept instead of
30943 __GI_feraiseexcept.
56bf5497 30944 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
2ce1f9ef 30945 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
492cbbed
ST
30946 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
30947 RWF_NOWAIT): Define to 0 if undefined already.
30948 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
30949 boils down to 0.
6547ec0a
ST
30950 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
30951 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
b794e16b 30952
5a80d39d
JM
309532017-09-01 Joseph Myers <joseph@codesourcery.com>
30954
30955 * manual/math.texi (pow10): Do not document.
30956 (pow10f): Likewise.
30957 (pow10l): Likewise.
30958 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
30959 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
30960 * math/libm-test-exp10.inc (pow10_test): Remove.
30961 (do_test): Do not call pow10.
30962 * math/w_exp10_compat.c (pow10): Make into compat symbol.
30963 [NO_LONG_DOUBLE] (pow10l): Likewise.
30964 * math/w_exp10f_compat.c (pow10f): Likewise.
30965 * math/w_exp10l_compat.c (pow10l): Likewise.
30966 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
30967 (pow10): Make into compat symbol.
30968 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
30969 (pow10f): Make into compat symbol.
30970 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
30971 (pow10l): Make into compat symbol.
30972 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
30973 pow10.
30974 (CFLAGS-nldbl-pow10.c): Remove variable..
30975 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
30976 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
30977 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
30978 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
30979 Undefine and redefine.
30980 (pow10l): Make into compat symbol.
30981 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
30982 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
30983 * sysdeps/arm/libm-test-ulps: Likewise.
30984 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
30985 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
30986 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30987 * sysdeps/microblaze/libm-test-ulps: Likewise.
30988 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
30989 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30990 * sysdeps/nios2/libm-test-ulps: Likewise.
30991 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30992 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
30993 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30994 * sysdeps/sh/libm-test-ulps: Likewise.
30995 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30996 * sysdeps/tile/libm-test-ulps: Likewise.
30997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30998
3824fc38
PP
309992017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31000
31001 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
31002
b3008279
L
310032017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31004
31005 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
31006 "../ChangeLog.old/ChangeLog.8".
31007 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
31008 "../ChangeLog.old/ChangeLog.14".
31009
136fa185
L
310102017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31011
31012 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
31013 Threads Library.
31014
c18d50a2
JM
310152017-09-01 Joseph Myers <joseph@codesourcery.com>
31016
31017 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
31018
bedbd859
L
310192017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31020
31021 * csu/version.c (banner): Remove "by Roland McGrath et al.".
31022 * nptl/Banner: Remove "by Ulrich Drepper et al.".
31023
50c66c7a
PP
310242017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31025
31026 * stdlib/tst-atexit-common.c (do_test): Test support for at least
31027 32 atexit handlers.
31028
a617bd11
ZW
310292017-09-01 Zack Weinberg <zackw@panix.com>
31030
31031 * math/math.h (HUGE_VAL): Improve commentary.
31032
e0d2eb5a
AZ
310332017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31034 Andreas Schwab <schwab@suse.de>
31035
31036 [BZ #21530]
31037 * include/stdio.h (__gen_tempfd): New function.
31038 * stdio-common/Makefile (routines): Add gentempfd.
31039 * stdio-common/gentempfd.c: New file.
31040 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
31041 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
31042 unnamed file first.
31043
f4a6be25
FW
310442017-09-01 Florian Weimer <fweimer@redhat.com>
31045
31046 [BZ #21915]
31047 [BZ #21922]
31048 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
31049 result to determine success or failure, not the errno value.
31050 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
31051 (tst-nss-files-hosts-erange): Link with -ldl.
31052 * nss/tst-nss-files-hosts-erange.c: New file.
31053 * nss/tst-resolv-basic.c (response): Handle nodata.example.
31054 (do_test): Add NO_DATA tests.
31055 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
31056 (do_test): Call it.
31057
5f8340f5
FW
310582017-09-01 Florian Weimer <fweimer@redhat.com>
31059
31060 [BZ #21922]
31061 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
31062 coming from gethostbyname2_r.
31063
65329bd2
FW
310642017-09-01 Florian Weimer <fweimer@redhat.com>
31065
31066 * support/namespace.h (struct support_chroot_configuration): Add
31067 hosts, host_conf.
31068 (struct support_chroot): Add path_hosts, path_host_conf.
31069 * support/support_chroot.c (write_file): New function.
31070 (support_chroot_create): Call it to process /etc/resolv.conf,
31071 /etc/hosts, /etc/host.conf.
31072 (support_chroot_free): Update.
31073
a2881ef0
FW
310742017-09-01 Florian Weimer <fweimer@redhat.com>
31075
31076 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
31077 status indicates it is set.
31078
ad816a5e
FW
310792017-09-01 Florian Weimer <fweimer@redhat.com>
31080
63b52889 31081 [BZ #20532]
ad816a5e
FW
31082 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
31083 function lookup failures more reliable.
31084
53250a21
FW
310852017-09-01 Florian Weimer <fweimer@redhat.com>
31086
31087 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
31088 (getcanonname): Likewise.
31089 (gaih_inet): Likewise.
31090
924b121c
FW
310912017-09-01 Florian Weimer <fweimer@redhat.com>
31092
31093 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
31094 (getcanonname): Likewise.
31095 (gaih_inet): Likewise.
31096
d9ff799a 310972017-08-31 Steve Ellcey <sellcey@cavium.com>
6b5c8607 31098 Richard Henderson <rth@twiddle.net>
d9ff799a
SE
31099
31100 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
31101 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
31102 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
31103 (IREG_SIZE, OREG_SIZE): New macros.
31104 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
31105 (IREG_SIZE, OREG_SIZE): New macros.
31106 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
31107 (IREG_SIZE): New macro.
31108 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
31109 (IREG_SIZE): New macro.
31110 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
31111 New includes.
31112 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
31113 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
31114 (__CONCATX): Handle exceptions correctly on large values that may
31115 set FE_INVALID.
31116 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
31117 Initialize if not already set.
b39d961c 31118 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
d9ff799a 31119
102dde84
AZ
311202017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31121
31122 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
31123 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
31124 Likewise.
31125 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
31126 Likewise.
31127 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
31128 Likewise.
31129 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
31130 Likewise.
31131 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
31132 Likewise.
31133 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
31134 Likewise.
31135 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
31136 Likewise.
31137 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
31138 (NO_CANCELLATION): Likewise.
31139 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
31140 Likewise.
31141 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
31142 Likewise.
31143 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
31144 Likewise.
31145 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
31146 (NO_CANCELLATION): Likewise.
31147 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
31148 (NO_CANCELLATION): Likewise.
31149 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
31150 Likewise
31151 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
31152 Likewise.
31153 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
31154 Likewise.
31155 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
31156 Likewise.
31157 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
31158 hidden prototype.
31159 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
31160 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
31161
9eee633b
SE
311622017-08-31 Steve Ellcey <sellcey@cavium.com>
31163
31164 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
31165 in resolver call.
31166
65284eb7
FW
311672017-08-31 Florian Weimer <fweimer@redhat.com>
31168
31169 * include/libc-symbols.h (internal_function): Remove.
31170
41ad5ca6
FW
311712017-08-31 Florian Weimer <fweimer@redhat.com>
31172
31173 * stdlib/fmtmsg.c (internal_addseverity): Remove
31174 internal_function.
31175
2fa6d086
FW
311762017-08-31 Florian Weimer <fweimer@redhat.com>
31177
31178 * stdio-common/printf_fp.c (group_number): Remove
31179 internal_function.
31180 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
31181
b41bd5bc
FW
311822017-08-31 Florian Weimer <fweimer@redhat.com>
31183
31184 * posix/fnmatch.c (internal_function): Remove definition.
31185 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
31186 * posix/regcomp.c (peek_token, init_word_char)
31187 (duplicate_node_closure, fetch_token, peek_token)
31188 (peek_token_bracket, build_range_exp, build_collating_symbol):
31189 Likewise.
31190 * posix/regex_internal.c (re_string_construct_common)
31191 (create_ci_newstate, create_cd_newstate, re_string_allocate)
31192 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
31193 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
31194 (re_string_translate_buffer, re_string_reconstruct)
31195 (re_string_peek_byte_case, re_string_fetch_byte_case)
31196 (re_string_destruct, re_string_context_at, re_node_set_alloc)
31197 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
31198 (re_node_set_add_intersect, re_node_set_init_union)
31199 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
31200 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
31201 (re_dfa_add_node, calc_state_hash, re_acquire_state)
31202 (re_acquire_state_context): Likewise.
31203 * posix/regex_internal.h (internal_function): Remove definition.
31204 (re_string_realloc_buffers, build_wcs_buffer)
31205 (build_wcs_upper_buffer, build_upper_buffer)
31206 (re_string_translate_buffer, re_string_context_at)
31207 (re_string_char_size_at, re_string_wchar_at)
31208 (re_string_elem_size_at): Likewise.
31209 * posix/regexec.c (match_ctx_init, match_ctx_clean)
31210 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
31211 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
31212 (re_search_internal, re_search_2_stub, re_search_stub)
31213 (re_copy_regs, prune_impossible_nodes, check_matching)
31214 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
31215 (free_fail_stack_return, sift_states_iter_mb)
31216 (sift_states_backward, build_sifted_states)
31217 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
31218 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
31219 (check_subexp_limits, sift_states_bkref, merge_state_array)
31220 (find_recover_state, transit_state, merge_state_with_log)
31221 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
31222 (transit_state_mb, transit_state_bkref, get_subexp)
31223 (get_subexp_sub, find_subexp_node, check_arrival)
31224 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
31225 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
31226 (check_node_accept_bytes, find_collation_sequence_value)
31227 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
31228 (acquire_init_state_context, check_halt_node_context)
31229 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
31230 (sub_epsilon_src_nodes): Likewise.
31231 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
31232 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
31233 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
31234 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
31235 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
31236 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
31237 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
31238 * sysdeps/posix/ttyname.c (getttyname): Likewise.
31239 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
31240 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
31241 (PREADV): Likewise.
31242 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
31243 (PREADV): Likewise.
31244 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
31245 (PWRITEV): Likewise.
31246 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
31247 (PWRITEV): Likewise.
31248 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
31249 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
31250
83b09837
FW
312512017-08-31 Florian Weimer <fweimer@redhat.com>
31252
31253 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
31254 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
31255 Remove internal_function.
31256 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
31257 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
31258 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
31259 (__deallocate_stack, __libc_pthread_init)
31260 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
31261 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
31262 (__libc_disable_asynccancel, __librt_disable_asynccancel):
31263 Likewise.
31264 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
31265 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
31266 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
31267 Likewise.
31268 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
31269 (__pthread_mutex_unlock_usercnt): Likewise.
31270
116ac301
FW
312712017-08-31 Florian Weimer <fweimer@redhat.com>
31272
31273 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
31274 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
31275 (fts_safe_changedir): Remove internal_function.
31276 * io/ftw.c (internal_function): Remove definition.
31277 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
31278
9da93bd7
FW
312792017-08-31 Florian Weimer <fweimer@redhat.com>
31280
31281 * inet/deadline.c (__deadline_current_time)
31282 (__deadline_from_timeval, __deadline_to_ms): Remove
31283 internal_function.
31284 * inet/getnameinfo.c (nrl_domainname): Likewise.
31285 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
31286 * inet/inet6_option.c (add_pad): Likewise.
31287 * inet/net-internal.h (__deadline_current_time)
31288 (__deadline_from_timeval, __deadline_to_ms): Likewise.
31289 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
31290 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
31291 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
31292
a60eca2e
JM
312932017-08-31 Joseph Myers <joseph@codesourcery.com>
31294
c0c49d60
JM
31295 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
31296 include <bits/nan.h>.
31297 * math/Makefile (headers): Remove bits/nan.h.
31298 * bits/nan.h: Remove.
31299 * sysdeps/ieee754/bits/nan.h: Likewise.
31300 * sysdeps/mips/bits/nan.h: Likewise.
31301
5ef1b213
JM
31302 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
31303 not include <bits/inf.h>.
31304 * math/Makefile (headers): Remove bits/inf.h.
31305 * bits/inf.h: Remove.
31306 * sysdeps/ieee754/bits/inf.h: Likewise.
31307
a60eca2e
JM
31308 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
31309 bits/huge_vall.h or bits/huge_val_flt128.h.
31310 (HUGE_VAL): Define directly here.
31311 [__USE_ISOC99] (HUGE_VALF): Likewise.
31312 [__USE_ISOC99] (HUGE_VALL): Likewise.
31313 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31314 (HUGE_VAL_F128): Likewise.
31315 * math/Makefile (headers): Remove bits/huge_val.h,
31316 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
31317 * bits/huge_val.h: Remove.
31318 * bits/huge_val_flt128.h: Likewise.
31319 * bits/huge_valf.h: Likewise.
31320 * bits/huge_vall.h: Likewise.
31321 * sysdeps/ia64/bits/huge_vall.h: Likewise.
31322 * sysdeps/ieee754/bits/huge_val.h: Likewise.
31323 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
31324 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
31325 * sysdeps/sh/bits/huge_val.h: Likewise.
31326 * sysdeps/sparc/bits/huge_vall.h: Likewise.
31327 * sysdeps/x86/bits/huge_vall.h: Likewise.
31328
17e00cc6
FW
313292017-08-31 Florian Weimer <fweimer@redhat.com>
31330
31331 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
31332 internal_function.
31333 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
31334 Likewise.
31335 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
31336 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
31337 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
31338 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
31339 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31340 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
31341 * elf/dl-libc.c (dlerror_run): Likewise.
31342 * elf/dl-load.c (add_name_to_object, decompose_rpath)
31343 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
31344 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
31345 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
31346 Likewise.
31347 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
31348 (_dl_higher_prime_number, _dl_strtoul): Likewise.
31349 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
31350 * elf/dl-profile.c (_dl_start_profile): Likewise.
31351 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
31352 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
31353 Likewise.
31354 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
31355 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
31356 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
31357 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
31358 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
31359 (_dl_allocate_tls_storage): Likewise.
31360 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
31361 (_dl_check_all_versions): Likewise.
31362 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
31363 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
31364 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
31365 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31366 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
31367 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
31368 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
31369 internal_function from __dl_start.
31370 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
31371 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
31372 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
31373 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
31374 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
31375 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
31376 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
31377 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
31378 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
31379 (_dl_next_ld_env_entry, _dl_important_hwcaps)
31380 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
31381 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
31382 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
31383 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
31384 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
31385 Likewise.
31386 (struct rtld_global_ro): Remove internal_function from the
31387 _dl_lookup_symbol_x member.
31388 (_dl_symbol_value): Remove. No longer defined anywhere.
31389 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
31390 internal_function.
31391 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31392 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
31393 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
31394 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
31395 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
31396 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
31397 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
31398 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
31399 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
31400 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
31401 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31402 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
31403
8d2f9410
FW
314042017-08-31 Florian Weimer <fweimer@redhat.com>
31405
31406 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
31407 Remove internal_function.
31408 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
31409 Likewise.
31410 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
31411 Likewise.
31412
86e4919f
FW
314132017-08-31 Florian Weimer <fweimer@redhat.com>
31414
31415 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
31416 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
31417 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
31418
59bd52b0
FW
314192017-08-31 Florian Weimer <fweimer@redhat.com>
31420
31421 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
31422 (__gai_enqueue_request): Remove internal_function.
31423 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
31424 (__gai_remove_request, __gai_notify, __gai_notify_only)
31425 (__gai_sigqueue): Likewise.
31426 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
31427 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
31428 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
31429 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31430 Likewise.
31431
fc3d9497
FW
314322017-08-31 Florian Weimer <fweimer@redhat.com>
31433
31434 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
31435 * include/dirent.h (__opendirat, __getdents, __getdents64)
31436 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
31437 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
31438 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31439 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
31440 Likewise.
31441 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
31442
18c54fac
FW
314432017-08-31 Florian Weimer <fweimer@redhat.com>
31444
31445 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
31446 internal_function.
31447 (GETCWD_RETURN_TYPE): Likewise.
31448
7e01f080
FW
314492017-08-31 Florian Weimer <fweimer@redhat.com>
31450
31451 * include/time.h (__tz_compute, __strptime_internal): Remove
31452 internal_function.
31453 * time/strptime_l.c (__strptime_internal): Likewise.
31454 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
31455
d7ccc6c9
FW
314562017-08-31 Florian Weimer <fweimer@redhat.com>
31457
31458 * iconv/gconv.c (__gconv): Remove internal_function.
31459 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
31460 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
31461 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
31462 (__gconv_release_cache): Likewise.
31463 * iconv/gconv_close.c (__gconv_close): Likewise.
31464 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
31465 (read_conf_file, __gconv_get_path): Likewise.
31466 * iconv/gconv_db.c (derivation_lookup, add_derivation)
31467 (__gconv_release_step, gen_steps, increment_counter)
31468 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
31469 (__gconv_close_transform, free_modules_db): Likewise.
31470 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
31471 Likewise.
31472 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
31473 (__gconv_find_transform, __gconv_lookup_cache)
31474 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
31475 (__gconv_close_transform, __gconv_release_cache)
31476 (__gconv_loaded_object, __gconv_release_shlib)
31477 (__gconv_compare_alias): Likewise.
31478 * iconv/gconv_open.c (__gconv_open): Likewise.
31479 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
31480 * iconv/iconvconfig.c (add_module): Likewise.
31481 * intl/dcigettext.c (plural_lookup, guess_category_value)
31482 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
31483 * intl/eval-plural.h (plural_eval): Likewise.
31484 * intl/finddomain.c (_nl_find_domain): Likewise.
31485 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
31486 (_nl_load_domain, _nl_find_msg): Likewise.
31487 (internal_function): Remove definition.
31488 * intl/loadinfo.h (internal_function): Likewise.
31489 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
31490 internal_function.
31491 * intl/localealias.c (internal_function): Remove definition.
31492 (read_alias_file): Remove internal_function.
31493 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
31494 * intl/plural-exp.h (internal_function): Remove definition.
31495 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
31496 internal_function.
31497 * intl/plural.c: Regenerate.
31498 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
31499 * locale/coll-lookup.c (__collidx_table_lookup)
31500 (__collseq_table_lookup): Likewise.
31501 * locale/coll-lookup.h (__collidx_table_lookup)
31502 (__collseq_table_lookup): Likewise.
31503 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
31504 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31505 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
31506 (_nl_unload_locale): Likewise.
31507 * locale/localeinfo.h (struct __locale_data): Remove
31508 internal_function from cleanup member.
31509 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
31510 (_nl_remove_locale, _nl_load_locale_from_archive)
31511 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
31512 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
31513 (_nl_cleanup_time): Remove internal_function.
31514 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
31515 (_nl_parse_alt_digit): Likewise.
31516 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
31517 (_nl_select_era_entry): Likewise.
31518 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
31519 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
31520 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
7e01f080
FW
31521 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
31522 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
d7ccc6c9 31523
dab0eece
FW
315242017-08-31 Florian Weimer <fweimer@redhat.com>
31525
31526 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
31527 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
31528 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
31529 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
31530 Likewise.
31531 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
31532 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
31533 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
31534 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
31535 Likewise.
31536 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
31537
ab5bf7cf
FW
315382017-08-31 Florian Weimer <fweimer@redhat.com>
31539
31540 * misc/getttyent.c (skip, value): Remove internal_function.
31541 * misc/syslog.c (openlog_internal): Likewise.
31542 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
31543
75b3047e
FW
315442017-08-31 Florian Weimer <fweimer@redhat.com>
31545
31546 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
31547 (__nss_rewrite_field): Remove internal_function.
31548 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31549 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
31550 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
31551 * nss/nsswitch.c (nss_parse_file, nss_getline)
31552 (nss_parse_service_list, nss_new_service): Likewise.
31553 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
31554 * nss/valid_field.c (__nss_valid_field): Likewise.
31555 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
31556
0c71122c
FW
315572017-08-31 Florian Weimer <fweimer@redhat.com>
31558
31559 * malloc/arena.c (__malloc_fork_lock_parent)
31560 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
31561 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
31562 internal_function from defintions.
31563 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
31564 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
31565 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
31566 internal_function from declarations.
31567 * malloc/malloc.c (internal_function): Do not define.
31568 (mem2mem_check): Remove internal_function from declaration.
31569 (munmap_chunk, mremap_chunk): Remove internal_function.
31570 * malloc/mtrace.c (tr_where): Likewise.
31571
ca4ec803
FW
315722017-08-31 Florian Weimer <fweimer@redhat.com>
31573
31574 * include/rpc/pmap_clnt.h (__get_socket): Remove
31575 internal_function.
31576 * sunrpc/auth_des.c (synchronize): Likewise.
31577 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
31578 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
31579 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
31580 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
31581 (key_call): Likewise.
31582 * sunrpc/pm_getport.c (__get_socket): Likewise.
31583 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
31584 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
31585 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
31586 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
31587 (invalidate): Likewise.
31588 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
31589 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
31590 (set_input_fragment, get_input_bytes): Likewise.
31591
24cffce7
FW
315922017-08-31 Florian Weimer <fweimer@redhat.com>
31593
31594 * malloc/malloc.c (_int_free): Remove locked variable and related
31595 asserts.
31596
ecd0747d
L
315972017-08-31 H.J. Lu <hongjiu.lu@intel.com>
31598
31599 [BZ #22051]
31600 * Makerules (build-module-helper-objlist): Filter out
31601 $(elf-objpfx)sofini.os.
31602 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
31603 needed.
31604
5f0704b6
FW
316052017-08-31 Florian Weimer <fweimer@redhat.com>
31606
31607 * libio/fcloseall.c: Assume weak_alias is defined.
31608 * libio/feof.c: Likewise.
31609 * libio/fileno.c: Likewise.
31610 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
31611 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
31612 definitions.
31613 (_IO_file_open): Call __open directly.
31614 (_IO_new_file_sync): Assume ESPIPE is defined.
31615 (_IO_file_seekoff_maybe_mmap): Call __read directly.
31616 (_IO_new_file_write): Call __write directly.
31617 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
31618 * libio/ftello64.c (__ftello64): Assume EIO is defined.
31619 * libio/genops.c: Assume _LIBC is defined.
31620 (save_for_backup): Remove internal_function.
31621 * libio/getc.c: Assume weak_alias is defined.
31622 * libio/getwc.c: Likewise.
31623 * libio/iofclose.c: Assume _LIBC is defined.
31624 * libio/iofdopen.c: Likewise.
31625 (_IO_fcntl): Remove macro definition.
31626 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
31627 Call __fcntl directly.
31628 * libio/iofflush.c: Assume weak_alias is defined.
31629 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
31630 defined.
31631 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
31632 * libio/iofgets.c: Likewise.
31633 * libio/iofopen.c: Assume _LIBC is defined.
31634 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
31635 * libio/iofputs.c: Assume weak_alias is defined.
31636 * libio/iofread.c: Likewise.
31637 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
31638 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
31639 * libio/ioftell.c: Assume weak_alias is defined.
31640 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
31641 * libio/iofwide.c: Assume _LIBC is defined.
31642 (_IO_fwide): Drop SHARED conditional because it is implied by
31643 SHLIB_COMPAT.
31644 * libio/iofwrite.c: Assume weak_alias is defined.
31645 * libio/iogetdelim.c: Likewise.
31646 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
31647 * libio/iogetwline.c (wmemcpy): Remove macro definition.
31648 (_IO_getwline): Call __wmemcpy directly.
31649 * libio/iopopen.c: Assume _LIBC is defined.
31650 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
31651 (_IO_close): Remove macro definitions.
31652 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
31653 _exit directly.
31654 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
31655 directly.
31656 * libio/ioputs.c: Assume weak_alias is defined.
31657 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
31658 * libio/iosetbuffer.c: Assume weak_alias is defined.
31659 * libio/iosetvbuf.c: Likewise.
31660 * libio/ioungetc.c: Likewise.
31661 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
31662 libc_hidden_def, libc_hidden_weak, NULL are defined.
31663 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
31664 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
31665 defined.
31666 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
31667 definitions.
31668 (_IO_old_file_init_internal): Drop SHARED conditional because it
31669 is implied by SHLIB_COMPAT.
31670 (_IO_old_file_fopen): Call __open directly.
31671 (_IO_old_file_sync): Assume ESPIPE is defined.
31672 (_IO_old_file_write): Call __write directly.
31673 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
31674 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
31675 Call __fcntl directly.
31676 * libio/oldiofgetpos.c: Assume weak_alias is defined.
31677 (_IO_old_fgetpos): Assume EIO is defined.
31678 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
31679 (_IO_old_fgetpos64): Assume EIO is defined.
31680 * libio/oldiofsetpos.c: Assume weak_alias is defined.
31681 (_IO_old_fsetpos): Assume EIO is defined.
31682 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
31683 (_IO_old_fsetpos64): Assume EIO is defined.
31684 * libio/oldiopopen.c: Assume _LIBC is defined.
31685 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
31686 (_IO_close): Remove macro definitions.
31687 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
31688 directly.
31689 (_IO_old_proc_close): Call __close, __waitpid directly.
31690 * libio/put.c: Assume weak_alias is defined.
31691 * libio/stdfiles.c: Assume _LIBC is defined.
31692 * libio/stdio.c: Likewise.
31693 * libio/wfileops.c: Likewise.
31694 (_IO_wfile_sync): Assume ESPIPE is defined.
31695 * libio/wgenops.c: Assume _LIBC is defined.
31696 (save_for_wbackup): Remove internal_function.
31697
5129873a
FW
316982017-08-31 Florian Weimer <fweimer@redhat.com>
31699
31700 * malloc/malloc.c (top_check): Change return type to void. Remove
31701 internal_function.
31702 * malloc/hooks.c (top_check): Likewise.
31703 (malloc_check, realloc_check, memalign_check): Adjust.
31704
4fa9b3bf
JM
317052017-08-30 Joseph Myers <joseph@codesourcery.com>
31706
31707 [BZ #21457]
31708 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
31709 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
31710 sigcontext and namespace requirements.
31711 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
31712 * sysdeps/m68k/sys/ucontext.h: Likewise.
31713 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
31714 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
31715 <bits/sigcontext.h>.
31716 (__ctx): Define earlier.
31717 (mcontext_t): Define structure contents rather than using struct
31718 sigcontext.
31719 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
31720 __glibc_reserved1 instead of __reserved.
31721 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
31722 <bits/sigcontext.h>.
31723 (__ctx): Define earlier.
31724 (mcontext_t): Define structure contents rather than using struct
31725 sigcontext.
31726 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
31727 mcontext_t instead of struct sigcontext.
31728 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
31729 <bits/sigcontext.h>.
31730 (__ctx): Define earlier.
31731 (mcontext_t): Define structure contents rather than using struct
31732 sigcontext.
31733 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
31734 <bits/sigcontext.h>.
31735 (__ctx): Define earlier.
31736 (mcontext_t): Define structure contents rather than using struct
31737 sigcontext.
31738 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
31739 mcontext_t instead of struct sigcontext.
31740 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
31741 mcontext_t instead of struct sigcontext.
31742 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
31743 <bits/sigcontext.h>.
31744 (__ctx): New macro.
31745 (struct __ia64_fpreg_mcontext): New type.
31746 (mcontext_t): Define structure contents rather than using struct
31747 sigcontext.
31748 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
31749 (uc_sigmask): Define using __ctx.
31750 (uc_stack): Likewise.
31751 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
31752 <bits/sigcontext.h>.
31753 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31754 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
31755 <bits/sigcontext.h>.
31756 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
31757 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
31758 <bits/sigcontext.h>.
31759 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
31760 <bits/sigcontext.h>.
31761 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
31762 <bits/sigcontext.h>.
31763 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
31764 <bits/sigcontext.h>.
31765 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
31766 <bits/sigcontext.h>.
31767 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
31768 <bits/sigcontext.h>.
31769 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
31770 <bits/sigcontext.h>.
31771 (__ctx): Define earlier.
31772 (mcontext_t): Define structure contents rather than using struct
31773 sigcontext.
31774 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
31775 <bits/sigcontext.h>. Include <bits/types.h>.
31776 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
31777 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
31778 (test-xfail-XPG42/ucontext.h/conform): Likewise.
31779 (test-xfail-UNIX98/signal.h/conform): Likewise.
31780 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
31781 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
31782 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
31783 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
31784 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
31785 (test-xfail-POSIX2008/signal.h/conform): Likewise.
31786 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
31787 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
31788 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
31789
5898f454
FW
317902017-08-30 Florian Weimer <fweimer@redhat.com>
31791
31792 * malloc/dynarray_emplace_enlarge.c
31793 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
31794 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
31795 * malloc/tst-dynarray.c (test_long_overflow): New function.
31796 (do_test): Call it.
31797
a9da0bb2
FW
317982017-08-30 Florian Weimer <fweimer@redhat.com>
31799
31800 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
31801 (set_arena_corrupt): Remove definitions.
31802 (mtrim): Do not check for corrupt arena.
31803 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
31804 Likewise.
31805
ac3ed168
FW
318062017-08-30 Florian Weimer <fweimer@redhat.com>
31807
31808 [BZ #21754]
31809 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
31810 check_action.
31811 (ptmalloc_init): Do not set or use check_action.
31812 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
31813 call to malloc_printerr. Remove return statement.
31814 (free_check): Likewise. Remove arena unlock.
31815 (top_check): Update comment. Adjust call to malloc_printerr.
31816 Remove heap repair code.
31817 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
31818 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
31819 (sysmalloc): Adjust call to malloc_printerr.
31820 (munmap_chunk, __libc_realloc): Likewise. Remove return
31821 statement.
31822 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
31823 Remove errout label and corresponding gotos.
31824 (_int_free): Likewise. Remove arena unlock.
31825 (do_set_mallopt_check): Do not set check_action.
31826 (malloc_printerr): Adjust parameter list. Do not mark arena as
31827 corrupt.
31828 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
31829 comment.
31830 * manual/probes.texi (Memory Allocation Probes): Remove
31831 memory_mallopt_check_action.
31832
44bcba80
SE
318332017-08-30 Steve Ellcey <sellcey@cavium.com>
31834
31835 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
31836 Use pointer to uint64_t instead of long int for sp.
31837
ec2c1fce
FW
318382017-08-30 Florian Weimer <fweimer@redhat.com>
31839
31840 [BZ #21754]
31841 * malloc/malloc.c (malloc_printerr): Always terminate the process,
31842 without printing a backtrace. Do not leak any information in the
31843 error message.
31844 * manual/memory.texi (Heap Consistency Checking): Update.
31845 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
31846
9ce673b6
FW
318472017-08-30 Florian Weimer <fweimer@redhat.com>
31848
31849 Do not scale NPTL tests with available number of CPUs.
31850 * nptl/tst-cond16.c (count): Set to constant value of 8.
31851 * nptl/tst-cond18.c (count): Likewise.
31852
2f1aef19
JM
318532017-08-29 Joseph Myers <joseph@codesourcery.com>
31854
31855 [BZ #22035]
31856 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
31857 Define to take a second argument that is a macro that
31858 concatentates a suffix, not the suffix itself.
31859 (__CONCAT_d): New macro.
31860 (__CONCAT_f): Likewise.
31861 (__CONCAT_l): Likewise.
31862
8325b477
PP
318632017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
31864
31865 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
31866 by child.
31867
319cbbf6
AZ
318682017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31869 Aurelien Jarno <aurelien@aurel32.net>
31870 Maciej W. Rozycki <macro@imgtec.com>
31871
31872 [BZ #21956]
31873 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
31874 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
31875 `mips16-syscall6' and `mips16-syscall7'.
31876 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
31877 (CFLAGS-mips16-syscall7.c): Remove.
31878 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
31879 Remove `__mips16_syscall5', `__mips16_syscall6' and
31880 `__mips16_syscall7'.
31881 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
31882 (__mips16_syscall0): Rename `__mips16_syscall_return' to
31883 `__mips_syscall_return'.
31884 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
31885 (__mips16_syscall1): Likewise.
31886 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
31887 (__mips16_syscall2): Likewise.
31888 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
31889 (__mips16_syscall3): Likewise.
31890 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
31891 (__mips16_syscall4): Likewise.
31892 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
31893 Remove.
31894 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
31895 Remove.
31896 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
31897 Remove.
31898 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
31899 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
31900 `__mips16_syscall5'. Remove prototype.
31901 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
31902 `__mips16_syscall6'. Remove prototype.
31903 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
31904 `__mips16_syscall7'. Remove prototype.
31905 (__nomips16, __mips16_syscall_return): Move to...
31906 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
31907 (__nomips16, __mips_syscall_return): ... here.
31908 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
31909 `__mips16_syscall_return' to `__mips_syscall_return'.
31910 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
31911 `internal_syscall##nr'.
31912 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
31913 `internal_syscall##nr'.
31914 (FORCE_FRAME_POINTER): Remove.
31915 (__mips_syscall5): New prototype.
31916 (internal_syscall5): Rewrite to call `__mips_syscall5'.
31917 (__mips_syscall6): New prototype.
31918 (internal_syscall6): Rewrite to call `__mips_syscall6'.
31919 (__mips_syscall7): New prototype.
31920 (internal_syscall7): Rewrite to call `__mips_syscall7'.
31921 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
31922 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
31923 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
31924 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
31925 (sysdep_routines): Add libc-do-syscall.
31926 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
31927 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
31928
01b87c65
AZ
319292017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31930
31931 [BZ #21672]
31932 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
31933 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
31934 (advise_stack_range): New function.
31935 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
31936 stack non required to advise_stack_range at allocatestack.c
31937
16f138a4
SN
319382017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
31939
31940 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
31941
251bccfa
FW
319422017-08-29 Florian Weimer <fweimer@redhat.com>
31943
31944 [BZ #22026]
31945 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
31946 __end_fct. Mangle __end_fct after setting it to NULL.
31947 * iconv/Makefile (tests): Add tst-gconv-init-failure.
31948 (modules-names, modules-names-tests): Add
31949 tst-gconv-init-failure-mod.
31950 (gconv-modules): New target.
31951 (tst-gconv-init-failure-mod.so): Link against libsupport.
31952 (tst-gconv-init-failure): Depend on gconv-modules,
31953 tst-gconv-init-failure-mod.so.
31954 * iconv/tst-gconv-init-failure-mod.c: New file.
31955 * iconv/tst-gconv-init-failure.c: Likewise.
31956 * iconv/test-gconv-modules: Likewise.
31957
e7c18b9d
FW
319582017-08-29 Florian Weimer <fweimer@redhat.com>
31959
31960 [BZ #22025]
31961 * iconv/gconv_db.c (free_derivation): Remove redundant
31962 parentheses.
31963 (gen_steps): Unconditionally mangle __btowc_fct after
31964 initialization.
31965 (increment_counter): Likewise. Do not call init_fct for internal
31966 modules.
31967
7daada03
JM
319682017-08-29 Joseph Myers <joseph@codesourcery.com>
31969
31970 [BZ #22028]
31971 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
31972 (_MSUF_): Remove macro.
31973 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
31974 Likewise.
31975 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
31976 (__REDIRFROM_X): New macro.
31977 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
31978 Likewise.
31979 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
31980 (__REDIRTO_X): Likewise.
31981 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
31982 arguments.
31983 (__MATH_REDIRCALL_2): Likewise.
31984 (__MATH_REDIRCALL_INTERNAL): Likewise.
31985 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
31986 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
31987 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
31988 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
31989 * math/test-finite-macros.c: New file.
31990 * math/Makefile (tests): Add test-finite-macros.
31991 (CFLAGS-test-finite-macros.c): New variable.
31992
1cf1232c
PF
319932017-08-29 Patsy Franklin <pfrankli@redhat.com>
31994 Jeff Law <law@redhat.com>
31995
31996 [BZ #22025]
31997 Mangle NULL pointers in iconv/gconv.
31998 * iconv/gconv_cache.c (find_module): Demangle init_fct before
31999 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
32000 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
32001 is non-NULL before demangling the end_fct. Check for NULL
32002 end_fct after demangling.
32003 (__gconv_release_step): Demangle the end_fct before checking
32004 it for NULL. Remove assert on __shlibc_handle != NULL.
32005 (gen_steps): Don't check btowc_fct for NULL before mangling.
32006 Demangle init_fct before checking for NULL.
32007 (increment_counter): Likewise.
32008 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
32009 end_fct for NULL before mangling.
32010 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
32011 for NULL.
32012
c207f7ce 320132017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
f8de9568
AK
32014
32015 [BZ #21971]
32016 * locale/iso-639.def: add Morisyen.
32017
42496114
GG
320182017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32019
32020 [BZ #21930]
32021 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
32022 (iszero): New C++ implementation that does not use
32023 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
32024 signaling nans are enabled, since __builtin_types_compatible_p
32025 is a C-only feature.
32026 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
32027 defined, include ieee754_float128.h for access to the union and
32028 member ieee854_float128.ieee.
32029 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
32030 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
32031 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
32032 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
32033 options of test-math-zero on powerpc64le.
32034
5e2bc4ff
L
320352017-08-28 H.J. Lu <hongjiu.lu@intel.com>
32036
32037 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
32038 Change double to float.
32039
a48c0fb4
JM
320402017-08-28 Joseph Myers <joseph@codesourcery.com>
32041
32042 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
32043 unconditional.
32044 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
32045 conditional code; define contents only for [LIBM_SVID_COMPAT].
32046
ee17d4e9
FW
320472017-08-28 Florian Weimer <fweimer@redhat.com>
32048
32049 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
32050 (abi-lp64_be-options): Remove.
32051 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
32052 (abi-hard-options): Likewise.
32053 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
32054 (abi-o32_hard-options, abi-o32_soft_2008-options)
32055 (abi-o32_hard_2008-options, abi-n32_soft-options)
32056 (abi-n32_hard-options, abi-n32_soft_2008-options)
32057 (abi-n32_hard_2008-options, abi-n64_soft-options)
32058 (abi-n64_hard-options, abi-n64_soft_2008-options)
32059 (abi-n64_hard_2008-options): Likewise.
32060 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
32061 (abi-64-v1-options, abi-64-v2-options): Likewise.
32062 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
32063 (abi-64-options): Likewise.
32064 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
32065 (abi-64-options): Likewise.
32066 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
32067 (abi-64-options): Likewise.
32068 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
32069 (abi-64-options, abi-x32-options): Likewise.
32070
2dba5ce7
FW
320712017-08-28 Florian Weimer <fweimer@redhat.com>
32072
32073 Store supported list of SYS_* system calls in the source tree.
32074 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
32075 (bits/syscall.h): Generate from list file.
32076 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
32077 [$(subdir) = misc] (tests): Add tst-syscall-list.
32078 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
32079 [$(subdir) = misc] (tst-syscall-list-macros.list)
32080 [$(subdir) = misc] (tst-syscall-list-nr.list)
32081 (tst-syscall-list-sys.list): Helper targets for new
32082 tst-syscall-list test.
32083 [$(subdir) = misc] (tst-syscall-list.out): Run test script
32084 tst-syscall-list.sh.
32085 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
32086 target. Do not include bits/syscall.d.
32087 [$(subdir) = misc] (generated): Do not update.
32088 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
32089 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
32090 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
32091 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
32092
5f3b183d
PP
320932017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
32094
32095 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
32096 (tst-cxa_atexit, tst-on_exit): Likewise.
32097 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
32098 tst-cxa_atexit, and tst-on_exit.
32099 * stdlib/tst-atexit-common.c: New file.
32100 * stdlib/tst-atexit.c: New file.
32101 * stdlib/tst-at_quick_exit.c: New file.
32102 * stdlib/tst-cxa_atexit.c: New file.
32103 * stdlib/tst-on_exit.c: New file.
32104
2ef8d469
ST
321052017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
32106
32107 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
97e02ad2
ST
32108 * mach/stack_chk_fail_local.c: New file.
32109 * hurd/stack_chk_fail_local.c: New file.
32110 * mach/Machrules ($(interface-library)-routines): Add
32111 stack_chk_fail_local.
99ee4d26
ST
32112 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
32113 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
32114 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
32115 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
32116 * hurd/Makefile (CFLAGS-hurdstartup.o,
32117 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
2ef8d469 32118
7ab70c98
L
321192017-08-25 H.J. Lu <hongjiu.lu@intel.com>
32120
32121 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
32122 (index_cpu_*, index_arch_*): Removed.
32123
39e7a5a6
SN
321242017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
32125
32126 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
32127 Use uint64_t instead of unsigned long.
32128
bba5c930
JM
321292017-08-25 Joseph Myers <joseph@codesourcery.com>
32130
a6ccdb08
JM
32131 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
32132 [__HAVE_DISTINCT_FLOAT128].
32133
23761119
JM
32134 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
32135 of <bits/math-finite.h>.
32136 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
32137 inclusion of <bits/math-finite.h>.
32138 * math/bits/math-finite.h (__REDIRTO_X): Do not define
32139 conditionally on [__MATH_DECLARING_LDOUBLE && defined
32140 __NO_LONG_DOUBLE_MATH].
32141 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
32142 (__MATH_REDIRCALL_2): Likewise.
32143 (__MATH_REDIRCALL_INTERNAL): Likewise.
32144 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
32145 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
32146 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
32147
bba5c930
JM
32148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
32149 Remove file.
32150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
32151 Likewise.
32152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
32153 Likewise.
32154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
32155 Likewise.
32156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
32157 Likewise.
32158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
32159 Likewise.
32160 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
32161 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
32162 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
32163 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
32164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
32165 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
32166 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
32167 w_sqrtf_compat-ppc32.
32168
3d7b66f6
GG
321692017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32170
32171 * math/math.h [defined __cplusplus] (issignaling): In the long
32172 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
32173 is not defined. Call __issignaling, otherwise.
32174
ebd6f007
AZ
321752017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32176
32177 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
32178 syscall definitions and replace __builtin_expect with __glibc_likely.
32179 * sysdeps/unix/syscall-template.S: Update comment about cancellable
32180 syscall.
6b5c8607 32181 (SYSCALL_CANCELLABLE): Removedefinition
ebd6f007
AZ
32182 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
32183 definition.
32184 (PSEUDO_END): Likewise.
32185 [IS_IN (libpthread)] (CENABLE): Likewise.
32186 [IS_IN (libpthread)] (CDISABLE): Likewise.
32187 [IS_IN (libc)] (CENABLE): Likewise.
32188 [IS_IN (libc)] (CENABLE): Likewise.
32189 [IS_IN (librt)] (CDISABLE): Likewise.
32190 [IS_IN (librt)] (CDISABLE): Likewise.
32191 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32192 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
32193 definition.
32194 (PSEUDO_END): Likewise.
32195 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
32196 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
32197 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
32198 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
32199 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
32200 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
32201 (CENABLE): Likewise.
32202 (CDISABLE): Likewise.
32203 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32204 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
32205 defintion.
32206 (PSEUDO_END): Likewise.
32207 [IS_IN (libpthread)] (CENABLE): Likewise.
32208 [IS_IN (libpthread)] (CDISABLE): Likewise.
32209 [IS_IN (libc)] (CENABLE): Likewise.
32210 [IS_IN (libc)] (CENABLE): Likewise.
32211 [IS_IN (librt)] (CDISABLE): Likewise.
32212 [IS_IN (librt)] (CDISABLE): Likewise.
32213 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32214 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
32215 definition.
32216 (PSEUDO_END): Likewise.
32217 [IS_IN (libpthread)] (CENABLE): Likewise.
32218 [IS_IN (libpthread)] (CDISABLE): Likewise.
32219 [IS_IN (libc)] (CENABLE): Likewise.
32220 [IS_IN (libc)] (CENABLE): Likewise.
32221 [IS_IN (librt)] (CDISABLE): Likewise.
32222 [IS_IN (librt)] (CDISABLE): Likewise.
32223 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32224 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
32225 definition.
32226 (PSEUDO_END): Likewise.
32227 [IS_IN (libpthread)] (CENABLE): Likewise.
32228 [IS_IN (libpthread)] (CDISABLE): Likewise.
32229 [IS_IN (libc)] (CENABLE): Likewise.
32230 [IS_IN (libc)] (CENABLE): Likewise.
32231 [IS_IN (librt)] (CDISABLE): Likewise.
32232 [IS_IN (librt)] (CDISABLE): Likewise.
32233 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32234 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
32235 definition.
32236 (PSEUDO_END): Likewise.
32237 [IS_IN (libpthread)] (CENABLE): Likewise.
32238 [IS_IN (libpthread)] (CDISABLE): Likewise.
32239 [IS_IN (libc)] (CENABLE): Likewise.
32240 [IS_IN (libc)] (CENABLE): Likewise.
32241 [IS_IN (librt)] (CDISABLE): Likewise.
32242 [IS_IN (librt)] (CDISABLE): Likewise.
32243 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32244 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
32245 definition.
32246 (PSEUDO_END): Likewise.
32247 [IS_IN (libpthread)] (CENABLE): Likewise.
32248 [IS_IN (libpthread)] (CDISABLE): Likewise.
32249 [IS_IN (libc)] (CENABLE): Likewise.
32250 [IS_IN (libc)] (CENABLE): Likewise.
32251 [IS_IN (librt)] (CDISABLE): Likewise.
32252 [IS_IN (librt)] (CDISABLE): Likewise.
32253 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32254 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
32255 definition.
32256 (PSEUDO_END): Likewise.
32257 [IS_IN (libpthread)] (CENABLE): Likewise.
32258 [IS_IN (libpthread)] (CDISABLE): Likewise.
32259 [IS_IN (libc)] (CENABLE): Likewise.
32260 [IS_IN (libc)] (CENABLE): Likewise.
32261 [IS_IN (librt)] (CDISABLE): Likewise.
32262 [IS_IN (librt)] (CDISABLE): Likewise.
32263 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32264 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
32265 Remove definition.
32266 (PSEUDO_END): Likewise.
32267 [IS_IN (libpthread)] (CENABLE): Likewise.
32268 [IS_IN (libpthread)] (CDISABLE): Likewise.
32269 [IS_IN (libc)] (CENABLE): Likewise.
32270 [IS_IN (libc)] (CENABLE): Likewise.
32271 [IS_IN (librt)] (CDISABLE): Likewise.
32272 [IS_IN (librt)] (CDISABLE): Likewise.
32273 (SINGLE_THREAD_P): Likewise.
32274 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
32275 definition.
32276 (PSEUDO_END): Likewise.
32277 [IS_IN (libpthread)] (CENABLE): Likewise.
32278 [IS_IN (libpthread)] (CDISABLE): Likewise.
32279 [IS_IN (libc)] (CENABLE): Likewise.
32280 [IS_IN (libc)] (CENABLE): Likewise.
32281 [IS_IN (librt)] (CDISABLE): Likewise.
32282 [IS_IN (librt)] (CDISABLE): Likewise.
32283 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32284 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
32285 definition.
32286 (PSEUDO_END): Likewise.
32287 [IS_IN (libpthread)] (CENABLE): Likewise.
32288 [IS_IN (libpthread)] (CDISABLE): Likewise.
32289 [IS_IN (libc)] (CENABLE): Likewise.
32290 [IS_IN (libc)] (CENABLE): Likewise.
32291 [IS_IN (librt)] (CDISABLE): Likewise.
32292 [IS_IN (librt)] (CDISABLE): Likewise.
32293 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32294 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
32295 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
32296 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
32297 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
32298 definition.
32299 (PSEUDO_END): Likewise.
32300 [IS_IN (libpthread)] (CENABLE): Likewise.
32301 [IS_IN (libpthread)] (CDISABLE): Likewise.
32302 [IS_IN (libc)] (CENABLE): Likewise.
32303 [IS_IN (libc)] (CENABLE): Likewise.
32304 [IS_IN (librt)] (CDISABLE): Likewise.
32305 [IS_IN (librt)] (CDISABLE): Likewise.
32306 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32307 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
32308 definition.
32309 (PSEUDO_END): Likewise.
32310 [IS_IN (libpthread)] (CENABLE): Likewise.
32311 [IS_IN (libpthread)] (CDISABLE): Likewise.
32312 [IS_IN (libc)] (CENABLE): Likewise.
32313 [IS_IN (libc)] (CENABLE): Likewise.
32314 [IS_IN (librt)] (CDISABLE): Likewise.
32315 [IS_IN (librt)] (CDISABLE): Likewise.
32316 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32317 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
32318 definition.
32319 (PSEUDO_END): Likewise.
32320 [IS_IN (libpthread)] (CENABLE): Likewise.
32321 [IS_IN (libpthread)] (CDISABLE): Likewise.
32322 [IS_IN (libc)] (CENABLE): Likewise.
32323 [IS_IN (libc)] (CENABLE): Likewise.
32324 [IS_IN (librt)] (CDISABLE): Likewise.
32325 [IS_IN (librt)] (CDISABLE): Likewise.
32326 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32327 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
32328 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32329 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
32330 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
32331 definition.
32332 (PSEUDO_END): Likewise.
32333 [IS_IN (libpthread)] (CENABLE): Likewise.
32334 [IS_IN (libpthread)] (CDISABLE): Likewise.
32335 [IS_IN (libc)] (CENABLE): Likewise.
32336 [IS_IN (libc)] (CENABLE): Likewise.
32337 [IS_IN (librt)] (CDISABLE): Likewise.
32338 [IS_IN (librt)] (CDISABLE): Likewise.
32339 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32340 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
32341 definition.
32342 (PSEUDO_END): Likewise.
32343 [IS_IN (libpthread)] (CENABLE): Likewise.
32344 [IS_IN (libpthread)] (CDISABLE): Likewise.
32345 [IS_IN (libc)] (CENABLE): Likewise.
32346 [IS_IN (libc)] (CENABLE): Likewise.
32347 [IS_IN (librt)] (CDISABLE): Likewise.
32348 [IS_IN (librt)] (CDISABLE): Likewise.
32349 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32350
8aa48656
SN
323512017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
32352
32353 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
32354
fcaaca41
L
323552017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32356
32357 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32358
376b40a2
L
323592017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32360
32361 [BZ #21982]
32362 * string/stratcliff.c (do_test): Declare size, nchars, inner,
32363 middle and outer with size_t instead of int. Repleace %d and
32364 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
32365 "MAX (outer, nchars - 64)" to support unsigned outer and
32366 nchars. Also exit loop when outer == 0.
32367
2b0b9a1c
AZ
323682017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32369
32370 * include/fcntl.h (__fcntl_nocancel): Remove definition.
32371 * include/signal.h (__sigsuspend_nocancel): Likewise.
32372 * include/time.h (__nanosleep_nocancel): Likewise.
32373 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
32374 * login/utmp_file.c: Include non cancellable syscall header.
32375 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
32376 prototype.
32377
b9eaca8f
L
323782017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32379
32380 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
32381 .byte sequences with AVX512F instructions.
32382 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
32383 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
32384 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
32385 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
32386 Likewise.
32387 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
32388 Likewise.
32389
5a706f64
SE
323902017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
32391 Steve Ellcey <sellcey@cavium.com>
32392
32393 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
32394 Use PTR_REG macro in cmp instruction.
32395
b513da7e
GG
323962017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32397
32398 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
32399 Change the return type of the ifunc resolver to match the return
32400 type of the target function.
32401
78ca091c
AZ
324022017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32403
b70b6026
AZ
32404 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
32405 (preadv64): Likewise.
32406 (pwrite64(: Likewise.
32407 (pwritev64): Likewise.
32408
78ca091c
AZ
32409 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
32410 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
32411 (LOAD_ARGS_0): Likewise.
32412 (LOAD_ARGS_1): Likewise.
32413 (LOAD_ARGS_2): Likewise.
32414 (LOAD_ARGS_3): Likewise.
32415 (LOAD_ARGS_4): Likewise.
32416 (LOAD_ARGS_5): Likewise.
32417 (LOAD_ARGS_6): Likewise.
32418 (LOAD_REGS_0): Likewise.
32419 (LOAD_REGS_1): Likewise.
32420 (LOAD_REGS_2): Likewise.
32421 (LOAD_REGS_3): Likewise.
32422 (LOAD_REGS_4): Likewise.
32423 (LOAD_REGS_5): Likewise.
32424 (LOAD_REGS_6): Likewise.
32425 (ASM_ARGS_0): Likewise.
32426 (ASM_ARGS_1): Likewise.
32427 (ASM_ARGS_2): Likewise.
32428 (ASM_ARGS_3): Likewise.
32429 (ASM_ARGS_4): Likewise.
32430 (ASM_ARGS_5): Likewise.
32431 (ASM_ARGS_6): Likewise.
32432 (LOAD_ARGS_TYPES_1): Likewise.
32433 (LOAD_ARGS_TYPES_2): Likewise.
32434 (LOAD_ARGS_TYPES_3): Likewise.
32435 (LOAD_ARGS_TYPES_4): Likewise.
32436 (LOAD_ARGS_TYPES_5): Likewise.
32437 (LOAD_ARGS_TYPES_6): Likewise.
32438 (LOAD_REGS_TYPES_1): Likewise.
32439 (LOAD_REGS_TYPES_2): Likewise.
32440 (LOAD_REGS_TYPES_3): Likewise.
32441 (LOAD_REGS_TYPES_4): Likewise.
32442 (LOAD_REGS_TYPES_5): Likewise.
32443 (LOAD_REGS_TYPES_6): Likewise.
32444 (TYPEFY): New define.
32445 (ARGIFY): Likewise.
32446 (internal_syscall0): Likewise.
32447 (internal_syscall1): Likewise.
32448 (internal_syscall2): Likewise.
32449 (internal_syscall3): Likewise.
32450 (internal_syscall4): Likewise.
32451 (internal_syscall5): Likewise.
32452 (internal_syscall6): Likewise.
32453 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
32454 (INTERNAL_SYSCALL_NCS): Remove define.
32455 (internal_syscall1): Add define.
32456
453a493d
GG
324572017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32458
32459 * math/w_remainder_compat.c: Remove duplicate inclusion of
32460 math-svid-compat.h.
32461 * math/w_remainderf_compat.c: Likewise.
32462 * math/w_remainderl_compat.c: Likewise.
32463
f2f048a5
GG
324642017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32465
32466 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32467
d9bef9c0
JM
324682017-08-22 Joseph Myers <joseph@codesourcery.com>
32469
32470 [BZ #21684]
32471 * math/tgmath.h (__floating_type): Simplify definitions.
32472 (__real_integer_type): New macro.
32473 (__complex_integer_type): Likewise.
32474 (__expr_is_real): Likewise.
32475 (__tgmath_real_type_sub): Update comment to describe handling of
32476 complex types.
32477 (__tgmath_complex_type_sub): New macro.
32478 (__tgmath_complex_type): Likewise.
32479 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32480 (__TGMATH_CF128): Use __expr_is_real.
32481 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
32482 __expr_is_real.
32483 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32484 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
32485 * math/gen-tgmath-tests.py (Type.create_type): Create complex
32486 integer types.
32487
08d6eb46
AZ
324882017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32489
988f991b
AZ
32490 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
32491 macro.
32492 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
32493 alias.
32494 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
32495 Likewise.
32496
6f33fd04
AZ
32497 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
32498 nanosleep_not_cancel with __nanosleep_nocancel.
32499 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
32500 (__nanosleep_nocancel): New macro.
32501 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
32502 function.
32503 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
32504 macro.
32505 (__nanosleep_nocancel): New prototype.
32506
08d6eb46
AZ
32507 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
32508 pause_not_cancel with __pause_nocancel.
32509 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
32510 (__pause_nocancel): New macro.
32511 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
32512 macro.
32513 (__pause_nocancel): New prototype.
32514 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
32515
ee4e992e
MS
325162017-08-22 Martin Sebor <msebor@redhat.com>
32517
32518 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
32519 to return a pointer to the same type as the target function.
32520
20962acb
L
325212017-08-22 H.J. Lu <hongjiu.lu@intel.com>
32522
32523 [BZ #18822]
32524 [BZ #21986]
32525 * include/printf.h (__printf_fphex): Add attribute_hidden.
32526 (__guess_grouping): New prototype.
32527 * stdio-common/printf_fp.c (__guess_grouping): Removed.
32528 * stdio-common/reg-printf.c (__register_printf_specifier): Add
32529 libc_hidden_proto and libc_hidden_def.
32530 * stdlib/strfmon_l.c (__guess_grouping): Removed.
32531 (__vstrfmon_l): Remove the third argument passed to
32532 __guess_grouping.
32533
a16e8bc0
GG
325342017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32535
32536 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
32537 definition for issignaling that does not rely on __MATH_TG,
32538 since __MATH_TG uses __builtin_types_compatible_p, which is only
32539 available in C mode.
32540 (CFLAGS-test-math-issignaling.cc): New variable.
32541 * math/Makefile [CXX] (tests): Add test-math-issignaling.
32542 * math/test-math-issignaling.cc: New test for C++ implementation
32543 of type-generic issignaling.
32544 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
32545 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
32546 options of test-math-issignaling on powerpc64le.
32547
8d2ec553
L
325482017-08-22 H.J. Lu <hongjiu.lu@intel.com>
32549
32550 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32551 building libc.a.
32552 (hidden_proto): Likewise.
32553 (hidden_tls_proto): Likewise.
32554 (__hidden_proto): Likewise.
32555
a4d57b79
FW
325562017-08-22 Florian Weimer <fweimer@redhat.com>
32557
32558 math: Statically link tests of internal functionality.
32559 * math/Makefile (tests): Remove atest-exp, atest-sincos,
32560 atest-exp2.
32561 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
32562 (gmp-objs): Remove assignment.
32563 (atest-exp, atest-sincos, atest-exp2): Remove targets.
32564
75dfe623
JM
325652017-08-22 Joseph Myers <joseph@codesourcery.com>
32566
80f91666
JM
32567 [BZ #21987]
32568 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
32569 and copy to ...
32570 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
32571 ... here.
32572 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
32573 ... and here.
32574
75dfe623
JM
32575 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
32576 variable definitions above inclusion of ../Rules.
32577
ea99fcd0
JM
325782017-08-21 Joseph Myers <joseph@codesourcery.com>
32579
32580 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
32581 case calling __builtin_unreachable.
32582
19926de9
AZ
325832017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32584
a8410a5f
AZ
32585 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
32586 __waitpid_nocancel.
32587 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
32588 (__waitpid_nocancel): New macro.
32589 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
32590 macro.
32591 (__waitpid_nocancel): Replace macro with a function.
32592 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
32593 function.
32594
7369800c
AZ
32595 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
32596 __fcntl_nocancel.
32597 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
32598 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
32599
19926de9
AZ
32600 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
32601 __writev_nocancel_nostatus.
32602 (write_call_graph): Likewise.
32603 (write_bb_counts): Likewise.
32604 * resolv/herror.c (herror): Likewise.
32605 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
32606 macro.
32607 (__writev_nocancel_nostatus): New macro.
32608 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
32609 Remove macro.
32610 (__writev_nocancel_nostatus): New function.
32611
813378e9
JM
326122017-08-21 Joseph Myers <joseph@codesourcery.com>
32613
df1deda6
JM
32614 Revert:
32615 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32616
32617 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32618 building libc.a.
32619 (hidden_proto): Likewise.
32620 (hidden_tls_proto): Likewise.
32621 (__hidden_proto): Likewise.
32622
831bbd55
JM
32623 [BZ #21973]
32624 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
32625 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
32626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
32627 Likewise.
32628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
32629 Likewise.
32630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
32631 Likewise.
32632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
32633 Likewise.
32634 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
32635 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
32636 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
32637 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
32638 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
32639 GLIBC_2.0 sqrtl symbol.
32640
813378e9
JM
32641 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
32642 [__USE_MISC] (_LIB_VERSION): Likewise.
32643 [__USE_MISC] (struct exception): Likewise.
32644 [__USE_MISC] (matherr): Likewise.
32645 [__USE_MISC] (DOMAIN): Likewise.
32646 [__USE_MISC] (SING): Likewise.
32647 [__USE_MISC] (OVERFLOW): Likewise.
32648 [__USE_MISC] (UNDERFLOW): Likewise.
32649 [__USE_MISC] (TLOSS): Likewise.
32650 [__USE_MISC] (PLOSS): Likewise.
32651 [__USE_MISC] (HUGE): Likewise.
32652 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
32653 * math/math-svid-compat.h: New file.
32654 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
32655 and matherrl.
32656 * include/math.h [!_ISOMAC] (__matherr): Remove.
32657 * manual/arith.texi (FP Exceptions): Do not document matherr.
32658 * math/Makefile (tests): Change test-matherr to test-matherr-3.
32659 (tests-internal): New variable.
32660 (install-lib): Do not add libieee.a.
32661 (non-lib.a): Likewise.
32662 (extra-objs): Do not add libieee.a and ieee-math.o.
32663 (CPPFLAGS-s_lib_version.c): Remove variable.
32664 ($(objpfx)libieee.a): Remove rule.
32665 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
32666 * math/ieee-math.c: Remove.
32667 * math/libm-test-support.c (matherr): Remove.
32668 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
32669 and license notices. Include <math-svid-compat.h> and
32670 <shlib-compat.h>.
32671 (matherr): Undefine as macro. Use compat_symbol_reference.
32672 (_LIB_VERSION): Likewise.
32673 * math/test-matherr-2.c: New file.
32674 * math/test-matherr-3.c: Likewise.
32675 * sysdeps/generic/math_private.h (__kernel_standard): Remove
32676 declaration.
32677 (__kernel_standard_f): Likewise.
32678 (__kernel_standard_l): Likewise.
32679 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
32680 <math_private.h>. Include <math-svid-compat.h>.
32681 (_LIB_VERSION): Undefine as macro.
32682 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
32683 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
32684 [LIBM_SVID_COMPAT], use compat_symbol.
32685 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
32686 <math_private.h>. Include <math-svid-compat.h>.
32687 (matherr): Undefine as macro.
32688 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
32689 compat_symbol.
32690 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
32691 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
32692 compat_symbol_reference.
32693 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
32694 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
32695 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
32696 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
32697 (MATHERR_D): Remove declaration.
32698 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
32699 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
32700 [LIBM_BUILD] (pmatherrf): Likewise.
32701 [LIBM_BUILD] (pmatherr): Likewise.
32702 [LIBM_BUILD] (pmatherrl): Likewise.
32703 (DOMAIN): Likewise.
32704 (SING): Likewise.
32705 (OVERFLOW): Likewise.
32706 (UNDERFLOW): Likewise.
32707 (TLOSS): Likewise.
32708 (PLOSS): Likewise.
32709 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
32710 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
32711 compat_symbol.
32712 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
32713 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
32714 compat_symbol.
32715 * math/lgamma-compat.h: Include <math-svid-compat.h>.
32716 * math/w_acos_compat.c: Likewise.
32717 * math/w_acosf_compat.c: Likewise.
32718 * math/w_acosh_compat.c: Likewise.
32719 * math/w_acoshf_compat.c: Likewise.
32720 * math/w_acoshl_compat.c: Likewise.
32721 * math/w_acosl_compat.c: Likewise.
32722 * math/w_asin_compat.c: Likewise.
32723 * math/w_asinf_compat.c: Likewise.
32724 * math/w_asinl_compat.c: Likewise.
32725 * math/w_atan2_compat.c: Likewise.
32726 * math/w_atan2f_compat.c: Likewise.
32727 * math/w_atan2l_compat.c: Likewise.
32728 * math/w_atanh_compat.c: Likewise.
32729 * math/w_atanhf_compat.c: Likewise.
32730 * math/w_atanhl_compat.c: Likewise.
32731 * math/w_cosh_compat.c: Likewise.
32732 * math/w_coshf_compat.c: Likewise.
32733 * math/w_coshl_compat.c: Likewise.
32734 * math/w_exp10_compat.c: Likewise.
32735 * math/w_exp10f_compat.c: Likewise.
32736 * math/w_exp10l_compat.c: Likewise.
32737 * math/w_exp2_compat.c: Likewise.
32738 * math/w_exp2f_compat.c: Likewise.
32739 * math/w_exp2l_compat.c: Likewise.
32740 * math/w_fmod_compat.c: Likewise.
32741 * math/w_fmodf_compat.c: Likewise.
32742 * math/w_fmodl_compat.c: Likewise.
32743 * math/w_hypot_compat.c: Likewise.
32744 * math/w_hypotf_compat.c: Likewise.
32745 * math/w_hypotl_compat.c: Likewise.
32746 * math/w_j0_compat.c: Likewise.
32747 * math/w_j0f_compat.c: Likewise.
32748 * math/w_j0l_compat.c: Likewise.
32749 * math/w_j1_compat.c: Likewise.
32750 * math/w_j1f_compat.c: Likewise.
32751 * math/w_j1l_compat.c: Likewise.
32752 * math/w_jn_compat.c: Likewise.
32753 * math/w_jnf_compat.c: Likewise.
32754 * math/w_jnl_compat.c: Likewise.
32755 * math/w_lgamma_main.c: Likewise.
32756 * math/w_lgamma_r_compat.c: Likewise.
32757 * math/w_lgammaf_main.c: Likewise.
32758 * math/w_lgammaf_r_compat.c: Likewise.
32759 * math/w_lgammal_main.c: Likewise.
32760 * math/w_lgammal_r_compat.c: Likewise.
32761 * math/w_log10_compat.c: Likewise.
32762 * math/w_log10f_compat.c: Likewise.
32763 * math/w_log10l_compat.c: Likewise.
32764 * math/w_log2_compat.c: Likewise.
32765 * math/w_log2f_compat.c: Likewise.
32766 * math/w_log2l_compat.c: Likewise.
32767 * math/w_log_compat.c: Likewise.
32768 * math/w_logf_compat.c: Likewise.
32769 * math/w_logl_compat.c: Likewise.
32770 * math/w_pow_compat.c: Likewise.
32771 * math/w_powf_compat.c: Likewise.
32772 * math/w_powl_compat.c: Likewise.
32773 * math/w_remainder_compat.c: Likewise.
32774 * math/w_remainderf_compat.c: Likewise.
32775 * math/w_remainderl_compat.c: Likewise.
32776 * math/w_scalb_compat.c: Likewise.
32777 * math/w_scalbf_compat.c: Likewise.
32778 * math/w_scalbl_compat.c: Likewise.
32779 * math/w_sinh_compat.c: Likewise.
32780 * math/w_sinhf_compat.c: Likewise.
32781 * math/w_sinhl_compat.c: Likewise.
32782 * math/w_sqrt_compat.c: Likewise.
32783 * math/w_sqrtf_compat.c: Likewise.
32784 * math/w_sqrtl_compat.c: Likewise.
32785 * math/w_tgamma_compat.c: Likewise.
32786 * math/w_tgammaf_compat.c: Likewise.
32787 * math/w_tgammal_compat.c: Likewise.
32788 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
32789 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
32790 * sysdeps/ieee754/k_standard.c: Likewise.
32791 * sysdeps/ieee754/k_standardf.c: Likewise.
32792 * sysdeps/ieee754/k_standardl.c: Likewise.
32793 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
32794 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
32795 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
32796 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
32797 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
32798 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
32799 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
32800 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
32801 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
32802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
32803 Likewise.
32804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
32805 Likewise.
32806 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
32807 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
32808 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
32809 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
32810
4504783c
FW
328112017-08-21 Florian Weimer <fweimer@redhat.com>
32812
32813 [BZ #21864]
32814 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
32815 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
32816 Move before inclusion of ../Rules.
32817
b5889d25
FW
328182017-08-21 Florian Weimer <fweimer@redhat.com>
32819
32820 [BZ #21972]
32821 * assert/assert.h (assert): Use static_cast (bool) for C++.
32822 Use the ternary operator in the warning branch for GNU C.
32823 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
32824 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
32825 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
32826 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
32827 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
32828
41e673c1
L
328292017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32830
32831 [BZ #18822]
32832 * sysdeps/unix/sysv/linux/x86_64/init-first.c
32833 (__syscall_clock_gettime): Add attribute_hidden.
32834 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
32835 (__start_context): Likewise.
32836
568ff429
L
328372017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32838
32839 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32840 building libc.a.
32841 (hidden_proto): Likewise.
32842 (hidden_tls_proto): Likewise.
32843 (__hidden_proto): Likewise.
32844
7c41b4a1
L
328452017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32846
32847 * include/libc-symbols.h (attribute_hidden): Enable hidden
32848 visibility in libc.a compiled with PIE.
32849
483d7068
L
328502017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32851
32852 [BZ #18822]
32853 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
32854 Add attribute_hidden.
32855
328562017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32857
32858 [BZ #21864]
32859 * Makerules (all-nonlib): Add $(others-extras).
32860 * catgets/Makefile (others-extras): New.
32861 * elf/Makefile (others-extras): Likewise.
32862 * nss/Makefile (others-extras): Likewise.
32863
54e4b8f2
L
328642017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32865
32866 [BZ #18822]
32867 * csu/libc-start.c (__libc_multiple_libcs): Removed.
32868 * elf/dl-open.c: Include <libc-internal.h>.
32869 (__libc_multiple_libcs): Removed.
32870 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
32871 <hp-timing.h>.
32872 * include/libc-internal.h (__libc_multiple_libcs): New.
32873 * misc/sbrk.c: Include <libc-internal.h>.
32874 (__libc_multiple_libcs): Removed.
32875
1dbbb1ec
L
328762017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32877
32878 [BZ #18822]
32879 * grp/initgroups.c (__nss_group_database): Removed.
32880 (__nss_initgroups_database): Likewise.
32881 * nscd/gai.c (__nss_hosts_database): Likewise.
32882 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
32883 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
32884 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
32885 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
32886 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
32887 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
32888 attribute_hidden.
32889 * nss/nsswitch.c (__nss_database_custom): Define only if
32890 USE_NSCD is defined.
32891 (__nss_configure_lookup): Use __nss_database_custom only if
32892 USE_NSCD is defined.
32893 * nss/nsswitch.h (__nss_database_custom): Declare only if
32894 USE_NSCD is defined. Add attribute_hidden.
32895 (__nss_setent): Add attribute_hidden.
32896 (__nss_endent): Likewise.
32897 (__nss_getent_r): Likewise.
32898 (__nss_getent): Likewise.
32899 (DEFINE_DATABASE): Declare __nss_##arg##_database.
32900
2585d7b8
L
329012017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32902
32903 [BZ #18822]
32904 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
32905 libc_hidden_proto and libc_hidden_def.
32906
c8dfa99c
L
329072017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32908
32909 [BZ #18822]
32910 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
32911 Add libc_hidden_proto.
32912 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
32913 Add libc_hidden_def.
32914
7ed87317
L
329152017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32916
32917 [BZ #21974]
32918 * gmon/Makefile (routines): Remove bb_init_func and
32919 bb_exit_func.
32920 (elide-routines.os): Removed.
9476b904
L
32921 * gmon/bb_exit_func.c: Likewise.
32922 * gmon/bb_init_func.c: Likewise.
7ed87317
L
32923 * include/sys/gmon.h (__bb): Likewise.
32924 (__bb_init_func): Likewise.
32925 (__bb_exit_func): Likewise.
91695eb1 32926 * sysdeps/alpha/bb_init_func.S: Likewise.
7ed87317 32927
94e6ba15
L
329282017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32929
32930 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
32931 * include/setjmp.h (____longjmp_chk): Here. Add
32932 attribute_hidden.
32933
7550717e
L
329342017-08-19 H.J. Lu <hongjiu.lu@intel.com>
32935
32936 [BZ #18822]
32937 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
32938 attribute_hidden.
32939 (__strspn_sse2): Likewise.
32940
0bb2fabc
AZ
329412017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32942
c181840c
AZ
32943 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
32944 (close_not_cancel_no_status): Likewise.
32945 (__close_nocancel): New macro.
32946 (__close_nocancel_nostatus): Likewise.
32947 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
32948 macro.
32949 (close_not_cancel): Likewise.
32950 (close_not_cancel_no_status): Likewise.
32951 (__close_nocancel): New prototype.
32952 (__close_nocancel_nostatus): New function.
32953 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
32954 * catgets/open_catalog.c (__open_catalog): Replace
32955 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
32956 * gmon/gmon.c (write_gmon): Likewise.
32957 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
32958 * intl/loadmsgcat.c (close): Likewise.
32959 * io/ftw.c (open_dir_stream): Likewise.
32960 (ftw_startup): Likewise.
32961 * libio/fileops.c (_IO_file_open): Likewise.
32962 (_IO_file_close_mmap): Likewise.
32963 (_IO_file_close): Likewise.
32964 * libio/iopopen.c (_IO_dup2): Likewise.
32965 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32966 * locale/loadlocale.c (_nl_load_locale): Likewise.
32967 * login/utmp_file.c (pututline_file): Likewise.
32968 (endutent_file): Likewise.
32969 * misc/daemon.c (daemon): Likewise.
32970 * nscd/nscd_getai.c (__nscd_getai): Likewise.
32971 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32972 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
32973 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
32974 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32975 * nscd/nscd_helper.c (open_socket): Likewise.
32976 (__nscd_open_socket): Likewise.
32977 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
32978 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
32979 (__nscd_innetgr): Likewise.
32980 * nss/nss_db/db-open.c (internal_setent): Likewise.
32981 * resolv/res-close.c (__res_iclose): Likewise.
32982 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
32983 * sysdeps/posix/closedir.c (__closedir): Likewise.
32984 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
32985 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32986 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
32987 (opendir_tail): Likewise.
32988 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32989 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
32990 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
32991 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
32992 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32993 (gethostid): Likewise.
32994 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32995 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32996 Likewise.
32997 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32998 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
32999 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33000 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33001 Likewise.
33002 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
33003 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
33004 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33005 Likewise.
33006 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
33007 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33008 Likewise.
33009 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33010 Likewise.
33011 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
33012 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33013 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33014 __close_nocancel.
33015
0bb2fabc
AZ
33016 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
33017 (openat_not_cancel_3): Likewise.
33018 (openat64_not_cancel_3): Likewise).
33019 (openat_not_cancel_3): Likewise).
33020 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
33021 macro.
33022 (openat_not_cancel_3): Likewise.
33023 (openat64_not_cancel): Likewise.
33024 (openat64_not_cancel_3): Likewise.
33025 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
33026 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
33027 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
33028 __open{64}_nocancel.
33029 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33030 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33031 * sysdeps/posix/opendir.c (__opendirat): Likewise.
33032
65a086db
L
330332017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33034
33035 [BZ #18822]
33036 * include/argz.h (__argz_create_sep): New function prototype.
33037 (__argz_append): Likewise.
33038 (__argz_add): Likewise.
33039 (__argz_add_sep): Likewise.
33040 (__argz_delete): Likewise.
33041 (__argz_insert): Likewise.
33042 (__argz_replace): Likewise.
33043 * string/argz.h (__argz_create_sep): Removed.
33044 (__argz_append): Likewise.
33045 (__argz_add): Likewise.
33046 (__argz_add_sep): Likewise.
33047 (__argz_delete): Likewise.
33048 (__argz_insert): Likewise.
33049 (__argz_replace): Likewise.
33050
62753d2c
L
330512017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33052
33053 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
33054 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
33055 (GNU_PROPERTY_STACK_SIZE): Likewie.
33056 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
33057 (GNU_PROPERTY_LOPROC): Likewise.
33058 (GNU_PROPERTY_HIPROC): Likewise.
33059 (GNU_PROPERTY_LOUSER): Likewise.
33060 (GNU_PROPERTY_HIUSER): Likewise.
33061 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
33062 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
33063 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
33064 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
33065 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
33066 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
33067 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
33068 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
33069 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
33070 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
33071 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
33072 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
33073 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
33074 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
33075 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
33076 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
33077 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
33078 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
33079 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
33080 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
33081 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
33082 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
33083 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
33084
6913ad65
GG
330852017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33086
33087 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
33088 in C++ mode.
33089
47a67213
GG
330902017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33091
33092 [BZ #21930]
33093 * math/math.h (isinf): Check if in C or C++ mode before using
33094 __builtin_types_compatible_p, since this is a C mode feature.
33095
a748eb31
AZ
330962017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33097
c647fb88
AZ
33098 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
33099 (__write_nocancel): New macro.
33100 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
33101 Rewrite as a function prototype.
33102 (write_not_cancel): Remove macro.
33103 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
33104 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
33105 (write_gmon): Likewise.
33106 * libio/fileops.c (_IO_new_file_write): Likewise.
33107 * login/utmp_file.c (pututline_file): Likewise.
33108 (updwtmp_file): Likewise.
33109 * stdio-common/psiginfo.c (psiginfo): Likewise.
33110 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33111 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33112 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33113 Likewise.
33114 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33115 Likewise.
33116
a748eb31
AZ
33117 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
33118 (__read_nocancel): New macro.
33119 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33120 __read_nocancel.
33121 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
33122 macro.
33123 (__read_nocancel): New prototype.
33124 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
33125 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
33126 with __read_nocancel.
33127 * intl/loadmsgcat.c (read): Likewise.
33128 * libio/fileops.c (_IO_file_read): Likewise.
33129 * locale/loadlocale.c (_nl_load_locale): Likewise.
33130 * login/utmp_file.c (getutent_r_file): Likewise.
33131 (internal_getut_r): Likewise.
33132 (getutline_r_file): Likewise.
33133 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
33134 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
33135 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33136 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33137 Likewise.
33138 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
33139 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33140 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33141 Likewise.
33142 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33143 Likewise.
33144 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33145 Likewise.
33146 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33147 Likewise.
33148 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33149
098b9dd4
L
331502017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33151
33152 [BZ #21966]
33153 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
33154 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
33155 usable.
33156
a3fe6a20
DD
331572017-08-17 DJ Delorie <dj@redhat.com>
33158
33159 * bug17079.c: Update to new test harness.
33160 * test-digits-dots.c: Likewise.
33161 * test-netdb.c: Likewise.
33162 * tst-field.c: Likewise.
33163 * tst-nss-getpwent.c: Likewise.
33164 * tst-nss-static.c: Likewise.
33165 * tst-nss-test1.c: Likewise.
33166 * tst-nss-test2.c: Likewise.
33167 * tst-nss-test3.c: Likewise.
33168 * tst-nss-test4.c: Likewise.
33169 * tst-nss-test5.c: Likewise.
33170
c2284574
AZ
331712017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33172
33173 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
33174 (open_not_cancel_2): Likewise.
33175 (open_nocancel): New macro.
33176 (open64_nocancel): Likewise.
33177 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
33178 (open_not_cancel_2): Likewise.
33179 (__open_nocancel): New prototype.
33180 (__open64_nocancel): Likewise.
33181 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33182 __open_nocancel.
33183 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
33184 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
33185 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
33186 with __open_nocancel.
33187 * csu/check_fds.c (check_one_fd): Likewise.
33188 * gmon/gmon.c (write_gmon): Likewise.
33189 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
33190 * intl/loadmsgcat.c (open): Likewise.
33191 * libio/fileops.c (_IO_file_open): Likewise.
33192 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33193 * locale/loadlocale.c (_nl_load_locale): Likewise.
33194 * login/utmp_file.c (setutent_file): Likewise.
33195 * misc/daemon.c (daemon): Likewise.
33196 * nss/nss_db/db-open.c (internal_setent): Likewise.
33197 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33198 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
33199 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
33200 (__opendir): Likewise.
33201 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33202 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
33203 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33204 (gethostid): Likewise.
33205 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33206 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33207 Likewise.
33208 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33209 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
33210 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33211 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33212 Likewise.
33213 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33214 Likewise.
33215 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33216 Likewise.
33217 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
33218 Likewise.
33219 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33220 Likewise.
33221 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33222 Likewise.
33223 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
33224 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33225
d4505b89
WD
332262017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
33227
33228 * benchtests/bench-skeleton.c (main): Add support for
33229 latency benchmarking.
33230 * benchtests/scripts/bench.py: Add support for latency benchmarking.
33231
34d6a3cb
L
332322017-08-17 H.J. Lu <hongjiu.lu@intel.com>
33233
33234 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
33235 the startup object.
33236
038d1caf
FW
332372017-08-17 Florian Weimer <fweimer@redhat.com>
33238
33239 * include/sys/socket.h (__opensock): Remove internal_function.
33240 * socket/opensock.c (__opensock): Likewise.
33241 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
33242
67f0aff0
JM
332432017-08-16 Joseph Myers <joseph@codesourcery.com>
33244
33245 [BZ #21944]
33246 * signal/bits/types/__sigval_t.h: New file.
33247 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
33248 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
33249 and define sigval_t using __sigval_t.
33250 * include/bits/types/__sigval_t.h: New file.
33251 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
33252 instead of <bits/types/__sigval_t.h>.
33253 (struct sigevent): Use __sigval_t instead of sigval_t.
33254 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
33255 instead of <bits/types/__sigval_t.h>.
33256 (siginfo_t): Use __sigval_t instead of sigval_t.
33257 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
33258 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
33259 (struct sigevent): Use __sigval_t instead of sigval_t.
33260 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
33261 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
33262 (siginfo_t): Use __sigval_t instead of sigval_t.
33263 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
33264
87e7bf4d
L
332652017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33266
33267 * NEWS: Remove "[Add new features here]" for 2.27.
33268
5047057f
JM
332692017-08-16 Joseph Myers <joseph@codesourcery.com>
33270
33271 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
33272 libc.so.
33273
20c7b195
L
332742017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33275
33276 * NEWS: Mention x86-64 FMA optimization.
33277
24a2e658
L
332782017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33279
33280 [BZ #21912]
33281 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33282 Add e_expf-fma.
33283 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
33284 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
33285 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
33286
eedca977
AS
332872017-08-16 Andreas Schwab <schwab@suse.de>
33288
403143e1
FW
33289 [BZ #16750]
33290 CVE-2009-5064
eedca977
AS
33291 * elf/ldd.bash.in: Never run file directly.
33292
f59f7adb
L
332932017-08-15 H.J. Lu <hongjiu.lu@intel.com>
33294
33295 [BZ #21955]
33296 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
33297 (L(SP_INF_0)): Likewise.
33298
6b11a6ad
FW
332992017-08-15 Florian Weimer <fweimer@redhat.com>
33300
33301 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
33302 run-built-tests.
33303
bbf5c438
FW
333042017-08-15 Florian Weimer <fweimer@redhat.com>
33305
33306 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
33307 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
33308 BROKEN_THREAD_SIGNALS code.
33309 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
33310 request_list): Remove caller_pid member used for
33311 BROKEN_THREAD_SIGNALS.
33312 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
33313 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
33314 Remove BROKEN_THREAD_SIGNALS support.
33315 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
33316 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
33317
6014c65d
FW
333182017-08-15 Florian Weimer <fweimer@redhat.com>
33319
33320 * gmon/Makefile (tests): Add tst-gmon.
33321 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
33322 Set.
33323 (tests-special): Add tst-gmon-prof.out.
33324 (tst-gmon.out): Depend on clean-tst-gmon-data.
33325 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
33326 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
33327 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
33328 startup object.
33329 * aclocal.m4 (GPROF): Set and substitute.
33330 * config.amke.in (GPROF): Set.
33331 * configure: Regenerate.
33332
ee72219a
GR
333332017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
33334
33335 * elf/elf.h A (NT_PPC_TAR): New macro.
33336 (NT_PPC_PPR): Likewise.
33337 (NT_PPC_DSCR): Likewise.
33338 (NT_PPC_EBB): Likewise.
33339 (NT_PPC_PMU): Likewise.
33340 (NT_PPC_TM_CGPR): Likewise.
33341 (NT_PPC_TM_CFPR): Likewise.
33342 (NT_PPC_TM_CVMX): Likewise.
33343 (NT_PPC_TM_CVSX): Likewise.
33344 (NT_PPC_TM_SPR): Likewise.
33345 (NT_PPC_TM_CTAR): Likewise.
33346 (NT_PPC_TM_CPPR): Likewise.
33347 (NT_PPC_TM_CDSCR): Likewise.
33348
4ebf934e
FW
333492017-08-15 Florian Weimer <fweimer@redhat.com>
33350
33351 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
33352 regparm (2) instead of internal_function.
33353 (_MCOUNT_DECL): Adjust.
33354
e9f57484
SL
333552017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
33356
33357 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
33358 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
33359
88ff4d55
JM
333602017-08-14 Joseph Myers <joseph@codesourcery.com>
33361
33362 * conform/data/sys/wait.h-data (si_value): Do not expect for
33363 XPG42.
33364
c88ffc23
FW
333652017-08-14 Florian Weimer <fweimer@redhat.com>
33366
33367 [BZ #21962]
33368 NSS: Create stubs for accidentally exported lookup functions.
33369 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
33370 Remove declaration.
33371 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
33372 (ether_hostton): Call __nss_ethers_lookup2 instead.
33373 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
33374 (ether_ntohost): Call __nss_ethers_lookup2 instead.
33375 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
33376 (setup): Call __nss_netgroup_lookup2 instead.
33377 * nss/Makefile (routines): Add compat-lookup.
33378 * nss/Versions (GLIBC_2.27): Add symbol version.
33379 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
33380 (DB_COMPAT_FCT): Remove.
33381 * nss/compat-lookup.c: New file.
33382 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
33383 from databases.def.
33384 * nss/service-lookup.c (NO_COMPAT): Remove definition.
33385 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
33386 (netname2user): Call __nss_publickey_lookup2 instead.
33387 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
33388 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
33389 instead.
33390
35a29136 333912017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1f14d0c3
AZ
33392 Sergei Trofimovich <slyfox@inbox.ru>
33393
33394 [BZ #21908]
33395 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
33396 Rename to MMAP2_PAGE_UNIT.
33397 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
33398 __OFF_T_MATCHES_OFF64_T is not defined.
33399 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
33400 uint64_t.
33401 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
33402 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
33403
fbdc1e3e
FW
334042017-08-14 Florian Weimer <fweimer@redhat.com>
33405
33406 i386: Do not set internal_function.
33407 * config.h.in (USE_REGPARMS, internal_function): Remove.
33408 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
33409 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
33410
b3f85fd2
FW
334112017-08-14 Florian Weimer <fweimer@redhat.com>
33412
33413 * elf/dl-init.c (_dl_init): Remove internal_function.
33414 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
33415 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
33416
630bf491
FW
334172017-08-14 Florian Weimer <fweimer@redhat.com>
33418
33419 * elf/rtld.c (_dl_start): Remove internal_function.
33420 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
33421 _dl_start.
33422
9fa7449b
FW
334232017-08-14 Florian Weimer <fweimer@redhat.com>
33424
33425 * elf/dl-fini.c (_dl_fini): Remove internal_function
33426 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
33427
73322d5f
L
334282017-08-14 H.J. Lu <hongjiu.lu@intel.com>
33429
d863cd71 33430 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
73322d5f
L
33431 (bit_cpu_SHSTK): Likewise.
33432 (index_cpu_IBT): Likewise.
33433 (index_cpu_SHSTK): Likewise.
33434 (reg_IBT): Likewise.
33435 (reg_SHSTK): Likewise.
33436 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
33437 Handle index_cpu_IBT and index_cpu_SHSTK.
33438
dbc303ef
MF
334392017-08-14 Mike FABIAN <mfabian@redhat.com>
33440
33441 [BZ #19982]
33442 * po/fr.po: Fix spelling mistake.
33443
3012cfb0
FW
334442017-08-13 Florian Weimer <fweimer@redhat.com>
33445
33446 * elf/dl-addr.c (_dl_addr): Remove internal_function.
33447 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
33448 (_dl_catch_error, _dl_receive_error): Likewise.
33449 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
33450 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
33451 (_dl_deallocate_tls): Likewise.
33452 * include/dlfcn.h (_dl_addr): Likewise.
33453 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
33454 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
33455 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
33456 Likewise.
33457
52bcdf26
FW
334582017-08-13 Florian Weimer <fweimer@redhat.com>
33459
33460 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
33461 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
33462 internal_function.
33463 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
33464
e1d2ae8d
FW
334652017-08-13 Florian Weimer <fweimer@redhat.com>
33466
33467 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
33468 internal_function.
33469 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
33470 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
33471 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
33472 internal_function from _dl_make_stack_executable_hook member.
33473 (_dl_make_stack_executable): Remove internal_function.
33474 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
33475 Likewise.
33476 * sysdeps/unix/sysv/linux/dl-execstack.c
33477 (_dl_make_stack_executable): Likewise.
33478
c4ce0382
FW
334792017-08-13 Florian Weimer <fweimer@redhat.com>
33480
33481 * sysdeps/unix/sysv/linux/netlinkaccess.h
33482 (__netlink_assert_response): Remove internal_function.
33483 * sysdeps/unix/sysv/linux/netlink_assert_response.c
33484 (__netlink_assert_response): Likewise.
33485
c4d767f7
FW
334862017-08-13 Florian Weimer <fweimer@redhat.com>
33487
33488 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
33489 internal_function.
33490 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
33491
b2297409
FW
334922017-08-13 Florian Weimer <fweimer@redhat.com>
33493
33494 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
33495 internal_function.
33496 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
33497 * inet/netgroup.h (__internal_setnetgrent)
33498 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
33499 * inet/getnetgrent_r.c (__internal_setnetgrent)
33500 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
33501 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
33502 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
33503 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
33504 * nss/nsswitch.h (db_lookup_function): Likewise.
33505
1b0bfc69
FW
335062017-08-13 Florian Weimer <fweimer@redhat.com>
33507
33508 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
33509 Remove internal_function.
33510 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
33511 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
33512 message argument on the stack.
33513 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
33514 Likeweise.
33515
a6bd8722
MF
335162017-08-12 Mike FABIAN <mfabian@redhat.com>
33517
33518 Adapt test case data to the changes in the thousands
33519 separators.
33520
33521 [BZ #20756]
33522 * localedata/tst-langinfo.sh: Adapt test case data.
33523 * stdlib/tst-strfmon_l.c: Likewise.
33524 * stdlib/tst-strtod4.c: Likewise.
33525 * stdlib/tst-strtod5i.c: Likewise.
33526
8b2c63e4
FW
335272017-08-11 Florian Weimer <fweimer@redhat.com>
33528
33529 [BZ #21242]
33530 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
33531 Suppress pedantic warning resulting from statement expression.
33532 (__ASSERT_FUNCTION): Add missing __extension__.
33533
61c98291
SP
335342017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
33535
86c6519e
SP
33536 * benchtests/bench-memmove-large.c: Print output in JSON
33537 format.
33538 * benchtests/bench-memmove.c: Likewise.
33539
61c98291
SP
33540 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
33541 * benchtests/bench-memchr.c (do_one_test): Likewise.
33542 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
33543 * benchtests/bench-memcpy.c (do_one_test): Likewise.
33544 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
33545 * benchtests/bench-memmove.c (do_one_test): Likewise.
33546 * benchtests/bench-memset-large.c (do_one_test): Likewise.
33547 * benchtests/bench-memset.c (do_one_test): Likewise.
33548 * benchtests/bench-string.h (test_init): Remove memsets.
33549
925733a9
RJ
335502017-08-10 Rical Jasan <ricaljasan@pacific.net>
33551
33552 * manual/lang.texi
33553 (Computing the Width of an Integer Data Type): Rename section to
33554 "Width of an Integer Type". Remove inaccurate statement regarding
33555 lack of C language facilities for determining width of integer
33556 types, and reorder content to improve flow and context of
33557 discussion.
33558
4fcdfbfc
RJ
335592017-08-10 Rical Jasan <ricaljasan@pacific.net>
33560
33561 * lang.texi (va_copy): Change standard from ISO to C99.
33562 (__va_copy): Add standard and header annotation.
33563 Update description for clarity of origins and current use.
33564
4d98ace9
GG
335652017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33566
33567 [BZ #21941]
33568 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
33569 xssqrtqp requires operands to be in Vector Registers
33570 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
33571 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
33572 (__ieee754_sqrtf128): Likewise.
33573
92236903
WD
335742017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
33575
33576 * sysdeps/aarch64/memcmp.S (memcmp):
33577 Rewrite of optimized memcmp.
33578
2449ae7b
FW
335792017-08-10 Florian Weimer <fweimer@redhat.com>
33580
33581 Introduce ld.so exceptions.
33582 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
33583 (_dl_exception_create, _dl_exception_create_format)
33584 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
33585 (_dl_catch_exception): Declare.
33586 (_dl_catch_error): Update comment.
33587 * elf/dl-error-skeleton.c (struct catch): Replace objname,
33588 errstring, malloced members with exception member.
33589 (_dl_out_of_memory): Remove.
33590 (fatal_error): New function, extracted from _dl_signal_error.
33591 (_dl_signal_exception, _dl_signal_cexception): New functions.
33592 (_dl_signal_error): Call _dl_exception_create to allocate an
33593 exception object.
33594 (_dl_catch_exception): New function, based on _dl_catch_error.
33595 (_dl_catch_error): Implement using _dl_catch_exception.
33596 * elf/dl-exception.c: New file.
33597 * elf/Makefile (dl-routines): Add dl-exception.
33598 (elide-routines.os): Likewise.
33599 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
33600 _dl_exception_create_format, _dl_exception_free.
33601 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
33602 _dl_signal_exception.
33603 * elf/dl-lookup.c (make_string): Remove.
33604 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
33605 _dl_signal_cexception, _dl_exception_free.
33606 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
33607 _dl_signal_exception.
33608 * elf/dl-sym.c (do_sym): Likewise.
33609 * elf/dl-version.c (make_string): Remove.
33610 (match_symbol): Use _dl_exception_create_format,
33611 _dl_signal_cexception, _dl_exception_free.
33612 (_dl_check_map_versions): Likewise.
33613 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
33614 _dl_catch_exception.
33615 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
33616 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
33617 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
33618 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
33619 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
33620 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
33621 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
33622 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
33623 Likewise.
33624 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
33625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
33626 (ld.so): Likewise.
33627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
33628 (ld.so): Likewise.
33629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
33630 Likewise.
33631 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
33632 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
33633 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
33634 Likewise.
33635 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
33636 Likewise.
33637 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
33638
f87cc2bf
FW
336392017-08-10 Florian Weimer <fweimer@redhat.com>
33640
33641 * inet/net-internal.h (__inet6_scopeid_pton): Remove
33642 attribute_hidden, internal_function.
33643 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
33644 internal_function.
33645
eac43cbb
FW
336462017-08-10 Florian Weimer <fweimer@redhat.com>
33647
33648 * malloc/malloc.c (get_max_fast): Reimplement as an inline
33649 function which calls __builtin_unreachable.
33650
bd80111e
MF
336512017-08-10 Mike FABIAN <mfabian@redhat.com>
33652
33653 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
33654 Indian monetary formatting
33655 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
33656 test cases.
33657
60e2846e
DL
336582017-08-09 Dmitry V. Levin <ldv@altlinux.org>
33659
68dc02d1
DL
33660 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
33661 Fix typo in comment.
33662
60e2846e
DL
33663 [BZ #21928]
33664 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
33665 PTRACE_SEIZE_DEVEL): Remove.
33666 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
33667 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33668 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33669 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33670 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33671
3d452dab
JM
336722017-08-09 Joseph Myers <joseph@codesourcery.com>
33673
24d9f53a
JM
33674 * posix/bits/types.h (__qaddr_t): Remove.
33675
3d452dab
JM
33676 [BZ #21457]
33677 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
33678 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33679 __glibc_reserved1.
33680 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
33681 (ucontext_t): Use __ctx with uc_flags.
33682 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
33683 (__ctxt): Likewise.
33684 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33685 __glibc_reserved1.
33686 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
33687 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33688 __glibc_reserved1.
33689 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
33690 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33691 __glibc_reserved1.
33692 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
33693 macro.
33694 (ucontext_t): Use __ctx with uc_flags.
33695 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
33696 (ucontext_t): Use __ctx with uc_flags.
33697 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
33698 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
33699 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
33700 (ucontext_t): Use __ctx with uc_flags.
33701 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
33702 undefine further down.
33703 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33704 __glibc_reserved1.
33705 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
33706 undefine further down.
33707 (ucontext_t): Use __ctx with uc_flags.
33708 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
33709 undefine further down.
33710 (ucontext_t): Use __ctx with uc_flags.
33711 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
33712 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
33713 Rename uc_pad to __glibc_reserved1.
33714 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
33715 undefine further down.
33716 (ucontext_t): Use __ctx with uc_flags.
33717 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
33718 further down.
33719 (ucontext_t): Use __ctx with uc_flags.
33720 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
33721 __ctx with uc_flags.
33722 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
33723 (ucontext_t): Use __ctx with uc_flags.
33724 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
33725 __ctx with uc_flags.
33726
30161498
FW
337272017-08-09 Florian Weimer <fweimer@redhat.com>
33728
33729 [BZ #21932]
33730 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
33731 before early return.
33732
5797b410
AS
337332017-08-09 Andreas Schwab <schwab@suse.de>
33734
139237a4 33735 [BZ #21041]
5797b410
AS
33736 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
33737 renamed alias.
33738
139237a4 33739 [BZ #21041]
40c06a3d
AS
33740 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
33741 tst-compat-forwarder.
33742 (modules-names): Add tst-compat-forwarder-mod.
33743 ($(objpfx)tst-compat-forwarder): Depend on
33744 $(objpfx)tst-compat-forwarder-mod.so.
33745 * nptl/tst-compat-forwarder.c: New file.
33746 * nptl/tst-compat-forwarder-mod.c: New file.
33747
36ada5f6
SP
337482017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
33749
0e02b510
SP
33750 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
33751 comments.
33752
36ada5f6
SP
33753 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
33754 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
33755 memcpy_falkor.
33756 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
33757 Bump.
33758 (__libc_ifunc_impl_list): Add __memcpy_falkor.
33759 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
33760 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
33761 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
33762 Add falkor.
33763 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
33764 New macro.
33765
9995c839
AZ
337662017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33767
33768 [BZ #759]
33769 * manual/setjmp.texi (getcontex): Document uc_stack value
33770 compatibility differences.
33771
f17a4233
JM
337722017-08-08 Joseph Myers <joseph@codesourcery.com>
33773
33774 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
33775 (old_malloc_hook): Likewise.
33776 (old_memalign_hook): Likewise.
33777 (old_realloc_hook): Likewise.
33778 (struct hdr): Likewise.
33779 (flood): Likewise.
33780 (freehook): Likewise.
33781 (mallochook): Likewise.
33782 (memalignhook): Likewise.
33783 (reallochook): Likewise.
33784 (mprobe): Likewise.
33785 * malloc/mtrace.c (mallwatch): Likewise.
33786 (tr_old_free_hook): Likewise.
33787 (tr_old_malloc_hook): Likewise.
33788 (tr_old_realloc_hook): Likewise.
33789 (tr_old_memalign_hook): Likewise.
33790 (tr_where): Likewise.
33791 (lock_and_info): Likewise.
33792 (tr_freehook): Likewise.
33793 (tr_mallochook): Likewise.
33794 (tr_reallochook): Likewise.
33795 (tr_memalignhook): Likewise.
33796 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
33797 * misc/mmap.c (__mmap): Likewise.
33798 * misc/mmap64.c (__mmap64): Likewise.
33799 * misc/mprotect.c (__mprotect): Likewise.
33800 * misc/msync.c (msync): Likewise.
33801 * misc/munmap.c (__munmap): Likewise.
33802 * posix/posix_madvise.c (posix_madvise): Likewise.
33803 * socket/send.c (__send): Likewise.
33804 * socket/sendto.c (__sendto): Likewise.
33805 * socket/setsockopt.c (__setsockopt): Likewise.
33806 * string/memcmp.c (__ptr_t): Remove macro.
33807 (MEMCMP): Use void * instead of ptr_t.
33808 * string/memrchr.c (__ptr_t): Remove macro.
33809 (__memrchr): Use void * instead of ptr_t.
33810 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
33811 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
33812 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
33813 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
33814 * sysdeps/mach/msync.c (msync): Likewise.
33815 * sysdeps/mach/munmap.c (__munmap): Likewise.
33816 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
33817 Likewise.
33818 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33819 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
33820 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
33821 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
33822 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
33823 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
33824 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
33825 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
33826 Likewise.
33827 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
33828 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
33829 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
33830 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
33831 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
33832 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
33833 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
33834 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
33835 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
33836 Likewise.
33837 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
33838 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
33839 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
33840 (MEMCMP): Use void * instead of ptr_t.
33841 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
33842 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
33843
0df595b2
FW
338442017-08-08 Florian Weimer <fweimer@redhat.com>
33845
33846 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
33847 return statement.
33848
086df229
L
338492017-08-08 H.J. Lu <hongjiu.lu@intel.com>
33850
33851 [BZ #21913]
33852 * csu/libc-tls.c: Include <startup.h> first.
33853 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
33854 * elf/dl-tunables.c: Include <startup.h> first.
33855 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
33856 * sysdeps/generic/startup.h: New file.
33857 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
33858 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
33859 (I386_USE_SYSENTER): New. Defined to 0.
33860
fc5ad702
AS
338612017-08-08 Andreas Schwab <schwab@suse.de>
33862
33863 [BZ #21041]
33864 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
33865 * nptl/pt-system.c (system): Likewise.
33866
852d6312
AZ
338672017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33868
33869 [BZ #21780]
33870 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
33871 EOPNOTSUPP.
33872 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
33873 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
33874 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
33875 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
33876 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
33877 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
33878 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
33879
8b164787
JM
338802017-08-07 Joseph Myers <joseph@codesourcery.com>
33881
cd65836b
JM
33882 [BZ #21899]
33883 * bits/sigaction.h (struct sigaction): Define sa_handler and
33884 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
33885 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33886 [__USE_XOPEN_EXTENDED].
33887 (SA_RESTART): Likewise.
33888 (SA_NODEFER): Likewise.
33889 (SA_RESETHAND): Likewise.
33890 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
33891 (struct sigaction): Define sa_handler and sa_sigaction using union
33892 also for [__USE_XOPEN_EXTENDED].
33893 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33894 [__USE_XOPEN_EXTENDED].
33895 (SA_RESTART): Likewise.
33896 (SA_NODEFER): Likewise.
33897 (SA_RESETHAND): Likewise.
33898 * sysdeps/unix/sysv/linux/bits/sigaction.h
33899 (struct sigaction): Define sa_handler and sa_sigaction using union
33900 also for [__USE_XOPEN_EXTENDED].
33901 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33902 [__USE_XOPEN_EXTENDED].
33903 (SA_RESTART): Likewise.
33904 (SA_NODEFER): Likewise.
33905 (SA_RESETHAND): Likewise.
33906 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
33907 (struct sigaction): Define sa_handler and sa_sigaction using union
33908 also for [__USE_XOPEN_EXTENDED].
33909 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33910 [__USE_XOPEN_EXTENDED].
33911 (SA_RESTART): Likewise.
33912 (SA_NODEFER): Likewise.
33913 (SA_RESETHAND): Likewise.
33914 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
33915 (struct sigaction): Define sa_handler and sa_sigaction using union
33916 also for [__USE_XOPEN_EXTENDED].
33917 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33918 [__USE_XOPEN_EXTENDED].
33919 (SA_RESTART): Likewise.
33920 (SA_NODEFER): Likewise.
33921 (SA_RESETHAND): Likewise.
33922 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
33923 (struct sigaction): Define sa_handler and sa_sigaction using union
33924 also for [__USE_XOPEN_EXTENDED].
33925 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33926 [__USE_XOPEN_EXTENDED].
33927 (SA_RESTART): Likewise.
33928 (SA_NODEFER): Likewise.
33929 (SA_RESETHAND): Likewise.
33930 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
33931 (struct sigaction): Define sa_handler and sa_sigaction using union
33932 also for [__USE_XOPEN_EXTENDED].
33933 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33934 [__USE_XOPEN_EXTENDED].
33935 (SA_RESTART): Likewise.
33936 (SA_NODEFER): Likewise.
33937 (SA_RESETHAND): Likewise.
33938 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
33939 (struct sigaction): Define sa_handler and sa_sigaction using union
33940 also for [__USE_XOPEN_EXTENDED].
33941 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33942 [__USE_XOPEN_EXTENDED].
33943 (SA_RESTART): Likewise.
33944 (SA_NODEFER): Likewise. Define directly rather than as alias.
33945 (SA_RESETHAND): Likewise.
33946 (SA_INTERRUPT): Define only for [__USE_MISC].
33947 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
33948 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
33949 [__USE_MISC].
33950 (SA_STACK): Define only for [__USE_MISC].
33951 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
33952 (struct sigaction): Define sa_handler and sa_sigaction using union
33953 also for [__USE_XOPEN_EXTENDED].
33954 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33955 [__USE_XOPEN_EXTENDED].
33956 (SA_RESTART): Likewise.
33957 (SA_NODEFER): Likewise.
33958 (SA_RESETHAND): Likewise.
33959 (SA_NOPTRACE): Define only for [__USE_MISC].
33960
d9fee042
JM
33961 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
33962 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
33963 (struct catalog_info): Likewise.
33964 * inet/htontest.c (lo): Likewise.
33965 (foo): Likewise.
33966 * inet/inet_lnaof.c (inet_lnaof): Likewise.
33967 * inet/inet_net.c (inet_network): Likewise.
33968 * inet/inet_netof.c (inet_netof): Likewise.
33969 * inet/rcmd.c (__ivaliduser): Likewise.
33970 (iruserok): Likewise.
33971 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
33972 * locale/programs/locale-spec.c (locale_special): Likewise.
33973 * nis/nis_findserv.c (struct findserv_req): Likewise.
33974 (__nis_findfastest_with_timeout): Likewise.
33975 * nss/test-netdb.c (test_network): Likewise.
33976 * resolv/inet_neta.c (inet_neta): Likewise.
33977 * resolv/ns_date.c (ns_datetosecs): Likewise.
33978 (SECS_PER_DAY): Likewise.
33979 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
33980 Likewise.
33981 * resolv/res_comp.c (__putlong): Likewise.
33982 (__putshort): Likewise.
33983 (_getlong): Likewise.
33984 (_getshort): Likewise.
33985 * resolv/res_debug.c (p_time): Likewise.
33986 (precsize_ntoa): Likewise.
33987 (precsize_aton): Likewise.
33988 (latlon2ul): Likewise.
33989 (loc_aton): Likewise.
33990 (loc_ntoa): Likewise.
33991 * resolv/res_hconf.c (struct netaddr): Likewise.
33992 (_res_hconf_reorder_addrs): Likewise.
33993 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
33994 (clnttcp_control): Likewise.
33995 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
33996 (clntudp_control): Likewise.
33997 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
33998 (clntunix_control): Likewise.
33999 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
34000 * sunrpc/rpc/auth.h (union des_block): Likewise.
34001 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
34002 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
34003 (xdrrec_create): Likewise.
34004 (xdrrec_endofrecord): Likewise.
34005 (flush_out): Likewise.
34006 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
34007 (xdrstdio_putlong): Likewise.
34008 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
34009 Likewise.
34010
8b164787
JM
34011 * misc/sys/cdefs.h (__long_double_t): Remove.
34012 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
34013 instead of __long_double_t,
34014 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
34015
7ee38e60
SP
340162017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
34017
dd3e86ad
SP
34018 * benchtests/scripts/compare_strings.py: Avoid display error when
34019 running on a text terminal.
34020
b115e819
SP
34021 * benchtests/scripts/compare_strings.py (main): Add an
34022 optional -base option.
34023 (process_results): New argument base_func.
34024
7ee38e60
SP
34025 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
34026 hardcoding memcpy.
34027 * benchtests/bench-memcpy-large.c (test_name): Likewise.
34028 * benchtests/bench-memcpy-random.c (test_name): Likewise.
34029
d5afb385
AS
340302017-08-07 Andreas Schwab <schwab@suse.de>
34031
34032 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
34033 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
34034 * intl/Makefile ($(objpfx)tst-gettext.out)
34035 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
34036 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
34037 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
34038 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
34039 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
34040 * posix/Makefile ($(objpfx)globtest.out)
34041 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
34042 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
34043 ($(objpfx)tst-printf.out): Likewise.
34044 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
34045 ($(objpfx)tst-setcontext3.out): Likewise.
34046
57a72fa3
L
340472017-08-07 H.J. Lu <hongjiu.lu@intel.com>
34048
34049 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34050 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
34051 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
34052 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
34053 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
34054 and mptan-fma.
34055 (CFLAGS-doasin-fma.c): New.
34056 (CFLAGS-dosincos-fma.c): Likewise.
34057 (CFLAGS-e_asin-fma.c): Likewise.
34058 (CFLAGS-e_atan2-fma.c): Likewise.
34059 (CFLAGS-e_exp-fma.c): Likewise.
34060 (CFLAGS-e_log-fma.c): Likewise.
34061 (CFLAGS-e_pow-fma.c): Likewise.
34062 (CFLAGS-halfulp-fma.c): Likewise.
34063 (CFLAGS-mpa-fma.c): Likewise.
34064 (CFLAGS-mpatan-fma.c): Likewise.
34065 (CFLAGS-mpatan2-fma.c): Likewise.
34066 (CFLAGS-mpexp-fma.c): Likewise.
34067 (CFLAGS-mplog-fma.c): Likewise.
34068 (CFLAGS-mpsqrt-fma.c): Likewise.
34069 (CFLAGS-mptan-fma.c): Likewise.
34070 (CFLAGS-s_atan-fma.c): Likewise.
34071 (CFLAGS-sincos32-fma.c): Likewise.
34072 (CFLAGS-slowexp-fma.c): Likewise.
34073 (CFLAGS-slowpow-fma.c): Likewise.
34074 (CFLAGS-s_sin-fma.c): Likewise.
34075 (CFLAGS-s_tan-fma.c): Likewise.
34076 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
34077 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
34078 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
34079 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
34080 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
34081 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
34082 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
34083 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
34084 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
34085 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
34086 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
34087 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
34088 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
34089 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
34090 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
34091 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
34092 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
34093 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
34094 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
34095 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
34096 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
34097 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
34098 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
34099 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
34100 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
34101 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34102 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34103 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
34104 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34105 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34106 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34107
219dd320
JM
341082017-08-04 Joseph Myers <joseph@codesourcery.com>
34109
34110 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
34111 (min_of_type_f): New macro.
34112 (min_of_type_): Likewise.
34113 (min_of_type_l): Likewise.
34114 (min_of_type_f128): Likewise.
34115 (min_of_type): Define using __MATH_TG and taking an expression
34116 argument.
34117 (math_check_force_underflow): Pass expression instead of type to
34118 min_of_type.
34119 (math_check_force_underflow_nonneg): Likewise.
34120
64d4dea6
L
341212017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34122
34123 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
34124 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
34125 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
34126
973da22a
L
341272017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34128
34129 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34130 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
34131 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
34132 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
34133 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
34134 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
34135 memcpy_chk-nonshared, mempcpy_chk-nonshared,
34136 memmove_chk-nonshared and memset_chk-nonshared
34137 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
34138 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
34139 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
34140 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
34141 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
34142 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
34143 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
34144 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
34145 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
34146 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
34147 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
34148 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
34149 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
34150 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
34151 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
34152 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
34153 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
34154 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
34155 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
34156 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
34157 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
34158 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
34159 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
34160 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
34161 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
34162 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
34163 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
34164 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
34165 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
34166 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
34167 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
34168 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
34169 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
34170 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
34171 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
34172 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
34173 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
34174 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
34175 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
34176 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
34177 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
34178 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
34179 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
34180 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
34181 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
34182 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
34183 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
34184 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
34185 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
34186 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
34187 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
34188 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
34189 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
34190 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
34191 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
34192 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
34193 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
34194 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
34195 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
34196 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
34197 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
34198 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
34199 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
34200 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
34201 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
34202 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
34203 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
34204 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
34205 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
34206 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
34207 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
34208 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34209 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34210 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34211 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34212 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34213 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34214 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34215 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34216 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34217 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34218 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34219 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34220 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34221 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
34222 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
34223 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34224 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
34225 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34226 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34227 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34228 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34229 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34230 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34231 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
34232 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
34233 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
34234 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
34235 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34236 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
34237 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34238 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34239 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34240 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34241 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34242 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34243 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34244 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34245
8537e0f6
L
342462017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34247
34248 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
34249 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
34250 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
34251 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
34252 svml_d_log2_core-sse2, svml_d_log4_core-sse,
34253 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
34254 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
34255 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
34256 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
34257 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
34258 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
34259 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
34260 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
34261 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
34262 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
34263 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
34264 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
34265 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
34266 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
34267 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
34268 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
34269 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
34270 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
34271 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
34272 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
34273 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
34274 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
34275 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
34276 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
34277 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
34278 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
34279 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
34280 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
34281 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
34282 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
34283 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
34284 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
34285 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
34286 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
34287 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
34288 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
34289 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
34290 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
34291 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
34292 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
34293 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
34294 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
34295 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
34296 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
34297 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
34298 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
34299 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
34300 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
34301 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
34302 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
34303 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
34304 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
34305 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
34306 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
34307 ...
34308 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
34309 Don't include <sysdep.h> nor <init-arch.h>.
34310 (_ZGVbN2v_cos): Removed.
34311 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
34312 ...
34313 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
34314 Don't include <sysdep.h> nor <init-arch.h>.
34315 (_ZGVdN4v_cos): Removed.
34316 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
34317 ...
34318 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
34319 Don't include <sysdep.h> nor <init-arch.h>.
34320 (_ZGVeN8v_cos): Removed.
34321 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
34322 ...
34323 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
34324 Don't include <sysdep.h> nor <init-arch.h>.
34325 (_ZGVbN2v_exp): Removed.
34326 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
34327 ...
34328 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
34329 Don't include <sysdep.h> nor <init-arch.h>.
34330 (_ZGVdN4v_exp): Removed.
34331 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
34332 ...
34333 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
34334 Don't include <sysdep.h> nor <init-arch.h>.
34335 (_ZGVeN8v_exp): Removed.
34336 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
34337 ...
34338 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
34339 Don't include <sysdep.h> nor <init-arch.h>.
34340 (_ZGVbN2v_log): Removed.
34341 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
34342 ...
34343 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
34344 Don't include <sysdep.h> nor <init-arch.h>.
34345 (_ZGVdN4v_log): Removed.
34346 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
34347 ...
34348 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
34349 Don't include <sysdep.h> nor <init-arch.h>.
34350 (_ZGVeN8v_log): Removed.
34351 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
34352 ...
34353 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
34354 Don't include <sysdep.h> nor <init-arch.h>.
34355 (_ZGVbN2vv_pow): Removed.
34356 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
34357 ...
34358 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
34359 Don't include <sysdep.h> nor <init-arch.h>.
34360 (_ZGVdN4vv_pow): Removed.
34361 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
34362 ...
34363 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
34364 Don't include <sysdep.h> nor <init-arch.h>.
34365 (_ZGVeN8vv_pow): Removed.
34366 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
34367 ...
34368 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
34369 Don't include <sysdep.h> nor <init-arch.h>.
34370 (_ZGVbN2v_sin): Removed.
34371 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
34372 ...
34373 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
34374 Don't include <sysdep.h> nor <init-arch.h>.
34375 (_ZGVbN4v_sin): Removed.
34376 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
34377 ...
34378 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
34379 Don't include <sysdep.h> nor <init-arch.h>.
34380 (_ZGVbN8v_sin): Removed.
34381 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
34382 ...
34383 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
34384 Don't include <sysdep.h> nor <init-arch.h>.
34385 (_ZGVbN2vvv_sincos): Removed.
34386 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
34387 ...
34388 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
34389 Don't include <sysdep.h> nor <init-arch.h>.
34390 (_ZGVdN4vvv_sincos): Removed.
34391 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
34392 ...
34393 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
34394 Don't include <sysdep.h> nor <init-arch.h>.
34395 (_ZGVeN8vvv_sincos): Removed.
34396 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
34397 ...
34398 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
34399 Don't include <sysdep.h> nor <init-arch.h>.
34400 (_ZGVeN16v_cosf): Removed.
34401 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
34402 ...
34403 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
34404 Don't include <sysdep.h> nor <init-arch.h>.
34405 (_ZGVbN4v_cosf): Removed.
34406 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
34407 ...
34408 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
34409 Don't include <sysdep.h> nor <init-arch.h>.
34410 (_ZGVdN8v_cosf): Removed.
34411 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
34412 ...
34413 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
34414 Don't include <sysdep.h> nor <init-arch.h>.
34415 (_ZGVeN16v_expf): Removed.
34416 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
34417 ...
34418 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
34419 Don't include <sysdep.h> nor <init-arch.h>.
34420 (_ZGVbN4v_expf): Removed.
34421 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
34422 ...
34423 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
34424 Don't include <sysdep.h> nor <init-arch.h>.
34425 (_ZGVdN8v_expf): Removed.
34426 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
34427 ...
34428 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
34429 Don't include <sysdep.h> nor <init-arch.h>.
34430 (_ZGVeN16v_logf): Removed.
34431 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
34432 ...
34433 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
34434 Don't include <sysdep.h> nor <init-arch.h>.
34435 (_ZGVbN4v_logf): Removed.
34436 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
34437 ...
34438 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
34439 Don't include <sysdep.h> nor <init-arch.h>.
34440 (_ZGVdN8v_logf): Removed.
34441 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
34442 ...
34443 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
34444 Don't include <sysdep.h> nor <init-arch.h>.
34445 (_ZGVeN16vv_powf): Removed.
34446 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
34447 ...
34448 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
34449 Don't include <sysdep.h> nor <init-arch.h>.
34450 (_ZGVbN4vv_powf): Removed.
34451 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
34452 ...
34453 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
34454 Don't include <sysdep.h> nor <init-arch.h>.
34455 (_ZGVdN8vv_powf): Removed.
34456 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
34457 ...
34458 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
34459 Don't include <sysdep.h> nor <init-arch.h>.
34460 (_ZGVeN16vvv_sincosf): Removed.
34461 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
34462 ...
34463 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
34464 Don't include <sysdep.h> nor <init-arch.h>.
34465 (_ZGVbN4vvv_sincosf): Removed.
34466 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
34467 ...
34468 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
34469 Don't include <sysdep.h> nor <init-arch.h>.
34470 (_ZGVdN8vvv_sincosf): Removed.
34471 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
34472 ...
34473 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
34474 Don't include <sysdep.h> nor <init-arch.h>.
34475 (_ZGVeN16v_sinf): Removed.
34476 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
34477 ...
34478 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
34479 Don't include <sysdep.h> nor <init-arch.h>.
34480 (_ZGVbN4v_sinf): Removed.
34481 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
34482 ...
34483 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
34484 Don't include <sysdep.h> nor <init-arch.h>.
34485 (_ZGVdN8v_sinf): Removed.
34486
10a87ca4
L
344872017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34488
34489 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34490 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
34491 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
34492 s_rint-sse4_1 and s_rintf-sse4_1.
34493 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
34494 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
34495 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
34496 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
34497 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
34498 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
34499 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
34500 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
34501 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
34502 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
34503 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
34504 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34505 (__ceil): Removed.
34506 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
34507 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
34508 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34509 (__ceilf): Removed.
34510 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
34511 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
34512 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34513 (__floor): Removed.
34514 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
34515 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
34516 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34517 (__floorf): Removed.
34518 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
34519 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
34520 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34521 (__nearbyint): Removed.
34522 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
34523 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
34524 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34525 (__nearbyintf): Removed.
34526 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
34527 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
34528 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34529 (__rint): Removed.
34530 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
34531 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
34532 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34533 (__rintf): Removed.
34534
1e8e527d
L
345352017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34536
34537 * sysdeps/i386/start.S (_start): Check Check PIC instead of
34538 SHARED. Avoid dynamic relocation against main in static PIE.
34539
e13daad7
L
345402017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34541
34542 [BZ #21815]
34543 * elf/Makefile (CFLAGS-tst-prelink.c): New.
34544 (LDFLAGS-tst-prelink): Likewise.
34545
627c69c8
L
345462017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34547
34548 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
34549 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
34550 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
34551 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
34552 (INTERNAL_SYSCALL_NCS): Likewise.
34553 (LOADARGS_1): Likewise.
34554 (LOADARGS_5): Likewise.
34555 (RESTOREARGS_1): Likewise.
34556 (RESTOREARGS_5): Likewise.
34557
fc11ff8d
L
345582017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34559
34560 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
34561 (MEMPCPY_SYMBOL): Likewise.
34562 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
34563 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
34564 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
34565 in libc.a.
34566 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34567 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
34568 Likewise.
34569 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
34570 (__hidden_ver1): Don't use in libc.a.
34571 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
34572 (__mempcpy): Don't create a weak alias in libc.a.
34573 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
34574 libc.a.
34575 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
34576 (__hidden_ver1): Don't use in libc.a.
34577
19f1a11e
L
345782017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34579
34580 * config.make.in (have-insert): New.
34581 * configure.ac (libc_cv_insert): New. Set to yes if linker
34582 supports INSERT in linker script.
34583 (AC_SUBST(libc_cv_insert): New.
34584 * configure: Regenerated.
34585 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
34586 if $(have-insert) == yes.
34587
3093fd5e
L
345882017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34589
34590 * elf/Makefile (tests): Add vismain only if
34591 $(have-protected-data) == yes.
34592 (tests-pie): Likewise.
34593
d2cf37c0
L
345942017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34595
34596 [BZ #21871]
34597 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
34598 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
34599
c8a0e6ec
L
346002017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34601
34602 [BZ #21790]
34603 * sysdeps/i386/i586/memset.S
34604 (__memset_zero_constant_len_parameter): Removed.
34605 * sysdeps/i386/i686/memset.S
34606 (__memset_zero_constant_len_parameter): Likewise.
34607 * sysdeps/i386/i686/multiarch/memset_chk.S
34608 (__memset_zero_constant_len_parameter): Likewise.
34609 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
34610 Likewise.
34611
2b34e271
AJ
346122017-08-03 Aurelien Jarno <aurelien@aurel32.net>
34613
34614 * stdlib/getentropy.c (getentropy): Change return type to int.
34615
144bdab0
AJ
346162017-08-03 Aurelien Jarno <aurelien@aurel32.net>
34617
34618 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
34619
24ab7723
JM
346202017-08-03 Joseph Myers <joseph@codesourcery.com>
34621
34622 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
34623 u_intN_t.
34624 * math/s_nexttowardf.c (__nexttowardf): Likewise.
34625 * sysdeps/generic/math_private.h (ieee_double_shape_type):
34626 Likewise.
34627 (ieee_float_shape_type): Likewise.
34628 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
34629 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
34630 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
34631 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34632 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
34633 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
34634 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
34635 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
34636 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
34637 Likewise.
34638 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
34639 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
34640 (__ieee754_yn): Likewise.
34641 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
34642 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
34643 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
34644 Likewise.
34645 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
34646 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
34647 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
34648 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
34649 (__erfc): Likewise.
34650 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
34651 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
34652 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
34653 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
34654 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
34655 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
34656 Likewise.
34657 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
34658 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
34659 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
34660 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
34661 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
34662 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
34663 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
34664 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
34665 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
34666 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
34667 (__issignaling): Likewise.
34668 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
34669 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
34670 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
34671 Likewise.
34672 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
34673 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
34674 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
34675 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
34676 Likewise.
34677 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
34678 Likewise.
34679 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
34680 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
34681 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
34682 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
34683 (__erfcf): Likewise.
34684 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
34685 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
34686 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
34687 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
34688 Likewise.
34689 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
34690 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
34691 Likewise.
34692 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
34693 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
34694 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
34695 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
34696 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
34697 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
34698 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
34699 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
34700 Likewise.
34701 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
34702 Likewise.
34703 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
34704 Likewise.
34705 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
34706 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
34707 Likewise.
34708 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
34709 Likewise.
34710 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34711 (__ieee754_ynl): Likewise.
34712 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
34713 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
34714 Likewise.
34715 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
34716 Likewise.
34717 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
34718 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
34719 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34720 Likewise.
34721 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
34722 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
34723 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
34724 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
34725 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
34726 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
34727 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
34728 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
34729 Likewise.
34730 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
34731 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
34732 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
34733 Likewise.
34734 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
34735 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
34736 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
34737 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
34738 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
34739 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
34740 Likewise.
34741 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
34742 Likewise.
34743 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34744 Likewise.
34745 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34746 Likewise.
34747 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
34748 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
34749 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34750 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
34751 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
34752 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
34753 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
34754 Likewise.
34755 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
34756 Likewise.
34757 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
34758 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34759 Likewise.
34760 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
34761 (__ieee754_remainderl): Likewise.
34762 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34763 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34764 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
34765 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
34766 Likewise.
34767 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
34768 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34769 Likewise.
34770 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
34771 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
34772 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
34773 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
34774 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
34775 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
34776 Likewise.
34777 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
34778 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
34779 (__ieee754_y0l): Likewise.
34780 (pzero): Likewise.
34781 (qzero): Likewise.
34782 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
34783 (__ieee754_y1l): Likewise.
34784 (pone): Likewise.
34785 (qone): Likewise.
34786 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34787 (__ieee754_ynl): Likewise.
34788 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
34789 (__ieee754_lgammal_r): Likewise.
34790 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
34791 Likewise.
34792 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
34793 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
34794 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
34795 (__erfcl): Likewise.
34796 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
34797 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
34798 Likewise.
34799 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
34800 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
34801 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
34802 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
34803 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
34804 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34805 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34806 Likewise.
34807 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
34808 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
34809 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
34810 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
34811 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34812 Likewise.
34813 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
34814 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
34815 Likewise.
34816 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
34817 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
34818 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
34819 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
34820 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
34821
964263bb
FW
348222017-08-03 Florian Weimer <fweimer@redhat.com>
34823
34824 [BZ #21885]
34825 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
34826 on memory allocation failure.
34827
e98c925f
AM
348282017-08-03 Alan Modra <amodra@gmail.com>
34829
34830 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
34831 tst-tlsopt-powerpc.c with function name change and no test harness.
34832 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
34833 Call tls_get_addr_opt_test.
34834 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
34835 (modules-names): Add mod-tlsopt-powerpc.
34836 (mod-tlsopt-powerpc.so-no-z-defs): Define.
34837 (tst-tlsopt-powerpc): Depend on .so.
34838 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
34839 define. Expand use in TLS_GD and TLS_LD.
34840
8ee1abdb
ST
348412017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
34842
34843 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
34844 function.
3da5756e 34845 * sysdeps/posix/shm_open.c: Include <pthread.h>.
8ee1abdb 34846
42df8d59
JM
348472017-08-02 Joseph Myers <joseph@codesourcery.com>
34848
34849 [BZ #21686]
34850 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
34851 comparing size with that of double.
34852 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
34853 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
34854 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
34855 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
34856 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34857 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
34858 unsigned __int128 types.
34859
b7f95f49
SE
348602017-08-02 Steve Ellcey <sellcey@cavium.com>
34861
34862 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
34863 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
34864 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
34865 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
34866 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
34867
5b736bc9
L
348682017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34869
34870 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
34871
dfc93c41
L
348722017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34873
34874 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
34875 of SHARED.
34876 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
34877 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34878 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34879 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34880 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34881 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34882 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34883
2fee621d
JM
348842017-08-02 Joseph Myers <joseph@codesourcery.com>
34885
34886 [BZ #21685]
34887 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
34888 bit-field expressions passed to sizeof or typeof.
34889 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34890 (__TGMATH_F128): Likewise.
34891 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34892 (__TGMATH_CF128): Likewise.
34893 (__TGMATH_UNARY_REAL_ONLY): Likewise.
34894 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
34895 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
34896 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
34897 (__TGMATH_BINARY_REAL_ONLY): Likewise.
34898 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
34899 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
34900 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
34901 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
34902 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
34903 (__TGMATH_UNARY_REAL_IMAG): Likewise.
34904 (__TGMATH_UNARY_IMAG): Likewise.
34905 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
34906 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34907 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
34908 type.
34909 (define_vars_for_type): Handle bit_field type specially.
34910 (Tests.__init__): Declare structure with bit-field element.
34911
b358255f
L
349122017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34913
34914 [BZ #21791]
34915 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
34916 (MEMCPY_CHK): Define only if SHARED is defined.
34917 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
34918 Likewise.
34919 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
34920 Likewise.
edf66db1
SP
34921
34922See ChangeLog.18 for earlier changes.