]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Linux: Add getdents64 system call
[thirdparty/glibc.git] / ChangeLog
CommitLineData
51ea67d5
FW
12019-06-07 Florian Weimer <fweimer@redhat.com>
2
3 Linux: Add getdents64 system call.
4 * include/dirnent.h (getdents): Add comment and change buffer
5 argument type to void *.
6 (getdents64): Likewise. Add hidden prototype.
7 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
8 getdents64.
9 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
10 Add tst-getdents64.
11 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
12 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
13 argument type to void *.
14 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
15 Add hidden definition and getdents64 alias.
16 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
17 Likewise.
18 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
19 * manual/filesys.texi (Accessing Directories): Add Low-level
20 Directory Access node reference.
21 (Opening a Directory): Cross-reference it.
22 (Low-level Directory Access): New node.
23 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
24 getdents64.
25 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
26 Likewise.
27 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
28 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
29 Likewise.
30 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
31 Likewise.
32 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
33 Likewise.
34 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
35 Likewise.
36 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
37 Likewise.
38 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
39 Likewise.
40 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
41 Likewise.
42 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
43 (GLIBC_2.30): Likewise.
44 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
45 (GLIBC_2.30): Likewise.
46 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
47 (GLIBC_2.30): Likewise.
48 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
49 (GLIBC_2.30): Likewise.
50 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
51 Likewise.
52 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
53 (GLIBC_2.30): Likewise.
54 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
55 (GLIBC_2.30): Likewise.
56 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
57 (GLIBC_2.30): Likewise.
58 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
59 (GLIBC_2.30): Likewise.
60 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
61 Likewise.
62 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
63 Likewise.
64 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
65 Likewise.
66 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
67 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
68 Likewise.
69 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
70 Likewise.
71 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
72 Likewise.
73 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
74 Likewise.
75
de751ebc
PC
762019-06-06 Paul A. Clarke <pc@us.ibm.com>
77
78 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
79 (__FPU_MFFS): New.
80 (__FPU_MFFSL): New.
81 (_FPU_GET_RC): New.
82 (_FPU_GETCW): Use __FPU_MFFS().
83 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
84
28dd3939
FW
852019-06-06 Florian Weimer <fweimer@redhat.com>
86
87 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
88 internal GCC preprocessor identifier __has_include__.
89
0158473d
PC
902019-06-05 Paul A. Clarke <pc@us.ibm.com>
91
92 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
93 with call to equivalent function.
94
e863dbf6
FW
952019-06-04 Florian Weimer <fweimer@redhat.com>
96
97 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
98 (do_release_shlib): Adjust for __twalk_r.
99 (__gconv_release_shlib): Call __twalk_r.
100
4802be92
AS
1012019-06-04 Andreas Schwab <schwab@suse.de>
102
103 [BZ #18830]
104 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
105 no irreversible characters occurred.
106 * iconv/gconv_simple.c (internal_ucs4_loop)
107 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
108 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
109 (ucs4_internal_loop_single, internal_ucs4le_loop)
110 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
111 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
112 (ucs4le_internal_loop_single): Add const to outend.
113 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
114 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
115 * iconv/Makefile (tests): Add tst-iconv7.
116 * iconv/tst-iconv7.c: New file.
117
dc91a19e
JM
1182019-06-03 Joseph Myers <joseph@codesourcery.com>
119
120 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
121
6a1a9a49 1222019-06-01 Florian Weimer <fweimer@redhat.com>
6b33f373
FW
123
124 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
125 * sysdeps/unix/sysv/linux/arm/Makefile
126 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
127 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
128 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
129 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
130 compatibility symbols.
131
0bb8f8c7
FW
1322019-05-31 Florian Weimer <fweimer@redhat.com>
133
134 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
135 system calls for the arm architecture: breakpoint, get_tls,
136 set_tls, usr26, usr32.
137
9250e661
GG
1382019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
139
140 * sysdeps/powerpc/Makefile
141 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
142 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
143 Declare '.machine power7' to get support for ldbrx.
144 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
145 directive based on the directory of the file.
146 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
147 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
148 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
149 '.machine' directive.
150 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
151 (VADDUQM_V7_V8): Remove.
152 (__STRCASECMP): Replace macros with actual instructions.
153 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
154 '.machine' directive.
155 (VCLZD_V8_v7): Remove.
156 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
157
fbd6c928
AZ
1582019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
159
160 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
161 Remove file.
162 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
163
e47308c9
AZ
1642019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
165
166 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
167 NEARBYINT handling.
168 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
169 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
170 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
171 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
172 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
173 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
174
157cda1f 1752019-05-28 mansayk <6688000@gmail.com>
176
177 [BZ #24370]
178 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
179
182a3746 1802019-05-28 mansayk <6688000@gmail.com>
181
182 [BZ #24369]
183 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
184 (abmon): Likewise, but remove the trailing dots.
185
c6df1ce3
JM
1862019-05-28 Joseph Myers <joseph@codesourcery.com>
187
188 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
189
85188d82
FW
1902019-05-27 Florian Weimer <fweimer@redhat.com>
191
192 * nptl/nptl-init.c: Add comment.
193
5c23c821
FW
1942019-05-24 Florian Weimer <fweimer@redhat.com>
195
196 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
197 struct in_addr/struct in6_addr alignment.
198
bee1f2c4
JM
1992019-05-23 Joseph Myers <joseph@codesourcery.com>
200
201 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
202 (F_SEAL_FUTURE_WRITE): New macro.
203
481c30cb
AH
2042019-05-23 Alexandra Hajkova <ahajkova@redhat.com>
205
206 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
207 * elf/tst-ldconfig-bad-aux-cache.c: New file.
208 * elf/tst-ldconfig_aux-cache.root: New directory.
209 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
210 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
211 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
212
cb755eed
ZW
2132019-05-22 Zack Weinberg <zackw@panix.com>
214
215 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
216 host type.
217 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
218 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
219
220 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
223 Delete.
224
225 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
226 Issue an #error if used with a compiler in SPE-float mode.
227 * sysdeps/powerpc/powerpc32/__longjmp_common.S
228 * sysdeps/powerpc/powerpc32/setjmp_common.S
229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
235 Remove code to preserve SPE register state.
236
237 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
238 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
239 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
240 Remove __SPE__ ifndefs.
241
46ae0732
WD
2422019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
243
244 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
245 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
246 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
247 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
248 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
249 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
250 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
251 (INNER_LOOP_ITERS_MEDIUM): New define.
252 (INNER_LOOP_ITERS_SMALL): New define.
253 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
254 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
255 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
256 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
257 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
258
004e52fe
AZ
2592019-05-21 Adhemeval Zanella <adhemerval.zanella@linaro.org>
260
261 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
262 New define.
263 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
264 (SEMTIMEDOP_IPC_ARGS): Likewise.
265
c9c15ac3
FW
2662019-05-21 Florian Weimer <fweimer@redhat.com>
267
268 [BZ #24584]
269 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
270 before updating __counter field and release it afterwards. Add
271 overflow check.
272 * iconv/gconv.h (struct __gconv_step): Mention synchronization
273 requirement for __counter member.
274
7e740ab2
FW
2752019-05-21 Florian Weimer <fweimer@redhat.com>
276
277 [BZ #24583]
278 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
279 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
280 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
281 instead of __gconv_release_step.
282 * libio/Makefile (tests): Add tst-wfile-gconv.
283 (tests-container): Add tst-wfile-ascii.
284 (tst-wfile-gconv-ENV): Enable mtrace.
285 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
286 (tests-special): Add tst-wfile-gconv-mem.out.
287 (tst-wfile-gconv.out): Depend on locales.
288 (tst-wfile-gconv-mem.out): Add mtrace rule.
289 * libio/tst-wfile-ascii.c: New file.
290 * libio/tst-wfile-gconv.c: Likewise.
291
09e1b0e3
FW
2922019-05-20 Florian Weimer <fweimer@redhat.com>
293
294 [BZ #24588]
295 libio: Remove codecvt vtable.
296 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
297 __libio_codecvt.
298 * libio/iofgetpos.c (_IO_new_fgetpos): Call
299 __libio_codecvt_encoding.
300 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
301 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
302 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
303 * libio/iofwide.c (__libio_codecvt): Remove variable.
304 (_IO_fwide): Do not copy __libio_codecvt.
305 (__libio_codecvt_out): Rename from do_out and export.
306 (do_unshift): Remove function.
307 (__libio_codecvt_in): Rename from do_in and export.
308 (__libio_codecvt_encoding): Rename from do_encoding and export.
309 (do_always_noconv): Remove function.
310 (__libio_codecvt_length): Rename from do_length and export.
311 (do_max_length): Remove function.
312 * libio/libio.h (enum __codecvt_result): Remove definition; moved
313 to libioP.h.
314 (struct _IO_codecvt): Remove fields __codecvt_destr,
315 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
316 __codecvt_do_encoding, __codecvt_do_always_noconv,
317 __codecvt_do_length, __codecvt_do_max_length.
318 * libio/libioP.h (enum __codecvt_result): Define; moved from
319 libio.h.
320 (__libio_codecvt_out, __libio_codecvt_in)
321 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
322 functions.
323 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
324 (_IO_wfile_underflow): Call __libio_codecvt_in.
325 (_IO_wfile_underflow): Likewise.
326 (_IO_wfile_underflow_mmap): Likewise.
327 (_IO_wfile_sync): Call __libio_codecvt_encoding,
328 __libio_codecvt_length.
329 (adjust_wide_data): Call __libio_codecvt_encoding,
330 __libio_codecvt_in.
331 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
332 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
333 __libio_codecvt_length.
334
75c51570
FW
3352019-05-20 Florian Weimer <fweimer@redhat.com>
336
337 * support/support.h (support_sbindir_prefix): Declare.
338 (support_install_rootsbindir): Update comment.
339 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
340 * support/support_paths.c (support_sbindir_prefix): Define.
341
ff6bec7d
MC
3422019-05-20 Mike Crowe <mac@mcrowe.com>
343
b62bb3bc
MC
344 * support/timespec.c: Add backslash to correct newline in failure
345 message.
346
ff6bec7d
MC
347 * support/timespec.h: Correct confusing comment.
348
dfba907f
AZ
3492019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
350
236c18e5
AZ
351 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
352 define.
353 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
354 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
355 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
356 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
357
dfba907f
AZ
358 [BZ #24570]
359 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
360 usage.
361
13886008
JM
3622019-05-20 Joseph Myers <joseph@codesourcery.com>
363
364 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
365 (NT_ARM_PACG_KEYS): Likewise.
366
1f50f2ad
WD
3672019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
368
369 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
370 (tcache_put): Remove redundant assert.
371 (tcache_get): Remove redundant asserts.
372 (__libc_malloc): Check tcache count is not zero.
373 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
374
fef7c63c
FW
3752019-05-17 Florian Weimer <fweimer@redhat.com>
376
377 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
378
5f161b23
JM
3792019-05-16 Joseph Myers <joseph@codesourcery.com>
380
381 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
382 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
383 0x050100].
384 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
385 Likewise.
386 * sysdeps/unix/sysv/linux/sh/kernel-features.h
387 (__ASSUME_STATX): Likewise.
388
ec255a97
FW
3892019-05-16 Florian Weimer <fweimer@redhat.com>
390
391 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
392 flags argument.
393 (LINE_PARSER): Do not map IPv4 addresses.
394 (internal_nis_gethostent_r): Remove flags argument. Adjust call
395 to parse_line.
396 (_nss_nis_gethostent_r): Always pass AF_INET to
397 internal_nis_gethostent_r.
398 (internal_gethostbyname2_r): Remove flags argument. Adjust call
399 to parse_line.
400 (_nss_nis_gethostbyname2_r): Adjust call to
401 internal_nis_gethostent_r.
402 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
403 call to internal_nis_gethostent_r.
404 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
405 from parse_line.
406 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
407 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
408 Remove flags argument. Do not map IPv4 addresses.
409 (internal_nisplus_gethostent_r): Adjust call to
410 _nss_nisplus_parse_hostent.
411 (internal_gethostbyname2_r): Remove flags argument. Adjust call
412 to _nss_nisplus_parse_hostent.
413 (_nss_nisplus_gethostbyname2_r): Adjust call to
414 internal_gethostbyname2_r.
415 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
416 Adjust call to internal_gethostbyname2_r.
417 (_nss_nisplus_gethostbyaddr_r): Adjust call to
418 _nss_nisplus_parse_hostent.
419 (_nss_nisplus_gethostbyname4_r): Adjust call to
420 internal_gethostbyname2_r.
421
9c02d078
FW
4222019-05-16 Florian Weimer <fweimer@redhat.com>
423
424 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
425 Remove flags.
426 (LINE_PARSER): Remove address mapping.
427 (EXTRA_ARGS_VALUE): Remove flags argument.
428 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
429 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
430 gethostbyname3_multi.
431 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
432 _nss_files_gethostbyname3_r.
433 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
434
85b0e1e8
FW
4352019-05-16 Florian Weimer <fweimer@redhat.com>
436
437 * support/support_test_compare_blob.c (report_blob): Report
438 incorrect NULL blobs.
439
11b451c8
MW
4402019-05-15 Mark Wielaard <mark@klomp.org>
441
442 [BZ# 24476]
443 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
444 __libc_once_get (once) and static_buf == NULL.
445 (__dlerror): Check we have a valid key, set result to static_buf
446 otherwise.
447
32ff3975
AS
4482019-05-15 Andreas Schwab <schwab@suse.de>
449
450 [BZ #20568]
451 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
452 __codecvt_do_length.
453 * libio/Makefile (tests): Add tst-wfile-sync.
454 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
455 * libio/tst-wfile-sync.c: New file.
456 * libio/tst-wfile-sync.input: New file.
457
a9368c34
FW
4582019-05-15 Florian Weimer <fweimer@redhat.com>
459
460 nss: Turn __nss_database_lookup into a compatibility symbol.
461 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
462 __nss_database_lookup.
463 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
464 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
465 __nss_database_lookup.
466 (__nss_next): Move to …
467 * nss/compat-lookup.c (nss_next): … here. Change it to fail
468 unconditionally.
469 (__nss_database_lookup): New function.
470 * nss/Versions (GLIBC_2.0): Update comment.
471 (GLIBC_PRIVATE): Export __nss_database_lookup2.
472 * grp/initgroups.c (internal_getgrouplist): Call
473 __nss_database_lookup2 instead of __nss_database_lookup.
474 * nscd/aicache.c (addhstaiX): Likewise.
475 * nscd/initgrcache.c (addinitgroupsX): Likewise.
476 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
477 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
478 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
479 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
480 Likewise.
481 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
482 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
483 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
484
d50f0918 4852019-05-15 Alexandra Hajkova <ahajkova@redhat.com>
32ff3975 486
d50f0918
AH
487 * support/support.h (support_install_rootsbindir): New variable.
488 * support/support_paths.c: Likewise.
489 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
490
7ac6fad9
FW
4912019-05-15 Florian Weimer <fweimer@redhat.com>
492
493 * iconv/gconv.h (__gconv_transliterate): Move declaration …
494 * iconv/gconv_int.h (__gconv_transliterate): … here.
495 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
496 * iconv/skeleton.c: Likewise.
497
04b261bd
FW
4982019-05-14 Florian Weimer <fweimer@redhat.com>
499
500 Linux: Add the tgkill function.
501 * bits/signal_ext.h: New file.
502 * manual/signal.texi (Signaling Another Process): Document tgkill.
503 * signal/Makefile (headers): Add bits/signal_ext.h.
504 * signal/signal.h: Include <bits/signal_ext.h>.
505 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
506 (tst-tgkill): Link with libpthread.
507 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
508 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
509 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
510 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
511 tgkill.
512 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
513 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
514 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
515 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
516 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
517 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
518 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
519 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
520 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
521 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
522 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
523 Likewise.
524 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
525 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
526 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
528 Likewise.
529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
530 Likewise.
531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
532 Likewise.
533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
534 Likewise.
535 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
536 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
537 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
538 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
539 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
540 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
541 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
542 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
543
6807f47b
CD
5442019-05-14 Carlos O'Donell <carlos@redhat.com>
545
546 * manual/search.texi (Tree Search Function): Adjust twalk_r
547 documentation.
548
fdb8a0be
AZ
5492019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
550
da2b83ef
AZ
551 [BZ #24544]
552 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
553 pre-defined value.
554
c7ac9caa
AZ
555 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
556 * support/support.h (support_bindir_prefix): New variable.
557 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
558
91f043ae
AZ
559 * config.make.in (bindir): New variable.
560
c50e1c26
AZ
561 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
562 (lll_trylock): Call __lll_trylock.
563 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
564 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
565 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
566 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
567 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
568 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
569 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
570 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
571 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
572 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
573 lowlevellock-futex.h.
574
959aff9f
AZ
575 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
576 initialization for LLL_LOCK_INITIALIZER different than 0.
577 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
578 Assume LLL_LOCK_INITIALIZER being 0.
579 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
580 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
581 Likewise.
582 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
583 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
584
d7e4c642
AZ
585 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
586 Optimize futex call and add systemtap probe.
587
fdb8a0be
AZ
588 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
589 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
590 __libc_disable_asynccancel, __librt_enable_asynccancel,
591 __libc_disable_asynccancel, __librt_enable_asynccancel,
592 __librt_disable_asynccancel): Move to ...
593 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
594 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
595 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
596 * sysdeps/generic/single-thread.h: New file.
597 * sysdeps/unix/sysdep.h: Include single-thread.h.
598 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
599 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
600
f6efec90
MF
6012019-05-08 Mike FABIAN <mfabian@redhat.com>
602
603 [BZ #24535]
604 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
605 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
606 Unicode 12.1.0.
607 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
608 * localedata/unicode-gen/PropList.txt: Likewise.
609 * localedata/unicode-gen/UnicodeData.txt: Likewise.
610 * localedata/charmaps/UTF-8: Regenerate.
611 * localedata/locales/i18n_ctype: Likewise.
612 * localedata/locales/tr_TR: Likewise.
613 * localedata/locales/translit_circle: Likewise.
614 * localedata/locales/translit_cjk_compat: Likewise.
615 * localedata/locales/translit_combining: Likewise.
616 * localedata/locales/translit_compat: Likewise.
617 * localedata/locales/translit_font: Likewise.
618 * localedata/locales/translit_fraction: Likewise.
619
5ad533e8
WD
6202019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
621
622 [BZ #24531]
623 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
624 (do_set_tcache_count): Only update if count is small enough.
625 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
626
4aee85f9
FW
6272019-05-10 Florian Weimer <fweimer@redhat.com>
628
629 * nptl/sem_close.c (struct walk_closure): Define.
630 (walker): Adjust for __twalk_r.
631 (sem_close): Call __twalk_r.
632
eb669ff5
AZ
6332019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
634
635 * support/timespec.c (test_timespec_before_impl,
636 test_timespec_equal_or_after_impl): print timespec member as intmax_t
637 insted of long int.
638
51983996
MC
6392019-05-09 Mike Crowe <mac@mcrowe.com>
640
44ac6ee9
MC
641 * nptl/tst-abstime.c: Use libsupport.
642
495514ee
MC
643 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
644 small bug where only tv.tv_usec was checked which could cause an
645 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
646 than a second.
647
648 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
649 libsupport.
650
40d0816f
MC
651 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
652 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
653
d8e0b901
MC
654 * nptl/tst-cond11.c: Use libsupport.
655
51983996
MC
656 * support/timespec.h: New file. Provide timespec helper functions
657 along with macros in the style of those in check.h.
658 * support/timespec.c: New file. Implement check functions declared
659 in support/timespec.h.
660 * support/timespec-add.c: New file from gnulib containing
661 timespec_add implementation that handles overflow.
662 * support/timespec-sub.c: New file from gnulib containing
663 timespec_sub implementation that handles overflow.
664 * support/README: Mention timespec.h.
665
18aa51ee
SN
6662019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
667
668 [BZ #24537]
669 * nptl/Makefile: Move tst-eintr1 to xtests.
670
252296c6
AZ
6712019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
672
ae45cf84
AZ
673 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
674 TRUNC handling.
675 (round_mode): Add definition for TRUNC.
676 * sysdeps/powerpc/fpu/s_trunc.c: New file.
677 * sysdeps/powerpc/fpu/s_truncf.c: New file.
678 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
679 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
680 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
681 Likewise.
682 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
683 Likewise.
684 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
685 Likewise.
686 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
687 Likewise.
688 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
689 file.
690 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
691 Likewise.
692 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
693 Likewise.
694 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
695 Likewise.
696 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
697 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
698 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
699 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
700 s_truncf-power5+, and s_truncf-ppc64.
701 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
702 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
703 file.
704 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
705 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
706 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
707 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
708 file.
709 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
710 Likewise.
711 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
712 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
713 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
714 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
715 s_truncf-power5+, and s_truncf-ppc64.
716 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
717 file.
718 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
719 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
720 Likewise.
721 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
722 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
723 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
724 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
725 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
726
a1cb1888
AZ
727 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
728 ROUND handling.
729 (round_mode): Add definition for ROUND.
730 (round_to_integer_float): Likewise.
731 * sysdeps/powerpc/fpu/s_round.c: New file.
732 * sysdeps/powerpc/fpu/s_roundf.c: New file.
733 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
734 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
735 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
736 Likewise.
737 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
738 Likewise.
739 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
740 Likewise.
741 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
742 Likewise.
743 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
744 file.
745 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
746 Likewise.
747 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
748 Likewise.
749 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
750 Likewise.
751 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
752 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
753 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
754 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
755 s_roundf-power5+, and s_roundf-ppc64.
756 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
757 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
758 file.
759 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
761 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
762 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
763 file.
764 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
765 Likewise.
766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
767 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
768 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
769 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
770 s_roundf-power5+, and s_roundf-ppc64.
771 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
772 file.
773 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
774 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
775 Likewise.
776 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
777 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
778 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
779 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
780 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
781
252296c6
AZ
782 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
783 Add FLOOR option.
784 (round_mode): Add definition for FLOOR.
785 * sysdeps/powerpc/fpu/s_floor.c: New file.
786 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
787 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
788 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
790 Remove file.
791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
792 Likewise
793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
794 Likewise.
795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
796 Likewise.
797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
798 New file.
799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
800 Likewise.
801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
802 Likewise.
803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
804 Likewise.
805 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
806 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
807 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
808 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
809 s_floorf-power5+, and s_floorf-ppc64.
810 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
811 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
812 file.
813 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
815 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
816 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
817 file.
818 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
819 Likewise.
820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
821 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
822 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
823 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
824 s_floorf-power5+, and s_floorf-ppc64.
825 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
826 file.
827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
828 file.
829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
830 Likewise.
831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
832 Likewise.
833 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
834 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
835 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
836 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
837
33647a72
MC
8382019-05-08 Mike Crowe <mac@mcrowe.com>
839
840 * support/xclock_gettime.c (xclock_gettime): New file. Provide
841 clock_gettime wrapper for use in tests that fails the test rather
842 than returning failure.
843
844 * support/xtime.h: New file to declare xclock_gettime.
845
846 * support/Makefile: Add xclock_gettime.c.
847
848 * support/README: Mention xtime.h.
849
b2f601ba
FW
8502019-05-08 Florian Weimer <fweimer@redhat.com>
851
852 malloc/tst-mallocfork2: Use process-shared barriers.
853 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
854 (signal_count, sigusr1_sender_pid): Remove.
855 (iterations): Define constant.
856 (shared): New variable.
857 (sigusr1_received): Update comment.
858 (sigusr1_handler): Do not send SIGSTOP to the sender process.
859 (signal_sender): Optional use barriers to avoid sending signals
860 during irrelevant times.
861 (do_it): Initialize variable shared. Use xfork for error
862 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
863 the iteration count, independent of signal delivery. Check for
864 deadlocks in fork. Introduce barriers for reducing signal
865 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
866 replaced by the barriers. Count signals during fork/free/malloc
867 and report them.
868 * malloc/Makefile (tst-mallocfork): Link with libpthread.
869
c4a392cf
JM
8702019-05-07 Joseph Myers <joseph@codesourcery.com>
871
7621676f
JM
872 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
873 version to 5.1.
874 (clock_adjtime64) New syscall.
875 (clock_getres_time64) Likewise.
876 (clock_gettime64) Likewise.
877 (clock_nanosleep_time64) Likewise.
878 (clock_settime64) Likewise.
879 (futex_time64) Likewise.
880 (io_pgetevents_time64) Likewise.
881 (io_uring_enter) Likewise.
882 (io_uring_register) Likewise.
883 (io_uring_setup) Likewise.
884 (mq_timedreceive_time64) Likewise.
885 (mq_timedsend_time64) Likewise.
886 (pidfd_send_signal) Likewise.
887 (ppoll_time64) Likewise.
888 (pselect6_time64) Likewise.
889 (recvmmsg_time64) Likewise.
890 (rt_sigtimedwait_time64) Likewise.
891 (sched_rr_get_interval_time64) Likewise.
892 (semtimedop_time64) Likewise.
893 (timer_gettime64) Likewise.
894 (timer_settime64) Likewise.
895 (timerfd_gettime64) Likewise.
896 (timerfd_settime64) Likewise.
897 (utimensat_time64) Likewise.
898
c4a392cf
JM
899 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
900 version to 9 branch.
901
32e902a9
AY
9022019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
903
904 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
905 __memmove_thunderx2 to the list of implementations
906 * sysdeps/aarch64/multiarch/memmove.c: Likewise
907 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
908 (__memmove_thunderx2): Rewritten using SIMD ld/st
909 (__memcpy_thunderx2): Fixed handling overlapping cases.
910 Used ldp/stp instead of ldr/str if possible. Made loops
911 tails branchless.
912
ac3da35d
FW
9132019-05-03 Florian Weimer <fweimer@redhat.com>
914
915 * misc/tst-tsearch.c (walk_tree): Add more error checking.
916
b2af6fb2
AZ
9172019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
918
7dfde28a 919 [BZ #24506]
b2af6fb2
AZ
920 * elf/tst-pldd.c (in_str_list): New function.
921 (do_test): Add default names for ld and libc as one option.
922
7b807a35
FW
9232019-05-02 Florian Weimer <fweimer@redhat.com>
924
925 misc: Add twalk_r function.
926 * include/search.h (__twalk_r): Declare.
927 * manual/examples/twalk.c: New file.
928 * manual/search.texi (Tree Search Function): Document twalk_r.
929 * misc/Versions (2.30): Export twalk_r.
930 (GLIBC_PRIVATE): Export __twalk_r.
931 * misc/search.h [__USE_GNU] (twalk_r): Declare.
932 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
933 (twalk_r): Add weak alias.
934 * misc/tst-tsearch.c (struct walk_trace_element): Define.
935 (walk_trace): New variable.
936 (struct twalk_with_twalk_r_closure): Define.
937 (twalk_with_twalk_r_action): New function.
938 (twalk_with_twalk_r): Likewise.
939 (walk_action): Call walk_trace_add.
940 (walk_tree_with): Rename from walk_tree. Add walk argument.
941 (walk_tree): New function.
942 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
943 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
944 Likewise.
945 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
946 Likewise.
947 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
948 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
949 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
950 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
951 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
952 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
953 Likewise.
954 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
955 Likewise.
956 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
957 Likewise.
958 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
959 (GLIBC_2.30): Likewise.
960 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
961 (GLIBC_2.30): Likewise.
962 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
963 (GLIBC_2.30): Likewise.
964 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
965 (GLIBC_2.30): Likewise.
966 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
967 Likewise.
968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
969 (GLIBC_2.30): Likewise.
970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
971 (GLIBC_2.30): Likewise.
972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
973 (GLIBC_2.30): Likewise.
974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
975 (GLIBC_2.30): Likewise.
976 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
977 Likewise.
978 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
979 Likewise.
980 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
981 Likewise.
982 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
983 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
984 Likewise.
985 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
986 Likewise.
987 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
988 Likewise.
989 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
990 Likewise.
991
20aa5819
PE
9922019-04-30 Paul Eggert <eggert@cs.ucla.edu>
993
994 Make mktime etc. compatible with __time64_t
995 Keep these functions compatible with Gnulib while adding
996 __time64_t support. The basic idea is to move private API
997 declarations from include/time.h to time/mktime-internal.h, since
998 the former file cannot easily be shared with Gnulib whereas the
999 latter can.
1000 Also, do some other minor cleanup while in the neighborhood.
1001 * include/time.h: Include stdbool.h, time/mktime-internal.h.
1002 (__mktime_internal): Move this prototype to time/mktime-internal.h,
1003 since Gnulib needs it.
1004 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
1005 Move these macros to time/mktime-internal.h, since Gnulib needs them.
1006 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
1007 (in_time_t_range): New static function.
1008 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
1009 so that glibc users are not tempted to use __time64_t.
1010 * time/mktime-internal.h: Rewrite so that it does both glibc
1011 and Gnulib work. Include time.h if not _LIBC.
1012 (mktime_offset_t) [!_LIBC]: Define for gnulib.
1013 (__time64_t): New type or macro, moved here from
1014 posix/bits/types.h.
1015 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
1016 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
1017 from include/time.h.
1018 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
1019 New macros, taken from GNulib.
1020 (__mktime_internal): New prototype, moved here from include/time.h.
1021 * time/mktime.c (mktime_min, mktime_max, convert_time)
1022 (ranged_convert, __mktime_internal, __mktime64):
1023 * time/timegm.c (__timegm64):
1024 Use __time64_t, not time_t.
1025 * time/mktime.c: Stop worrying about whether time_t is floating-point.
1026 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
1027 Rename from mktime.
1028 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
1029 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
1030 for libc_hidden_def.
1031 Include errno.h.
1032 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
1033 Rename from timegm.
1034 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
1035
87c266d7
MR
10362019-04-30 Maciej W. Rozycki <macro@wdc.com>
1037
1038 [BZ #19444]
1039 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
1040 from `-Wmaybe-uninitialized'.
1041 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
1042
c4c0848b
AZ
10432019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1044
6cac323c
AZ
1045 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
1046 function.
1047 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
1048 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
1049 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
1050 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
1051 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
1052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1053 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
1054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1055 Remove file.
1056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
1057 Likewise.
1058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1059 Likewise.
1060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
1061 Likewise.
1062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
1063 New file.
1064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
1065 Likewise.
1066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
1067 Likewise.
1068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
1069 Likewise.
1070 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
1071 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
1072 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
1073 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
1074 Likewise.
1075 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
1076 Likewise.
1077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
1078 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
1079 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
1080 file.
1081 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
1082 Likewise.
1083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
1084 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
1085 * here.
1086 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1087 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
1088 s_ceilf-power5+, and s_ceilf-ppc64.
1089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
1090 file.
1091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
1092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
1093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
1094 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
1095 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
1096 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
1097 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
1098
c4c0848b
AZ
1099 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
1100 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
1101 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
1102
f492fc99
YD
11032019-04-29 Yann Droneaud <ydroneaud@opteya.com>
1104
1105 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
1106 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
1107 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
1108 (sem_getvalue): Likewise.
1109
c57afec0
FW
11102019-04-26 Florian Weimer <fweimer@redhat.com>
1111
1112 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
1113 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
1114
a8ff215e
FW
11152019-04-26 Florian Weimer <fweimer@redhat.com>
1116
1117 Makeconfig: Move -Wl,-rpath-link options before library references.
1118 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
1119 (link-libc): Remove $(link-libc-rpath-link).
1120
11212019-04-25 Florian Weimer <fweimer@redhat.com>
1122
1123 * Makeconfig (+link-pie-before-libc): Remove $(CC).
1124 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
1125 (+link-static-before-libc): Remove $(CC).
1126 (+link-static, +link-static-tests): Add $(CC).
1127 (+link-before-libc): Remove $(CC).
1128 (+link, +link-pie, +link-pie-printers): Add $(CC).
1129
e30fb31c
FW
11302019-04-26 Florian Weimer <fweimer@redhat.com>
1131
1132 * Makeconfig (+link-pie-before-libc): Remove $(CC).
1133 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
1134 (+link-static-before-libc): Remove $(CC).
1135 (+link-static, +link-static-tests): Add $(CC).
1136 (+link-before-libc): Remove $(CC).
1137 (+link, +link-pie, +link-pie-printers): Add $(CC).
1138
deacca00
DA
11392019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
1140
1141 [BZ#24484]
1142 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
1143
b5ffdc48
FW
11442019-04-25 Florian Weimer <fweimer@redhat.com>
1145
1146 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
1147 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
1148 (bench-link-targets): New variable.
1149 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
1150
94a4e9e4
FW
11512019-04-25 Florian Weimer <fweimer@redhat.com>
1152
1153 Also enable BIND_NOW for programs if --enable-bind-now.
1154 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
1155 (+link-pie): Use $(link-extra-flags).
1156 (+link-static): Likewise.
1157 [! $(build-pie-default)] (+link): Likewise.
1158 * manual/install.texi (Configuring and compiling): Update
1159 --enable-bind-now description.
1160 * INSTALL: Regenerated.
1161
fe92a91f
WD
11622019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
1163
1164 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
1165 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
1166
f9b645b4
MF
11672019-04-24 Mike Frysinger <vapier@gentoo.org>
1168
1169 [BZ #18465]
1170 * malloc/Makefile (others): Add memusagestat.
1171 ($(objpfx)memusagestat): Delete rule.
1172 (LDLIBS-memusagestat): New variable.
1173
439bf534
FW
11742019-04-24 Florian Weimer <fweimer@redhat.com>
1175
1176 * locale/Makefile (tests-special): Guard setting by
1177 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
1178 to run while cross-compiling.
1179
1a4c2735
AZ
11802019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1181
1182 [BZ #18035]
1183 * elf/Makefile (tests-container): Add tst-pldd.
1184 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
1185 (E(find_maps)): Avoid use alloca, use default read file operations
1186 instead of explicit LFS names, and fix infinite loop.
1187 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
1188 (get_process_info): Use _Static_assert instead of assert, use default
1189 directory operations instead of explicit LFS names, and free some
1190 leadek pointers.
1191 * elf/tst-pldd.c: New file.
1192
2d398aa2
L
11932019-04-23 H.J. Lu <hongjiu.lu@intel.com>
1194
1195 * malloc/arena.c (do_set_mallopt_check): Removed.
1196
e485b2b6
FW
11972019-04-23 Florian Weimer <fweimer@redhat.com>
1198
1199 locale: Add LOCPATH diagnostics to the locale program.
1200 * locale/programs/locale.c (setlocale_failed): New variable.
1201 (try_setlocale): New function.
1202 (quote_string): Likewise.
1203 (setlocale_diagnostics): Likewise.
1204 (main): Call try_setlocale instead of setlocale. Call
1205 setlocale_diagnostics.
1206 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
1207 (tst-locale-locpath.out): New target.
1208 * locale/tst-locale-locpath.sh: New file.
1209
25f7a3c9
AZ
12102019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1211
1212 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
1213 to 2.30 notes.
1214
9bf8e29c
AZ
12152019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1216
1217 [BZ #23741]
1218 * malloc/hooks.c (malloc_check, realloc_check): Use
1219 __builtin_add_overflow on overflow check and adapt to
1220 checked_request2size change.
1221 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
1222 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
1223 allocation size to PTRDIFF_MAX.
1224 (REQUEST_OUT_OF_RANGE): Remove macro.
1225 (checked_request2size): Change to inline function and limit maximum
1226 requested size to PTRDIFF_MAX.
1227 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
1228 maximum allocation size to PTRDIFF_MAX.
1229 (_mid_memalign): Use _int_memalign call for overflow check.
1230 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
1231 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
1232 limit maximum requested size to PTRDIFF_MAX.
1233 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
1234 valloc, pvalloc): Add __attribute_alloc_size__.
1235 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
1236 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
1237 larger than PTRDIFF_MAX.
1238 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
1239 around tests of malloc with negative sizes.
1240 * malloc/tst-posix_memalign.c (do_test): Likewise.
1241 * malloc/tst-pvalloc.c (do_test): Likewise.
1242 * malloc/tst-valloc.c (do_test): Likewise.
1243 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
1244 with resulting size allocation larger than PTRDIFF_MAX with
1245 reallocarray_nowarn.
1246 (reallocarray_nowarn): New function.
1247 * NEWS: Mention the malloc function semantic change.
1248
0e169691
AZ
12492019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1250
52faba65
AZ
1251 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
1252 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
1253
3a16dd78
AZ
1254 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
1255 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
1256 * sysdeps/powerpc/fpu/s_fma.c: New file.
1257 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
1258
1dac8bd6
AZ
1259 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
1260 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
1261
a3ae315a
AZ
1262 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
1263 the magic flag store.
1264 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
1265 Likewise.
1266 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
1267 Likewise.
1268 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
1269 Remove rt_sigreturn call.
1270
ffe8a9a8
AZ
1271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1272 Remove rt_sigreturn call.
1273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1274 Likewise.
1275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
1276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1277
0e169691
AZ
1278 * support/Makefile (libsupport-routines): Add support_subprocess,
1279 xposix_spawn, xposix_spawn_file_actions_addclose, and
1280 xposix_spawn_file_actions_adddup2.
1281 (tst-support_capture_subprocess-ARGS): New rule.
1282 * support/capture_subprocess.h (support_capture_subprogram): New
1283 prototype.
1284 * support/support_capture_subprocess.c (support_capture_subprocess):
1285 Refactor to use support_subprocess and support_capture_poll.
1286 (support_capture_subprogram): New function.
1287 * support/tst-support_capture_subprocess.c (write_mode_to_str,
1288 str_to_write_mode, test_common, parse_int, handle_restart,
1289 do_subprocess, do_subprogram, do_multiple_tests): New functions.
1290 (do_test): Add support_capture_subprogram tests.
1291 * support/subprocess.h: New file.
1292 * support/support_subprocess.c: Likewise.
1293 * support/xposix_spawn.c: Likewise.
1294 * support/xposix_spawn_file_actions_addclose.c: Likewise.
1295 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
1296 * support/xspawn.h: Likewise.
1297
bae8cf0e
MG
12982019-04-17 Mike Gerow <gerow@google.com>
1299
1300 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
1301 groups limit.
1302
e3f454ba
FW
13032019-04-11 Florian Weimer <fweimer@redhat.com>
1304
1305 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
1306 domain with empty string.
1307 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1308
32d85c11
FW
13092019-04-11 Florian Weimer <fweimer@redhat.com>
1310
1311 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
1312 comment.
1313 (alloc_buffer_next): Change return type to non-const. Update
1314 comment.
1315
221710af
FW
13162019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
1317
1318 * manual/time.texi (Formatting Calendar Time): Add missing percent
1319 sign to conversion specifier.
1320
e621246e
CD
13212019-04-09 Carlos O'Donell <carlos@redhat.com>
1322 Kwok Cheung Yeung <kcy@codesourcery.com>
1323
1324 [BZ #16573]
1325 * malloc/mtrace.c: Define prototypes for all hooks.
1326 (set_default_hooks): New function.
1327 (set_trace_hooks): Likewise.
1328 (save_default_hooks): Likewise.
1329 (tr_freehook): Use new s*_hooks functions.
1330 (tr_mallochook): Likewise.
1331 (tr_reallochook): Likewise.
1332 (tr_memalignhook): Likewise.
1333 (mtrace): Likewise.
1334 (muntrace): Likewise.
1335
648279f4
WD
13362019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1337
1338 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
1339 (generic_stpcpy): New function.
1340 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
1341 (generic_stpncpy): New function.
1342 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
1343 (generic_strcat): New function.
1344 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
1345 (generic_strcpy): New function.
1346 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
1347 (STUPID_STRNCAT): Remove function.
1348 (generic_strncat): New function.
1349 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
1350 (STUPID_STRNCPY): Remove function.
1351 (generic_strncpy): New function.
1352 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
1353 (generic_strnlen): New function.
1354 (memchr_strnlen): New function.
1355 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
1356 (memchr_strlen): Likewise.
1357
93eebae5
WD
13582019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1359
1360 * benchtests/bench-strstr.c (input): Add realistic input text.
1361 (stupid_strstr): Remove function.
1362 (basic_strstr): Add function.
1363 (twoway_strstr): Add function.
1364 (do_one_test): Add result checking.
1365 (do_test): Use new input text. Remove accidental early matches.
1366 (test_main): Improve range of tests, reduce unaligned cases.
1367
a173d09f
WD
13682019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1369
1370 * benchtests/bench-memmem.c (simple_memmem): Remove function.
1371 (basic_memmem): Add function.
1372 (twoway_memmem): Add function.
1373
6103c0a8
WD
13742019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1375
1376 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
1377 * benchtests/bench-malloc-thread.c: Likewise.
1378 * benchtests/bench-skeleton.c: Likewise.
1379 * benchtests/bench-strtod.c: Likewise.
1380 * benchtests/bench-timing.h: Likewise.
1381
33322186
FW
13822019-04-08 Florian Weimer <fweimer@redhat.com>
1383
1384 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
1385 definitions.
1386 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
1387 RES_INSECURE2 security checks.
1388 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
1389 RES_INSECURE2 handling.
1390
3f8b44be
FW
13912019-04-08 Florian Weimer <fweimer@redhat.com>
1392
1393 resolv: Remove support for RES_USE_INET6 and the inet6 option.
1394 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
1395 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
1396 GETHOSTBYNAME.
1397 * resolv/Makefile (tests): Remove tst-res_use_inet6.
1398 (tests-internal): Update justification for tst-resolv-res_init,
1399 tst-resolv-res_init-thread.
1400 (tst-res_use_inet6): Remove target.
1401 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
1402 * resolv/res_debug.c (p_option): Remove "inet6" support.
1403 * resolv/res_init.c (res_setoptions): Likewise.
1404 * resolv/res_use_inet6.h: Remove file.
1405 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
1406 definition.
1407 (res_use_inet6): Always return false.
1408 * resolv/resolv.h (RES_USE_INET6): Remove definition.
1409 * resolv/resolv_context.h: Adjust file comment.
1410 (struct resolv_context): Update comment on __next field.
1411 (__resolv_context_put): Update comment.
1412 * resolv/tst-res_use_inet6.c: Remove file.
1413 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
1414 "inet6" support.
1415 (test_cases): Adjust test case.
1416 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
1417 (thread_byname2_af_inet6): Use old byname_inet6 code.
1418 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
1419 (gai): Remove do_inet6 argument.
1420 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
1421 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
1422 (thread_gai_unspec_inet6): Remove functions.
1423 (do_test): Adjust thread_funcs.
1424 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
1425 RES_USE_INET6 flag.
1426 (gaih_inet): Do not disable RES_USE_INET6 flag.
1427
6b5c8607 14282019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
94e358f6
AY
1429
1430 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
1431 and remove redundant code.
1432
e3fd0b0e
AZ
14332019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1434
f82ed45d
AZ
1435 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
1436 New rule.
1437 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
1438 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
1439 Likewise.
1440 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
1441 Likewise.
1442 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
1443 Likewise.
1444 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
1445 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
1446 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
1447 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
1448 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
1449 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
1450 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1451 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
1452 wcsrchr-power7.
1453 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
1454 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1455 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1456 Remove wcsrchr optimizations.
1457 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1458
662c2cc4
AZ
1459 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
1460 the loop unroll.
1461
421e3005
AZ
1462 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
1463 New rule.
1464 * sysdeps/powerpc/power6/wcschr.c: Remove file.
1465 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
1466 Likewise.
1467 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
1468 Likewise.
1469 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
1470 Likewise.
1471 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
1472 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
1473 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
1474 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
1475 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1476 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
1477 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1478 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
1479 wcschr-power7.
1480 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
1481 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1482 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1483 Remove wcschr optimizations.
1484 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1485
7ba0100c
AZ
1486 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
1487 the loop unroll.
1488
447a1306
AZ
1489 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
1490 New rule.
1491 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
1492 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
1493 Likewise.
1494 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
1495 Likewise.
1496 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
1497 Likewise.
1498 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
1499 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
1500 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
1501 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
1502 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1503 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
1504 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1505 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
1506 wcscpy-power7.
1507 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
1508 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1509 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1510 Remove wcscpy optimizations.
1511 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1512
e3fd0b0e
AZ
1513 * include/loop_unroll.h: New file.
1514 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
1515 besides generic implementation.
1516
8260f236
DD
15172019-04-03 DJ Delorie <dj@redhat.com>
1518
1519 * time/tst-strftime3.c (tm_to_printed): Disable warning about
1520 snprintf truncating output.
1521
0bd545ee
DD
15222019-04-02 DJ Delorie <dj@redhat.com>
1523
1524 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
1525 warning.
1526
466afec3
TS
15272019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1528
1529 [BZ #22964]
1530 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
1531 era.
1532 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
1533 (mkreftable): Add rules for the new Japanese era and the new dates.
1534
2f1d6155
TS
15352019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1536 Rafal Luzynski <digitalfreak@lingonborough.com>
1537
1538 * time/tst-strftime2.c (date_t): Explicitly define the type.
1539 (dates): Use natural month and year numbers to express a date.
1540 (is_before): New function to compare dates.
1541 (mkreftable): Minor improvements to simplify maintenance.
1542 (do_test): Reflect the changes in dates array.
1543
84aea169
TS
1544 [BZ #24293]
1545 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
1546 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
1547 * time/tst-strftime2.c (locales): Likewise.
1548 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
1549 2010-04-01, and 2011-04-01.
1550 (mkreftable): Add rules for the new locales and the new dates.
1551
62449176
CD
15522019-04-01 Carlos O'Donell <carlos@redhat.com>
1553
1554 * localedata/locales/ja_JP: Add comments to era entries.
1555
e0e4c321
DD
15562019-04-01 DJ Delorie <dj@redhat.com>
1557
1558 [BZ #24394]
1559 * time/strptime_l.c (%Ey): Fix fencepost error.
1560 * time/tst-strftime3.c: New.
1561 * time/Makefile (tests): Add tst-strftime3.
1562
6b5c8607 15632019-04-01 Uros Bizjak <ubizjak@gmail.com>
993e3107
UB
1564
1565 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
1566 conditional branch to DIVBYZERO. Fix unwind info.
1567 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
1568 excb after conditional branch to $powerof2. Add missing unop
1569 instructions and .align directives and reorder instructions to
1570 match __divqu.
1571
d5ecee82
RH
15722019-04-01 Richard Henderson <rth@twiddle.net>
1573
1574 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
1575 Do not redefine.
1576 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
1577 Do not redefine.
1578
656dd306
MR
15792019-03-30 Maciej W. Rozycki <macro@wdc.com>
1580
1581 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
1582 $libc_cv_riscv_float_abi in `test' invocation.
1583 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
1584
10cce669
PC
15852019-03-29 Paul A. Clarke <pc@us.ibm.com>
1586
1587 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
1588 asm with builtin.
1589 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
1590 Likewise.
1591 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1592 (_GET_SI_FPSCR): Likewise.
1593 (_SET_SI_FPSCR): Likewise.
1594
5e67e4bf 15952019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4997e8f3
AZ
1596
1597 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
1598 clang 2.8.
1599 (signbit): Use builtin for clang 3.3.
1600 (isinf): Use builtin for clang 3.7.
1601
01963891
AZ
16022019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1603
1604 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
1605
67112f7a
AH
16062019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
1607
1608 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
1609 quote in printf.
1610
7a773abf
MC
16112019-03-25 Mike Crowe <mac@mcrowe.com>
1612
82849fde
MC
1613 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
1614 pthread_rwlock_timedrdlock with calls to
1615 pthread_rwlock_timedwrlock to ensure that the latter is tested
1616 too. Use new function name in diagnostic messages too.
1617
7a773abf
MC
1618 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
1619 (do_test) Use libsupport test macros rather than hand-coded
1620 conditionals and error messages. Ensure that sem_init returns zero
1621 rather than not -1. Use <support/test-driver.c> rather than
1622 test-skeleton.c.
1623
1624 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
1625 test macros rather than hand-coded conditionals and error messages.
1626 Use <support/test-driver.c> rather than test-skeleton.c.
1627
9ac2de69
JM
16282019-03-25 Joseph Myers <joseph@codesourcery.com>
1629
d7563e62
JM
1630 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
1631
9ac2de69
JM
1632 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
1633 (NT_MIPS_MSA): Likewise.
1634
38cc11da
AZ
16352019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1636
7621e38b
WD
1637 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
1638 * benchtests/README: Update description.
1639 * benchtests/bench-timing.h: Default to hp-timing.
1640 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
1641 HP_TIMING_PRINT): Remove.
1642 (HP_TIMING_NOW): Add generic implementation.
1643 (hp_timing_t): Change to uint64_t.
1644
1e372ded
AZ
1645 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
1646 HP_TIMING_INLINE.
1647 * nptl/descr.h: Likewise.
1648 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
1649 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
1650 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
1651 Abstract hp-timing usage with RTLD_* macros.
1652 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
1653 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
1654 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
1655 HP_TIMING_NONAVAIL): Likewise.
1656 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
1657 Likewise.
1658 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
1659 HP_SMALL_TIMING_AVAIL): Likewise.
1660 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
1661 HP_SMALL_TIMING_AVAIL): Likewise.
1662 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
1663 HP_SMALL_TIMING_AVAIL): Likewise.
1664 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
1665 HP_SMALL_TIMING_AVAIL): Likewise.
1666 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
1667 Likewise.
1668 * sysdeps/generic/hp-timing-common.h: Update comment with
1669 HP_TIMING_AVAIL removal.
1670
359653aa
AZ
1671 * include/random-bits.h: New file.
1672 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
1673 (__res_context_mkquery): Remove usage hp-timing usage and replace with
1674 random_bits.
1675 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
1676 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
1677 Likewise.
1678
6e8ba7fd
AZ
1679 * include/libc-internal.h (__get_clockfreq): Remove prototype.
1680 * rt/Makefile (clock-routines): Remove get_clockfreq.
1681 * rt/get_clockfreq.c: Remove file.
1682 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
1683 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
1684 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
1685 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
1686 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
1687
77b6f553
AZ
1688 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
1689 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
1690 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
1691 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
1692 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
1693
38cc11da
AZ
1694 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
1695 pthread_clock_settime.
1696 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
1697 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
1698 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
1699 * elf/rtld.c (_dl_start_final): Likewise.
1700 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
1701 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
1702 Remove.
1703 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
1704 (_dl_cpuclock_offset): Remove.
1705 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
1706 cpuclock_offset_ununsed.
1707 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
1708 cpuclock_offset set.
1709 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
1710 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1711 * nptl/pthread_clock_gettime.c: Remove file.
1712 * nptl/pthread_clock_settime.c: Likewise.
1713 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
1714 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
1715 and CLOCK_PROCESS_CPUTIME_ID support.
1716 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
1717 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
1718 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
1719 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
1720 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
1721 Likewise.
1722 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
1723
421749d6
SL
17242019-03-22 Stefan Liebler <stli@linux.ibm.com>
1725
1726 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
1727 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
1728 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
1729 New defines.
1730 * sysdeps/s390/memmem-arch13.S: New file.
1731 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
1732 if it is only used as fallback.
1733 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
1734 * sysdeps/s390/multiarch/ifunc-impl-list.c
1735 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
1736
6f47401b
SL
17372019-03-22 Stefan Liebler <stli@linux.ibm.com>
1738
1739 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
1740 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
1741 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
1742 New defines.
1743 * sysdeps/s390/multiarch/ifunc-impl-list.c
1744 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
1745 * sysdeps/s390/strstr-arch13.S: New file.
1746 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
1747 if it is only used as fallback.
1748 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
1749
96fbb9a3
SL
17502019-03-22 Stefan Liebler <stli@linux.ibm.com>
1751
1752 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
1753 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
1754 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
1755 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
1756 ifunc selector.
1757 * sysdeps/s390/multiarch/ifunc-impl-list.c
1758 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
1759 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
1760 S390_IS_ARCH13_MIE3): New defines.
1761
a899a551
SL
17622019-03-22 Stefan Liebler <stli@linux.ibm.com>
1763
1764 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
1765 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
1766 * sysdeps/s390/configure.ac: Add checks for arch13 support.
1767 * sysdeps/s390/configure: Regenerated.
1768
1a7df49c
SL
17692019-03-22 Stefan Liebler <stli@linux.ibm.com>
1770
1771 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
1772 Add vxe2, vxp, dflt, sort flags.
1773 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
1774 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
1775 capabilities.
1776 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
1777 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
1778 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
1779 HWCAP_S390_DFLT): Define.
1780
5e67e4bf 17812019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5abcddd7
GG
1782
1783 [BZ #24372]
1784 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
1785 of compiler warning.
1786 * locale/programs/ld-collate.c (collate_output): Likewise.
1787
ac64195c
DD
17882019-03-21 DJ Delorie <dj@redhat.com>
1789
1790 [BZ #24372]
1791 * iconv/iconvconfig.c (write_output): Replace floating point math
1792 with integer math to avoid imprecise results.
1793 * locale/programs/ld-collate.c (collate_output): Likewise.
1794
61f5e947
SL
17952019-03-21 Stefan Liebler <stli@linux.ibm.com>
1796
1797 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
1798 Add HWCAP_S390_VX and HWCAP_S390_VXE.
1799
57ada43c 18002019-03-20 mansayk <6688000@gmail.com>
1801
1802 [BZ #24296]
1803 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
1804 (abday): Likewise, but remove the trailing dots.
1805
a2e57f89
JM
18062019-03-19 Joseph Myers <joseph@codesourcery.com>
1807
1808 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
1809 macro.
1810 (HWCAP_PACA): Likewise.
1811 (HWCAP_PACG): Likewise.
1812 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
1813 Increase to 32.
1814 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
1815
e87d8ada
ST
18162019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1817
1818 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
1819 should be handled.
1820
477e739b
JM
18212019-03-15 Joseph Myers <joseph@codesourcery.com>
1822
1823 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1824 version to 5.0.
1825 (old_getpagesize): New syscall.
1826
238d60a1
FY
18272019-03-15 Felix Yan <felixonmars@archlinux.org>
1828
1829 [BZ #24293]
1830 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
1831 * localedata/locales/cmn_TW (era): Likewise.
1832 * localedata/locales/hak_TW (era): Likewise.
1833 * localedata/locales/lzh_TW (era): Likewise.
1834 * localedata/locales/nan_TW (era): Likewise.
1835
5dde9ef7
DD
18362019-03-14 Adam Maris <amaris@redhat.com>
1837
1838 * malloc/malloc.c (_int_malloc): Check for large bin list
1839 corruption when inserting unsorted chunk.
1840
a0a0dc83
FW
18412019-03-14 Florian Weimer <fweimer@redhat.com>
1842
1843 Remove obsolete, never-implemented XSI STREAMS declarations.
1844 * manual/terminal.texi (Allocation): Remove portability note and
1845 adjust example.
1846 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
1847 _SC_STREAMS.
1848 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
1849 * sysdeps/unix/inet/Subdirs (streams): Remove.
1850 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
1851 (conformtest-headers-UNIX98): Likewise.
1852 (conformtest-headers-XOPEN2K): Likewise.
1853 (conformtest-headers-POSIX2008): Likewise.
1854 * posix/compat-streams.c: New file.
1855 * posix/Makefile (routines): Add it.
1856 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
1857 getpmsg, isastream, putmsg, putpmsg.
1858 (GLIBC_2.30): New section.
1859 * bits/stropts.h: Remove file.
1860 * bits/xtitypes.h: Likewise.
1861 * conform/data/stropts.h-data: Likewise.
1862 * include/stropts.h: Likewise.
1863 * include/sys/stropts.h: Likewise.
1864 * include/xtitypes.h: Likewise.
1865 * streams/Makefile: Likewise.
1866 * streams/fattach.c: Likewise.
1867 * streams/fdetach.c: Likewise.
1868 * streams/getmsg.c: Likewise.
1869 * streams/getpmsg.c: Likewise.
1870 * streams/isastream.c: Likewise.
1871 * streams/putmsg.c: Likewise.
1872 * streams/putpmsg.c: Likewise.
1873 * streams/stropts.h: Likewise.
1874 * streams/sys/stropts.h: Likewise.
1875 * sysdeps/ia64/bits/xtitypes.h: Likewise.
1876 * sysdeps/s390/bits/xtitypes.h: Likewise.
1877 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
1878 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
1879 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
1880 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
1881 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
1882 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
1883 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
1884 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
1885 * sysdeps/x86/bits/xtitypes.h: Likewise.
1886
081bdf94
FW
18872019-03-14 Florian Weimer <fweimer@redhat.com>
1888
1889 * nss/tst-nss-files-alias-truncated.c (do_test): Load
1890 libnss_files.
1891 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
1892 but not with libnss_files.
1893 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
1894
97f8225d
ZW
18952019-03-14 Zack Weinberg <zackw@panix.com>
1896
1897 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
1898 Specify encoding="utf-8" when opening headers to check.
1899
0c1041ee
JM
19002019-03-13 Joseph Myers <joseph@codesourcery.com>
1901
1902 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1903 version to 5.0.
1904 (Context.checkout_tar): Handle variable major version for Linux
1905 kernel.
1906
043440e7
FW
19072019-03-13 Florian Weimer <fweimer@redhat.com>
1908
1909 [BZ #24047]
1910 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
1911
29218b26
ZW
19122019-03-13 Zack Weinberg <zackw@panix.com>
1913
1914 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
1915 Move to stdlib.
1916 * include/inttypes.h: Adjust to match.
1917 * include/stdint.h: New wrapper.
1918
711a322a
ZW
19192019-03-13 Zack Weinberg <zackw@panix.com>
1920
1921 * scripts/check-obsolete-constructs.py: New test script.
1922 * scripts/check-installed-headers.sh: Remove tests for
1923 obsolete typedefs, superseded by check-obsolete-constructs.py.
1924 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
1925 as a special test. Update commentary.
1926 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
1927 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
1928 Update commentary.
1929 * posix/sys/types.h (__u_intN_t): Remove.
1930 (u_int8_t): Typedef using __uint8_t.
1931 (u_int16_t): Typedef using __uint16_t.
1932 (u_int32_t): Typedef using __uint32_t.
1933 (u_int64_t): Typedef using __uint64_t.
1934
7c651308
SL
19352019-03-13 Stefan Liebler <stli@linux.ibm.com>
1936
1937 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
1938 call _dl_procinfo.
1939 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
1940 Ignore types other than AT_HWCAP.
1941 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
1942 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
1943 Likewise.
1944 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
1945 in the case of falling back to generic output mechanism.
1946 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
1947 Likewise.
1948
38b52865
FW
19492019-03-12 Florian Weimer <fweimer@redhat.com>
1950
1951 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
1952
08504de7
FW
19532019-03-12 Florian Weimer <fweimer@redhat.com>
1954
1955 [BZ #24047]
1956 resolv: Enable full ICMP errors for UDP DNS sockets
1957 * resolv/res_enable_icmp.c: New file.
1958 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
1959 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
1960 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
1961 socket.
1962
5fbcd763
MH
19632019-03-11 Mao Han <han_mao@c-sky.com>
1964
1965 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
1966 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
1967
c4e5f34b
MH
19682019-03-11 Mao Han <han_mao@c-sky.com>
1969
1970 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
1971 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
1972 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
1973
827e30f3
MH
19742019-03-11 Mao Han <han_mao@c-sky.com>
1975
1976 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
1977 directly.
1978 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
1979 definition.
1980
6229c9bf
MH
19812019-03-11 Mao Han <han_mao@c-sky.com>
1982
1983 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
1984 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
1985 in mcontext_t
1986
86bdd49d
MF
19872019-03-08 Mike FABIAN <mfabian@redhat.com>
1988
1989 [BZ #24307]
1990 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
1991 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
1992 Unicode 12.0.0.
1993 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
1994 * localedata/unicode-gen/PropList.txt: Likewise.
1995 * localedata/unicode-gen/UnicodeData.txt: Likewise.
1996 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
1997 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
1998 * localedata/charmaps/UTF-8: Regenerate.
1999 * localedata/locales/i18n_ctype: Likewise.
2000 * localedata/locales/tr_TR: Likewise.
2001 * localedata/locales/translit_circle: Likewise.
2002 * localedata/locales/translit_cjk_compat: Likewise.
2003 * localedata/locales/translit_combining: Likewise.
2004 * localedata/locales/translit_compat: Likewise.
2005 * localedata/locales/translit_font: Likewise.
2006 * localedata/locales/translit_fraction: Likewise.
2007
c5f65462
JM
20082019-03-07 Joseph Myers <joseph@codesourcery.com>
2009
2010 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
2011 than after operators.
2012 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
2013 (setitimer_locked): Likewise.
2014 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
2015 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
2016 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
2017 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
2018 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
2019 (PPC_CPU_SUPPORTED): Likewise.
2020 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
2021 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
2022 (stat_overflow): Likewise.
2023 (statfs_overflow): Likewise.
2024 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
2025 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
2026 (eq_ttyname_r): Likewise.
2027 (run_chroot_tests): Likewise.
2028
27a2f2f3
FW
20292019-03-07 Florian Weimer <fweimer@redhat.com>
2030
2031 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
2032 header check.
2033
ae514971 20342019-03-07 Martin Liska <mliska@suse.cz>
2035
2036 * math/Makefile: Change location where math-vector-fortran.h is
2037 installed.
2038 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
2039 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
2040 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
2041 * scripts/check-installed-headers.sh: Skip Fortran header files.
2042 * scripts/check-wrapper-headers.py: Likewise.
2043
0ddb7ea8
AZ
20442019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2045
2046 * nptl/nptl-init.c (__have_futex_clock_realtime,
2047 __have_futex_clock_realtime): Remove definition.
2048 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
2049 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
2050 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
2051 __ASSUME_FUTEX_CLOCK_REALTIME support.
2052 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
2053 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2054 * sysdeps/unix/sysv/linux/kernel-features.h
2055 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
2056 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
2057 Adjust comment.
2058
590675c0
GG
20592019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2060
2061 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
2062 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
2063 __GI___wcscpy and wcscpy.
2064
de71ee7b
FW
20652019-03-04 Florian Weimer <fweimer@redhat.com>
2066
2067 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
2068 declaration.
2069 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
2070 defined.
2071
ce6ddae0
SL
20722019-03-04 Stefan Liebler <stli@linux.ibm.com>
2073
2074 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
2075 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2076
31efface
TS
20772019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
2078
2079 [BZ #24162]
2080 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
2081 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
2082
f0eaf862
GG
20832019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2084
2085 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
2086 tests.
2087 (do_test): Likewise.
2088 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
2089 (do_test_call_varg): Likewise.
2090 (do_test_call_rarg): Likewise.
2091 * sysdeps/ieee754/ldbl-opt/Makefile
2092 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
2093 tst-nldbl-error.
2094 ($(objpfx)tst-nldbl-warn.c): New rule.
2095 ($(objpfx)tst-nldbl-error.c): Likewise.
2096 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
2097 New variables.
2098
d11086a9
GG
20992019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2100
2101 [BZ #23984]
2102 * include/bits/error-ldbl.h: New file.
2103 * include/error.h: Include stdarg.h. Declare internal functions
2104 __error_internal and __error_at_line_internal.
2105 * misc/Makefile (headers): Add bits/error-ldbl.h.
2106 * misc/bits/error-ldbl.h: New file.
2107 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
2108 avoid the inclusion of bits/error.h.
2109 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
2110 and __nldbl_error_at_line.
2111 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
2112 (__nldbl_error, __ndlbl_error_at_line): New functions.
2113 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
2114 Redirect error and error_at_line.
2115 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2117 Likewise.
2118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2119 Likewise.
2120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2121 Likewise.
2122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2123 Likewise.
2124 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2125 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2126 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2127
90188e7d
GG
21282019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2129
2130 [BZ #23984]
2131 * include/bits/err-ldbl.h: New file.
2132 * include/err.h: Add prototypes for the internal functions:
2133 __vwarnx_internal and __vwarn_internal.
2134 * misc/Makefile (headers): Add bits/err-ldbl.h.
2135 * misc/bits/err-ldbl.h: New file.
2136 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
2137 defined, i.e.: when -mlong-double-64 is in use.
2138 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
2139 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
2140 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
2141 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
2142 (VA_CALL): New macro.
2143 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
2144 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
2145 functions.
2146 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
2147 declare prototypes for the new functions.
2148 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2150 Likewise.
2151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2152 Likewise.
2153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2154 Likewise.
2155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2156 Likewise.
2157 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2158 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2159 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2160
ea2d89d0
GG
21612019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2162
2163 * sysdeps/ieee754/ldbl-opt/Makefile
2164 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
2165 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
2166 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
2167
6e1f6440
GG
21682019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2169
2170 [BZ #23983]
2171 * argp/Makefile (headers): Add bits/argp-ldbl.h.
2172 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
2173 * argp/bits/argp-ldbl.h: New file.
2174 * include/argp.h: Include stdarg.h. Add prototypes for internal
2175 functions: __argp_error_internal and __argp_failure_internal.
2176 * include/bits/argp-ldbl.h: New file.
2177 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
2178 __nldbl_argp_error and __nldbl_argp_failure.
2179 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
2180 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
2181 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
2182 Redirect argp_error and argp_failure calls.
2183 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2185 Likewise.
2186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2187 Likewise.
2188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2189 Likewise.
2190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2191 Likewise.
2192 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2193 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2194 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2195
c259196b
FW
21962019-03-01 Florian Weimer <fweimer@redhat.com>
2197
2198 [BZ #20419]
2199 * elf/tst-big-note-lib.S: Create a syntactically valid note.
2200 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
2201 code, to avoid creating an ABI tag note.
2202 (modules-names-nobuild): Add tst-big-note-lib.
2203
928b305d
SL
22042019-03-01 Stefan Liebler <stli@linux.ibm.com>
2205
2206 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
2207 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
2208
36f30c10
FW
22092019-03-01 Florian Weimer <fweimer@redhat.com>
2210
2211 [BZ #20271]
2212 * sysdeps/unix/sysv/linux/netlink_assert_response.c
2213 (__netlink_assert_response): Add additional missing newlines.
2214
462e83a4
JM
22152019-02-28 Joseph Myers <joseph@codesourcery.com>
2216
2217 * sysdeps/powerpc/powerpc32/dl-machine.c
2218 (__elf_machine_fixup_plt): Use space before '('.
2219 (__process_machine_rela): Likewise.
2220 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
2221 Likewise.
2222 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
2223 Likewise.
2224 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
2225 Likewise.
2226 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
2227 (pattern): Likewise.
2228 (delta): Likewise.
2229 (check_result): Likewise.
2230 (check_excepts): Likewise.
2231 (check_op): Likewise.
2232 (fail_xr): Likewise.
2233 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
2234 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
2235 (SCNHSZ): Likewise.
2236 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
2237 Likewise.
2238 (ARGS): Likewise.
2239 (__makecontext): Likewise.
2240 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
2241 Likewise.
2242
cc3e573c
FW
22432019-02-28 Florian Weimer <fweimer@redhat.com>
2244
2245 [BZ #23937]
2246 elf: Add test with a local IFUNC resolver.
2247 * elf/ifuncmain9.c: New file.
2248 * elf/ifuncmain9pic.c: Likewise.
2249 * elf/ifuncmain9picstatic.c: Likewise.
2250 * elf/ifuncmain9pie.c: Likewise.
2251 * elf/ifuncmain9static.c: Likewise.
2252 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
2253 ifuncmain9static, ifuncmain9picstatic.
2254 * elf/Makefile [multi-arch && build-shared] (tests-internal):
2255 Add ifuncmain9, ifuncmain9pic.
2256 * elf/Makefile [multi-arch && build-shared && have-fpie]
2257 (ifunc-pie-tests): Add ifuncmain9pie.
2258 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
2259 (CFLAGS-ifuncmain9picstatic.c): Likewise.
2260 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
2261
92ad88fe
L
22622019-02-27 H.J. Lu <hongjiu.lu@intel.com>
2263
2264 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
2265 * configure: Regenerated.
2266 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
2267
6bd4d02e
AZ
22682019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2269
2270 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
2271 symbol as __wcspcy instead of wcscpy.
2272
1b218417
ST
22732019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2274
2275 * include/stdio.h (__renameat2): New hidden prototype.
2276 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
2277 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
2278 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
2279 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
2280
c4f50205
JM
22812019-02-27 Joseph Myers <joseph@codesourcery.com>
2282
f627dd4d
JM
2283 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
2284 if statement.
2285
c4f50205
JM
2286 * benchtests/bench-strcpy.c (do_test): Use space before '('.
2287 * benchtests/bench-string.h (cmdline_process_function): Likewise.
2288 * benchtests/bench-strlen.c (do_test): Likewise.
2289 (test_main): Likewise.
2290 * catgets/gencat.c (read_old): Likewise.
2291 * elf/cache.c (load_aux_cache): Likewise.
2292 * iconvdata/bug-iconv8.c (do_test): Likewise.
2293 * math/test-tgmath-ret.c (do_test): Likewise.
2294 * nis/nis_call.c (rec_dirsearch): Likewise.
2295 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2296 * nptl/tst-audit-threads.c (do_test): Likewise.
2297 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
2298 * nss/nss_test1.c (init): Likewise.
2299 * nss/test-netdb.c (test_hosts): Likewise.
2300 * posix/execvpe.c (maybe_script_execute): Likewise.
2301 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
2302 * stdio-common/tst-printf.c (do_test): Likewise.
2303 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
2304 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
2305 * stdlib/qsort.c (STACK_SIZE): Likewise.
2306 * stdlib/test-canon.c (do_test): Likewise.
2307 * stdlib/tst-swapcontext1.c (do_test): Likewise.
2308 * string/memcmp.c (OPSIZ): Likewise.
2309 * string/test-strcpy.c (do_test): Likewise.
2310 (do_random_tests): Likewise.
2311 * string/test-strlen.c (do_test): Likewise.
2312 (test_main): Likewise.
2313 * string/test-strrchr.c (do_test): Likewise.
2314 (do_random_tests): Likewise.
2315 * string/tester.c (test_memrchr): Likewise.
2316 (test_memchr): Likewise.
2317 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
2318 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
2319 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
2320 (read_encoded_value_with_base): Likewise.
2321 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
2322 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
2323 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
2324 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
2325 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
2326 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
2327 Likewise.
2328 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
2329 Likewise.
2330 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
2331 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
2332 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
2333 Likewise.
2334 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
2335 Likewise.
2336 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
2337 Likewise.
2338 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
2339 Likewise.
2340 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
2341 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
2342 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2343 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
2344 * time/test_time.c (main): Likewise.
2345
7b3fb620
AZ
23462019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2347
457208b1
AZ
2348 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
2349
30a7e208
AZ
2350 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
2351 wmemcpy.
2352
ddf21ec7
AZ
2353 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
2354 wmemcpy.
2355
4d801563
AZ
2356 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
2357
81a14439
AZ
2358 * include/wchar.h (__wcscpy): New prototype.
2359 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
2360 (__wcscpy): Route internal symbol to generic implementation.
2361 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
2362 Add internal __wcscpy alias.
2363 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
2364 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
2365 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
2366 * wcsmbs/wcscpy.c (wcscpy): Add
2367 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
2368 use generic implementation.
2369 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
2370
39ef0744
AZ
2371 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
2372 wmemset.
2373
7b3fb620
AZ
2374 * sysdeps/m68k/wcpcpy.c: Remove file.
2375 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
2376
e0cb7b61
JM
23772019-02-26 Joseph Myers <joseph@codesourcery.com>
2378
aa0e4663
JM
2379 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
2380 than after operators.
2381 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
2382 * sysdeps/mach/hurd/getcwd.c
2383 (__hurd_canonicalize_directory_name_internal): Likewise.
2384 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
2385 (pthread_mutex_consistent): Likewise.
2386 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
2387 Likewise.
2388 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
2389 (__pthread_mutex_transfer_np): Likewise.
2390 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
2391 (__pthread_mutex_unlock): Likewise.
2392 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
2393 (mtx_owned_p): Likewise.
2394 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
2395 (pthread_mutexattr_getrobust): Likewise.
2396 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
2397 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
2398 Likewise.
2399 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2400 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
2401 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
2402 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
2403 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
2404 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2405 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
2406 Likewise.
2407 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
2408 Likewise.
2409 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
2410 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
2411 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
2412 (____longjmp_chk): Likewise.
2413 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
2414 Likewise.
2415 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2416 (INTERNAL_SYSCALL): Likewise.
2417 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2418 (INTERNAL_SYSCALL): Likewise.
2419 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2420 (__get_clockfreq_via_cpuinfo): Likewise.
2421
e0cb7b61
JM
2422 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
2423 comments.
2424 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
2425 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
2426 (WORD_COPY_BWD): Likewise.
2427 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2428 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2429 Likewise.
2430 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
2431 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
2432 comment.
2433 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
2434
a04549c1
JM
24352019-02-25 Joseph Myers <joseph@codesourcery.com>
2436
2437 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
2438 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
2439 rather than after operators.
2440 * elf/cache.c (print_cache): Likewise.
2441 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
2442 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
2443 * hurd/hurdinit.c (_hurd_setproc): Likewise.
2444 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
2445 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
2446 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
2447 (reauth_proc): Likewise.
2448 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
2449 (__file_name_split_at): Likewise.
2450 (__directory_name_split_at): Likewise.
2451 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
2452 * hurd/port2fd.c (_hurd_port2fd): Likewise.
2453 * iconv/gconv_dl.c (do_print): Likewise.
2454 * inet/netinet/in.h (struct sockaddr_in): Likewise.
2455 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
2456 * locale/setlocale.c (new_composite_name): Likewise.
2457 * malloc/memusagestat.c (main): Likewise.
2458 * misc/fstab.c (fstab_convert): Likewise.
2459 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
2460 Likewise.
2461 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
2462 (getgrent_next_file): Likewise.
2463 (internal_getgrnam_r): Likewise.
2464 (internal_getgrgid_r): Likewise.
2465 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
2466 Likewise.
2467 (internal_getgrent_r): Likewise.
2468 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
2469 (getpwent_next_nss): Likewise.
2470 (getpwent_next_file): Likewise.
2471 (internal_getpwnam_r): Likewise.
2472 (internal_getpwuid_r): Likewise.
2473 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
2474 Likewise.
2475 (getspent_next_nss): Likewise.
2476 (internal_getspnam_r): Likewise.
2477 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
2478 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
2479 * string/strchr.c (STRCHR): Likewise.
2480 * string/strchrnul.c (STRCHRNUL): Likewise.
2481 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
2482 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2483 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
2484 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
2485 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
2486 Likewise.
2487 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
2488 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
2489 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
2490 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
2491 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
2492 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
2493 (open_file): Likewise.
2494 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
2495 (pthread_mutexattr_setprotocol): Likewise.
2496 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2497 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
2498 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
2499 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
2500 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
2501 Likewise.
2502 (elf_machine_rela): Likewise.
2503 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2504 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2505 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
2506 * sysdeps/posix/rename.c (rename): Likewise.
2507 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
2508 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
2509 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
2510 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
2511 * sysdeps/unix/grantpt.c (grantpt): Likewise.
2512 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
2513 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
2514 Likewise.
2515 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
2516 Likewise.
2517 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
2518 * time/tzfile.c (__tzfile_compute): Likewise.
2519
34a5a146
JM
25202019-02-22 Joseph Myers <joseph@codesourcery.com>
2521
2522 * benchtests/bench-memmem.c (simple_memmem): Break lines before
2523 rather than after operators.
2524 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
2525 * crypt/md5.c (md5_finish_ctx): Likewise.
2526 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
2527 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
2528 * elf/cache.c (load_aux_cache): Likewise.
2529 * elf/dl-load.c (open_verify): Likewise.
2530 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
2531 * elf/readelflib.c (process_elf_file): Likewise.
2532 * elf/rtld.c (dl_main): Likewise.
2533 * elf/sprof.c (generate_call_graph): Likewise.
2534 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
2535 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
2536 * hurd/dtable.c (reauth_dtable): Likewise.
2537 * hurd/getdport.c (__getdport): Likewise.
2538 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
2539 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
2540 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
2541 Likewise.
2542 * hurd/hurdioctl.c (fioctl): Likewise.
2543 * hurd/hurdselect.c (_hurd_select): Likewise.
2544 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
2545 (STOPSIGS): Likewise.
2546 * hurd/hurdstartup.c (_hurd_startup): Likewise.
2547 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
2548 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
2549 * hurd/msgportdemux.c (msgport_server): Likewise.
2550 * hurd/setauth.c (_hurd_setauth): Likewise.
2551 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
2552 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
2553 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
2554 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
2555 * login/tst-utmp.c (do_check): Likewise.
2556 (simulate_login): Likewise.
2557 * mach/lowlevellock.h (lll_lock): Likewise.
2558 (lll_trylock): Likewise.
2559 * math/test-fenv.c (ALL_EXC): Likewise.
2560 * math/test-fenvinline.c (ALL_EXC): Likewise.
2561 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
2562 * nis/nis_call.c (__do_niscall3): Likewise.
2563 * nis/nis_callback.c (cb_prog_1): Likewise.
2564 * nis/nis_defaults.c (searchaccess): Likewise.
2565 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2566 * nis/nis_ismember.c (internal_ismember): Likewise.
2567 * nis/nis_local_names.c (nis_local_principal): Likewise.
2568 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
2569 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
2570 Likewise.
2571 * nis/ypclnt.c (yp_match): Likewise.
2572 (yp_first): Likewise.
2573 (yp_next): Likewise.
2574 (yp_master): Likewise.
2575 (yp_order): Likewise.
2576 * nscd/hstcache.c (cache_addhst): Likewise.
2577 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2578 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
2579 (internal_getpwuid_r): Likewise.
2580 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
2581 * posix/glob.h (__GLOB_FLAGS): Likewise.
2582 * posix/regcomp.c (peek_token): Likewise.
2583 (peek_token_bracket): Likewise.
2584 (parse_expression): Likewise.
2585 * posix/regexec.c (sift_states_iter_mb): Likewise.
2586 (check_node_accept_bytes): Likewise.
2587 * posix/tst-spawn3.c (do_test): Likewise.
2588 * posix/wordexp-test.c (testit): Likewise.
2589 * posix/wordexp.c (parse_tilde): Likewise.
2590 (exec_comm): Likewise.
2591 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
2592 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
2593 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
2594 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
2595 * stdio-common/tst-fileno.c (do_test): Likewise.
2596 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
2597 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
2598 * stdlib/strtod_l.c (round_and_return): Likewise.
2599 (____STRTOF_INTERNAL): Likewise.
2600 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
2601 * string/strcspn.c (STRCSPN): Likewise.
2602 * string/test-memmem.c (simple_memmem): Likewise.
2603 * termios/tcsetattr.c (tcsetattr): Likewise.
2604 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
2605 * time/asctime.c (asctime_internal): Likewise.
2606 * time/strptime_l.c (__strptime_internal): Likewise.
2607 * time/sys/time.h (timercmp): Likewise.
2608 * time/tzfile.c (__tzfile_compute): Likewise.
2609
b0b50fe0
PF
26102019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
2611
b39d961c
TS
2612 [BZ #21915]
2613 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
b0b50fe0 2614
f43b8dd5
GG
26152019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2616
2617 * argp/argp-help.c (__argp_error_internal): New function,
2618 renamed from __argp_error, but that takes a 'mode_flags'
2619 parameter to control the format of long double parameters.
2620 (__argp_error): Converted into a call __argp_error_internal.
2621 (__argp_failure_internal): New function, renamed from
2622 __argp_failure, but that takes a 'mode_flags' parameter.
2623 (__argp_failure): Converted into a call __argp_failure_internal.
2624 * misc/err.c (__vwarnx_internal): New function, renamed from
2625 vwarnx, but that takes a 'mode_flags' parameter.
2626 (vwarnx): Converted into a call to __vwarnx_internal.
2627 (__vwarn_internal): New function, renamed from vwarn, but that
2628 takes a 'mode_flags' parameter.
2629 (vwarn): Converted into a call to __vwarn_internal.
2630 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
2631 call to __vfxprintf with 'mode_flags'.
2632 (__error_internal): New function, renamed from error, but that
2633 takes a 'mode_flags' parameter.
2634 (error): Converted into a call to __error_internal.
2635 (__error_at_line_internal): New function, renamed from
2636 error_at_line, but that takes a 'mode_flags' parameter.
2637 (error_at_line): Converted into a call to
2638 __error_at_line_internal.
2639 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
2640 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
2641 Likewise.
2642
dc0afac3 26432019-02-20 Martin Liska <mliska@suse.cz>
2644
2645 * math/Makefile: Install math-vector-fortran.h.
2646 * bits/math-vector-fortran.h: New file.
2647 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
2648
4a2dd41c
GG
26492019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2650
2651 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
2652 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
2653
04de9302
WS
26542019-02-19 Wolfram Sang <wsa@the-dreams.de>
2655
2656 * nptl/pthread_mutex_trylock.c: Fix comment.
2657
b026ce1e
CD
26582019-02-19 Carlos O'Donell <carlos@redhat.com>
2659
2660 * nptl/pthread_tryjoin.c: Fix comment.
2661
8c9289b6
JM
26622019-02-18 Joseph Myers <joseph@codesourcery.com>
2663
2664 [BZ #24231]
2665 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
2666 after R_SPARC_H34 case.
2667
308e022f
FW
26682019-02-18 Florian Weimer <fweimer@redhat.com>
2669
2670 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
2671 (getanswer): Do not call Dprintf.
2672 (res_gethostbyname2_context): Likewise.
2673 (res_gethostbyaddr_context): Likewise.
2674
a5406364
FW
26752019-02-18 Florian Weimer <fweimer@redhat.com>
2676
2677 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
2678 declaration.
2679 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
2680 Remove definitions.
2681 * libio/stdfiles.c: Update comment.
2682 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
2683 set _IO_stdin, _IO_stdout, _IO_stderr.
2684 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
2685 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
2686 inline function.
2687 (_IO_deallocate_file): New inline function.
2688 * libio/iolibio.h (_IO_vprintf): Remove definition.
2689 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
2690 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
2691 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
2692 _IO_legacy_file.
2693 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
2694 __builtin_expect. Use _IO_legacy_file.
2695
6c29942c
SL
26962019-02-18 Stefan Liebler <stli@linux.ibm.com>
2697
2698 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
2699 Initialize ctid with a known value and remove update of ctid
2700 after clone.
2701 (wait_tid): Adjust arguments and call futex_wait with ctid_val
2702 as assumed current value of ctid_ptr.
2703
225d9445 27042019-02-16 Florian Weimer <fweimer@redhat.com>
ad18dade
FW
2705
2706 Check that non-sysdeps headers have wrapper headers.
2707 * scripts/check-wrapper-headers.py: New file.
2708 * Makefile (tests-special): Add check-wrapper-headers.out.
2709 (check-wrapper-headers.out): New target.
2710 * Rules (tests-special): Add check-wrapper-headers.out.
2711 (check-wrapper-headers.out): New target.
2712
225d9445 27132019-02-16 Florian Weimer <fweimer@redhat.com>
ebd32784
FW
2714
2715 Add missing header wrappers under include/.
2716 * include/ar.h: New file.
2717 * include/bits/mqueue2.h: Likewise.
2718 * include/bits/stdio.h: Likewise.
2719 * include/bits/stdio2.h: Likewise.
2720 * include/fstab.h: Likewise.
2721 * include/fts.h: Likewise.
2722 * include/lastlog.h: Likewise.
2723 * include/netinet/icmp6.h: Likewise.
2724 * include/netinet/igmp.h: Likewise.
2725 * include/netinet/ip6.h: Likewise.
2726 * include/re_comp.h: Likewise.
2727 * include/regexp.h: Likewise.
2728 * include/rpcsvc/bootparam.h: Likewise.
2729 * include/rpcsvc/yp_prot.h: Likewise.
2730 * include/sys/random.h: Likewise.
2731 * include/sys/stropts.h: Likewise.
2732 * include/sys/ttychars.h: Likewise.
2733 * include/sys/vfs.h: Likewise.
2734 * include/wait.h: Likewise.
2735
225d9445 27362019-02-16 Florian Weimer <fweimer@redhat.com>
a198d37a
FW
2737
2738 * nptl_db/proc_service.h: Move to ...
2739 * sysdeps/nptl/proc_service.h: ... here.
2740 * nptl_db/thread_db.h: Move to ...
2741 * sysdeps/nptl/thread_db.h: ... here.
2742 * nptl/descr.h: Include <thread_db.h>.
2743
e442e40d
AZ
27442019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2745
2746 * io/Makefile (tests): Add tst-lockf.
2747 * io/lockf.c (lockf): Use __fcntl and only define for
2748 !__OFF_T_MATCHES_OFF64_T.
2749 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
2750 __OFF_T_MATCHES_OFF64_T case.
2751 * io/tst-lockf.c: New file.
2752 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
2753 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
2754 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
2755 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
2756 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
2757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
2758 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
2759 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
2760 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
2761
bc10e22c
FW
27622019-02-15 Florian Weimer <fweimer@redhat.com>
2763
2764 [BZ #24211]
2765 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
2766 pd->result after the thread descriptor has been freed.
2767
365f05c7
JM
27682019-02-15 Joseph Myers <joseph@codesourcery.com>
2769
8a11f970
JM
2770 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
2771 from function return type.
2772
365f05c7
JM
2773 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
2774
6b5c8607 27752019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
56a731d4
JK
2776
2777 * scripts/test_printers_common.py: Set TERM to a known harmless
2778 value.
2779
712182c8
JM
27802019-02-14 Joseph Myers <joseph@codesourcery.com>
2781
2782 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
2783 (xdr_u_int): Likewise.
2784 (xdr_enum): Likewise.
2785 (xdr_bytes): Reword fall-through comment.
2786 (xdr_string): Likewise.
2787
eb76e5b4
AZ
27882019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2789
2790 [BZ #2421]
2791 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
2792 (tests): Add tst-join8 tst-join9.
2793 * nptl/lll_timedwait_tid.c: Remove file.
2794 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
2795 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
2796 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
2797 * nptl/pthread_join_common.c (timedwait_tid): New function.
2798 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
2799 is set.
2800 * nptl/tst-join5.c (thread_join): New function.
2801 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
2802 check.
2803 * nptl/tst-join8.c: New file.
2804 * nptl/tst-join9.c: Likewise.
2805 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
2806 lll_futex_timed_wait_cancel): Add generic macros.
2807 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
2808 Remove definitions.
2809 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2810 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2811 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2812 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
2813 Remove function.
2814 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
2815 Likewise.
2816 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2817 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
2818 (lll_futex_timed_wait_cancel): New macro.
2819
3904fd85
WD
28202019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
2821
2822 * benchtests/Makefile: Add malloc-simple benchmark.
2823 * benchtests/bench-malloc-simple.c: New benchmark.
2824
24ca04fe
SP
28252019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
2826
2827 * benchtests/bench-memmove.c (do_one_test): Remove unused
2828 ORIG_SRC.
2829 (do_test): Adjust.
2830 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
2831 ORIG_SRC.
2832 (do_test): Adjust.
2833
85bd1ddb
JW
28342019-01-13 Jim Wilson <jimw@sifive.com>
2835
2836 [BZ #24040]
2837 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
2838 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
2839 (func): New.
2840 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
2841 call func directly.
2842 * nptl/Makefile (tests): Add tst-unwind-thread.
2843 (CFLAGS-tst-unwind-thread.c): Define.
2844 * nptl/tst-unwind-thread.c: New file.
2845 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
2846 as undefined.
2847
86140c62
JM
28482019-02-13 Joseph Myers <joseph@codesourcery.com>
2849
10756268
JM
2850 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
2851 comment wording.
2852 * nis/nis_call.c (__do_niscall3): Likewise.
2853
05383720
JM
2854 * catgets/gencat.c (normalize_line): Use braces around empty
2855 'else' body.
2856 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2857 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
2858 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
2859 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
2860 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
2861 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
2862 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
2863 definition.
2864
86140c62
JM
2865 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
2866 execlp returns.
2867
16f87cfd
WD
28682019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
2869
2870 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
2871 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
2872 * benchtests/bench-strchr.c (stupid_strchr): Remove.
2873 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
2874 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
2875 * benchtests/bench-strlen.c (builtin_strlen): Remove.
2876 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
2877 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
2878 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
2879 * benchtests/bench-strspn.c (stupid_strspn): Remove.
2880 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
2881 * benchtests/bench-bcopy.c: Delete file.
2882 * benchtests/bench-bzero.c: Likewise.
2883 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
2884 (simple_memccpy): Remove.
2885 (generic_memccpy): Add function.
2886 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
2887 * benchtests/bench-memmove.c (simple_bcopy): Remove.
2888 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
2889 (generic_mempcpy): Add new function.
2890 * benchtests/bench-memset.c (simple_bzero): Remove.
2891 (builtin_bzero): Remove.
2892 (builtin_memset): Remove.
2893 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
2894 (generic_rawmemchr): Add new function.
2895
0c6d82e9
FW
28962019-02-12 Florian Weimer <fweimer@redhat.com>
2897
2898 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
2899
b3fbfe81
AZ
29002019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2901
2902 [BZ #24122]
2903 * elf/Makefile (tests): Add tst-audit13.
2904 (modules-names): Add tst-audit13mod1.
2905 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
2906 rule.
2907 * elf/tst-audit13.c: New file.
2908 * elf/tst-audit13mod1.c: Likewise.
2909
3b856d09
FW
29102019-02-12 Florian Weimer <fweimer@redhat.com>
2911
2912 [BZ #24122]
2913 * elf/rtld.c (unload_audit_module): New function.
2914 (report_audit_module_load_error): Likewise.
2915 (load_audit_module): Likewise. Extracted from dl_main. Call
2916 _dl_close if the laversion symbol cannot be found. Use early
2917 returns for error handling. Add malloc error check. Check for a
2918 zero return value from la_version. Remove spurious comment about
2919 static TLS initialization. Remove useless casts.
2920 (notify_audit_modules_of_loaded_object): New function. Extracted
2921 from dl_main.
2922 (load_audit_module): Likewise.
2923 (dl_main): Call load_audit_modules.
2924
32db86d5
JM
29252019-02-12 Joseph Myers <joseph@codesourcery.com>
2926
2927 * elf/dl-exception.c (_dl_exception_create_format): Add
2928 fall-through comments.
2929 * elf/ldconfig.c (parse_conf_include): Likewise.
2930 * elf/rtld.c (print_statistics): Likewise.
2931 * locale/programs/charmap.c (parse_charmap): Likewise.
2932 * misc/mntent_r.c (__getmntent_r): Likewise.
2933 * posix/wordexp.c (parse_arith): Likewise.
2934 (parse_backtick): Likewise.
2935 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
2936 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
2937 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2938
a51bc4fe
PC
29392019-02-11 Paul A. Clarke <pc@us.ibm.com>
2940
2941 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
2942 Use float instead of double.
2943
fb25b135
TS
29442019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
2945
2946 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
2947
32ea7299
JM
29482019-02-08 Joseph Myers <joseph@codesourcery.com>
2949
2950 * sysdeps/powerpc/bits/mathinline.h: Remove.
2951
eef4d4f8
FW
29522019-02-08 Florian Weimer <fweimer@redhat.com>
2953
2954 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
2955 * math/bits/math-finite.h: Move to ...
2956 * bits/math-finite.h: ... here.
2957
fdfbd47d
FW
29582019-02-08 Florian Weimer <fweimer@redhat.com>
2959
2960 * sysdeps/generic/bits/unistd_ext.h: Move to ...
2961 * bits/unistd_ext.h: here.
2962
11eb21c4
PF
29632019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
2964
2965 [BZ #21915]
2966 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
2967 * nss/tst-nss-files-hosts-long.c: New file.
2968 * nss/tst-nss-files-hosts-long.root: New directory.
2969 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
2970 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
2971
e47d82c9
FW
29722019-02-08 Florian Weimer <fweimer@redhat.com>
2973
2974 * include/bits/unistd_ext.h: Remove file.
2975 * posix/bits/unistd_ext.h: Move to ...
2976 * sysdeps/generic/bits/unistd_ext.h: ... here.
2977
8f89ab21
FW
29782019-02-08 Florian Weimer <fweimer@redhat.com>
2979
2980 * include/bits/unistd_ext.h: New file.
2981
144a794e
TS
29822019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
2983
2984 * time/tst-strftime2.c: Use array_length macros instead of magic
2985 numbers.
2986
669ff911
FW
29872019-02-08 Florian Weimer <fweimer@redhat.com>
2988
2989 [BZ #24161]
2990 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
2991 argument.
2992 * nptl/register-atfork.c (__run_fork_handlers): Only perform
2993 locking if the new do_locking argument is true.
2994 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
2995 __run_fork_handlers.
2996
d0bd87d4 29972019-02-08 Florian Weimer <fweimer@redhat.com>
1d0fc213
FW
2998
2999 [BZ #6399]
3000 Linux: Add gettid system call wrapper.
3001 * posix/Makefile (headers): Add bits/unistd_ext.h.
3002 * posix/bits/unistd_ext.h: New file.
3003 * posix/unistd.h: Include it.
3004 * manual/process.texi (Process Identification): Document gettid.
3005 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
3006 tst-gettid, tst-gettid-kill.
3007 (tst-gettid): Link with $(shared-thread-library).
3008 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
3009 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
3010 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
3011 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
3012 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
3013 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
3014 Add gettid.
3015 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
3016 Likewise.
3017 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
3018 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
3019 Likewise.
3020 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
3021 Likewise.
3022 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
3023 Likewise.
3024 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
3025 Likewise.
3026 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
3027 Likewise.
3028 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
3029 Likewise.
3030 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
3031 Likewise.
3032 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3033 (GLIBC_2.30): Likewise.
3034 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3035 (GLIBC_2.30): Likewise.
3036 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3037 (GLIBC_2.30): Likewise.
3038 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3039 (GLIBC_2.30): Likewise.
3040 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
3041 Likewise.
3042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3043 (GLIBC_2.30): Likewise.
3044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3045 (GLIBC_2.30): Likewise.
3046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
3047 (GLIBC_2.30): Likewise.
3048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
3049 (GLIBC_2.30): Likewise.
3050 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
3051 Likewise.
3052 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
3053 Likewise.
3054 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
3055 Likewise.
3056 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
3057 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
3058 Likewise.
3059 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
3060 Likewise.
3061 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
3062 Likewise.
3063 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
3064 Likewise.
3065 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
3066
225d9445 30672019-02-08 Florian Weimer <fweimer@redhat.com>
f289e656
FW
3068
3069 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
3070 compatibility symbols.
3071
823624bd
SL
30722019-02-07 Stefan Liebler <stli@linux.ibm.com>
3073
3074 [BZ #24180]
3075 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3076 Add compiler barriers and comments.
3077
8311c83f
FW
30782019-02-07 Florian Weimer <fweimer@redhat.com>
3079
3080 * include/array_length.h (array_length): Do not use a statement
3081 expression and _Static_assert, so that array_length can be used at
3082 file scope and as a constant expression.
3083
94b63e66
FW
30842019-02-07 Florian Weimer <fweimer@redhat.com>
3085
3086 * support/xdlfcn.h (xdlmopen): Declare.
3087 * support/xdlmopen.c: New file.
3088 * support/Makefile (libsupport-routines): Add xdlmopen.
3089
c2d8f0b7
JM
30902019-02-06 Joseph Myers <joseph@codesourcery.com>
3091
3092 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
3093 before return type, without separate inline.
3094 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
3095 * elf/dl-tunables.h (tunable_is_name): Likewise.
3096 * malloc/malloc.c (do_set_trim_threshold): Likewise.
3097 (do_set_top_pad): Likewise.
3098 (do_set_mmap_threshold): Likewise.
3099 (do_set_mmaps_max): Likewise.
3100 (do_set_mallopt_check): Likewise.
3101 (do_set_perturb_byte): Likewise.
3102 (do_set_arena_test): Likewise.
3103 (do_set_arena_max): Likewise.
3104 (do_set_tcache_max): Likewise.
3105 (do_set_tcache_count): Likewise.
3106 (do_set_tcache_unsorted_limit): Likewise.
3107 * nis/nis_subr.c (count_dots): Likewise.
3108 * nptl/allocatestack.c (advise_stack_range): Likewise.
3109 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
3110 (do_sin): Likewise.
3111 (reduce_sincos): Likewise.
3112 (do_sincos): Likewise.
3113 * sysdeps/unix/sysv/linux/x86/elision-conf.c
3114 (do_set_elision_enable): Likewise.
3115 (TUNABLE_CALLBACK_FNDECL): Likewise.
3116
3b935595
FW
31172019-02-06 Florian Weimer <fweimer@redhat.com>
3118
3119 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
3120 (xdlsym): Use dlerror to detect a NULL symbol.
3121
b4333340
FW
31222019-02-06 Florian Weimer <fweimer@redhat.com>
3123
3124 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
3125 <stap-probe.h>.
3126 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3127
b6d8a999
SL
31282019-02-06 Stefan Liebler <stli@linux.ibm.com>
3129
3130 * libio/tst-bz24153.c (wide): Use wide char format specifier.
3131
94eeeec0
SL
31322019-02-06 Stefan Liebler <stli@linux.ibm.com>
3133
3134 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
3135 __wmemcmp and weak alias to wmemcmp.
3136
bc79db3f
SL
31372019-02-06 Stefan Liebler <stli@linux.ibm.com>
3138
3139 [BZ #23403]
3140 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
3141 TLS_TCB_AT_TP tls variant.
3142 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
3143 Add alignment checks.
3144 * support/Makefile (libsupport-routines): Add xposix_memalign and
3145 xpthread_setstack.
3146 * support/support.h: Add xposix_memalign.
3147 * support/xthread.h: Add xpthread_attr_setstack.
3148 * support/xposix_memalign.c: New File.
3149 * support/xpthread_attr_setstack.c: Likewise.
3150
f1ac7455
FW
31512019-02-05 Florian Weimer <fweimer@redhat.com>
3152
3153 [BZ #24164]
3154 arm: Use "nr" constraint for Systemtap probes, to avoid the
3155 compiler using memory operands for constants, due to the "o"
3156 alternative in the default "nor" constraint.
3157 * include/stap-probe.h [USE_STAP_PROBE]: Include
3158 <stap-probe-machine.h>
3159 * sysdeps/generic/stap-probe-machine.h: New file.
3160 * sysdeps/arm/stap-probe-machine.h: Likewise.
3161
7a0dcfc6
JM
31622019-02-04 Joseph Myers <joseph@codesourcery.com>
3163
77dc0d86
JM
3164 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
3165 with 0, not tcache->entries[tc_idx].
3166
7a0dcfc6
JM
3167 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
3168 once.
3169
65f7767a
AS
31702019-02-04 Andreas Schwab <schwab@suse.de>
3171
3172 [BZ #16976]
3173 [BZ #17396]
3174 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
3175 looking up collating elements match against (wide) character
3176 sequence instead of name. Correct alignment adjustment.
3177 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
3178 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
3179 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
3180 (LOCALES): Add cs_CZ.ISO-8859-2.
3181 * posix/tst-fnmatch4.c: New file.
3182 * posix/tst-fnmatch5.c: New file.
3183 * include/wchar.h (__wmemcmp): Declare.
3184 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
3185 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
3186 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
3187 * sysdeps/s390/wmemcmp.c: Likewise.
3188
3f635fb4
L
31892019-02-04 H.J. Lu <hongjiu.lu@intel.com>
3190
3191 [BZ #24155]
3192 CVE-2019-7309
3193 * NEWS: Updated for CVE-2019-7309.
3194 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
3195 upper 32 bits of RDX register for x32. Use unsigned Jcc
3196 instructions, instead of signed.
3197 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
3198 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
3199
2ab5741b
FW
32002019-02-04 Florian Weimer <fweimer@redhat.com>
3201
3202 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
3203 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
3204 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
3205 Likewise.
3206 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
3207 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
3208 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
3209 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
3210 Likewise.
3211 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
3212 Likewise.
3213 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
3214 Likewise.
3215 (posix_spawn_file_actions_addopen): Likewise.
3216 (posix_spawn_file_actions_addclose): Likewise.
3217 (posix_spawn_file_actions_adddup2): Likewise.
3218 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
3219 qualifiers.
3220 (posix_spawn_file_actions_addfchdir_np): Likewise.
3221
8692ebdb
DN
32222019-02-04 David Newall <glibc@davidnewall.com>
3223
3224 elf: Implement --preload option for the dynamic linker.
3225 * elf/rtld.c (preloadarg): New variable.
3226 (handle_preload_list): Pass through “where” argument to
3227 do_preload.
3228 (dl_main): Handle "--preload" and add second call to
3229 handle_preload_list.
3230 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
3231 (tst-rtld-preload-OBJS): Set variable.
3232 (tst-rtld-preload.out): New target.
3233 * elf/tst-rtld-preload.sh: New file.
3234
5e10136b
MM
32352019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
3236
3237 * Makefile (testrun.sh): Exit in case of incorrect argument.
3238
221baae0
FW
32392019-02-04 Florian Weimer <fweimer@redhat.com>
3240
3241 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
3242 alignment gaps.
3243
b8c72381
FW
32442019-02-03 Florian Weimer <fweimer@redhat.com>
3245
3246 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
3247 implicit overflow checks.
3248
11f382ee
AJ
32492019-02-03 Aurelien Jarno <aurelien@aurel32.net>
3250
3251 * stdlib/isomac.c: Include <unistd.h>.
3252
77c7d55e
FW
32532019-02-03 Florian Weimer <fweimer@redhat.com>
3254
3255 * include/time.h (__tzfile_default): Use int, not long int, for
3256 the GMT offsets.
3257 * time/tzfile.c (struct ttinfo): Change type of the offset member
3258 to int.
3259 (__tzfile_read): Remove useless cast.
3260 (__tzfile_default): Adjust prototype.
3261 * time/tzset.c (tz_rule): Change type of the offset member to int.
3262 (parse_offset): Change the type of the sign variable to int.
3263
ee9941f9
FW
32642019-02-03 Florian Weimer <fweimer@redhat.com>
3265
3266 [BZ #24153]
3267 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
3268 * libio/getchar.c (getchar): Likewise.
3269 * libio/getchar_u.c (getchar_unlocked): Likewise.
3270 * libio/getwchar.c (getwchar): Likewise.
3271 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3272 * libio/iogets.c (_IO_gets): Likewise.
3273 * libio/vscanf.c (_IO_vscanf): Likewise.
3274 * libio/vwscanf.c (__vwscanf): Likewise.
3275 * libio/tst-bz24153.c: New file.
3276 * libio/Makefile (tests): Add it.
3277
c70824b9
FW
32782019-02-02 Florian Weimer <fweimer@redhat.com>
3279
3280 [BZ #14829]
3281 * manual/resource.texi (Basic Scheduling Functions): Add
3282 portability note. Change process to task throughout the section.
3283 Remove incorrect comment about sched_yield as it affects
3284 tasks/threads, not entire processes.
3285 * sysdeps/unix/sysv/linux/bits/posix_opt.h
3286 (_POSIX_PRIORITY_SCHEDULING): Update comment.
3287
4dcbbc3b
JM
32882019-02-01 Joseph Myers <joseph@codesourcery.com>
3289
3290 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
3291 * configure: Regenerated.
3292 * manual/install.texi (Tools for Compilation): Update minimum GCC
3293 version.
3294 * INSTALL: Regenerated.
3295
6175507c
FW
32962019-02-01 Florian Weimer <fweimer@redhat.com>
3297
3298 * support/support_test_compare_string.c
3299 (support_test_compare_string): Use "string" in error message.
3300 * support/tst-test_compare_string.c (do_test): Adjust.
3301
baef1943
FW
33022019-02-01 Florian Weimer <fweimer@redhat.com>
3303
3304 * support/support_format_address_family.c
3305 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
3306
395599f0
FW
33072019-02-01 Florian Weimer <fweimer@redhat.com>
3308
3309 * manual/socket.texi (Internet Address Formats): Clarify the byte
3310 order of struct sockaddr_in, struct sockaddr_in6. Document
3311 sin6_flowinfo and sin6_scope_id.
3312
b06f4c00
WD
33132019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
3314
3315 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
3316 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
3317 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
3318 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
3319 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
3320 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
3321
83d1cc42
FX
33222019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3323
3324 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
3325 [!MEMCHR](MEMCHR): Set to __memchr.
3326 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
3327 Add memchr_generic and memchr_nosimd.
3328 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
3329 (__libc_ifunc_impl_list): Add memchr ifuncs.
3330 * sysdeps/aarch64/multiarch/memchr.c: New file.
3331 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
3332 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
3333
c7d3890f
FX
33342019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3335
3336 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
3337 Add memset_emag.
3338 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
3339 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
3340 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
3341 Add IS_EMAG check for ifunc dispatch.
3342 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
3343 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
3344
07c3d1ec
FX
33452019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3346
3347 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
3348 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3349 Add emag.
3350 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
3351 New macro.
3352
114f792e
SL
33532019-02-01 Stefan Liebler <stli@linux.ibm.com>
3354
3355 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
3356
d5627550
VG
33572019-01-31 Vineet Gupta <vgupta@synopsys.com>
3358
3359 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
3360 syscall-template file.
3361
5fc9ed4c
CD
33622019-01-31 Carlos O'Donell <carlos@redhat.com>
3363 Torvald Riegel <triegel@redhat.com>
3364 Rik Prohaska <prohaska7@gmail.com>
3365
3366 [BZ# 23844]
3367 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
3368 tst-rwlock-trywrlock-stall.
3369 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3370 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
3371 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
3372 Set __wrphase_fute to 1 only if we started the write phase.
3373 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
3374 * nptl/tst-rwlock-trywrlock-stall.c: New file.
3375 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
3376 * support/xpthread_rwlock_destroy.c: New file.
3377 * support/xthread.h: Declare xpthread_rwlock_destroy.
3378
932329a5
JM
33792019-02-01 Joseph Myers <joseph@codesourcery.com>
3380
3381 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
3382 version to 4.0.2.
3383
5f10701f
PP
33842019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3385
3386 [BZ #24051]
3387 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
3388 * libio/fileops.c (_IO_new_file_underflow): Likewise
3389 * libio/wfileops.c (_IO_wfile_underflow): Likewise
3390 * libio/putchar.c (putchar): Likewise.
3391 * libio/putchar_u.c (putchar_unlocked): Likewise.
3392 * libio/putwchar.c (putchar): Likewise.
3393 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
3394 * libio/tst-bz24051.c: New test.
3395 * libio/Makefile (tests): Add tst-bz24051
3396
583dd860
PE
33972019-01-31 Paul Eggert <eggert@cs.ucla.edu>
3398
b626c5aa 3399 CVE-2019-9169
583dd860
PE
3400 regex: fix read overrun [BZ #24114]
3401 Problem found by AddressSanitizer, reported by Hongxu Chen in:
3402 https://debbugs.gnu.org/34140
3403 * posix/regexec.c (proceed_next_node):
3404 Do not read past end of input buffer.
3405
2bac7daa
FW
34062019-01-31 Florian Weimer <fweimer@redhat.com>
3407
3408 [BZ #24059]
3409 * nss/nss_files/files-alias.c (get_next_alias): Handle
3410 continuation line without newline at the end.
3411 * nss/tst-nss-files-alias-truncated.c: New file.
3412 * nss/Makefile [$(build-shared)] (tests): Add
3413 tst-nss-files-alias-truncated.
3414 (tst-nss-files-alias-truncated): Link with libnss_files.so.
3415 * support/namespace.h (struct support_chroot_configuration): Add
3416 aliases member.
3417 (struct support_chroot): Add path_aliases member.
3418 * support/support_chroot.c (support_chroot_create): Handle
3419 aliases.
3420 (support_chroot_free): Free path_aliases.
3421
330c9d0d
SP
34222019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
3423
de44ab67
SP
3424 * version.h (RELEASE): Set to "development".
3425 (VERSION): Set to "2.29.9000".
3426 * NEWS: Add section for 2.30.
3427
56c86f5d
SP
3428 * version.h (RELEASE): Set to "stable".
3429 (VERSION): Set to "2.29".
3430 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
3431
330c9d0d
SP
3432 * NEWS: Add the list of bugs fixed in 2.29.
3433 * manual/contrib.texi: Update contributors list with some more
3434 names.
3435 * manual/install.texi: Update latest versions of packages
3436 tested.
3437 * INSTALL: Regenerated.
3438
e1e47c91
SP
34392019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
3440
3441 * po/be.po: Update translations.
3442 * po/bg.po: Likewise.
3443 * po/ca.po: Likewise.
3444 * po/cs.po: Likewise.
3445 * po/da.po: Likewise.
3446 * po/de.po: Likewise.
3447 * po/el.po: Likewise.
3448 * po/eo.po: Likewise.
3449 * po/es.po: Likewise.
3450 * po/fi.po: Likewise.
3451 * po/fr.po: Likewise.
3452 * po/gl.po: Likewise.
3453 * po/hr.po: Likewise.
3454 * po/hu.po: Likewise.
3455 * po/ia.po: Likewise.
3456 * po/id.po: Likewise.
3457 * po/it.po: Likewise.
3458 * po/ja.po: Likewise.
3459 * po/ko.po: Likewise.
3460 * po/lt.po: Likewise.
3461 * po/nb.po: Likewise.
3462 * po/nl.po: Likewise.
3463 * po/pl.po: Likewise.
3464 * po/pt_BR.po: Likewise.
3465 * po/ru.po: Likewise.
3466 * po/rw.po: Likewise.
3467 * po/sk.po: Likewise.
3468 * po/sl.po: Likewise.
3469 * po/sv.po: Likewise.
3470 * po/tr.po: Likewise.
3471 * po/uk.po: Likewise.
3472 * po/vi.po: Likewise.
3473 * po/zh_CN.po: Likewise.
3474 * po/zh_TW.po: Likewise.
3475
8d016826
UB
34762019-01-24 Uroš Bizjak <ubizjak@gmail.com>
3477
3478 [BZ #24130]
3479 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
3480 of $f3 register on $y_is_neg path.
3481
a0bb5abd
ST
34822019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
3483
b96e22d0 3484 [BZ #24110]
a0bb5abd
ST
3485 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
3486 sigaltstack.ss_flags.
3487
b22eed37
TS
34882019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
3489
3490 [BZ #23758]
3491 * manual/time.texi (strftime): Document "%Ey".
3492 * time/strftime_l.c (__strftime_internal): Set the default width
3493 padding with zero of "%Ey" to 2.
3494
32f600a2
TS
3495 [BZ #24096]
3496 * manual/time.texi (strftime): Document "%EC" and "%EY".
3497 * time/Makefile (tests): Add tst-strftime2.
3498 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
3499 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
3500 override padding for "%Ey".
3501 If an optional flag ('_' or '-') is specified to "%EY", interpret the
3502 "%Ey" in the subformat as if decorated with that flag.
3503 * time/tst-strftime2.c: New file.
3504
8e889c5d
AZ
35052019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3506
3367acdb
AZ
3507 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
3508 are not defined.
3509
8e889c5d
AZ
3510 [BZ #24122]
3511 * elf/Makefile (tests): Add tst-audit13.
3512 (modules-names): Add tst-audit13mod1.
3513 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
3514 rule.
3515 * elf/rtld.c (dl_main): Handle invalid audit module version.
3516 * elf/tst-audit13.c: New file.
3517 * elf/tst-audit13mod1.c: Likewise.
3518
a95dc01c
ST
35192019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
3520
3521 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
3522 returned by __hurd_at_flags.
ee4d7902
ST
3523 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
3524 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
3525 directly instead of __hurd_file_name_lookup.
a95dc01c 3526
712f1167
JM
35272019-01-21 Joseph Myers <joseph@codesourcery.com>
3528
3529 * scripts/build-many-glibcs.py (Context.checkout): Default
3530 binutils version to 2.32 branch.
3531
108bc404
FW
35322019-01-21 Florian Weimer <fweimer@redhat.com>
3533
3534 [BZ #20018]
3535 CVE-2016-10739
3536 resolv: Reject trailing characters in host names
3537 * include/arpa/inet.h (__inet_aton_exact): Declare.
3538 (inet_aton): Remove hidden prototype. No longer used internally.
3539 * nscd/gai.c (__inet_aton): Do not define.
3540 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
3541 * nss/digits_dots.c (__inet_aton): Likewise.
3542 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
3543 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
3544 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
3545 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
3546 (tst-resolv-trailing): Likewise.
3547 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
3548 libc.
3549 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
3550 Make static. Add endp parameter.
3551 (__inet_aton_exact): New function.
3552 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
3553 (__inet_addr): Call inet_aton_end.
3554 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
3555 not just IPv6. Call __inet_aton_exact.
3556 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
3557 (tests): Make const. Add additional test cases with trailing
3558 characters.
3559 (do_test): Use array_length.
3560 * resolv/tst-inet_aton_exact.c: New file.
3561 * resolv/tst-resolv-trailing.c: Likewise.
3562 * resolv/tst-resolv-nondecimal.c: Likewise.
3563 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
3564
5165de69
L
35652019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3566
3567 [BZ# 24097]
3568 CVE-2019-6488
3569 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
3570 Clear the upper 32 bits of RSI register.
3571 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
3572 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
3573 and tst-size_t-wcsnlen.
3574 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
3575 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
3576
c7c54f65
L
35772019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3578
3579 [BZ# 24097]
3580 CVE-2019-6488
3581 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
3582 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3583 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3584 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
3585 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
3586
ee915088
L
35872019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3588
3589 [BZ# 24097]
3590 CVE-2019-6488
3591 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
3592 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3593 * sysdeps/x86_64/strcmp.S: Likewise.
3594 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
3595 tst-size_t-strncmp and tst-size_t-wcsncmp.
3596 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
3597 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
3598 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
3599
82d0b4a4
L
36002019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3601
3602 [BZ# 24097]
3603 CVE-2019-6488
3604 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
3605 RDX_LP for length. Clear the upper 32 bits of RDX register.
3606 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
3607 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
3608 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
3609 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
3610
ecd8b842
L
36112019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3612
3613 [BZ# 24097]
3614 CVE-2019-6488
3615 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
3616 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
3617 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
3618 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
3619
231c5676
L
36202019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3621
3622 [BZ# 24097]
3623 CVE-2019-6488
3624 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
3625 length. Clear the upper 32 bits of RDX register.
3626 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3627 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
3628 Likewise.
3629 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
3630 Likewise.
3631 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
3632 tst-size_t-wmemchr.
3633 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
3634
b304fc20
L
36352019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3636
3637 [BZ# 24097]
3638 CVE-2019-6488
3639 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
3640 length. Clear the upper 32 bits of RDX register.
3641 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3642 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3643 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
3644 tst-size_t-wmemcmp.
3645 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
3646 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
3647
97700a34
L
36482019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3649
3650 [BZ# 24097]
3651 CVE-2019-6488
3652 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
3653 upper 32 bits of RDX register.
3654 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
3655 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
3656 tst-size_t-wmemchr.
3657 * sysdeps/x86_64/x32/test-size_t.h: New file.
3658 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
3659 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
3660
6ca53a24
FW
36612019-01-18 Florian Weimer <fweimer@redhat.com>
3662
3663 [BZ #24112]
3664 resolv: Do not send queries for non-host-names in nss_dns.
3665 * resolv/nss_dns/dns-host.c (check_name): New function.
3666 (_nss_dns_gethostbyname2_r): Use it.
3667 (_nss_dns_gethostbyname_r): Likewise.
3668 (_nss_dns_gethostbyname4_r): Likewise.
3669
5e30b8ef
FW
36702019-01-21 Florian Weimer <fweimer@redhat.com>
3671
3672 * resolv/inet_addr.c: Reformat to GNU style.
3673 (__inet_addr, __inet_aton): Update comment.
3674
71effcea
FW
36752019-01-18 Florian Weimer <fweimer@redhat.com>
3676
3677 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
3678 ("malloc: Use current (C11-style) atomics for fastbin access").
3679 This commit introduces a substantial performance regression on
3680 POWER and Aarch64.
3681 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
3682 (REMOVE_FB): Define.
3683 (_int_malloc): Use it and reindent.
3684 (_int_free): Use CAS loop with
3685 catomic_compare_and_exchange_val_rel.
3686 (malloc_consolidate): Use atomic_exchange_acq.
3687
3688
562f4362
L
36892019-01-18 H.J. Lu <hongjiu.lu@intel.com>
3690
3691 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
3692 -Wl,-z,now.
3693 (LDFLAGS-tst-minsigstksz-2): Likewise.
3694 (LDFLAGS-tst-minsigstksz-3): Likewise.
3695 (LDFLAGS-tst-minsigstksz-3a): Likewise.
3696 (LDFLAGS-tst-minsigstksz-4): Likewise.
3697
80dfa298
TS
36982019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
3699
3700 * manual/time.texi (strftime): Fix the wording to "alternative" rather
3701 than "alternate".
3702
008b598e
PC
37032019-01-16 Paul A. Clarke <pc@us.ibm.com>
3704
3705 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
3706
fbbc9a4e
ZW
37072019-01-16 Zack Weinberg <zackw@panix.com>
3708
6b5c8607
TS
3709 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
3710 (xget_sigstack_location): New test support functions.
3711 * support/xsigstack.c: New file, implementing them.
3712 * support/tst-xsigstack.c: New test for them.
3713 * support/Makefile: Update.
fbbc9a4e 3714
6b5c8607
TS
3715 * signal/tst-minsigstksz-1.c
3716 * signal/tst-minsigstksz-2.c
3717 * signal/tst-minsigstksz-3.c
3718 * signal/tst-minsigstksz-3a.c
3719 * signal/tst-minsigstksz-4.c: New tests.
3720 * signal/Makefile: Run them.
fbbc9a4e 3721
5f1135e4
SP
37222019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
3723
3724 * po/libc.pot: Regenerate.
3725
ecdacd34
TMQMF
37262019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3727
3728 * math/libm-test-fma.inc (fma_test_data): Set
3729 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
3730
56054664
RA
37312019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
3732
3733 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
3734 (do_test): Changed __vector __int128_t to __vector unsigned int.
3735
1a153e47
LS
37362019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3737
3738 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3739 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
3740 stpcpy-avx2 and stpncpy-avx2.
3741 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
3742 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
3743 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
3744 and __stpncpy_avx2.
3745 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
3746 ifunc-strcpy.h}: rename header for a more generic name.
3747 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
3748 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
3749 AVX unaligned load is fast and vzeroupper is preferred.
3750 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
3751 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
3752 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
3753 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
3754 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
3755 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
3756
a1b02ae7
DL
37572019-01-12 Dmitry V. Levin <ldv@altlinux.org>
3758
3759 * argp/argp-help.c: Fix typo in comment.
3760 * misc/sys/cdefs.h: Likewise.
3761 * posix/regexec.c (sift_states_iter_mb): Likewise.
3762 * socket/sockatmark.c: Likewise.
3763 * socket/sys/socket.h: Likewise.
3764 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
3765 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
3766 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
3767 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3768 * sysdeps/unix/sockatmark.c: Likewise.
3769 * time/strptime_l.c: Likewise.
3770
5cbbf01e
TS
37712019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
3772
3773 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
3774 missing space after the cast of "_NL_CURRENT".
3775
0bc9bdf1
RA
37762019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
3777
3778 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
3779 ifdef to fix read of VSCR.
3780 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
3781 tst-ucontext-ppc64-vscr.c to test list.
3782 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
3783
5494af04
AH
37842019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
3785
3786 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
3787 fall-through.
3788
e17f63ff
JW
37892019-01-09 Jim Wilson <jimw@sifive.com>
3790
3791 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
3792
02f440c1
WD
37932019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
3794
3795 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
3796 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
3797 __memcpy_falkor for ares.
3798 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
3799 Add new define.
3800 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3801 Add ares cpu.
3802
69da3c9e
L
38032019-01-07 H.J. Lu <hongjiu.lu@intel.com>
3804
3805 [BZ #24066]
3806 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
3807 4_FP_W_TYPEs are used for IEEE quad precision.
3808 * soft-fp/extendhftf2.c: Likewise.
3809 * soft-fp/extendsftf2.c: Likewise.
3810 * soft-fp/extendxftf2.c: Likewise.
3811 * soft-fp/trunctfdf2.c: Likewise.
3812 * soft-fp/trunctfhf2.c: Likewise.
3813 * soft-fp/trunctfsf2.c: Likewise.
3814 * soft-fp/trunctfxf2.c: Likewise.
3815 * sysdeps/alpha/ots_cvttx.c: Likewise.
3816 * sysdeps/alpha/ots_cvtxt.c: Likewise.
3817 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
3818 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
3819 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
3820 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
3821 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
3822 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
3823 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
3824 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
3825 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
3826 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
3827 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
3828 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
3829 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
3830 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
3831 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
3832 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
3833
2ef42716
AJ
38342019-01-07 Aurelien Jarno <aurelien@aurel32.net>
3835
3836 [BZ #24024]
3837 * Makeconfig: Build libm with -fno-math-errno but build the remaining
3838 code with -fmath-errno.
3839 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
3840 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
3841 * string/test-strerror-errno.c: New file.
3842
7395f3a0
AJ
38432019-01-07 Aurelien Jarno <aurelien@aurel32.net>
3844
3845 [BZ #24046]
3846 * localedata/locales/en_US (date_fmt): Add, set to
3847 "%a %d %b %Y %r %Z".
3848
010fe231
FW
38492019-01-07 Florian Weimer <fweimer@redhat.com>
3850
3851 [BZ #24063]
3852 * manual/arith.texi (Math Error Reporting): Use @code{errno}
3853 instead of @var{errno}.
3854 (Parsing of Integers): Likewise.
3855 (Parsing of Floats): Likewise.
3856 * manual/filesys.texi (Working with Directory Trees): Likewise.
3857 (Temporary Files): Likewise.
3858 * manual/job.texi (Terminal Access Functions): Likewise.
3859 * manual/llio.texi (Synchronizing I/O): Likewise.
3860 * manual/math.texi (SVID Random): Likewise.
3861 * manual/message.texi (The catgets Functions): Likewise.
3862 (Translation with gettext): Likewise.
3863 (Locating gettext catalog): Likewise.
3864 (Charset conversion in gettext): Likewise.
3865 * manual/nss.texi (NSS Module Function Internals): Likewise.
3866 * manual/search.texi (Hash Search Function): Likewise.
3867 * manual/setjmp.texi (System V contexts): Likewise.
3868 * manual/time.texi (Sleeping): Likewise.
3869 * manual/users.texi (Lookup User): Likewise.
3870 (Lookup Group): Likewise.
3871
b79dc8d0
AZ
38722019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3873
3874 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
3875 fix typo.
3876
890461fe 38772019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
27c5e756
MJ
3878
3879 [BZ #19444]
3880 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
3881 __builtin_unreachable for default case in switch.
3882 (__ieee754_yn): Likewise.
3883 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3884 (__ieee754_ynl): Likewise.
3885 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3886 (__ieee754_ynl): Likewise.
3887 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3888 (__ieee754_ynl): Likewise.
3889
8b18d418
SN
38902019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
3891
3892 * manual/maint.texi: Use @{ and @}.
3893
4392898d
FW
38942019-01-04 Florian Weimer <fweimer@redhat.com>
3895
3896 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
3897 function.
3898 (do_in_chroot_1): Call it.
3899 (run_chroot_tests):
3900 Improve error reporting in case it is not possible to create a
3901 collision for the PTY name required by the test.
3902
17cc27d5
AZ
39032019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3904
ce7eb0e9
AZ
3905 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
3906 lll_wait_tid with timeout.
3907 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
3908 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
3909 futex_reltimed_wait_cancelable for cancelabla mode.
3910 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
3911 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
3912 macros.
3913 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
3914 * sysdeps/posix/waitid.c (__sigwait): Likewise.
3915 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
3916 SYSCALL_CANCEL_NCS): New macro.
3917 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
3918 (lll_timedwait_tid): Remove macro.
3919 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
3920 Likewise.
3921 (lll_timedwait_tid): Likewise.
3922 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
3923 Likewise.
3924 (lll_timedwait_tid): Likewise.
3925 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
3926 Likewise.
3927 (lll_timedwait_tid): Likewise.
3928 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
3929 Use INTERNAL_SYSCALL_CANCEL.
3930 * sysdeps/unix/sysv/linux/futex-internal.h
3931 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
3932 instead of __pthread_{enable,disable}_asynccancel.
3933 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
3934 (lll_futex_wait_cancel): New macro.
3935
0b13e255
AZ
3936 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
3937 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
3938
85c828a4
AZ
3939 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
3940 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
3941
d0d7f85f
AZ
3942 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
3943 in backtrace analysis.
3944 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
3945 side-effects.
3946 (tf_send): Likewise.
3947
17cc27d5
AZ
3948 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
3949 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
3950 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
3951 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
3952 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
3953 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
3954 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
3955 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
3956 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
3957 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
3958 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
3959 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
3960 Likewise.
3961 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
3962 tst-cancel-wrappers.sh.
3963 (generated): Remove tst-cancel-wrappers.out.
3964 (tst-cancel-wrappers.out): Remove rule.
3965 * nptl/tst-cancel-wrappers.sh: Remove file.
3966
7d7af8f1
SN
39672019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
3968
3969 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
3970 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
3971 Update.
3972
805334b2
AZ
39732019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3974
3975 [BZ #23640]
3976 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
3977 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
3978 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
3979 close-on-exec reset for adddup2 file action.
3980 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
3981
03992356
ZW
39822019-01-03 Zack Weinberg <zackw@panix.com>
3983
3984 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
3985 parameter. Only use deprecated scanf when __USE_GNU is defined
3986 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
3987 than 201103L, whichever is relevant for the language being compiled.
3988
3989 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
3990 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
3991 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
3992 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
3993 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
3994
3995 * libio/iovsscanf.c
3996 * libio/fwscanf.c
3997 * libio/iovswscanf.c
3998 * libio/swscanf.c
3999 * libio/vscanf.c
4000 * libio/vwscanf.c
4001 * libio/wscanf.c
4002 * stdio-common/fscanf.c
4003 * stdio-common/scanf.c
4004 * stdio-common/vfscanf.c
4005 * stdio-common/vfwscanf.c
4006 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4007 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
4008 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
4009 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
4010 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
4011 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
4012 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
4013 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
4014 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
4015 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
4016 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
4017 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
4018 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
4019 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
4020 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
4021
4022 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
4023 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
4024 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
4025 not sscanf.
4026 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
4027 with a preprocessor macro.
4028
4029 * stdio-common/bug21.c, stdio-common/scanf14.c:
4030 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
4031 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
4032 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
4033 to xscanf, xfscanf, xsscanf.
4034
4035 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
4036 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
4037 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
4038 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
4039 xfscanf, xsscanf.
4040 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
4041 override feature selection macros or provide definitions of u_char etc.
4042 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
4043 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
4044 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
4045 with -std=gnu89.
4046
8083afa5
AZ
40472019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4048
6f343c1f
AZ
4049 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4050 bits/termios-misc.h.
4051 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
4052 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4053 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4054 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4055 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
4056 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
4057
51f4beb0
AZ
4058 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
4059 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
4060 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
4061 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
4062 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
4063 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
4064 termios-misc.h.
4065 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
4066 (sysdep_headers): Add termios-misc.h.
4067
f69c5cb2
AZ
4068 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
4069 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4070 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4071
3aa4a07e
AZ
4072 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4073 termios-tcflow.h.
4074 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
4075 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
4076 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
4077 TCSAFLUSH): Move to termios-tcflow.h.
4078 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4079 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4080 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4081 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4082
22679ddf
AZ
4083 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4084 termios-c_lflag.h.
4085 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
4086 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
4087 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
4088 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
4089 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
4090 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
4091 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
4092 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
4093 Likewise.
4094 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4095 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4096 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4097 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4098
72eb6ecc
AZ
4099 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4100 termios-c_cflag.h.
4101 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
4102 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
4103 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
4104 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
4105 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
4106 termios-c_cflag.h.
4107 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4108 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4109 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4110 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4111
9c5d0d02
AZ
4112 [BZ #23783]
4113 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4114 termios-baud.h.
4115 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
4116 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
4117 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
4118 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
4119 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
4120 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
4121 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
4122 __MAX_BAUD): Move to termios-baud.h.
4123 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
4124 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
4125 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4126 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4127 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4128
7b832018
AZ
4129 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
4130 termios-c_oflag.h.
4131 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
4132 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
4133 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
4134 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
4135 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
4136 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
4137 termios-c_oflag.h.
4138 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
4139 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
4140 FFR1): Likewise.
4141 [USE_MISC] (XTABS): Likewise.
4142 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4143 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4144 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4145 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
4146
3127003e
AZ
4147 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
4148 termios-c_iflag.h.
4149 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
4150 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
4151 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
4152 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
4153 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
4154 IUTF8): Move to termios-c_iflag.h.
4155 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4156 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4157 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4158 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4159
48c1dd96
AZ
4160 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
4161 termios-cc.h.
4162 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
4163 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
4164 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
4165 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
4166 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
4167 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
4168 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
4169 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
4170 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4171 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4172 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4173 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4174
e5a50db3
AZ
4175 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
4176 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
4177 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
4178 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
4179 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4180 termios-struct.h.
4181 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
4182 termios-struct.h.
4183 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
4184 Likewise.
4185 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
4186 Likewise.
4187 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
4188 Likewise.
4189 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
4190 Likewise.
4191 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
4192 _HAVE_C_OSPEED): Define.
4193 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
4194 _HAVE_C_OSPEED): Likewise.
4195 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
4196 _HAVE_C_OSPEED): Likewise.
4197 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
4198 (cfsetospeed): Check for define value instead of existence.
4199 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
4200 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
4201 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
4202 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
4203 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
4204
8083afa5
AZ
4205 [BZ #17783]
4206 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
4207 Define.
4208 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
4209 (TIOCSER_TEMT): Likewise.
4210 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
4211 (TEOCSER_TEMT): Likewise.
4212
4d7d7dc6
P
42132019-01-02 PanderMusubi <pander@users.sourceforge.net>
4214
4215 [BZ #24011]
4216 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
4217
8e291a29
JM
42182019-01-02 Joseph Myers <joseph@codesourcery.com>
4219
4220 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
4221
55137f7d
ST
42222019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
4223
4224 * sysdeps/htl/pt-barrierattr-setpshared.c
4225 (pthread_barrierattr_setpshared): Add stub warning.
4226 * sysdeps/htl/pt-condattr-setpshared.c
4227 (pthread_condattr_setpshared): Likewise.
4228 * sysdeps/htl/pt-mutexattr-setpshared.c
4229 (pthread_mutexattr_setpshared): Likewise.
4230 * sysdeps/htl/pt-rwlockattr-setpshared.c
4231 (pthread_rwlockattr_setpshared): Likewise.
4232 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
4233 (pthread_mutexattr_setpshared): Likewise.
4234
2ce09e01
JM
42352019-01-02 Joseph Myers <joseph@codesourcery.com>
4236
acb55dcb
JM
4237 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
4238 constants to match with Linux 4.20.
4239
2ce09e01
JM
4240 * sysdeps/mips/mips32/libm-test-ulps: Update.
4241 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4242
fe20bb1d
AJ
42432019-01-02 Aurelien Jarno <aurelien@aurel32.net>
4244
4245 [BZ #24034]
4246 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
4247 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
4248 than __typeof (...) for the a_ptr variable.
4249
2d9837c1
GG
42502019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4251
4252 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
4253 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
4254 * libio/Makefile (tests): Add tst-sprintf-ub and
4255 tst-sprintf-chk-ub.
4256 (CFLAGS-tst-sprintf-ub.c): New variable.
4257 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
4258 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
4259 destination buffer and check for overflows in fortified mode.
4260 * libio/libioP.h (PRINTF_CHK): New macro.
4261 * libio/tst-sprintf-chk-ub.c: New file.
4262 * libio/tst-sprintf-ub.c: Likewise.
4263
d5c6df0b 42642019-01-02 Florian Weimer <fweimer@redhat.com>
8c1aafc1
FW
4265
4266 [BZ #24018]
4267 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
4268 failure.
4269
66081e38
FW
42702019-01-02 Florian Weimer <fweimer@redhat.com>
4271
4272 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
4273
04277e02
JM
42742019-01-01 Joseph Myers <joseph@codesourcery.com>
4275
6ef3d225
JM
4276 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
4277 macro.
4278
e3d4e292
JM
4279 * sysdeps/unix/sysv/linux/netpacket/packet.h
4280 (PACKET_IGNORE_OUTGOING): New macro.
4281
f4507797
JM
4282 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
4283 macro.
4284
47ad5e1a
JM
4285 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4286 version to 4.20.
4287 (riscv_flush_icache): New syscall.
4288
7628a1b0
JM
4289 * manual/texinfo.tex: Update to version 2018-12-28.17 with
4290 trailing whitespace removed.
4291 * scripts/config.guess: Update to version 2019-01-01.
4292 * scripts/config.sub: Update to version 2019-01-01.
4293 * scripts/move-if-change: Update from gnulib.
4294
c9123888
JM
4295 * NEWS: Update copyright dates.
4296 * catgets/gencat.c (print_version): Likewise.
4297 * csu/version.c (banner): Likewise.
4298 * debug/catchsegv.sh: Likewise.
4299 * debug/pcprofiledump.c (print_version): Likewise.
4300 * debug/xtrace.sh (do_version): Likewise.
4301 * elf/ldconfig.c (print_version): Likewise.
4302 * elf/ldd.bash.in: Likewise.
4303 * elf/pldd.c (print_version): Likewise.
4304 * elf/sotruss.sh: Likewise.
4305 * elf/sprof.c (print_version): Likewise.
4306 * iconv/iconv_prog.c (print_version): Likewise.
4307 * iconv/iconvconfig.c (print_version): Likewise.
4308 * locale/programs/locale.c (print_version): Likewise.
4309 * locale/programs/localedef.c (print_version): Likewise.
4310 * login/programs/pt_chown.c (print_version): Likewise.
4311 * malloc/memusage.sh (do_version): Likewise.
4312 * malloc/memusagestat.c (print_version): Likewise.
4313 * malloc/mtrace.pl: Likewise.
4314 * manual/libc.texinfo: Likewise.
4315 * nptl/version.c (banner): Likewise.
4316 * nscd/nscd.c (print_version): Likewise.
4317 * nss/getent.c (print_version): Likewise.
4318 * nss/makedb.c (print_version): Likewise.
4319 * posix/getconf.c (main): Likewise.
4320 * scripts/test-installation.pl: Likewise.
4321 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
4322
04277e02
JM
4323 * All files with FSF copyright notices: Update copyright dates
4324 using scripts/update-copyrights.
4325 * locale/programs/charmap-kw.h: Regenerated.
4326 * locale/programs/locfile-kw.h: Likewise.
4327
e740e5b1
JM
43282018-12-31 Joseph Myers <joseph@codesourcery.com>
4329
4330 * timezone/zdump.c: Update from tzcode 2018i.
4331 * timezone/zic.c: Likewise.
4332
9b7f98b3
PE
43332018-12-31 Paul Eggert <eggert@cs.ucla.edu>
4334
4335 regex: improve Gnulib port to AIX
4336 From the glibc point of view, this removes duplicate macro
4337 definitions and is obviously safe.
4338 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
4339 * posix/regex_internal.h:
4340 (__attribute__, __attribute_warn_unused_result__):
4341 Remove; already defined elsewhere.
4342
b50dd3bc
FW
43432018-12-31 Florian Weimer <fw@deneb.enyo.de>
4344
4345 [BZ #24027]
4346 * malloc/malloc.c (_int_realloc): Always call memcpy for the
4347 copying operation. (ncopies had the wrong type, resulting in an
4348 integer wraparound and too few elements being copied.)
4349
0b9c8490
L
43502018-12-31 H.J. Lu <hongjiu.lu@intel.com>
4351
4352 [BZ #24022]
4353 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
4354 <asm/syscalls.h> exists with __has_include__ before including it.
4355
01047fa6
JM
43562018-12-31 Joseph Myers <joseph@codesourcery.com>
4357
4358 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4359 version to 4.20.
4360
6b5c8607 43612018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
065957a3
JW
4362
4363 * hurd/lookup-retry: Include <unistd.h>.
4364 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
4365 Release it on return. Handle "pid" magical lookup retry.
4366
989182c4
RL
43672018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
4368
4369 [BZ #10496]
4370 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
4371 (t_fmt_ampm): Likewise.
4372 * localedata/locales/aa_ER (t_fmt): Likewise.
4373 (t_fmt_ampm): Likewise.
4374 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
4375 (t_fmt_ampm): Likewise.
4376 * localedata/locales/aa_ET (t_fmt): Likewise.
4377 (t_fmt_ampm): Likewise.
4378 * localedata/locales/am_ET (t_fmt): Likewise.
4379 (t_fmt_ampm): Likewise.
4380 * localedata/locales/byn_ER (t_fmt): Likewise.
4381 (t_fmt_ampm): Likewise.
4382 * localedata/locales/om_ET (t_fmt): Likewise.
4383 (t_fmt_ampm): Likewise.
4384 * localedata/locales/sid_ET (t_fmt): Likewise.
4385 (t_fmt_ampm): Likewise.
4386 * localedata/locales/so_DJ (t_fmt): Likewise.
4387 (t_fmt_ampm): Likewise.
4388 * localedata/locales/so_ET (t_fmt): Likewise.
4389 (t_fmt_ampm): Likewise.
4390 * localedata/locales/so_SO (t_fmt): Likewise.
4391 (t_fmt_ampm): Likewise.
4392 * localedata/locales/ti_ER (t_fmt): Likewise.
4393 (t_fmt_ampm): Likewise.
4394 * localedata/locales/ti_ET (t_fmt): Likewise.
4395 (t_fmt_ampm): Likewise.
4396 * localedata/locales/tig_ER (t_fmt): Likewise.
4397 (t_fmt_ampm): Likewise.
4398 * localedata/locales/wal_ET (t_fmt): Likewise.
4399 (t_fmt_ampm): Likewise.
4400
4401 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
4402 * localedata/locales/ar_IN (t_fmt): Likewise.
4403 * localedata/locales/bhb_IN (t_fmt): Likewise.
4404 * localedata/locales/bho_IN (t_fmt): Likewise.
4405 * localedata/locales/bi_VU (t_fmt): Likewise.
4406 * localedata/locales/bn_BD (t_fmt): Likewise.
4407 * localedata/locales/bn_IN (t_fmt): Likewise.
4408 * localedata/locales/brx_IN (t_fmt): Likewise.
4409 * localedata/locales/doi_IN (t_fmt): Likewise.
4410 * localedata/locales/en_HK (t_fmt): Likewise.
4411 (t_fmt_ampm): Likewise.
4412 * localedata/locales/en_IN (t_fmt): Likewise.
4413 * localedata/locales/en_PH (t_fmt): Likewise.
4414 * localedata/locales/gu_IN (t_fmt): Likewise.
4415 * localedata/locales/hi_IN (t_fmt): Likewise.
4416 * localedata/locales/hif_FJ (t_fmt): Likewise.
4417 * localedata/locales/hne_IN (t_fmt): Likewise.
4418 * localedata/locales/kn_IN (t_fmt): Likewise.
4419 * localedata/locales/kok_IN (t_fmt): Likewise.
4420 * localedata/locales/ks_IN (t_fmt): Likewise.
4421 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
4422 * localedata/locales/mag_IN (t_fmt): Likewise.
4423 * localedata/locales/mai_IN (t_fmt): Likewise.
4424 * localedata/locales/mjw_IN (t_fmt): Likewise.
4425 * localedata/locales/ml_IN (t_fmt): Likewise.
4426 * localedata/locales/mni_IN (t_fmt): Likewise.
4427 * localedata/locales/mr_IN (t_fmt): Likewise.
4428 * localedata/locales/ms_MY (t_fmt): Likewise.
4429 * localedata/locales/pa_IN (t_fmt): Likewise.
4430 * localedata/locales/raj_IN (t_fmt): Likewise.
4431 * localedata/locales/sa_IN (t_fmt): Likewise.
4432 * localedata/locales/sat_IN (t_fmt): Likewise.
4433 * localedata/locales/sd_IN (t_fmt): Likewise.
4434 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
4435 * localedata/locales/tcy_IN (t_fmt): Likewise.
4436 * localedata/locales/the_NP (t_fmt): Likewise.
4437 * localedata/locales/to_TO (t_fmt): Likewise.
4438 * localedata/locales/ur_IN (t_fmt): Likewise.
4439
4440 * localedata/locales/hif_FJ (d_t_fmt): Set to
4441 "%A %d %b %Y %I:%M:%S %p".
4442 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
4443
4444 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
4445 * localedata/locales/ar_BH (t_fmt): Likewise.
4446 * localedata/locales/ar_DZ (t_fmt): Likewise.
4447 * localedata/locales/ar_EG (t_fmt): Likewise.
4448 * localedata/locales/ar_IQ (t_fmt): Likewise.
4449 * localedata/locales/ar_JO (t_fmt): Likewise.
4450 * localedata/locales/ar_KW (t_fmt): Likewise.
4451 * localedata/locales/ar_LB (t_fmt): Likewise.
4452 * localedata/locales/ar_LY (t_fmt): Likewise.
4453 * localedata/locales/ar_OM (t_fmt): Likewise.
4454 * localedata/locales/ar_QA (t_fmt): Likewise.
4455 * localedata/locales/ar_SD (t_fmt): Likewise.
4456 * localedata/locales/ar_SS (t_fmt): Likewise.
4457 * localedata/locales/ar_SY (t_fmt): Likewise.
4458 * localedata/locales/ar_TN (t_fmt): Likewise.
4459 * localedata/locales/ar_YE (t_fmt): Likewise.
4460
4461 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
4462 (t_fmt_ampm): Likewise.
4463 * localedata/locales/gez_ET (t_fmt): Likewise.
4464 (t_fmt_ampm): Likewise.
4465
4466 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
4467 (t_fmt_ampm): Likewise.
4468 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
4469
4470 * localedata/locales/zh_HK (t_fmt):
4471 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
4472
4473 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
4474 because this locale does not use the 12-hour clock.
4475 (t_fmt): Set to "%Z %H:%M:%S".
4476 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
4477
4478 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
4479 because this locale does not use the 12-hour clock.
4480 (t_fmt): Set to "%H:%M:%S %Z".
4481 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
4482
4483 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
4484 because this locale does not use the 12-hour clock.
4485 (t_fmt): Set to "%T".
4486 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
4487 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
4488
4489 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
4490 because this locale does not use the 12-hour clock.
4491 (t_fmt): Set to "%H:%M:%S %Z".
4492 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
4493
4494 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
4495 because this locale does not use the 12-hour clock.
4496 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
4497 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
4498
27841a7d
RL
44992018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
4500
4501 [BZ #10496]
4502 [BZ #23724]
4503 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
4504 (t_fmt_ampm): Likewise.
4505 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
4506 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
4507 (d_fmt): Set to "%-d.%-m.%y".
4508
0253580a
AZ
45092018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4510
4511 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
4512 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
4513 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
4514 Likewise.
4515 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
4516 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
4517 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
4518 function.
4519 * support/blob_repeat.c (check_mul_overflow_size_t,
4520 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
4521
09104e5b
AJ
45222018-12-28 Aurelien Jarno <aurelien@aurel32.net>
4523
4524 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
4525
c0feb731
PE
45262018-12-27 Paul Eggert <eggert@cs.ucla.edu>
4527
4528 regex: simplify Gnulib port
4529 This simplifies the code, by removing stuff intended for porting
4530 to Gnulib but no longer needed there.
4531 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
4532 uses of libc_hidden_def, weak_alias.
4533 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
4534 _Restrict_ except for public-facing headers.
4535 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
4536 Remove; already defined elsewhere.
4537 * posix/regex.c, posix/regex_internal.h:
4538 Use __GNUC_PREREQ instead of rolling our own.
4539 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
4540
5289f1f5
WD
45412018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
4542
4543 * benchtests/bench-strlen.c (generic_strlen): New function.
6b5c8607 4544 (memchr_strlen): New function.
5289f1f5 4545
ba4b8fab
L
45462018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4547
4548 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
4549 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
4550 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
4551
9412979a
L
45522018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4553
4554 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4555
8700a785
L
45562018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4557
4558 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
4559 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
4560 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
4561 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
4562 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
4563 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
4564 <sysdeps/ieee754/flt-32/s_sincosf.c>.
4565
57b3ff8e
JM
45662018-12-21 Joseph Myers <joseph@codesourcery.com>
4567
4568 [BZ #24023]
4569 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
4570 PLT reference in libc.so.
4571 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
4572 _Q_lltoq and _Q_qtod PLT references in libc.so.
4573
90d3320d
WD
45742018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
4575
4576 * benchtests/bench-memchr.c: Cleanup defines.
4577 * benchtests/bench-memcmp.c: Likewise.
4578 * benchtests/bench-memset.c: Likewise.
4579 * benchtests/bench-memset-large.c: Likewise.
4580 * benchtests/bench-memset-walk.c: Likewise.
4581 * benchtests/bench-stpcpy.c: Likewise.
4582 * benchtests/bench-stpncpy.c: Likewise.
4583 * benchtests/bench-strcat.c: Likewise.
4584 * benchtests/bench-strchr.c: Likewise.
4585 * benchtests/bench-strcmp.c: Likewise.
4586 * benchtests/bench-strcpy.c: Likewise.
4587 * benchtests/bench-strcspn.c: Likewise.
4588 * benchtests/bench-string.h: Likewise.
4589 * benchtests/bench-strlen.c: Likewise.
4590 * benchtests/bench-strncat.c: Likewise.
4591 * benchtests/bench-strncmp.c: Likewise.
4592 * benchtests/bench-strncpy.c: Likewise.
4593 * benchtests/bench-strnlen.c: Likewise.
4594 * benchtests/bench-strpbrk.c: Likewise.
4595 * benchtests/bench-strrchr.c: Likewise.
4596 * benchtests/bench-strspn.c: Likewise.
4597
192963be
JM
45982018-12-21 Joseph Myers <joseph@codesourcery.com>
4599
5d025ea6
JM
4600 * stdlib/longlong.h: Update from GCC.
4601
192963be
JM
4602 [BZ #23993]
4603 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
4604 * configure: Regenerated.
4605 * manual/install.texi (Tools for Compilation): Update minimum GCC
4606 version.
4607 * INSTALL: Regenerated.
4608
6b5c8607 46092018-12-21 Istvan Kurucsai <pistukem@gmail.com>
c0e82f11
IK
4610
4611 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
4612
6b5c8607 46132018-12-20 Istvan Kurucsai <pistukem@gmail.com>
ebe544bf
IK
4614
4615 * malloc/malloc.c (mremap_chunk): Additional checks.
4616
5f72b005
MH
46172018-12-21 Mao Han <han_mao@c-sky.com>
4618
4619 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
4620 * scripts/build-many-glibcs.py: Add C-SKY targets.
4621 * sysdeps/csky/Implies: New file.
4622 * sysdeps/csky/Makefile: Likewise.
4623 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
4624 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
4625 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
4626 * sysdeps/csky/abiv2/memcmp.S: Likewise.
4627 * sysdeps/csky/abiv2/memcpy.S: Likewise.
4628 * sysdeps/csky/abiv2/memmove.S: Likewise.
4629 * sysdeps/csky/abiv2/memset.S: Likewise.
4630 * sysdeps/csky/abiv2/setjmp.S: Likewise.
4631 * sysdeps/csky/abiv2/start.S: Likewise.
4632 * sysdeps/csky/abiv2/strcmp.S: Likewise.
4633 * sysdeps/csky/abiv2/strcpy.S: Likewise.
4634 * sysdeps/csky/abiv2/strlen.S: Likewise.
4635 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
4636 * sysdeps/csky/abort-instr.h: Likewise.
4637 * sysdeps/csky/atomic-machine.h: Likewise.
4638 * sysdeps/csky/bits/endian.h: Likewise.
4639 * sysdeps/csky/bits/fenv.h: Likewise.
4640 * sysdeps/csky/bits/link.h: Likewise.
4641 * sysdeps/csky/bits/setjmp.h: Likewise.
4642 * sysdeps/csky/bsd-_setjmp.S: Likewise.
4643 * sysdeps/csky/bsd-setjmp.S: Likewise.
4644 * sysdeps/csky/configure: Likewise.
4645 * sysdeps/csky/configure.ac: Likewise.
4646 * sysdeps/csky/dl-machine.h: Likewise.
4647 * sysdeps/csky/dl-procinfo.c: Likewise.
4648 * sysdeps/csky/dl-procinfo.h: Likewise.
4649 * sysdeps/csky/dl-sysdep.h: Likewise.
4650 * sysdeps/csky/dl-tls.h: Likewise.
4651 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
4652 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
4653 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
4654 * sysdeps/csky/fpu/fegetenv.c: Likewise.
4655 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
4656 * sysdeps/csky/fpu/fegetmode.c: Likewise.
4657 * sysdeps/csky/fpu/fegetround.c: Likewise.
4658 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
4659 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
4660 * sysdeps/csky/fpu/fenv_private.h: Likewise.
4661 * sysdeps/csky/fpu/fesetenv.c: Likewise.
4662 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
4663 * sysdeps/csky/fpu/fesetmode.c: Likewise.
4664 * sysdeps/csky/fpu/fesetround.c: Likewise.
4665 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
4666 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
4667 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
4668 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
4669 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
4670 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
4671 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
4672 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
4673 * sysdeps/csky/fpu_control.h: Likewise.
4674 * sysdeps/csky/gccframe.h: Likewise.
4675 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
4676 * sysdeps/csky/ldsodefs.h: Likewise.
4677 * sysdeps/csky/libc-tls.c: Likewise.
4678 * sysdeps/csky/linkmap.h: Likewise.
4679 * sysdeps/csky/machine-gmon.h: Likewise.
4680 * sysdeps/csky/memusage.h: Likewise.
4681 * sysdeps/csky/nofpu/Implies: Likewise.
4682 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
4683 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
4684 * sysdeps/csky/nptl/Makefile: Likewise.
4685 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
4686 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
4687 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
4688 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
4689 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
4690 * sysdeps/csky/nptl/tls.h: Likewise.
4691 * sysdeps/csky/preconfigure: Likewise.
4692 * sysdeps/csky/sfp-machine.h: Likewise.
4693 * sysdeps/csky/sotruss-lib.c: Likewise.
4694 * sysdeps/csky/stackinfo.h: Likewise.
4695 * sysdeps/csky/sysdep.h: Likewise.
4696 * sysdeps/csky/tininess.h: Likewise.
4697 * sysdeps/csky/tst-audit.h: Likewise.
4698 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
4699 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
4700 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
4701 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
4702 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
4703 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
4704 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
4705 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
4706 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
4707 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
4708 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
4709 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
4710 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
4711 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
4712 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
4713 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
4714 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
4715 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
4716 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
4717 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
4718 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
4719 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
4720 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
4721 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
4722 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
4723 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
4724 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
4725 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
4726 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
4727 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
4728 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
4729 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
4730 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
4731 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
4732 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
4733 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
4734 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
4735 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
4736 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
4737 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
4738 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
4739 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
4740 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
4741 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
4742
6b5c8607 47432018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
ac253355
AA
4744
4745 * include/time.h (__difftime64): Add.
4746 * time/difftime.c (subtract): convert to 64-bit time.
4747 * time/difftime.c (__difftime64): Add.
4748 * time/difftime.c (__difftime): Wrap around __difftime64.
4749
ab416931
L
47502018-12-20 H.J. Lu <hongjiu.lu@intel.com>
4751
4752 * manual/examples/add.c: Remove redundant "if not".
4753 * manual/examples/argp-ex1.c: Likewise.
4754 * manual/examples/argp-ex2.c: Likewise.
4755 * manual/examples/argp-ex3.c: Likewise.
4756 * manual/examples/argp-ex4.c: Likewise.
4757 * manual/examples/atexit.c: Likewise.
4758 * manual/examples/db.c: Likewise.
4759 * manual/examples/dir.c: Likewise.
4760 * manual/examples/dir2.c: Likewise.
4761 * manual/examples/execinfo.c: Likewise.
4762 * manual/examples/filecli.c: Likewise.
4763 * manual/examples/filesrv.c: Likewise.
4764 * manual/examples/fmtmsgexpl.c: Likewise.
4765 * manual/examples/genpass.c: Likewise.
4766 * manual/examples/inetcli.c: Likewise.
4767 * manual/examples/inetsrv.c: Likewise.
4768 * manual/examples/isockad.c: Likewise.
4769 * manual/examples/longopt.c: Likewise.
4770 * manual/examples/memopen.c: Likewise.
4771 * manual/examples/memstrm.c: Likewise.
4772 * manual/examples/mkdirent.c: Likewise.
4773 * manual/examples/mkfsock.c: Likewise.
4774 * manual/examples/mkisock.c: Likewise.
4775 * manual/examples/mygetpass.c: Likewise.
4776 * manual/examples/pipe.c: Likewise.
4777 * manual/examples/popen.c: Likewise.
4778 * manual/examples/rprintf.c: Likewise.
4779 * manual/examples/search.c: Likewise.
4780 * manual/examples/select.c: Likewise.
4781 * manual/examples/setjmp.c: Likewise.
4782 * manual/examples/sigh1.c: Likewise.
4783 * manual/examples/sigusr.c: Likewise.
4784 * manual/examples/stpcpy.c: Likewise.
4785 * manual/examples/strdupa.c: Likewise.
4786 * manual/examples/strftim.c: Likewise.
4787 * manual/examples/subopt.c: Likewise.
4788 * manual/examples/swapcontext.c: Likewise.
4789 * manual/examples/termios.c: Likewise.
4790 * manual/examples/testopt.c: Likewise.
4791 * manual/examples/testpass.c: Likewise.
4792 * manual/examples/timeval_subtract.c: Likewise.
4793
515f463f
JM
47942018-12-19 Joseph Myers <joseph@codesourcery.com>
4795
da75c1b1
JM
4796 * sysdeps/x86/fpu/math_private.h: New file.
4797 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
4798
515f463f
JM
4799 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
4800 definition.
4801 (cosh): Likewise.
4802 (tanh): Likewise.
4803
1616d034
TMQMF
48042018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4805
4806 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
4807 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
4808 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
4809 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
4810 fields.
4811 (_dl_show_auxv): Give a special treatment to
4812 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
4813 and AT_L3_CACHEGEOMETRY.
4814 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
4815 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
4816 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
4817 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
4818
61595e3d
AS
48192018-12-19 Andreas Schwab <schwab@suse.de>
4820
4821 * nscd/connections.c (check_use): Don't abort on invalid len.
4822
bbb7dc84
ST
48232018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
4824
4825 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
4826 values in the 64bit value cases.
4827
6b5c8607 48282018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
64c2277d 4829
c4c2836a
AA
4830 * include/time.h
4831 (__ctime64_r): Add.
4832 * time/ctime_r.c
4833 (__ctime64_r): Add.
4834 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
4835
7755e504
AA
4836 * include/time.h
4837 (__ctime64): Add.
4838 * time/gmtime.c
4839 (__ctime64): Add.
4840 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
4841
a1d346ce
AA
4842 * include/time.h
4843 (__gmtime64_r): Add.
4844 * time/gmtime.c
4845 (__gmtime64_r): Add.
4846 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
4847
131db8b0
AA
4848 * include/time.h
4849 (__gmtime64): Add.
4850 * time/gmtime.c
4851 (__gmtime64): Add.
4852 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
4853
64c2277d
AA
4854 * include/time.h
4855 (__localtime64_r): Add.
4856 * time/localtime.c
4857 (__localtime64_r): Add.
4858 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
4859
56b98bf1
AZ
48602018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4861
64dd7a16
AZ
4862 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
4863 kernel_sigction definition.
4864
8b1d5da5
AZ
4865 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
4866
f9eabb19
AZ
4867 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
4868
56b98bf1
AZ
4869 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
4870 __syscall_rt_sigaction.
4871 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
4872 (kernel_sigaction): Use Linux generic defintion.
4873 (STUB): Define.
4874 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
4875 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
4876 (__syscall_rt_sigaction): Remove implementation.
4877 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
4878 hidden.
4879 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
4880 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
4881 INTERNAL_SYSCALL): Remove definitions.
4882 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
4883 action and signal set size.
4884 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
4885 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
4886
43a45c2d
AZ
48872018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4888 James Clarke <jrtc27@jrtc27.com>
4889
dfa6216f 4890 [BZ #23967]
43a45c2d
AZ
4891 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
4892 Define if SA_RESTORER is defined.
4893 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
4894 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
4895 already defined.
4896 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
4897 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
4898 definitions.
4899 (HAS_SA_RESTORER): Define.
4900 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
4901 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
4902 (HAS_SA_RESTORER): Define.
4903 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
4904 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
4905 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
4906 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
4907 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4908
646ce7e0
JM
49092018-12-18 Joseph Myers <joseph@codesourcery.com>
4910
4911 * sysdeps/unix/sysv/linux/kernel-features.h
4912 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
4913 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4914 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
4915 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4916 (__ASSUME_ST_INO_64_BIT): Likewise.
4917 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
4918 <kernel-features.h>.
4919 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4920 Remove conditional code.
4921 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
4922 <kernel-features.h>.
4923 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4924 Remove conditional code.
4925 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
4926 <kernel-features.h>.
4927 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4928 Remove conditional code.
4929 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
4930 <kernel-features.h>.
4931 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
4932 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
4933
80190d2b
SL
49342018-12-18 Stefan Liebler <stli@linux.ibm.com>
4935
4936 * sysdeps/s390/multiarch/ifunc-resolve.h
4937 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
4938 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
4939 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
4940 Delete macro definition.
4941 (s390_libc_ifunc_init): Rename to
4942 s390_libc_ifunc_expr_stfle_init.
4943 * sysdeps/s390/bzero: Use
4944 s390_libc_ifunc_expr_stfle_init instead of
4945 s390_libc_ifunc_init.
4946 * sysdeps/s390/memcmp.c: Likewise.
4947 * sysdeps/s390/memcpy.c: Likewise.
4948 * sysdeps/s390/mempcpy.c: Likewise.
4949 * sysdeps/s390/memset.c: Likewise.
4950
12f0dcb8
SL
49512018-12-18 Stefan Liebler <stli@linux.ibm.com>
4952
4953 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
4954 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
4955
25654a8c
SL
49562018-12-18 Stefan Liebler <stli@linux.ibm.com>
4957
4958 * sysdeps/s390/multiarch/Makefile
4959 (sysdep_routines): Remove wmemcmp variants.
4960 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
4961 * sysdeps/s390/multiarch/ifunc-impl-list.c
4962 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
4963 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
4964 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
4965 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
4966 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
4967 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
4968 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
4969 * sysdeps/s390/ifunc-wmemcmp.h: New file.
4970
d2a7436c
SL
49712018-12-18 Stefan Liebler <stli@linux.ibm.com>
4972
4973 * sysdeps/s390/multiarch/Makefile
4974 (sysdep_routines): Remove wmemset variants.
4975 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
4976 * sysdeps/s390/multiarch/ifunc-impl-list.c
4977 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
4978 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
4979 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
4980 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
4981 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
4982 * sysdeps/s390/multiarch/wmemset.c: Move to ...
4983 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
4984 * sysdeps/s390/ifunc-wmemset.h: New file.
4985
c62534ae
SL
49862018-12-18 Stefan Liebler <stli@linux.ibm.com>
4987
4988 * sysdeps/s390/multiarch/Makefile
4989 (sysdep_routines): Remove wmemchr variants.
4990 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
4991 * sysdeps/s390/multiarch/ifunc-impl-list.c
4992 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
4993 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
4994 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
4995 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
4996 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
4997 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
4998 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
4999 * sysdeps/s390/ifunc-wmemchr.h: New file.
5000
79b44cf6
SL
50012018-12-18 Stefan Liebler <stli@linux.ibm.com>
5002
5003 * sysdeps/s390/multiarch/Makefile
5004 (sysdep_routines): Remove wcscspn variants.
5005 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
5006 * sysdeps/s390/multiarch/ifunc-impl-list.c
5007 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
5008 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
5009 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
5010 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
5011 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
5012 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
5013 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
5014 * sysdeps/s390/ifunc-wcscspn.h: New file.
5015
8e87c1f6
SL
50162018-12-18 Stefan Liebler <stli@linux.ibm.com>
5017
5018 * sysdeps/s390/multiarch/Makefile
5019 (sysdep_routines): Remove wcspbrk variants.
5020 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
5021 * sysdeps/s390/multiarch/ifunc-impl-list.c
5022 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
5023 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
5024 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
5025 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
5026 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
5027 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
5028 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
5029 * sysdeps/s390/ifunc-wcspbrk.h: New file.
5030
8507e831
SL
50312018-12-18 Stefan Liebler <stli@linux.ibm.com>
5032
5033 * sysdeps/s390/multiarch/Makefile
5034 (sysdep_routines): Remove wcsspn variants.
5035 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
5036 * sysdeps/s390/multiarch/ifunc-impl-list.c
5037 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
5038 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
5039 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
5040 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
5041 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
5042 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
5043 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
5044 * sysdeps/s390/ifunc-wcsspn.h: New file.
5045
4753713a
SL
50462018-12-18 Stefan Liebler <stli@linux.ibm.com>
5047
5048 * sysdeps/s390/multiarch/Makefile
5049 (sysdep_routines): Remove wcsrchr variants.
5050 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
5051 * sysdeps/s390/multiarch/ifunc-impl-list.c
5052 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
5053 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
5054 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
5055 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
5056 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
5057 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
5058 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
5059 * sysdeps/s390/ifunc-wcsrchr.h: New file.
5060
c09c1b6f
SL
50612018-12-18 Stefan Liebler <stli@linux.ibm.com>
5062
5063 * sysdeps/s390/multiarch/Makefile
5064 (sysdep_routines): Remove wcschrnul variants.
5065 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
5066 * sysdeps/s390/multiarch/ifunc-impl-list.c
5067 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
5068 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
5069 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
5070 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
5071 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
5072 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
5073 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
5074 * sysdeps/s390/ifunc-wcschrnul.h: New file.
5075
cf3ccc31
SL
50762018-12-18 Stefan Liebler <stli@linux.ibm.com>
5077
5078 * sysdeps/s390/multiarch/Makefile
5079 (sysdep_routines): Remove wcschr variants.
5080 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
5081 * sysdeps/s390/multiarch/ifunc-impl-list.c
5082 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
5083 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
5084 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
5085 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
5086 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
5087 * sysdeps/s390/multiarch/wcschr.c: Move to ...
5088 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
5089 * sysdeps/s390/ifunc-wcschr.h: New file.
5090
e9873e1d
SL
50912018-12-18 Stefan Liebler <stli@linux.ibm.com>
5092
5093 * sysdeps/s390/multiarch/Makefile
5094 (sysdep_routines): Remove wcsncmp variants.
5095 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
5096 * sysdeps/s390/multiarch/ifunc-impl-list.c
5097 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
5098 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
5099 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
5100 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
5101 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
5102 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
5103 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
5104 * sysdeps/s390/ifunc-wcsncmp.h: New file.
5105
3459e23d
SL
51062018-12-18 Stefan Liebler <stli@linux.ibm.com>
5107
5108 * sysdeps/s390/multiarch/Makefile
5109 (sysdep_routines): Remove wcscmp variants.
5110 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
5111 * sysdeps/s390/multiarch/ifunc-impl-list.c
5112 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
5113 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
5114 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
5115 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
5116 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
5117 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
5118 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
5119 * sysdeps/s390/ifunc-wcscmp.h: New file.
5120
814a76e1
SL
51212018-12-18 Stefan Liebler <stli@linux.ibm.com>
5122
5123 * sysdeps/s390/multiarch/Makefile
5124 (sysdep_routines): Remove wcsncat variants.
5125 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
5126 * sysdeps/s390/multiarch/ifunc-impl-list.c
5127 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
5128 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
5129 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
5130 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
5131 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
5132 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
5133 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
5134 * sysdeps/s390/ifunc-wcsncat.h: New file.
5135
3389cae4
SL
51362018-12-18 Stefan Liebler <stli@linux.ibm.com>
5137
5138 * sysdeps/s390/multiarch/Makefile
5139 (sysdep_routines): Remove wcscat variants.
5140 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
5141 * sysdeps/s390/multiarch/ifunc-impl-list.c
5142 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
5143 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
5144 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
5145 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
5146 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
5147 * sysdeps/s390/multiarch/wcscat.c: Move to ...
5148 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
5149 * sysdeps/s390/ifunc-wcscat.h: New file.
5150
c3081bcb
SL
51512018-12-18 Stefan Liebler <stli@linux.ibm.com>
5152
5153 * sysdeps/s390/multiarch/Makefile
5154 (sysdep_routines): Remove wcpncpy variants.
5155 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
5156 * sysdeps/s390/multiarch/ifunc-impl-list.c
5157 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
5158 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
5159 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
5160 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
5161 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
5162 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
5163 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
5164 * sysdeps/s390/ifunc-wcpncpy.h: New file.
5165
0966dd86
SL
51662018-12-18 Stefan Liebler <stli@linux.ibm.com>
5167
5168 * sysdeps/s390/multiarch/Makefile
5169 (sysdep_routines): Remove wcsncpy variants.
5170 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
5171 * sysdeps/s390/multiarch/ifunc-impl-list.c
5172 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
5173 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
5174 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
5175 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
5176 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
5177 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
5178 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
5179 * sysdeps/s390/ifunc-wcsncpy.h: New file.
5180
0582e428
SL
51812018-12-18 Stefan Liebler <stli@linux.ibm.com>
5182
5183 * sysdeps/s390/multiarch/Makefile
5184 (sysdep_routines): Remove wcpcpy variants.
5185 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
5186 * sysdeps/s390/multiarch/ifunc-impl-list.c
5187 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
5188 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
5189 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
5190 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
5191 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
5192 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
5193 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
5194 * sysdeps/s390/ifunc-wcpcpy.h: New file.
5195
804f2e5c
SL
51962018-12-18 Stefan Liebler <stli@linux.ibm.com>
5197
5198 * sysdeps/s390/multiarch/Makefile
5199 (sysdep_routines): Remove wcscpy variants.
5200 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
5201 * sysdeps/s390/multiarch/ifunc-impl-list.c
5202 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
5203 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
5204 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
5205 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
5206 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
5207 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
5208 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
5209 * sysdeps/s390/ifunc-wcscpy.h: New file.
5210
c7e7cd26
SL
52112018-12-18 Stefan Liebler <stli@linux.ibm.com>
5212
5213 * sysdeps/s390/multiarch/Makefile
5214 (sysdep_routines): Remove wcsnlen variants.
5215 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
5216 * sysdeps/s390/multiarch/ifunc-impl-list.c
5217 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
5218 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
5219 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
5220 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
5221 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
5222 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
5223 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
5224 * sysdeps/s390/ifunc-wcsnlen.h: New file.
5225
2e02d0b7
SL
52262018-12-18 Stefan Liebler <stli@linux.ibm.com>
5227
5228 * sysdeps/s390/multiarch/Makefile
5229 (sysdep_routines): Remove wcslen variants.
5230 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
5231 * sysdeps/s390/multiarch/ifunc-impl-list.c
5232 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
5233 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
5234 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
5235 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
5236 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
5237 * sysdeps/s390/multiarch/wcslen.c: Move to ...
5238 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
5239 * sysdeps/s390/ifunc-wcslen.h: New file.
5240
89bfcbdf
SL
52412018-12-18 Stefan Liebler <stli@linux.ibm.com>
5242
5243 * sysdeps/s390/multiarch/Makefile
5244 (sysdep_routines): Remove memrchr variants.
5245 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
5246 * sysdeps/s390/multiarch/ifunc-impl-list.c
5247 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
5248 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
5249 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
5250 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
5251 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
5252 * sysdeps/s390/multiarch/memrchr.c: Move to ...
5253 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
5254 * sysdeps/s390/ifunc-memrchr.h: New file.
5255
196655ba
SL
52562018-12-18 Stefan Liebler <stli@linux.ibm.com>
5257
5258 * sysdeps/s390/multiarch/Makefile
5259 (sysdep_routines): Remove memccpy variants.
5260 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
5261 * sysdeps/s390/multiarch/ifunc-impl-list.c
5262 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
5263 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
5264 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
5265 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
5266 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
5267 * sysdeps/s390/multiarch/memccpy.c: Move to ...
5268 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
5269 * sysdeps/s390/ifunc-memccpy.h: New file.
5270
4c7b3cec
SL
52712018-12-18 Stefan Liebler <stli@linux.ibm.com>
5272
5273 * sysdeps/s390/multiarch/Makefile
5274 (sysdep_routines): Remove rawmemchr variants.
5275 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
5276 * sysdeps/s390/multiarch/ifunc-impl-list.c
5277 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
5278 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
5279 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
5280 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
5281 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
5282 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
5283 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
5284 * sysdeps/s390/ifunc-rawmemchr.h: New file.
5285
581a051c
SL
52862018-12-18 Stefan Liebler <stli@linux.ibm.com>
5287
5288 * sysdeps/s390/multiarch/Makefile
5289 (sysdep_routines): Remove memchr variants.
5290 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
5291 * sysdeps/s390/multiarch/ifunc-impl-list.c
5292 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
5293 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
5294 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
5295 * sysdeps/s390/multiarch/memchr.c: Move to ...
5296 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
5297 * sysdeps/s390/ifunc-memchr.h: New file.
5298 * sysdeps/s390/s390-64/memchr.S: Move to ...
5299 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
5300 for 31/64bit and ifunc handling.
5301 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
5302 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
5303 * sysdeps/s390/s390-32/memchr.S: Likewise.
5304
5d2ec20a
SL
53052018-12-18 Stefan Liebler <stli@linux.ibm.com>
5306
5307 * sysdeps/s390/multiarch/Makefile
5308 (sysdep_routines): Remove strcspn variants.
5309 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
5310 * sysdeps/s390/multiarch/ifunc-impl-list.c
5311 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
5312 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
5313 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
5314 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
5315 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
5316 * sysdeps/s390/multiarch/strcspn.c: Move to ...
5317 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
5318 * sysdeps/s390/ifunc-strcspn.h: New file.
5319
572cca93
SL
53202018-12-18 Stefan Liebler <stli@linux.ibm.com>
5321
5322 * sysdeps/s390/multiarch/Makefile
5323 (sysdep_routines): Remove strpbrk variants.
5324 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
5325 * sysdeps/s390/multiarch/ifunc-impl-list.c
5326 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
5327 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
5328 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
5329 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
5330 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
5331 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
5332 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
5333 * sysdeps/s390/ifunc-strpbrk.h: New file.
5334
483fc569
SL
53352018-12-18 Stefan Liebler <stli@linux.ibm.com>
5336
5337 * sysdeps/s390/multiarch/Makefile
5338 (sysdep_routines): Remove strspn variants.
5339 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
5340 * sysdeps/s390/multiarch/ifunc-impl-list.c
5341 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
5342 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
5343 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
5344 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
5345 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
5346 * sysdeps/s390/multiarch/strspn.c: Move to ...
5347 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
5348 * sysdeps/s390/ifunc-strspn.h: New file.
5349
26ea8760
SL
53502018-12-18 Stefan Liebler <stli@linux.ibm.com>
5351
5352 * sysdeps/s390/multiarch/Makefile
5353 (sysdep_routines): Remove strrchr variants.
5354 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
5355 * sysdeps/s390/multiarch/ifunc-impl-list.c
5356 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
5357 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
5358 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
5359 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
5360 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
5361 * sysdeps/s390/multiarch/strrchr.c: Move to ...
5362 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
5363 * sysdeps/s390/ifunc-strrchr.h: New file.
5364
a1361e65
SL
53652018-12-18 Stefan Liebler <stli@linux.ibm.com>
5366
5367 * sysdeps/s390/multiarch/Makefile
5368 (sysdep_routines): Remove strchrnul variants.
5369 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
5370 * sysdeps/s390/multiarch/ifunc-impl-list.c
5371 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
5372 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
5373 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
5374 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
5375 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
5376 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
5377 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
5378 * sysdeps/s390/ifunc-strchrnul.h: New file.
5379
32f12653
SL
53802018-12-18 Stefan Liebler <stli@linux.ibm.com>
5381
5382 * sysdeps/s390/multiarch/Makefile
5383 (sysdep_routines): Remove strchr variants.
5384 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
5385 * sysdeps/s390/multiarch/ifunc-impl-list.c
5386 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
5387 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
5388 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
5389 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
5390 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
5391 * sysdeps/s390/multiarch/strchr.c: Move to ...
5392 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
5393 * sysdeps/s390/ifunc-strchr.h: New file.
5394
316b8842
SL
53952018-12-18 Stefan Liebler <stli@linux.ibm.com>
5396
5397 * sysdeps/s390/multiarch/Makefile
5398 (sysdep_routines): Remove strncmp variants.
5399 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
5400 * sysdeps/s390/multiarch/ifunc-impl-list.c
5401 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
5402 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
5403 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
5404 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
5405 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
5406 * sysdeps/s390/multiarch/strncmp.c: Move to ...
5407 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
5408 * sysdeps/s390/ifunc-strncmp.h: New file.
5409
cdab85fe
SL
54102018-12-18 Stefan Liebler <stli@linux.ibm.com>
5411
5412 * sysdeps/s390/multiarch/Makefile
5413 (sysdep_routines): Remove strcmp variants.
5414 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
5415 * sysdeps/s390/multiarch/ifunc-impl-list.c
5416 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
5417 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
5418 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
5419 * sysdeps/s390/multiarch/strcmp.c: Move to ...
5420 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
5421 * sysdeps/s390/ifunc-strcmp.h: New file.
5422 * sysdeps/s390/s390-64/strcmp.S: Move to ...
5423 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
5424 for 31/64bit and ifunc handling.
5425 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
5426 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
5427 * sysdeps/s390/s390-32/strcmp.S: Likewise.
5428
b9353351
SL
54292018-12-18 Stefan Liebler <stli@linux.ibm.com>
5430
5431 * sysdeps/s390/multiarch/Makefile
5432 (sysdep_routines): Remove strncat variants.
5433 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
5434 * sysdeps/s390/multiarch/ifunc-impl-list.c
5435 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
5436 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
5437 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
5438 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
5439 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
5440 * sysdeps/s390/multiarch/strncat.c: Move to ...
5441 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
5442 * sysdeps/s390/ifunc-strncat.h: New file.
5443
8e5a0afb
SL
54442018-12-18 Stefan Liebler <stli@linux.ibm.com>
5445
5446 * sysdeps/s390/multiarch/Makefile
5447 (sysdep_routines): Remove strcat variants.
5448 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
5449 * sysdeps/s390/multiarch/ifunc-impl-list.c
5450 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
5451 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
5452 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
5453 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
5454 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
5455 * sysdeps/s390/multiarch/strcat.c: Move to ...
5456 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
5457 * sysdeps/s390/ifunc-strcat.h: New file.
5458
25218822
SL
54592018-12-18 Stefan Liebler <stli@linux.ibm.com>
5460
5461 * sysdeps/s390/multiarch/Makefile
5462 (sysdep_routines): Remove stpncpy variants.
5463 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
5464 * sysdeps/s390/multiarch/ifunc-impl-list.c
5465 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
5466 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
5467 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
5468 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
5469 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
5470 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
5471 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
5472 * sysdeps/s390/ifunc-stpncpy.h: New file.
5473
d1bdbf38
SL
54742018-12-18 Stefan Liebler <stli@linux.ibm.com>
5475
5476 * sysdeps/s390/multiarch/Makefile
5477 (sysdep_routines): Remove strncpy variants.
5478 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
5479 * sysdeps/s390/multiarch/ifunc-impl-list.c
5480 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
5481 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
5482 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
5483 * sysdeps/s390/multiarch/strncpy.c: Move to ...
5484 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
5485 * sysdeps/s390/ifunc-strncpy.h: New file.
5486 * sysdeps/s390/s390-64/strncpy.S: Move to ...
5487 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
5488 and adjust ifunc handling.
5489 * sysdeps/s390/s390-32/strncpy.S: Move to ...
5490 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
5491 and adjust ifunc handling.
5492 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
5493 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
5494
97044931
SL
54952018-12-18 Stefan Liebler <stli@linux.ibm.com>
5496
5497 * sysdeps/s390/multiarch/Makefile
5498 (sysdep_routines): Remove stpcpy variants.
5499 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
5500 * sysdeps/s390/multiarch/ifunc-impl-list.c
5501 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
5502 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
5503 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
5504 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
5505 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
5506 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
5507 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
5508 * sysdeps/s390/ifunc-stpcpy.h: New file.
5509
914a4e05
SL
55102018-12-18 Stefan Liebler <stli@linux.ibm.com>
5511
5512 * sysdeps/s390/multiarch/Makefile
5513 (sysdep_routines): Remove strcpy variants.
5514 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
5515 * sysdeps/s390/multiarch/ifunc-impl-list.c
5516 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
5517 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
5518 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
5519 * sysdeps/s390/multiarch/strcpy.c: Move to ...
5520 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
5521 * sysdeps/s390/ifunc-strcpy.h: New file.
5522 * sysdeps/s390/s390-64/strcpy.S: Move to ...
5523 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
5524 for 31/64bit and ifunc handling.
5525 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
5526 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
5527 * sysdeps/s390/s390-32/strcpy.S: Likewise.
5528
de10e44d
SL
55292018-12-18 Stefan Liebler <stli@linux.ibm.com>
5530
5531 * sysdeps/s390/multiarch/Makefile
5532 (sysdep_routines): Remove strnlen variants.
5533 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
5534 * sysdeps/s390/multiarch/ifunc-impl-list.c
5535 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
5536 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
5537 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
5538 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
5539 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
5540 * sysdeps/s390/multiarch/strnlen.c: Move to ...
5541 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
5542 * sysdeps/s390/ifunc-strnlen.h: New file.
5543
ff3ca374
SL
55442018-12-18 Stefan Liebler <stli@linux.ibm.com>
5545
5546 * sysdeps/s390/multiarch/Makefile
5547 (sysdep_routines): Remove strlen variants.
5548 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
5549 * sysdeps/s390/multiarch/ifunc-impl-list.c
5550 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
5551 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
5552 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
5553 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
5554 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
5555 * sysdeps/s390/multiarch/strlen.c: Move to ...
5556 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
5557 * sysdeps/s390/ifunc-strlen.h: New file.
5558
d2c4c403
SL
55592018-12-18 Stefan Liebler <stli@linux.ibm.com>
5560
5561 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
5562 * sysdeps/s390/multiarch/ifunc-impl-list.c
5563 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
5564 * sysdeps/s390/ifunc-memmem.h: New file.
5565 * sysdeps/s390/memmem.c: Likewise.
5566 * sysdeps/s390/memmem-c.c: Likewise.
5567 * sysdeps/s390/memmem-vx.c: Likewise.
5568
8c25dddd
SL
55692018-12-18 Stefan Liebler <stli@linux.ibm.com>
5570
5571 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
5572 * sysdeps/s390/multiarch/ifunc-impl-list.c
5573 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
5574 * sysdeps/s390/ifunc-strstr.h: New file.
5575 * sysdeps/s390/strstr.c: Likewise.
5576 * sysdeps/s390/strstr-c.c: Likewise.
5577 * sysdeps/s390/strstr-vx.c: Likewise.
5578
cdd927d9
SL
55792018-12-18 Stefan Liebler <stli@linux.ibm.com>
5580
5581 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
5582 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
5583 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
5584 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
5585 New defines.
5586 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
5587 * sysdeps/s390/memmove-c.c: New file.
5588 * sysdeps/s390/memmove.c: Likewise.
5589 * sysdeps/s390/multiarch/ifunc-impl-list.c
5590 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
5591
2ee1bc57
SL
55922018-12-18 Stefan Liebler <stli@linux.ibm.com>
5593
5594 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
5595 * sysdeps/s390/configure.ac: Add check for z13 support.
5596 * sysdeps/s390/configure: Regenerated.
5597
d097d976
SL
55982018-12-18 Stefan Liebler <stli@linux.ibm.com>
5599
5600 * sysdeps/s390/memcopy.h: New file.
5601
e099aab0
SL
56022018-12-18 Stefan Liebler <stli@linux.ibm.com>
5603
5604 * sysdeps/s390/s390-32/bcopy.S: Remove.
5605 * sysdeps/s390/s390-64/bcopy.S: Likewise.
5606
18eb862d
SL
56072018-12-18 Stefan Liebler <stli@linux.ibm.com>
5608
5609 * sysdeps/s390/ifunc-memcpy.h: New File.
5610 * sysdeps/s390/memcpy.S: Move to ...
5611 * sysdeps/s390/memcpy-z900.S ... here.
5612 Move implementations from memcpy-s390x.s to here.
5613 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
5614 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5615 Remove memcpy/mempcpy variants.
5616 * sysdeps/s390/Makefile (sysdep_routines):
5617 Add memcpy/mempcpy variants.
5618 * sysdeps/s390/multiarch/ifunc-impl-list.c
5619 (__libc_ifunc_impl_list): Adjust ifunc variants for
5620 memcpy and mempcpy.
5621 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
5622 to ...
5623 * sysdeps/s390/memcpy.c: ... here.
5624 Adjust ifunc variants for memcpy.
5625 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
5626 * sysdeps/s390/mempcpy.c: ... here.
5627 Adjust ifunc variants for mempcpy.
5628 * sysdeps/s390/mempcpy.S: Delete file.
5629
df3eb8de
SL
56302018-12-18 Stefan Liebler <stli@linux.ibm.com>
5631
5632 * sysdeps/s390/s390-64/memcpy.S: Move to ...
5633 * sysdeps/s390/memcpy.S: ... here.
5634 Adjust to be usable for 31/64bit.
5635 * sysdeps/s390/s390-32/memcpy.S: Delete File.
5636 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
5637 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
5638 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5639 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
5640 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
5641 Adjust to be usable for 31/64bit.
5642 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
5643 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
5644 * sysdeps/s390/multiarch/memcpy.c: ... here.
5645 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
5646
b7e024a8
SL
56472018-12-18 Stefan Liebler <stli@linux.ibm.com>
5648
5649 * sysdeps/s390/ifunc-memcmp.h: New File.
5650 * sysdeps/s390/memcmp.S: Move to ...
5651 * sysdeps/s390/memcmp-z900.S ... here.
5652 Move implementations from memcmp-s390x.s to here.
5653 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
5654 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5655 Remove memcmp variants.
5656 * sysdeps/s390/Makefile (sysdep_routines):
5657 Add memcmp variants.
5658 * sysdeps/s390/multiarch/ifunc-impl-list.c
5659 (__libc_ifunc_impl_list): Adjust ifunc variants for
5660 memcmp.
5661 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
5662 to ...
5663 * sysdeps/s390/memcmp.c: ... here.
5664 Adjust ifunc variants for memcmp.
5665
6c6b8c74
SL
56662018-12-18 Stefan Liebler <stli@linux.ibm.com>
5667
5668 * sysdeps/s390/s390-64/memcmp.S: Move to ...
5669 * sysdeps/s390/memcmp.S: ... here.
5670 Adjust to be usable for 31/64bit.
5671 * sysdeps/s390/s390-32/memcmp.S: Delete File.
5672 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
5673 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
5674 Remove memcmp.
5675 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5676 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
5677 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
5678 Adjust to be usable for 31/64bit.
5679 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
5680 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
5681 * sysdeps/s390/multiarch/memcmp.c: ... here.
5682 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
5683
07be3928
SL
56842018-12-18 Stefan Liebler <stli@linux.ibm.com>
5685
5686 * sysdeps/s390/s390-32/bzero.S: Delete file.
5687 * sysdeps/s390/s390-64/bzero.S: Likewise.
5688 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
5689 * sysdeps/s390/bzero.c: New file.
5690 * sysdeps/s390/memset-z900.S: Add bzero entry points.
5691 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
5692 * sysdeps/s390/multiarch/ifunc-impl-list.c
5693 (__libc_ifunc_impl_list): Add bzero ifunc variants.
5694
712a254a
SL
56952018-12-18 Stefan Liebler <stli@linux.ibm.com>
5696
5697 * sysdeps/s390/ifunc-memset.h: New File.
5698 * sysdeps/s390/memset.S: Move to ...
5699 * sysdeps/s390/memset-z900.S ... here.
5700 Move implementations from memset-s390x.s to here.
5701 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
5702 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5703 Remove memset variants.
5704 * sysdeps/s390/Makefile (sysdep_routines):
5705 Add memset variants.
5706 * sysdeps/s390/multiarch/ifunc-impl-list.c
5707 (__libc_ifunc_impl_list): Adjust ifunc variants for
5708 memset.
5709 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
5710 to ...
5711 * sysdeps/s390/memset.c: ... here.
5712 Adjust ifunc variants for memset.
5713
5f1743d1
SL
57142018-12-18 Stefan Liebler <stli@linux.ibm.com>
5715
5716 * sysdeps/s390/s390-64/memset.S: Move to ...
5717 * sysdeps/s390/memset.S: ... here.
5718 Adjust to be usable for 31/64bit.
5719 * sysdeps/s390/s390-32/memset.S: Delete File.
5720 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
5721 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
5722 Remove memset.
5723 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5724 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
5725 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
5726 Adjust to be usable for 31/64bit.
5727 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
5728 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
5729 * sysdeps/s390/multiarch/memset.c: ... here.
5730 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
5731
e8023f26
SL
57322018-12-18 Stefan Liebler <stli@linux.ibm.com>
5733
5734 * sysdeps/s390/multiarch/ifunc-resolve.h
5735 (s390_libc_ifunc_init, s390_libc_ifunc,
5736 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
5737
b8686c0d
SL
57382018-12-18 Stefan Liebler <stli@linux.ibm.com>
5739
5740 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
5741 * sysdeps/s390/configure.ac: Add check for z10 support.
5742 * sysdeps/s390/configure: Regenerated.
5743
cd815050
L
57442018-12-18 H.J. Lu <hongjiu.lu@intel.com>
5745
5746 * sysdeps/i386/atomic-machine.h: Merged with ...
5747 * sysdeps/x86_64/atomic-machine.h: To ...
5748 * sysdeps/x86/atomic-machine.h: This. New file.
5749
053c52b1
FW
57502018-12-18 Florian Weimer <fweimer@redhat.com>
5751
5752 Rewrite locale/gen-translit.pl in Python.
5753 * locale/Makefile (generated): Add C-translit.h.
5754 (before-compile): Add $(objpfx)C-translit.h.
5755 (C-translit.h): Move to $(objpfx). Create target directory.
5756 Build using Python script.
5757 * locale/gen-translit.py: New file.
5758 * locale/gen-translit.pl: Remove file.
5759 * locale/C-translit.h.in: Change comment character to '#' for
5760 easier parsing without a C preprocessor.
5761 * locale/C-translit.h: Remove generated file.
5762 * manual/install.texi (Tools for Compilation): Do not mention
5763 C-translit.h.
5764 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
5765 Remove locale/C-translit.h.
5766 * scripts/update-copyrights: Likewise.
5767 * INSTALL: Regenerate.
5768
40e6c1ec
FW
57692018-12-18 Florian Weimer <fweimer@redhat.com>
5770
5771 [BZ #23995]
5772 * localedata/locales/bi_VU: Remove executable bit from file.
5773
6b5c8607 57742018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
6e15f3e2
AA
5775
5776 * include/time.h
5777 (__localtime64): Add.
5778 * manual/maint.texi: Document Y2038 symbol handling.
5779 * time/localtime.c
5780 (__localtime64): Add.
bfb79db4 5781 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
6e15f3e2 5782
df648905
JM
57832018-12-17 Joseph Myers <joseph@codesourcery.com>
5784
551e81d9
JM
5785 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
5786 Do not clobber r12.
5787
df648905
JM
5788 * scripts/glibcextract.py (compare_macro_consts): Take parameters
5789 to allow extra macros from first or second sources.
5790 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
5791 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5792 (tests-special): Add $(objpfx)tst-mman-consts.out.
5793 ($(objpfx)tst-mman-consts.out): New makefile target.
5794
6bbfc5c0
MH
57952018-12-17 Mao Han <han_mao@c-sky.com>
5796
5797 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
5798 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
5799 without stat64 system call support.
5800 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
5801 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
5802 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
5803 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
5804 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
5805 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
5806 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
5807 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
5808 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
5809 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
5810 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
5811
ef202e53
PE
58122018-12-15 Paul Eggert <eggert@cs.ucla.edu>
5813
5814 regex: fix storage-exhaustion error
5815 [BZ #18040]
5816 * posix/regexec.c (get_subexp):
5817 Do not continue if storage is exhausted.
5818
077caf61
AG
58192018-12-15 Assaf Gordon <assafgordon@gmail.com>
5820
5821 regex: fix heap-use-after-free error
5822 [BZ #18040]
5823 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
5824 https://debbugs.gnu.org/32592
5825 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
5826 call extend_buffers which reallocates the re_string_t internal buffer.
5827 Local variable 'buf' was not updated in such case, resulting in
5828 use-after-free.
5829 * posix/regexec.c (get_subexp): Update 'buf' after call to
5830 get_subexp_sub.
5831
0c1719e6
FW
58322018-12-15 Florian Weimer <fweimer@redhat.com>
5833
5834 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
5835 (minimum_stride_size): Use it.
5836 (support_blob_repeat_allocate): Likewise.
5837
033a2c0a
JM
58382018-12-14 Joseph Myers <joseph@codesourcery.com>
5839
5840 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
5841 definition.
5842 (acosh): Likewise.
5843 (atanh): Likewise.
5844
e361dc04
FW
58452018-12-14 Florian Weimer <fweimer@redhat.com>
5846
5847 * manual/process.texi (Process Creation Concepts): Remove
5848 documentation of process (ID) lifetime. List more process
5849 creation functions. Reference Process Identification section.
5850 (Process Identification): Add information about process ID
5851 lifetime. Describe Linux thread/task IDs.
5852 * manual/signal.texi (Signaling Another Process): Mention that the
5853 signal is always sent to the process.
5854
bd51ff5e
GG
58552018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5856
5857 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
5858 and tst-ldbl-efgcvt.
5859 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
5860 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
5861 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
5862 (fcvt_tests, output_error, output_r_error, do_test): Use the
5863 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
5864 select the type of floating-point variables and arguments; to
5865 produce extra tests for double and conversion specifiers for
5866 printf; and to set the names of called functions.
5867 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
5868 in tst-efgcvt-template.c.
5869 * misc/tst-ldbl-efgcvt.c: Likewise.
5870
268bb71e
SL
58712018-12-14 Stefan Liebler <stli@linux.ibm.com>
5872
5873 * nss/Makefile (tst-nss-test3.out): New rule.
5874
db6df070
JM
58752018-12-13 Joseph Myers <joseph@codesourcery.com>
5876
5877 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
5878 clobber sp.
5879
ade8b817
CD
58802018-12-13 fanjinke <fanjinke@hygon.cn>
5881
5882 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
5883 "HygonGenuine".
5884
3d265911
AS
58852018-12-13 Andreas Schwab <schwab@suse.de>
5886
f21e8f8c 5887 [BZ #23861]
3d265911 5888 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
f21e8f8c
AS
5889 (__pthread_rwlock_rdlock_full): Update expected value for
5890 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
5891 * nptl/tst-rwlock-pwn.c: New file.
5892 * nptl/Makefile (tests): Add tst-rwlock-pwn.
3d265911 5893
bf8ae8c0
JM
58942018-12-12 Joseph Myers <joseph@codesourcery.com>
5895
5896 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
5897 definition.
5898
de099757
LS
58992018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5900
5901 * benchtests/scripts/compare_bench.py (do_compare): write to
5902 stderr in casestat is not present.
5903 * benchtests/scripts/compare_bench.py (plot_graphs): write to
5904 stderr in case timings field is not present. Also string showing
5905 the output filename goes into the stderr.
5906
1990185f
LS
59072018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5908
5909 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
5910 and ZeroDivisorError exceptions.
5911 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
5912 argument to loop through user provided statistics.
5913 * benchtests/scripts/compare_bench.py (main): Include the --stats
5914 argument.
5915
587426d4
LS
59162018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5917
5918 * benchtests/scripts/compare_bench.py (compare_runs): Continue
5919 instead of return.
5920
46703efa
FW
59212018-12-12 Florian Weimer <fweimer@redhat.com>
5922
5923 * sysdeps/posix/timespec_get.c: Add missing “any later version”
5924 clause to copyright header.
5925
1d880d4a
TMQMF
59262018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5927
5928 [BZ #23614]
5929 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
5930 registers saved in the stack frame.
5931 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
5932 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
5933
1a502f52
GG
59342018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5935
5936 * include/bits/monetary-ldbl.h: New file.
5937 * include/bits/printf-ldbl.h: Likewise.
5938 * include/bits/stdio-ldbl.h: Likewise.
5939 * include/bits/stdlib-ldbl.h: Likewise.
5940 * include/bits/syslog-ldbl.h: Likewise.
5941 * include/bits/wchar-ldbl.h: Likewise.
5942
df682d1d
GG
59432018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5944
5945 * libio/libio.h: Remove redirection for _IO_vfprintf.
5946
c2c082c1
AS
59472018-12-11 Andreas Schwab <schwab@suse.de>
5948
5949 * Makerules: Remove all references to abilist-pattern.
5950 (update-all-abi): Simplify find expression.
5951
505b5b29
SN
59522018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
5953
5954 [BZ #23961]
5955 * math/auto-libm-test-in: Add new test case.
5956 * math/auto-libm-test-out-pow: Regenerated.
5957 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
5958
304c61a2
DD
59592018-12-10 DJ Delorie <dj@redhat.com>
5960
5961 [BZ #23948]
5962 * support/test-container.c: Move postclean step to before we
5963 change namespaces.
5964
a8110b72
JM
59652018-12-10 Joseph Myers <joseph@codesourcery.com>
5966
cb7be159
JM
5967 * scripts/gen-as-const.py (main): Handle --python option.
5968 * scripts/gen-py-const.awk: Remove.
5969 * Makerules (py-const-script): Use gen-as-const.py.
5970 ($(py-const)): Likewise.
5971 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
5972 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
5973 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
5974 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
5975 ~PTHREAD_MUTEX_NO_ELISION_NP.
5976 * manual/README.pretty-printers: Update reference to
5977 gen-py-const.awk.
5978
a8110b72
JM
5979 * scripts/glibcextract.py: New file.
5980 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
5981 or tempfile. Import glibcexctract.
5982 (compute_c_consts): Remove. Moved to glibcextract.py.
5983 (gen_test): Update reference to compute_c_consts.
5984 (main): Likewise.
5985 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
5986 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
5987 * sysdeps/unix/sysv/linux/Makefile
5988 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
5989 Redirect stderr as well as stdout.
5990
f9ba9eb8
RÁE
59912018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
5992
5993 [BZ #19767]
5994 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
b39d961c
TS
5995 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
5996 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
f9ba9eb8 5997 ALWAYS_USE_VSYSCALL.
b39d961c 5998 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
f9ba9eb8
RÁE
5999 ALWAYS_USE_VSYSCALL.
6000 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
6001 ALWAYS_USE_VSYSCALL.
6002
8d20a2f4
FW
60032018-12-10 Florian Weimer <fweimer@redhat.com>
6004
6005 [BZ #23972]
6006 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
6007 offset instead of count for clarity. Fix typo in comment.
6008 (__old_getdents64): Keep track of previous offset. Use it to call
6009 handle_overflow.
6010 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
6011 that d_off is never zero.
6012
80472e2f
AS
60132018-12-10 Andreas Schwab <schwab@suse.de>
6014
6015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
6016 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
6017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
6018 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
6019 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
6020
0afcb29d
JM
60212018-12-10 Joseph Myers <joseph@codesourcery.com>
6022
6023 * timezone/private.h: Update from tzcode 2018g.
6024 * timezone/tzfile.h: Likewise.
6025 * timezone/tzselect.ksh: Likewise.
6026 * timezone/zdump.c: Likewise.
6027 * timezone/zic.c: Likewise.
6028
b93f4052
PP
60292018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6030
6031 [BZ #23490]
6032 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
6033 (do_test): Adjust buffer size and fix format.
6034
7c9a7c68
DD
60352018-12-07 DJ Delorie <dj@redhat.com>
6036
6037 [BZ #23907]
6038 * malloc/tst-tcfree3.c: New.
6039 * malloc/Makefile: Add it.
6040
37caec3a
L
60412018-12-07 H.J. Lu <hongjiu.lu@intel.com>
6042
6043 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
6044
10446f5d
GG
60452018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6046
6047 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
6048 used as a mask for the mode argument of __vfscanf_internal and
6049 __vfwscanf_internal.
6050 * stdio-common/vfscanf-internal.c
6051 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
6052 (__strtof128_internal): Define to __wcstof128_internal.
6053 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
6054 __strtof128_internal or __wcstof128_internal when the format of
6055 long double is the same as _Float128.
6056
45f33aac
ST
60572018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
6058
6059 * include/unistd.h (__confstr): Add prototype and hidden prototype.
6060 * posix/confstr.c (confstr): Rename to __confstr.
6061 (__confstr): Add hidden def.
6062 (confstr): Add weak alias for __confstr.
6063 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
6064 confstr.
6065
a092ca94
L
60662018-12-07 H.J. Lu <hongjiu.lu@intel.com>
6067
6068 * NEWS: Mention getcpu.
6069 * include/sched.h (__getcpu): New libc_hidden_proto.
6070 * manual/resource.texi: Document getcpu.
6071 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
6072 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
6073 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
6074 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6075 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6076 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6077 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6078 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6079 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6080 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6081 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6082 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6083 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
6084 Likewise.
6085 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6086 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6087 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6089 Likewise.
6090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6091 Likewise.
6092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
6093 Likewise.
6094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
6095 Likewise.
6096 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
6097 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6098 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6099 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6100 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6101 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6102 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6103 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6104 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
6105 * sysdeps/unix/sysv/linux/getcpu.c: New file.
6106 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
6107 Also check getcpu.
6108
7c857b6f
ST
61092018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
6110
6111 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
6112 functions.
6113 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
6114
3a3fb755
FW
61152018-12-07 Florian Weimer <fweimer@redhat.com>
6116
6117 [BZ #17405]
6118 * posix/Makefile (routines): Add spawn_faction_addfchdir.
6119 * posix/Versions (GLIBC_2.29): Export
6120 posix_spawn_file_actions_addfchdir_np.
6121 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
6122 * posix/spawn_faction_destroy.c
6123 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
6124 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
6125 and the field action.fchdir_action.
6126 * posix/tst-spawn-chdir.c (add_chdir): New function.
6127 (do_test): Add do_fchdir loop. Call add_chdir.
6128 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
6129 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6130 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
6131 posix_spawn_file_actions_addfchdir_np.
6132 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
6133 Likewise.
6134 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
6135 Likewise.
6136 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
6137 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
6138 Likewise.
6139 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
6140 Likewise.
6141 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
6142 Likewise.
6143 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
6144 Likewise.
6145 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
6146 Likewise.
6147 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
6148 Likewise.
6149 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6150 (GLIBC_2.29): Likewise.
6151 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6152 (GLIBC_2.29): Likewise.
6153 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6154 (GLIBC_2.29): Likewise.
6155 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6156 (GLIBC_2.29): Likewise.
6157 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
6158 Likewise.
6159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6160 (GLIBC_2.29): Likewise.
6161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6162 (GLIBC_2.29): Likewise.
6163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6164 (GLIBC_2.29): Likewise.
6165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6166 (GLIBC_2.29): Likewise.
6167 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
6168 Likewise.
6169 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
6170 Likewise.
6171 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
6172 Likewise.
6173 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
6174 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
6175 Likewise.
6176 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
6177 Likewise.
6178 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
6179 Likewise.
6180 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
6181 Likewise.
6182
c37cd439
JM
61832018-12-06 Joseph Myers <joseph@codesourcery.com>
6184
6185 * manual/texinfo.tex: Update to version 2018-09-21.20 with
6186 trailing whitespace removed.
6187 * scripts/config.guess: Update to version 2018-11-28.
6188 * scripts/config.sub: Update to version 2018-11-28.
6189 * scripts/install-sh: Update to version 2018-03-11.20.
6190 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
6191 * scripts/move-if-change: Update to version 2018-03-07 03:47.
6192
899478c2
FW
61932018-12-07 Florian Weimer <fweimer@redhat.com>
6194
6195 [BZ #23927]
6196 CVE-2018-19591
6197 * inet/tst-if_index-long.c: New file.
6198 * inet/Makefile (tests): Add tst-if_index-long.
6199
f255336a
FW
62002018-12-07 Florian Weimer <fweimer@redhat.com>
6201
6202 * support/check.h (support_record_failure_is_failed): Declare.
6203 * support/descriptors.h: New file.
6204 * support/support_descriptors.c: Likewise.
6205 * support/tst-support_descriptors.c: Likewise.
6206 * support/support_record_failure.c
6207 (support_record_failure_is_failed): New function.
6208 * support/Makefile (libsupport-routines): Add support_descriptors.
6209 (tests): Add tst-support_descriptors.
6210
35caceb1
ZW
62112018-12-05 Zack Weinberg <zackw@panix.com>
6212 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6213
6214 * stdio-common/vfprintf-internal.c
6215 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
6216 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
6217 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
6218 and __no_long_double.
6219 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
6220 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
6221 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
6222 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
6223 and __nldbl_*syslog* functions.
6224 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
6225 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
6226 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
6227 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
6228 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
6229 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
6230 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
6231 (__nldbl_vwprintf, __nldbl_wprintf):
6232 Directly call the appropriate __v*printf_internal routine, passing
6233 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
6234 variable names.
6235 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
6236 (__nldbl___printf_chk, __nldbl___snprintf_chk)
6237 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
6238 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
6239 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
6240 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
6241 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
6242 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
6243 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
6244 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
6245 Likewise, and also pass PRINTF_FORTIFY when appropriate.
6246 (__nldbl_syslog, __nldbl_vsyslog):
6247 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
6248 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
6249 appropriate.
6250 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
6251 appropriate.
6252
4e2f43f8
ZW
62532018-12-05 Zack Weinberg <zackw@panix.com>
6254 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6255
6256 [BZ #11319]
6257 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
6258 Moved here from debug/vsprintf_chk.c.
6259 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
6260 and completion logic for the strfile to match exactly what
6261 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
6262 _IO_str_init_static_internal instead of maxlen-1.
6263 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
6264 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
6265 __vsprintf_internal.
6266
6267 * debug/vsprintf_chk.c (__vsprintf_chk)
6268 * debug/sprintf_chk.c (__sprintf_chk):
6269 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
6270 'flags' argument is positive, and slen as maxlen. No need to lock
6271 the FILE and/or construct a temporary FILE. Minimize and normalize
6272 header inclusions and variable names. Do not libc_hidden_def anything.
6273
6274 * debug/asprintf_chk.c (__asprintf_chk)
6275 * debug/dprintf_chk.c (__dprintf_chk)
6276 * debug/fprintf_chk.c (__fprintf_chk)
6277 * debug/fwprintf_chk.c (__fwprintf_chk)
6278 * debug/printf_chk.c (__printf_chk)
6279 * debug/snprintf_chk.c (__snprintf_chk)
6280 * debug/swprintf_chk.c (__swprintf_chk)
6281 * debug/vasprintf_chk.c (__vasprintf_chk)
6282 * debug/vdprintf_chk.c (__vdprintf_chk)
6283 * debug/vfprintf_chk.c (__vfprintf_chk)
6284 * debug/vfwprintf_chk.c (__vfwprintf_chk)
6285 * debug/vprintf_chk.c (__vprintf_chk)
6286 * debug/vsnprintf_chk.c (__vsnprintf_chk)
6287 * debug/vswprintf_chk.c (__vswprintf_chk)
6288 * debug/vwprintf_chk.c (__vwprintf_chk)
6289 * debug/wprintf_chk.c (__wprintf_chk):
6290 Directly call the corresponding vxxprintf_internal function, passing
6291 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
6292 the FILE and/or construct a temporary FILE. Minimize and normalize
6293 header inclusions and variable names. Do not libc_hidden_def anything.
6294
6295 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
6296 __obstack_vprintf_internal.
6297 (__obstack_vprintf_chk): Convert into a wrapper that calls
6298 __obstack_vprintf_internal (these two functions already had the
6299 same code) and move to new file...
6300 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
6301 file.
6302 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
6303 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
6304 * debug/Makefile (routines): Add vobprintf_chk.
6305
6306 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
6307 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
6308 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
6309 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
6310 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
6311 (__nldbl___obstack_vfprintf_chk):
6312 Directly call the corresponding vxxprintf_internal function,
6313 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
6314 duplicate comparison of slen with 0 or maxlen from the corresponding
6315 non-__nldbl function.
6316
6317 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
6318 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
6319 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
6320 Remove libc_hidden_proto.
6321
6322 * stdio-common/vfprintf-internal.c
6323 (__vfprintf_internal, __vfwprintf_internal):
6324 Do not check _IO_FLAGS2_FORTIFY.
6325 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
6326 * libio/libioP.h: Update prototype of __vsprintf_internal and add
6327 a comment explaining why it has the maxlen argument.
6328 (_IO_acquire_lock_clear_flags2_fct): Remove.
6329 (_IO_acquire_lock_clear_flags2): Remove.
6330 (_IO_release_lock): Remove conditional statement which will
6331 now never execute.
6332 (_IO_acquire_lock): Remove variable which is now unused.
6333 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
6334 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
6335
6336 * stdio-common/Makefile (tests): Add tst-bz11319 and
6337 tst-bz11319-fortify2.
6338 (CFLAGS-tst-bz11319-fortify2.c): New macro.
6339 * stdio-common/tst-bz11319-fortify2.c: New file.
6340 * stdio-common/tst-bz11319.c: Likewise.
6341
124fc732
ZW
63422018-12-05 Zack Weinberg <zackw@panix.com>
6343 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6344
6345 * misc/syslog.c: Include libioP.h, not iolibio.h.
6346 (__vsyslog_internal): New function with the former body of
6347 __vsyslog_chk; takes mode_flags argument same as
6348 __v*printf_internal. Call __vfprintf_internal directly.
6349
6350 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
6351 Remove libc_hidden_def.
6352 (__syslog, __syslog_chk): Use __vsyslog_internal.
6353 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
6354
6355 * include/sys/syslog.h: Add multiple inclusion guard.
6356 Add prototype for __vsyslog_internal.
6357 Remove declaration and libc_hidden_proto for __vsyslog_chk.
6358
6359 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
6360 Use __vsyslog_internal.
6361
698fb75b
ZW
63622018-12-05 Zack Weinberg <zackw@panix.com>
6363 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6364
6365 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
6366 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
6367 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
6368 New functions.
6369 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
6370 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
6371
6372 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
6373 Include wctype.h here if COMPILE_WPRINTF is defined.
6374 Define __vfprintf_internal or __vfwprintf_internal, depending
6375 on COMPILE_WPRINTF.
6376 Temporarily, on entry to this function, update mode_flags
6377 according to the environmental settings corresponding to
6378 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
6379 Throughout, check mode_flags instead of __ldbl_is_dbl and
6380 _IO_FLAGS2_FORTIFY on the destination FILE.
6381 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
6382 Include vfprintf-internal.c. Don't include wctype.h.
6383 * stdio-common/vfprintf.c: New file. Just define __vfprintf
6384 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
6385 and vfprintf.
6386 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
6387 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
6388 and vfwprintf.
6389 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
6390
6391 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
6392 and add mode_flags argument; use __vfprintf_internal.
6393 (__vdprintf): New function. Alias vdprintf to this.
6394 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
6395 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
6396 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
6397 (__obstack_printf): Use __obstack_printf_internal.
6398 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
6399 public aliases __vsnprintf and vsnprintf.
6400 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
6401 called internally.
6402 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
6403 public aliases _IO_vsprintf and vsprintf.
6404 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
6405 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
6406 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
6407 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
6408 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
6409
6410 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
6411 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
6412 * stdio-common/fprintf.c, stdio-common/fxprintf.c
6413 * stdio-common/printf.c: Use __vfprintf_internal.
6414
6415 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
6416 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
6417 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
6418
6419 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
6420 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
6421 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
6422 __vfwprintf_internal.
6423
6424 * libio/libio.h: Remove libc_hidden_proto and declaration for
6425 _IO_vfprintf.
6426 Remove declaration of _IO_vfwprintf.
6427 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
6428 _IO_vsprintf.
6429 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
6430 _IO_obstack_printf.
6431 * include/stdio.h: Add prototype for __vasprintf.
6432 (__vsnprintf): Remove declaration, because there are no more
6433 internal calls.
6434 * include/wchar.h (__vfwprintf, __vswprintf): Remove
6435 declaration, because there are no more internal calls.
6436
6437 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
6438 __vsnprintf_internal, instead of _IO_vsnprintf.
6439 * argp/argp-help.c (__argp_error, __argp_failure): Use
6440 __vasprintf_internal, instead of _IO_vasprintf.
6441 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
6442 redefine, because there are no more internal calls.
6443
d91798b3
ZW
64442018-12-05 Zack Weinberg <zackw@panix.com>
6445 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6446
6447 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
6448 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
6449 Include libio/strfile.h instead of libioP.h.
6450 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
6451 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
6452 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
6453 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
6454 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
6455 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
6456 necessary. Do not set __no_long_double. Normalize variable names.
6457 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
6458 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
6459 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
6460 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
6461 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
6462 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
6463 Call __vfscanf_internal / __vfwscanf_internal directly, passing
6464 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
6465 Do not set __no_long_double. Normalize variable names.
6466
b87eb3f8
ZW
64672018-12-05 Zack Weinberg <zackw@panix.com>
6468 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6469
6470 * stdio-common/isoc99_scanf.c
6471 * stdio-common/isoc99_fscanf.c
6472 * stdio-common/isoc99_sscanf.c
6473 * stdio-common/isoc99_vscanf.c
6474 * stdio-common/isoc99_vfscanf.c
6475 * stdio-common/isoc99_vsscanf.c
6476 * wcsmbs/isoc99_wscanf.c
6477 * wcsmbs/isoc99_fwscanf.c
6478 * wcsmbs/isoc99_swscanf.c
6479 * wcsmbs/isoc99_vwscanf.c
6480 * wcsmbs/isoc99_vfwscanf.c
6481 * wcsmbs/isoc99_vswscanf.c:
6482 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
6483 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
6484 No need to lock and unlock the FILE passed to that function.
6485
6486 * stdio-common/vfscanf-internal.c
6487 (__vfscanf_internal, __vfwscanf_internal):
6488 Don't look at _IO_FLAGS2_SCANF_STD.
6489 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
6490 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
6491 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
6492
349718d4
ZW
64932018-12-05 Zack Weinberg <zackw@panix.com>
6494 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6495
6496 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
6497 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
6498 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
6499 * libio/strfile.h: Add multiple inclusion guard.
6500 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
6501
6502 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
6503 consistency with the other version of this file.
6504 (ldbl_compat_symbol): New macro.
6505 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
6506 New macro.
6507
6508 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
6509 Define __vfscanf_internal or __vfwscanf_internal, depending on
6510 COMPILE_WSCANF; don't define any other public symbols.
6511 Remove errval and code to set errp.
6512 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
6513 as the mode_flags argument.
6514 (encode_error, conv_error, input_error): Don't set errval.
6515 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
6516 Include vfscanf-internal.c.
6517 * stdio-common/vfscanf.c: New file defining the public entry
6518 point vfscanf, which calls __vfscanf_internal.
6519 * stdio-common/vfwscanf.c: New file defining the public entry
6520 point vfwscanf, which calls __vfwscanf_internal.
6521
6522 * stdio-common/iovfscanf.c: New file.
6523 * stdio-common/iovfwscanf.c: Likewise.
6524
6525 * stdio-common/Makefile (routines): Add vfscanf-internal,
6526 vfwscanf-internal, iovfscanf, iovfwscanf.
6527 * stdio-common/Versions: Mention GLIBC_2.29, so that
6528 it can be used in SHLIB_COMPAT expressions.
6529 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
6530 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
6531 Call __vfscanf_internal, instead of _IO_vfscanf.
6532 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
6533 _IO_vfscanf.
6534 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
6535 _IO_vfwscanf.
6536
6537 * libio/iovsscanf.c: Clean up includes, when possible. Use
6538 _IO_strfile_read or _IO_strfile_readw, when needed. Call
6539 __vfscanf_internal or __vfwscanf_internal directly.
6540 * libio/iovswscanf.c: Likewise.
6541 * libio/swscanf.c: Likewise.
6542 * libio/vscanf.c: Likewise.
6543 * libio/vwscanf.c: Likewise.
6544 * libio/wscanf.c: Likewise.
6545 * stdio-common/isoc99_fscanf.c: Likewise.
6546 * stdio-common/isoc99_scanf.c: Likewise.
6547 * stdio-common/isoc99_sscanf.c: Likewise.
6548 * stdio-common/isoc99_vfscanf.c: Likewise.
6549 * stdio-common/isoc99_vscanf.c: Likewise.
6550 * stdio-common/isoc99_vsscanf.c: Likewise.
6551 * stdio-common/scanf.c: Likewise.
6552 * stdio-common/sscanf.c: Likewise.
6553 * wcsmbs/isoc99_fwscanf.c: Likewise.
6554 * wcsmbs/isoc99_swscanf.c: Likewise.
6555 * wcsmbs/isoc99_vfwscanf.c: Likewise.
6556 * wcsmbs/isoc99_vswscanf.c: Likewise.
6557 * wcsmbs/isoc99_vwscanf.c: Likewise.
6558 * wcsmbs/isoc99_wscanf.c: Likewise.
6559
6b5c8607 65602018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
72b8692d
AA
6561
6562 * include/time.h
6563 (__tz_compute): Replace time_t with __time64_t.
6564 (__tz_convert): Replace time_t* with __time64_t.
6565 (__offtime): Replace time_t* with __time64_t.
6566 * time/gmtime.c
6567 (__gmtime_r): Adjust call to __tz_convert.
6568 (gmtime): Likewise.
6569 * time/localtime.c
6570 (__localtime_r): Likewise.
6571 (localtime): Likewise.
6572 * time/offtime.c: Replace time_t with __time64_t.
6573 * time/tzset.c: Likewise.
6574
bd598da9
JM
65752018-12-04 Joseph Myers <joseph@codesourcery.com>
6576
6577 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
6578 dynamic linker unless [$(run-built-tests) = yes].
6579
b2e93de0
DD
65802018-12-03 DJ Delorie <dj@delorie.com>
6581
6582 * support/test-container.c (check_for_unshare_hints): New.
6583 (main): Call it if unshare fails. Add support for "su" scriptlet
6584 command.
6585
477a02f6
JM
65862018-12-03 Joseph Myers <joseph@codesourcery.com>
6587
6588 * scripts/gen-as-const.py (compute_c_consts): Take an argument
6589 'START' to indicate that start text should be output.
6590 (gen_test): Likewise.
6591 (main): Generate 'START' for first symbol or '--' line, or at end
6592 of input if not previously generated.
6593
6af956e5
RÁE
65942018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
6595
6596 [BZ #19767]
6597 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
6598 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
6599 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
6600 ALWAYS_USE_VSYSCALL.
6601
f5ec0ea9
AZ
66022018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6603
6604 [BZ #23913]
6605 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
6606 new_argv by one.
6607
8cebd4ff
CD
66082018-12-03 Carlos O'Donell <carlos@redhat.com>
6609
6610 [BZ #23923]
6611 * locale/programs/localedef.c: Declare boolean hard_links default true.
6612 (options): Add --no-hard-links option.
6613 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
6614 * locale/programs/localedef.h: Declare prototype for hard_links.
6615 * locale/programs/locfile.c (write_locale_data): Don't use hard
6616 links if hard_links is false.
6617
c22e4c2a
L
66182018-12-03 H.J. Lu <hongjiu.lu@intel.com>
6619
6620 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
6621 cpu_features_basic.
6622 (__cache_sysconf): Likewise.
6623 (init_cacheinfo): Likewise.
6624 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
6625 populate COMMON_CPUID_INDEX_80000007 and
6626 COMMON_CPUID_INDEX_80000008.
6627 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
6628 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
6629 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
6630 (init_cpu_features): Use _Static_assert on
6631 index_arch_Fast_Unaligned_Load.
6632 __get_cpuid_registers and __get_arch_feature. Updated for
6633 cpu_features_basic. Set stepping in cpu_features.
6634 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
6635 (FEATURE_INDEX_2): New.
6636 (FEATURE_INDEX_MAX): Changed to enum.
6637 (COMMON_CPUID_INDEX_D_ECX_1): New.
6638 (COMMON_CPUID_INDEX_80000007): Likewise.
6639 (COMMON_CPUID_INDEX_80000008): Likewise.
6640 (cpuid_registers): Likewise.
6641 (cpu_features_basic): Likewise.
6642 (CPU_FEATURE_USABLE): Likewise.
6643 (bit_arch_XXX_Usable): Likewise.
6644 (cpu_features): Use cpuid_registers and cpu_features_basic.
6645 (bit_arch_XXX): Reweritten.
6646 (bit_cpu_XXX): Likewise.
6647 (index_cpu_XXX): Likewise.
6648 (reg_XXX): Likewise.
6649 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
6650 <support/check.h>.
6651 (CHECK_CPU_FEATURE): New.
6652 (CHECK_CPU_FEATURE_USABLE): Likewise.
6653 (cpu_kinds): Likewise.
6654 (do_test): Print vendor, family, model and stepping. Check
6655 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
6656 (TEST_FUNCTION): Removed.
6657 Include <support/test-driver.c> instead of
6658 "../../test-skeleton.c".
6659 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
6660 Check POPCNT instead of POPCOUNT.
6661 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
6662
7b36d26b
ST
66632018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
6664
6665 * scripts/gen-as-const.py (main): Avoid emitting empty line when
6666 there is no element in `consts'.
6667
02cd5c1a
FW
66682018-12-01 Florian Weimer <fweimer@redhat.com>
6669
6670 * support/support_capture_subprocess.c
6671 (support_capture_subprocess): Check that pipe descriptors have
6672 expected values. Close original pipe descriptors in subprocess.
6673
fc493bc9
ST
66742018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
6675
6676 [BZ #23032]
6677 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
6678 attr with __pthread_default_barrierattr.
6679 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
6680 attr with __pthread_default_condattr.
6681 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
6682 attr with __pthread_default_mutexattr.
6683 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
6684 attr with __pthread_default_rwlockattr.
6685
6310e6be
KW
66862018-12-01 Kemi Wang <kemi.wang@intel.com>
6687
6688 * manual/tunables.texi (POSIX Thread Tunables): New node.
6689 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
6690 * nptl/nptl-init.c: Include pthread_mutex_conf.h
6691 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
6692 __pthread_tunables_init.
6693 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
6694 (max_adaptive_count): Define.
6695 * nptl/pthread_mutex_conf.c: New file.
6696 * nptl/pthread_mutex_conf.h: New file.
6697 * sysdeps/generic/adaptive_spin_count.h: New file.
6698 * sysdeps/nptl/dl-tunables.list: New file.
6699 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
6700 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
6701 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
6702 Likewise.
6703
8e67b39e
PP
67042018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
6705
6706 [BZ #20544]
6707 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
6708 * stdlib/on_exit.c (__on_exit): Likewise.
6709 * stdlib/Makefile (tests): Add tst-bz20544.
6710 * stdlib/tst-bz20544.c: New test.
6711
15b8d67e
RÁE
67122018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
6713
6714 [BZ #19767]
6715 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
6716 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
6717 New.
6718
5e63c240
FW
67192018-11-30 Florian Weimer <fweimer@redhat.com>
6720
6721 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
6722 Extend error logging.
6723 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
6724 symbol.
6725
71058602 67262018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14d0e87d 6727
5fb7fc96
AZ
6728 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
6729 __sigismember instead of sigismember.
6730 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
6731 cancel_handler): New definitions.
6732 (do_system): Use posix_spawn instead of fork and execl and remove
6733 reentracy code.
6734 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
6735 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
6736 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
6737 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
6738 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
6739 * sysdeps/unix/sysv/linux/system.c: Likewise.
6740
14d0e87d
AZ
6741 [BZ #22834]
6742 [BZ #17490]
6743 * NEWS: Add new semantic for atfork with popen and system.
6744 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
6745 fork and execl.
6746
e5d262ef
TMQMF
67472018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6748
6749 [BZ #23690]
6750 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
6751 modification order when accessing reloc_result->addr.
6752 * include/link.h (reloc_result): Add field init.
6753 * nptl/Makefile (tests): Add tst-audit-threads.
6754 (modules-names): Add tst-audit-threads-mod1 and
6755 tst-audit-threads-mod2.
6756 Add rules to build tst-audit-threads.
6757 * nptl/tst-audit-threads-mod1.c: New file.
6758 * nptl/tst-audit-threads-mod2.c: Likewise.
6759 * nptl/tst-audit-threads.c: Likewise.
6760 * nptl/tst-audit-threads.h: Likewise.
6761
7e1d4240
JM
67622018-11-30 Joseph Myers <joseph@codesourcery.com>
6763
6764 * scripts/gen-as-const.py: New file.
6765 * scripts/gen-as-const.awk: Remove.
6766 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
6767 gen-as-const.py.
6768 ($(objpfx)test-as-const-%.c): Likewise.
6769
ce7387cc
L
67702018-11-29 H.J. Lu <hongjiu.lu@intel.com>
6771
6772 * elf/dl-exception.c: Include <_itoa.h>.
6773
c6a5bdc1
ST
67742018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
6775
6776 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
6777 returned by __f_setlk.
6778
a5275ba5
L
67792018-11-29 H.J. Lu <hongjiu.lu@intel.com>
6780 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6781
6782 * elf/Makefile (tests-internal): Add tst-create_format1.
6783 * elf/dl-exception.c (_dl_exception_create_format): Support
6784 %x, %lx and %zx.
6785 * elf/tst-create_format1.c: New file.
6786
3a67e81d
CAC
67872018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
6788
6789 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
6790 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
6791 gnulib.)
6792 * argp/argp-help.c (__argp_failure): Likewise.
6793
4975f0c3
MH
67942018-11-29 Mao Han <han_mao@c-sky.com>
6795
6796 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
6797 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
6798 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
6799 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
6800 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
6801 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
6802 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
6803 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
6804 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
6805 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
6806 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
6807 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
6808 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
6809 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
6810 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
6811 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
6812 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
6813 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
6814 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
6815 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
6816 (R_CKCORE_TLS_TPOFF32): New defines.
6817
250102c8
FW
68182018-11-29 Florian Weimer <fweimer@redhat.com>
6819
6820 * posix/Makefile (before-compile): Remove testcases.h and
6821 ptestcases.h.
6822 (generated): Add testcases.h and ptestcases.h.
6823 (testcases.h, ptestcases.h): Move to $(objpfx).
6824 (runtests.o): Add dependency on testcases.h.
6825 (runptests.o): Add dependency on ptestcases.h.
6826 * posix/testcases.h, posix/ptestcases.h: Remove files.
6827 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
6828 not touch posix/testcases.h and posix/ptestcases.h.
6829
96cd0558
FW
68302018-11-28 Florian Weimer <fweimer@redhat.com>
6831
6832 support: Add signal support to support_capture_subprocess_check.
6833 * support/capture_subprocess.h (support_capture_subprocess_check):
6834 Adjust comment and rename parameter.
6835 * support/support_capture_subprocess_check.c
6836 (print_actual_status): New function.
6837 (support_capture_subprocess_check): Support negative
6838 status_or_signal. Call print_actual_status.
6839 * support/tst-support_capture_subprocess.c (do_test): Call
6840 support_capture_subprocess_check.
6841 * libio/tst-vtables-common.c (termination_status)
6842 (init_termination_status): Remove.
6843 (check_for_termination): Adjust support_capture_subprocess_check
6844 call.
6845 (do_test): Remove call to init_termination_status.
6846
530504e3
JM
68472018-11-28 Joseph Myers <joseph@codesourcery.com>
6848
6849 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
6850 source directory instead of a copy.
6851 (CommandList.create_copy_dir): Remove.
6852
9a0b6970
SL
68532018-11-28 Stefan Liebler <stli@linux.ibm.com>
6854
6855 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6856
47d8d9a2
FW
68572018-11-28 Florian Weimer <fweimer@redhat.com>
6858
6859 * support/support.h (support_quote_string): Do not use str
6860 parameter name.
6861
b473b7d8
JM
68622018-11-27 Joseph Myers <joseph@codesourcery.com>
6863
6864 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
6865 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
6866
c74a91de
FW
68672018-11-27 Florian Weimer <fweimer@redhat.com>
6868
6869 * support/support.h (support_quote_string): Declare.
6870 * support/support_quote_string.c: New file.
6871 * support/tst-support_quote_string.c: Likewise.
6872 * support/Makefile (libsupport-routines): Add
6873 support_quote_string.
6874 (tests): Add tst-support_quote_string.
6875
d527c860
FW
68762018-11-27 Florian Weimer <fweimer@redhat.com>
6877
6878 [BZ #23927]
6879 CVE-2018-19591
6880 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
6881 descriptor leak in case of ENODEV error.
6882
979cfed0
RÁE
68832018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
6884
6885 [BZ #19767]
6886 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
6887 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
6888 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
6889
ce035c6e
CD
68902018-11-26 Carlos O'Donell <carlos@redhat.com>
6891
6892 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
6893 Error for unknown lines.
6894
2bd0bfcc
JM
68952018-11-26 Joseph Myers <joseph@codesourcery.com>
6896
6897 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
6898 Touch additional files.
6899
affec03b
FW
69002018-11-26 Florian Weimer <fweimer@redhat.com>
6901
6902 [BZ #23907]
6903 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
6904 double-frees.
6905
8ae74ead
RÁE
69062018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
6907
6908 [BZ #19767]
6909 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
6910 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
6911 SHARED. Include sysdep.h.
6912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
6913 ALWAYS_USE_VSYSCALL.
6914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
6915 ALWAYS_USE_VSYSCALL.
6916
1e8bdc3a
RÁE
69172018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
6918
6919 [BZ #19767]
6920 * nptl/Makefile (tests-static): Add tst-cond11-static.
6921 (tests): Likewise.
6922 * nptl/tst-cond11-static.c: New File.
6923 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
6924 tst-affinity-static.
6925 (tests): Likewise.
6926 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
6927 instead of SHARED.
6928 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
6929 (USE_VSYSCALL): Likewise.
6930 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
6931 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
6932 instead of SHARED.
6933 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
6934 SHARED.
6935 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
6936 New.
6937
1283c478
JM
69382018-11-23 Joseph Myers <joseph@codesourcery.com>
6939
6940 [BZ #23915]
6941 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6942 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
6943 Undefine.
6944
c089fd80
L
69452018-11-23 H.J. Lu <hongjiu.lu@intel.com>
6946
6947 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
6948 (tst-cet-legacy-1a-ARGS): New.
6949 ($(objpfx)tst-cet-legacy-1a): New target.
6950 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
6951
cc6c89fa
JM
69522018-11-22 Joseph Myers <joseph@codesourcery.com>
6953
95edd05c
JM
6954 * conform/conformtest.py (CompileSubTest.__init__): Set
6955 self.run_early to False.
6956 (ExecuteSubTest.__init__): Likewise.
6957 (HeaderTests.run): Try running all non-optional, non-XFAILed
6958 compilation tests in a single execution of the compiler.
6959
cc6c89fa
JM
6960 * conform/conformtest.py (CompileSubTest): New class.
6961 (ExecuteSubTest): Likewise.
6962 (ElementTest.run): Rename to gen_subtests. Append tests to
6963 self.subtests instead of running them.
6964 (ConstantTest.run): Likewise.
6965 (SymbolTest.run): Likewise.
6966 (TypeTest.run): Likewise.
6967 (TagTest.run): Likewise.
6968 (FunctionTest.run): Likewise.
6969 (VariableTest.run): Likewise.
6970 (MacroFunctionTest.run): Likewise.
6971 (MacroStrTest.run): Likewise.
6972 (HeaderTests.handle_test_line): Generate subtests for tests.
6973 (HeaderTests.run): Run subtests for tests.
6974
a502c529
SN
69752018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6976
6977 * math/Versions (GLIBC_2.29): Add pow.
6978 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
6979 symbol.
6980 * math/w_pow.c: New file.
6981 * sysdeps/i386/fpu/w_pow.c: New file.
6982 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
6983 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
6984 and add necessary aliases.
6985 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
6986 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
6987 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6988 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6989 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6990 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6991 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6992 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6993 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6994 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6995 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6996 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6997 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6998 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6999 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7004 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7005 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7006 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7007 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7008 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7009 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7010 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7011 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
7012 __pow.
7013 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
7014 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
7015 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
7016
718d6542
SN
70172018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7018
7019 * math/Versions (GLIBC_2.29): Add log2.
7020 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
7021 symbol.
7022 * math/w_log2.c: New file.
7023 * sysdeps/i386/fpu/w_log2.c: New file.
7024 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
7025 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
7026 and add necessary aliases.
7027 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
7028 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
7029 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7030 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7031 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7032 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7033 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7034 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7035 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7036 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7037 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7038 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7039 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7040 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7041 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7046 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7047 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7048 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7049 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7050 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7051 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7052 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7053
f29b7c49
SN
70542018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7055
7056 * math/Versions (GLIBC_2.29): Add log.
7057 * math/w_log_compat.c (__log_compat): Change to versioned compat
7058 symbol.
7059 * math/w_log.c: New file.
7060 * sysdeps/i386/fpu/w_log.c: New file.
7061 * sysdeps/ia64/fpu/e_log.S: Update.
7062 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
7063 and add necessary aliases.
7064 * sysdeps/ieee754/dbl-64/w_log.c: New file.
7065 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
7066 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7067 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7068 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7069 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7070 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7071 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7072 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7073 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7074 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7075 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7076 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7077 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7078 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7083 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7084 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7085 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7086 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7087 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7088 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7089 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7090 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
7091 __log.
7092 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
7093 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
7094 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
7095 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
7096
c20a1056
SN
70972018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7098
7099 * math/Versions (GLIBC_2.29): Add exp and exp2.
7100 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
7101 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
7102 * math/w_exp_compat.c (__exp_compat): Likewise.
7103 * math/w_exp.c: New file.
7104 * math/w_exp2.c: New file.
7105 * sysdeps/i386/fpu/w_exp.c: New file.
7106 * sysdeps/i386/fpu/w_exp2.c: New file.
7107 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
7108 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
7109 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
7110 and add necessary aliases.
7111 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
7112 and add necessary aliases.
7113 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
7114 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
7115 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
7116 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
7117 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7118 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7119 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7120 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7121 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7122 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7123 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7124 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7125 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7126 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7127 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7128 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7129 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7134 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7135 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7136 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7137 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7138 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7139 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7140 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7141 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
7142 (__ieee754_exp): Rename to __exp.
7143 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
7144 (__ieee754_exp): Rename to __exp.
7145 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
7146 (__ieee754_exp): Rename to __exp.
7147 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
7148 __exp.
7149 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
7150
bcdaad21
DD
71512018-11-20 DJ Delorie <dj@redhat.com>
7152
7153 * malloc/malloc.c (tcache_entry): Add key field.
7154 (tcache_put): Set it.
7155 (tcache_get): Likewise.
7156 (_int_free): Check for double free in tcache.
7157 * malloc/tst-tcfree1.c: New.
7158 * malloc/tst-tcfree2.c: New.
7159 * malloc/Makefile: Run the new tests.
7160 * manual/probes.texi: Document memory_tcache_double_free probe.
7161
7162 * dlfcn/dlerror.c (check_free): Prevent double frees.
7163
5770c0ad
WD
71642018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
7165
7166 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
7167
9a62a939
JM
71682018-11-20 Joseph Myers <joseph@codesourcery.com>
7169
7170 * conform/conformtest.py (ElementTest.run): Use unique identifiers
7171 in tests. Use names for format arguments.
7172 (ConstantTest.run): Likewise.
7173 (SymbolTest.run): Likewise.
7174 (TypeTest.run): Likewise.
7175 (TagTest.run): Likewise.
7176 (FunctionTest.run): Likewise.
7177 (VariableTest.run): Likewise.
7178 (MacroFunctionTest.run): Likewise.
7179 (MacroStrTest.run): Likewise.
7180 (HeaderTests.__init__): Set self.num_tests.
7181 (HeaderTests.handle_test_line): Set test.num. Increment
7182 self.num_tests.
7183
b15b1a95
ST
71842018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
7185
7186 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
7187 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
7188 SEEK_SET.
7189
0c7f97ae
MH
71902018-11-19 Mao Han <han_mao@c-sky.com>
7191
7192 * scripts/config.guess: Update to version 2018-08-29.
7193 * scripts/config.sub: Update to version 2018-08-29.
7194
35e3fbc4
FW
71952018-11-19 Florian Weimer <fweimer@redhat.com>
7196
7197 support: Print timestamps in timeout handler.
7198 * support/support_test_main.c (print_timestamp): New function.
7199 (signal_handler): Use it to print the termination time and the
7200 time of the last write to standard output.
7201
c75772e3
ZW
72022018-11-16 Zack Weinberg <zackw@panix.com>
7203 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7204
7205 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
7206 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
7207 argument.
7208 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
7209 and add flags argument. Check flags instead of __ldbl_is_dbl when
7210 deciding whether to set is_long_double.
7211 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
7212 passing zero for flags argument.
7213 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
7214
7215 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7216 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
7217 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
7218 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
7219 variable names. Remove libc_hidden_def/libc_hidden_proto from
7220 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
7221 longer called from within the library.
7222 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
7223 for __nldbl___vstrfmon_l, declare it explicitly.
7224
7225 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
7226
346ef23f
ST
72272018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
7228
7229 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
7230 macros
7231 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
7232 F_SETLK64, F_SETLKW64, respectively.
7233 * sysdeps/mach/hurd/f_setlk.c: New file.
7234 * sysdeps/mach/hurd/f_setlk.h: New file.
7235 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
7236 f_setlk.
7237 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
7238 (__libc_fcntl): Move non-flock operations to...
7239 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
7240 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
7241
de20b81a
PE
72422018-11-15 Paul Eggert <eggert@cs.ucla.edu>
7243
5d8af156
PE
7244 mktime: DEBUG_MKTIME cleanup
7245 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
7246 And it’s no longer needed now that glibc and Gnulib both have
7247 their own testing mechanisms for mktime.
7248 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
7249
86aece3b
PE
7250 mktime: fix non-EOVERFLOW errno handling
7251 [BZ#23789]
7252 mktime was not properly reporting failures when the underlying
7253 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
7254 them like EOVERFLOW failures, and set errno to EOVERFLOW.
7255 The problem could happen on non-glibc platforms, with Gnulib.
7256 * time/mktime.c (guess_time_tm): Remove, replacing with ...
7257 (tm_diff): ... this simpler function, which does not change errno.
7258 All callers changed to deal with errno themselves.
7259 (ranged_convert, __mktime_internal): Return failure immediately if
7260 the underlying function reports any failure other than EOVERFLOW.
7261 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
7262 gap code fails.
7263
f6b3331b
PE
7264 mktime: fix bug with Y2038 DST transition
7265 [BZ#23789]
7266 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
7267 mishandle a DST transition that jumps over the Y2038 boundary.
7268 No such DST transitions are known so this is only a theoretical
7269 bug, but we might as well do things right.
7270
efbdddc3
PE
7271 mktime: make more room for overflow
7272 [BZ#23789]
7273 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
7274 This is so that we can add tm_diff results to a previous guess,
7275 which will be useful in a later patch.
7276
6c90d759
PE
7277 mktime: simplify offset guess
7278 [BZ#23789]
7279 * time/mktime.c (__mktime_internal): Omit excess precision.
7280
32c12f3f
PE
7281 mktime: new test for mktime failure
7282 [BZ#23789]
7283 Based on a test suggested by Albert Aribaud in:
7284 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
7285 * time/Makefile (tests): Add bug-mktime4.
7286 * time/bug-mktime4.c: New file.
7287
de20b81a
PE
7288 mktime: fix EOVERFLOW bug
7289 [BZ#23789]
7290 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
7291 Include libc-config.h, not config.h, for __set_errno.
7292 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
7293
8c6c3fb0
ST
72942018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
7295
7296 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
7297 __attribute_copy__ to copy attributes from name. Drop static qualifier
7298 to avoid warnings about leaf attribute not having effect on static
7299 functions.
7300
6923f6db
FW
73012018-11-13 Florian Weimer <fweimer@redhat.com>
7302
7303 * malloc/malloc.c (fastbin_push_entry): New function.
7304 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
7305 (REMOVE_FB): Remove macro.
7306 (_int_malloc): Use fastbin_pop_entry and reindent.
7307 (_int_free): Use fastbin_push_entry.
7308 (malloc_consolidate): Use atomic_exchange_acquire.
7309
53f5c659
JM
73102018-11-13 Joseph Myers <joseph@codesourcery.com>
7311
0c096dcf
JM
7312 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
7313 alias attribute, not with strong_alias.
7314
9c4b457e
JM
7315 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
7316 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
7317 with additional parameter thread.
7318 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
7319 in terms of __hidden_ver2.
7320 (hidden_tls_def): New macro.
7321 (libc_hidden_tls_def): Likewise.
7322 (rtld_hidden_tls_def): Likewise.
7323 (libm_hidden_tls_def): Likewise.
7324 (libmvec_hidden_tls_def): Likewise.
7325 (libresolv_hidden_tls_def): Likewise.
7326 (librt_hidden_tls_def): Likewise.
7327 (libdl_hidden_tls_def): Likewise.
7328 (libnss_files_hidden_tls_def): Likewise.
7329 (libnsl_hidden_tls_def): Likewise.
7330 (libnss_nisplus_hidden_tls_def): Likewise.
7331 (libutil_hidden_tls_def): Likewise.
7332 (libutil_hidden_tls_def): Likweise.
7333 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
7334 libc_hidden_tls_def.
7335 (__sim_disabled_exceptions_thread): Likewise.
7336 (__sim_round_mode_thread): Likewise.
7337
53f5c659
JM
7338 * sysdeps/sparc/sparc-ifunc.h [SHARED]
7339 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
7340 copy attributes from name.
7341
092dfde6
JM
73422018-11-12 Joseph Myers <joseph@codesourcery.com>
7343
f578f97b
JM
7344 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
7345 Use __attribute_copy__ to copy attributes from name.
7346
9a7c643a
JM
7347 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
7348 with __hidden_ver1 call.
7349 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
7350 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
7351 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
7352 (__cosf): Do not declare here.
7353 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
7354 (__sincosf): Do not declare here.
7355 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
7356 (__sinf): Do not declare here.
7357
092dfde6
JM
7358 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
7359 (__BIG_ENDIAN): Likewise.
7360 (__BYTE_ORDER): Likewise.
7361 (strong_alias): Likewise.
7362 (_strong_alias): Likewise.
7363
1ecba1fa
FW
73642018-11-12 Florian Weimer <fweimer@redhat.com>
7365
7366 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
7367 function. Move after the definition of in_smallbin_range. Do not
7368 use __builtin_expect for paths that lead to a noreturn function.
7369 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
7370 because it is unclear whether this is in fact an unlikely
7371 condition.
7372 (_int_malloc, _int_free): Adjust.
7373 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
7374 variables.
7375 * malloc/arena.c (heap_trim): Likewise.
7376
434c34bd
ST
73772018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7378
7379 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
7380 it, free it if needed.
7381 (reauthenticate): Test and use ccwdir.
7382 (child_init_port): In non-resetids case, test and use ccwdir.
7383 (child_chdir): New nested function to set ccwdir.
7fa495cd
ST
7384 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
7385 * hurd/hurd/port.h (_hurd_port_move): New function.
7386 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
7387 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
88b26b7e
ST
7388 * hurd/Versions (_hurd_port_move): Export function.
7389 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
7390 symbol.
58bb655a
ST
7391 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
7392 of dtablesize for allocating dtable_cloexec.
434c34bd 7393
1626a1cf
MS
73942018-11-09 Martin Sebor <msebor@redhat.com>
7395
7396 * include/libc-symbols.h (__attribute_copy__): Define macro unless
7397 it's already defined.
7398 (_strong_alias): Use __attribute_copy__.
7399 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
7400 * misc/sys/cdefs.h (__attribute_copy__): New macro.
7401 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
7402 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
7403 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
7404 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
7405 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
7406 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
7407 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
7408 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
7409 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
7410 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
7411 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
7412 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
7413 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
7414 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
7415 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
7416 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
7417 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
7418
968ed530
GG
74192018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7420
7421 * misc/tst-efgcvt.c: Include support/check.h and
7422 support/test-driver.c. Do not include test-skeleton.c.
7423 (error_count): Remove.
7424 (output_error): Replace increments to error_count with calls to
7425 support_record_failure.
7426 (output_r_error): Likewise.
7427 (special): Likewise.
7428 (do_test): Unconditionally return zero.
7429 (TEST_FUNCTION): Remove.
7430
c3ec0972
JM
74312018-11-09 Joseph Myers <joseph@codesourcery.com>
7432
91faaa93
JM
7433 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
7434 not $(@D)/scratch.
7435 ($(linknamespace-header-tests)): Likewise.
7436
c3ec0972
JM
7437 * conform/conformtest.py: New file.
7438 * conform/conformtest.pl: Remove.
7439 * conform/GlibcConform.pm: Likewise.
7440 * conform/glibcconform.py (KEYWORDS_C90): New constant.
7441 (KEYWORDS_C99): Likewise.
7442 (KEYWORDS): Likewise.
7443 * conform/Makefile ($(conformtest-header-tests)): Use
7444 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
7445 option. Use --header instead of --headers.
7446 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
7447 function entries.
7448 * conform/data/spawn.h-data: Likewise.
7449 * conform/data/fcntl.h-data (openat): Add space after function
7450 name.
7451 * conform/data/wchar.h-data (wcscasecmp): Likewise.
7452 (wcscasecmp_l): Likewise.
7453 * conform/data/termios.h-data (c_cc): Add space after element
7454 name.
7455
43257c33
GG
74562018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7457
7458 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
7459 instead of manually comparing and reporting mismatching strings.
7460 * misc/tst-ldbl-error.c (do_one_test): Likewise.
7461 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
7462
e5de3b5b
JM
74632018-11-08 Joseph Myers <joseph@codesourcery.com>
7464
7465 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
7466 __ASSUME_SOCKETCALL.
7467 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7468 (__ASSUME_SOCKETCALL): Remove.
7469 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7470 (__ASSUME_SOCKETCALL): Likewise.
7471 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7472 (__ASSUME_SOCKETCALL): Likewise.
7473 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7474 (__ASSUME_SOCKETCALL): Likewise.
7475 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7476 (__ASSUME_SOCKETCALL): Likewise.
7477 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7478 (__ASSUME_SOCKETCALL): Likewise.
7479 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7480 (__ASSUME_SOCKETCALL): Likewise.
7481
d524fa6c
L
74822018-11-08 H.J. Lu <hongjiu.lu@intel.com>
7483
7484 [BZ #23509]
7485 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
7486 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
7487 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
7488 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
7489 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
7490 lc_unknown.
7491
ac806026
AH
74922018-11-08 Alexandra Hájková <ahajkova@redhat.com>
7493
7494 [BZ #17630]
7495 * resolv/tst-resolv-network.c: Add test for getnetbyname.
7496
596cc360
JM
74972018-11-07 Joseph Myers <joseph@codesourcery.com>
7498
7499 [BZ #23867]
7500 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7501 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
7502 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7503 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
7504
00c86a37
AZ
75052018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7506
7507 * support/support_test_compare_string.c
7508 (support_test_compare_string): Fix printf format.
7509
1df872fd
FW
75102018-11-07 Florian Weimer <fweimer@redhat.com>
7511
7512 Implement TEST_COMPARE_STRING.
7513 * support/check.h (TEST_COMPARE_STRING): Define.
7514 (support_test_compare_string): Declare.
7515 * support/Makefile (libsupport-routines): Add
7516 support_test_compare_string.
7517 (tests): Add tst-test_compare_string.
7518 * support/support_test_compare_string.c: New file.
7519 * support/tst-test_compare_string.c: Likewise.
7520
295132ff
AS
75212018-11-07 Andreas Schwab <schwab@suse.de>
7522
7523 [BZ #23864]
7524 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
7525 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
7526 Undef.
7527
e143ceba
JM
75282018-11-06 Joseph Myers <joseph@codesourcery.com>
7529
7530 [BZ #23862]
7531 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7532 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
7533 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
7534 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
7535 Likewise.
7536
4a938cb2
FW
75372018-11-06 Florian Weimer <fweimer@redhat.com>
7538
7539 [BZ #17405]
7540 * posix/Makefile (routines): Add spawn_faction_addchdir.
7541 (tests): Add tst-spawn-chdir.
7542 * posix/Versions (GLIBC_2.29): Add
7543 posix_spawn_file_actions_addchdir_np.
7544 * posix/spawn_faction_addchdir.c: New file.
7545 * posix/spawn_faction_destroy.c
7546 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
7547 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
7548 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
7549 chdir_action.
7550 * posix/tst-spawn-chdir.c: New file.
7551 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
7552 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
7553 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
7554 posix_spawn_file_actions_addchdir_np.
7555 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
7556 Likewise.
7557 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
7558 Likewise.
7559 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
7560 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
7561 Likewise.
7562 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
7563 Likewise.
7564 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
7565 Likewise.
7566 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
7567 Likewise.
7568 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
7569 Likewise.
7570 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
7571 Likewise.
7572 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7573 (GLIBC_2.29): Likewise.
7574 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7575 (GLIBC_2.29): Likewise.
7576 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7577 (GLIBC_2.29): Likewise.
7578 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7579 (GLIBC_2.29): Likewise.
7580 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
7581 Likewise.
7582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7583 (GLIBC_2.29): Likewise.
7584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7585 (GLIBC_2.29): Likewise.
7586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7587 (GLIBC_2.29): Likewise.
7588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7589 (GLIBC_2.29): Likewise.
7590 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
7591 Likewise.
7592 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
7593 Likewise.
7594 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
7595 Likewise.
7596 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
7597 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
7598 Likewise.
7599 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
7600 Likewise.
7601 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
7602 Likewise.
7603 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
7604 Likewise.
7605
7597b0c7
GG
76062018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7607
7608 * misc/Makefile (tests): Add tst-ldbl-error.
7609 * misc/tst-ldbl-error.c: New file.
7610
9771e6cb
GG
76112018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7612
7613 * misc/Makefile (tests): Add tst-ldbl-warn.
7614 * misc/tst-ldbl-warn.c: New file.
7615
2c03961f
GG
76162018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7617
7618 * argp/Makefile (tests): Add tst-ldbl-argp.
7619 * argp/tst-ldbl-argp.c: New file.
7620
6d6ee046
AS
76212018-11-05 Arjun Shankar <arjun@redhat.com>
7622
7623 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
7624 __gconv_path_elem and call __gconv_get_path unconditionally.
7625
bd3b0fba
AS
76262018-11-05 Andreas Schwab <schwab@suse.de>
7627
7628 [BZ #22927]
7629 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
7630 creating the first helper thread failed.
7631
2e96e980
ST
76322018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
7633
7634 * sysdeps/mach/hurd/msync.c: New file.
7635
6e36266c
FW
76362018-11-02 Florian Weimer <fweimer@redhat.com>
7637
7638 * support/shell-container.c (copy_func): Call
7639 support_copy_file_range instead of copy_file_range to support
7640 cross-device copies.
7641
599f7bee
FW
76422018-11-02 Florian Weimer <fweimer@redhat.com>
7643
7644 * support/test-container.c: Include <libc-pointer-arith.h> for
7645 ALIGN_UP.
7646
ff48ea67
ZL
76472018-11-01 Zong Li <zong@andestech.com>
7648
af1d5782
ZL
7649 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
7650 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
7651 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
7652 (__FP_FRAC_SET_8): Add implementation for RV32 use.
7653
ff48ea67
ZL
7654 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
7655 variable to avoid overlap arguments.
7656
daea71c2
JM
76572018-11-01 Joseph Myers <joseph@codesourcery.com>
7658
eac4405a
JM
7659 * posix/bug-regex22.c (main): Use puts with distinct error
7660 messages for unexpected success of re_compile_pattern, not printf
7661 with NULL argument to %s.
7662
6f30e59f
JM
7663 * stdio-common/bug22.c: Include <libc-diag.h>.
7664 (do_test): Disable -Wformat-overflow= warnings around fprintf
7665 calls outputting more than INT_MAX characters.
7666 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
7667 around printf call with NULL %s argument.
7668
daea71c2
JM
7669 [BZ #23848]
7670 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
7671 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
7672 Undefine.
7673 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7674 (__ASSUME_RECVMSG_SYSCALL): Likewise.
7675 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7676 (__ASSUME_SENDTO_SYSCALL): Likewise.
7677 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7678 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
7679 [!__arch64__].
7680 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7681 (__ASSUME_CONNECT_SYSCALL): Likewise.
7682 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7683 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7684 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
7685 Define.
7686 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
7687 Likewise.
7688 [__LINUX_KERNEL_VERSION >= 0x040400]
7689 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7690 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
7691 Remove.
7692 (listen): Likewise.
7693 (setsockopt): Likewise.
7694
8e3c00db
FN
76952018-11-01 Fredrik Noring <noring@nocrew.org>
7696
7697 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
7698 with the ISA override.
7699
9c3dbdbe
RAE
77002018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
7701
7702 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
7703 #endif.
7704
e3a88b3e
ST
77052018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
7706
a67377e7 7707 * manual/errno.texi (EIEIO): Document how translators should
e3a88b3e 7708 translate the error message.
a67377e7
ST
7709 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
7710 printing trailing whitespaces refused by git.
7711 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
7712 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fc783076 7713 * hurd/Makefile (user-interfaces): Add pci.
e3a88b3e 7714
3ca235ed
JM
77152018-10-30 Joseph Myers <joseph@codesourcery.com>
7716
7717 * conform/linknamespace.py: New file.
7718 * conform/linknamespace.pl: Remove file.
7719 * conform/Makefile ($(linknamespace-header-tests)): Use
7720 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
7721 option.
7722
60708030
FW
77232018-10-30 Florian Weimer <fweimer@redhat.com>
7724
7725 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
7726 memory leaks.
7727
a91e9301
FW
77282018-10-30 Florian Weimer <fweimer@redhat.com>
7729
7730 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
7731
07da99aa
FW
77322018-10-30 Florian Weimer <fweimer@redhat.com>
7733
7734 * stdlib/tst-strtod-overflow.c (do_test): Switch to
7735 support_blob_repeat.
7736
f5e7e959
FW
77372018-10-30 Florian Weimer <fweimer@redhat.com>
7738
7739 Avoid spurious test failures in stdlib/test-bz22786.
7740 * support/Makefile (libsupport-routines): Add blob_repeat.
7741 (tests): Add tst-support_blob_repeat.
7742 * support/blob_repeat.h: New file.
7743 * support/blob_repeat.c: Likewise.
7744 * support/tst-support_blob_repeat.c: Likewise.
7745 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
7746 support_blob_repeat_allocate.
7747
2dd12baa
AS
77482018-10-30 Andreas Schwab <schwab@suse.de>
7749
7750 [BZ #23125]
7751 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
7752 Don't use tail call.
7753 * elf/tst-unwind-main.c: New file.
7754 * elf/Makefile (tests): Add tst-unwind-main.
7755 (CFLAGS-tst-unwind-main.c): Define.
7756
6b5c8607 77572018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
fec8bb7c
SAA
7758
7759 [BZ #23791]
7760 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
7761 n_cs_precedes to 0.
7762 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
7763
c6982f7e
JM
77642018-10-29 Joseph Myers <joseph@codesourcery.com>
7765
954cf3c2
JM
7766 * conform/glibcconform.py: Do not import shutil.
7767 (list_exported_functions): Use tempfile.TemporaryDirectory instead
7768 of mkdtemp.
7769
c6982f7e
JM
7770 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
7771 critic_missing for versions before 3.4.
7772 * configure: Regenerated.
7773 * manual/install.texi (Tools for Compilation): Document
7774 requirement for Python to build glibc.
7775 * INSTALL: Regenerated.
7776 * Rules [PYTHON]: Make code unconditional.
7777 * benchtests/Makefile [PYTHON]: Likewise.
7778 * conform/Makefile [PYTHON]: Likewise.
7779 * manual/Makefile [PYTHON]: Likewise.
7780 * math/Makefile [PYTHON]: Likewise.
7781
46a7f24c
ST
77822018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7783
7784 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
2d0d1d38 7785 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
b6e7c449 7786 answer to interrupt_operation, return EIEIO instead of EINTR.
5c81be53
ST
7787 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
7788 _hurd_intr_rpc_msg_about_to global point to start of controlled
7789 assembly snippet. Make it check canceled flag.
7790 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
7791 the _hurd_intr_rpc_msg_about_to point.
7792 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
7793 issue, remove cancel flag check.
46a7f24c 7794
e5b8756d
JM
77952018-10-26 Joseph Myers <joseph@codesourcery.com>
7796
7797 * scripts/build-many-glibcs.py: Remove compatibility for missing
7798 os.cpu_count and re.fullmatch.
7799
ba5b14c7
SN
78002018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
7801
7802 [BZ #23822]
7803 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
7804 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
7805 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
7806
fe61f17c
JM
78072018-10-25 Joseph Myers <joseph@codesourcery.com>
7808
7809 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
7810 macro.
7811
7c5e34d7
FW
78122018-10-25 Florian Weimer <fweimer@redhat.com>
7813
7814 [BZ #23562]
7815 [BZ #23821]
7816 XFAIL siginfo_t si_band conform test on sparc64.
7817 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
7818 (__SI_BAND_TYPE): Only override long int default type on sparc64.
7819 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
7820 (conformtest-xfail-conds): Add sparc64-linux.
7821 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
7822 sparc64.
7823 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
7824
5b784e88
JM
78252018-10-25 Joseph Myers <joseph@codesourcery.com>
7826
7827 * elf/elf.h (NT_MIPS_DSP): New macro.
7828 (NT_MIPS_FP_MODE): Likewise.
7829
41432ebe
ZL
78302018-10-25 Zong Li <zong@andestech.com>
7831
7832 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
7833 name by adding the file extension (.so).
7834
d026efea
ST
78352018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
7836
7837 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
7838 (test-xfail-ISO11/threads.h/linknamespace,
7839 test-xfail-ISO11/threads.h/conform): Add.
7840
b71ac2b9
JM
78412018-10-24 Joseph Myers <joseph@codesourcery.com>
7842
7843 * math/gen-libm-test.py: Import os.
7844 (ALL_FLOATS_MANUAL): New constant.
7845 (ALL_FLOATS_SUFFIX): Likewise.
7846 (Ulps.all_functions): New function.
7847 (real_all_ulps): Likewise.
7848 (generate_err_table_sub): Likewise.
7849 (generate_err_table): Likewise.
7850 (main): Handle -s and -m options.
7851 * manual/libm-err-tab.pl: Remove.
7852 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
7853 instead of libm-err-tab.pl.
7854 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
7855 != no].
7856 * manual/install.texi (Tools for Compilation): Document
7857 requirement for Python to build manual.
7858 * INSTALL: Regenerated.
7859
6b5c8607 78602018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
d51f99ce
AA
7861
7862 * bits/time64.h: New file.
7863 * include/time.h: Replace internal_time_t with __time64_t.
7864 * posix/bits/types (__time64_t): Add.
7865 * stdlib/Makefile: Add bits/time64.h to includes.
7866 * time/tzfile.c: Replace internal_time_t with __time64_t.
7867
97d91fcc 78682018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2a973ab7
AZ
7869
7870 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
7871 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
7872 __posix_spawn_file_actions_init, __posix_spawnattr_init,
7873 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
7874 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
7875 prototype.
7876 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
7877 * posix/spawn_faction_addclose.c
7878 (__posix_spawn_file_actions_addclose): Add hidden definition.
7879 * posix/spawn_faction_adddup2.c
7880 (__posix_spawn_file_actions_adddup2): Likewise.
7881 * posix/spawn_faction_destroy.c
7882 (__posix_spawn_file_actions_destroy): Likewise.
7883 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
7884 Likewise.
7885 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
7886 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
7887 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
7888 Likewise.
7889 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
7890 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
7891 Likewise.
7892
2954daf0
AS
78932018-10-24 Andreas Schwab <schwab@suse.de>
7894
7895 [BZ #18093]
7896 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
7897 format cache.
7898 * elf/cache.c (print_cache): Likewise.
7899
6b5c8607 79002018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
a27a4f47
AA
7901
7902 * bits/timesize.h: New file.
7903 * stdlib/Makefile (headers): Add bits/timesize.h.
7904 * sysdeps/unix/sysv/linux/bits/msq-pad.h
7905 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
7906 * sysdeps/unix/sysv/linux/bits/sem-pad.h
7907 (__SEM_PAD_AFTER_TIME): Likewise.
7908 * sysdeps/unix/sysv/linux/bits/shm-pad.h
7909 (__SHM_PAD_AFTER_TIME): Likewise.
7910 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
7911 (__MSQ_PAD_BEFORE_TIME): Likewise.
7912 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
7913 (__SEM_PAD_BEFORE_TIME): Likewise.
7914 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
7915 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
7916 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
b39d961c
TS
7917 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
7918 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
7919 (__MSQ_PAD_BEFORE_TIME): Likewise.
a27a4f47
AA
7920 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
7921 (__SEM_PAD_BEFORE_TIME): Likewise.
7922 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
7923 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
7924 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
7925 (__MSQ_PAD_BEFORE_TIME): Likewise.
7926 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
7927 (__SEM_PAD_BEFORE_TIME): Likewise.
7928 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
7929 (__SHM_PAD_BEFORE_TIME): Likewise.
7930 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
7931 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
7932 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
7933
7cc65773
L
79342018-10-24 H.J. Lu <hongjiu.lu@intel.com>
7935
7936 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
7937 USE_RDTSCP is defined.
7938 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
7939 USE_RDTSCP is defined.
7940
c3d8dc45
AZ
79412018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7942
18ad0de6
AZ
7943 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
7944 defined.
7945
c3d8dc45
AZ
7946 [BZ #23709]
7947 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
7948 independently of other flags.
7949
f1034472
FW
79502018-10-23 Florian Weimer <fweimer@redhat.com>
7951
7952 * time/tst-mktime2.c (N_STRINGS): Remove.
7953 (set_timezone): New function.
7954 (spring_forward_gap): Call it. Use FAIL_EXIT1.
7955 (mktime_test1): Report localtime failure and check errno value.
7956 Use TEST_COMPARE.
7957 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
7958 (do_test): Remove alarm call. Use set_timezone and array_length.
7959
367d7cc2
AS
79602018-10-23 Andreas Schwab <schwab@suse.de>
7961
7962 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
7963 (__start_context): Use END instead of PSEUDO_END.
7964
be8ff03f
JM
79652018-10-22 Joseph Myers <joseph@codesourcery.com>
7966
029ad711
JM
7967 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7968 version to 4.19.
7969
8190520f
JM
7970 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7971 version to 4.19.
7972
be8ff03f
JM
7973 [BZ #23793]
7974 * wcsmbs/c32rtomb.c: New file.
7975 * wcsmbs/mbrtoc32.c: Likewise.
7976 * wcsmbs/tst-c32-state.c: Likewise.
7977 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
7978 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
7979 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
7980 (tests): Add tst-c32-state.
7981 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
7982 $(gen-locales).
7983
2dd8e58c
L
79842018-10-21 H.J. Lu <hongjiu.lu@intel.com>
7985
7986 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
7987 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
7988
d0a74159
JM
79892018-10-19 Joseph Myers <joseph@codesourcery.com>
7990
7991 [BZ #23794]
7992 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
7993 pair and return 0 in that case, and use saved character to
7994 interpret following character.
7995 * wcsmbs/tst-c16-surrogate.c: New file.
7996 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
7997 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
7998 Depend on $(gen-locales)
7999
f997b4be
IYM
80002018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
8001
8002 [BZ #23562]
8003 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
8004 (struct siginfo_t): Use correct type for si_band.
8005
53b2bb87
FW
80062018-10-19 Florian Weimer <fweimer@redhat.com>
8007
8008 [BZ #23689]
8009 * resource/bits/types/struct_rusage.h (struct rusage): Update
8010 comment on struct. Remove extraneous field comment.
8011
0a271c8f
DM
80122018-10-18 David S. Miller <davem@davemloft.net>
8013
94a3a27f
DM
8014 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
8015 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
8016 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
8017 sysdep_routines in subdir elf.
8018 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
8019 version for __vdso_clock_gettime.
8020 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
8021 Define.
8022 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
8023 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
8024
0a271c8f
DM
8025 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
8026
72771e53
L
80272018-10-17 H.J. Lu <hongjiu.lu@intel.com>
8028
8029 * sysdeps/i386/init-arch.h: Removed.
8030 * sysdeps/i386/i586/init-arch.h: Likewise.
8031 * sysdeps/i386/i686/init-arch.h: Likewise.
8032 * sysdeps/i386/i686/hp-timing.h: Likewise.
8033 * sysdeps/x86_64/hp-timing.h: Likewise.
8034 * sysdeps/i386/isa.h: New file.
8035 * sysdeps/i386/i586/isa.h: Likewise.
8036 * sysdeps/i386/i686/isa.h: Likewise.
8037 * sysdeps/x86_64/isa.h: Likewise.
8038 * sysdeps/x86/hp-timing.h: New file.
8039 * sysdeps/x86/init-arch.h: Include <isa.h>.
8040
c2b7ccad
JM
80412018-10-17 Joseph Myers <joseph@codesourcery.com>
8042
8043 * math/libm-test-pow.inc (pow_test_data): Do not allow
8044 divide-by-zero exception for pow(+/- 0, -Inf).
8045
26756e57
ZW
80462018-10-17 Zack Weinberg <zackw@panix.com>
8047
8048 * manual/job.texi (Job Control is Optional): Remove node, as
8049 job control has not been optional in quite some time.
8050 (Job Control): Mention briefly that systems older than
8051 POSIX.1-2001 might not support job control.
8052 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
8053 defined on systems conforming to POSIX.1-2001.
8054
c5288d37
AS
80552018-10-17 Arjun Shankar <arjun@redhat.com>
8056
8057 [BZ #22062]
8058 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
8059 indentation.
8060 * (__gconv_read_conf): Mark function static.
8061 * (once): New static variable.
8062 * (__gconv_load_conf): New function.
8063 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
8064 * iconv/gconv_db.c (once): Remove static variable.
8065 * (__gconv_compare_alias): Use __gconv_load_conf instead of
8066 __gconv_read_conf.
8067 * (__gconv_find_transform): Likewise.
8068 * iconv/tst-iconv-mt.c: New test.
8069 * iconv/Makefile: Add tst-iconv_mt.
8070
8c8d2a8a
JM
80712018-10-17 Joseph Myers <joseph@codesourcery.com>
8072
8073 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
729f3402
JM
8074 bits/shm-pad.h.
8075 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
8076 (shmatt_t): Define as __syscall_ulong_t.
8077 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
8078 and [__SHM_PAD_AFTER_TIME].
8079 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
8080 Define shm_segsz and associated padding based on
8081 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
8082 Use __syscall_ulong_t instead of unsigned long int.
8083 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
8084 unsigned long int.
8085 [__USE_MISC] (struct shm_info): Likewise.
8086 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
8087 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
8088 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
8089 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
8090 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
8091 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
8092 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
8093 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
8094 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8095 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8096 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8097
8098 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8c8d2a8a
JM
8099 bits/shmlba.h.
8100 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
8101 (SHMLBA): Remove macro.
8102 (__getpagesize): Remove function declaration.
8103 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
8104 <bits/shmlba.h>.
8105 (SHMLBA): Remove macro.
8106 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
8107 <bits/shmlba.h>.
8108 (SHMLBA): Remove macro.
8109 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
8110 <bits/shmlba.h>.
8111 (SHMLBA): Remove macro.
8112 (__getpagesize): Remove function declaration.
8113 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
8114 <bits/shmlba.h>.
8115 (SHMLBA): Remove macro.
8116 (__getshmlba): Remove function declaration.
8117 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
8118 (SHMLBA): Remove macro.
8119 (__getpagesize): Remove function declaration.
8120 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
8121 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
8122 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8123 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
8124 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
8125 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
8126 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
8127 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
8128 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
8129 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
8130
403b4feb
SL
81312018-10-17 Stefan Liebler <stli@linux.ibm.com>
8132
8133 [BZ #23275]
8134 * nptl/tst-mutex10.c: New File.
8135 * nptl/Makefile (tests): Add tst-mutex10.
8136 (tst-mutex10-ENV): New variable.
8137 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
8138 Ensure that elision path is used if elision is available.
8139 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
8140 Likewise.
8141 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
8142 Likewise.
8143 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
8144 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
8145 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
8146 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
8147 Likewise.
8148 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
8149 (__pthread_mutex_cond_lock_adjust): Likewise.
8150 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
8151 Likewise.
8152 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
8153 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
8154 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8155 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
8156 Add comments.
8157 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
8158 Use atomic_load_relaxed and atomic_store_relaxed.
8159 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
8160 Use atomic_store_relaxed.
8161
ce5a7de6
AS
81622018-10-17 Andreas Schwab <schwab@suse.de>
8163
8164 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
8165 * crypt/badsalttest.c (TIMEOUT): Likewise.
8166 * crypt/sha256c-test.c (TIMEOUT): Likewise.
8167 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
8168 * io/test-lfs.c (TIMEOUT): Likewise.
8169 * libio/tst-atime.c (TIMEOUT): Likewise.
8170 * localedata/tst-leaks.c (TIMEOUT): Likewise.
8171 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
8172 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
8173 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
8174 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
8175 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
8176 * nptl/tst-cond11.c (TIMEOUT): Likewise.
8177 * nptl/tst-cond14.c (TIMEOUT): Likewise.
8178 * nptl/tst-cond15.c (TIMEOUT): Likewise.
8179 * nptl/tst-cond24.c (TIMEOUT): Likewise.
8180 * nptl/tst-cond25.c (TIMEOUT): Likewise.
8181 * nptl/tst-kill2.c (TIMEOUT): Likewise.
8182 * nptl/tst-kill3.c (TIMEOUT): Likewise.
8183 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
8184 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
8185 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
8186 * nptl/tst-once2.c (TIMEOUT): Likewise.
8187 * nptl/tst-once3.c (TIMEOUT): Likewise.
8188 * nptl/tst-once4.c (TIMEOUT): Likewise.
8189 * nptl/tst-robust8.c (TIMEOUT): Likewise.
8190 * nptl/tst-robust9.c (TIMEOUT): Likewise.
8191 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
8192 * nptl/tst-sem14.c (TIMEOUT): Likewise.
8193 * nptl/tst-sem6.c (TIMEOUT): Likewise.
8194 * nptl/tst-signal3.c (TIMEOUT): Likewise.
8195 * nptl/tst-spin4.c (TIMEOUT): Likewise.
8196 * nptl/tst-tls3.c (TIMEOUT): Likewise.
8197 * nptl/tst-tls4.c (TIMEOUT): Likewise.
8198 * posix/tst-chmod.c (TIMEOUT): Likewise.
8199 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
8200 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
8201 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
8202 * posix/tst-regex2.c (TIMEOUT): Likewise.
8203 * posix/tst-waitid.c (TIMEOUT): Likewise.
8204 * rt/tst-aio.c (TIMEOUT): Likewise.
8205 * rt/tst-aio10.c (TIMEOUT): Likewise.
8206 * rt/tst-aio4.c (TIMEOUT): Likewise.
8207 * rt/tst-aio5.c (TIMEOUT): Likewise.
8208 * rt/tst-aio6.c (TIMEOUT): Likewise.
8209 * rt/tst-aio64.c (TIMEOUT): Likewise.
8210 * rt/tst-aio7.c (TIMEOUT): Likewise.
8211 * rt/tst-aio9.c (TIMEOUT): Likewise.
8212 * rt/tst-clock.c (TIMEOUT): Likewise.
8213 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
8214 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
8215 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
8216 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
8217 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
8218 * rt/tst-timer4.c (TIMEOUT): Likewise.
8219 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
8220 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
8221 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
8222 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
8223 * time/tst-ftime.c (TIMEOUT): Likewise.
8224 * timezone/tst-tzset.c (TIMEOUT): Likewise.
8225
6b5c8607 82262018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
75c1aee5
AY
8227
8228 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
8229 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
8230 for thunderX2.
8231
bcdb1bfa
JM
82322018-10-15 Joseph Myers <joseph@codesourcery.com>
8233
8234 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8235 bits/sem-pad.h.
8236 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
8237 instead of <bits/wordsize.h>.
8238 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
8239 and [__SEM_PAD_AFTER_TIME].
8240 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
8241 __syscall_ulong_t instead of unsigned long int.
8242 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
8243 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
8244 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
8245 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
8246 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
8247 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
8248 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
8249 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
8250 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8251 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8252 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8253
f4efbdfb
PE
82542018-10-14 Paul Eggert <eggert@cs.ucla.edu>
8255
620a5d4c
PE
8256 regex: simplify by using intprops.h
8257 [BZ#23744]
8258 * posix/regex_internal.h [_LIBC]: Include intprops.h.
8259 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
8260 intprops.h defines them.
8261
f4efbdfb
PE
8262 regex: __builtin_expect → __glibc_unlikely
8263 [BZ#23744]
8264 This refactoring was prompted by a problem when the regex code is
8265 used as part of Gnulib and when the builder’s compiler does not grok
8266 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
8267 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
8268 Although this refactoring does not fix the problem directly,
8269 we might as well have Gawk use the now-preferred glibc style for when
8270 __builtin_expect is unavailable.
8271 * posix/regex_internal.h (BE): Remove.
8272 All uses replaced by __glibc_unlikely or __glibc_likely.
8273
9f9feb6d
JM
82742018-10-11 Joseph Myers <joseph@codesourcery.com>
8275
8276 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8277 bits/msq-pad.h.
8278 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
8279 instead of <bits/wordsize.h>.
8280 (msgqnum_t): Define as __syscall_ulong_t.
8281 (msglen_t): Likewise.
8282 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
8283 and [__MSQ_PAD_AFTER_TIME].
8284 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
8285 __syscall_ulong_t instead of unsigned long int.
8286 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
8287 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
8288 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
8289 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
8290 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
8291 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
8292 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
8293 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
8294 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8295 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8296 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8297
b9c0f6c1
JM
82982018-10-10 Joseph Myers <joseph@codesourcery.com>
8299
2a4b25fa
JM
8300 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
8301 (struct shmid_ds): Condition padding after time fields on
8302 [__WORDSIZE == 32].
8303 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
8304 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
8305 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8306
19e62f26
JM
8307 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
8308 (struct semid_ds): Condition padding after time fields on
8309 [__WORDSIZE == 32].
8310 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
8311 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
8312 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
8313 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8314
b9c0f6c1
JM
8315 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
8316 (struct msqid_ds): Condition padding after time fields on
8317 [__WORDSIZE == 32].
8318 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
8319 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
8320 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
8321 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8322
97785a61
SN
83232018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
8324
8325 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
8326
ed643089
SN
83272018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
8328
8329 * libio/tst-readline.c (TIMEOUT): Define.
8330
5a580643
PE
83312018-10-08 Paul Eggert <eggert@cs.ucla.edu>
8332
8333 mktime fix for Gnulib + coreutils
8334 [BZ#23745]
8335 This fix affects only Gnulib. Problem discovered when
8336 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
8337 * time/mktime.c:
8338 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
8339 Do not define since it is not used. Defining an unused static
8340 function prompts a warning from GCC when Coreutils is configured
8341 with --enable-gcc-warnings.
8342
c892ae04
LS
83432018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8344
8345 * benchtests/scripts/compare_bench.py (main): set float type on
8346 threshold argument.
8347
a68ec8ea
RL
83482018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
8349
8350 [BZ #23740]
8351 * localedata/locales/kl_GL (mon): Update, the relative case.
8352 (alt_mon): Add, fill with month names in the nominative case.
8353 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
8354 (d_fmt): Set to "%b %d %Y".
8355
a1987621
JM
83562018-10-04 Joseph Myers <joseph@codesourcery.com>
8357
47c49251
JM
8358 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
8359 <bits/mman-linux.h>.
8360 (PROT_READ): Don't define here.
8361 (PROT_WRITE): Likewise.
8362 (PROT_EXEC): Likewise.
8363 (PROT_NONE): Likewise.
8364 (PROT_GROWSDOWN): Likewise.
8365 (PROT_GROWSUP): Likewise.
8366 (MAP_SHARED): Likewise.
8367 (MAP_PRIVATE): Likewise.
8368 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
8369 [__USE_MISC] (MAP_FILE): Likewise.
8370 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
8371 [__USE_MISC] (MAP_ANON): Likewise.
8372 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
8373 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
8374 (MCL_CURRENT): Likewise.
8375 (MCL_FUTURE): Likewise.
8376 (MCL_ONFAULT): Likewise.
8377 [__USE_MISC] (MADV_NORMAL): Likewise.
8378 [__USE_MISC] (MADV_RANDOM): Likewise.
8379 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
8380 [__USE_MISC] (MADV_WILLNEED): Likewise.
8381 [__USE_MISC] (MADV_DONTNEED): Likewise.
8382 [__USE_MISC] (MADV_FREE): Likewise.
8383 [__USE_MISC] (MADV_REMOVE): Likewise.
8384 [__USE_MISC] (MADV_DONTFORK): Likewise.
8385 [__USE_MISC] (MADV_DOFORK): Likewise.
8386 [__USE_MISC] (MADV_HWPOISON): Likewise.
8387 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
8388 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
8389 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
8390 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
8391 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
8392 (__MAP_ANONYMOUS): New macro.
8393 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
8394 <bits/mman-linux.h> inclusion.
8395 (MAP_FIXED): Likewise.
8396 (MS_SYNC): Likewise.
8397 (MS_ASYNC): Likewise.
8398 (MS_INVALIDATE): Likewise.
8399 [__USE_MISC] (MADV_MERGEABLE): Likewise.
8400 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
8401 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
8402 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
8403 [__USE_MISC] (MADV_DONTDUMP): Likewise.
8404 [__USE_MISC] (MADV_DODUMP): Likewise.
8405 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
8406 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
8407
a1987621
JM
8408 [BZ #23735]
8409 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
8410 Define.
8411 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
8412 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
8413 Add test-nldbl-redirect.
8414 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
8415 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
8416 $(objpfx)libnldbl_nonshared.a.
8417
e7624d70
SL
84182018-10-04 Stefan Liebler <stli@linux.ibm.com>
8419
8420 * support/support.h (support_objdir_elf_ldso): New variable.
8421 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
8422 * support/Makefile (CFLAGS-support_paths.c): Add definition
8423 for OBJDIR_ELF_LDSO_PATH.
8424 * support/test-container.c (main): Search for the ld.so
8425 which is also used by the testsuite.
8426
dae3ed95
RL
84272018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
8428
8429 [BZ #20209]
8430 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
8431 should be "sap" rather than "sab".
8432 (day): Fix spelling of Sunday, should be "sapaat" rather than
8433 "sabaat".
8434
f346b5b3
JM
84352018-10-02 Joseph Myers <joseph@codesourcery.com>
8436
8437 * math/libm-test-fma.inc (fma_test_data): Add more tests.
8438
4a06ceea
MJ
84392018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
8440
8441 [BZ #19444]
8442 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
8443 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
8444 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
8445
a06fc4a5
AZ
84462018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8447
8448 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
8449
a1ccc065
L
84502018-10-02 H.J. Lu <hongjiu.lu@intel.com>
8451
8452 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
8453 Add -mrtm.
8454 (CFLAGS-elision-unlock.c): Likewise.
8455 (CFLAGS-elision-timed.c): Likewise.
8456 (CFLAGS-elision-trylock.c): Likewise.
8457 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
8458
0b727ed4
AZ
84592018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8460
8461 [BZ #21037]
8462 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
8463 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
8464 new fd_to_filename interface.
8465 * libio/freopen64.c (freopen64): Likewise.
8466 * libio/tst-memstream.h: New file.
8467 * libio/tst-memstream4.c: Likewise.
8468 * libio/tst-wmemstream4.c: Likewise.
8469 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
8470 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
8471 and remove internal dynamic allocation.
8472
d0e91e8c
JM
84732018-10-01 Joseph Myers <joseph@codesourcery.com>
8474
8475 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
8476 (MREMAP_MAYMOVE): Do not define here.
8477 [__USE_GNU] (MREMAP_FIXED): Likewise.
8478 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
8479 (MREMAP_MAYMOVE): Define here instead.
8480 [__USE_GNU] (MREMAP_FIXED): Likewise.
8481 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
8482 (MREMAP_MAYMOVE): Remove.
8483 [__USE_GNU] (MREMAP_FIXED): Likewise.
8484
c52944e8
JM
84852018-09-28 Joseph Myers <joseph@codesourcery.com>
8486
8487 * math/fromfp.h: Do not include <math_private.h>.
8488 * math/s_cacosh_template.c: Likewise.
8489 * math/s_casin_template.c: Likewise.
8490 * math/s_casinh_template.c: Likewise.
8491 * math/s_ccos_template.c: Likewise.
8492 * math/s_cproj_template.c: Likewise.
8493 * math/s_fdim_template.c: Likewise.
8494 * math/s_fmaxmag_template.c: Likewise.
8495 * math/s_fminmag_template.c: Likewise.
8496 * math/s_iseqsig_template.c: Likewise.
8497 * math/s_ldexp_template.c: Likewise.
8498 * math/s_nextdown_template.c: Likewise.
8499 * math/w_log1p_template.c: Likewise.
8500 * math/w_scalbln_template.c: Likewise.
8501 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
8502 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
8503 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
8504 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
8505 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
8506 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
8507 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
8508 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
8509 * sysdeps/i386/fpu/s_atanl.c: Likewise.
8510 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
8511 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
8512 * sysdeps/i386/fpu/s_fdim.c: Likewise.
8513 * sysdeps/i386/fpu/s_logbl.c: Likewise.
8514 * sysdeps/i386/fpu/s_rintl.c: Likewise.
8515 * sysdeps/i386/fpu/s_significandl.c: Likewise.
8516 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
8517 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
8518 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8519 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8520 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
8521 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8522 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8523 * sysdeps/ieee754/k_standardf.c: Likewise.
8524 * sysdeps/ieee754/k_standardl.c: Likewise.
8525 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8526 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
8527 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
8528 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
8529 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
8530 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
8531 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8532 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8533 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8534 * sysdeps/ieee754/s_signgam.c: Likewise.
8535 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
8536 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
8537 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
8538 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8539 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
8540 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
8541 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8542 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
8543 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8544 * sysdeps/riscv/rvd/s_finite.c: Likewise.
8545 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
8546 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
8547 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
8548 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
8549 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
8550 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
8551 * sysdeps/riscv/rvf/fegetround.c: Likewise.
8552 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
8553 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
8554 * sysdeps/riscv/rvf/fesetround.c: Likewise.
8555 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
8556 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
8557 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
8558 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8559 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
8560 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
8561 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
8562 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
8563 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
8564 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
8565 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
8566 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
8567 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
8568 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
8569 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8570 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8571 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
8572 <math_private.h>.
8573 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
8574
7b1f9406
L
85752018-09-28 H.J. Lu <hongjiu.lu@intel.com>
8576
8577 [BZ #23716]
8578 * sysdeps/i386/dl-cet.c: Removed.
8579 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
8580 prototype.
8581 (_dl_runtime_profile_shstk): Likewise.
8582 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
8583 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
8584
7a16bdbb
AZ
85852018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8586
8587 [BZ #23579]
8588 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
8589 do_test_with_invalid_iov): New tests.
8590 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
8591 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
8592 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
8593 errno is ENOSYS.
8594 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
8595 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
8596 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
8597
9755bc46
JM
85982018-09-27 Joseph Myers <joseph@codesourcery.com>
8599
81dca813
JM
8600 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8601 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
8602 (MATH_REDIRECT_BINARY_ARGS): New macro.
8603 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8604 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
8605 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
8606 header inclusion.
8607 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
8608 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8609 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
8610 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8611 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8612 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8613 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
8615 Likewise.
8616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
8617 Likewise.
8618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
8619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
8620 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
8621 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
8622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
8623 Likewise.
8624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
8625 Likewise.
8626 * sysdeps/generic/math_private_calls.h
8627 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
8628 Do not declare and define as an inline function.
8629 * math/divtc3.c (__divtc3): Use copysign functions instead of
8630 __copysign variants.
8631 * math/multc3.c (__multc3): Likewise.
8632 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
8633 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
8634 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8635 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
8636 Likewise.
8637 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8638 (__ieee754_yn): Likewise.
8639 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8640 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
8641 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
8642 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8643 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
8644 (__sin): Likewise.
8645 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
8646 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8647 Likewise.
8648 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8649 Likewise.
8650 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8651 Likewise.
8652 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8653 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8654 Likewise.
8655 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8656 (__ieee754_ynf): Likewise.
8657 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
8658 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8659 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
8660 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8661 Likewise.
8662 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8663 (__ieee754_ynl): Likewise.
8664 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8665 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
8666 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8667 Likewise.
8668 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8669 (__ieee754_ynl): Likewise.
8670 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
8671 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8672 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8673 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8674 Likewise.
8675 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8676 (__ieee754_ynl)
8677 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
8678 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8679 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
8680 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8681 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8682
9755bc46
JM
8683 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8684 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
8685 using MATH_REDIRECT.
8686 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
8687 header inclusion.
8688 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
8689 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8690 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8691 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
8692 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8693 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8694 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
8696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
8697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
8698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
8699 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8700 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8701 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8702 (round): Redirect to __round.
8703 (__roundl): Call round instead of __round.
8704 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
8705 Remove macro.
8706 [_ARCH_PWR5X] (__roundf): Likewise.
8707 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
8708 functions instead of __round variants.
8709 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
8710 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
8711 Likewise.
8712 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
8713 Likewise.
8714 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
8715 Likewise.
8716 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
8717 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
8718 __lroundl.
8719 (__ieee754_expl): Call roundl instead of __roundl.
8720
f841c97e
AS
87212018-09-27 Andreas Schwab <schwab@suse.de>
8722
8723 [BZ #23717]
8724 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
8725 (do_test): Make st1 static.
8726
6ca8284e
AS
87272018-09-26 Andreas Schwab <schwab@suse.de>
8728
8729 [BZ #23707]
8730 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
8731 * elf/Makefile (tests): Add tst-unwind-ctor.
8732 (modules-names): Add tst-unwind-ctor-lib.
8733 ($(objpfx)tst-unwind-ctor): Depend on
8734 $(objpfx)tst-unwind-ctor-lib.so.
8735
61d8b5fe
JM
87362018-09-26 Joseph Myers <joseph@codesourcery.com>
8737
8738 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
8739 file. Most contents moved from ....
8740 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
8741 and include <bits/mman-map-flags-generic.h>.
8742 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8743 (sysdep_headers): Add bits/mman-map-flags-generic.h.
8744 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
8745 <bits/mman-map-flags-generic.h>.
8746 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
8747 macros defined in <bits/mman-map-flags-generic.h>.
8748 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
8749 <bits/mman-map-flags-generic.h>.
8750 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
8751 defined in <bits/mman-map-flags-generic.h>.
8752
46341286
AS
87532018-09-26 Andreas Schwab <schwab@suse.de>
8754
8755 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
8756 output.
8757
b5c45e83
AZ
87582018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
8759 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8760 Fangrui Song <maskray@google.com>
8761
8762 [BZ #20480]
8763 * config.make.in (have-textrel_ifunc): New define.
8764 * configure.ac: Add check if linker supports textrel relocation with
8765 ifunc.
8766 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
8767 tst-ifunc-textrel.
8768 (CFLAGS-tst-ifunc-textrel.c): New rule.
8769 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
8770 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
8771 * elf/tst-ifunc-textrel.c: New file.
8772
8ea4d2b7
JM
87732018-09-25 Joseph Myers <joseph@codesourcery.com>
8774
d62f9ec0
JM
8775 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
8776 <bits/procfs-prregset.h>.
8777 (prgregset_t): Define using __prgregset_t.
8778 (prfpregset_t): Define using __prfpregset_t.
8779 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8780 (sysdep_headers): Add bits/procfs-prregset.h.
8781 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
8782 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
8783 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
8784 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
8785
d0d8eb43
JM
8786 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
8787 <bits/procfs-id.h> and <bits/procfs-extra.h>.
8788 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
8789 pr_uid and pr_gid.
8790 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8791 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
8792 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
8793 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
8794 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
8795 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
8796 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
8797 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
8798 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
8799 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
8800 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
8801 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
8802 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
8803 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
8804 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
8805 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
8806 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
8807 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
8808 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
8809 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
8810 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
8811 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
8812 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8813 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
8814
8ea4d2b7
JM
8815 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
8816 AArch64 version. Include <bits/procfs.h>.
8817 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8818 (sysdep_headers): Add bits/procfs.h.
8819 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
8820 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
8821 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
8822 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
8823 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
8824 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
8825 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
8826 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
8827 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
8828 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
8829 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
8830 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
8831 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
8832 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
8833 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
8834 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8835 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
8836
c7027166
AZ
88372018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8838
8839 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
8840 Use libsupport.
8841
335a3b0a
AS
88422018-09-25 Arjun Shankar <arjun@redhat.com>
8843
8844 * iconv/gconv_int.h (__gconv_path_elem): Remove.
8845 (__gconv_max_path_elem_len): Likewise.
8846 (__gconv_nmodules): Likewise.
8847 (__gconv_get_path): Likewise.
8848 (path_elem): Move to ...
8849 * iconv/gconv_conf.c: ... here.
8850 (__gconv_get_path): Mark function static.
8851 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
8852 * iconv/gconv_open.c: ... here.
8853
462d348c
AS
88542018-09-24 Andreas Schwab <schwab@suse.de>
8855
8856 * scripts/haveversions.awk: New file.
8857 * Makerules ($(common-objpfx)Versions.def)
8858 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
8859 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
8860 Move rules ...
8861 * Makeconfig ($(common-objpfx)Versions.def)
8862 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
8863 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
8864 ... here.
8865 ($(common-objpfx)Versions.mk): New rule. Include it.
8866 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
8867 Emit error if build-obsolete-nsl = yes.
8868 * manual/install.texi (Configuring and compiling): Describe
8869 --enable-obsolete-nsl as unavaiable after version 2.28.
8870 * INSTALL: Regenerate.
8871
f0458cf4
AZ
88722018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8873
8874 * NEWS: Add note about new TLE support on powerpc64le.
8875 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
8876 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
8877 __ununsed1.
8878 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
8879 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
8880 * sysdeps/powerpc/powerpc32/sysdep.h,
8881 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
8882 ABORT_TRANSACTION): Remove macros.
8883 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
8884 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
8885 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
8886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
8887 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8888 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
8889 usage.
8890 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
8891
434d45fd
RL
88922018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
8893
8894 [BZ #10425]
8895 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
8896 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
8897 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
8898 which is the same as in it_IT.
8899 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
8900 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
8901
d90c9b1a
JM
89022018-09-20 Joseph Myers <joseph@codesourcery.com>
8903
7abf97be
JM
8904 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8905 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
8906 using MATH_REDIRECT.
8907 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
8908 header inclusion.
8909 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
8910 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8911 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
8912 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8913 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8914 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
8916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
8917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
8918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
8919 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8920 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8921 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
8922 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
8923 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
8924 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
8925 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
8926 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8927 (ceil): Redirect to __ceil.
8928 (floor): Redirect to __floor.
8929 (trunc): Redirect to __trunc.
8930 (__truncl): Call trunc instead of __trunc.
8931 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
8932 Remove macro.
8933 [_ARCH_PWR5X] (__truncf): Likewise.
8934 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
8935 trunc functions instead of __trunc variants.
8936 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8937 Likewise.
8938 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8939 Likewise.
8940 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8941 Likewise.
8942 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8943 Likewise.
8944
d90c9b1a
JM
8945 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
8946 [__i586__ || __pentium__].
8947 [__i486__]: Handle explicitly.
8948 (HAS_CPUID): Define to 1 if above macros are undefined.
8949 (HAS_I586): Likewise.
8950 (HAS_I686): Likewise.
8951
db9a8ad4
FW
89522018-09-20 Florian Weimer <fweimer@redhat.com>
8953
8954 * misc/tst-gethostid.c: New file.
8955 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
8956 (tst-gethostid): Link with -ldl.
8957
1214ba06
MY
89582018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
8959
8960 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
8961 value from gethostbyname_r.
8962
791b350d
CD
89632018-09-19 Carlos O'Donell <carlos@redhat.com>
8964
8965 * stdlib/tst-setcontext9.c (f1): Rename to...
8966 (f1a): ... this.
8967 (f1b): New function implementing lower half of f1 in alternate stack.
8968
8e6fd2bd
PE
89692018-09-19 Paul Eggert <eggert@cs.ucla.edu>
8970
e1080e7e
PE
8971 Fix mktime localtime offset confusion
8972 [BZ #23603]
8973 * include/time.h (__mktime_internal): The localtime offset is now
8974 of type long int instead of time_t. This is the longstanding type
8975 in glibc, and it is more than enough to represent difference
8976 between localtime and gmtime even if it is 32 bits and time_t is
8977 64. Changing it now will let us avoid an unnecessary change when
8978 time_t is widened to 64 bits on 32-bit platforms.
8979 * time/mktime-internal.h (mktime_offset_t): Now long int.
8980
8e6fd2bd
PE
8981 Merge mktime, timegm from upstream Gnulib
8982 [BZ #23603][BZ #16346]
8983 This fixes some obscure problems with integer overflow.
8984 Although it looks scary, it is almost all a byte-for-byte copy
8985 from Gnulib, and the Gnulib code has been tested reasonably well.
8986 * include/intprops.h: New file, copied from Gnulib.
8987 * include/verify.h, time/mktime-internal.h:
8988 New tiny files, simplified from Gnulib.
8989 * time/mktime.c: Copy from Gnulib. This has the following changes:
8990 Do not include config.h if DEBUG_MKTIME is nonzero.
8991 Include stdbool.h, intprops.h, verify.h.
8992 Include string.h only if needed.
8993 Include stdlib.h on MS-Windows.
8994 Include mktime-internal.h.
8995 (DEBUG_MKTIME): Default to 0, and simplify later uses.
8996 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
8997 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
8998 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
8999 simplify later conditionals; default the others to zero. Use
9000 these conditionals to express only the code needed on the current
9001 platform. In uses of these conditionals, explicitly spell out how
9002 _LIBC affects things, so it’s easier to review from a glibc
9003 viewpoint.
9004 (WRAPV): Remove; no longer needed now that we have
9005 systematic overflow checking.
9006 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
9007 compartmentalize tzset issues. Move system-dependent tzsettish
9008 code here from mktime.
9009 (verify): Remove; now done by verify.h. All uses changed.
9010 (long_int): Use a more-conservative definition, to avoid
9011 integer overflow.
9012 (SHR): Remove, replacing with ...
9013 (shr): New function, which means we needn’t worry about side
9014 effects in args, and conversion analysis is simpler.
9015 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
9016 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
9017 (time_t_avg, time_t_add_ok): Remove.
9018 (mktime_min, mktime_max): New constants.
9019 (leapyear, isdst_differ): Use bool for booleans.
9020 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
9021 Use long_int, not time_t, for mktime differences.
9022 (long_int_avg): New function, replacing time_t_avg.
9023 INT_ADD_WRAPV replaces time_t_add_ok.
9024 (guess_time_tm): 6th arg is now long_int, not time_t const *.
9025 All uses changed.
9026 (convert_time): New function.
9027 (ranged_convert): Use it.
9028 (__mktime_internal): Last arg now points to mktime_offset_t, not
9029 time_t. All uses changed. This is a no-op on glibc, where
9030 mktime_offset_t is always time_t. Use int, not time_t, for UTC
9031 offset guess. Directly check for integer overflow instead of
9032 using a heuristic that works only 99.9...% of the time.
9033 Access *OFFSET only once, to avoid an unlikely race if the
9034 compiler delays a load and if this cascades into a signed integer
9035 overflow.
9036 (mktime): Move tzsettish code to my_tzset, and move
9037 localtime_offset to within mktime so that it doesn’t
9038 need a separate ifdef.
9039 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
9040 instead of localtime.
9041 * time/timegm.c: Copy from Gnulib. This has the following changes:
9042 Include mktime-internal.h.
9043 [!_LIBC]: Include config.h and time.h. Do not include
9044 timegm.h or time_r.h. Make __mktime_internal a macro,
9045 and include mktime-internal.h to get its declaration.
9046 (timegm): Temporary is now mktime_offset_t, not time_t.
9047 This affects only Gnulib.
9048
83a552b0
WD
90492018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
9050
9051 [BZ #23637]
9052 * string/test-strstr.c (pr23637): New function.
9053 (test_main): Add tests with longer needles.
9054 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
9055 * string/strstr.c (AVAILABLE): Likewise.
9056
d7347278
SN
90572018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
9058
9059 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
9060
424c4f60
SN
90612018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
9062
9063 * NEWS: Mention pow improvements.
9064 * math/Makefile (type-double-routines): Add e_pow_log_data.
9065 * sysdeps/generic/math_private.h (__exp1): Remove.
9066 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
9067 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
9068 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
9069 contraction.
9070 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
9071 (exp_inline): Remove.
9072 (__ieee754_exp): Only single double input is handled.
9073 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
9074 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
9075 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
9076 (__pow_log_data): Define.
9077 * sysdeps/ieee754/dbl-64/upow.h: Remove.
9078 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
9079 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
9080 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
9081 contraction.
9082 (CFLAGS-e_pow-fma4.c): Likewise.
9083
e4e4fde5
PE
90842018-09-18 Paul Eggert <eggert@cs.ucla.edu>
9085
dab9c348
PE
9086 Simplify tzfile fstat failure code
9087 [BZ #21716]
9088 * time/tzfile.c (__tzfile_read): Simplify slightly.
9089
e4e4fde5
PE
9090 Fix tzfile low-memory assertion failure
9091 [BZ #21716]
9092 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
9093 when registering time zone abbreviations.
9094
50bc59ca
JM
90952018-09-18 Joseph Myers <joseph@codesourcery.com>
9096
d3a43e49
JM
9097 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
9098 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
9099 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
9100 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
9101 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
9102 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
9103 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
9104 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9105 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9106
50bc59ca
JM
9107 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
9108 __ceil.
9109 (__ceill): Call ceil instead of __ceil.
9110 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
9111 __floor.
9112 (__floorl): Call floor instead of __floor.
9113
89983cb3
JM
91142018-09-17 Joseph Myers <joseph@codesourcery.com>
9115
71223ef9
JM
9116 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9117 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
9118 using MATH_REDIRECT.
9119 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
9120 header inclusion.
9121 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
9122 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9123 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9124 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
9125 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9126 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9127 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9128 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
9129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
9130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
9131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
9132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
9133 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9134 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9135 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
9136 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
9137 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
9138 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
9139 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
9140 Remove macro.
9141 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
9142 functions instead of __ceil variants.
9143 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
9144 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
9145 Likewise.
9146 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
9147 Likewise.
9148 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
9149 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
9150 Likewise.
9151 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9152 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9153
89983cb3
JM
9154 [BZ #21286]
9155 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
9156 constant.
9157 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
9158 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
9159 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
9160 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
9161 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
9162 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
9163 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
9164 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
9165 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
9166 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
9167 (ILL_BADIADDR): Remove constant.
9168 (TRAP_BRANCH): Likewise.
9169 (TRAP_HWBKPT): Likewise.
9170
e44acb20
JM
91712018-09-14 Joseph Myers <joseph@codesourcery.com>
9172
3f7f1d18
JM
9173 [BZ #23656]
9174 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
9175 Remove [_MIPS_SIM = _ABIN32] conditional case.
9176 (struct elf_prpsinfo): Likewise.
9177
d59f3e5e
JM
9178 [BZ #23649]
9179 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
9180 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
9181 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
9182 Likewise.
9183 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
9184 elf_prpsinfo): Likewise.
9185 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
9186 elf_prpsinfo): Likewise.
9187 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
9188 Likewise.
9189
f29b6f17
JM
9190 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9191 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
9192 using MATH_REDIRECT.
9193 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
9194 header inclusion.
9195 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
9196 * sysdeps/alpha/fpu/s_rint.c: Likewise.
9197 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
9198 * sysdeps/i386/fpu/s_rintl.c: Likewise.
9199 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9200 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9201 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
9202 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9203 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9204 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9205 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
9206 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
9207 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
9208 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
9209 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
9210 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9211 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9212 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
9213 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
9214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
9215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
9216 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
9217 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
9218 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
9219 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
9220 * sysdeps/x86_64/fpu/math_private.h: Remove file.
9221 * math/e_scalb.c (invalid_fn): Use rint functions instead of
9222 __rint variants.
9223 * math/e_scalbf.c (invalid_fn): Likewise.
9224 * math/e_scalbl.c (invalid_fn): Likewise.
9225 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
9226 Likewise.
9227 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9228 Likewise.
9229 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
9230 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
9231 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9232 Likewise.
9233 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9234 Likewise.
9235 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9236 Likewise.
9237 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
9238 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
9239
e44acb20
JM
9240 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9241 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
9242 New macro.
9243 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9244 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
9245 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9246 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
9247 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9248 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
9249 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9250 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
9251 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9252 && !NO_MATH_REDIRECT] (floor): Likewise.
9253 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
9254 header inclusion.
9255 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
9256 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9257 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9258 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
9259 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9260 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9261 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9262 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
9263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
9264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
9265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
9266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
9267 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9268 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9269 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
9270 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
9271 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
9272 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
9273 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
9274 Remove macro.
9275 [_ARCH_PWR5X] (__floorf): Likewise.
9276 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
9277 inline function.
9278 [__SSE4_1__] (__floorf): Likewise.
9279 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
9280 instead of __floor variants.
9281 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
9282 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
9283 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
9284 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
9285 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
9286 * math/w_tgamma_compat.c (__tgamma): Likewise.
9287 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
9288 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
9289 * math/w_tgammal_compat.c (__tgammal): Likewise.
9290 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
9291 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
9292 Likewise.
9293 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
9294 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
9295 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
9296 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9297 Likewise.
9298 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
9299 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
9300 Likewise.
9301 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
9302 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
9303 Likewise.
9304 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9305 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
9306 Likewise.
9307 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9308 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
9309 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
9310 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
9311 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9312 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9313
221e4bab
JM
93142018-09-12 Joseph Myers <joseph@codesourcery.com>
9315
9316 * elf/Makefile (modules-names-tests): New variable.
9317
3e08ff54
SN
93182018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
9319
9320 * NEWS: Mention log2 improvements.
9321 * math/Makefile (type-double-routines): Add e_log2_data.
9322 * sysdeps/i386/fpu/e_log2_data.c: New file.
9323 * sysdeps/ia64/fpu/e_log2_data.c: New file.
9324 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
9325 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
9326 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
9327 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
9328 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
9329
f41b0a43
SN
93302018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
9331
9332 * NEWS: Mention log improvement.
9333 * math/Makefile (type-double-routines): Add e_log_data.
9334 * sysdeps/i386/fpu/e_log_data.c: New file.
9335 * sysdeps/ia64/fpu/e_log_data.c: New file.
9336 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
9337 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
9338 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
9339 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
9340 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
9341 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
9342
5a274db4
L
93432018-09-12 H.J. Lu <hongjiu.lu@intel.com>
9344 Xuepeng Guo <xuepeng.guo@intel.com>
9345
9346 [BZ #23606]
9347 * sysdeps/i386/start.S: Include <sysdep.h>
9348 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
9349 enabled. Add cfi_undefined (eip).
9350
b1176270
JM
93512018-09-11 Joseph Myers <joseph@codesourcery.com>
9352
4e7fbdd7
JM
9353 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
9354 (MOVQ): Likewise.
9355 (EXTRACT_WORDS64): Likewise.
9356 (INSERT_WORDS64): Likewise.
9357 (GET_FLOAT_WORD): Likewise.
9358 (SET_FLOAT_WORD): Likewise.
9359
b1176270
JM
9360 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
9361 argument.
9362 (Config.build_gcc): Use --disable-libsanitizer for first GCC
9363 build, but not for second build if --full-gcc. Use
9364 --enable-languages=all for second build if --full-gcc.
9365 (get_parser): Add --full-gcc option.
9366 (main): Update call to Context.
9367
527f355e
RL
93682018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
9369
9370 [BZ #10797]
9371 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
9372 Single Quotation Mark).
9373 (thousands_sep): Likewise.
9374 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
9375 * localedata/locales/it_IT (thousands_sep): Use ".".
9376 (grouping): Use "3;3".
9377
7244f13d
JM
93782018-09-10 Joseph Myers <joseph@codesourcery.com>
9379
9380 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
9381 x86_64 and i686 configs using --enable-obsolete-rpc
9382 --enable-obsolete-nsl.
9383
38245425
SL
93842018-09-06 Stefan Liebler <stli@linux.ibm.com>
9385
9386 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9387
28669f86
SL
93882018-09-06 Stefan Liebler <stli@linux.ibm.com>
9389
9390 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
9391 Increment size of new_argv by one.
9392
a33650d1
RL
93932018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
9394
9395 [BZ #17426]
9396 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
9397 * localedata/locales/ar_IN (d_fmt): Likewise.
9398 * localedata/locales/bhb_IN (d_fmt): Likewise.
9399 * localedata/locales/bho_IN (d_fmt): Likewise.
9400 * localedata/locales/bn_BD (d_fmt): Likewise.
9401 * localedata/locales/bn_IN (d_fmt): Likewise.
9402 * localedata/locales/doi_IN (d_fmt): Likewise.
9403 * localedata/locales/gu_IN (d_fmt): Likewise.
9404 * localedata/locales/hi_IN (d_fmt): Likewise.
9405 * localedata/locales/hne_IN (d_fmt): Likewise.
9406 * localedata/locales/kn_IN (d_fmt): Likewise.
9407 * localedata/locales/mag_IN (d_fmt): Likewise.
9408 * localedata/locales/mai_IN (d_fmt): Likewise.
9409 * localedata/locales/mjw_IN (d_fmt): Likewise.
9410 * localedata/locales/ml_IN (d_fmt): Likewise.
9411 * localedata/locales/mni_IN (d_fmt): Likewise.
9412 * localedata/locales/mr_IN (d_fmt): Likewise.
9413 * localedata/locales/pa_IN (d_fmt): Likewise.
9414 * localedata/locales/raj_IN (d_fmt): Likewise.
9415 * localedata/locales/sat_IN (d_fmt): Likewise.
9416 * localedata/locales/sd_IN (d_fmt): Likewise.
9417 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
9418 * localedata/locales/ta_IN (d_fmt): Likewise.
9419 * localedata/locales/ta_LK (d_fmt): Likewise.
9420 * localedata/locales/tcy_IN (d_fmt): Likewise.
9421 * localedata/locales/ur_IN (d_fmt): Likewise.
9422
9423 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
9424 * localedata/locales/ks_IN (d_fmt): Likewise.
9425 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
9426
9427 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
9428 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
9429 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
9430 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
9431
d114e6a7
SN
94322018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
9433
9434 * NEWS: Mention exp and exp2 improvements.
9435 * math/Makefile (libm-support): Remove t_exp.
9436 (type-double-routines): Add math_err and e_exp_data.
9437 * sysdeps/aarch64/libm-test-ulps: Update.
9438 * sysdeps/arm/libm-test-ulps: Update.
9439 * sysdeps/i386/fpu/e_exp_data.c: New file.
9440 * sysdeps/i386/fpu/math_err.c: New file.
9441 * sysdeps/i386/fpu/t_exp.c: Remove.
9442 * sysdeps/ia64/fpu/e_exp_data.c: New file.
9443 * sysdeps/ia64/fpu/math_err.c: New file.
9444 * sysdeps/ia64/fpu/t_exp.c: Remove.
9445 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
9446 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
9447 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
9448 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
9449 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
9450 * sysdeps/ieee754/dbl-64/math_config.h: New file.
9451 * sysdeps/ieee754/dbl-64/math_err.c: New file.
9452 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
9453 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
9454 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
9455 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
9456 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
9457 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
9458 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
9459 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9460 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9461
b9d8c474
JM
94622018-09-05 Joseph Myers <joseph@codesourcery.com>
9463
b7cdc2ae
JM
9464 * sysdeps/alpha/fpu/math_private.h: Remove.
9465
b9d8c474
JM
9466 * sysdeps/generic/math_private.h
9467 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
9468 Move this inline function ....
9469 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
9470 * include/math.h [!_ISOMAC]: To here....
9471
418d99e6
JM
94722018-09-04 Joseph Myers <joseph@codesourcery.com>
9473
9474 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
9475 code ....
9476 [!FE_HAVE_ROUNDING_MODES]: And this code ....
9477 * include/fenv.h [!_ISOMAC]: ... to here.
9478 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
9479 (feraiseexcept): Likewise.
9480 * math/fromfp.h: Do not include <fenv_private.h>.
9481 * math/s_cexp_template.c: Likewise.
9482 * math/s_csin_template.c: Likewise.
9483 * math/s_csinh_template.c: Likewise.
9484 * math/s_ctan_template.c: Likewise.
9485 * math/s_ctanh_template.c: Likewise.
9486 * math/s_iseqsig_template.c: Likewise.
9487 * math/w_acos_compat.c: Likewise.
9488 * math/w_acosf_compat.c: Likewise.
9489 * math/w_acosl_compat.c: Likewise.
9490 * math/w_asin_compat.c: Likewise.
9491 * math/w_asinf_compat.c: Likewise.
9492 * math/w_asinl_compat.c: Likewise.
9493 * math/w_j0_compat.c: Likewise.
9494 * math/w_j0f_compat.c: Likewise.
9495 * math/w_j0l_compat.c: Likewise.
9496 * math/w_j1_compat.c: Likewise.
9497 * math/w_j1f_compat.c: Likewise.
9498 * math/w_j1l_compat.c: Likewise.
9499 * math/w_jn_compat.c: Likewise.
9500 * math/w_jnf_compat.c: Likewise.
9501 * math/w_log10_compat.c: Likewise.
9502 * math/w_log10f_compat.c: Likewise.
9503 * math/w_log10l_compat.c: Likewise.
9504 * math/w_log2_compat.c: Likewise.
9505 * math/w_log2f_compat.c: Likewise.
9506 * math/w_log2l_compat.c: Likewise.
9507 * math/w_log_compat.c: Likewise.
9508 * math/w_logf_compat.c: Likewise.
9509 * math/w_logl_compat.c: Likewise.
9510 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9511 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9512 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9513 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9514 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9515 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9516 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9517 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9518 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9519 * sysdeps/ieee754/k_standardl.c: Likewise.
9520 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9521 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9522 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9523 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9524 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9525 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9526 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9527 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9528 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9529 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9530 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9531 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9532 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9533 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9534 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9535 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9536 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9537 * math/w_ilogb_template.c: Include <fenv.h> instead of
9538 <fenv_private.h>.
9539 * math/w_llogb_template.c: Likewise.
9540 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9541 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9542
70e2ba33
JM
95432018-09-03 Joseph Myers <joseph@codesourcery.com>
9544
9545 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
9546 * math/fromfp.h: Include <fenv_private.h>.
9547 * math/math-narrow.h: Likewise.
9548 * math/s_cexp_template.c: Likewise.
9549 * math/s_csin_template.c: Likewise.
9550 * math/s_csinh_template.c: Likewise.
9551 * math/s_ctan_template.c: Likewise.
9552 * math/s_ctanh_template.c: Likewise.
9553 * math/s_iseqsig_template.c: Likewise.
9554 * math/w_acos_compat.c: Likewise.
9555 * math/w_acosf_compat.c: Likewise.
9556 * math/w_acosl_compat.c: Likewise.
9557 * math/w_asin_compat.c: Likewise.
9558 * math/w_asinf_compat.c: Likewise.
9559 * math/w_asinl_compat.c: Likewise.
9560 * math/w_ilogb_template.c: Likewise.
9561 * math/w_j0_compat.c: Likewise.
9562 * math/w_j0f_compat.c: Likewise.
9563 * math/w_j0l_compat.c: Likewise.
9564 * math/w_j1_compat.c: Likewise.
9565 * math/w_j1f_compat.c: Likewise.
9566 * math/w_j1l_compat.c: Likewise.
9567 * math/w_jn_compat.c: Likewise.
9568 * math/w_jnf_compat.c: Likewise.
9569 * math/w_llogb_template.c: Likewise.
9570 * math/w_log10_compat.c: Likewise.
9571 * math/w_log10f_compat.c: Likewise.
9572 * math/w_log10l_compat.c: Likewise.
9573 * math/w_log2_compat.c: Likewise.
9574 * math/w_log2f_compat.c: Likewise.
9575 * math/w_log2l_compat.c: Likewise.
9576 * math/w_log_compat.c: Likewise.
9577 * math/w_logf_compat.c: Likewise.
9578 * math/w_logl_compat.c: Likewise.
9579 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
9580 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
9581 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
9582 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
9583 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9584 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9585 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9586 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9587 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9588 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9589 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9590 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9591 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
9592 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
9593 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9594 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
9595 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9596 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9597 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9598 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9599 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9600 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9601 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9602 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9603 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9604 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9605 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9606 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
9607 * sysdeps/ieee754/float128/float128_private.h: Likewise.
9608 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9609 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9610 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9611 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
9612 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9613 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9614 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9615 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9616 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9617 * sysdeps/ieee754/k_standardl.c: Likewise.
9618 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9619 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9620 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9621 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9622 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9623 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
9624 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9625 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9626 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9627 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9628 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9629 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9630 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9631 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9632 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9633 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
9634 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9635 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
9636 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9637 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9638 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9639 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9640 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9641 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9642 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9643 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9644 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9645 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9646 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
9647 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9648 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9649 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9650 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9651 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9652 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9653 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
9654 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9655 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9656 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9657 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9658 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
9659 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
9660 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
9661 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9662 * sysdeps/riscv/rvd/s_finite.c: Likewise.
9663 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
9664 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
9665 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
9666 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
9667 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
9668 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
9669 * sysdeps/riscv/rvf/fegetround.c: Likewise.
9670 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
9671 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
9672 * sysdeps/riscv/rvf/fesetround.c: Likewise.
9673 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
9674 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
9675 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
9676 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9677 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
9678 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9679 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
9680 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
9681 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
9682 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
9683 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
9684 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
9685 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
9686 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
9687 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
9688 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9689
a6e8926f
PP
96902018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9691
9692 [BZ #20271]
9693 * include/stdio.h (__libc_fatal): Mention newline in comment.
9694 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
9695 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
9696 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9697 * nss/nsswitch.c (__nss_next2): Likewise.
9698 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
9699 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
9700 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
9701 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9702 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
9703 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
9704 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
9705 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
9706 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
9707 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
9708 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
9709 * sysdeps/unix/sysv/linux/netlink_assert_response.c
9710 (__netlink_assert_response): Likewise.
9711
2bbd06bc
JM
97122018-08-31 Joseph Myers <joseph@codesourcery.com>
9713
9714 * conform/glibcconform.py: New file.
9715 * conform/list-header-symbols.py: Likewise.
9716 * conform/list-header-symbols.pl: Remove.
9717 * conform/Makefile (tests-special): Only add linknamespace tests
9718 if [PYTHON].
9719 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
9720
81b9d87b
L
97212018-08-31 H.J. Lu <hongjiu.lu@intel.com>
9722
9723 [BZ #23597]
9724 * support/Makefile (libsupport-routines): Add
9725 support_copy_file_range and xcopy_file_range.
9726 * support/support.h: Include <sys/types.h>.
9727 (support_copy_file_range): New prototype.
9728 * support/support_copy_file_range.c: New file. Copied and
9729 modified from io/copy_file_range-compat.c.
9730 * support/test-container.c (copy_one_file): Call xcopy_file_rang
9731 instead of copy_file_range.
9732 * support/xcopy_file_range.c: New file.
9733 * support/xunistd.h (xcopy_file_range): New prototype.
9734
d330f31a
CD
97352018-08-30 Carlos O'Donell <carlos@redhat.com>
9736
9737 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
9738 xpthread_create and xpthread_join.
9739
2bda273a
FW
97402018-08-30 Florian Weimer <fweimer@redhat.com>
9741
9742 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
9743
3bad2358
SL
97442018-08-30 Stefan Liebler <stli@linux.ibm.com>
9745
9746 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
9747 if malloc fails.
9748
09c12efc
JM
97492018-08-29 Joseph Myers <joseph@codesourcery.com>
9750
9751 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
9752 and minus_oflow as non-finite.
9753
ff6b2450
JM
97542018-08-28 Joseph Myers <joseph@codesourcery.com>
9755
9756 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
9757 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
9758 moved to fenv_private.h except for ...
9759 (TOINT_INTRINSICS): Kept in math_private.h.
9760 (roundtoint): Likewise.
9761 (converttoint): Likewise.
9762 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
9763 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9764 * sysdeps/arm/math_private.h: Remove.
9765 * sysdeps/generic/fenv_private.h: New file. Contents moved from
9766 ....
9767 * sysdeps/generic/math_private.h: ... this file. Include
9768 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
9769 Include <fenv_private.h>. Remove functions and macros moved to
9770 fenv_private.h.
9771 * sysdeps/i386/fpu/math_private.h: Remove.
9772 * sysdeps/mips/math_private.h: Move to ....
9773 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
9774 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
9775 [__mips_hard_float] conditional. Include next <fenv_private.h>.
9776 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
9777 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9778 * sysdeps/powerpc/fpu/math_private.h: Do not include
9779 <fenv_private.h>.
9780 * sysdeps/riscv/rvf/math_private.h: Move to ....
9781 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
9782 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
9783 <fenv_private.h>.
9784 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
9785 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9786 * sysdeps/sparc/fpu/math_private.h: Remove.
9787 * sysdeps/i386/fpu/fenv_private.h: Move to ....
9788 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
9789 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
9790 <fenv_private.h>.
9791 * sysdeps/x86_64/fpu/math_private.h: Do not include
9792 <sysdeps/i386/fpu/fenv_private.h>.
9793
761404b7
FW
97942018-08-28 Florian Weimer <fweimer@redhat.com>
9795
9796 [BZ #23578]
9797 * posix/tst-regcomp-truncated.c: New file.
9798 * posix/Makefile (tests): Add it.
9799 (tst-regcomp-truncated.out): Depend on generated locales.
9800
d6c44c3d
FW
98012018-08-28 Florian Weimer <fweimer@redhat.com>
9802
9803 * support/test-container.c (main): Treat unshare failure with
9804 EPERM as an unsupported test.
9805
745664bd
FW
98062018-08-28 Florian Weimer <fweimer@redhat.com>
9807
9808 [BZ #23520]
9809 nscd: Fix use-after-free in addgetnetgrentX and its callers.
9810 * nscd/netgroupcache.c
9811 (addgetnetgrentX): Add tofreep parameter. Do not free
9812 heap-allocated buffer.
9813 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
9814 (addgetnetgrentX_ignore): New function.
9815 (addgetnetgrent): Call it.
9816 (readdgetnetgrent): Likewise.
9817
c8dd67e7
RS
98182018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9819
9820 * string/memmem.c: Use memcmp for first match.
9821
5abedf97
RL
98222018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
9823
9824 [BZ #17426]
9825 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
9826
86de0499
DD
98272018-08-27 DJ Delorie <dj@redhat.com>
9828
9829 * support/Makefile (others): Don't list programs explicitly as a
9830 dependency of "others".
9831
c3ab2110
JM
98322018-08-27 Joseph Myers <joseph@codesourcery.com>
9833
9834 * sysdeps/generic/math-tests-trap-force.h: New file.
9835 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
9836 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
9837 * sysdeps/powerpc/math-tests.h: Remove file.
9838 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
9839
6b5c8607
TS
98402018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
9841 Torvald Riegel <triegel@redhat.com>
99ea93ca
MK
9842
9843 [BZ #23538]
9844 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
9845 Update r to include the set wake-request flag if waiters are
9846 remaining after spinning.
9847
4061791f
JM
98482018-08-27 Joseph Myers <joseph@codesourcery.com>
9849
9850 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
9851
bc680b33
PE
98522018-08-25 Paul Eggert <eggert@cs.ucla.edu>
9853
761404b7 9854 [BZ #23578]
bc680b33
PE
9855 regex: fix uninitialized memory access
9856 I introduced this bug into gnulib in commit
9857 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
9858 eventually it was merged into glibc. The bug was found by
9859 project-repo <bugs@feusi.co> and reported here:
9860 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
9861 Diagnosis and draft fix reported by Assaf Gordon here:
9862 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
9863 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
9864 * posix/regex_internal.c (build_wcs_upper_buffer):
9865 Fix bug when mbrtowc returns 0.
9866
02458a52
CD
98672018-08-24 Carlos O'Donell <carlos@redhat.com>
9868
9869 * po/be.po: Update translation.
9870
acc2842a
DD
98712018-08-24 DJ Delorie <dj@delorie.com>
9872
9873 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
9874 $(libunwind).
9875
6c3a8a9d
PP
98762018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9877
b39d961c
TS
9878 [BZ #23400]
9879 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
9880 create temporary files in source tree.
6c3a8a9d 9881
895ef79e
JM
98822018-08-24 Joseph Myers <joseph@codesourcery.com>
9883
9884 * sysdeps/generic/math-tests-trap.h: New file.
9885 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
9886 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
9887 * sysdeps/aarch64/math-tests.h: Remove file.
9888 * sysdeps/arm/math-tests.h: Likewise.
9889 * sysdeps/riscv/math-tests.h: Likewise.
9890 * sysdeps/aarch64/math-tests-trap.h: New file.
9891 * sysdeps/arm/math-tests-trap.h: Likewise.
9892 * sysdeps/riscv/math-tests-trap.h: Likewise.
9893
ca3aac57
WD
98942018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
9895
9896 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
9897 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
9898 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
9899 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
9900 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
9901 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
9902 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9903 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
9904 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
9905 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9906 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9907 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9908 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9909 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
9910 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
9911 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
9912 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9913 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9914
60bcac09
JM
99152018-08-23 Joseph Myers <joseph@codesourcery.com>
9916
9917 * sysdeps/generic/math-tests-exceptions.h: New file.
9918 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
9919 (EXCEPTION_TESTS_float): Do not define here.
9920 (EXCEPTION_TESTS_double): Likewise.
9921 (EXCEPTION_TESTS_long_double): Likewise.
9922 (EXCEPTION_TESTS_float128): Likewise.
9923 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
9924 Likewise.
9925 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
9926 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
9927 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
9928 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
9929 * sysdeps/mips/math-tests.h: Likewise.
9930 * sysdeps/nios2/math-tests.h: Likewise.
9931 * sysdeps/riscv/math-tests.h [!__riscv_flen]
9932 (EXCEPTION_TESTS_float): Do not define here.
9933 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
9934 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
9935 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
9936
3bded567
WD
99372018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
9938
9939 * NEWS: Move optimized sinf entry to 2.29.
9940
900fb446
WD
99412018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
9942
9943 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
9944
561b0bec
DD
99452018-08-22 DJ Delorie <dj@redhat.com>
9946
9947 * Makefile (testroot.pristine): New rules to initialize the
9948 test-in-container "testroot".
9949 * Makerules (all-testsuite): Add tests-container.
9950 * Rules (tests-expected): Add tests-container.
9951 (binaries-all-tests): Likewise.
9952 (tests-container): New, run these tests in the testroot container.
9953 * support/Makefile (others): Add *-container, support_paths.c,
9954 xmkdirp, and links-dso-program.
9955 * support/links-dso-program-c.c: New.
9956 * support/links-dso-program.cc: New.
9957 * support/test-container.c: New.
9958 * support/shell-container.c: New.
9959 * support/echo-container.c: New.
9960 * support/true-container.c: New.
9961 * support/xmkdirp.c: New.
9962 * support/xsymlink.c: New.
9963 * support/support_paths.c: New.
9964 * support/support.h: Add support paths prototypes.
9965 * support/xunistd.h: Add xmkdirp () and xsymlink ().
9966
9967 * nss/tst-nss-test3.c: Convert to test-in-container.
9968 * nss/tst-nss-test3.root/: New.
9969
b35d3509
PE
99702018-08-22 Paul Eggert <eggert@cs.ucla.edu>
9971
9972 regex: port Gnulib code to z/OS POSIX environment
9973 Problem reported by Arnold Robbins in:
9974 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
9975 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
9976 Undef.
9977
16a25138
JM
99782018-08-22 Joseph Myers <joseph@codesourcery.com>
9979
debc4c98
JM
9980 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
9981 (ROUNDING_TESTS_double): Remove.
9982 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
9983 (ROUNDING_TESTS_double): Remove.
9984 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
9985 (ROUNDING_TESTS_double): Remove.
9986 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
9987 (ROUNDING_TESTS_float): Remove.
9988 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
9989 (ROUNDING_TESTS_float): Remove.
9990 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
9991 (ROUNDING_TESTS_float): Remove.
9992 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
9993 !TEST_MATHVEC here.
9994 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9995 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9996
16a25138
JM
9997 * sysdeps/generic/math-tests-rounding.h: New file.
9998 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
9999 (ROUNDING_TESTS_float): Do not define here.
10000 (ROUNDING_TESTS_double): Likewise.
10001 (ROUNDING_TESTS_long_double): Likewise.
10002 (ROUNDING_TESTS_float128): Likewise.
10003 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
10004 (ROUNDING_TESTS_double): Undefine before defining.
10005 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
10006 (ROUNDING_TESTS_double): Undefine before defining.
10007 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
10008 (ROUNDING_TESTS_double): Undefine before defining.
10009 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
10010 (ROUNDING_TESTS_float): Undefine before defining.
10011 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
10012 (ROUNDING_TESTS_float): Undefine before defining.
10013 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
10014 (ROUNDING_TESTS_float): Undefine before defining.
10015 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
10016 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
10017 not define here.
10018 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
10019 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
10020 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
10021 * sysdeps/riscv/math-tests.h [!__riscv_flen]
10022 (ROUNDING_TESTS_float): Do not define here.
10023 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
10024 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
10025 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
10026 (ROUNDING_TESTS_float): Likewise.
10027 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
10028 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
10029 * sysdeps/mips/math-tests.h [__mips_soft_float]
10030 (ROUNDING_TESTS_float): Likewise.
10031 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
10032 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
10033 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
10034 (ROUNDING_TESTS_double): Likewise.
10035 (ROUNDING_TESTS_long_double): Likewise.
10036
38b0593e
TK
100372018-08-21 Tobias Klauser <tklauser@distanz.ch>
10038
10039 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
10040 (PF_XDP): New macro.
10041 (AF_XDP): New macro.
10042 (SOL_XDP): New macro.
10043
5cd7dbde
JM
100442018-08-21 Joseph Myers <joseph@codesourcery.com>
10045
10046 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
10047 (TCP_INQ): Likewise.
10048 (TCP_CM_INQ): Likewise.
10049 (TCP_REPAIR_ON): Likewise.
10050 (TCP_REPAIR_OFF): Likewise.
10051 (TCP_REPAIR_OFF_NO_WP): Likewise.
10052 (struct tcp_zerocopy_receive): New type.
10053
aa42b3db
FW
100542018-08-21 Florian Weimer <fweimer@redhat.com>
10055
10056 * support/support.h (support_descriptor_supports_holes): Declare.
10057 * support/Makefile (libsupport-routines): Add
10058 support_descriptor_supports_holes.
10059 * support/support_descriptor_supports_holes.c: New file.
10060 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
10061 and stop testing if holes are not supported.
10062 * io/test-lfs.c (do_prepare): Likewise.
10063 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
10064 Likewise.
10065 * timezone/tst-tzset.c (create_tz_file): Likewise.
10066 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
10067 variable.
10068 (do_prepare): Set it.
10069 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
10070
c7627f41
FW
100712018-08-21 Florian Weimer <fweimer@redhat.com>
10072
10073 [BZ #17248]
10074 * Makeconfig (+cflags): Do not sort (and deduplicate).
10075
ef939d92
FW
100762018-08-21 Florian Weimer <fweimer@redhat.com>
10077
10078 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
10079 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
10080
88ffb39d
FW
100812018-08-20 Florian Weimer <fweimer@redhat.com>
10082
10083 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
10084 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
10085
17419540
JM
100862018-08-20 Joseph Myers <joseph@codesourcery.com>
10087
e6edd40d
JM
10088 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
10089 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
10090 and ssi_arch members.
10091
17419540
JM
10092 * elf/elf.c (NT_VMCOREDD): New macro.
10093 (AT_MINSIGSTKSZ): Likewise.
10094
fa78896b
RS
100952018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10096
10097 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
10098 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
10099 s_cosf-ppc64 and s_cosf-power8.
10100 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
10101 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10102 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10103 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
10104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
10105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
10106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
10107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
10108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
10109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
10110 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
10111 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
10112
86a6c75a
FW
101132018-08-17 Florian Weimer <fweimer@redhat.com>
10114
10115 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10116
35cfefd9
FW
101172018-08-17 Istvan Kurucsai <pistukem@gmail.com>
10118
10119 * malloc/malloc.c (_int_malloc): Additional binning code checks.
10120
6413fcde
FW
101212018-08-16 Florian Weimer <fweimer@redhat.com>
10122
10123 * configure.ac: Add --with-nonshared-cflags option.
10124 * config.make.in (extra-nonshared-cflags): Set variable.
10125 * Makeconfig (CFLAGS-.oS): Use it.
10126 * manual/install.texi (Configuring and compiling): Document
10127 --with-nonshared-cflags.
10128 * configure: Regenerate.
10129 * INSTALL: Likewise.
10130
93a2584c
FW
101312018-08-16 Florian Weimer <fweimer@redhat.com>
10132
10133 * Makeconfig (ASFLAGS): Always append required assembler flags.
10134
f6f275d2 101352018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
d6db68e6
ME
10136
10137 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
10138 (malloc_consolidate): Likewise.
10139
30a17d8c
PC
101402018-08-16 Pochang Chen <johnchen902@gmail.com>
10141
10142 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
10143
953a5a4a
SP
101442018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
10145
34f86d61
SP
10146 * benchtests/bench-strlen.c (do_test): Allocate buffers before
10147 every strlen call.
10148
953a5a4a
SP
10149 * benchtests/bench-strlen.c: Print performance numbers in json.
10150
7793ad7a
RS
101512018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10152
10153 * sysdeps/powerpc/powerpc64/multiarch/Makefile
10154 (sysdep_routines): Build strcmp-power9 and strncmp-power9
10155 only for little endian.
10156 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10157 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
10158 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
10159 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
10160 Add check for little endian.
10161 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
10162 (__strcmp_power9): Add check for little endian.
10163 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
10164 Add check for little endian.
10165 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
10166 (__strncmp_power9): Add check for little endian.
10167 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
10168 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
10169 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
10170 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
10171 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
10172
436e4d5b
SP
101732018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
10174
10175 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
10176 [!STRLEN](STRLEN): Set to __strlen.
10177 * sysdeps/aarch64/multiarch/strlen.c: New file.
10178 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
10179 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
10180 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
10181 (__libc_ifunc_impl_list): Add strlen.
10182 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
10183 strlen_generic and strlen_asimd.
10184
126c4e3f
WD
101852018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
10186
10187 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
10188 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
10189 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
10190
49acec17
WD
101912018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
10192
10193 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
10194
fdb16de3
FW
101952018-08-14 Florian Weimer <fweimer@redhat.com>
10196
10197 [BZ #23519]
10198 * include/stdio.h (__vfxprintf): Declare.
10199 * stdio-common/fxprintf.c (__vfxprintf): New function.
10200 (__fxprintf): Call it.
10201 * misc/err.c (convert_and_print): Remove function.
10202 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
10203 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
10204 * misc/Makefile (tests): Add tst-warn-wide.
10205 * misc/tst-warn-wide.c: New file.
10206
599cf397
WD
102072018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
10208 Szabolcs Nagy <szabolcs.nagy@arm.com>
10209
10210 * NEWS: Mention sinf, cosf, sincosf.
10211 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
10212 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
10213 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
10214 constants rather than including generic sincosf.h.
10215 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
10216 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
10217 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
10218 (reduced_cos): Remove.
10219 (sinf_poly): New function.
10220 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
10221
e95c6f61
FW
102222018-08-14 Florian Weimer <fweimer@redhat.com>
10223
10224 [BZ #23521]
10225 [BZ #23522]
10226 * nss/nss_files/files-alias.c (get_next_alias): During :include:
10227 processing, bail out if no room, and close the stream before
10228 returning ERANGE.
10229 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
10230 (tst-nss-files-alias-leak): Link with libdl.
10231 (tst-nss-files-alias-leak.out): Depend on nss_files.
10232
10233 * nss/tst-nss-files-alias-leak.c: New file.
10234
2d7acfac
FW
102352018-08-14 Florian Weimer <fweimer@redhat.com>
10236
10237 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
10238 server_user, stat_user.
10239
f3cd0904
JM
102402018-08-13 Joseph Myers <joseph@codesourcery.com>
10241
17b26500
JM
10242 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10243 version to 4.18.
10244 (io_pgetevents): New syscall.
10245 (rseq): Likewise.
10246
3c1622eb
JM
10247 * manual/install.texi (Configuring and compiling): Do not list
10248 tools used for testing pretty printers here.
10249 (Tools for Compilation): List Python, PExpect and GDB here.
10250 Update descriptions of uses of Perl and Python.
10251 * INSTALL: Regenerate.
10252
f3cd0904
JM
10253 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10254 version to 4.18.
10255
b7b52b9d
FW
102562018-08-13 Florian Weimer <fweimer@redhat.com>
10257
10258 * misc/error.c (error): Add missing va_end call.
10259 (error_at_line): Likewise.
10260
01780188
FW
102612018-08-13 Florian Weimer <fweimer@redhat.com>
10262
10263 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
10264
44727aec
SP
102652018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10266
8cac1f26
SP
10267 * benchtests/scripts/benchout.schema.json (properties): Add
10268 new properties.
10269
44727aec
SP
10270 * benchtests/bench-skeleton.c (main): Add duration and
10271 iterations attributes.
10272
c77bf91b
PE
102732018-08-10 Paul Eggert <eggert@cs.ucla.edu>
10274
10275 regex: Gnulib unibyte RRI uses bytes not chars
10276 Adjust the non-glibc code to agree with what Gawk needs for
10277 rational range interpretation (RRI) for regular expression ranges.
10278 In unibyte locales, Gawk wants ranges to use the underlying byte
10279 rather than the character code point. This change does not affect
10280 glibc proper.
10281 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
10282 In unibyte locales, use the byte value rather than
10283 running it through btowc.
10284
2ce7ba7d
JM
102852018-08-10 Joseph Myers <joseph@codesourcery.com>
10286
10287 * sysdeps/generic/math-tests-snan.h: New file.
10288 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
10289 (SNAN_TESTS_float): Do not define here.
10290 (SNAN_TESTS_double): Likewise.
10291 (SNAN_TESTS_long_double): Likewise.
10292 (SNAN_TESTS_float128): Likewise.
10293 * sysdeps/i386/fpu/math-tests-snan.h: New file.
10294 * sysdeps/i386/fpu/math-tests.h: Remove file.
10295 * sysdeps/ia64/math-tests-snan.h: New file.
10296 * sysdeps/ia64/math-tests.h: Remove file.
10297 * sysdeps/x86/math-tests.h: Likewise.
10298 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
10299
ea5c662c
WD
103002018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
10301 Szabolcs Nagy <szabolcs.nagy@arm.com>
10302
10303 * math/Makefile: Add s_sincosf_data.c.
10304 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
10305 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
10306 (sincosf_poly): Likewise.
10307 (reduce_small): Likewise.
10308 (reduce_large): Likewise.
10309 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
10310 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
10311 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
10312 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
10313
43cfdf8f
SN
103142018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
10315 Szabolcs Nagy <szabolcs.nagy@arm.com>
10316
10317 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
10318 (converttoint): Use lround.
10319 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
10320 document the semantics when TOINT_INTRINSICS is set.
10321 (converttoint): Likewise.
10322 (TOINT_RINT): Remove.
10323 (TOINT_SHIFT): Remove.
10324 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
10325 path.
10326
69065288
FW
103272018-08-10 Florian Weimer <fweimer@redhat.com>
10328
10329 [BZ #23497]
10330 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
10331 function.
10332 (__old_getdents64): Use getdents64. Convert entries without
10333 moving them.
10334 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
10335 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
10336 tst-readdir64-compat.
10337
8f135efc
IL
103382018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10339
10340 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
10341 Fix unwind.
10342
71c01af5
IL
103432018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10344
10345 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
10346 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
10347 code to s390x-mcount.h and #include it.
10348 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
10349 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
10350 (__fentry__): Add.
10351
8d997d22
IL
103522018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10353
10354 * stdlib/Versions: Remove __fentry__.
10355 * sysdeps/i386/Versions: Add __fentry__.
10356 * sysdeps/x86_64/Versions: Add __fentry__.
10357
69e2444a
IL
103582018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10359
10360 * sysdeps/s390/Makefile: Register the new tests.
10361 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
10362 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
10363 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
10364 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
10365 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
10366 * sysdeps/s390/tst-dl-runtime.c: New file.
10367
bde6320f
IL
103682018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10369
10370 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10371 Do not clobber R0.
10372
5755f5e4
IL
103732018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10374
10375 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
10376 Do not clobber R0.
10377
c8ad8522
IL
103782018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10379
10380 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10381 Do not clobber R0.
10382
b215eee1
IL
103832018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10384
10385 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10386 Do not clobber R0.
10387
329c6fec
IL
103882018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10389
10390 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10391 Use symbolic offsets for stack variables.
10392
0fb7afa2
IL
103932018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10394
10395 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
10396 Use symbolic offsets for stack variables.
10397
6954059a
IL
103982018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10399
10400 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10401 Use symbolic offsets for stack variables.
10402
c7099673
IL
104032018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10404
10405 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10406 Use symbolic offsets for stack variables.
10407
2813e41e
JM
104082018-08-09 Joseph Myers <joseph@codesourcery.com>
10409
10410 * math/gen-libm-test.py: New file.
10411 * math/gen-libm-test.pl: Remove.
10412 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
10413 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
10414 gen-libm-test.pl.
10415 ($(libm-test-c-noauto-obj)): Likewise.
10416 ($(libm-test-c-auto-obj)): Likewise.
10417 ($(libm-test-c-narrow-obj)): Likewise.
10418 (regen-ulps): Likewise.
10419 * math/README.libm-test: Update references to gen-libm-test.pl.
10420 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
10421 referencing gen-libm-test.pl.
10422 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
10423 * math/libm-test-support.c: Likewise.
10424 * math/libm-test-support.h: Likewise.
10425 * sysdeps/generic/libm-test-ulps: Likewise.
10426
be64b194
SP
104272018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
10428
10429 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
10430 Fix value.
10431
140137fb
JM
104322018-08-08 Joseph Myers <joseph@codesourcery.com>
10433
10434 * math/libm-test-nextdown.inc (do_test): Move comment to ....
10435 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
10436
b5403eca
ST
104372018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
10438
10439 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
10440 symbols.
8ac0f9e6
ST
10441 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
10442 __pthread_setspecific): Add hidden proto.
10443 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
10444 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
b5403eca 10445
014efdd7
SP
104462018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
10447
10448 * benchtests/bench-string.h (buf1_size, buf2_size): New
10449 variables.
10450 (init_sizes): New function.
10451 (test_init): Use it.
10452 (alloc_buf, exit_error): New functions.
10453 (alloc_bufs): Use ALLOC_BUF.
10454 (realloc_bufs): Remove.
10455 * benchtests/bench-memcmp.c (do_test): Adjust.
10456 * benchtests/bench-memset-large.c (do_test): Likewise.
10457 * benchtests/bench-memset-walk.c (do_test): Likewise.
10458 * benchtests/bench-memset.c (do_test): Likewise.
10459 * benchtests/bench-strncmp.c (do_test): Likewise.
10460
92a4cba7
AS
104612018-08-06 Andreas Schwab <schwab@suse.de>
10462
10463 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
10464 of CONST_THREAD_AREA.
10465
fb4c32ae
L
104662018-08-06 H.J. Lu <hongjiu.lu@intel.com>
10467
10468 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
10469 (STATE_SAVE_MASK): Likewise.
10470 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
10471 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
10472 (STATE_SAVE_MASK): Likewise.
10473 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
10474 instead of <cpu-features.h>.
10475
bf418187
DD
104762018-08-03 DJ Delorie <dj@redhat.com>
10477
10478 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
e5721f45 10479 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
bf418187 10480
bb17621a
DD
10481 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
10482
ea705eb5
JM
104832018-08-03 Joseph Myers <joseph@codesourcery.com>
10484
10485 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
10486 after TEST_* calls.
10487 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
10488 * math/libm-test-logb.inc (logb_test_data): Likewise.
10489
284f42bc
WD
104902018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
10491
10492 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
10493 * string/strstr.c (AVAILABLE): Likewise.
10494
430388d5
L
104952018-08-03 H.J. Lu <hongjiu.lu@intel.com>
10496
10497 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
10498 <init-arch.h>.
10499 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
10500 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
10501 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
10502
c5760aa9
CD
105032018-08-03 Carlos O'Donell <carlos@redhat.com>
10504
10505 * po/be.po: Update translation.
10506
6b535b84
CD
10507 * po/be.po: Update translation.
10508
ae67f2e5
L
105092018-08-03 H.J. Lu <hongjiu.lu@intel.com>
10510
10511 * sysdeps/x86/cpu-features-offsets.sym
10512 (rtld_global_ro_offsetof): Removed.
10513 (CPU_FEATURES_SIZE): Likewise.
10514 (CPUID_OFFSET): Likewise.
10515 (CPUID_SIZE): Likewise.
10516 (CPUID_EAX_OFFSET): Likewise.
10517 (CPUID_EBX_OFFSET): Likewise.
10518 (CPUID_ECX_OFFSET): Likewise.
10519 (CPUID_EDX_OFFSET): Likewise.
10520 (FAMILY_OFFSET): Likewise.
10521 (MODEL_OFFSET): Likewise.
10522 (FEATURE_OFFSET): Likewise.
10523 (FEATURE_SIZ): Likewise.
10524 (COMMON_CPUID_INDEX_1): Likewise.
10525 (COMMON_CPUID_INDEX_7): Likewise.
10526 (FEATURE_INDEX_1): Likewise.
10527 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
10528
6b5c8607 105292018-08-02 Carlos O'Donell <carlos@redhat.com>
08a5ee14
CD
10530
10531 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
10532 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
10533 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
10534 (install-locales): Depend on install-locale-archive.
10535 (install-locale-archive): Define.
7b7adbd8 10536 (install-locale-files): Define.
08a5ee14
CD
10537 (build-one-locale): Define macro.
10538 * manual/install.texi (Running make install): Document.
10539 * manual/INSTALL: Regenerate.
10540
525691bd
SP
105412018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
10542
d67d634b
SP
10543 * benchtests/scripts/compare_strings.py: Import traceback.
10544 (parse_file): Pretty-print error.
10545
525691bd
SP
10546 * NEWS: Mention the change.
10547 * elf/dl-tunables.list: Rename tune namespace to cpu.
10548 * sysdeps/powerpc/dl-tunables.list: Likewise.
10549 * sysdeps/x86/dl-tunables.list: Likewise.
10550 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
10551 cpu.name.
10552 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
10553 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
10554 * manual/README.tunables: Likewise.
10555 * manual/tunables.texi: Likewise.
10556 * sysdeps/powerpc/cpu-features.c: Likewise.
10557 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
10558 (init_cpu_features): Likewise.
10559 * sysdeps/x86/cpu-features.c: Likewise.
10560 * sysdeps/x86/cpu-features.h: Likewise.
10561 * sysdeps/x86/cpu-tunables.c: Likewise.
10562 * sysdeps/x86_64/Makefile: Likewise.
10563 * sysdeps/x86/dl-cet.c: Likewise.
10564
506d7fb1
JM
105652018-08-02 Joseph Myers <joseph@codesourcery.com>
10566
10567 [BZ #23479]
10568 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
10569 [__mips_hard_float].
10570 (FE_UNDERFLOW): Likewise.
10571 (FE_OVERFLOW): Likewise.
10572 (FE_DIVBYZERO): Likewise.
10573 (FE_INVALID): Likewise.
10574 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
10575 (FE_TOWARDZERO): Define only if [__mips_hard_float].
10576 (FE_UPWARD): Likewise.
10577 (FE_DOWNWARD): Likewise.
10578 (__FE_UNDEFINED): Define if [!__mips_hard_float]
10579 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
10580 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
10581 [__mips_hard_float].
10582 (FP_ROUNDMODE): Likewise.
10583 (FP_RND_NEAREST): Likewise.
10584 (FP_RND_ZERO): Likewise.
10585 (FP_RND_PINF): Likewise.
10586 (FP_RND_MINF): Likewise.
10587 (FP_EX_INVALID): Likewise.
10588 (FP_EX_OVERFLOW): Likewise.
10589 (FP_EX_UNDERFLOW): Likewise.
10590 (FP_EX_DIVZERO): Likewise.
10591 (FP_EX_INEXACT): Likewise.
10592 (FP_INIT_ROUNDMODE): Likewise.
10593 * sysdeps/mips/nofpu/fesetenv.c: New file.
10594 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
10595
f6dcefbe
JM
105962018-08-01 Joseph Myers <joseph@codesourcery.com>
10597
10598 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
10599 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
10600 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
10601 conditional on [FE_UPWARD].
10602
fa67ba06
PE
106032018-08-01 Paul Eggert <eggert@cs.ucla.edu>
10604
10605 regex: fix memory leak in Gnulib
10606 Problem and fix reported by Assaf Gordon in:
10607 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
10608 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
10609 range_ends members too, as they are defined in 'struct
10610 re_charset_t' even if not _LIBC. This affects only Gnulib.
10611
82c80ac2
L
106122018-08-01 H.J. Lu <hongjiu.lu@intel.com>
10613
10614 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
10615 ...
10616 (get_common_indices): This.
10617 (init_cpu_features): Updated.
10618
c0e7e2c1
JM
106192018-08-01 Joseph Myers <joseph@codesourcery.com>
10620
46f8cf57
JM
10621 * sysdeps/generic/math-tests-snan-payload.h: New file.
10622 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
10623 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
10624 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
10625 * sysdeps/generic/math-tests.h: Include
10626 <math-tests-snan-payload.h>.
10627 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
10628 * sysdeps/hppa/math-tests.h: Remove file.
10629 * sysdeps/mips/math-tests.h [!__mips_nan2008]
10630 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
10631 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
10632 Likewise.
10633
c0e7e2c1
JM
10634 * sysdeps/generic/math-tests-snan-cast.h: New file.
10635 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
10636 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
10637 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
10638 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
10639
74939c83
CD
106402018-08-01 Carlos O'Donel <carlos@redhat.com>
10641
b029723b
CD
10642 * version.h (RELEASE): Set to "development".
10643 (VERSION): Set to "2.28.9000".
10644 * NEWS (2.29): New section.
10645
3c03baca
CD
10646 * version.h (RELEASE): Set to "stable".
10647 (VERSION): Set to "2.28".
10648 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
10649 * NEWS: Add the list of bugs fixed in 2.28.
10650
74939c83
CD
10651 * po/ca.po: Update to latest version.
10652 * po/cs.po: Likewise
10653 * po/da.po: Likewise
10654 * po/el.po: Likewise
10655 * po/eo.po: Likewise
10656 * po/es.po: Likewise
10657 * po/fi.po: Likewise
10658 * po/fr.po: Likewise
10659 * po/gl.po: Likewise
10660 * po/hu.po: Likewise
10661 * po/ia.po: Likewise
10662 * po/id.po: Likewise
10663 * po/it.po: Likewise
10664 * po/ja.po: Likewise
10665 * po/ko.po: Likewise
10666 * po/lt.po: Likewise
10667 * po/nb.po: Likewise
10668 * po/nl.po: Likewise
10669 * po/pt_BR.po: Likewise
10670 * po/ru.po: Likewise
10671 * po/rw.po: Likewise
10672 * po/sk.po: Likewise
10673 * po/sl.po: Likewise
10674 * po/tr.po: Likewise
10675 * po/zh_CN.po: Likewise
10676 * po/zh_TW.po: Likewise
10677
d4b54bdf
ST
106782018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10679
10680 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
10681 initialization...
10682 (init): ... before initializing libpthread.
10683
42fc12ef
ST
10684 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
10685 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
10686 (__mach_setup_tls): ... new function.
10687 (mach_setup_tls): New alias.
10688 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
10689 __mach_setup_thread.
10690 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
10691 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
10692 * mach/Versions [libc] (mach_setup_tls): Add symbol.
10693 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
10694
6cca855e
CD
106952018-07-31 Carlos O'Donell <carlos@redhat.com>
10696
f650932b
CD
10697 * manual/install.texi: Update versions.
10698 * INSTALL: Regenerate.
10699
6cca855e
CD
10700 * manual/contrib.texi (Contributors): Update contributions.
10701
07fdea47
CD
107022018-07-31 Carlos O'Donell <carlos@redhat.com>
10703
10704 * po/be.po: Update translations.
10705
63d5fad4
AZ
107062018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10707
10708 * sysdeps/sh/libm-test-ulps: Update.
10709
1ff712a6
CD
107102018-07-30 Carlos O'Donell <carlos@redhat.com>
10711
10712 * po/bg.po: Update translations.
10713 * po/de.po: Likewise.
10714 * po/hr.po: Likewise.
10715 * po/pt_BR.po: Likewise.
10716 * po/sv.po: Likewise.
10717 * po/vi.po: Likewise.
10718
98864ed0
L
107192018-07-30 H.J. Lu <hongjiu.lu@intel.com>
10720
10721 [BZ #23467]
10722 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
10723 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
10724 (CFLAGS-tst-cet-property-1.o): New.
10725 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
10726 ($(objpfx)tst-cet-property-2): Likewise.
10727 ($(objpfx)tst-cet-property-2.out): Likewise.
10728 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
10729 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
10730 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
10731 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
10732 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
10733
c92a00d8
L
107342018-07-30 H.J. Lu <hongjiu.lu@intel.com>
10735
10736 [BZ #23458]
10737 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
10738
99bc6241
ST
107392018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
10740
10741 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
10742 __sbrk): Do not set attribute_hidden.
af86087f 10743 * sysdeps/mach/hurd/not-errno.h: New file.
99bc6241
ST
10744 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
10745 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
10746
bcb1c4af
CD
107472018-07-27 Carlos O'Donell <carlos@redhat.com>
10748
10749 * po/uk.po: Update translations.
10750 * po/cs.po: Likewise.
10751 * po/pl.po: Likewise.
10752
4591b7db
L
107532018-07-27 H.J. Lu <hongjiu.lu@intel.com>
10754
10755 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
10756 parse beyond the note end.
10757
2c6da2f4
AZ
107582018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10759
10760 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
10761 kernel does not support OFD locks.
10762 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
10763
20365a31
ST
107642018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
10765
10766 * sysdeps/mach/hurd/Versions (libc): Make __access and
10767 __access_noerrno external so they can override the ld symbols.
10768 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
10769 __writev, __open64, __access_noerrno extern so they can be overrided.
10770 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
10771 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
10772
cb1a43db
CD
107732018-07-26 Carlos O'Donell <carlos@redhat.com>
10774
10775 * po/libc.pot: Regenerate.
10776
74759ae5
JM
107772018-07-26 Joseph Myers <joseph@codesourcery.com>
10778
10779 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
10780
da80612d
L
107812018-07-26 H.J. Lu <hongjiu.lu@intel.com>
10782
10783 [BZ #23459]
10784 * sysdeps/x86/cpu-features.c (get_extended_indices): New
10785 function.
10786 (init_cpu_features): Call get_extended_indices for both Intel
10787 and AMD CPUs.
10788 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
10789 Remove "for AMD" comment.
10790
65d87ade
L
107912018-07-26 H.J. Lu <hongjiu.lu@intel.com>
10792
10793 [BZ # 23456]
10794 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
10795 COMMON_CPUID_INDEX_80000001.
10796
c9dc4d51
SL
107972018-07-26 Stefan Liebler <stli@linux.ibm.com>
10798
10799 * string/tst-xbzero-opt.c (use_test_buffer): New function.
10800 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
10801
cfba5dbb
FW
108022018-07-26 Florian Weimer <fweimer@redhat.com>
10803
10804 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
10805 aliases for symbols not in the implementation namespace.
10806
6b5c8607 108072018-07-25 Carlos O'Donell <carlos@redhat.com>
7cd7d36f
CD
10808
10809 [BZ #23393]
10810 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
10811 lowercase in LATIN script.
10812 * localedata/Makefile (test-input): Add en_US.UTF-8.
10813 * localedata/en_US.UTF-8.in: New file.
10814 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
10815 and restore old tests.
10816 * posix/tst-regexloc.c (do_test): Add back range expression test.
10817
3fb455b3
L
108182018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10819
10820 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
10821
d6499b70
AZ
108222018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10823
10824 * nptl/threads.h: Move to ...
10825 * sysdeps/nptl/threads.h: ... here.
10826 * sysdeps/hurd/stdc-predef.h: New file.
10827
08ac6bed
L
108282018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10829
10830 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
10831 tst-cet-setcontext-1 if CET is enabled.
10832 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
10833 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
10834
9faaf938
AZ
108352018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10836
10837 * include/threads.h: Move to ...
10838 * sysdeps/nptl/threads.h: ... here.
10839 * sysdeps/htl/threads.h: New file.
10840 * conform/Makefile (linknamespace-libs-ISO11): Use
10841 static-thread-library instead of linking libpthread.
10842 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
10843
d6b8f847
FW
108442018-07-25 Florian Weimer <fweimer@redhat.com>
10845
10846 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
10847 nanoseconds into seconds.
10848 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
10849 (do_test): Likewise.
10850 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
10851 (do_test): Likewise. Avoid nanosecond overflow and spurious
10852 timeouts due to system load.
10853 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
10854 (child_wait): Increment it.
10855 (do_test): Wait as long as necessary until all expected threads
10856 have arrived.
10857
25123a1c
L
108582018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
10859 H.J. Lu <hongjiu.lu@intel.com>
10860
10861 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
10862 __ssp.
10863 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
10864 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
10865 (__push___start_context): New.
10866 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
10867 <asm/prctl.h>.
10868 (__getcontext): Record the current shadow stack base. Save the
10869 caller's shadow stack pointer and base.
10870 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
10871 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
10872 (__push___start_context): New prototype.
10873 (__makecontext): Call __push___start_context to allocate a new
10874 shadow stack, push __start_context onto the new stack as well
10875 as the new shadow stack.
10876 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
10877 <asm/prctl.h>.
10878 (__setcontext): Restore the target shadow stack.
10879 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
10880 <asm/prctl.h>.
10881 (__swapcontext): Record the current shadow stack base. Save
10882 the caller's shadow stack pointer and base. Restore the target
10883 shadow stack.
10884 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
10885 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
10886 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
10887
375a4844
L
108882018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10889
10890 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
10891 tst-setcontext8 and tst-setcontext9.
10892 * stdlib/tst-setcontext6.c: New file.
10893 * stdlib/tst-setcontext7.c: Likewise.
10894 * stdlib/tst-setcontext8.c: Likewise.
10895 * stdlib/tst-setcontext9.c: Likewise.
10896
bd4f7903
L
108972018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10898
10899 * stdlib/Makefile ((tests): Add tst-setcontext5.
10900 * stdlib/tst-setcontext5.c: New file.
10901
7e28f203
L
109022018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10903
10904 * stdlib/Makefile (tests): Add tst-setcontext4.
10905 * stdlib/tst-setcontext4.c: New file.
10906
8516ad2d
L
109072018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10908
10909 * stdlib/Makefile (tests): Add tst-swapcontext1.
10910 * stdlib/tst-swapcontext1.c: New test.
10911
fddcd003
L
109122018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10913
10914 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
10915 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
10916 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
10917 and tst-cet-legacy-4c.
10918 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
10919 and tst-cet-legacy-mod-4.
10920 (CFLAGS-tst-cet-legacy-2.c): New.
10921 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
10922 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
10923 (CFLAGS-tst-cet-legacy-3.c): Likewise.
10924 (CFLAGS-tst-cet-legacy-4.c): Likewise.
10925 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
10926 ($(objpfx)tst-cet-legacy-1): Likewise.
10927 ($(objpfx)tst-cet-legacy-2): Likewise.
10928 ($(objpfx)tst-cet-legacy-2.out): Likewise.
10929 ($(objpfx)tst-cet-legacy-2a): Likewise.
10930 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
10931 ($(objpfx)tst-cet-legacy-4): Likewise.
10932 ($(objpfx)tst-cet-legacy-4.out): Likewise.
10933 ($(objpfx)tst-cet-legacy-4a): Likewise.
10934 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
10935 (tst-cet-legacy-4a-ENV): Likewise.
10936 ($(objpfx)tst-cet-legacy-4b): Likewise.
10937 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
10938 (tst-cet-legacy-4b-ENV): Likewise.
10939 ($(objpfx)tst-cet-legacy-4c): Likewise.
10940 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
10941 (tst-cet-legacy-4c-ENV): Likewise.
10942 * sysdeps/x86/tst-cet-legacy-1.c: New file.
10943 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
10944 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
10945 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
10946 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
10947 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
10948 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
10949 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
10950 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
10951 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
10952 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
10953
9aa3113a
L
109542018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10955
10956 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
10957 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
10958 with ssp_base.
10959 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
10960 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
10961 with ssp_base.
10962
9c79cec8
AS
109632018-07-25 Andreas Schwab <schwab@suse.de>
10964
10965 [BZ #23442]
10966 * locale/weightwc.h (findidx): Handle the case where usrc is a
10967 prefix of cp but one character too short.
10968
969c3355
AZ
109692018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10970
10971 * NEWS: Add ISO C threads addition.
10972
e0f9c462
FW
109732018-07-24 Florian Weimer <fweimer@redhat.com>
10974
10975 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10976 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
10977 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
10978 4.13.
10979
394df381
L
109802018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10981
10982 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
10983 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
10984 <sys/prctl.h> and <asm/prctl.h>.
10985 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
10986 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
10987 and <asm/prctl.h>.
10988 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
10989 ARCH_CET_LEGACY_BITMAP.
10990 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
10991 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
10992 * sysdeps/x86/libc-start.c: Include <startup.h>.
10993
46545530
FW
109942018-07-24 Florian Weimer <fweimer@redhat.com>
10995
10996 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
10997 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
10998
6b5c8607 109992018-07-24 Rical Jasan <rj@2c3t.io>
9d0a979e 11000 Adhemerval Zanella <adhemerval.zanella@linaro.org>
0a07288b
AZ
11001 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
11002
11003 [BZ #14092]
9d0a979e
RJ
11004 * manual/debug.texi: Update adjacent chapter name.
11005 * manual/probes.texi: Likewise.
11006 * manual/threads.texi (ISO C Threads): New section.
11007 (POSIX Threads): Convert to a section.
11008
110092018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11010 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
11011
11012 [BZ# 14092]
0a07288b
AZ
11013 * nptl/Makefile (tests): Add new test files.
11014 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
11015 * nptl/tst-cnd-basic.c: Likewise.
11016 * nptl/tst-cnd-broadcast.c: Likewise.
11017 * nptl/tst-cnd-timedwait.c: Likewise.
11018 * nptl/tst-mtx-basic.c: Likewise.
11019 * nptl/tst-mtx-recursive.c: Likewise.
11020 * nptl/tst-mtx-timedlock.c: Likewise.
11021 * nptl/tst-mtx-trylock.c: Likewise.
11022 * nptl/tst-thrd-basic.c: Likewise.
11023 * nptl/tst-thrd-detach.c: Likewise.
11024 * nptl/tst-thrd-sleep.c: Likewise.
11025 * nptl/tst-tss-basic.c: Likewise.
11026
ce7528f6
AZ
110272018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11028
c6dd669b
AZ
11029 [BZ #14092]
11030 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
11031 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
11032 symbols.
11033 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11034 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11035 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11036 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11037 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11038 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11039 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11040 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11041 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11042 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11043 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11044 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11046 Likewise.
11047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11048 Likewise.
11049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
11050 Likewise.
11051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11052 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11053 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11054 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11055 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11056 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11057 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11058 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11059 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11060 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
11061 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
11062 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
11063 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
11064 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
11065 Likewise.
11066 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
11067 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
11068 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
11069 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
11070 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
11071 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
11072 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
11073 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
11074 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
11075 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
11076 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
11077 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
11078 ikewise.
11079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
11080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11081 Likewise.
11082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11083 Likewise.
11084 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
11085 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
11086 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
11087 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
11088 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
11089 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
11090 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
11091 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
11092
78d40132
AZ
11093 [BZ #14092]
11094 * conform/data/threads.h-data (thread_local): New macro.
11095 (TSS_DTOR_ITERATIONS): Likewise.
11096 (tss_t): New type.
11097 (tss_dtor_t): Likewise.
11098 (tss_create): New function.
11099 (tss_get): Likewise.
11100 (tss_set): Likewise.
11101 (tss_delete): Likewise.
11102 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
11103 tss_get, and tss_set objects.
11104 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
11105 * nptl/tss_create.c: New file.
11106 * nptl/tss_delete.c: Likewise.
11107 * nptl/tss_get.c: Likewise.
11108 * nptl/tss_set.c: Likewise.
11109 * sysdeps/nptl/threads.h (thread_local): New define.
11110 (TSS_DTOR_ITERATIONS): Likewise.
11111 (tss_t): New typedef.
11112 (tss_dtor_t): Likewise.
11113 (tss_create): New prototype.
11114 (tss_get): Likewise.
11115 (tss_set): Likewise.
11116 (tss_delete): Likewise.
11117
918311a3
AZ
11118 [BZ #14092]
11119 * conform/data/threads.h-data (cnd_t): New type.
11120 (cnd_init): New function.
11121 (cnd_signal): Likewise.
11122 (cnd_broadcast): Likewise.
11123 (cnd_wait): Likewise.
11124 (cnd_timedwait): Likewise.
11125 (cnd_destroy): Likewise.
11126 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
11127 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
11128 object.
11129 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
11130 * nptl/cnd_broadcast.c: New file.
11131 * nptl/cnd_destroy.c: Likewise.
11132 * nptl/cnd_init.c: Likewise.
11133 * nptl/cnd_signal.c: Likewise.
11134 * nptl/cnd_timedwait.c: Likewise.
11135 * nptl/cnd_wait.c: Likewise.
11136 * sysdeps/nptl/threads.h (cnd_t): New type.
11137 (cnd_init): New prototype.
11138 (cnd_signa): Likewise.
11139 (cnd_broadcast): Likewise.
11140 (cnd_wait): Likewise.
11141 (cnd_timedwait): Likewise.
11142 (cnd_destroy): Likewise.
11143
3c20a679
AZ
11144 [BZ #14092]
11145 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
11146 (once_flag): New type.
11147 (call_once): New function.
11148 * nptl/Makefile (libpthread-routines): Add call_once object.
11149 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
11150 * nptl/call_once.c: New file.
11151 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
11152 (once_flag): New type.
11153 (call_once): New prototype.
11154
18d59c1b
AZ
11155 [BZ #14092]
11156 * conform/data/threads.h-data (mtx_plain): New constant.
11157 (mtx_recursive): Likewise.
11158 (mtx_timed): Likewise.
11159 (mtx_t): New type.
11160 (mtx_init): New function.
11161 (mtx_lock): Likewise.
11162 (mtx_timedlock): Likewise.
11163 (mtx_trylock): Likewise.
11164 (mtx_unlock): Likewise.
11165 (mtx_destroy): Likewise.
11166 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
11167 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
11168 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
11169 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
11170 * nptl/mtx_destroy.c: New file.
11171 * nptl/mtx_init.c: Likewise.
11172 * nptl/mtx_lock.c: Likewise.
11173 * nptl/mtx_timedlock.c: Likewise.
11174 * nptl/mtx_trylock.c: Likewise.
11175 * nptl/mtx_unlock.c: Likewise.
11176 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
11177 (mtx_recursive): Likewise.
11178 (mtx_timed): Likewise.
11179 (mtx_t): New type.
11180 (mtx_init): New prototype.
11181 (mtx_lock): Likewise.
11182 (mtx_timedlock): Likewise.
11183 (mtx_trylock): Likewise.
11184 (mtx_unlock): Likewise.
11185 (mtx_destroy): Likewise.
11186
ce7528f6
AZ
11187 [BZ #14092]
11188 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
11189 (linknamespace-libs-ISO11): Add libpthread.a.
11190 * conform/data/threads.h-data: New file: add C11 thrd_* types and
11191 functions.
11192 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
11193 * nptl/Makefile (headers): Add threads.h.
11194 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
11195 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
11196 thrd_yield.
11197 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
11198 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
11199 thrd_join, thrd_sleep, and thrd_yield symbols.
11200 * nptl/descr.h (struct pthread): Add c11 field.
11201 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
11202 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
11203 routine with expected function prototype.
11204 (__pthread_create_2_1): Add C11 threads check based on attribute
11205 value.
11206 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
11207 * nptl/thrd_create.c: New file.
11208 * nptl/thrd_current.c: Likewise.
11209 * nptl/thrd_detach.c: Likewise.
11210 * nptl/thrd_equal.c: Likewise.
11211 * nptl/thrd_exit.c: Likewise.
11212 * nptl/thrd_join.c: Likewise.
11213 * nptl/thrd_priv.h: Likewise.
11214 * nptl/thrd_sleep.c: Likewise.
11215 * nptl/thrd_yield.c: Likewise.
11216 * include/threads.h: Likewise.
11217
e27f41ba
L
112182018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11219
11220 * bits/indirect-return.h: New file.
11221 * misc/sys/cdefs.h (__glibc_has_attribute): New.
11222 * sysdeps/x86/bits/indirect-return.h: Likewise.
11223 * stdlib/Makefile (headers): Add bits/indirect-return.h.
11224 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
11225 (swapcontext): Add __INDIRECT_RETURN.
11226 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
11227 (prepare_test_buffer): Use it.
11228
21526a50
AS
112292018-07-24 Andreas Schwab <schwab@suse.de>
11230
11231 [BZ #23448]
11232 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
11233 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
11234
3650e1d9
L
112352018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11236
11237 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
11238 Redefine if shadow stack is enabled.
11239 (SYSCALL_ERROR_LABEL): Likewise.
11240 (__vfork): Pop shadow stack and jump back to to caller directly
11241 when shadow stack is in use.
11242 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
11243 Redefine if shadow stack is enabled.
11244 (SYSCALL_ERROR_LABEL): Likewise.
11245 (__vfork): Pop shadow stack and jump back to to caller directly
11246 when shadow stack is in use.
11247
ca027e0f
L
112482018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11249
11250 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
11251 enabled.
11252 (foo): Likewise.
11253 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
11254 (foo): Likewise.
11255
b99f1c95
JM
112562018-07-20 Joseph Myers <joseph@codesourcery.com>
11257
11258 * scripts/build-many-glibcs.py (Context.checkout): Default
11259 binutils version to 2.31 branch.
11260
c8fabb84
ZL
112612018-07-20 Zong Li <zong@andestech.com>
11262
11263 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
11264 URL of gcc's tarball.
11265
786658a0
FW
112662018-07-20 Florian Weimer <fweimer@redhat.com>
11267
11268 [BZ #23396]
11269 * posix/regcomp.c (build_equiv_class): When comparing weights, do
11270 not compare an extra byte after the end of the weights.
11271
46f2474e
ST
112722018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
11273
11274 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
11275 to 1.
8ba1520e
ST
11276 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
11277 hidden prototypes.
11278 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
11279 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
2d5c41de
ST
11280 * scripts/check-execstack.awk: Consider `xfail' variable containing a
11281 list of libraries whose stack executability is expected.
11282 * elf/Makefile ($(objpfx)check-execstack.out): Pass
11283 $(check-execstack-xfail) to check-execstack.awk through `xfail'
11284 variable.
11285 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
11286 libc.so libpthread.so.
46f2474e 11287
60088242
TS
112882018-07-20 Thomas Schwinge <tschwinge@gnu.org>
11289
11290 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
11291 SOCK_NONBLOCK.
75d5e4a0
TS
11292 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
11293 and SOCK_NONBLOCK.
de195be0
TS
11294 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
11295 implement __pipe2.
11296 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
60088242 11297
1cf4ae7f
LS
112982018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11299
11300 * benchtests/scripts/compare_bench.py (__main__): use the argparse
11301 library to improve command line parsing.
11302 (__main__): make schema file as optional parameter (--schema),
11303 defaulting to benchtests/scripts/benchout.schema.json.
11304 (main): move out of the parsing stuff to __main_  and leave it
11305 only as caller of main comparison functions.
11306
e84bd851
L
113072018-07-19 H.J. Lu <hongjiu.lu@intel.com>
11308
11309 * NEWS: Add a note for Intel CET status.
11310 * manual/install.texi: Likewise.
11311 * INSTALL: Regenerated.
11312
df467d22
QP
113132018-07-18 Quentin PAGÈS <provaires@quentino.fr>
11314
11315 [BZ #23140]
11316 * localedata/locales/oc_FR (mon): Rename to...
11317 (alt_mon): This, then update October (typo fix).
11318 (mon): New content (genitive case, month names preceded by
11319 "de" or "d’").
11320
11321 [BZ #23422]
11322 * localedata/locales/oc_FR (abday): Update all items.
11323 (day): Update Wednesday and Saturday (typo fixes).
11324 (abmon): Update all items, except May.
11325 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
11326 (LC_IDENTIFICATION): Bump the revision number and date.
11327 Keep the "category" entries in alphabetic order.
11328 (LC_ADDRESS): Remove no longer needed comment.
11329 (LC_COLLATE): Use “copy "ca_ES"”.
11330 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
11331 "name_mrs".
11332
5c112f1b
JM
113332018-07-18 Joseph Myers <joseph@codesourcery.com>
11334
11335 * grp/tst_fgetgrent.c: Include <unistd.h>.
11336 (main): Use mkstemp instead of tmpnam.
11337 * io/test-utime.c (main): Likewise.
11338 * posix/annexc.c (macrofile): Change to modifiable array.
11339 (main): Remove macrofile here.
11340 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
11341 macrofile here.
11342 (check_header): Do not remove macrofile here.
11343 * posix/bug-getopt1.c: Include <stdlib.h>.
11344 (do_test): Use mkstemp instead of tmpnam.
11345 * posix/bug-getopt2.c: Include <stdlib.h>.
11346 (do_test): Use mkstemp instead of tmpnam.
11347 * posix/bug-getopt3.c: Include <stdlib.h>.
11348 (do_test): Use mkstemp instead of tmpnam.
11349 * posix/bug-getopt4.c: Include <stdlib.h>.
11350 (do_test): Use mkstemp instead of tmpnam.
11351 * posix/bug-getopt5.c: Include <stdlib.h>.
11352 (do_test): Use mkstemp instead of tmpnam.
11353 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
11354 (main): Use mkstemp instead of tmpnam.
11355 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
11356 (main): Use mkstemp instead of tmpnam.
11357 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
11358 (main): use mkstemp instead of tmpnam.
11359 * stdlib/isomac.c (macrofile): Change to modifiable array.
11360 (main): Remove macrofile here.
11361 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
11362 macrofile here.
11363 (check_header): Do not remove macrofile here.
11364
6d90776d
L
113652018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11366
11367 * manual/tunables.texi: Document glibc.tune.x86_ibt and
11368 glibc.tune.x86_shstk.
11369
e6c69509
L
113702018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11371
11372 * NEWS: Mention --enable-cet.
11373 * manual/install.texi: Document --enable-cet.
11374 * INSTALL: Regenerated.
11375
e2d40a88
L
113762018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11377
11378 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
11379 Add _CET_NOTRACK before indirect jump to jump table.
11380
77a8ae09
L
113812018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11382
11383 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
11384 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11385 to jump table.
11386
90d15dc5
L
113872018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11388
11389 * sysdeps/i386/i686/multiarch/strcat-sse2.S
11390 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11391 to jump table.
11392
f1574581
L
113932018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11394
11395 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
11396 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11397 to jump table.
11398
7fb61336
L
113992018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11400
11401 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
11402 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11403 to jump table.
11404
0a899af0
L
114052018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11406
11407 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
11408 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11409 to jump table.
11410 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
11411
177824e2
L
114122018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11413
11414 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
11415 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11416 to jump table.
11417
00e7b76a
L
114182018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11419
11420 * sysdeps/i386/i686/multiarch/memset-sse2.S
11421 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11422 to jump table.
11423
7e119cd5
L
114242018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11425
11426 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
11427 indirect jump to jump table.
11428
03aaf49b
L
114292018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11430
11431 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
11432 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11433 to jump table.
11434 (MEMCPY): Likewise.
11435
811e9e52
L
114362018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11437
11438 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
11439 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11440 to jump table.
11441 (MEMCPY): Likewise.
11442
8817df42
L
114432018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11444
11445 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
11446 _CET_NOTRACK before indirect jump to jump table.
11447
921595d1
L
114482018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11449
11450 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
11451 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11452 to jump table.
11453
4ef60d95
L
114542018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11455
11456 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
11457 indirect jump to jump table.
11458
61c4aad7
VT
114592018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
11460
11461 [BZ #22241]
11462 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
11463 (LOCALES): Likewise.
11464 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
11465 * localedata/locales/sah_RU: New file.
11466 * localedata/sah_RU.UTF-8.in: New file.
11467
be9ccd27
L
114682018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11469
11470 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
11471 "sysdep.h".
11472 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
11473 _CET_ENDBR to indirect jump targets and adjust jump destination
11474 for _CET_ENDBR.
11475 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
11476 "sysdep.h".
11477 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
11478 _CET_ENDBR to indirect jump targets and adjust jump destination
11479 for _CET_ENDBR.
11480 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
11481 "sysdep.h".
11482 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
11483 _CET_ENDBR to indirect jump targets and adjust jump destination
11484 for _CET_ENDBR.
11485
5efc6777
L
114862018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11487
11488 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
11489 _CET_ENDBR.
11490
562837c0
L
114912018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11492
11493 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
11494 _CET_ENDBR.
11495 (_dl_tlsdesc_undefweak): Likewise.
11496 (_dl_tlsdesc_dynamic): Likewise.
11497 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
11498 (_dl_tlsdesc_resolve_rel): Likewise.
11499 (_dl_tlsdesc_resolve_rela): Likewise.
11500 (_dl_tlsdesc_resolve_hold): Likewise.
11501 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
11502 (_dl_tlsdesc_undefweak): Likewise.
11503 (_dl_tlsdesc_dynamic): Likewise.
11504 (_dl_tlsdesc_resolve_rela): Likewise.
11505 (_dl_tlsdesc_resolve_hold): Likewise.
11506
124bcde6
L
115072018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11508
11509 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
11510 (_fini): Likewise.
11511 * sysdeps/x86_64/crti.S (_init): Likewise.
11512 (_fini): Likewise.
11513
9145f033
RL
115142018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
11515
11516 [BZ #23140]
11517 * localedata/locales/os_RU (mon): Rename to...
11518 (alt_mon): This.
11519 (mon): Import from CLDR (genitive case).
11520
ba2ea23d
L
115212018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11522
11523 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
11524 cet-tunables.h> when CET is enabled.
11525
f753fa7d
L
115262018-07-16 H.J. Lu <hongjiu.lu@intel.com>
11527
6b5c8607 11528 [BZ #21598]
f753fa7d
L
11529 * configure.ac: Add --enable-cet.
11530 * configure: Regenerated.
11531 * elf/Makefille (all-built-dso): Add a comment.
11532 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
11533 Include <dl-prop.h>.
11534 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
11535 segment.
11536 * elf/dl-open.c: Include <dl-prop.h>.
11537 (dl_open_worker): Call _dl_open_check.
11538 * elf/rtld.c: Include <dl-prop.h>.
11539 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
11540 _rtld_main_check.
11541 * sysdeps/generic/dl-prop.h: New file.
11542 * sysdeps/i386/dl-cet.c: Likewise.
11543 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
11544 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
11545 * sysdeps/x86/cet-tunables.h: Likewise.
11546 * sysdeps/x86/check-cet.awk: Likewise.
11547 * sysdeps/x86/configure: Likewise.
11548 * sysdeps/x86/configure.ac: Likewise.
11549 * sysdeps/x86/dl-cet.c: Likewise.
11550 * sysdeps/x86/dl-procruntime.c: Likewise.
11551 * sysdeps/x86/dl-prop.h: Likewise.
11552 * sysdeps/x86/libc-start.h: Likewise.
11553 * sysdeps/x86/link_map.h: Likewise.
11554 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
11555 _CET_ENDBR.
11556 (_dl_runtime_profile): Likewise.
11557 (_dl_runtime_resolve_shstk): New.
11558 (_dl_runtime_profile_shstk): Likewise.
11559 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
11560 if CET is enabled.
11561 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
11562 (CFLAGS-.os): Likewise.
11563 (CFLAGS-.op): Likewise.
11564 (CFLAGS-.oS): Likewise.
11565 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
11566 is enabled.
11567 (tests-special): Add $(objpfx)check-cet.out.
11568 (cet-built-dso): New.
11569 (+$(cet-built-dso:=.note)): Likewise.
11570 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
11571 ($(objpfx)check-cet.out): New.
11572 (generated): Add check-cet.out.
11573 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
11574 <cet-tunables.h>.
11575 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
11576 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
11577 (init_cpu_features): Call get_cet_status to check CET status
11578 and update dl_x86_feature_1 with CET status. Call
11579 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
11580 (set_x86_shstk). Disable and lock CET in libc.a.
11581 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
11582 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
11583 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
11584 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
11585 (_CET_ENDBR): Define if not defined.
11586 (ENTRY): Add _CET_ENDBR.
11587 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
11588 x86_shstk.
11589 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
11590 _CET_ENDBR.
11591 (_dl_runtime_profile): Likewise.
11592
52b2a80f
RA
115932018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
11594
11595 [BZ #21895]
11596 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
11597 restore r2 on longjmp.
11598 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
11599 test list.
11600 Added rules to build test tst-setjmp-bug21895-static.
11601 Added module setjmp-bug21895 and rules to build a shared object from it.
11602 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
11603 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
11604
3ae725df
WD
116052018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
11606
11607 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
11608 * benchtests/bench-strstr.c: Likewise.
11609 * string/memmem.c (FASTSEARCH): Define.
11610 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
11611 Add support for FASTSEARCH.
11612 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
11613 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
11614 (FASTSEARCH): Define.
11615 * string/test-strcasestr.c: Rename __strnlen to strnlen.
11616 * string/test-strstr.c: Likewise.
11617
31e422ca
L
116182018-07-15 H.J. Lu <hongjiu.lu@intel.com>
11619
11620 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
11621 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
11622
faaee1f0
L
116232018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
11624 H.J. Lu <hongjiu.lu@intel.com>
11625
11626 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
11627 (__longjmp): Restore shadow stack pointer if shadow stack is
11628 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
11629 isn't defined for __longjmp_cancel.
11630 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
11631 (_setjmp): Save shadow stack pointer if shadow stack is enabled
11632 and SHADOW_STACK_POINTER_OFFSET is defined.
11633 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
11634 (setjmp): Save shadow stack pointer if shadow stack is enabled
11635 and SHADOW_STACK_POINTER_OFFSET is defined.
11636 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
11637 (__sigsetjmp): Save shadow stack pointer if shadow stack is
11638 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11639 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
11640 <jmp_buf-ssp.h>.
11641 (____longjmp_chk): Restore shadow stack pointer if shadow stack
11642 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11643 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
11644 Remove jmp_buf-ssp.sym.
11645 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
11646 <jmp_buf-ssp.h>.
11647 (____longjmp_chk): Restore shadow stack pointer if shadow stack
11648 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11649 * sysdeps/x86/Makefile (gen-as-const-headers): Add
11650 jmp_buf-ssp.sym.
11651 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
11652 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
11653 (__longjmp): Restore shadow stack pointer if shadow stack is
11654 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
11655 isn't defined for __longjmp_cancel.
11656 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
11657 (__sigsetjmp): Save shadow stack pointer if shadow stack is
11658 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11659
ebff9c5c
L
116602018-07-14 H.J. Lu <hongjiu.lu@intel.com>
11661
11662 [BZ #22563]
11663 * nptl/pthread_create.c: Include <tls-setup.h>.
11664 (__pthread_create_2_1): Call tls_setup_tcbhead.
11665 * sysdeps/generic/tls-setup.h: New file.
11666 * sysdeps/x86/nptl/tls-setup.h: Likewise.
11667 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
11668 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
11669 Likewise.
11670 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
11671 to feature_1.
11672 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
11673 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
11674 (X86_FEATURE_1_SHSTK): Likewise.
11675 (CET_ENABLED): Likewise.
11676 (IBT_ENABLED): Likewise.
11677 (SHSTK_ENABLED): Likewise.
11678
0a83bad2
RL
116792018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
11680
11681 [BZ #23208]
11682 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
11683 (LOCALES): Likewise.
11684 * localedata/dsb_DE.UTF-8.in: New file.
11685 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
11686
046bfed9
FW
116872018-07-12 Florian Weimer <fweimer@redhat.com>
11688
11689 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
11690 __mprotect, not mprotect.
11691
93304f5f
FW
116922018-07-11 Florian Weimer <fweimer@redhat.com>
11693
11694 * io/Makefile (headers): Add bits/statx.h.
11695
4beefeeb
MF
116962018-07-10 Mike FABIAN <mfabian@redhat.com>
11697
11698 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
11699 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
11700 and headers.
11701 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
11702 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
11703 for utf8_gen.py
11704
fd70af45
FW
117052018-07-10 Florian Weimer <fweimer@redhat.com>
11706
11707 * io/Makefile (routines): Add statx.
11708 (tests-internal): Add tst-statx.
11709 * io/Versions (GLIBC_2.28): Export statx.
11710 * io/bits/statx.h: New file.
11711 * io/sys/stat.h [__USE_GNU]: Include it.
11712 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
11713 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
11714 Define.
11715 * io/statx.c: New file.
11716 * io/statx_generic.: Likewise.
11717 * io/tst-statx.: Likewise.
11718 * include/bits/statx.h: Likewise.
11719 * sysdeps/unix/sysv/linux/kernel-features.h
11720 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
11721 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11722 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
11723 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
11724 Undefine.
11725 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11726 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
11727 * sysdeps/unix/sysv/linux/statx.c: New file.
11728 * manual/filesys.texi: Note that statx is undocumented.
11729 * sysdeps/**/libc*.abilist: Update.
11730
b444e8f7
AZ
117312018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11732
11733 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
11734 a kernel issue which lead to test failure in some cases.
11735
7b2f4ced
FW
117362018-07-10 Florian Weimer <fweimer@redhat.com>
11737
11738 [BZ #23036]
11739 * posix/regexec.c (check_node_accept_bytes): When comparing
11740 weights, do not compare an extra byte after the end of the
11741 weights.
11742
4fa34da6
FW
117432018-07-10 Florian Weimer <fweimer@redhat.com>
11744
11745 * libio/readline.c: Fix copyright year.
11746 * libio/tst-readline.c Likewise.
11747 * nss/tst-nss-files-hosts-getent.c: Likewise.
11748
916124ed
FW
117492018-07-06 Florian Weimer <fweimer@redhat.com>
11750
11751 [BZ #18991]
11752 * nss/nss_files/files-XXX.c (internal_getent): Use
11753 __libc_readline_unlocked. Seek back to the start of the line if
11754 parsing failes with ERANGE.
11755 (get_contents_ret, get_contents): Remove.
11756 * nss/tst-nss-files-hosts-getent.c: New file.
11757 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
11758 (tst-nss-files-hosts-getent): Link with -ldl.
11759
3f5e3f5d
FW
117602018-07-06 Florian Weimer <fweimer@redhat.com>
11761
11762 * include/stdio.h (__libc_readline_unlocked): Declare.
11763 (__ftello64, __fseeko64): Declare aliases.
11764 * libio/readline.c: New file.
11765 * libio/tst-readline.c: Likewise.
11766 (routines): Add readline.
11767 (tests-internal): Add tst-readlime.
11768 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
11769 __libc_readline_unlocked.
11770 * libio/fseeko.c (__fseeko): Rename from fseeko.
11771 (fseeko): Add alias.
11772 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
11773 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
11774 (fseeko64): Add alias.
11775 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
11776 * libio/ftello64.c (__ftello64): Rename from ftello64.
11777 (ftello64): Add alias.
11778
397c54c1
SN
117792018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
11780
11781 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
11782 HWCAP_ATOMICS.
11783
d0cd7980
SN
117842018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
11785
11786 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
11787 Use dl_hwcap without masking.
11788 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
11789 Remove HWCAP_CPUID.
11790
ddb3c626
FW
117912018-07-06 Florian Weimer <fweimer@redhat.com>
11792
11793 * conform/conformtest.pl (checknamespace): Escape literal braces
11794 in regular expressions.
11795
bce5911b
AP
117962018-07-06 Amit Pawar <amit.pawar@amd.com>
11797
11798 * sysdeps/x86/cpu-features.c (get_common_indeces):
11799 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
11800 * sysdeps/x86/cpu-features.c (init_cpu_features):
11801 AVX_Fast_Unaligned_Load is disabled for Excavator core.
11802
3a885c1f
FW
118032018-07-05 Florian Weimer <fweimer@redhat.com>
11804
11805 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
11806 protector.
11807 (CFLAGS-elf-init.oS): Likewise.
11808
38cade0c
FW
118092018-07-05 Florian Weimer <fweimer@redhat.com>
11810 Carlos O'Donell <carlos@redhat.com>
11811
11812 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
11813 $(no-stack-protector). stack_chk_fail_local.c can be compiled
11814 with stack protector enabled because there is no risk of infinite
11815 recursion.
11816
9449a295
MR
118172018-07-05 Maciej W. Rozycki <macro@mips.com>
11818
11819 [BZ #19818]
11820 [BZ #23307]
11821 * libc-abis (ABSOLUTE): New ABI.
11822 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
11823 * NEWS: Mention the new ABI.
11824
d6da5cb6
FW
118252018-07-05 Florian Weimer <fweimer@redhat.com>
11826
11827 [BZ # 17662]
11828 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
11829 (RENAME_WHITEOUT): Define.
11830 [__USE_GNU] (renameat2): Declare.
11831 * stdio-common/Makefile (routines): Add renameat2.
11832 (tests): Add tst-renameat2.
11833 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
11834 * stdio-common/renameat2.c: New file.
11835 * stdio-common/tst-renameat2.c: Likewise.
11836 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
11837 * manual/filesys.texi (Temporary Files): Note that renameat2 is
11838 undocumented.
11839 * sysdeps/unix/sysv/linux/kernel-features.h
11840 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
11841 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11842 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
11843 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11844 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
11845 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11846 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
11847 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11848 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
11849 * include/stdio.h (__renameat): Add alias for renameat.
11850 * stdio-common/renameat.c (__renameat): Rename from renameat.
11851 Add hidden definition and alias.
11852 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
11853 * sysdeps/mach/hurd/renameat.c: Likewise.
11854 * sysdeps/**/libc*.abilist: Add renameat2.
11855
1002d708
AZ
118562018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11857
11858 * posix/bug-regex33.c: Fix build after regex sync.
11859
34fdb893
CD
118602018-07-04 Carlos O'Donell <carlos@redhat.com>
11861
11862 [BZ #23164]
11863 * localedata/tst-langinfo-setlocale.c: New file.
11864 * localedata/tst-langinfo-setlocale-static.c: New file.
11865 * localedata/tst-langinfo-newlocale.c: New file.
11866 * localedata/tst-langinfo-newlocale-static.c: New file.
11867 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
11868 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
11869 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
11870 (tests-static): Remove tst-langinfo-static. Add
11871 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
11872 (tests-special): Remove $(objpfx)tst-langinfo.out,
11873 $(objpfx)tst-langinfo-static.out. Add
11874 $(objpfx)tst-langinfo-setlocale.out,
11875 $(objpfx)tst-langinfo-newlocale.out,
11876 $(objpfx)tst-langinfo-setlocale-static.out,
11877 $(objpfx)tst-langinfo-newlocale-static.out.
11878 ($(objpfx)tst-langinfo.out): Remove.
11879 ($(objpfx)tst-langinfo-static.out): Remove.
11880 ($(objpfx)tst-langinfo-newlocale.out): New target.
11881 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
11882 (test-xfail-tst-langinfo-newlocale-static): Add.
11883 ($(objpfx)tst-langinfo-setlocale.out): New target.
11884 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
11885 * localedata/tst-langinfo.c: Call test_locale.
11886 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
11887 data.
11888
f2873d2d
FW
118892018-07-04 Florian Weimer <fweimer@redhat.com>
11890
11891 testrun.sh: Implement --tool=strace, --tool=valgrind
11892 * Makefile (testrun-script): Define variable.
11893 (testrun.sh): Use variable.
11894 * manual/install.texi (Tools for Compilation): make 4.0 or later
11895 is required.
11896 * configure.ac: Check for make 4.0 or later.
11897 * INSTALL: Regenerate.
11898 * configure: Likewise.
11899
eb04c213
AZ
119002018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11901
11902 [BZ #23233]
11903 [BZ #21163]
11904 [BZ #18986]
11905 [BZ #13762]
11906 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
11907 * posix/PCRE.tests: Remove invalid test.
11908 * posix/bug-regex28.c: Fix expected values for used syntax.
11909 * posix/bug-regex37.c: New file.
11910 * posix/bug-regex38.c: Likewise.
11911 * posix/regcomp.c: Sync with gnulib.
11912 * posix/regex.c: Likewise.
11913 * posix/regex.h: Likewise.
11914 * posix/regex_internal.c: Likewise.
11915 * posix/regex_internal.h: Likewise.
11916 * posix/regexec.c: Likewise.
11917
b11643c2
MF
119182018-06-26 Mike FABIAN <mfabian@redhat.com>
11919
11920 [BZ #23308]
11921 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
11922 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
11923 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
11924 * localedata/unicode-gen/PropList.txt: likewise.
11925 * localedata/unicode-gen/UnicodeData.txt: likewise.
11926 * localedata/charmaps/UTF-8: Regenerate.
11927 * localedata/locales/i18n_ctype: likewise.
11928 * localedata/locales/tr_TR: likewise.
11929 * localedata/locales/translit_circle: likewise.
11930 * localedata/locales/translit_cjk_compat: likewise.
11931 * localedata/locales/translit_combining: likewise.
11932 * localedata/locales/translit_compat: likewise.
11933 * localedata/locales/translit_font: likewise.
11934 * localedata/locales/translit_fraction: likewise.
11935
5a357506
FW
119362018-07-03 Florian Weimer <fweimer@redhat.com>
11937
11938 [BZ #23363]
11939 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
11940 * stdio-common/tst-printf.sh: Adjust expected output.
11941 * LICENSES: Update.
11942
7279af00
AZ
119432018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11944
11945 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
11946 symbol.
11947
b7b88cea
GG
119482018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11949
11950 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
11951 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
11952 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
11953 * stdio-common/tst-printfsz-islongdouble.c: New file.
11954 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
11955 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
11956 [subdir == stdio-common] (routines): Add ieee128-printf_size.
11957 [subdir == stdio-common] (tests-internal): Add
11958 test-printf-size-ieee128, and test-printf-size-ibm128.
11959 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
11960 (CFLAGS-test-printf-size-ibm128.c): New variables.
11961 [subdir == stdio-common] (tests-special): Add
11962 $(objpfx)test-printf-size-ieee128.out and
11963 $(objpfx)test-printf-size-ibm128.out.
11964 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
11965 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
11966 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
11967 __printf_sizeieee128.
11968 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
11969 New file.
11970 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
11971 Likewise.
11972 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
11973 Likewise.
11974
2b445206
SN
119752018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
11976
11977 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
11978 (exp2f_inline): Likewise.
11979 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
11980 (__math_uflowf): Likewise.
11981 (__math_may_uflowf): Likewise.
11982 (__math_divzerof): Likewise.
11983 (__math_invalidf): Likewise.
11984 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
11985 (__math_oflowf): Likewise.
11986 (__math_uflowf): Likewise.
11987 (__math_may_uflowf): Likewise.
11988 (__math_divzerof): Likewise.
11989 (__math_invalidf): Likewise.
11990
2827ab99
CD
119912018-06-29 DJ Delorie <dj@redhat.com>
11992 Carlos O'Donell <carlos@redhat.com>
11993
11994 [BZ #23329]
11995 * include/libc-symbols.h: Comment the freeres framework.
11996 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
11997 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
11998 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
11999 * dlfcn/dlerror.c: Include libc-symbols.h
12000 (__dlerror_main_freeres): New function.
12001 * dlfcn/dlfreeres.c: New file.
12002 * dlfcn/sdlfreeres.c: New file.
12003 * include/dlfcn.h: Declare __dlerror_main_freeres.
12004 * malloc/set-freeres.c: Declare __libdl_freeres, and
12005 __libpthread_freeres.
12006 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
12007 the releavant libraries are loaded.
12008 * malloc/thread-freeres.c: Add comments.
12009 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
12010 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
12011 * nptl/allocatestack.c (__nptl_free_stacks): New function.
12012 (__free_stacks): Rename to...
12013 (free_stacks): ...this. Mark static.
12014 (queue_stack): Call free_stacks.
12015 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
12016 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
12017 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
12018 ptr_freeres element from struct.
12019 (pthread_functions): Remove .ptr_freeres from struct initializer.
12020 [SHARED] (nptl_freeres): Remove.
12021 * nptl/nptlfreeres.c: New file.
12022 * nptl/pthreadP.h
12023 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
12024 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
12025 attribute_hidden.
12026 (__free_stacks): Rename to...
12027 (__nptl_stacks_freeres): ...this.
12028 (__shm_directory_freeres): Declare.
12029 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
12030 (__nptl_unwind_freeres): ...this.
12031 * resolv/res-close.c: Add comment.
12032 * resolv/resolv_conf.c: Include libc-symbols.h.
12033 * string/strerror_l.c: Include libc-symbols.h.
12034 * sunrpc/rpc_thread.c: Include libc-symbols.h.
12035 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
12036 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
12037 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
12038
37d3d244
RS
120392018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12040
12041 * stdlib/tst-strfmon_l.c: Add tests for long double.
12042
a1e0c5fa
MW
120432018-06-29 Michael Wolf <milupo@sorbzilla.de>
12044
12045 [BZ #23208]
12046 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
12047 * localedata/locales/dsb_DE: New file.
12048
2e0c5de6
RL
120492018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
12050
12051 [BZ #23140]
12052 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
12053 genitive case).
12054 (alt_mon): New entry, import from CLDR (nominative case).
12055
cdb52c71
SL
120562018-06-29 Sylvain Lesage <severo@rednegra.net>
12057
12058 [BZ #22996]
12059 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
12060
ce76a5cb
SP
120612018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
12062
0aec4c1d
SP
12063 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
12064 Use vector registers.
12065
ce76a5cb
SP
12066 * sysdeps/aarch64/multiarch/memmove_falkor.S
12067 (__memcpy_falkor): Use vector registers.
12068
7e8989d0
MS
120692018-06-29 Martin Sebor <msebor@redhat.com>
12070
12071 * manual/stdio.texi (Customizing Printf): Mention interaction
12072 with GCC built-ins.
12073
bac15a72
MR
120742018-06-29 Maciej W. Rozycki <macro@mips.com>
12075
12076 [BZ #23307]
12077 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
12078 `st_value' is 0 if `st_shndx' is SHN_ABS.
12079 * elf/tst-absolute-zero.c: New file.
12080 * elf/tst-absolute-zero-lib.c: New file.
12081 * elf/tst-absolute-zero-lib.lds: New file.
12082 * elf/Makefile (tests): Add `tst-absolute-zero'.
12083 (modules-names): Add `tst-absolute-zero-lib'.
12084 (LDLIBS-tst-absolute-zero-lib.so): New variable.
12085 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
12086 ($(objpfx)tst-absolute-zero: New dependency.
12087
e69d994a
ZW
120882018-06-29 Zack Weinberg <zackw@panix.com>
12089
12090 * configure.ac: New command-line option --disable-crypt.
12091 Force --disable-nss-crypt when --disable-crypt is given, with a
12092 warning if it was explicitly enabled.
12093 * configure: Regenerate.
12094 * config.make.in: New boolean substitution variable $(build-crypt).
12095 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
12096 when $(build-crypt).
12097 * manual/install.texi: Document --disable-crypt.
12098 * INSTALL: Regenerate.
12099
12100 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
12101 which is never set.
12102 * conform/Makefile: Only include libcrypt.a in
12103 linknamespace-libs-xsi and linknamespace-libs-XPG4
12104 when $(build-crypt).
12105 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
12106 USE_CRYPT to 1 when $(build-crypt).
12107 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
12108 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
12109 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
12110
841785ba
ZW
121112018-06-29 Zack Weinberg <zackw@panix.com>
12112
12113 * crypt/crypt.h, posix/unistd.h: Update comments and
12114 prototypes for crypt and crypt_r.
12115
12116 * manual/crypt.texi (Cryptographic Functions): New initial
12117 exposition.
12118 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
12119 (Unpredictable Bytes): Improve initial exposition. Clarify error
12120 behavior of getentropy and getrandom.
12121 * manual/examples/genpass.c: Generate a salt using getentropy
12122 instead of the current time. Use hash $5$ (SHA-2-256).
12123 * manual/examples/testpass.c: Demonstrate validation against
12124 hashes generated with three different one-way functions.
12125
12126 * manual/intro.texi: crypt.texi does not need an overview
12127 anymore.
12128
12129 * manual/nss.texi, manual/memory.texi, manual/socket.texi
12130 * manual/terminal.texi: Consistently refer to "passphrases"
12131 * instead of "passwords", and to the "user database" instead
12132 * of the "password database".
12133 * manual/users.texi: Similarly. Add notes about how actual
12134 passphrase hashes are now stored in the shadow database.
12135 Remove 20-year-old junk todo note.
12136
6ab902e4
ZW
121372018-06-29 Zack Weinberg <zackw@panix.com>
12138
12139 * manual/crypt.texi: Use a normal top-level @node declaration.
12140 Move most of the introductory text to the 'crypt' section.
12141 Move the example programs below the @deftypefun for 'crypt_r'.
12142 Move the 'getpass' section...
12143 * manual/terminal.texi: ...here.
12144
b10a0acc
ZW
121452018-06-29 Zack Weinberg <zackw@panix.com>
12146 Florian Weimer <fweimer@redhat.com>
12147
12148 * posix/unistd.h: Do not declare encrypt.
12149 (_XOPEN_CRYPT): Remove macro definition.
12150 (crypt): Declare only for _USE_MISC.
12151 * stdlib/stdlib.h: Do not declare setkey.
12152 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
12153 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
12154
12155 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
12156 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
12157 into compat symbols. Don't define initial_perm if it's not
12158 going to be used.
12159 * crypt/cert.c: Link explicitly with the expected versions for
12160 setkey and encrypt. If they are not available at all, mark
12161 the test as unsupported.
12162
12163 * sunrpc/des_crypt.c: Unconditionally block linkage with
12164 cbc_crypt and ecb_crypt for new binaries.
12165 * sunrpc/des_soft.c: Unconditionally block linkage with
12166 des_setparity for new binaries.
12167
12168 * manual/crypt.texi: Remove the entire "DES Encryption"
12169 section. Also remove the paragraph talking about FIPS 140-2
12170 from the introduction.
12171 * manual/string.texi (strfry, memfrob): Revise. Recommend use
12172 of libgcrypt for "real" encryption, not DES.
12173 * manual/conf.texi (Constants for Sysconf): Mention that
12174 _XOPEN_CRYPT is no longer impelemented.
12175
12176 * conform/data/unistd.h-data: Remove crypt function declaration.
12177
524d796d
FW
121782018-06-29 Florian Weimer <fweimer@redhat.com>
12179
12180 [BZ #23351]
12181 * malloc/hooks.c: Update comments on restoring of dumped heaps.
12182 (disallow_malloc_check): Remove variable.
12183 (__malloc_check_init): Adjust.
12184 (malloc_set_state): Update comment.
12185 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
12186 declarations.
12187
339124ab
RL
121882018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
12189
12190 [BZ #23140]
12191 * localedata/locales/ast_ES (mon): Rename to...
12192 (alt_mon): This.
12193 (mon): Import from CLDR (genitive case).
12194
c1f86a33
DA
121952018-06-29 Daniel Alvarez <dalvarez@redhat.com>
12196 Jakub Sitnicki <jkbs@redhat.com>
12197
12198 [BZ #21812]
12199 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
12200 on NLM_F_DUMP_INTR.
12201
0b11b649
SN
122022018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
12203
12204 * manual/llio.texi: Remove spurious space.
12205
c1c2848b
FW
122062018-06-28 Florian Weimer <fweimer@redhat.com>
12207
12208 [BZ #23349]
12209 * time/bits/types/struct_timespec.h: Change header inclusion guard to
12210 _STRUCT_TIMESPEC.
12211
86a0f561
RS
122122018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12213
12214 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
6b5c8607 12215 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
86a0f561
RS
12216 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
12217 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
12218 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
12219 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
12220 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
12221
780684eb
MR
122222018-06-27 Maciej W. Rozycki <macro@mips.com>
12223
12224 [BZ #23266]
12225 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
12226 Copy and null-terminate entries that are not terminated, in
12227 addition to empty ones.
12228
c49e1822
FW
122292018-06-27 Florian Weimer <fweimer@redhat.com>
12230
12231 [BZ #18023]
b39d961c
TS
12232 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
12233 (extend_alloca_account): Remove.
c49e1822
FW
12234 * manual/stdio.texi (Variable Arguments Output): Update comment.
12235
a833e627
JM
122362018-06-27 Joseph Myers <joseph@codesourcery.com>
12237
12238 * nptl/sockperf.c: Remove file.
12239
92d6aa85
FW
122402018-06-27 Florian Weimer <fweimer@redhat.com>
12241
12242 [BZ #18023]
12243 * elf/dl-deps.c (_dl_map_object_deps): Use struct
12244 scratch_buffer instead of extend_alloca.
12245
890c2ced
FW
122462018-06-27 Florian Weimer <fweimer@redhat.com>
12247
12248 [BZ #18023]
12249 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
12250 scratch_buffer instead of extend_alloca. Update comments.
12251
4272059d
FW
122522018-06-27 Florian Weimer <fweimer@redhat.com>
12253
12254 [BZ #18023]
12255 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
12256 instead of extend_alloca.
12257
27f10a09
JM
122582018-06-26 Joseph Myers <joseph@codesourcery.com>
12259
12260 [BZ #13888]
12261 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
12262 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
12263 /tmp.
12264 * scripts/test-installation.pl: Put temporary files in build
12265 directory, not /tmp.
12266 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
12267 (CFLAGS-bug4.c): Likewise.
12268 (CFLAGS-bug5.c): Likewise.
12269 (CFLAGS-test-fseek.c): Likewise.
12270 (CFLAGS-test-popen.c): Likewise.
12271 (CFLAGS-test_rdwr.c): Likewise.
12272 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
12273 /tmp.
12274 * stdio-common/bug4.c (main): Likewise.
12275 * stdio-common/bug5.c (main): Likewise.
12276 * stdio-common/test-fseek.c (TESTFILE): Likewise.
12277 * stdio-common/test-popen.c (do_test): Likewise.
12278 * stdio-common/test_rdwr.c (main): Likewise.
12279
05598a09
PF
122802018-06-26 Patsy Franklin <pfrankli@redhat.com>
12281
12282 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
12283 (sem_open): Set sem.newsem.pad to zero for valgrind.
12284
06ab719d
AZ
122852018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12286
12287 [BZ #20251]
12288 * NEWS: Mention fcntl64 addition.
12289 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
12290 * login/utmp_file.c: Likewise.
12291 * sysdeps/posix/fdopendir.c: Likewise.
12292 * sysdeps/posix/opendir.c: Likewise.
12293 * sysdeps/unix/pt-fcntl.c: Likewise.
12294 * include/fcntl.h (__libc_fcntl64, __fcntl64,
12295 __fcntl64_nocancel_adjusted): New prototype.
12296 (__fcntl_nocancel_adjusted): Remove prototype.
12297 * io/Makefile (routines): Add fcntl64.
12298 (CFLAGS-fcntl64.c): New rule.
12299 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
12300 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
12301 * io/fcntl.h (fcntl64): Add prototype and redirect if
12302 __USE_FILE_OFFSET64 is defined.
12303 * io/fcntl64.c: New file.
12304 * manual/llio.text: Add a note for which commands fcntl acts a
12305 cancellation point.
12306 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
12307 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
12308 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
12309 New symbols.
12310 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
12311 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
12312 non-LFS case.
12313 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
12314 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
12315 to __fcntl64_nocancel.
12316 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
12317 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
12318 to __fcntl64_nocancel.
12319 * sysdeps/generic/not-cancel.h: Likewise.
12320 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
12321 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
12322 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
12323 (fcntl64): New symbol.
12324 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12325 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12326 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12329 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12330 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12331 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12332 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12333 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12334 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
12335 fcntl64): Likewise.
12336 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12337 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
12338 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12339 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12340 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12341 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12342 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12343 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12344 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12346 Likewise.
12347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12348 Likewise.
12349 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12350 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12351 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12352
124e0258
FW
123532018-06-26 Florian Weimer <fweimer@redhat.com>
12354
12355 Run thread shutdown functions in an explicit order.
12356 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
12357 definition.
12358 (__libc_thread_freeres): Call thread shutdown functions
12359 explicitly.
12360 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
12361 * include/string.h (__strerror_thread_freeres): Declare.
12362 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
12363 arena_thread_freeres. No longer static. Remove thread shutdown
12364 hook registration.
12365 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
12366 Declare.
12367 * resolv/res-close.c (__res_thread_freeres): Renamed from
12368 res_thread_freeres. No longer static. Remove thread shutdown
12369 hook registration.
12370 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
12371 * resolv/resolv_conf.c (freeres): Remove incorrect section
12372 attribute and use libc_freeres_fn.
12373 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
12374 strerror_thread_freeres. No longer static. Remove thread
12375 shutdown hook registration.
12376 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
12377 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
12378 shutdown hook registration.
12379 * Makerules (shlib.lds): Do not provide section boundary symbols
12380 for __libc_thread_subfreeres.
12381 * manual/memory.texi (Basic Allocation): Update comment.
12382
935d920e
FW
123832018-06-26 Florian Weimer <fweimer@redhat.com>
12384
12385 Remove always-defined _RPC_THREAD_SAFE_ macro.
12386 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
12387 Do not define _RPC_THREAD_SAFE_.
12388 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
12389 conditional.
12390 * sunrpc/clnt_perr.c: Likewise.
12391 * sunrpc/clnt_raw.c: Likewise.
12392 * sunrpc/clnt_simp.c: Likewise.
12393 * sunrpc/key_call.c: Likewise.
12394 * sunrpc/rpc_common.c: Likewise.
12395 * sunrpc/rpc_main.c: Likewise.
12396 * sunrpc/rpc_thread.c: Likewise.
12397 * sunrpc/svc.c: Likewise.
12398 * sunrpc/svc_raw.c: Likewise.
12399 * sunrpc/svc_simple.c: Likewise.
12400 * sumrpc/svcauth_des.c: Likewise.
12401
29055464
FW
124022018-06-26 Florian Weimer <fweimer@redhat.com>
12403
12404 * libio/Makefile (tests-internal): Add tst-vtables,
12405 tst-vtables-interposed.
12406 * libio/tst-vtables.c: New file.
12407 * libio/tst-vtables-common.c: Likewise.
12408 * libio/tst-vtables-interposed.c: Likewise.
12409
5c0202af
FW
124102018-06-26 Florian Weimer <fweimer@redhat.com>
12411
12412 * support/support_test_main.c (support_test_main): Only call
12413 setvbuf if not disables.
12414 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
12415 * support/test-driver.h (struct test_config): Add no_setvbuf member.
12416
c402355d
FW
124172018-06-26 Florian Weimer <fweimer@redhat.com>
12418
12419 [BZ #23313]
12420 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
12421
43b1048a
FW
124222018-06-25 Florian Weimer <fweimer@redhat.com>
12423
12424 [BZ #18023]
12425 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12426 Use struct scratch_buffer instead of extend_alloca.
12427
1599ed4e
FW
124282018-06-25 Florian Weimer <fweimer@redhat.com>
12429
12430 [BZ #18023]
12431 * nss/getent.c (initgroups_keys): Use dynarray instead of
12432 extend_alloca.
12433
a26fe163
FW
124342018-06-25 Florian Weimer <fweimer@redhat.com>
12435
12436 [BZ #18023]
12437 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
12438 Use struct scratch_buffer instead of extend_alloca.
12439
90d9d9ce
FW
124402018-06-25 Florian Weimer <fweimer@redhat.com>
12441
12442 [BZ #18023]
12443 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
12444 back to malloc directly, without stack allocations.
12445
6b7b2aba
FW
124462018-06-25 Florian Weimer <fweimer@redhat.com>
12447
12448 [BZ #18023]
12449 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
12450 of extend_alloca.
12451
2f9f0d18
FW
124522018-06-25 Florian Weimer <fweimer@redhat.com>
12453
12454 [BZ #18023]
12455 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
12456 of extend_alloca.
12457 * nscd/hstcache.c (addhstbyX): Likewise.
12458 * nscd/pwdcache.c (addpwbyX): Likewise.
12459 * nscd/servicescache.c (addservbyX): Likewise.
12460
318bad78
FW
124612018-06-25 Florian Weimer <fweimer@redhat.com>
12462
12463 [BZ #18023]
12464 * nscd/connections.c (read_cmdline): New function.
12465 (restart): Use it. Update comment.
12466
189699ab
RL
124672018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
12468
12469 [BZ #23140]
12470 * localedata/locales/csb_PL (mon): Rename to...
12471 (alt_mon): This.
12472 (abmon): Rename to...
12473 (ab_alt_mon): This.
12474 (mon): Add with proper genitive forms, copy from Wikipedia.
12475 (abmon): Likewise.
12476
0ea3f13c
RL
124772018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
12478
12479 [BZ #19485]
12480 * localedata/locales/csb_PL (mon): Fix typos:
12481 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
12482 (yesstr): Add, value is "jo".
12483 (nostr): Add, value is "nié".
12484
d93f4ff1
TMQMF
124852018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12486
12487 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
12488 all log1p and significand functions on m680x0.
12489 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
12490 of s_significand.c..
12491 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
12492 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
12493 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
12494 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
12495 s_log1p.c and include it..
12496
f6299d2a
VC
124972018-06-21 Vincent Chen <vincentc@andestech.com>
12498
12499 * elf/elf.h (R_NDS32_NONE): New define.
12500 (R_NDS32_32_RELA): Likewise.
12501 (R_NDS32_COPY): Likewise.
12502 (R_NDS32_GLOB_DAT): Likewise.
12503 (R_NDS32_JUMP_SLOT): Likewise.
12504 (R_NDS32_RELATIVE): Likewise.
12505 (R_NDS32_TLS_TPOFF): Likewise.
12506 (R_NDS32_TLS_DESC): Likewise.
12507
61ab61c2
MW
125082018-06-21 Mark Wielaard <mark@klomp.org>
12509
12510 * elf/elf.h (R_BPF_MAP_FD): Removed.
12511 (R_BPF_64_64, R_BPF_64_32): New.
12512
f496b28e
FW
125132018-06-21 Florian Weimer <fweimer@redhat.com>
12514
12515 [BZ #23253]
12516 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
12517 Renamed from libc_feholdsetround_ctx.
12518 (default_libc_feresetround_ctx): Renamed from
12519 libc_feresetround_ctx.
12520 (default_libc_feholdsetround_noex_ctx): Renamed from
12521 libc_feholdsetround_noex_ctx.
12522 (default_libc_feresetround_noex_ctx): Renamed from
12523 libc_feresetround_noex_ctx.
12524 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
12525 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
12526 forwardning to the old implementations under the new names.
12527 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
12528 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
12529 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
12530 (libc_feresetround_ctx): Forward to default implements for i386
12531 and MATH_SET_BOTH_ROUNDING_MODES.
12532 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
12533 Add -DMATH_SET_BOTH_ROUNDING_MODES.
12534
1760daad
JM
125352018-06-20 Joseph Myers <joseph@codesourcery.com>
12536
99c7adf9
JM
12537 * string/tst-cmp.c: Include <libc-diag.h>.
12538 (strncmp_max): Disable -Wstringop-overflow= around call to
12539 strncmp.
12540 (strncasecmp_max): Disable -Wstringop-overflow= around call to
12541 strncasecmp.
12542
1760daad
JM
12543 * string/bug-strpbrk1.c: Include <libc-diag.h>.
12544 (main): Disable -Wunused-value around call to strpbrk.
12545 * string/bug-strspn1.c: Include <libc-diag.h>.
12546 (main): Disable -Wunused-value around call to strspn.
12547
209ae17c
TMQMF
125482018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12549 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12550
12551 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
12552 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
12553
badba23c
TMQMF
125542018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12555
5e79e029
TMQMF
12556 * math/Makefile (libm-calls): Move s_significandF to...
12557 (gen-libm-calls): ... here.
12558 * math/s_significand_template.c: New file.
12559 * math/s_significand.c: Removed.
12560 * math/s_significandf.c: Removed.
12561 * math/s_significandl.c: Removed.
12562 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
12563 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
12564
badba23c
TMQMF
12565 * math/e_exp2_template.c (declare_mgen_finite_alias,
12566 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
12567 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
12568 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
12569
2d1c89a5
FW
125702018-06-20 Florian Weimer <fweimer@redhat.com>
12571
12572 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
12573
646c2833
JM
125742018-06-19 Joseph Myers <joseph@codesourcery.com>
12575
12576 [BZ #23280]
12577 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
12578 floating-point number to strtod functions rather than possibly
12579 negating result of those functions.
12580 * stdio-common/tst-scanf-round.c: New file.
12581 * stdio-common/Makefile (tests): Add tst-scanf-round.
12582 ($(objpfx)tst-scanf-round): Depend on $(libm).
12583
c77e4dc0
ST
125842018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
12585
12586 * sysdeps/mach/hurd/localplt.data: Move to...
12587 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
12588 R_386_GLOB_DAT like on Linux i386.
12589
91b2f3e5
JM
125902018-06-18 Joseph Myers <joseph@codesourcery.com>
12591
f2857da7
JM
12592 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
12593 (SHM_STAT_ANY): New macro.
12594 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
12595 (SHM_STAT_ANY): Likewise.
12596 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
12597 (SHM_STAT_ANY): Likewise.
12598 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
12599 (SHM_STAT_ANY): Likewise.
12600 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
12601 (SHM_STAT_ANY): Likewise.
12602 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
12603 (SHM_STAT_ANY): Likewise.
12604 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
12605 (SHM_STAT_ANY): Likewise.
12606 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
12607 (SHM_STAT_ANY): Likewise.
12608 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
12609 (SHM_STAT_ANY): Likewise.
12610 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
12611 (SHM_STAT_ANY): Likewise.
12612 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
12613 (SHM_STAT_ANY): Likewise.
12614 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
12615 (SHM_STAT_ANY): Likewise.
12616
176c7fee
JM
12617 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
12618 (SEM_STAT_ANY): New macro.
12619 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
12620 (SEM_STAT_ANY): Likewise.
12621 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
12622 (SEM_STAT_ANY): Likewise.
12623 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
12624 (SEM_STAT_ANY): Likewise.
12625 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
12626 (SEM_STAT_ANY): Likewise.
12627 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
12628 (SEM_STAT_ANY): Likewise.
12629 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
12630 (SEM_STAT_ANY): Likewise.
12631 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
12632 (SEM_STAT_ANY): Likewise.
12633 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
12634 (SEM_STAT_ANY): Likewise.
12635 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
12636 (SEM_STAT_ANY): Likewise.
12637
86bf0019
JM
12638 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
12639 (MSG_STAT_ANY): New macro.
12640 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
12641 (MSG_STAT_ANY): Likewise.
12642 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
12643 (MSG_STAT_ANY): Likewise.
12644 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
12645 (MSG_STAT_ANY): Likewise.
12646 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
12647 (MSG_STAT_ANY): Likewise.
12648 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
12649 (MSG_STAT_ANY): Likewise.
12650 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
12651 (MSG_STAT_ANY): Likewise.
12652 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
12653 (MSG_STAT_ANY): Likewise.
12654 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
12655 (MSG_STAT_ANY): Likewise.
12656 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
12657 (MSG_STAT_ANY): Likewise.
12658
91b2f3e5
JM
12659 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12660 (MAP_TYPE): Change value to 0x2b.
12661
3fe8fc79
FW
126622018-06-18 Florian Weimer <fweimer@redhat.com>
12663
12664 [BZ #15722]
12665 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
12666 socket with SOCK_CLOEXEC.
12667
809dc95d
JM
126682018-06-18 Joseph Myers <joseph@codesourcery.com>
12669
12670 [BZ #23303]
12671 * sysdeps/powerpc/powerpc64/le/Makefile
12672 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
12673 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
12674 (gnulib-tests): Also add $(f128-loader-link) for
12675 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
12676
298a8b59
ST
126772018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
12678
12679 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
12680 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
12681 of sendfile.
12682 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
12683 (sendfile64): New strong alias.
faf7bbc2
ST
12684 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
12685 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
12686 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
f96a85e0
ST
12687 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
12688 attribute.
12689 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
12690 ___pthread_get_cleanup_stack.
932d05f0 12691 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
c1b7586c
ST
12692 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
12693 * mach/shortcut.awk: Make syscall stubs include
12694 <mach-shortcuts-hidden.h> and add hidden definition.
12695 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
7a646a93
ST
12696 (__mach_msg): Add hidden prototype.
12697 * mach/msg.c: Include <mach.h>.
12698 (__mach_msg): Add hidden definition.
b0344cf5
ST
12699 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
12700 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
12701 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
12702 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
8c9d5342
ST
12703 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
12704 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
4d0ac037
ST
12705 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
12706 prototype and definition.
12707 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
12708 hidden target for _hurd_self_sigstate.
298a8b59 12709
b12c1e79
JM
127102018-06-15 Joseph Myers <joseph@codesourcery.com>
12711
12712 [BZ #23007]
12713 * stdlib/tst-strtod-nan-sign-main.c: New file.
12714 * stdlib/tst-strtod-nan-sign.c: Likewise.
12715 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
12716 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
12717 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
12718 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
12719 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
12720
b0debe14
HB
127212018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
12722
12723 [BZ #23007]
12724 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
12725 appropriate sign.
12726
14beef75
FW
127272018-06-14 Florian Weimer <fweimer@redhat.com>
12728
12729 [BZ #23290]
12730 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
12731 that the result stays within the ISO-8859-1 range.
12732 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
12733 characters are defined in IBM273.
12734
c596630b
ST
127352018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
12736
12737 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
12738 __mach_task_self): Remove attribute_hidden.
12739
35ebb6b0
JM
127402018-06-14 Joseph Myers <joseph@codesourcery.com>
12741
12742 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
12743 ignore -Wrestrict for one test.
12744
3c7b9f1f
SE
127452018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
12746 Szabolcs Nagy <szabolcs.nagy@arm.com>
12747
12748 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
12749
c59ee916
FW
127502018-06-14 Florian Weimer <fweimer@redhat.com>
12751
12752 * scripts/update-abilist.sh: Accept empty list of files to patch.
12753
43b5ff50
ST
127542018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
12755
12756 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
12757 test-xfail-check-abi-libmachuser): Add.
c8c910ed
ST
12758 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
12759 __libc_read and __libc_write to __read and __write.
c8c6e6d6 12760 * sysdeps/hurd/include/hurd/port.h: New file.
126b3ec3
ST
12761 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
12762 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
12763 __thread_switch, __evc_wait): Move declarations to...
12764 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
12765 attribute_hidden.
06d1a826
ST
12766 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
12767 use PLT to call _hurd_self_sigstate.
43b5ff50 12768
fcd6b5ac
JM
127692018-06-13 Joseph Myers <joseph@codesourcery.com>
12770
12771 [BZ #23279]
12772 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
12773 MAX_EXP as overflowing.
12774 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
12775 overflow flag.
12776 (round_str): Output also whether result overflows in each rounding
12777 mode.
12778 * stdlib/tst-strtod-round-data: Add more tests.
12779 * stdlib/tst-strtod-round-data.h: Regenerated.
12780 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
12781 (TEST): Handle extra arguments for overflow flags.
12782 (struct test_overflow): New type.
12783 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
12784 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
12785 (test_in_one_mode): Take argument with overflow information.
12786 (do_test): Update calls to test_in_one_mode.
12787
35df5a77
CD
127882018-06-12 Carlos O'Donell <carlos@redhat.com>
12789
a745c837
CD
12790 * elf/dl-load (_dl_dst_substitute): Correct comment.
12791 (_dl_dst_count): Likewise.
12792
35df5a77
CD
12793 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
12794 lll_futex_timed_wait.
12795
48b12ed5
JM
127962018-06-12 Joseph Myers <joseph@codesourcery.com>
12797
12798 [BZ #23277]
12799 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
12800 attribute.
12801 * math/test-nan-const.c: New file.
12802 * math/Makefile (tests): Add test-nan-const.
12803 (CFLAGS-test-nan-const.c): New variable.
12804
cb8f6aff
L
128052018-06-12 H.J. Lu <hongjiu.lu@intel.com>
12806
12807 * benchtests/scripts/compare_strings.py (process_results): Add
12808 funcs argument. Compare only functions which are selected.
12809 (main): Check if base function is among selected functions.
12810 Pass selected functions to process_results.
12811 (__main__): Add -f/--functions argument.
12812
fc2ba803
HZ
128132018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
12814 Hongbo Zhang <hongbo.zhang@linaro.org>
12815
12816 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
12817 __memcpy_falkor for phecda core.
12818 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
12819 __memmove_falkor for phecda core.
12820 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
12821 __memset_falkor for phecda core.
12822 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
12823 for phecda core.
12824 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
12825 macro to identify phecda core.
12826
5aad5f61
CD
128272018-06-12 Carlos O'Donell <carlos@redhat.com>
12828 Andreas Schwab <schwab@suse.de>
12829 Dmitry V. Levin <ldv@altlinux.org>
6b5c8607 12830 Florian Weimer <fweimer@redhat.com>
5aad5f61
CD
12831
12832 [BZ #23102]
12833 [BZ #21942]
12834 [BZ #18018]
12835 [BZ #23259]
12836 CVE-2011-0536
12837 * elf/dl-dst.h: Remove DL_DST_COUNT.
12838 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
12839 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
12840 (is_dst): Comment. Support ELF gABI.
12841 (_dl_dst_count): Comment. Simplify and count DSTs.
12842 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
12843 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
12844 locals.
12845
329ea513
ZW
128462018-06-12 Zack Weinberg <zackw@panix.com>
12847
12848 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
12849 * sysdeps/unix/sysv/linux/dl-sysdep.c
12850 Include not-cancel.h. Use __close_nocancel instead of __close,
12851 __open64_nocancel instead of __open, __read_nocancel instead of
12852 __libc_read, and __write_nocancel instead of __libc_write.
12853
12854 * csu/check_fds.c (check_one_fd)
12855 * sysdeps/posix/fdopendir.c (__fdopendir)
12856 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
b39d961c 12857 instead of __fcntl and/or __libc_fcntl.
329ea513
ZW
12858
12859 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
12860 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
b39d961c 12861 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
329ea513
ZW
12862 Use __open64_nocancel instead of __open_nocancel.
12863
12864 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
12865 hidden_proto declarations to the end and issue them if either
12866 IS_IN(libc) or IS_IN(rtld).
12867 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
12868 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
12869 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
12870 read_nocancel, waitpid_nocancel, write_nocancel.
12871
b39d961c
TS
12872 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
12873 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
12874 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
329ea513 12875
b39d961c
TS
12876 * nptl/pt-fcntl.c: New file.
12877 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
12878 (libpthread-routines): Add pt-fcntl.
12879 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
12880 (__libc_fcntl): Remove attribute_hidden.
329ea513
ZW
12881 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
12882 __fcntl_nocancel_adjusted, not fcntl_common.
b39d961c 12883 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
329ea513
ZW
12884 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
12885 to fcntl_nocancel.c.
12886 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
12887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
12888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12889 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
12890
12891 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
12892 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
12893 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
12894 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
12895 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
12896 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
12897 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
12898 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
12899 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
12900 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
12901 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
12902 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
12903 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
12904 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
12905 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
12906 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
12907 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
12908 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
12909 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
12910 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
12911
b39d961c
TS
12912 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
12913 libpthread-routines.
12914 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
12915 defines nothing.
329ea513 12916
b39d961c
TS
12917 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
12918 __libc_read, and __write instead of __libc_write. Define
12919 __open64 in addition to __open.
329ea513 12920
0221ce2a
L
129212018-06-12 H.J. Lu <hongjiu.lu@intel.com>
12922
12923 [BZ #23250]
12924 [BZ #10686]
12925 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
12926 to _private_tm[3] and add __glibc_reserved2.
12927 Add _Static_assert of offset of __private_ss == 0x30.
12928 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
12929 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
12930
e826574c
FW
129312018-06-12 Florian Weimer <fweimer@redhat.com>
12932
12933 x86: Make strncmp usable from rtld.
12934 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
12935 __strncmp_ia32 if in libc (and not in rtld).
12936 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
12937 strncmp if not in libc (and not to __strncmp_sse2).
12938
c4ad5782
RL
129392018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
12940
12941 [BZ #23140]
12942 * localedata/locales/gd_GB (mon): Rename to...
12943 (alt_mon): This.
12944 (mon): Import from CLDR (genitive case).
12945 * localedata/locales/hsb_DE (mon): Rename to...
12946 (alt_mon): This.
12947 (mon): Import from CLDR (genitive case).
12948 * localedata/locales/wa_BE (mon): Rename to...
12949 (alt_mon): This.
12950 (mon): Add, fill with the proper genitive forms, but CLDR data
12951 is incomplete; completed according to the comments in this file.
12952 (d_t_fmt): Do not use "di" before the month name, no longer needed.
12953
12954 * localedata/locales/wa_BE (country_name): Reword
12955 "Beljike" -> "Beldjike".
12956
ca121b11
JM
129572018-06-11 Joseph Myers <joseph@codesourcery.com>
12958
12959 [BZ #23272]
12960 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
12961 cases of non-finite arguments.
12962 * math/libm-test-fma.inc (fma_test_data): Add more tests.
12963
2b69fecb
JDA
129642018-06-10 John David Anglin <danglin@gcc.gnu.org>
12965
12966 [BZ #23174]
12967 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
12968
283d9851
AZ
129692018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12970
12971 [BZ #23264]
12972 * include/unistd.h (__execvpex): New prototype.
12973 * posix/Makefile (tests): Add tst-spawn4.
12974 (tests-internal): Add tst-spawn4-compat.
12975 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
12976 * posix/tst-spawn4-compat.c: New file.
12977 * posix/tst-spawn4.c: Likewise.
12978 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
12979 binaries as shell scripts.
12980 * sysdeps/posix/spawni.c (__spawni): Likewise.
12981
67c05796
L
129822018-06-08 H.J. Lu <hongjiu.lu@intel.com>
12983
12984 [BZ #23145]
12985 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
12986 ($(all-built-dso:=.dynsym): New target.
12987 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
12988 ($(objpfx)check-initfini.out): New target.
12989 (generated): Add check-initfini.out.
12990 * scripts/check-initfini.awk: New file.
12991 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
12992 (_fini): Likewise.
12993 * sysdeps/alpha/crti.S (_init): Mark as hidden.
12994 (_fini): Likewise.
12995 * sysdeps/arm/crti.S (_init): Mark as hidden.
12996 (_fini): Likewise.
12997 * sysdeps/hppa/crti.S (_init): Mark as hidden.
12998 (_fini): Likewise.
12999 * sysdeps/i386/crti.S (_init): Mark as hidden.
13000 (_fini): Likewise.
13001 * sysdeps/ia64/crti.S (_init): Mark as hidden.
13002 (_fini): Likewise.
13003 * sysdeps/m68k/crti.S (_init): Mark as hidden.
13004 (_fini): Likewise.
13005 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
13006 (_fini): Likewise.
13007 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
13008 (_fini): Likewise.
13009 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
13010 (_fini): Likewise.
13011 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
13012 (_fini): Likewise.
13013 * sysdeps/nios2/crti.S (_init): Mark as hidden.
13014 (_fini): Likewise.
13015 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
13016 (_fini): Likewise.
13017 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
13018 (_fini): Likewise.
13019 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
13020 (_fini): Likewise.
13021 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
13022 (_fini): Likewise.
13023 * sysdeps/sh/crti.S (_init): Mark as hidden.
13024 (_fini): Likewise.
13025 * sysdeps/sparc/crti.S (_init): Mark as hidden.
13026 (_fini): Likewise.
13027 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
13028 (_fini): Likewise.
13029
1c09524e
TMQMF
130302018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13031
13032 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
13033 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
13034 and TF redirection to KFtype and KF only when the default
13035 long double type is not the IEEE 128-bit floating point type.
13036
0e0577c9
JM
130372018-06-05 Joseph Myers <joseph@codesourcery.com>
13038
0c1c33b2
JM
13039 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
13040 macro.
13041 (HWCAP_USCAT): Likewise.
13042 (HWCAP_ILRCPC): Likewise.
13043 (HWCAP_FLAGM): Likewise.
13044 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
13045 Increase to 28.
13046 (_dl_aarch64_cap_flags): Add new flag names.
13047
bef1cbf4
JM
13048 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
13049 (MAP_FIXED_NOREPLACE): New macro.
13050 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
13051 (MAP_FIXED_NOREPLACE): Likewise.
13052 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
13053 (MAP_FIXED_NOREPLACE): Likewise.
13054 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
13055 (MAP_FIXED_NOREPLACE): Likewise.
13056 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
13057 (MAP_FIXED_NOREPLACE): Likewise.
13058 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
13059 (MAP_FIXED_NOREPLACE): Likewise.
13060 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
13061 (MAP_FIXED_NOREPLACE): Likewise.
13062 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
13063 (MAP_FIXED_NOREPLACE): Likewise.
13064 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
13065 (MAP_FIXED_NOREPLACE): Likewise.
13066 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
13067 (MAP_FIXED_NOREPLACE): Likewise.
13068 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
13069 (MAP_FIXED_NOREPLACE): Likewise.
13070 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
13071 (MAP_FIXED_NOREPLACE): Likewise.
13072 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
13073 (MAP_FIXED_NOREPLACE): Likewise.
13074 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
13075 (MAP_FIXED_NOREPLACE): Likewise.
13076 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
13077 (MAP_FIXED_NOREPLACE): Likewise.
13078
0e0577c9
JM
13079 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13080 version to 4.17.
13081
ab3a0da0
JM
130822018-06-04 Joseph Myers <joseph@codesourcery.com>
13083
13084 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13085 version to 4.17
13086
d2d9dfb6
ST
130872018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13088
13089 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
13090 int.
13091 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
13092
a650b05e
LS
130932018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13094
13095 * benchtests/scripts/compare_string.py: (process_results) Catch
13096 exception in non-existent base_func and catch exception in
13097 non-existent attribute.
13098 (parse_file) Catch exception if input file does not exist.
13099
195abbf4
LS
131002018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13101
13102 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
13103 options to avoid diff calculation and omit header, respectively.
13104 (main): process --no-diff and --no-header
13105
14570163
LS
131062018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13107 H.J. Lu <hongjiu.lu@intel.com>
13108
13109 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13110 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
13111 wcsncmp-sse2.
13112 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13113 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
13114 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
13115 and __wcsncmp_sse2.
13116 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
13117 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
13118 AVX unaligned load is fast and vzeroupper is preferred.
13119 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
13120 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
13121 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
13122 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
13123 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
13124 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
13125 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
13126 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
13127 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
13128 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
13129 is undefined.
13130
e02c026f
FW
131312018-06-01 Florian Weimer <fweimer@redhat.com>
13132
13133 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
13134 configuring with --disable-multi-arch, building with
13135 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
13136 Haswell-era CPU.
13137
d8c19275
FW
131382018-06-01 Florian Weimer <fweimer@redhat.com>
13139
13140 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
13141 results from building with “-march=x86-64 -mtune=generic
13142 -mfpmath=sse” and running on a Haswell-era CPU.
13143
0d2163eb
JM
131442018-06-01 Joseph Myers <joseph@codesourcery.com>
13145
13146 [BZ #18473]
13147 * soft-fp/sqrttf2.c: Remove file.
13148 * soft-fp/sqrtdf2.c: Move to ....
13149 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
13150 <shlib-compat.h>.
13151 (__sqrtdf2): Make conditional on
13152 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
13153 symbol.
13154 * soft-fp/sqrtsf2.c: Move to ....
13155 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
13156 <shlib-compat.h>.
13157 (__sqrtsf2): Make conditional on
13158 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
13159 symbol.
13160 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
13161 (gcc-double-routines): Remove sqrtdf2.
13162 (gcc-quad-routines): Remove sqrttf2.
13163 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
13164 Do not filter out sqrtsf2 and sqrtdf2.
13165 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13166 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
13167
10450210
FW
131682018-06-01 Florian Weimer <fweimer@redhat.com>
13169
13170 * sysdeps/generic/libcidn.abilist: Remove file.
13171
4e8a6346
FW
131722018-06-01 Florian Weimer <fweimer@redhat.com>
13173
13174 [BZ #23236]
13175 * libio/strfile.h (struct _IO_str_fields): Rename members to
13176 discourage their use and add comment.
13177 (_IO_STR_DYNAMIC): Remove unused macro.
13178 * libio/strops.c (_IO_str_init_static_internal): Do not use
13179 callback pointers. Call malloc and free.
13180 (_IO_str_overflow): Do not use callback pointers. Call malloc
13181 and free.
13182 (enlarge_userbuf): Likewise.
13183 (_IO_str_finish): Call free.
13184 * libio/wstrops.c (_IO_wstr_init_static): Initialize
13185 _allocate_buffer_unused.
13186 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
13187 and free.
13188 (enlarge_userbuf): Likewise.
13189 (_IO_wstr_finish): Call free.
13190 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
13191 _allocate_buffer_unused, _free_buffer_unused.
13192 * libio/memstream.c (__open_memstream): Likewise.
13193 * libio/vasprintf.c (_IO_vasprintf): Likewise.
13194 * libio/wmemstream.c (open_wmemstream): Likewise.
13195
50d004c9
PP
131962018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
13197
13198 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
13199 AMD Ryzen 7 1800X.
13200
2c93fce7
RS
132012018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13202
13203 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
13204 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
13205 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
13206 New file.
13207 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
13208 Likewise.
13209 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
13210
0ce2fa69
FW
132112018-05-29 Florian Weimer <fweimer@redhat.com>
13212
13213 * support/Makefile (libsupport-routines): Add
13214 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
13215 xpthread_barrierattr_setpshared.
13216 * support/xpthread_barrierattr_destroy.c: New file.
13217 * support/xpthread_barrierattr_init.c: Likewise.
13218 * support/xpthread_barrierattr_setpshared.c: Likewise.
13219
7f7b5d8d
L
132202018-05-29 H.J. Lu <hongjiu.lu@intel.com>
13221
13222 [BZ #23206]
13223 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
13224 _r_debug and update DT_DEBUG for debugger.
13225
e4890300
FW
132262018-05-29 Florian Weimer <fweimer@redhat.com>
13227
13228 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
13229 (tst-strtod5i.out): Likewise.
13230
2c753f3e
JM
132312018-05-25 Joseph Myers <joseph@codesourcery.com>
13232
b5453d9f
JM
13233 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
13234 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
13235 (sparc64-quad-routines): New variable. Moved from ....
13236 [$(subdir) = soft-fp] (sysdep_routines): Add
13237 $(sparc64-quad-routines). Moved from ....
13238 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
13239 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
13240 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
13241 moved from ....
13242 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
13243 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
13244 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
13245 * sysdeps/sparc/sparc64/qp_add.c: ... here.
13246 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
13247 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
13248 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
13249 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
13250 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
13251 * sysdeps/sparc/sparc64/qp_div.c: ... here.
13252 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
13253 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
13254 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
13255 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
13256 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
13257 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
13258 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
13259 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
13260 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
13261 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
13262 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
13263 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
13264 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
13265 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
13266 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
13267 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
13268 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
13269 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
13270 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
13271 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
13272 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
13273 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
13274 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
13275 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
13276 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
13277 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
13278 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
13279 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
13280 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
13281 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
13282 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
13283 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
13284 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
13285 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
13286 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
13287 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
13288 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
13289 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
13290 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
13291 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
13292 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
13293 * sysdeps/sparc/sparc64/qp_util.c: ... here.
13294 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
13295 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
13296 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
13297 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
13298 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
13299 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
13300
2c753f3e
JM
13301 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
13302 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
13303 (sparc32-quad-routines): New variable. Moved from ....
13304 [$(subdir) = soft-fp] (sysdep_routines): Add
13305 $(sparc32-quad-routines). Moved from ....
13306 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
13307 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
13308 moved from ....
13309 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
13310 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
13311 * sysdeps/sparc/sparc32/q_add.c: ... here.
13312 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
13313 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
13314 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
13315 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
13316 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
13317 * sysdeps/sparc/sparc32/q_div.c: ... here.
13318 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
13319 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
13320 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
13321 * sysdeps/sparc/sparc32/q_feq.c: ... here.
13322 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
13323 * sysdeps/sparc/sparc32/q_fge.c: ... here.
13324 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
13325 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
13326 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
13327 * sysdeps/sparc/sparc32/q_fle.c: ... here.
13328 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
13329 * sysdeps/sparc/sparc32/q_flt.c: ... here.
13330 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
13331 * sysdeps/sparc/sparc32/q_fne.c: ... here.
13332 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
13333 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
13334 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
13335 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
13336 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
13337 * sysdeps/sparc/sparc32/q_mul.c: ... here.
13338 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
13339 * sysdeps/sparc/sparc32/q_neg.c: ... here.
13340 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
13341 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
13342 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
13343 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
13344 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
13345 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
13346 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
13347 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
13348 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
13349 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
13350 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
13351 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
13352 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
13353 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
13354 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
13355 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
13356 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
13357 * sysdeps/sparc/sparc32/q_sub.c: ... here.
13358 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
13359 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
13360 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
13361 * sysdeps/sparc/sparc32/q_util.c: ... here.
13362 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
13363 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
13364 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
13365 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
13366
c1dc1e1b
TMQMF
133672018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13368 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13369
13370 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
13371 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
13372 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
13373 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
13374
14186e8d
JM
133752018-05-24 Joseph Myers <joseph@codesourcery.com>
13376
13377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
13378 powerpc/soft-fp.
13379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13380 Likewise.
13381 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
13382 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
13383
fb0e10b8
GG
133842018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13385
13386 [BZ #23171]
13387 * math/math.h [C++] (iseqsig): Fix parameter type for the long
13388 double version.
13389
1dfeb17e
JM
133902018-05-23 Joseph Myers <joseph@codesourcery.com>
13391
13392 * sysdeps/sh/Implies: Remove sh/soft-fp.
13393 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
13394 * sysdeps/sh/sfp-machine.h: ... here.
13395
727b38df
L
133962018-05-23 H.J. Lu <hongjiu.lu@intel.com>
13397
13398 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13399 (__mempcpy_erms): Skip zero length.
13400 (__memmove_erms): Likewise.
13401 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13402 (__memset_erms): Likewise.
13403
2834fb46
JM
134042018-05-23 Joseph Myers <joseph@codesourcery.com>
13405
13406 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
13407 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
13408 Add functions moved from ....
13409 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
13410 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
13411 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
13412 from ....
13413 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
13414 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
13415 * sysdeps/alpha/e_sqrtl.c: ... here.
13416 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
13417 * sysdeps/alpha/local-soft-fp.h: ... here.
13418 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
13419 * sysdeps/alpha/ots_add.c: ... here.
13420 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
13421 * sysdeps/alpha/ots_cmp.c: ... here.
13422 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
13423 * sysdeps/alpha/ots_cmpe.c: ... here.
13424 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
13425 * sysdeps/alpha/ots_cvtqux.c: ... here.
13426 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
13427 * sysdeps/alpha/ots_cvtqx.c: ... here.
13428 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
13429 * sysdeps/alpha/ots_cvttx.c: ... here.
13430 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
13431 * sysdeps/alpha/ots_cvtxq.c: ... here.
13432 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
13433 * sysdeps/alpha/ots_cvtxt.c: ... here.
13434 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
13435 * sysdeps/alpha/ots_div.c: ... here.
13436 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
13437 * sysdeps/alpha/ots_mul.c: ... here.
13438 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
13439 * sysdeps/alpha/ots_nintxq.c: ... here.
13440 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
13441 * sysdeps/alpha/ots_sub.c: ... here.
13442 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
13443 * sysdeps/alpha/sfp-machine.h: ... here.
13444
7f9f1ecb
FW
134452018-05-23 Florian Weimer <fweimer@redhat.com>
13446
13447 [BZ #19728]
13448 [BZ #19729]
13449 [BZ #22247]
13450 CVE-2016-6261
13451 CVE-2016-6263
13452 CVE-2017-14062
13453 Switch to extern IDNA implementation (libidn2).
13454 * libidn: Remove subdirectory.
13455 * LICENSES: Do not mention licensing conditions for the removed
13456 libidn code.
13457 * config.h.in (HAVE_LIBIDN): Remove.
13458 * include/dlfcn.h (__libc_dlopen): Update comment.
13459 * include/idna.h: Remove file.
13460 * inet/Makefile (routines): Add idna.
13461 (tests-static, tests-internal): Add tst-idna_name_classify.
13462 (LOCALES): Generate locales for tests.
13463 (tst-idna_name_classify.out): Depend on generated locales.
13464 * inet/idna_name_classify.c: New file.
13465 * inet/tst-idna_name_classify.c: Likewise.
13466 * inet/net-internal.h (__idna_to_dns_encoding)
13467 (__idna_from_dns_encoding): Declare.
13468 * inet/net-internal.h (enum idna_name_classification): Define.
13469 (__idna_name_classify): Declare.
13470 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
13471 __idna_from_dns_encoding.
13472 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
13473 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
13474 name as a fallback in case of encoding errors.
13475 (getnameinfo): Use DEPRECATED_NI_IDN.
13476 * inet/idna.c: New file.
13477 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
13478 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
13479 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
13480 (modules-names): Add tst-no-libidn2.
13481 (extra-test-objs): Add tst-no-libidn2.os.
13482 (LDFLAGS-tst-no-libidn2.so): Set soname.
13483 (LOCALES): Set, and generate locales.
13484 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
13485 (tst-resolv-ai_idn-latin1): Likewise.
13486 (tst-resolv-ai_idn-nolibidn2): Likewise.
13487 (tst-resolv-ai_idn.out): Depend on locales.
13488 (tst-resolv-ai_idn-latin1.out): Depend on locales.
13489 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
13490 tst-no-libidn2.so.
13491 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
13492 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
13493 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
13494 * resolv/tst-resolv-ai_idn.c: New file.
13495 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
13496 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
13497 * resolv/tst-no-libidn2.c: Likewise.
13498 * support/support_format_addrinfo.c (format_ai_flags): Do not
13499 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
13500 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
13501 (gaih_inet): Call __idna_to_dns_encoding and
13502 __idna_from_dns_encoding, and use the original (punycode) name if
13503 __idna_from_dns_encoding fails due to an encoding error.
13504 (getaddrinfo): Use DEPRECATED_AI_IDN.
13505 * sysdeps/unix/inet/Subdirs (libidn): Remove.
13506 * sysdeps/unix/inet/configure: Remove file.
13507 * sysdeps/unix/inet/configure.ac: Likewise.
13508
5f7b841d
FW
135092018-05-23 Florian Weimer <fweimer@redhat.com>
13510
13511 Implement allocate_once.
13512 * include/allocate_once.h: New file.
13513 * misc/allocate_once.c: Likewise.
13514 * misc/tst-allocate_once.c: Likewise.
13515 * misc/Makefile (routines): Add allocate_once.
13516 (tests-internal): Add tst-allocate_once.
13517 (generated): Add tst-allocate_once.mtrace,
13518 tst-allocate_once-mem.out.
13519 (tests-special): Add tst-allocate_once-mem.out.
13520 (tst-allocate_once-ENV): Set MALLOC_TRACE.
13521 (tst-allocate_once-mem.out): Call mtrace.
13522 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
13523
ed983107
L
135242018-05-23 H.J. Lu <hongjiu.lu@intel.com>
13525
13526 [BZ #23196]
13527 * string/test-memcpy.c (do_test1): New function.
13528 (test_main): Call it.
13529
9aaaab7c
AS
135302018-05-23 Andreas Schwab <schwab@suse.de>
13531
13532 [BZ #23196]
13533 CVE-2018-11237
13534 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
13535 (L(preloop_large)): Save initial destination pointer in %r11 and
13536 use it instead of %rax after the loop.
13537 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
13538
5c5c0dd7
JM
135392018-05-22 Joseph Myers <joseph@codesourcery.com>
13540
8f145c77
JM
13541 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
13542 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
13543 -I../soft-fp. Moved from ....
13544 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
13545 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
13546 * sysdeps/aarch64/e_sqrtl.c: ... here.
13547 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
13548 * sysdeps/aarch64/sfp-machine.h: ... here.
13549
3d6302a5
JM
13550 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
13551 -Wmaybe-uninitialized around access to fq[0].
13552 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
13553 Likewise.
13554
5c5c0dd7
JM
13555 [BZ #18471]
13556 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
13557 aliases for non-libc case of versioned symbols.
13558 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
13559 (llseek): Define as compat symbol if
13560 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
13561 with link warning.
13562 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
13563 Make into a compat symbol, disabled for minimum symbol version
13564 GLIBC_2.28 and later.
13565 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
13566
ed0d6988
FW
135672018-05-22 Florian Weimer <fweimer@redhat.com>
13568
13569 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
13570 not add -mpreferred-stack-boundary=4.
13571 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
13572 (stack-align-test-flags): Likewise.
13573 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
13574 Likewise.
13575 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
13576 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
13577 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
13578 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
13579 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
13580 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
13581 (CFLAGS-tst-align2.c): Likewise.
13582
e28e9b1e
L
135832018-05-21 H.J. Lu <hongjiu.lu@intel.com>
13584
13585 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
13586 (index_arch_Prefer_FSRM): Likewise.
13587 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
13588 Also check Prefer_FSRM.
13589 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
13590 Also return OPTIMIZE (erms) for Prefer_FSRM.
13591
1af30adc
L
135922018-05-21 H.J. Lu <hongjiu.lu@intel.com>
13593
13594 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
13595 (index_cpu_FSRM): Likewise.
13596 (reg_FSRM): Likewise.
13597
78274dc8
JM
135982018-05-18 Joseph Myers <joseph@codesourcery.com>
13599
7c67e6e8
JM
13600 * math/gen-tgmath-tests.py: Import sys.
13601 (Tests.__init__): Initialize macros_seen.
13602 (Tests.add_tests): Add macro to macros_seen. Only generate tests
13603 if requested to do so for this macro.
13604 (Tests.add_all_tests): Take argument for macro for which to
13605 generate tests.
13606 (Tests.check_macro_list): New function.
13607 (main): Handle check-list argument and argument specifying macro
13608 for which to generate tests.
13609 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
13610 [PYTHON] (tgmath3-macro-tests): Likewise.
13611 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
13612 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
13613 not test-tgmath3.c.
13614 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
13615 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
13616 to CFLAGS.
13617 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
13618 [PYTHON] ($(foreach
13619 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
13620 rule.
13621 [PYTHON] (tests-special): Add
13622 $(objpfx)test-tgmath3-macro-list.out.
13623 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
13624
ebc129fd
JM
13625 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
13626 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
13627 later.
13628
78274dc8
JM
13629 [BZ #22639]
13630 * time/tzset.c (SECSPERDAY): Cast to time_t.
13631 * time/tst-y2039.c: New file.
13632 * time/Makefile (tests): Add tst-y2039.
13633
6f7fdeeb
LS
136342018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13635
13636 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13637 (PREFETCH_ONE_SET): Remove duplicate line.
13638
e363a91c
FW
136392018-05-17 Florian Weimer <fweimer@redhat.com>
13640
13641 * sysdeps/generic/math-type-macros-double.h: Include
13642 <math-nan-payload-double.h> after <libm-alias-double.h>.
13643 * sysdeps/generic/math-type-macros-float.h: Include
13644 <math-nan-payload-float.h> after <libm-alias-float.h>.
13645 * sysdeps/generic/math-type-macros-float128.h: Include
13646 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
13647 * sysdeps/generic/math-type-macros-ldouble.h: Include
13648 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
13649
dae6c43c
AS
136502018-05-17 Andreas Schwab <schwab@suse.de>
13651
13652 * resolv/res_send.c (__res_context_send): Don't set errno when
13653 returing error after malloc failure.
13654
0068c085
L
136552018-05-17 H.J. Lu <hongjiu.lu@intel.com>
13656
13657 * nptl/allocatestack.c (allocate_stack): Remove the
13658 !__ASSUME_PRIVATE_FUTEX paths.
13659 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
13660 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
13661 Likewise.
13662 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
13663 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13664 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13665 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13666 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
13667 !__ASSUME_PRIVATE_FUTEX path.
13668 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
13669 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
13670 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
13671 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
13672 !__ASSUME_PRIVATE_FUTEX macros.
13673 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
13674 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
13675 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
13676 * sysdeps/unix/sysv/linux/kernel-features.h
13677 (__ASSUME_PRIVATE_FUTEX): Removed.
13678
632a6cbe
JM
136792018-05-17 Joseph Myers <joseph@codesourcery.com>
13680
13681 * math/Makefile (libm-narrow-fns): Add div.
13682 (libm-test-funcs-narrow): Likewise.
13683 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
13684 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
13685 * math/gen-auto-libm-tests.c (test_functions): Add div.
13686 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
13687 (NARROW_DIV_ROUND_TO_ODD): Likewise.
13688 (NARROW_DIV_TRIVIAL): Likewise.
13689 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
13690 macro.
13691 (__ddivl): Likewise.
13692 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
13693 ddiv.
13694 (CFLAGS-nldbl-ddiv.c): New variable.
13695 (CFLAGS-nldbl-fdiv.c): Likewise.
13696 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13697 __nldbl_ddivl.
13698 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
13699 prototype.
13700 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
13701 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
13702 * math/auto-libm-test-in: Add tests of div.
13703 * math/auto-libm-test-out-narrow-div: New generated file.
13704 * math/libm-test-narrow-div.inc: New file.
13705 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
13706 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
13707 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
13708 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
13709 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
13710 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
13711 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
13712 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
13713 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
13714 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
13715 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
13716 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
13717 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
13718 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
13719 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
13720 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
13721 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
13722 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
13723 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13724 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13725 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13726 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13727 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13728 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13729 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13730 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13731 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13732 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13733 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13734 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13735 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13736 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13741 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13742 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13743 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13744 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13745 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13746 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13747 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13748 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13749
8c78faa9
AZ
137502018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13751
13752 [BZ #23178]
13753 * nscd/nscd-client.h (sendfileall): Remove prototype.
13754 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
13755 (handle_request): Use writeall instead of sendfileall.
13756 * nscd/aicache.c (addhstaiX): Likewise.
13757 * nscd/grpcache.c (cache_addgr): Likewise.
13758 * nscd/hstcache.c (cache_addhst): Likewise.
13759 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13760 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
13761 * nscd/pwdcache.c (cache_addpw): Likewise.
13762 * nscd/servicescache.c (cache_addserv): Likewise.
13763 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
13764 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
13765 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
13766 Remove define.
13767
04958880
L
137682018-05-16 H.J. Lu <hongjiu.lu@intel.com>
13769
13770 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
13771 Include <string/strncat.c>.
13772 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
13773 alias.
13774 (__GI___strncat): New hidden alias.
13775
c9992d13
JM
137762018-05-16 Joseph Myers <joseph@codesourcery.com>
13777
13778 * sysdeps/mips/mips32/libm-test-ulps: Update.
13779 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13780
2afece36
FW
137812018-05-16 Florian Weimer <fweimer@redhat.com>
13782
13783 * support/Makefile (libsupport-routines): Add support_quote_blob,
13784 support_test_compare_blob.
13785 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
13786 * support/check.h (TEST_COMPARE_BLOB): Define.
13787 (support_test_compare_blob): Declare.
13788 * support/support.h (support_quote_blob): Declare.
13789 * support/support_quote_blob.c: New file.
13790 * support/support_test_compare_blob.c: Likewise.
13791 * support/tst-support_quote_blob.c: Likewise.
13792 * support/tst-test_compare_blob.c: Likewise.
13793
9761bf4d
FW
137942018-05-16 Florian Weimer <fweimer@redhat.com>
13795
13796 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
13797 of <strtod_nan_double.h>.
13798 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
13799 instead of SET_MANTISSA.
13800 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
13801 of include <strtod_nan_float.h>.
13802 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
13803 instead of <strtod_nan_ldouble.h>.
13804 * stdlib/strtod_nan_double.h: Move to ...
13805 * sysdeps/generic/math-nan-payload-double.h: ... here.
13806 (FLOAT): Remove definition.
13807 (SET_MANTISSA): Rename to ...
13808 (SET_NAN_PAYLOAD): ... this.
13809 * stdlib/strtod_nan_float.h: Move to ...
13810 * sysdeps/generic/math-nan-payload-float.h: ... here.
13811 (FLOAT): Remove definition.
13812 (SET_MANTISSA): Rename to ...
13813 (SET_NAN_PAYLOAD): ... this.
13814 * sysdeps/generic/math-type-macros-double.h: Include
13815 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
13816 instead of <math-svid-compat.h>.
13817 * sysdeps/generic/math-type-macros-float.h: Include
13818 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
13819 instead of <math-svid-compat.h>.
13820 * sysdeps/generic/math-type-macros-float128.h: Include
13821 <math-nan-payload-float128.h>.
13822 * sysdeps/generic/math-type-macros-ldouble.h: Include
13823 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
13824 instead of <math-svid-compat.h>.
13825 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
13826 check for definition.
13827 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
13828 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
13829 Include <ieee754_float128.h>.
13830 (FLOAT): Remove definition.
13831 (SET_MANTISSA): Rename to ...
13832 (SET_NAN_PAYLOAD): ... this.
13833 * sysdeps/ieee754/float128/strtof128_nan.c: Include
13834 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
13835 Do not include <float128_private.h>.
13836 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
13837 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
13838 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
13839 (FLOAT): Remove definition.
13840 (SET_MANTISSA): Rename to ...
13841 (SET_NAN_PAYLOAD): ... this.
13842 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
13843 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
13844 (FLOAT): Remove definition.
13845 (SET_MANTISSA): Rename to ...
13846 (SET_NAN_PAYLOAD): ... this.
13847 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
13848 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
13849 (FLOAT): Remove definition.
13850 (SET_MANTISSA): Rename to ...
13851 (SET_NAN_PAYLOAD): ... this.
13852 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
13853 of "../stdlib/strtod_nan_double.h".
13854 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
13855 of "../stdlib/strtod_nan_float.h".
13856 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
13857 instead of "../stdlib/strtod_nan_ldouble.h".
13858 * manual/arith.texi (Parsing of Floats): Adjust comment.
13859
69a01461
JM
138602018-05-16 Joseph Myers <joseph@codesourcery.com>
13861
13862 * math/Makefile (libm-narrow-fns): Add mul.
13863 (libm-test-funcs-narrow): Likewise.
13864 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
13865 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
13866 * math/gen-auto-libm-tests.c (test_functions): Add mul.
13867 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
13868 (NARROW_MUL_ROUND_TO_ODD): Likewise.
13869 (NARROW_MUL_TRIVIAL): Likewise.
13870 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
13871 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
13872 macro.
13873 (__dmull): Likewise.
13874 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
13875 dmul.
13876 (CFLAGS-nldbl-dmul.c): New variable.
13877 (CFLAGS-nldbl-fmul.c): Likewise.
13878 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13879 __nldbl_dmull.
13880 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
13881 prototype.
13882 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
13883 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
13884 * math/auto-libm-test-in: Add tests of mul.
13885 * math/auto-libm-test-out-narrow-mul: New generated file.
13886 * math/libm-test-narrow-mul.inc: New file.
13887 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
13888 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
13889 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
13890 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
13891 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
13892 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
13893 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
13894 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
13895 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
13896 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
13897 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
13898 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
13899 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
13900 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
13901 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
13902 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
13903 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
13904 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
13905 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13906 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13907 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13908 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13909 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13910 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13911 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13912 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13913 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13914 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13915 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13916 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13917 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13918 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13923 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13924 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13925 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13926 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13927 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13928 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13929 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13930 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13931
a15529fd
L
139322018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13933
13934 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
13935 with *%eax in call.
13936
98ee36c7
L
139372018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13938
13939 * sysdeps/i386/ldsodefs.h: Removed.
13940 * sysdeps/x86_64/ldsodefs.h: Moved to ...
13941 * sysdeps/x86/ldsodefs.h: This.
13942 (La_i86_regs): New.
13943 (La_i86_retval): Likewise.
13944 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
13945 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
13946
e322ec32
L
139472018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13948
13949 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
13950 unnecessary testl.
13951
0937e209
AM
139522018-05-13 Alan Modra <amodra@gmail.com>
13953
13954 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
13955 R_PARISC_TLS_DTPOFF32 reloc addend.
13956
5db7d705
TMQMF
139572018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13958
13959 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
13960 * math/math.h: Restrict the prototype definition for the functions
13961 issignaling(_Float128) and iszero(_Float128); and template
13962 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
13963 __HAVE_FLOAT128_UNLIKE_LDBL.
13964 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
13965 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
13966 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
13967 __f128() constants; define the type _Float128 as long double;
13968 and reuse long double in __CFLOAT128.
13969
b4d5b8b0
JM
139702018-05-11 Joseph Myers <joseph@codesourcery.com>
13971
13972 * sysdeps/generic/math_private.h: Do not include
13973 <math-barriers.h>.
13974 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
13975 <math_private.h>.
13976 * math/fromfp.h: Include <math-barriers.h>.
13977 * math/math-narrow.h: Likewise.
13978 * math/s_nextafter.c: Likewise.
13979 * math/s_nexttowardf.c: Likewise.
13980 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
13981 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
13982 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
13983 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
13984 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13985 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13986 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13987 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13988 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13989 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13990 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13991 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13992 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13993 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13994 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
13995 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13996 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13997 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13998 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13999 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14000 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14001 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14002 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14003 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14004 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14005 * sysdeps/ieee754/k_standardl.c: Likewise.
14006 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14007 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14008 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14009 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
14010 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14011 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14012 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14013 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14014 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14015 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
14016 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14017 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14018 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14019 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
14020 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14021 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14022 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
14023 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
14024 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14025 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14026 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
14027 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
14028
fc79706a
FW
140292018-05-11 Florian Weimer <fweimer@redhat.com>
14030
14031 Use 64-bit epoch values in the time zone file parser.
14032 * include/time.h (internal_time_t): Define.
14033 (__tzfile_compute): Use it.
14034 * time/tzfile.c (struct leap): Use internal_time_t for epoch
14035 member.
14036 (transitions): Switch to internal_time_t.
14037 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
14038 types.
14039 (__tzfile_compute): Use internal_time_t for timer argument. Check
14040 for truncation before calling __offtime.
14041
89aacb51
FW
140422018-05-11 Florian Weimer <fweimer@redhat.com>
14043
14044 [BZ #23166]
14045 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
14046 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
14047 Likewise.
14048 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
14049 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
14050 export without --enable-obsolete-rpc.
14051 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
14052 symbol. This should not have been exported, ever.
14053
bb066cb8
RL
140542018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
14055
14056 [BZ #23152]
14057 * localedata/locales/gd_GB (abmon): Fix typo in May:
14058 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
14059
70c97f84
SP
140602018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
14061
db725a45
SP
14062 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
14063 Use multiple registers to copy data in loop tail.
14064
70c97f84
SP
14065 * sysdeps/aarch64/multiarch/memmove_falkor.S
14066 (__memmove_falkor): Use multiple registers to move data in
14067 loop tail.
14068
8f5b00d3
JM
140692018-05-10 Joseph Myers <joseph@codesourcery.com>
14070
14071 * math/math-underflow.h: New file.
14072 * sysdeps/generic/math_private.h: Do not include <float.h>.
14073 (fabs_tg): Remove macro. Moved to math-underflow.h.
14074 (min_of_type_f): Likewise.
14075 (min_of_type_): Likewise.
14076 (min_of_type_l): Likewise.
14077 (min_of_type_f128): Likewise.
14078 (min_of_type): Likewise.
14079 (math_check_force_underflow): Likewise.
14080 (math_check_force_underflow_nonneg): Likewise.
14081 (math_check_force_underflow_complex): Likewise.
14082 * math/e_exp2_template.c: Include <math-underflow.h>.
14083 * math/k_casinh_template.c: Likewise.
14084 * math/s_catan_template.c: Likewise.
14085 * math/s_catanh_template.c: Likewise.
14086 * math/s_ccosh_template.c: Likewise.
14087 * math/s_cexp_template.c: Likewise.
14088 * math/s_clog10_template.c: Likewise.
14089 * math/s_clog_template.c: Likewise.
14090 * math/s_csin_template.c: Likewise.
14091 * math/s_csinh_template.c: Likewise.
14092 * math/s_csqrt_template.c: Likewise.
14093 * math/s_ctan_template.c: Likewise.
14094 * math/s_ctanh_template.c: Likewise.
14095 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14096 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14097 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14098 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14099 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14100 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14101 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14102 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14103 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14104 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14105 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14106 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14107 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14108 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14109 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14110 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14111 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14112 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14113 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14114 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14115 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14116 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14117 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14118 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14119 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14120 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14121 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14122 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14123 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14124 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14125 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14126 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14127 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14128 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14129 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14130 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14131 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14132 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14133 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14134 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14135 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14136 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14137 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14138 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14139 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14140 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14141 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14142 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14143 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14144 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14145 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14146 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14147 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14148 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
14149 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14150 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14151 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14152 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14153 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14154 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14155 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14156 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
14157 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14158 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
14159 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14160 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14161 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14162 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14163 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14164 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14165 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14166 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14167 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
14168 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
14169 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14170 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14171 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14172 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14173 * sysdeps/x86/fpu/powl_helper.c: Likewise.
14174 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
14175 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
14176 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
14177 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
14178 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
14179
9ed2e15f
JM
141802018-05-09 Joseph Myers <joseph@codesourcery.com>
14181
14182 * sysdeps/generic/math-barriers.h: New file.
14183 * sysdeps/generic/math_private.h [!math_opt_barrier]
14184 (math_opt_barrier): Move to math-barriers.h.
14185 [!math_opt_barrier] (math_force_eval): Likewise.
14186 * sysdeps/aarch64/fpu/math-barriers.h: New file.
14187 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
14188 math-barriers.h.
14189 (math_force_eval): Likewise.
14190 * sysdeps/alpha/fpu/math-barriers.h: New file.
14191 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
14192 math-barriers.h.
14193 (math_force_eval): Likewise.
14194 * sysdeps/x86/fpu/math-barriers.h: New file.
14195 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
14196 math-barriers.h.
14197 (math_force_eval): Likewise.
14198 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
14199 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
14200 multiple-include guard for rename.
14201 * sysdeps/powerpc/fpu/math-barriers.h: New file.
14202 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
14203 math-barriers.h.
14204 (math_force_eval): Likewise.
14205
5460617d
PP
142062018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
14207
14208 [BZ #22786]
43d4f3d5 14209 CVE-2018-11236
5460617d
PP
14210 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
14211 computation.
14212 * stdlib/Makefile (test-bz22786): New test.
14213 * stdlib/test-bz22786.c: New test.
14214
aaee3cd8
JM
142152018-05-09 Joseph Myers <joseph@codesourcery.com>
14216
14217 * include/math-narrow-eval.h: New file. Contents moved from ....
14218 * sysdeps/generic/math_private.h: ... here.
14219 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
14220 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
14221 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
14222 * stdlib/strtod_l.c: Likewise.
14223 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
14224 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
14225 * sysdeps/i386/fpu/s_fdim.c: Likewise.
14226 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14227 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14228 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14229 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14230 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14231 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14232 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14233 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14234 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
14235 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14236 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
14237 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14238 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14239 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14240 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14241 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14242 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14243 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14244 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14245 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14246 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14247 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
14248 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14249 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14250 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14251 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14252
0555c477
AS
142532018-05-08 Andreas Schwab <schwab@suse.de>
14254
14255 * sysdeps/nptl/internaltypes.h: Fix comment.
14256
50d7d351
L
142572018-05-07 H.J. Lu <hongjiu.lu@intel.com>
14258
14259 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
14260 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
14261 hidden.
14262
543477f7
SP
142632018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
14264
14265 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
14266 of I into loop header.
14267 * benchtests/bench-memmove-walk.c
14268 (test_main): Likewise.
14269
142702018-05-07 Alexandre Oliva <oliva@gnu.org>
ffa81c22
AO
14271
14272 Revert:
14273 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
14274 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
14275
0065aaaa
PP
142762018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14277
14278 [BZ #20419]
14279 * elf/dl-load.c (open_verify): Fix stack overflow.
14280 * elf/Makefile (tst-big-note): New test.
14281 * elf/tst-big-note-lib.S: New.
14282 * elf/tst-big-note.c: New.
14283
b289cd9d
JM
142842018-05-04 Joseph Myers <joseph@codesourcery.com>
14285
14286 * scripts/abilist.awk: Ignore absolute symbols.
14287 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
14288 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
14289 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
14290 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
14291 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
14292 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
14293 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14294 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
14295 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
14296 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
14297 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
14298 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
14299 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
14300 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
14301 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
14302 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
14303 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
14304 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
14305 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14306 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
14307 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
14308 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
14309 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
14310 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
14311 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
14312 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
14313 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
14314 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
14315 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14316 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
14317 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
14318 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14319 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
14320 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
14321 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
14322 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
14323 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
14324 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
14325 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
14326 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
14327 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
14328 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14329 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
14330 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
14331 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14332 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
14333 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
14334 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
14335 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
14336 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
14337 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
14338 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
14339 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
14340 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
14341 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14342 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
14343 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
14344 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14345 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
14346 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
14347 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
14348 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
14349 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
14350 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
14351 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
14352 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
14353 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
14354 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14355 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
14356 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
14357 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14358 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
14359 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
14360 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
14361 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
14362 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
14363 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
14364 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
14365 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
14366 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
14367 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14368 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
14369 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
14370 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14371 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
14372 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
14373 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
14374 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
14375 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
14376 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
14377 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
14378 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
14379 Likewise.
14380 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
14381 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14382 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
14383 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
14384 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14385 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
14386 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
14387 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
14388 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
14389 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
14390 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
14391 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
14392 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
14393 Likewise.
14394 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
14395 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14396 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
14397 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
14398 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14399 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
14400 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
14401 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
14402 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
14403 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
14404 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
14405 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
14406 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
14407 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
14408 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14409 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
14410 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
14411 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14412 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
14413 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
14414 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
14415 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
14416 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
14417 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
14418 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14419 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
14420 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
14421 Likewise.
14422 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
14423 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
14424 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
14425 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
14426 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14427 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
14428 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
14429 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
14430 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
14431 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
14432 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
14433 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
14434 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
14435 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
14436 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
14437 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
14438 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
14439 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
14440 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14441 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
14442 Likewise.
14443 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
14444 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
14445 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
14446 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14447 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
14448 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
14449 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
14450 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
14451 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
14452 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
14453 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14454 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
14455 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
14456 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14457 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
14458 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
14459 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
14460 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
14461 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14462 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
14463 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
14464 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14465 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
14466 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
14467 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
14468 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
14469 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
14470 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
14471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
14472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
14474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
14475 Likewise.
14476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
14477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
14478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
14479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
14480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
14481 Likewise.
14482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
14483 Likewise.
14484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
14485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
14486 Likewise.
14487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
14488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14489 Likewise.
14490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14491 Likewise.
14492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
14493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
14494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
14495 Likewise.
14496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
14497 Likewise.
14498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
14499 Likewise.
14500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
14501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
14504 Likewise.
14505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
14506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
14507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
14508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
14511 Likewise.
14512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
14513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14514 Likewise.
14515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14516 Likewise.
14517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
14518 Likewise.
14519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
14520 Likewise.
14521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
14522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
14523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
14524 Likewise.
14525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
14526 Likewise.
14527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
14528 Likewise.
14529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
14530 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
14531 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
14532 Likewise.
14533 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
14534 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
14535 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
14536 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
14537 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14538 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
14539 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
14540 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
14541 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
14542 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
14543 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
14544 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
14545 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
14546 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
14547 Likewise.
14548 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14549 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
14550 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
14551 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14552 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
14553 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
14554 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
14555 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
14556 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
14557 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
14558 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
14559 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
14560 Likewise.
14561 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14562 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
14563 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
14564 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14565 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
14566 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
14567 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
14568 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
14569 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
14570 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
14571 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
14572 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
14573 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
14574 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14575 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
14576 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
14577 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14578 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
14579 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
14580 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
14581 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
14582 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
14583 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
14584 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
14585 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
14586 Likewise.
14587 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
14588 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14589 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
14590 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
14591 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14592 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
14593 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
14594 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
14595 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
14596 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
14597 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
14598 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
14599 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
14600 Likewise.
14601 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
14602 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14603 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
14604 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
14605 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14606 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
14607 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
14608 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
14609 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
14610 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
14611 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
14612 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
14613 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
14614 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
14615 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14616 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
14617 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
14618 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14619 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
14620 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
14621 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
14622 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
14623 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
14624 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
14625 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
14626 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
14627 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
14628 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
14629 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14630 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
14631 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
14632 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14633 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
14634 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
14635 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
14636 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
14637 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
14638 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
14639
16609018
SL
146402018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
14641
14642 [BZ #23137]
14643 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
14644 Use atomic_load_acquire to load __tid.
14645
556f5c46
L
146462018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14647
14648 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
14649 Restore the pointer into %rdx, after syscall and use %rdx,
14650 instead of %rsi, to restore context.
14651
8b8f32b2
L
146522018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14653
14654 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
14655 Pop the pointer into %rdx after syscall and use %rdx, instead
14656 of %rsi, to restore context.
14657
d6cc1829
L
146582018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14659
14660 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
14661 handlers after setjmp.
14662 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
14663 defined.
14664 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
14665 <libc-pointer-arith.h>.
14666 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
14667 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
14668 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
14669 _JUMP_BUF_SIGSET_BITS_PER_WORD.
14670 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
14671 * sysdeps/x86/__longjmp_cancel.S: New file.
14672 * sysdeps/x86/longjmp.c: Likewise.
14673 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
14674
cf2478d5
AZ
146752018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14676
14677 * NEWS: Add ustat.h deprecation entry.
14678 * bits/ustat.h: Remove file.
14679 * misc/sys/ustat.h: Likewise.
14680 * misc/ustat.h: Likewise.
14681 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
14682 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
14683 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
14684 compatibility mode.
14685 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
14686 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
14687 generic Linux implementation.
14688
dc115e1c
TMQMF
146892018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14690
14691 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
14692 * math/w_expl_compat.c: Likewise.
14693 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
14694
6b5c8607 146952018-04-30 Raymond Nicholson <rain1@airmail.cc>
340d9652
RN
14696
14697 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
14698
c57bf7c1
AZ
146992018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14700
14701 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
14702 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
14703 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
14704 Remove.
14705 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
14706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14707 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14708 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
14709 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
14710 and SYSCALL_LL64.
14711
06135c33
TMQMF
147122018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14713
33927914
TMQMF
14714 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
14715
06135c33
TMQMF
14716 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
14717 * math/w_asin_template.c: Likewise.
14718 * math/w_atanh_template.c: Likewise.
14719
3a33b069
GG
147202018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14721
14722 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
14723 to powerpc/powerpc64/be for big-endian.
14724 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
14725 little-endian.
14726
14727 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
14728 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
14729 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
14730 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
14731 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
14732 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
14733 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
14734 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
14735 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
14736 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
14737 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
14738 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
14739 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
14740 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
14741 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
14742 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
14743 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
14744 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
14745 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
14746 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
14747 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
14748 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
14749 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
14750 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
14751 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
14752 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
14753 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
14754 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
14755 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
14756 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
14757 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
14758 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
14759
14760 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
14761 adjusted to imply powerpc64 and older processors on powerpc64/be.
14762 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
14763 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
14764 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
14765 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
14766 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
14767 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
14768 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
14769 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
14770 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
14771 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
14772 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
14773 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
14774 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
14775 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
14776 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
14777 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
14778 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
14779 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
14780 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
14781 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
14782 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
14783 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
14784 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
14785 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
14786 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
14787 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
14788 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
14789 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
14790 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
14791 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
14792 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
14793
14794 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
14795 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
14796 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
14797 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
14798
14799 * sysdeps/powerpc/powerpc64/be/Implies: New file.
14800 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
14801 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
14802 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
14803
14804 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
14805 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
14806 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
14807 * sysdeps/powerpc/powerpc64le/configure: Likewise.
14808 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
14809 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
14810 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
14811 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
14812 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
14813 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
14814 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
14815
14816 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
14817 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
14818 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
14819 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
14820 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
14821 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
14822 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
14823 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
14824 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
14825 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
14826 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
14827
14828 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
14829 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
14830 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
14831 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
14832 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
14833 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
14834 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
14835 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
14836 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
14837 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
14838 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
14839 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
14840
14841 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
14842 and adjusted to imply olders processors.
14843 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
14844 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
14845 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
14846 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
14847 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
14848 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
14849 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
14850 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
14851 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
14852 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
14853 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
14854
14855 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
14856 powerpc64/le.
14857 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
14858 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
14859
14860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
14861 powerpc64le.
14862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
14863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
14864
14865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
14866 powerpc64/be.
14867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
14868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
14869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
14870
14871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
14872 powerpc64 and adjusted.
14873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
14874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
14875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
14876 Likewise.
14877
a3fb6b6b
JM
148782018-04-27 Joseph Myers <joseph@codesourcery.com>
14879
14880 * sysdeps/tile: Remove.
14881 * sysdeps/unix/sysv/linux/tile: Likewise.
14882 * README (tilegx-*-linux-gnu): Remove from list of supported
14883 configurations.
14884 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
14885 contribution of support for generic Linux kernel syscall
14886 interface.
14887 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
14888 tilegx configurations.
14889 (Config.install_linux_headers): Do not handle tile.
14890 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
14891 in comment.
14892 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
14893 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
14894 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
14895 conditional undefine and redefine.
14896 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
14897 in comment.
14898 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
14899 conditional undefine and redefine.
14900
7a6f7478
AJ
149012018-04-26 Aurelien Jarno <aurelien@aurel32.net>
14902
14903 * signal/tst-sigaction.c: New file to test BZ #23069.
14904 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
14905
81b49e96
TMQMF
149062018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14907
14908 [BZ #22766]
14909 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
14910 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
14911 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
14912 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
14913
7d80f48e
AZ
149142018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14915
14916 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
14917 _DIRENT_MATCHES_DIRENT64 is not defined.
14918 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
14919 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
14920 is defined.
14921 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
14922 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
14923
42a2bf58
JM
149242018-04-25 Joseph Myers <joseph@codesourcery.com>
14925
14926 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
14927 version to GCC 8 branch.
14928
9320ca88
JM
149292018-04-24 Joseph Myers <joseph@codesourcery.com>
14930
5e14bb97
JM
14931 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
14932 (check_no_hidden): Use type of original function when declaring
14933 alias.
14934
9320ca88
JM
14935 * sysdeps/unix/sysv/linux/sys/ptrace.h
14936 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
14937 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
14938 (struct __ptrace_seccomp_metadata): New type.
14939 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
14940 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14941 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
14942 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14943 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
14944 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14945 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
14946 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14947 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
14948 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14949 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
14950 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14951 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
14952 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14953 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
14954 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14955
af7e376b
AZ
149562018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14957
14958 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
14959 defined.
14960 * dirent/versionsort.c (versionsort): Likewise.
14961 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
14962 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
14963 * dirent/versionsort64.c (versionsort64): Likewise.
14964 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
14965 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
14966 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
14967 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
14968 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
14969 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
14970 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
14971 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
14972 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
14973 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
14974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
14975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
14976 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
14977 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
14978
da5e0361
JM
149792018-04-23 Joseph Myers <joseph@codesourcery.com>
14980
14981 * elf/elf.h (NT_PPC_PKEY): New macro.
14982
6b5c8607 149832018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
ea76691a
DSN
14984
14985 [BZ #23094]
14986 * localedata/locales/hr_HR: fix thousands_sep and
14987 mon_thousands_sep
14988
573963e3
JM
149892018-04-20 Joseph Myers <joseph@codesourcery.com>
14990
14991 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
14992 (XTABS): Define to TAB3.
14993
c0123b3b
AZ
149942018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14995
0900a849
AZ
14996 * sysdeps/hppa/fpu/libm-test-ulps: Update.
14997
c0123b3b
AZ
14998 * dirent/scandir-tail-common.c: New file.
14999 * dirent/scandir-tail.c: Use scandir-tail-common.c.
15000 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
15001 * dirent/scandir.c: Use scandir-tail-common.c.
15002 * dirent/scandirat.c: Likewise.
15003 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
15004 * dirent/scandir64.c (scandir64): Always build and alias to scandir
15005 if _DIRENT_MATCHES_DIRENT64 is defined.
15006 * dirent/scandirat64.c (scandirat64): Likewise.
15007 * include/dirent.h (__scandir_tail): Only define iff
15008 _DIRENT_MATCHES_DIRENT64 is not defined.
15009 (__scandir64_tail): Define regardless.
15010 (__scandirat, scandirat64): Remove libc_hidden_proto.
15011 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
15012 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
15013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
15014 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
15015 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15016 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
15017 * sysdeps/unix/sysv/linux/scandir64.c: New file.
15018
458b94f6
JM
150192018-04-20 Joseph Myers <joseph@codesourcery.com>
15020
15021 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
15022 New macro.
15023 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
15024 Increase to 24.
15025 (_dl_aarch64_cap_flags): Add asimdfhm.
15026
9f0437e8
CLT
150272018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
15028
15029 * sysdeps/nios2/libm-test-ulps: Update.
15030
298d0e31
AZ
150312018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15032
50511ca4
AZ
15033 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
15034 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
15035
298d0e31
AZ
15036 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
15037 requirements.
6b5c8607 15038 (_DIRENT_MATCHES_DIRENT64): Undef
298d0e31
AZ
15039 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
15040 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
15041 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
15042 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
15043 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
15044 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
15045 use getdents64 syscalls as base.
15046 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
15047 symbol if required.
15048 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
15049 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
15050 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
15051 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
15052 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
15053 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
15054 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
15055 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
15056 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15057 (__get_clockfreq_via_proc_openprom): Use __getdents64.
15058 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
15059
0085be14
SL
150602018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
15061
15062 * scripts/test_printers_common.py (init_test): Disable lock elision.
15063
da796524
SL
150642018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
15065
15066 * math/test-tgmath.c (count_double, count_float,
15067 count_ldouble, count_cdouble, count_cfloat,
15068 count_cldouble): Use volatile int.
15069
0dd25301
ST
150702018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
15071
15072 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
15073 (conformtest-xfail-conds): Add i386-gnu.
cbc256b1 15074 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
0dd25301
ST
15075 i386-gnu.
15076 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
15077 ipc_perm.cuid, ipc_perm.cgid): Likewise.
15078 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
15079 msqid_ds.msg_lrpid): Likewise.
15080 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
15081 Likewise.
15082 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
15083 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
9d9f8f03
ST
15084 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
15085 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
15086 unsigned int.
15087 (struct statvfs64): Likewise.
f55a4fde
ST
15088 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
15089 Likewise.
77b93390
ST
15090 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
15091 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
15092 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
15093 instead of wait_queue.
15094 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
15095 instead of vm_area_struct.
5cd2931a
ST
15096 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
15097 struct sched_param definition to it.
e60c3f2b
ST
15098 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
15099 * bits/types/struct_sched_param.h: New file.
15100 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
15101 <bits/types/struct_sched_param.h> instead of <sched.h>.
15102 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
5cd2931a
ST
15103 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
15104 generic version but include <bits/pthreadtypes.h> to make struct
15105 sigevent's sigev_notify_attributes field a pthread_attr_t*.
ed370924
ST
15106 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
15107 non-compliant.
a564872d
ST
15108 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
15109 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
15110 [__USE_XOPEN] (OFDEL): New macro.
15111 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
a279b8ed 15112 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
5dbfe13b
ST
15113 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
15114 prototypes.
15115 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
15116 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
81b032c8
ST
15117 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
15118 non-compliant.
15119 * sysdeps/i386/sys/ucontext.h: Likewise.
15120 * sysdeps/m68k/sys/ucontext.h: Likewise.
15121 * sysdeps/mips/sys/ucontext.h: Likewise.
15122 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
f00b62ec
ST
15123 * sysdeps/mach/hurd/i386/Makefile
15124 (test-xfail-POSIX/fcntl.h/conform): Add.
15125 (test-xfail-POSIX/signal.h/conform): Add.
15126 (test-xfail-POSIX/semaphore.h/conform): Add.
15127 (test-xfail-POSIX/regex.h/conform): Add.
15128 (test-xfail-POSIX/aio.h/conform): Add.
15129 (test-xfail-POSIX/mqueue.h/conform): Add.
15130 (test-xfail-POSIX/sys/types.h/conform): Add.
15131 (test-xfail-UNIX98/fcntl.h/conform): Add.
15132 (test-xfail-UNIX98/netdb.h/conform): Add.
15133 (test-xfail-UNIX98/signal.h/conform): Add.
15134 (test-xfail-UNIX98/semaphore.h/conform): Add.
15135 (test-xfail-UNIX98/regex.h/conform): Add.
15136 (test-xfail-UNIX98/aio.h/conform): Add.
15137 (test-xfail-UNIX98/ftw.h/conform): Add.
15138 (test-xfail-UNIX98/mqueue.h/conform): Add.
15139 (test-xfail-UNIX98/netinet/in.h/conform): Add.
15140 (test-xfail-UNIX98/sys/wait.h/conform): Add.
15141 (test-xfail-UNIX98/sys/sem.h/conform): Add.
15142 (test-xfail-UNIX98/sys/uio.h/conform): Add.
15143 (test-xfail-UNIX98/sys/socket.h/conform): Add.
15144 (test-xfail-UNIX98/sys/types.h/conform): Add.
15145 (test-xfail-UNIX98/stdlib.h/conform): Add.
15146 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
15147 (test-xfail-POSIX2008/fcntl.h/conform): Add.
15148 (test-xfail-POSIX2008/netdb.h/conform): Add.
15149 (test-xfail-POSIX2008/signal.h/conform): Add.
15150 (test-xfail-POSIX2008/semaphore.h/conform): Add.
15151 (test-xfail-POSIX2008/regex.h/conform): Add.
15152 (test-xfail-POSIX2008/aio.h/conform): Add.
15153 (test-xfail-POSIX2008/mqueue.h/conform): Add.
15154 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
15155 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
15156 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
15157 (test-xfail-POSIX2008/sys/types.h/conform): Add.
15158 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
15159 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
15160 (test-xfail-XOPEN2K/netdb.h/conform): Add.
15161 (test-xfail-XOPEN2K/signal.h/conform): Add.
15162 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
15163 (test-xfail-XOPEN2K/regex.h/conform): Add.
15164 (test-xfail-XOPEN2K/aio.h/conform): Add.
15165 (test-xfail-XOPEN2K/ftw.h/conform): Add.
15166 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
15167 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
15168 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
15169 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
15170 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
15171 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
15172 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
15173 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
15174 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
15175 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
15176 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
15177 (test-xfail-XOPEN2K8/signal.h/conform): Add.
15178 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
15179 (test-xfail-XOPEN2K8/regex.h/conform): Add.
15180 (test-xfail-XOPEN2K8/aio.h/conform): Add.
15181 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
15182 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
15183 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
15184 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
15185 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
15186 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
15187 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
15188 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
15189 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
15190 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
cbc256b1
ST
15191 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
15192 i386-gnu.
15193 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
15194 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
0dd25301 15195
d6397de3
JM
151962018-04-18 Joseph Myers <joseph@codesourcery.com>
15197
15198 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
15199 --enable-obsolete for powerpc-linux-gnuspe.
15200
8323a902
ST
152012018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15202
3dc0814c 15203 * conform/data/sys/un.h-data: Allow sun_ prefix.
c5896a45 15204 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
d4379e02 15205 prototypes.
c5896a45
ST
15206 * sysdeps/mach/include/mach.h: Likewise.
15207 * sysdeps/mach/include/mach/mig_support.h: Likewise.
15208 * sysdeps/mach/include/mach_error.h: Likewise.
8323a902 15209
743b9c2a
AZ
152102018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15211
15212 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
15213 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
15214 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
15215 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
15216
326e74e7
AS
152172018-04-16 Andreas Schwab <schwab@suse.de>
15218
15219 [BZ #19527]
15220 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
15221
6b5c8607 152222018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
a14d8acd
PM
15223
15224 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
15225 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
15226
a700e7cb
DD
152272018-04-12 DJ Delorie <dj@redhat.com>
15228
15229 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
15230 version to 4.16.
15231
d8abfab7
SL
152322018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
15233
15234 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
15235 (struct kernel_sigaction): Use the same definition on 31bit as is used
15236 on 64bit.
15237
583a27d5
FW
152382018-04-09 Florian Weimer <fweimer@redhat.com>
15239
15240 [BZ #23037]
15241 * resolv/res_send.c (send_dg): Use designated initializers instead
15242 of assignment to zero-initialize other fields of struct mmsghdr.
15243
243f59e5
AZ
152442018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15245
942de61a
AZ
15246 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
15247 __READDIR_ALIAS): Undefine after usage.
15248 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
15249 __READDIR_R_ALIAS): Likewise.
15250 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
15251 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
15252 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
15253 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
15254 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
15255 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
15256 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15257 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15258 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
15259 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
15260 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
15261 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
15262 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15263 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
15264 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
15265 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
15266 * sysdeps/unix/sysv/linux/readdir.c: New file.
15267 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
15268 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
15269 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
15270
243f59e5
AZ
15271 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
15272
690c3475
AS
152732018-04-06 Andreas Schwab <schwab@linux-m68k.org>
15274
15275 * manual/charset.texi (Converting a Character): Fix typo.
15276
6b5c8607 152772018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
b4a5d26d 15278
bbc2062a
AZ
15279 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15280
fa7c6199
AZ
15281 * sysdeps/arm/libm-test-ulps: Update.
15282
b4a5d26d
AZ
15283 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
15284 as base implementation.
15285 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15286 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15287 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15288 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15289 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15290 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
15291 remove unrequired definitions and update comments.
15292 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
15293 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
15294 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
15295 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
15296 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
15297 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
15298 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
15299 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
15300 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
15301 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
15302 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
15303 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15304 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
15305 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
15306 and RESET_SA_RESTORER hooks.
15307
db9e55ff
SL
153082018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
15309
15310 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15311
cf138b0c
FW
153122018-04-05 Florian Weimer <fweimer@redhat.com>
15313
15314 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
15315 integer overflow, memory leak on error, and indeterminate errno
15316 value. Add a null wide character to terminate the result string.
15317 * manual/charset.texi (Converting a Character): Mention embedded
15318 null bytes in the mbrtowc input string. Explain what happens in
15319 the -2 result case. Do not claim that mbrtowc is simple or
15320 obvious to use. Adjust the description of the code example. Use
15321 @code, not @var, for concrete variables.
15322
0f339252
FW
153232018-04-05 Florian Weimer <fweimer@redhat.com>
15324
15325 * manual/examples/mbstouwcs.c: New file.
15326 * manual/charset.texi (Converting a Character): Include it.
15327
e5f9508a
ST
153282018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15329
c120981d
ST
15330 * include/dirent.h (dirfd): Add hidden proto.
15331 * dirent/dirfd.c (dirfd): Add hidden def.
15332 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
15333 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
e5f9508a 15334
b2fd61ca
TMQMF
153352018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15336
15337 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
15338 sin, cos and sincos to 1 ULP.
15339
10a446dd
MR
153402018-04-04 Maciej W. Rozycki <macro@mips.com>
15341
e7feec37
MR
15342 [BZ #19818]
15343 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
15344 symbols.
15345 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
15346 * elf/tst-absolute-sym.c: New file.
15347 * elf/tst-absolute-sym-lib.c: New file.
15348 * elf/tst-absolute-sym-lib.lds: New file.
15349 * elf/Makefile (tests): Add `tst-absolute-sym'.
15350 (modules-names): Add `tst-absolute-sym-lib'.
15351 (LDLIBS-tst-absolute-sym-lib.so): New variable.
15352 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
15353 ($(objpfx)tst-absolute-sym): New dependency.
15354
10a446dd
MR
15355 [BZ #19818]
15356 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
15357 parameter.
15358 (SYMBOL_ADDRESS): New macro.
15359 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
15360 SYMBOL_ADDRESS for symbol address calculation.
15361 * elf/dl-runtime.c (_dl_fixup): Likewise.
15362 (_dl_profile_fixup): Likewise.
15363 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
15364 * elf/rtld.c (dl_main): Likewise.
15365 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
15366 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
15367 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
15368 (elf_machine_rela): Likewise.
15369 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
15370 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
15371 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15372 (elf_machine_rela): Likewise.
15373 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15374 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
15375 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
15376 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
15377 Likewise.
15378 (elf_machine_reloc): Likewise.
15379 (elf_machine_got_rel): Likewise.
15380 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
15381 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
15382 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15383 Likewise.
15384 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15385 Likewise.
15386 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
15387 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15388 Likewise.
15389 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15390 Likewise.
15391 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15392 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15393 Likewise.
15394 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15395 Likewise.
15396 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
15397 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15398
9185f86d
ZW
153992018-04-04 Zack Weinberg <zackw@panix.com>
15400
15401 * sysdeps/generic/internal-signals.h: Include signal.h,
15402 sigsetops.h, and stdbool.h.
15403 (__libc_signal_block_all): Actually block all signals.
15404 (__libc_signal_block_app): Likewise.
15405 (__libc_signal_restore_set): Actually restore the signal mask.
15406
b07367bc
FW
154072018-04-04 Florian Weimer <fweimer@redhat.com>
15408
15409 inet: Actually build and run tst-deadline.
15410 * inet/Makefile (tests-internal): Add tst-deadline and do not
15411 overwrite the variable.
15412 (tests-static-internal): Remove variable.
15413
f2652643
L
154142018-04-03 H.J. Lu <hongjiu.lu@intel.com>
15415
15416 [BZ #22947]
15417 * bits/uio-ext.h (RWF_APPEND): New.
15418 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
15419 * manual/llio.texi: Document RWF_APPEND.
15420 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
15421 (RWF_SUPPORTED): Add RWF_APPEND.
15422
6b5c8607 154232018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
d2dc5467
AZ
15424
15425 [BZ #22391]
15426 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
15427 check for internal nptl signals.
15428 * nptl/sigaction.c (__sigaction): Likewise.
15429 * signal/sigaddset.c (sigaddset): Likewise.
15430 * signal/sigdelset.c (sigdelset): Likewise.
15431 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
15432 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
15433 value.
15434 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
15435 to filter out internal nptl signals.
15436 * signal/tst-sigset.c (do_test): Check ech signal indidually and
15437 also check realtime signals using standard macros.
15438 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
15439 __is_internal_signal, __libc_signal_block_all,
15440 __libc_signal_block_app, __libc_signal_restore_set): New functions.
15441 * sysdeps/nptl/sigfillset.c: Remove file.
15442 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
15443 Change return to bool.
15444 (__clear_internal_signals): Remove SIGTIMER clean since it is
15445 equal to SIGCANEL on Linux.
15446 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
15447 signal set was constructed using standard functions.
15448
511ed56f
ST
154492018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
15450
92846492
ST
15451 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
15452 ifname is too long.
e8ef51b1
ST
15453 * hurd/hurdsig.c (interrupted_reply_port_location): Use
15454 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
ff297b70
ST
15455 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
15456 hidden def.
15457 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
d8440a21
ST
15458 * signal/sigaddset.c: Include <sigsetopts.h>.
15459 * signal/sigdelset.c: Likewise.
511ed56f 15460
e88ecbbf
WD
154612018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15462
15463 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
15464 (__cos): Likewise.
15465 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
15466 logic as sin and cos.
15467
aef3e255
WD
154682018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15469
15470 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
15471 inputs. Return correct sign.
15472 (do_sincos): Remove small input check before do_sin, let do_sin set
15473 the sign.
15474 (__sin): Likewise.
15475 (__cos): Likewise.
15476
72f6e9a3
WD
154772018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15478
15479 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
15480 (do_cos_slow): Likewise.
15481 (do_sin_slow): Likewise.
15482 (reduce_and_compute): Likewise.
15483 (slow): Likewise.
15484 (slow1): Likewise.
15485 (slow2): Likewise.
15486 (sloww): Likewise.
15487 (sloww1): Likewise.
15488 (sloww2): Likewise.
15489 (bslow): Likewise.
15490 (bslow1): Likewise.
15491 (bslow2): Likewise.
15492 (cslow2): Likewise.
15493
64909583
WD
154942018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15495
15496 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
15497 (do_cos): Remove corp parameter and calculations.
15498 (do_sin): Likewise.
15499 (do_sincos): Remove cor variable.
15500 (__sin): Use do_sincos for huge inputs.
15501 (__cos): Likewise.
15502 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
15503 (reduce_and_compute_sincos): Remove unused function.
15504
d9469deb
WD
155052018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15506
15507 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
15508 reduce_sincos, improve accuracy to 136 bits.
15509 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
15510 (__sin): Use improved reduction and simplified do_sincos calculation.
15511 (__cos): Likewise.
15512 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
15513
7a5640f2
WD
155142018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15515
15516 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
15517 (do_sincos_2): Likewise.
15518 (__sin): Remove middle range reduction case.
15519 (__cos): Likewise.
15520 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
15521 reduction case.
15522
19a8b9a3
WD
155232018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15524
15525 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
15526 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
15527 inputs.
15528 (__cos): Likewise.
15529 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
15530
f72aa11d
JM
155312018-04-03 Joseph Myers <joseph@codesourcery.com>
15532
15533 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19a8b9a3 15534 version to 4.16
f72aa11d 15535
8e4754ed
AZ
155362018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15537
15538 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
15539 Remove definitions.
15540 (opendir_oflags): Use O_DIRECTORY regardless.
15541 (__opendir, __opendirat): Remove need_isdir_precheck usage.
15542 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
15543
8e2666ea
ST
155442018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15545
15546 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
15547 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
15548 macros.
15549 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
15550 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
15551 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
15552 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
deed72f6
ST
15553 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
15554 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
8e2666ea 15555
ad2b41bf
ST
15556 * htl/Makefile: Bump licence to LGPL 2.1+.
15557 * htl/alloca_cutoff.c: Likewise.
15558 * htl/cthreads-compat.c: Likewise.
15559 * htl/lockfile.c: Likewise.
15560 * htl/pt-alloc.c: Likewise.
15561 * htl/pt-cancel.c: Likewise.
15562 * htl/pt-cleanup.c: Likewise.
15563 * htl/pt-create.c: Likewise.
15564 * htl/pt-dealloc.c: Likewise.
15565 * htl/pt-detach.c: Likewise.
15566 * htl/pt-exit.c: Likewise.
15567 * htl/pt-getattr.c: Likewise.
15568 * htl/pt-initialize.c: Likewise.
15569 * htl/pt-internal.h: Likewise.
15570 * htl/pt-join.c: Likewise.
15571 * htl/pt-self.c: Likewise.
15572 * htl/pt-setcancelstate.c: Likewise.
15573 * htl/pt-setcanceltype.c: Likewise.
15574 * htl/pt-sigmask.c: Likewise.
15575 * htl/pt-spin-inlines.c: Likewise.
15576 * htl/pt-testcancel.c: Likewise.
15577 * htl/pt-yield.c: Likewise.
15578 * htl/tests/test-1.c: Likewise.
15579 * htl/tests/test-10.c: Likewise.
15580 * htl/tests/test-11.c: Likewise.
15581 * htl/tests/test-12.c: Likewise.
15582 * htl/tests/test-13.c: Likewise.
15583 * htl/tests/test-14.c: Likewise.
15584 * htl/tests/test-15.c: Likewise.
15585 * htl/tests/test-16.c: Likewise.
15586 * htl/tests/test-17.c: Likewise.
15587 * htl/tests/test-2.c: Likewise.
15588 * htl/tests/test-3.c: Likewise.
15589 * htl/tests/test-4.c: Likewise.
15590 * htl/tests/test-5.c: Likewise.
15591 * htl/tests/test-6.c: Likewise.
15592 * htl/tests/test-7.c: Likewise.
15593 * htl/tests/test-8.c: Likewise.
15594 * htl/tests/test-9.c: Likewise.
15595 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
15596 * sysdeps/htl/bits/cancelation.h: Likewise.
15597 * sysdeps/htl/bits/pthread-np.h: Likewise.
15598 * sysdeps/htl/bits/pthread.h: Likewise.
15599 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
15600 * sysdeps/htl/bits/semaphore.h: Likewise.
15601 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
15602 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
15603 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
15604 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
15605 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
15606 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
15607 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
15608 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
15609 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
15610 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
15611 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
15612 * sysdeps/htl/old_pt-atfork.c: Likewise.
15613 * sysdeps/htl/pt-atfork.c: Likewise.
15614 * sysdeps/htl/pt-attr-destroy.c: Likewise.
15615 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
15616 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
15617 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
15618 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
15619 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
15620 * sysdeps/htl/pt-attr-getscope.c: Likewise.
15621 * sysdeps/htl/pt-attr-getstack.c: Likewise.
15622 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
15623 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
15624 * sysdeps/htl/pt-attr-init.c: Likewise.
15625 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
15626 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
15627 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
15628 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
15629 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
15630 * sysdeps/htl/pt-attr-setscope.c: Likewise.
15631 * sysdeps/htl/pt-attr-setstack.c: Likewise.
15632 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
15633 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
15634 * sysdeps/htl/pt-attr.c: Likewise.
15635 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
15636 * sysdeps/htl/pt-barrier-init.c: Likewise.
15637 * sysdeps/htl/pt-barrier-wait.c: Likewise.
15638 * sysdeps/htl/pt-barrier.c: Likewise.
15639 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
15640 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
15641 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
15642 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
15643 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
15644 * sysdeps/htl/pt-cond-destroy.c: Likewise.
15645 * sysdeps/htl/pt-cond-init.c: Likewise.
15646 * sysdeps/htl/pt-cond-signal.c: Likewise.
15647 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
15648 * sysdeps/htl/pt-cond-wait.c: Likewise.
15649 * sysdeps/htl/pt-cond.c: Likewise.
15650 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
15651 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
15652 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
15653 * sysdeps/htl/pt-condattr-init.c: Likewise.
15654 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
15655 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
15656 * sysdeps/htl/pt-destroy-specific.c: Likewise.
15657 * sysdeps/htl/pt-equal.c: Likewise.
15658 * sysdeps/htl/pt-getconcurrency.c: Likewise.
15659 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
15660 * sysdeps/htl/pt-getschedparam.c: Likewise.
15661 * sysdeps/htl/pt-getspecific.c: Likewise.
15662 * sysdeps/htl/pt-init-specific.c: Likewise.
15663 * sysdeps/htl/pt-key-create.c: Likewise.
15664 * sysdeps/htl/pt-key-delete.c: Likewise.
15665 * sysdeps/htl/pt-key.h: Likewise.
15666 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
15667 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
15668 * sysdeps/htl/pt-mutex-init.c: Likewise.
15669 * sysdeps/htl/pt-mutex-lock.c: Likewise.
15670 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
15671 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
15672 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
15673 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
15674 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
15675 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
15676 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
15677 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
15678 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
15679 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
15680 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
15681 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
15682 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
15683 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
15684 * sysdeps/htl/pt-mutexattr.c: Likewise.
15685 * sysdeps/htl/pt-once.c: Likewise.
15686 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
15687 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
15688 * sysdeps/htl/pt-rwlock-init.c: Likewise.
15689 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
15690 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
15691 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
15692 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
15693 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
15694 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
15695 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
15696 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
15697 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
15698 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
15699 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
15700 * sysdeps/htl/pt-setconcurrency.c: Likewise.
15701 * sysdeps/htl/pt-setschedparam.c: Likewise.
15702 * sysdeps/htl/pt-setschedprio.c: Likewise.
15703 * sysdeps/htl/pt-setspecific.c: Likewise.
15704 * sysdeps/htl/pt-spin.c: Likewise.
15705 * sysdeps/htl/pt-startup.c: Likewise.
15706 * sysdeps/htl/pthread.h: Likewise.
15707 * sysdeps/htl/sem-close.c: Likewise.
15708 * sysdeps/htl/sem-destroy.c: Likewise.
15709 * sysdeps/htl/sem-getvalue.c: Likewise.
15710 * sysdeps/htl/sem-init.c: Likewise.
15711 * sysdeps/htl/sem-open.c: Likewise.
15712 * sysdeps/htl/sem-post.c: Likewise.
15713 * sysdeps/htl/sem-timedwait.c: Likewise.
15714 * sysdeps/htl/sem-trywait.c: Likewise.
15715 * sysdeps/htl/sem-unlink.c: Likewise.
15716 * sysdeps/htl/sem-wait.c: Likewise.
15717 * sysdeps/hurd/htl/pt-kill.c: Likewise.
15718 * sysdeps/i386/htl/pt-machdep.h: Likewise.
15719 * sysdeps/mach/htl/pt-block.c: Likewise.
15720 * sysdeps/mach/htl/pt-spin.c: Likewise.
15721 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
15722 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
15723 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
15724 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
15725 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
15726 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
15727 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
15728 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
15729 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
15730 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
15731 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
15732 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
15733 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
15734 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
15735 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
15736 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
15737 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
15738 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
15739 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
15740 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
15741 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
15742 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
15743 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
15744 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
15745 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
15746 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
15747 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
15748 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
15749 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
15750 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
15751 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
15752 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
15753 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
15754 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
15755 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
15756 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
15757 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
15758 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
15759 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
15760 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
15761 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
15762 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
15763 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
15764
fb03b04b
ST
15765 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
15766 * README: Remove the mention of out-of-tree patches needed for
15767 GNU/Hurd.
15768
fa9e1555
ST
15769 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
15770 (UTIME_NOW, UTIME_OMIT): Define macros.
15771
f6fb29d2
ST
15772 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
15773 instead of pthread_detach.
15774 (__cthread_fork): Call __pthread_create instead of pthread_create.
15775 (__cthread_keycreate): Call __pthread_key_create instead of
15776 pthread_key_create.
15777 (__cthread_getspecific): Call __pthread_getspecific instead of
15778 pthread_getspecific.
15779 (__cthread_setspecific): Call __pthread_setspecific instead of
15780 pthread_setspecific.
15781 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
15782 __pthread_mutex_unlock instead of pthread_mutex_lock and
15783 pthread_mutex_unlock.
15784 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
15785 ___pthread_get_cleanup_stack.
15786 (__pthread_get_cleanup_stack): New strong alias.
15787 * htl/pt-create.c: Include <pthreadP.h>.
15788 (entry_point): Call __pthread_exit instead of pthread_exit.
15789 (pthread_create): Rename to __pthread_create.
15790 (pthread_create): New strong alias.
15791 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
15792 (pthread_detach): New strong alias.
15793 (__pthread_detach): Call __pthread_cond_broadcast instead of
15794 pthread_cond_broadcast.
fe9748cc
ST
15795 * htl/pt-exit.c: Include <pthreadP.h>.
15796 (__pthread_exit): Call __pthread_setcancelstate and
15797 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
15798 __pthread_get_cleanup_stack.
f6fb29d2
ST
15799 * htl/pt-testcancel.c: Include <pthreadP.h>.
15800 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
15801 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
15802 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
15803 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
15804 pthread_attr_getstacksize.
15805 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
15806 Rename to __pthread_attr_getstackaddr.
15807 (pthread_attr_getstackaddr): New strong alias.
15808 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
15809 Rename to __pthread_attr_getstacksize.
15810 (pthread_attr_getstacksize): New strong alias.
15811 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
15812 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
15813 (pthread_attr_setstack): New strong alias.
15814 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
15815 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
15816 pthread_attr_getstacksize, pthread_attr_setstacksize and
15817 pthread_attr_setstackaddr.
15818 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
15819 Rename to __pthread_attr_setstackaddr.
15820 (pthread_attr_setstackaddr): New strong alias.
15821 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
15822 Rename to __pthread_attr_setstacksize.
15823 (pthread_attr_setstacksize): New strong alias.
15824 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
15825 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
15826 pthread_exit.
15827 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
15828 (__pthread_key_create): New hidden def.
15829 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
15830 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
15831 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
15832 __pthread_exit, __pthread_key_create, __pthread_getspecific,
15833 __pthread_setspecific, __pthread_setcancelstate,
15834 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
15835 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
15836 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
15837 declarations.
15838 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
15839 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
15840 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
15841 (pthread_attr_setstackaddr): New strong alias.
15842 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
15843 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
15844 (pthread_attr_setstacksize): New strong alias.
15845 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
15846 (call_exit): Call __pthread_exit instead of pthread_exit.
15847 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
15848 (_pthread_mutex_init): New hidden definition.
15849 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
15850 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
15851 instead of pthread_attr_init and pthread_attr_setstack.
15852
dba2bdbe
ST
15853 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
15854 __vm_deallocate instead of vm_allocate and vm_deallocate.
15855 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
15856 setenv.
15857 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
15858 of geteuid.
15859 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
15860 strdup.
15861 * hurd/siginfo.c: Include <libioP.h>.
15862 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
15863 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
15864 munmap.
dba2bdbe
ST
15865 * mach/devstream.c: Include <libioP.h>.
15866 (dealloc_ref): Call __mach_port_deallocate instead of
15867 mach_port_deallocate.
15868 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
15869 Call __mach_port_deallocate instead of mach_port_deallocate.
15870 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
15871 pathconf.
15872 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
15873 munmap.
15874 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
15875 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
15876 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
15877 of munmap.
15878 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
15879 of close.
15880 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
15881 instead of sysconf.
15882 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
15883 __clock_gettime instead of clock_gettime.
15884 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
15885 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
15886 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
15887 * sysdeps/unix/bsd/stty.c (stty): Likewise.
15888 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
15889 tcgetattr.
15890 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
15891 __clock_gettime and __nanosleep instead of clock_gettime and
15892 nanosleep.
7a8f45e3
ST
15893 * hurd/catch-signal.c (hurd_catch_signal): Rename to
15894 __hurd_catch_signal.
15895 (hurd_catch_signal): New strong alias.
15896 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
15897 __hurd_catch_signal instead of hurd_catch_signal.
15898 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
15899 * hurd/hurdexec.c (_hurd_init): Add hidden def.
15900 * hurd/hurdinit.c (_hurd_init): Add hidden def.
15901 * hurd/hurdsig.c: Include <mach/mig_support.h>.
15902 (_hurd_thread_sigstate): Add hidden def.
15903 (_hurd_internal_post_signal): Use __mutex_unlock instead of
15904 mutex_unlock.
15905 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
15906 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
15907 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
15908 __hurd_file_name_path_lookup.
15909 (hurd_file_name_path_lookup): New strong alias.
15910 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
15911 hurd_file_name_path_lookup.
15912 * mach/errstring.c (mach_error_type): Add hidden def.
15913 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
15914 * mach/mutex-init.c (__mutex_init): Add hidden def.
15915 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
15916 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
15917 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
15918 * sysdeps/mach/hurd/getcwd.c
15919 (_hurd_canonicalize_directory_name_internal): Rename to
15920 __hurd_canonicalize_directory_name_internal.
15921 (_hurd_canonicalize_directory_name_internal): New strong alias.
15922 (__canonicalize_directory_name_internal, __getcwd): Call
15923 __hurd_canonicalize_directory_name_internal instead of
15924 _hurd_canonicalize_directory_name_internal.
15925 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
15926 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
15927 hidden defs.
15928 * sysdeps/hurd/include/hurd.h: New file.
15929 * sysdeps/hurd/include/hurd/fd.h: New file.
15930 * sysdeps/hurd/include/hurd/signal.h: New file.
15931 * sysdeps/mach/include/lock-intern.h: New file.
15932 * sysdeps/mach/include/mach.h: New file.
15933 * sysdeps/mach/include/mach/mig_support.h: New file.
15934 * sysdeps/mach/include/mach_error.h: New file.
a758c293
ST
15935 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
15936 prototype.
15937 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
15938 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
15939 _HEADER_H_HIDDEN_DEF macro.
15940 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
15941 _hurd_fd_error_signal): Add hidden prototype.
15942 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
15943 hidden def.
82dbf555
ST
15944 * libio/iolibio.h (_IO_puts): New hidden prototype.
15945 * libio/ioputs.c (_IO_puts): New hidden def.
171488a2
ST
15946 * sysdeps/mach/hurd/localplt.data: New file.
15947
33574c17 159482018-04-02 Agustina Arzille <avarzille@riseup.net>
b39d961c
TS
15949 Amos Jeffries <squid3@treenet.co.nz>
15950 David Michael <fedora.dm0@gmail.com>
15951 Marco Gerards <marco@gnu.org>
15952 Marcus Brinkmann <marcus@gnu.org>
15953 Neal H. Walfield <neal@gnu.org>
15954 Pino Toscano <toscano.pino@tiscali.it>
15955 Richard Braun <rbraun@sceen.net>
15956 Roland McGrath <roland@gnu.org>
15957 Samuel Thibault <samuel.thibault@ens-lyon.org>
15958 Thomas DiModica <ricinwich@yahoo.com>
15959 Thomas Schwinge <tschwinge@gnu.org>
33574c17
ST
15960
15961 * htl: New directory.
15962 * sysdeps/htl: New directory.
15963 * sysdeps/hurd/htl: New directory.
15964 * sysdeps/i386/htl: New directory.
15965 * sysdeps/mach/htl: New directory.
15966 * sysdeps/mach/hurd/htl: New directory.
15967 * sysdeps/mach/hurd/i386/htl: New directory.
15968 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
15969 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
15970 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
15971
03e2aa50
ST
159722018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15973
15974 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
15975 signals in thread created for runing timers.
15976
1aa52ced
FW
159772018-04-01 Florian Weimer <fweimer@redhat.com>
15978
15979 * support/support_format_addrinfo.c (support_format_addrinfo):
15980 Include unknown error number in formatted result.
15981
4d76d3e5
FW
159822018-03-29 Florian Weimer <fweimer@redhat.com>
15983
15984 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
15985 capture SIGBUS.
15986
d39c0a45
AZ
159872018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15988
15989 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
15990 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
15991 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15992 (__ASSUME_CLONE_BACKWARDS): Define.
15993
cc8a1620
JH
159942018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
15995
57408435 15996 [BZ #23024]
cc8a1620
JH
15997 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
15998 early when linux sentinel value is set.
15999
8bfd94d0
ST
160002018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16001
16002 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
16003
f178e59f
AS
160042018-03-27 Andreas Schwab <schwab@suse.de>
16005
16006 [BZ #23005]
16007 * resolv/res_send.c (__res_context_send): Return ENOMEM if
16008 allocation of private copy of nsaddr_list fails.
16009
5f45f96a
JM
160102018-03-26 Joseph Myers <joseph@codesourcery.com>
16011
16012 [BZ #16552]
16013 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
16014 * sysdeps/unix/sysv/linux/umount.c: ... here.
16015 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
16016 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
16017 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
16018 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
16019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
16020 * sysdeps/unix/sysv/linux/umount.S: Likewise.
16021 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
16022
3dfd23eb
AS
160232018-03-26 Andreas Schwab <schwab@suse.de>
16024
16025 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
16026 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
16027 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
16028 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
16029 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
16030 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
16031 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
16032 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
16033 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
16034 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
16035 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
16036 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
16037 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
16038 (R_RISCV_NUM): Define.
16039
fa97d2ab
ST
160402018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
16041
16042 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
16043 TLS declaration of errno.
37be82a0
ST
16044 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
16045 __libc_setup_tls.
16046 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
16047 (ARCH_SETUP_TLS): Likewise.
16048 * sysdeps/mach/hurd/libc-start.h: New file copied from
16049 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
978a6803
ST
16050 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
16051 instead of __libc_setup_tls.
37be82a0 16052 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
978a6803
ST
16053 __libc_setup_tls before initializing libpthread and running _hurd_init
16054 which starts the signal thread.
16055 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
16056 Declare function.
2d813d7b 16057 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fa97d2ab 16058
b8114edd
L
160592018-03-24 H.J. Lu <hongjiu.lu@intel.com>
16060
16061 [BZ #22998]
16062 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
16063 after it is defined.
16064
cd66c0e5
AS
160652018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
16066 Max Horn <max@quendi.de>
16067
16068 [BZ #22644]
43d4f3d5 16069 CVE-2017-18269
cd66c0e5
AS
16070 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
16071 branch conditions.
16072 * string/test-memmove.c (do_test2): New testcase.
16073
a4406139
JM
160742018-03-22 Joseph Myers <joseph@codesourcery.com>
16075
16076 * sysdeps/generic/frame.h: Remove file.
16077 * sysdeps/arm/frame.h: Likewise.
16078 * sysdeps/hppa/frame.h: Likewise.
16079 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
16080 macro.
16081 (GET_FRAME): Likewise.
16082 (GET_STACK): Likewise.
16083 (CALL_SIGHANDLER): Likewise.
16084 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
16085 Likewise.
16086 (GET_FRAME): Likewise.
16087 (GET_STACK): Likewise.
16088 (CALL_SIGHANDLER): Likewise.
16089 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
16090 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16091 (GET_FRAME): Likewise.
16092 (GET_STACK): Likewise.
16093 (CALL_SIGHANDLER): Likewise.
16094 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
16095 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16096 (GET_FRAME): Likewise.
16097 (GET_STACK): Likewise.
16098 (ADVANCE_STACK_FRAME): Likewise.
16099 (CALL_SIGHANDLER): Likewise.
16100 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
16101 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16102 (GET_FRAME): Likewise.
16103 (GET_STACK): Likewise.
16104 (CALL_SIGHANDLER): Likewise.
16105 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
16106 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16107 (GET_FRAME): Likewise.
16108 (GET_STACK): Likewise.
16109 (CALL_SIGHANDLER): Likewise.
16110 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
16111 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16112 (GET_FRAME): Likewise.
16113 (GET_STACK): Likewise.
16114 (CALL_SIGHANDLER): Likewise.
16115 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
16116 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16117 (GET_FRAME): Likewise.
16118 (GET_STACK): Likewise.
16119 (CALL_SIGHANDLER): Likewise.
16120 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
16121 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16122 (GET_FRAME): Likewise.
16123 (GET_STACK): Likewise.
16124 (CALL_SIGHANDLER): Likewise.
16125 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
16126 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16127 (GET_FRAME): Likewise.
16128 (GET_STACK): Likewise.
16129 (CALL_SIGHANDLER): Likewise.
16130 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
16131 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16132 (GET_FRAME): Likewise.
16133 (GET_STACK): Likewise.
16134 (CALL_SIGHANDLER): Likewise.
16135 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
16136 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16137 (GET_FRAME): Likewise.
16138 (GET_STACK): Likewise.
16139 (CALL_SIGHANDLER): Likewise.
16140 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
16141 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16142 (GET_FRAME): Likewise.
16143 (GET_STACK): Likewise.
16144 (CALL_SIGHANDLER): Likewise.
16145 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
16146 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16147 (FIRST_FRAME_POINTER): Likewise.
16148 (ADVANCE_STACK_FRAME): Likewise.
16149 (GET_STACK): Likewise.
16150 (GET_FRAME): Likewise.
16151 (CALL_SIGHANDLER): Likewise.
16152 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
16153 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16154 (ADVANCE_STACK_FRAME): Likewise.
16155 (GET_STACK): Likewise.
16156 (GET_FRAME): Likewise.
16157 (CALL_SIGHANDLER): Likewise.
16158 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
16159 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16160 (GET_FRAME): Likewise.
16161 (GET_STACK): Likewise.
16162 (CALL_SIGHANDLER): Likewise.
16163 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
16164 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16165 (GET_FRAME): Likewise.
16166 (GET_STACK): Likewise.
16167 (CALL_SIGHANDLER): Likewise.
16168
ffec7b27
JM
161692018-03-21 Joseph Myers <joseph@codesourcery.com>
16170
16171 * sysdeps/x86_64/backtrace.c: Move to ....
16172 * debug/backtrace.c: ... here.
16173 * sysdeps/aarch64/backtrace.c: Remove file.
16174 * sysdeps/alpha/backtrace.c: Likewise.
16175 * sysdeps/hppa/backtrace.c: Likewise.
16176 * sysdeps/ia64/backtrace.c: Likewise.
16177 * sysdeps/mips/backtrace.c: Likewise.
16178 * sysdeps/nios2/backtrace.c: Likewise.
16179 * sysdeps/riscv/backtrace.c: Likewise.
16180 * sysdeps/sh/backtrace.c: Likewise.
16181 * sysdeps/tile/backtrace.c: Likewise.
16182
8a07b0c4
JM
161832018-03-20 Joseph Myers <joseph@codesourcery.com>
16184
d0c5d731
JM
16185 [BZ #22987]
16186 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
16187 function.
16188 (fdimf): Likewise.
16189 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
16190
8a07b0c4
JM
16191 [BZ #17343]
16192 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
16193 possibly overflowing computations.
16194
ceb54b9b
ST
161952018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
16196
16197 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
16198 values from Linux-specific section now that it is in the GNU section.
16199 * sysdeps/gnu/errlist.c: Regenerate.
16200
8d3f9e85
JM
162012018-03-20 Joseph Myers <joseph@codesourcery.com>
16202
16203 * math/Makefile (libm-narrow-fns): Add sub.
16204 (libm-test-funcs-narrow): Likewise.
16205 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
16206 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
16207 * math/gen-auto-libm-tests.c (test_functions): Add sub.
16208 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
16209 (NARROW_SUB_ROUND_TO_ODD): Likewise.
16210 (NARROW_SUB_TRIVIAL): Likewise.
16211 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
16212 macro.
16213 (__dsubl): Likewise.
16214 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
16215 dsub.
16216 (CFLAGS-nldbl-dsub.c): New variable.
16217 (CFLAGS-nldbl-fsub.c): Likewise.
16218 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16219 __nldbl_dsubl.
16220 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
16221 prototype.
16222 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
16223 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
16224 * math/auto-libm-test-in: Add tests of sub.
16225 * math/auto-libm-test-out-narrow-sub: New generated file.
16226 * math/libm-test-narrow-sub.inc: New file.
16227 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
16228 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
16229 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
16230 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
16231 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
16232 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
16233 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
16234 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
16235 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
16236 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
16237 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
16238 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
16239 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
16240 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
16241 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
16242 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
16243 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
16244 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
16245 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16246 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16247 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16248 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16249 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16250 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16251 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16252 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16253 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16254 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16255 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16256 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16257 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16258 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16263 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16264 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16265 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16266 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16267 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16268 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16269 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
16270 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
16271 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16272 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16273
d473f015
JM
162742018-03-19 Joseph Myers <joseph@codesourcery.com>
16275
16276 [BZ #20079]
16277 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
16278
fbce6f72
WD
162792018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
16280
16281 * benchtests/bench-timing.h (attribute_hidden): Undefine.
16282
72e7ffc3
RB
162832018-03-18 Richard Braun <rbraun@sceen.net>
16284
16285 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
16286 thread reference.
16287
542c20a1
AA
162882018-03-18 Agustina Arzille <avarzille@riseup.net>
16289
16290 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
16291 (__libc_cleanup_fct): Define function.
16292 (__libc_cleanup_region_start, __libc_cleanup_region_end,
16293 __libc_cleanup_end): Rewrite implementation using
16294 __attribute__ ((__cleanup__)).
16295 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
fb4cc8a0
AA
16296 * hurd/Makefile (routines): Add hurdlock.
16297 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
16298 interface.
16299 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
16300 * hurd/hurdpid.c: Include <lowlevellock.h>
16301 (_S_msg_proc_newids): Use lll_wait to synchronize.
16302 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
16303 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
16304 * mach/Makefile (lock-headers): Remove machine-lock.h.
16305 * mach/lock-intern.h: Include <lowlevellock.h> instead of
16306 <machine-lock.h>.
16307 (__spin_lock_t): New type.
16308 (__SPIN_LOCK_INITIALIZER): New macro.
16309 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
16310 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
16311 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
16312 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
16313 (__mutex_init): Initialize with lll.
16314 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
16315 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
16316 needing lll.
16317 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16318 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
16319 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
16320 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
16321 (__setpgid): Use lll for synchronization.
16322 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
16323 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
16324 instead of <cthreads.h>.
16325 (_IO_lock_inexpensive): New macro
16326 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
16327 (__libc_lock_self0): New declaration.
16328 (__libc_lock_owner_self): New macro.
16329 (__libc_key_t): Remove type.
16330 (_LIBC_LOCK_INITIALIZER): New macro.
16331 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
16332 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
16333 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
16334 __libc_lock_define_initialized_recursive,
16335 __rtld_lock_define_initialized_recursive,
16336 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
16337 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
16338 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
16339 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
16340 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
16341 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
16342 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
16343 New macros.
16344 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
16345 * hurd/hurdlock.c: New file.
16346 * hurd/hurdlock.h: New file.
16347 * mach/lowlevellock.h: New file
542c20a1 16348
9a37922e
ST
163492018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16350
16351 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
489999cc
ST
16352 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
16353 when opening a symlink with O_NOFOLLOW.
72103e73
ST
16354 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
16355 path when flags contains O_NOFOLLOW.
16356 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
16357 if flags contains O_DIRECTORY and the result is a directory.
aa218929
ST
16358 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
16359 oneself when the pointer given in D is nul (as set by ext2fs).
20bc801b
ST
16360 * sysdeps/mach/hurd/mlockall.c: New file.
16361 * sysdeps/mach/hurd/munlockall.c: New file.
9a37922e 16362
34e6a869
ST
163632018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
16364
16365 * hurd/hurdsig.c: Include <pthread.h>.
16366 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
16367 get the signal thread stack layout.
dc33bef3
ST
16368 * hurd/Makefile (headers): Remove threadvar.h.
16369 (inline-headers): Remove threadvar.h.
16370 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
16371 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
16372 __hurd_threadvar_max, __hurd_errno_location.
16373 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
16374 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
16375 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
16376 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
16377 unless TLS is not initialized yet, in which case we do not need a
16378 critical section yet anyway.
16379 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
16380 <machine-sp.h>.
16381 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
16382 declarations.
16383 (__hurd_threadvar_index): Remove enum.
16384 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
16385 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
16386 inlines.
16387 (__hurd_reply_port0): New variable declaration.
16388 (__hurd_local_reply_port): New macro.
16389 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
16390 (interrupted_reply_port_location): Add thread_t parameter. Use it
16391 with THREAD_TCB to access thread-local variables.
16392 (_hurdsig_abort_rpcs): Pass ss->thread to
16393 interrupted_reply_port_location.
16394 (_hurd_internal_post_signal): Likewise.
16395 (_hurdsig_init): Use presence of cthread_fork instead of
16396 __hurd_threadvar_stack_mask to start signal thread by hand.
16397 Remove signal thread threadvar initialization.
16398 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
16399 * hurd/sigunwind.c: Include <hurd/threadvar.h>
16400 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
16401 of threadvar.
16402 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
16403 __libc_lock_self0.
16404 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
16405 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
16406 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
16407 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
16408 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
16409 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
16410 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
16411 define variables.
16412 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
16413 <hurd/threadvar.h>.
16414 [IS_IN(rtld)] (rtld_errno): New variable.
16415 [IS_IN(rtld)] (__errno_location): New weak function.
16416 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
16417 * sysdeps/mach/hurd/errno.c: Remove file.
16418 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
16419 (__fork): Remove THREADVAR_SPACE macro and its use.
16420 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
16421 variable.
16422 (init): Do not initialize threadvar.
16423 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
16424 symbol.
16425 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
16426 __hurd_local_reply_port instead of threadvar.
16427 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
16428 _hurd_sigstate fields.
16429 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
16430 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
16431 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
16432 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
16433 instead of threadvar.
16434 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
16435 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
16436 (use_threadvar, global_reply_port): Remove variables.
16437 (__hurd_reply_port0): New variable.
16438 (__mig_get_reply_port): Use __hurd_local_reply_port and
16439 __hurd_reply_port0 instead of threadvar.
16440 (__mig_dealloc_reply_port): Likewise.
16441 (__mig_init): Do not initialize threadvar.
16442 * sysdeps/mach/hurd/profil.c: Fix comment.
c2fb08c7
ST
16443 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
16444 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
16445 cthread_keycreate, cthread_getspecific, cthread_setspecific to
16446 __cthread_fork, __cthread_detach, __pthread_getattr_np,
16447 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
16448 __cthread_setspecific.
16449 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
16450 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
16451 __cthread_t instead of cthread_fork, cthread_detach,
16452 pthread_getattr_np, pthread_attr_getstack.
16453 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
16454 __cthread_keycreate.
16455 (cthread_getspecific): Rename to __cthread_getspecific.
16456 (cthread_setspecific): Rename to __cthread_setspecific.
16457 (__libc_getspecific): Use __cthread_getspecific instead of
16458 cthread_getspecific.
16459 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
16460 __cthread_keycreate instead of cthread_keycreate.
16461 (__libc_setspecific): Use __cthread_setspecific instead of
16462 cthread_setspecific.
16463 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
16464 Likewise.
dd28d4ba
ST
16465 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
16466 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
16467 testing whether it is defined.
34e6a869 16468
f8baf2a2
ST
164692018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16470
16471 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
16472 Define macro.
16473 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
16474 * sysdeps/mach/i386/thread_state.h
16475 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
16476 i386_THREAD_STATE.
16477 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
16478 i386_THREAD_STATE.
16479 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
16480
16481 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
16482 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
16483
16484 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
16485 macros.
16486 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
16487 descriptor instead of creating a new one.
16488 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
16489
16490 * mach/setup-thread.c: Include <ldsodefs.h>.
16491 (__mach_setup_thread): Call _dl_allocate_tls, pass
16492 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
16493 MACHINE_THREAD_STATE_FLAVOR, before getting
16494 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
16495 MACHINE_THREAD_STATE_FLAVOR with the result.
16496 * hurd/hurdfault.c (_hurdsig_fault_init): Call
16497 MACHINE_THREAD_STATE_FIX_NEW.
16498 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
16499 too. Add original thread parameter.
16500
34ba96b8
JM
165012018-03-16 Joseph Myers <joseph@codesourcery.com>
16502
5d75b75f
JM
16503 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
16504 Remove inline function.
16505
34ba96b8
JM
16506 * sysdeps/i386/fpu/libm-test-ulps: Update.
16507 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
16508
22679b2c
WD
165092018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
16510
16511 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
16512 commit.
16513
c429a8d8
JM
165142018-03-15 Joseph Myers <joseph@codesourcery.com>
16515
16516 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
16517 (__sincos_code): Remove define and undefine.
16518 [__FAST_MATH__] (__sincos): Remove inline function.
16519 [__FAST_MATH__] (__sincosf): Remove inline function.
16520 [__FAST_MATH__] (__sincosl): Remove inline function.
16521 (__atan2l): Remove inline functions.
16522 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
16523 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
16524 function.
16525 (floor): Remove inline function.
16526 (ceil): Likewise.
16527 [__FAST_MATH__] (__ldexp_code): Remove macro.
16528 [__FAST_MATH__] (ldexp): Remove inline function.
16529 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
16530 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
16531 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
16532 [__USE_ISOC99] (__lrint_code): Remove macro.
16533 [__USE_ISOC99] (__llrint_code): Likewise.
16534 [__USE_ISOC99] (lrintf): Remove inline function.
16535 [__USE_ISOC99] (lrint): Likewise.
16536 [__USE_ISOC99] (lrintl): Likewise.
16537 [__USE_ISOC99] (llrint): Likewise.
16538 [__USE_ISOC99] (llrintf): Likewise.
16539 [__USE_ISOC99] (llrintl): Likewise.
16540
700593fd
WD
165412018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16542
16543 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
16544 (__ieee754_sqrtf): Remove.
16545 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
16546 (__ieee754_sqrtf): Remove.
16547 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
16548 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
16549 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
16550 (__ieee754_sqrtf): Remove.
16551 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
16552 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
16553 (sqrtf): Remove.
16554 (sqrtl): Remove.
16555 (__ieee754_sqrt): Remove.
16556 (__ieee754_sqrtf): Remove.
16557 (__ieee754_sqrtl): Remove.
16558 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
16559 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
16560 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
16561 (__ieee754_sqrtf): Remove.
16562 (__ieee754_sqrtl): Remove.
16563
f67a8147
WD
165642018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16565
16566 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
16567 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
16568 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
16569 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
16570 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
16571 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16572 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16573 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
16574 Likewise.
16575 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
16576 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
16577 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
16578 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
16579 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
16580 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
16581 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
16582 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
16583 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
16584 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
16585 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
16586 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
16587 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
16588 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
16589 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
16590 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16591 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16592 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
16593 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
16594 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
16595 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16596 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16597 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
16598 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
16599 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
16600 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
16601 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16602 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16603 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
16604 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
16605 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
16606 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
16607 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
16608 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
16609 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16610 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16611 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
16612 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
16613 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
16614 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
16615
1294b189
WD
166162018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16617
16618 * include/math.h (sqrt): Declare with asm redirect.
16619 (sqrtf): Likewise.
16620 (sqrtl): Likewise.
16621 (sqrtf128): Likewise.
16622 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
16623 nonlib and libnldbl with -fmath-errno.
16624 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
16625 * math/w_sqrt_template.c: Likewise.
16626 * math/w_sqrtf_compat.c: Likewise.
16627 * math/w_sqrtl_compat.c: Likewise.
16628 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
16629 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
16630 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
16631 complex.h.
16632
f1c8185d
WD
166332018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16634
16635 * benchtests/Makefile: Define _ISOMAC.
16636 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
16637 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
16638 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
16639 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
16640 * benchtests/bench-timing.h: Define attribute_hidden.
16641
b47c3e76
SP
166422018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
16643
16644 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
16645 mov + lsr.
16646
807fee29
RL
166472018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16648
16649 [BZ #22963]
16650 * localedata/locales/cs_CZ (mon): Rename to...
16651 (alt_mon): This.
16652 (mon): Import from CLDR (genitive case).
16653
e7155a28
RL
166542018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16655
16656 [BZ #22937]
16657 * localedata/locales/el_CY (abmon): Rename to...
16658 (ab_alt_mon): This.
16659 (abmon): Import from CLDR (abbreviated genitive case).
16660 * localedata/locales/el_GR (abmon): Rename to...
16661 (ab_alt_mon): This.
16662 (abmon): Import from CLDR (abbreviated genitive case).
16663
71d7b121
RL
166642018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16665
16666 [BZ #22932]
16667 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
16668
a00bffe8
RB
166692018-03-15 Robert Buj <robert.buj@gmail.com>
16670
16671 [BZ #22848]
16672 * localedata/locales/ca_ES (abmon): Rename to...
16673 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
16674 (mon): Rename to...
16675 (alt_mon): This.
16676 (abmon): Import from CLDR (genitive case, month names preceded by
16677 "de" or "d’").
16678 (mon): Likewise.
16679 (abday): Synchronize with CLDR.
16680 (d_t_fmt): Likewise.
16681 (d_fmt): Likewise.
16682 (am_pm): Likewise.
16683
16684 (LC_TIME): Improve indentation.
16685 (LC_TELEPHONE): Likewise.
16686 (LC_NAME): Likewise.
16687 (LC_ADDRESS): Likewise.
16688
f9555d73
JM
166892018-03-14 Joseph Myers <joseph@codesourcery.com>
16690
16691 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
16692 (lrintf): Remove definitions used only with old GCC.
16693 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
16694 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
16695 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
16696 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
16697 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
16698 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
16699 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
16700 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
16701 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
16702 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
16703 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
16704 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
16705 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
16706 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
16707 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
16708 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
16709 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
16710 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
16711 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
16712 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
16713 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
16714 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
16715 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
16716 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
16717 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
16718 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
16719 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
16720 [__FAST_MATH__] (__M_SQRT2): Remove macro.
16721
d46f84de
SP
167222018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
16723
16724 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
16725 instruction to unbreak builds with binutils 2.26 and older.
16726
7108f1f9
SP
167272018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
16728
16729 * sysdeps/aarch64/strncmp.S (count): New macro.
16730 (strncmp): Store misaligned length in SRC1 in COUNT.
16731 (mutual_align): Adjust.
16732 (misaligned8): Load dword at a time when it is safe.
16733
2cc7bad0
ZW
167342018-03-12 Zack Weinberg <zackw@panix.com>
16735
16736 [BZ #1190]
16737 [BZ #19476]
16738 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
16739 if the _IO_EOF_SEEN bit is already set; update commentary.
16740 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
16741 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
16742
16743 * support/support_openpty.c, support/tty.h: New files.
16744 * support/Makefile (libsupport-routines): Add support_openpty.
16745
16746 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
16747 New test cases.
16748 * libio/Makefile (tests): Add tst-fgetc-after-eof.
16749 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
16750
778f1974
DL
167512018-03-12 Dmitry V. Levin <ldv@altlinux.org>
16752
16753 * po/pt_BR.po: Update translations.
16754
6b5c8607 167552018-03-12 David Michael <fedora.dm0@gmail.com>
da6d4404
DM
16756
16757 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
16758 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
16759 get a port to the startup server.
16760
d3da750d
ZW
167612018-03-11 Zack Weinberg <zackw@panix.com>
16762
16763 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
16764 before nldbl-compat.h.
16765
054b72cc
ZW
167662018-03-10 Zack Weinberg <zackw@panix.com>
16767
0d13dfa1
ZW
16768 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
16769 math.h or math_private.h.
16770
16771 * sysdeps/alpha/fpu/s_isnan.c
16772 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
16773 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
16774 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
16775 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
16776 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
16777 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
16778 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
16779 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
16780 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
16781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
16782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
16783 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
16784 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
16785 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
16786 Include math_private.h.
16787
16788 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
16789 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
16790 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
16791 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
16792 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
16793 * sysdeps/powerpc/power7/fpu/s_logb.c:
16794 Include math.h and math_private.h.
16795
054b72cc
ZW
16796 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
16797 uses of $at in .set noat / .set at.
16798
6253bacd
L
167992018-03-10 H.J. Lu <hongjiu.lu@intel.com>
16800
16801 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
16802 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
16803 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
16804 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
16805 Likewise.
16806
229855e5
FW
168072018-03-09 Florian Weimer <fweimer@redhat.com>
16808
16809 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
16810 in comment.
16811
9aa5c222
AJ
168122018-03-09 Aurelien Jarno <aurelien@aurel32.net>
16813
16814 [BZ #22919]
16815 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
16816 Add nop before __startcontext, add explaining comments.
16817
3dc21497
AZ
168182018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16819
e921c89e
AZ
16820 [BZ #22926]
16821 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
16822 empty for __SPE__.
16823 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
16824 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
16825 Do not build hardware transactional code for __SPE__.
16826 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
16827 (__lll_trylock_elision): Likewise.
16828 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
16829 (__lll_unlock_elision): Likewise.
16830
d9f26dab 16831 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
3dc21497
AZ
16832 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
16833 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
16834 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
16835 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
16836 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
16837 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
16838 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
16839 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
16840 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
16841 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
16842 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
16843 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
16844 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
16845 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
16846 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
16847 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
16848 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
16849 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
16850 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
16851 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
16852 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16853 (__ASSUME_CLONE_BACKWARDS): Define.
16854 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
16855 __clone2 if __NR_clone2 is defined.
16856 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16857 (__ASSUME_CLONE_BACKWARDS): Likewise.
16858 * sysdeps/unix/sysv/linux/i386/kernel-features.h
16859 (__ASSUME_CLONE_BACKWARDS): Likewise.
16860 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16861 (__ASSUME_CLONE2): Likewise.
16862 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16863 (__ASSUME_CLONE_BACKWARDS3): Likewise.
16864 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
16865 variants and the define architecture can use.
16866 (__ASSUME_CLONE_DEFAULT): Define as default.
16867 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16868 (__ASSUME_CLONE_BACKWARDS): Likewise.
16869 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16870 (__ASSUME_CLONE_BACKWARDS): Likewise.
16871 * sysdeps/unix/sysv/linux/s390/kernel-features.h
16872 (__ASSUME_CLONE_BACKWARDS2): Likewise.
16873
adc95fb0
SP
168742018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
16875
4e54d918
SP
16876 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
16877
30a81dae
SP
16878 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
16879 time.
16880
adc95fb0
SP
16881 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
16882 (do_test_limit): Likewise.
16883
16884 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
16885 for every implementation.
16886 (do_test): Likewise.
16887
16888 * benchtests/bench-strncmp.c: Convert output to json.
16889
4e9066bc
ST
168902018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16891
16892 * io/futimens.c: Add missing start-of-file descriptive comment.
16893 * io/utime.c: Likewise.
16894 * misc/futimesat.c: Likewise.
16895 * misc/utimes.c: Likewise.
16896 * sysdeps/mach/hurd/futimesat.c: Likewise.
16897 * sysdeps/mach/hurd/utimes.c: Likewise.
16898 * sysdeps/posix/utime.c: Likewise.
16899 * sysdeps/posix/utimes.c: Likewise.
16900 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
16901 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
16902 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
16903 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
16904
ec1300cf
ST
169052018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16906
16907 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
16908 hurd_futimes.
16909 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
16910 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
16911 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
16912 (__futimens): Move implementation to...
16913 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
16914 utime_tvalue_from_tspec): ... new helper functions.
16915 (hurd_futimens): New function.
16916 * sysdeps/mach/hurd/futimesat.c: New file.
16917 * sysdeps/mach/hurd/utimensat.c: New file.
16918
bbe762d1
FC
169192018-03-05 Flávio Cruz <flaviocruz@gmail.com>
16920
16921 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
16922 UTIME_OMIT): New macros.
16923 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
16924 before reverting to converting time spec to time value and calling
16925 __file_utimes.
16926 * sysdeps/mach/hurd/utime-helper.c: New file.
16927 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
16928 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
16929 reverting to utime_tvalue_from_tval and __file_utimes.
16930 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
16931 (__lutimes): Just call hurd_futimens after lookup.
16932 * sysdeps/mach/hurd/utimes.c: Likewise.
16933
a1ede3a4
ST
169342018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16935
16936 * bits/sigaction.h: Add include guard.
16937 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
16938 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
16939 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
16940 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
16941 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
16942 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
16943 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
16944 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
16945 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
16946
6900d2ca
JM
169472018-03-05 Joseph Myers <joseph@codesourcery.com>
16948
16949 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
16950 -Wmaybe-uninitialized for -Os.
16951 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
16952 this disabling.
16953
68448be2
AZ
169542018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16955
5226a81f
AZ
16956 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
16957 __INO_T_MATCHES_INO64_T is defined.
16958 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
16959 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
16960 of definition.
16961 * dirent/alphasort64.c: Likewise.
16962 * dirent/scandir.c: Likewise.
16963 * dirent/scandir64-tail.c: Likewise.
16964 * dirent/scandir64.c: Likewise.
16965 * dirent/scandirat.c: Likewise.
16966 * dirent/scandirat64.c: Likewise.
16967 * dirent/versionsort.c: Likewise.
16968 * dirent/versionsort64.c: Likewise.
16969 * include/dirent.h: Likewise.
16970
fbd01e6c
AZ
16971 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
16972 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
16973 for socketpair endpoint.
16974 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
16975 WRITE_BUFFER_SIZE as buffer size for sending socket.
16976 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
16977 issue on system where send is implemented with sendto syscall.
16978 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
16979 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
16980 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
16981 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
16982
68448be2
AZ
16983 [BZ #21269]
16984 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
16985 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
16986 sa_restorer for vDSO case.
16987 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
16988
eb1ca47e
ST
169892018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
16990
16991 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
e30c291a
ST
16992 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
16993 * hurd/hurd/ioctl.h: Include <mach/port.h>
16994 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
f4bff843
ST
16995 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
16996 <mach/mach_types.h> and <mach/message.h>.
430fd945
ST
16997 (headers): Move mach/param.h to bits/mach/param.h.
16998 * sysdeps/mach/i386/mach/param.h: Move file to ...
16999 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
17000 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
17001 of <mach/param.h>.
3403cb7d
ST
17002 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
17003 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
17004 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
48d34cbc
ST
17005 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
17006 trivial, for C++ conformity.
44c6376c 17007 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
95dfdbd2
ST
17008 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
17009 Process mig output through $(migheadersed).
17010 * hurd/Makefile (migheadersed): Define variable.
a726c87a
ST
17011 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
17012 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
17013 headers.
ba89615d
ST
17014 * hurd/hurd.h: Include <bits/types/sigset_t.h>
17015 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
17016 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
17017 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
17018 <bits/types/sigset_t.h>.
17019 [!defined __USE_GNU]: Do not #error out.
17020 (struct hurd_sigstate): Use _NSIG instead of NSIG.
17021 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
17022 Include <stddef.h> and <bits/types/sigset_t.h>
17023 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
17024 instead of sighandler_t.
974393ea
ST
17025 * stdlib/errno.h (error_t): Move definition to...
17026 * bits/types/error_t.h: ... new header.
17027 * stdlib/Makefile (headers): Add bits/types/error_t.h.
17028 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
17029 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
17030 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
17031 * hurd/hurd.h: Include <bits/types/error_t.h>
17032 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
17033 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
17034 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
17035 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
17036 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
17037 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
8d965cde 17038 * sysdeps/mach/hurd/futimens.c: New file.
eb1ca47e 17039
eaf6753f
AS
170402018-03-03 Andreas Schwab <schwab@linux-m68k.org>
17041
17042 [BZ #22918]
17043 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
17044 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
17045 * nscd/gai.c (__nss_hosts_database): Readd definition.
17046 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
17047 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
17048 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
17049
4dc23804
JM
170502018-03-02 Joseph Myers <joseph@codesourcery.com>
17051
17052 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
17053 (ifunc_one): Likewise.
17054
1c81d55f
DD
170552018-03-01 DJ Delorie <dj@delorie.com>
17056
17057 [BZ #22342]
17058 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
17059 key value.
17060
b717c14f
MR
170612018-03-01 Maciej W. Rozycki <macro@mips.com>
17062
17063 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
17064 `match_pid' parameter.
17065 (td_ta_thr_iter): Update accordingly.
17066
1efe1358
FW
170672018-03-01 Florian Weimer <fweimer@redhat.com>
17068
17069 * nptl/Makefile (install-lib-ldscripts): Remove.
17070 (install): Remove rule.
17071 ($(inst_libdir)/libpthread.so): Likewise.
17072
a527f09c
MF
170732018-03-01 Mike FABIAN <mfabian@redhat.com>
17074
17075 [BZ #22896]
17076 * localedata/locales/an_ES: update month and day names,
17077 improve d_fmt, improve postal_fmt, add country_post,
17078 add country_isbn
17079
35d660b0
MF
170802018-03-01 Mike FABIAN <mfabian@redhat.com>
17081
17082 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
17083 Ukrainian instead of Bulgarian.
17084
1a2f44a8
FW
170852018-03-01 Florian Weimer <fweimer@redhat.com>
17086
17087 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
17088 reference.
17089
bd60ce86
FW
170902018-03-01 Florian Weimer <fweimer@redhat.com>
17091
17092 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
17093 * nptl/Makefile (routines): Add pthread_atfork.
17094 (static-only-routines): Set to pthread_atfork.
17095 (libpthread-routines): Remove pthread_atfork.
17096 (libpthread-static-only-routines): Remove.
17097 (install): Update comment.
17098 (libpthread.so): Do not install libpthread_nonshared.a.
17099 (tests): Do not link with libpthread_nonshared.a.
17100 (generated): Remove libpthread_nonshared.a.
17101 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
17102 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
17103 with libpthread_nonshared.a.
17104
000f290f
JM
171052018-02-28 Joseph Myers <joseph@codesourcery.com>
17106
e2bcf6a8
JM
17107 [BZ #22902]
17108 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
17109 (libc_feholdexcept_setroundf128): New macro.
17110 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
17111
000f290f
JM
17112 [BZ #15105]
17113 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
17114 libc_hidden_def.
17115 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
17116 * include/inttypes.h: New file.
17117
02f2fead
JM
171182018-02-27 Joseph Myers <joseph@codesourcery.com>
17119
17120 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
17121 -Os in two more places.
17122
874c56d7
MF
171232018-02-27 Mike FABIAN <mfabian@redhat.com>
17124
17125 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
17126 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
17127 be sorted correctly at the moment because of a bug.
17128
15973854
MF
171292018-02-27 Mike FABIAN <mfabian@redhat.com>
17130
17131 [BZ #22550] - es_ES locale (and other es_* locales): collation should
17132 treat ñ as a primary different character, sync the collation
17133 for Spanish with CLDR.
17134 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
17135 * localedata/Makefile: Add new test files.
17136 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
17137 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
17138 collation order.
17139 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
17140 * localedata/am_ET.UTF-8.in: New test file.
17141 * localedata/az_AZ.UTF-8.in: Likewise.
17142 * localedata/be_BY.UTF-8.in: Likewise.
17143 * localedata/ber_DZ.UTF-8.in: Likewise.
17144 * localedata/ber_MA.UTF-8.in: Likewise.
17145 * localedata/bg_BG.UTF-8.in: Likewise.
17146 * localedata/br_FR.UTF-8.in: Likewise.
17147 * localedata/cmn_TW.UTF-8.in: Likewise.
17148 * localedata/crh_UA.UTF-8.in: Likewise.
17149 * localedata/csb_PL.UTF-8.in: Likewise.
17150 * localedata/cv_RU.UTF-8.in: Likewise.
17151 * localedata/cy_GB.UTF-8.in: Likewise.
17152 * localedata/dz_BT.UTF-8.in: Likewise.
17153 * localedata/eo.UTF-8.in: Likewise.
17154 * localedata/es_ES.UTF-8.in: Likewise.
17155 * localedata/fa_IR.UTF-8.in: Likewise.
17156 * localedata/fi_FI.UTF-8.in: Likewise.
17157 * localedata/fil_PH.UTF-8.in: Likewise.
17158 * localedata/fur_IT.UTF-8.in: Likewise.
17159 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
17160 * localedata/ha_NG.UTF-8.in: Likewise.
17161 * localedata/ig_NG.UTF-8.in: Likewise.
17162 * localedata/ik_CA.UTF-8.in: Likewise.
17163 * localedata/kk_KZ.UTF-8.in: Likewise.
17164 * localedata/ku_TR.UTF-8.in: Likewise.
17165 * localedata/ky_KG.UTF-8.in: Likewise.
17166 * localedata/ln_CD.UTF-8.in: Likewise.
17167 * localedata/mi_NZ.UTF-8.in: Likewise.
17168 * localedata/ml_IN.UTF-8.in: Likewise.
17169 * localedata/mn_MN.UTF-8.in: Likewise.
17170 * localedata/mr_IN.UTF-8.in: Likewise.
17171 * localedata/mt_MT.UTF-8.in: Likewise.
17172 * localedata/nb_NO.UTF-8.in: Likewise.
17173 * localedata/om_KE.UTF-8.in: Likewise.
17174 * localedata/os_RU.UTF-8.in: Likewise.
17175 * localedata/ps_AF.UTF-8.in: Likewise.
17176 * localedata/ro_RO.UTF-8.in: Likewise.
17177 * localedata/ru_RU.UTF-8.in: Likewise.
17178 * localedata/sc_IT.UTF-8.in: Likewise.
17179 * localedata/se_NO.UTF-8.in: Likewise.
17180 * localedata/sq_AL.UTF-8.in: Likewise.
17181 * localedata/sv_SE.UTF-8.in: Likewise.
17182 * localedata/szl_PL.UTF-8.in: Likewise.
17183 * localedata/tg_TJ.UTF-8.in: Likewise.
17184 * localedata/tk_TM.UTF-8.in: Likewise.
17185 * localedata/tt_RU.UTF-8.in: Likewise.
17186 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
17187 * localedata/ug_CN.UTF-8.in: Likewise.
17188 * localedata/uz_UZ.UTF-8.in: Likewise.
17189 * localedata/vi_VN.UTF-8.in: Likewise.
17190 * localedata/yi_US.UTF-8.in: Likewise.
17191 * localedata/yo_NG.UTF-8.in: Likewise.
17192 * localedata/zh_CN.UTF-8.in: Likewise.
17193 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
17194 file and fix bugs in the collation.
17195 * localedata/locales/az_AZ: Likewise.
17196 * localedata/locales/be_BY: Likewise.
17197 * localedata/locales/ber_DZ: Likewise.
17198 * localedata/locales/ber_MA: Likewise.
17199 * localedata/locales/bg_BG: Likewise.
17200 * localedata/locales/br_FR: Likewise.
17201 * localedata/locales/br_FR@euro: Likewise.
17202 * localedata/locales/ca_ES: Likewise.
17203 * localedata/locales/cns11643_stroke: Likewise.
17204 * localedata/locales/crh_UA: Likewise.
17205 * localedata/locales/cs_CZ: Likewise.
17206 * localedata/locales/csb_PL: Likewise.
17207 * localedata/locales/cv_RU: Likewise.
17208 * localedata/locales/cy_GB: Likewise.
17209 * localedata/locales/da_DK: Likewise.
17210 * localedata/locales/dz_BT: Likewise.
17211 * localedata/locales/en_CA: Likewise.
17212 * localedata/locales/eo: Likewise.
17213 * localedata/locales/es_CU: Likewise.
17214 * localedata/locales/es_EC: Likewise.
17215 * localedata/locales/es_ES: Likewise.
17216 * localedata/locales/es_US: Likewise.
17217 * localedata/locales/et_EE: Likewise.
17218 * localedata/locales/fa_IR: Likewise.
17219 * localedata/locales/fi_FI: Likewise.
17220 * localedata/locales/fil_PH: Likewise.
17221 * localedata/locales/fur_IT: Likewise.
17222 * localedata/locales/gez_ER@abegede: Likewise.
17223 * localedata/locales/ha_NG: Likewise.
17224 * localedata/locales/hr_HR: Likewise.
17225 * localedata/locales/hsb_DE: Likewise.
17226 * localedata/locales/hu_HU: Likewise.
17227 * localedata/locales/ig_NG: Likewise.
17228 * localedata/locales/ik_CA: Likewise.
17229 * localedata/locales/is_IS: Likewise.
17230 * localedata/locales/iso14651_t1_pinyin: Likewise.
17231 * localedata/locales/kk_KZ: Likewise.
17232 * localedata/locales/ku_TR: Likewise.
17233 * localedata/locales/ky_KG: Likewise.
17234 * localedata/locales/ln_CD: Likewise.
17235 * localedata/locales/lt_LT: Likewise.
17236 * localedata/locales/lv_LV: Likewise.
17237 * localedata/locales/mi_NZ: Likewise.
17238 * localedata/locales/ml_IN: Likewise.
17239 * localedata/locales/mn_MN: Likewise.
17240 * localedata/locales/mr_IN: Likewise.
17241 * localedata/locales/mt_MT: Likewise.
17242 * localedata/locales/nb_NO: Likewise.
17243 * localedata/locales/om_KE: Likewise.
17244 * localedata/locales/os_RU: Likewise.
17245 * localedata/locales/pl_PL: Likewise.
17246 * localedata/locales/ps_AF: Likewise.
17247 * localedata/locales/ro_RO: Likewise.
17248 * localedata/locales/ru_RU: Likewise.
17249 * localedata/locales/ru_UA: Likewise.
17250 * localedata/locales/sc_IT: Likewise.
17251 * localedata/locales/se_NO: Likewise.
17252 * localedata/locales/si_LK: Likewise.
17253 * localedata/locales/sq_AL: Likewise.
17254 * localedata/locales/sv_FI: Likewise.
17255 * localedata/locales/sv_FI@euro: Likewise.
17256 * localedata/locales/sv_SE: Likewise.
17257 * localedata/locales/szl_PL: Likewise.
17258 * localedata/locales/tg_TJ: Likewise.
17259 * localedata/locales/ti_ER: Likewise.
17260 * localedata/locales/tk_TM: Likewise.
17261 * localedata/locales/tl_PH: Likewise.
17262 * localedata/locales/tr_TR: Likewise.
17263 * localedata/locales/tt_RU: Likewise.
17264 * localedata/locales/tt_RU@iqtelif: Likewise.
17265 * localedata/locales/ug_CN: Likewise.
17266 * localedata/locales/uk_UA: Likewise.
17267 * localedata/locales/uz_UZ: Likewise.
17268 * localedata/locales/uz_UZ@cyrillic: Likewise.
17269 * localedata/locales/vi_VN: Likewise.
17270 * localedata/locales/yi_US: Likewise.
17271 * localedata/locales/yo_NG: Likewise.
17272
ce6636b0
MF
172732018-02-27 Mike FABIAN <mfabian@redhat.com>
17274
17275 * gen-locales.mk: Make test files which contain @ modifiers in their
17276 name work.
17277 * localedata/gen-locale.sh: Likewise.
17278
ac3a3b4b
MF
172792018-02-27 Mike FABIAN <mfabian@redhat.com>
17280
17281 * posix/tst-fnmatch.input: Fix results for range expressions
17282 for non C locales.
17283 * posix/tst-regexloc.c: Do not use a range expression for
17284 de_DE.ISO-8859-1 locale.
17285
770cbe14
MF
172862018-02-27 Mike FABIAN <mfabian@redhat.com>
17287
17288 * posix/bug-regex5.c: Fix test case because with the new
17289 iso14651_t1_common file, the da_DK locale now has 6 collating elements
17290 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
17291 file.
17292
0fc355d9
MF
172932018-02-27 Mike FABIAN <mfabian@redhat.com>
17294
17295 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
17296 downloaded from ISO, the collation order of @-. and space has changed.
17297 Therefore, this test file needed to be adapted.
17298 * localedata/fr_CA.UTF-8.in: Likewise.
17299 * localedata/fr_FR.UTF-8.in: Likewise.
17300 * localedata/uk_UA.UTF-8.in: Likewise.
17301
43f3893f
MF
173022018-02-27 Mike FABIAN <mfabian@redhat.com>
17303
17304 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
17305 order of ȥ in the new iso14651_t1_common file.
17306 * localedata/pl_PL.UTF-8.in: Likewise.
17307
df74ef78
MF
173082018-02-27 Mike FABIAN <mfabian@redhat.com>
17309
17310 * localedata/locales/iso14651_t1_common: Add sections for various
17311 scripts to the iso14651_t1_common file.
17312
d5adfbad
MF
173132018-02-27 Mike FABIAN <mfabian@redhat.com>
17314
17315 * localedata/locales/iso14651_t1_common: Use the code point of a
17316 character in the fourth collation level instead of IGNORE for all
17317 entries which have IGNORE on all 4 levels.
17318
5f5a9610
MF
173192018-02-27 Mike FABIAN <mfabian@redhat.com>
17320
17321 * localedata/locales/iso14651_t1_common: Add some convenient collation
17322 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
17323 rules similar to those in CLDR.
17324
8a97e900
MF
173252018-02-27 Mike FABIAN <mfabian@redhat.com>
17326
17327 * localedata/locales/iso14651_t1_common: The new version of this
17328 file downloaded from ISO contained several syntax errors which
17329 are fixed by this patch.
17330
bbdd2fba
MF
173312018-02-27 Mike FABIAN <mfabian@redhat.com>
17332
17333 * localedata/locales/iso14651_t1_common: replace all <U.....>
17334 with <U000.....> because glibc understands only 4 digit or 8 digit
17335
1569e551
MF
173362018-02-27 Mike FABIAN <mfabian@redhat.com>
17337
17338 * localedata/locales/iso14651_t1_common: Necessary changes
17339 to make the file downloaded from ISO usable by glibc.
17340
9479b6d5
MF
173412018-02-27 Mike FABIAN <mfabian@redhat.com>
17342
17343 [BZ #14095]
17344 * localedata/locales/iso14651_t1_common: Update file to
17345 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
17346
03b540b3
ST
173472018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17348
17349 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
17350 of <nptl/pthreadP.h>
17351 (thread_attr_compare): Move function to...
eb937a52 17352 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
03b540b3 17353 * sysdeps/nptl/timer_routines.h: ... new header.
7211eba6 17354 * sysdeps/mach/hurd/gai_misc.h: New file.
03b540b3 17355
20602c72
JM
173562018-02-26 Joseph Myers <joseph@codesourcery.com>
17357
f54d8f73
JM
17358 * string/strcoll_l.c: Include <libc-diag.h>.
17359 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
17360 declarations of seq1 and seq2.
17361
20602c72
JM
17362 [BZ #15105]
17363 * stdlib/atoi.c (atoi): Use libc_hidden_def.
17364 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
17365
f5f473a9
DL
173662018-02-26 Dmitry V. Levin <ldv@altlinux.org>
17367
17368 [BZ #22433]
17369 [BZ #22807]
17370 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
17371 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
17372 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
17373 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
17374 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
17375 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
17376
398c6fdd
TMQMF
173772018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17378
17379 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
17380 macros used in __ptrace_request.
17381
f5d1f629
L
173822018-02-23 H.J. Lu <hongjiu.lu@intel.com>
17383
17384 [BZ #22792]
17385 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
17386 to $(CC).
17387 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
17388 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
17389 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
17390 <tcb-offsets.h>.
17391
54412d20
JM
173922018-02-23 Joseph Myers <joseph@codesourcery.com>
17393
17394 [BZ #15105]
17395 * ctype/ctype.c (tolower): Use libc_hidden_def.
17396 (toupper): Likewise.
17397 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
17398 [!_ISOMAC] (toupper): Likewise.
17399
81be4b5e
MF
174002018-02-23 Mike FABIAN <mfabian@redhat.com>
17401
17402 * localedata/Makefile: Remove --quiet argument when
17403 installing locales
17404
9d5cfd8e
MF
174052018-02-23 Mike FABIAN <mfabian@redhat.com>
17406
17407 [BZ #17438]
17408 * localedata/locales/pt_BR (LC_TIME): use / instead of -
17409 in d_fmt.
17410 * localedata/locales/pt_PT (LC_TIME): likewise
17411
6c7269f3
MF
174122018-02-23 Mike FABIAN <mfabian@redhat.com>
17413
17414 [BZ #22646]
17415 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
17416 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
17417 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
17418
92aabad9
AZ
174192018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17420
4cdc25a4
AZ
17421 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17422
27761a10
AZ
17423 * nptl/Makefile (routines): Remove unregister-atfork.
17424 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
17425 (fork_handler_alloc): Remove function.
17426 (fork_handlers, fork_handler_init): New variables.
17427 (__fork_lock): Rename to atfork_lock.
17428 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
17429 to use a dynamic array to add/remove atfork handlers.
17430 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17431 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
17432 Remove declaration.
17433 (fork_handler): Remove next, refcntr, and need_signal member.
17434 (__run_fork_handler_type): New enum.
17435 (__run_fork_handlers): New prototype.
17436 * nptl/register-atfork.c: Remove file.
17437 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
17438
92aabad9
AZ
17439 * sysdeps/nptl/nptl-signals.h: Move to ...
17440 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
17441 comments.
17442 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
17443 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
17444 unnecessary check for SIGTIMER.
17445 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
17446 remove unnecessary removal of SIGTIMER.
17447 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
17448 include-signals.h rename.
17449 * nptl/pthreadP.h: Likewise.
17450 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
17451 __is_internal_signal instead of __nptl_is_internal_signal.
17452
6b5c8607 174532018-02-22 Andrew Waterman <andrew@sifive.com>
fdcc6253 17454
7e04eb29 17455 [BZ # 22884]
fdcc6253
AW
17456 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
17457 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
17458 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
17459 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
17460
8090720a
DD
174612018-02-22 DJ Delorie <dj@delorie.com>
17462
17463 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
17464
6ca24c43
SP
174652018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
17466
17467 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
17468 do_misaligned, not misaligned8.
17469
e9537ddd
SE
174702018-02-22 Steve Ellcey <sellcey@cavium.com>
17471
17472 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
17473 Add memcpy_thunderx2.
17474 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
17475 Increment to 4.
17476 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
17477 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
17478 and IS_THUNDERX2PA checks.
17479 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
17480 Use macro to set name appropriately.
17481 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
17482 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
17483 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
17484 New macro.
17485 (IS_THUNDERX2): New macro.
17486
6e336476
SL
174872018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
17488
17489 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17490
34957904
ZW
174912018-02-21 Zack Weinberg <zackw@panix.com>
17492
30bfee26
ZW
17493 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
17494 Define here, unconditionally.
17495 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
17496 * libio/libioP.h: Remove #if 0 blocks.
17497 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
17498 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
17499 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
17500
17501 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
17502 Assume weak_alias is always defined.
17503
17504 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
17505 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
17506 Remove #if 0 and #ifdef TODO blocks.
17507 Assume text_set_element is always defined.
17508
17509 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
17510 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
17511 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
17512
df6c012b
ZW
17513 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
17514 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
17515 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
17516 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
17517 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
17518 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
17519 Reformat bit flags for _flags field to make occupancy clearer.
17520 Update commentary.
17521 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
17522 Keep definitions consistent with those in libio/libio.h.
17523
17524 * libio/libio.h (_IO_file_flags): Remove macro.
17525 All uses changed to _flags.
17526
177aad3f
ZW
17527 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
17528 (__HAVE_COLUMN, _IO_BE): Don't define.
17529 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
17530 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
17531 * libio/libioP.h (EOF): Don't define.
17532 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
17533 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
17534 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
17535 testing _IO_UNIFIED_JUMPTABLES.
17536
9964a145
ZW
17537 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
17538 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
17539 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
17540 (_IO_size_t): Delete; all uses changed to size_t.
17541 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
17542 (_IO_off_t): Delete; all uses changed to off_t.
17543 (_IO_off64_t): Delete; all uses changed to off64_t.
17544 (_IO_pid_t): Delete; all uses changed to pid_t.
17545 (_IO_uid_t): Delete; all uses changed to uid_t.
17546 (_IO_wint_t): Delete; all uses changed to wint_t.
17547 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
17548 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
17549 (_IO_cookie_io_functions_t): Delete; all uses changed to
17550 cookie_io_functions_t.
17551 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
17552 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
17553 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
17554 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
17555
17556 * libio/iofopncook.c: Remove unnecessary forward declarations.
17557 * libio/iolibio.h: Correct outdated commentary.
17558 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
17559 * stdio-common/fxprintf.c (__fxprintf_nocancel):
17560 Remove unnecessary casts.
17561 * stdio-common/getline.c: Use _IO_getdelim directly.
17562 Don't redefine ssize_t.
17563 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
17564 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
17565 Remove outdated comments.
17566 * stdio-common/vfscanf.c: Don't redefine va_list.
17567
34957904
ZW
17568 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
17569 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
17570 Remove preprocessor conditionals on _LIBC and __USE_GNU,
17571 which are always true, and __cplusplus, which is always false.
17572
30ac923d
JM
175732018-02-21 Joseph Myers <joseph@codesourcery.com>
17574
039c721a
JM
17575 [BZ #15105]
17576 [BZ #19463]
17577 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
17578 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
17579 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
17580 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
17581 libc_hidden_proto.
17582 [!_ISOMAC] (putc_unlocked): Likewise.
17583 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
17584 define inline if [__USE_EXTERN_INLINES].
17585 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
17586 putc_unlocked.
17587
30ac923d
JM
17588 [BZ #15105]
17589 [BZ #19463]
17590 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
17591 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
17592 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
17593 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
17594 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
17595 getc_unlocked.
17596 * time/tzfile.c (__tzfile_read): Likewise.
17597
7ec5f946
MF
175982018-02-21 Mike FABIAN <mfabian@redhat.com>
17599
17600 [BZ #22517]
17601 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
17602
0d217f40
RJ
176032018-02-21 Rical Jasan <ricaljasan@pacific.net>
17604
17605 * io/fcntl.h: Fix a typo in a comment.
17606
862b4502
RJ
176072018-02-21 Rical Jasan <ricaljasan@pacific.net>
17608
17609 [BZ #22862]
17610 * include/features.h: Add _ISOC11_SOURCE to test for whether to
17611 define _DEFAULT_SOURCE.
17612 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
17613
999a6dab
FW
176142018-02-21 Florian Weimer <fweimer@redhat.com>
17615
17616 [BZ #20890]
17617 * elf/cache.c (save_cache): Call fsync on temporary file before
17618 renaming it.
17619 (save_aux_cache): Call fdatasync on temporary file before renaming
17620 it.
17621
52a01100
FW
176222018-02-21 Florian Weimer <fweimer@redhat.com>
17623
17624 [BZ #22787]
17625 * include/caller.h: Remove file.
17626 * elf/dl-caller.c: Likewise.
17627 * elf/Makefile (dl-routines): Remove dl-caller.
17628 (shared-only-routines): Do not add dl-caller.
17629 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
17630 __check_caller.
17631 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
17632 member.
17633 (dl_open_worker): Do not call __check_caller.
17634 (_dl_open): Do not set caller_dl_open member.
17635 * elf/rtld.c (_rtld_global_ro): Do not initialize
17636 _dl_check_caller member.
17637 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
17638 _dl_check_caller member.
17639 (_dl_check_caller): Remove declaration.
17640 * sysdeps/unix/sysv/linux/dl-execstack.c
17641 (_dl_make_stack_executable): Do not call __check_caller.
17642
b5bf62e4
ST
176432018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
17644
17645 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
315304d2 17646 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
b5bf62e4 17647
e8d190b9
RJ
176482018-02-20 Rical Jasan <ricaljasan@pacific.net>
17649
17650 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
17651 description.
17652
6a3962c4
RJ
176532018-02-20 Rical Jasan <ricaljasan@pacific.net>
17654
da81ae64 17655 [BZ #16335]
6a3962c4
RJ
17656 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
17657 of 199606L, 200112L, and 200809L.
17658 (_XOPEN_SOURCE): Document special values of 600 and 700.
17659 (_ISOC11_SOURCE): Document macro.
17660 (_ATFILE_SOURCE): Likewise.
17661 (_FORTIFY_SOURCE): Likewise.
17662
ec481ad8
JM
176632018-02-19 Joseph Myers <joseph@codesourcery.com>
17664
17665 [BZ #15105]
17666 [BZ #19463]
17667 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
17668 and define as weak alias of __ferror_unlocked. Use
17669 libc_hidden_weak.
17670 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
17671 libc_hidden_proto.
17672 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
17673 function if [__USE_EXTERN_INLINES].
17674 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
17675 ferror_unlocked.
17676
7d15ef84
RJ
176772018-02-19 Rical Jasan <ricaljasan@pacific.net>
17678
17679 [BZ #6889]
17680 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
17681
f8d79582
AJ
176822018-02-18 Aurelien Jarno <aurelien@aurel32.net>
17683
17684 [BZ #22818]
17685 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
17686 the GLIBC_2.1 version.
17687
56456a2a
AJ
176882018-02-18 Aurelien Jarno <aurelien@aurel32.net>
17689
17690 [BZ #21508]
17691 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
17692 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
17693 intl/tst-gettext-de.po from po/de.po by removing the
17694 POT-Creation-Date line.
17695 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
17696 ../po/de.po.
17697 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
17698 ../po/de.po.
17699
13768813
ST
177002018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
17701
17702 * mach/Makefile (headers): Add mach/param.h.
17703 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
17704 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
dd1efd8c
ST
17705 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
17706 (__ptsname_r): Move implementation to...
17707 (__ptsname_internal): ... new function. Add filling the STP
17708 structure.
13768813 17709
6aca1b61
JDA
177102018-02-17 John David Anglin <danglin@gcc.gnu.org>
17711
17712 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
17713 idouble to 1 ULP.
17714
16efad51
RJ
177152018-02-16 Rical Jasan <ricaljasan@pacific.net>
17716
17717 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
17718 syntax.
17719
87245073
SL
177202018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
17721
17722 * nptl/Makefile (tst-mutex8-ENV): Delete.
17723 * nptl/tst-mutex8.c (check_type):
17724 Add runtime check if mutex will be elided.
17725
7fc03cf3
JM
177262018-02-15 Joseph Myers <joseph@codesourcery.com>
17727
db9881ec
JM
17728 [BZ #20980]
17729 [BZ #21234]
17730 * manual/install.texi (Configuring and compiling): Describe
17731 passing CC and CFLAGS on configure command line, not as
17732 environment variables. Use @code markup on those variables.
17733 Specify what options go in CC and what go in CFLAGS. Note the
17734 requirement to compile with optimization.
17735 * INSTALL: Regenerated.
17736
3785b31c
JM
17737 [BZ #18124]
17738 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
17739 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
17740 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
17741 __sigprocmask instead of sigprocmask.
17742 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
17743 Likewise.
17744 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
17745 __sigsetjmp and sigprocmask.
17746
055ac2a7
JM
17747 [BZ #15105]
17748 * include/argz.h (argz_next): Use libc_hidden_proto.
17749 (__argz_next): Likewise.
17750 * string-argz-next.c (__argz_next): Use libc_hidden_def.
17751 (argz_next): Use libc_hidden_weak.
17752
e4452a2d
JM
17753 [BZ #15105]
17754 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
17755 libc_hidden_proto.
17756 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
17757 libc_hidden_def.
17758
499b3153
JM
17759 [BZ #15105]
17760 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
17761 libc_hidden_proto.
17762 * libio/iofputs.c (fputs): Use libc_hidden_weak.
17763
7fc03cf3
JM
17764 [BZ #15105]
17765 [BZ #19463]
17766 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
17767 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
17768 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
17769 (__feof_unlocked): New declaration, and inline function if
17770 [__USE_EXTERN_INLINES].
17771 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
17772 instead of feof_unlocked.
17773 * intl/localealias.c [_LIBC] (FEOF): Likewise.
17774 * nss/nsswitch.c (nss_parse_file): Likewise.
17775 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
17776 Likewise.
17777 * time/getdate.c (__getdate_r): Likewise.
17778 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
17779 Define as macro to call __feof_unlocked.
17780
0c8a67a5
WD
177812018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
17782
17783 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
17784
610ee1fc
WD
177852018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
17786
17787 * math/Makefile: Remove mpexp.c and mplog.c
17788 * sysdeps/i386/fpu/mpexp.c: Delete file.
17789 * sysdeps/i386/fpu/mplog.c: Likewise.
17790 * sysdeps/ia64/fpu/mpexp.c: Likewise.
17791 * sysdeps/ia64/fpu/mplog.c: Likewise.
17792 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
17793 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
17794 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
17795 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
17796 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
17797 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
17798 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
17799 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
17800 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
17801 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17802 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
17803 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
17804 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17805 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
17806 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
17807 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17808
8e7196c8
SL
178092018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
17810
17811 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17812
4f55ad0b
AZ
178132018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17814
17815 * sysdeps/sh/libm-test-ulps: Update.
17816
261a851c
TMQMF
178172018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17818
17819 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
17820 idouble to 1 ULP.
17821
e16deca6
ZW
178222018-02-12 Zack Weinberg <zackw@panix.com>
17823
17824 [BZ #19239]
17825 * posix/sys/types.h: Don't include sys/sysmacros.h.
17826 * misc/sys/sysmacros.h: Remove the conditional deprecation
17827 warnings for the macros defined by this header.
17828
de800d83
SN
178292018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17830
17831 * manual/probes.texi: Remove slowexp probes.
17832 * math/Makefile: Remove slowexp.
17833 * sysdeps/generic/math_private.h (__slowexp): Remove.
17834 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
17835 document error bounds.
17836 * sysdeps/i386/fpu/slowexp.c: Remove.
17837 * sysdeps/ia64/fpu/slowexp.c: Remove.
17838 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
17839 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
17840 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
17841 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
17842 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
17843 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
17844 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
17845 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
17846 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
17847 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
17848 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
17849
c3d466cb
WD
178502018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
17851
17852 [BZ #13932]
17853 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
17854 * benchtests/pow-inputs: Update comment for slow path cases.
17855 * manual/probes.texi (slowpow_p10): Delete removed probe.
17856 (slowpow_p10): Likewise.
17857 * math/Makefile: Remove halfulp.c and slowpow.c.
17858 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
17859 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
17860 (__halfulp): Remove.
17861 (__slowpow): Remove.
17862 * sysdeps/i386/fpu/halfulp.c: Delete file.
17863 * sysdeps/i386/fpu/slowpow.c: Likewise.
17864 * sysdeps/ia64/fpu/halfulp.c: Likewise.
17865 * sysdeps/ia64/fpu/slowpow.c: Likewise.
17866 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
17867 improve comments and add error analysis.
17868 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
17869 (power1): Remove function:
17870 (log1): Remove error argument, add error analysis.
17871 (my_log2): Remove function.
17872 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
17873 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17874 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
17875 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
17876 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
17877 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
17878 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
17879 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
17880 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
17881 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
17882 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
17883 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17884 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
17885 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17886
7bb087bd
ST
178872018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
17888
17889 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
17890 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
17891
2fd4bbaa
DL
178922018-02-10 Dmitry V. Levin <ldv@altlinux.org>
17893
17894 [BZ #22433]
17895 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
17896 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
17897 and PTRACE_SETHBPREGS.
17898
402ecba4
ZW
178992018-02-10 Zack Weinberg <zackw@panix.com>
17900
17901 [BZ #22830]
17902 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
17903 correctly.
17904 * malloc/tst-malloc-stats-cancellation.c: New test case.
17905 * malloc/Makefile: Add new test case.
17906
4f5b921e
WD
179072018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
17908
17909 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
17910
a85b70db
JM
179112018-02-10 Joseph Myers <joseph@codesourcery.com>
17912
d8742dd8
JM
17913 * math/Makefile (libm-narrow-fns): Add add.
17914 (libm-test-funcs-narrow): Likewise.
17915 * math/Versions (GLIBC_2.28): Add narrowing add functions.
17916 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
17917 * math/gen-auto-libm-tests.c (test_functions): Add add.
17918 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
17919 (NARROW_ADD_ROUND_TO_ODD): Likewise.
17920 (NARROW_ADD_TRIVIAL): Likewise.
17921 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
17922 macro.
17923 (__daddl): Likewise.
17924 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
17925 dadd.
17926 (CFLAGS-nldbl-dadd.c): New variable.
17927 (CFLAGS-nldbl-fadd.c): Likewise.
17928 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17929 __nldbl_daddl.
17930 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
17931 prototype.
17932 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
17933 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
17934 * math/auto-libm-test-in: Add tests of add.
17935 * math/auto-libm-test-out-narrow-add: New generated file.
17936 * math/libm-test-narrow-add.inc: New file.
17937 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
17938 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
17939 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
17940 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
17941 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
17942 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
17943 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
17944 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
17945 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
17946 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
17947 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
17948 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
17949 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
17950 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
17951 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
17952 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
17953 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
17954 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
17955 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17956 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17957 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17958 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17959 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17960 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17961 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17962 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17963 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17964 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17965 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17966 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17967 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17968 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17973 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17974 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17975 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17976 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17977 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17978 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17979 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
17980 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
17981 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17982 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17983
a85b70db
JM
17984 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
17985 (f128-pairs): New variable.
17986 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
17987 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
17988 to CFLAGS.
17989 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
17990 Also make tests add $(f128-loader-link) to gnulib-tests.
17991
6a1ff640
DD
179922018-02-09 DJ Delorie <dj@redhat.com>
17993
17994 [BZ #22827]
17995 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
17996 64-bit ELF type for 64-bit ELF objects.
17997
bfd47587
JM
179982018-02-09 Joseph Myers <joseph@codesourcery.com>
17999
31958338
JM
18000 * math/libm-test-driver.c (snan_tests_arg): New variable.
18001 * math/libm-test-support.h (snan_tests_arg): New declaration.
18002 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
18003
8e554659
JM
18004 * math/Makefile (test-type-pairs): New variable.
18005 (test-type-pairs-f64xf128-yes): Likewise.
18006 (tests): Add test-narrow-macros.
18007 (libm-test-funcs-narrow): New variable.
18008 (libm-test-c-narrow): Likewise.
18009 (generated): Add $(libm-test-c-narrow).
18010 (libm-tests-base-narrow): New variable.
18011 (libm-tests-narrow): Likewise.
18012 (libm-tests): Add $(libm-tests-narrow).
18013 (libm-tests-for-type): Handle $(libm-tests-narrow).
18014 (libm-test-c-narrow-obj): New variable.
18015 ($(libm-test-c-narrow-obj)): New rule.
18016 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
18017 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
18018 $(o-iterator) to set dependencies and CFLAGS.
18019 * math/gen-auto-libm-tests.c: Document use for narrowing
18020 functions.
18021 (output_for_one_input_case): Take argument NARROW.
18022 (generate_output): Likewise. Update call to
18023 output_for_one_input_case.
18024 (main): Take --narrow option. Update call to generate_output.
18025 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
18026 (apply_lit): Update call to _apply_lit.
18027 (apply_arglit): New function.
18028 (parse_args): Handle "a" arguments.
18029 (parse_auto_input): Handle format names using ":".
18030 * math/README.libm-test: Document "a" parameter type.
18031 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
18032 (ARG_TYPE_TRUE_MIN): Likewise.
18033 (ARG_TYPE_MAX): Likwise.
18034 (ARG_MIN_EXP): Likewise.
18035 (ARG_MAX_EXP): Likewise.
18036 (ARG_MANT_DIG): Likewise.
18037 (TEST_COND_arg_ibm128): Likewise.
18038 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
18039 (TEST_COND_arg_fmt): New macro.
18040 (init_max_error): Update prototype.
18041 * math/libm-test-support.c (test_ibm128): New variable.
18042 (init_max_error): Take argument testing_ibm128 and set test_ibm128
18043 instead of using [TEST_COND_ibm128] conditional.
18044 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
18045 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
18046 [TEST_NARROW] (TEST_MSG): New definition.
18047 (arg_plus_zero): New macro.
18048 (arg_minus_zero): Likewise.
18049 (arg_plus_infty): Likewise.
18050 (arg_minus_infty): Likewise.
18051 (arg_qnan_value_pl): Likewise.
18052 (arg_qnan_value): Likewise.
18053 (arg_snan_value_pl): Likewise.
18054 (arg_snan_value): Likewise.
18055 (arg_max_value): Likewise.
18056 (arg_min_value): Likewise.
18057 (arg_min_subnorm_value): Likewise.
18058 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
18059 (RUN_TEST_LOOP_aa_f): New macro.
18060 (TEST_SUFF): New macro.
18061 (TEST_SUFF_STR): Likewise.
18062 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
18063 (TEST_COND_any_ibm128): New macro.
18064 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
18065 this_func. Update call to init_max_error.
18066 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
18067 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
18068 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
18069 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
18070 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
18071 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
18072 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
18073 * math/test-math-scalar.h (TEST_NARROW): Likewise.
18074 * math/test-math-vector.h (TEST_NARROW): Likewise.
18075 * math/test-arg-double.h: New file.
18076 * math/test-arg-float128.h: Likewise.
18077 * math/test-arg-float32x.h: Likewise.
18078 * math/test-arg-float64.h: Likewise.
18079 * math/test-arg-float64x.h: Likewise.
18080 * math/test-arg-ldouble.h: Likewise.
18081 * math/test-math-narrow.h: Likewise.
18082 * math/test-narrow-macros.c: Likewise.
18083 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
18084 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
18085 test-narrow-macros-ldbl-64.
18086 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
18087
63716ab2
JM
18088 * math/bits/mathcalls-narrow.h: New file.
18089 * include/bits/mathcalls-narrow.h: Likewise.
18090 * math/math-narrow.h: Likewise.
18091 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
18092 (__MATHCALL_NARROW_ARGS_2): Likewise.
18093 (__MATHCALL_NARROW_ARGS_3): Likewise.
18094 (__MATHCALL_NARROW_NORMAL): Likewise.
18095 (__MATHCALL_NARROW_REDIR): Likewise.
18096 (__MATHCALL_NARROW): Likewise.
18097 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
18098 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
18099 defined.
18100 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
18101 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
18102 (libm-narrow-fns): New variable.
18103 (libm-narrow-types-basic): Likewise.
18104 (libm-narrow-types-ldouble-yes): Likewise.
18105 (libm-narrow-types-float128-yes): Likewise.
18106 (libm-narrow-types-float128-alias-yes): Likewise.
18107 (libm-narrow-types): Likewise.
18108 (libm-routines): Add narrowing functions.
18109 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
18110 (libc_feholdexcept_setroundf128): New macro.
18111 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
18112 * sysdeps/ieee754/float128/float128_private.h: Include
18113 <math/math-narrow.h>.
18114 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
18115 Undefine and redefine.
18116 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
18117 (libm_alias_float_ldouble): Undefine and redefine.
18118 (libm_alias_double_ldouble): Likewise.
18119
bfd47587
JM
18120 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
18121
3f8d9d58
WD
181222018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
18123
18124 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
18125 FPCR/FPSR.
18126
1f6676d7
RJ
181272018-02-09 Rical Jasan <ricaljasan@pacific.net>
18128
18129 * manual/creature.texi: Convert references to gcc.info to gcc.
18130 * manual/stdio.texi: Likewise.
18131 * manual/string.texi: Likewise.
18132
d80441dd
JM
181332018-02-07 Joseph Myers <joseph@codesourcery.com>
18134
15081be9
JM
18135 [BZ #17979]
18136 * posix/bits/types.h (__int_least8_t): New typedef.
18137 (__uint_least8_t): Likewise.
18138 (__int_least16_t): Likewise.
18139 (__uint_least16_t): Likewise.
18140 (__int_least32_t): Likewise.
18141 (__uint_least32_t): Likewise.
18142 (__int_least64_t): Likewise.
18143 (__uint_least64_t): Likewise.
18144 * sysdeps/generic/stdint.h (int_least8_t): Define using
18145 __int_least8_t.
18146 (int_least16_t): Define using __int_least16_t.
18147 (int_least32_t): Define using __int_least32_t.
18148 (int_least64_t): Define using __int_least64_t.
18149 (uint_least8_t): Define using __uint_least8_t.
18150 (uint_least16_t): Define using __uint_least16_t.
18151 (uint_least32_t): Define using __uint_least32_t.
18152 (uint_least64_t): Define using __uint_least64_t.
18153 * wcsmbs/uchar.h: Include <bits/types.h>.
18154 (char16_t): Define using __uint_least16_t conditional only on
18155 [!__USE_ISOCXX11].
18156 (char32_t): Define using __uint_least32_t conditional only on
18157 [!__USE_ISOCXX11].
18158 * wcsmbs/test-char-types.c: New file.
18159 * wcsmbs/Makefile (tests): Add test-char-types.
18160
d80441dd
JM
18161 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
18162 version to 4.0.1.
18163
6c6c962a
ZW
181642018-02-07 Zack Weinberg <zackw@panix.com>
18165
63fb8f9a
ZW
18166 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
18167 Delete all contents except for definitions of _G_HAVE_MMAP and
18168 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
18169 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
18170 sysdeps/unix/sysv/linux/_G_config.h. Make same content
18171 change as above.
18172
18173 * libio/libio.h: Don't include bits/_G_config.h here.
18174 Include stddef.h with __need_wchar_t defined. Include
18175 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
18176 Define _IO_iconv_t here, directly.
18177 Don't define _IO_HAVE_ST_BLKSIZE.
18178 * libio/libioP.h: Include _G_config.h here. Move include of
18179 shlib-compat.h up with rest of includes. Simplify conditionals
18180 controlling definition of _IO_JUMPS_OFFSET.
18181
18182 * csu/init.c: Remove always-true #if around entire file.
18183 Don't include stdio.h. Set _IO_stdin_used to hardwired
18184 constant 0x20001, and update commentary.
18185 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
18186 Replace all uses of _G_va_list with __gnuc_va_list.
18187 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
18188 instead of #if _IO_HAVE_ST_BLKSIZE.
18189 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
18190 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
18191 not #ifdef.
18192
6c6c962a
ZW
18193 * libio/bits/libio.h: Move back to libio/libio.h and adjust
18194 multiple-include guard to match.
18195 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
18196 into this file.
18197 Remove preprocessor conditionals that are always true and/or
18198 redundant to other preprocessor conditionals in the same nest.
18199 Include shlib-compat.h unconditionally.
18200 Error out if _LIBC is not defined, or if _ISOMAC is defined,
18201 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
18202 defined after including stdio.h.
18203 Use __BEGIN_DECLS/__END_DECLS.
18204
18205 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
18206 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
18207 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
18208
a4fea3f2
ZW
182092018-02-07 Zack Weinberg <zackw@panix.com>
18210
18211 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
18212 New single-type headers split from _G_config.h.
18213 * libio/bits/types/cookie_io_functions_t.h
18214 * libio/bits/types/struct_FILE.h
18215 New single-type headers split from libio.h.
18216
18217 * libio/Makefile: Install the above new headers. Don't install
18218 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
18219 bits/libio-ldbl.h.
18220 * libio/_G_config.h, libio/libio.h: Delete file.
18221
18222 * libio/bits/libio.h: Remove improper-inclusion guard.
18223 Include stdio.h and don't repeat anything that it does.
18224 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
18225 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
18226 __io_read_fn as cookie_read_function_t,
18227 __io_write_fn as cookie_write_function_t,
18228 __io_seek_fn as cookie_seek_function_t,
18229 __io_close_fn as cookie_close_function_t,
18230 and _IO_cookie_io_functions_t as cookie_io_functions_t.
18231 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
18232 here, in the "compatibility defines" section. Remove an #if 0
6c6c962a 18233 block. Use the "body" macros from bits/types/struct_FILE.h to
a4fea3f2
ZW
18234 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
18235 and _IO_ferror_unlocked.
18236 Move prototypes of __uflow and __overflow...
18237
18238 * libio/stdio.h: ...here. Don't include bits/libio.h.
18239 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
6c6c962a 18240 directly from stdarg.h. Include bits/types/__fpos_t.h,
a4fea3f2
ZW
18241 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
18242 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
18243 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
18244 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
18245 cookie_io_functions_t, not _IO_cookie_io_functions_t;
18246 __ssize_t, not _IO_ssize_t. Unconditionally define
18247 BUFSIZ as 8192 and EOF as (-1).
18248
18249 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
18250 macros from bits/types/struct_FILE.h instead of _IO_* macros
18251 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
18252 instead of _IO_ssize_t.
18253 * libio/bits/stdio2.h: Similarly.
18254
18255 * libio/iolibio.h: Add multiple-include guard.
18256 Include bits/libio.h after stdio.h.
18257 * libio/libioP.h: Add multiple-include guard.
18258 Include stdio.h and bits/libio.h before iolibio.h.
18259
6c6c962a 18260 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
a4fea3f2
ZW
18261 * include/bits/types/cookie_io_functions_t.h
18262 * include/bits/types/struct_FILE.h: New wrappers.
18263
18264 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
6c6c962a
ZW
18265 Get definitions of _G_fpos_t and _G_fpos64_t from
18266 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
18267 respectively. Remove improper-inclusion guards.
a4fea3f2 18268
6c6c962a 18269 * conform/data/stdio.h-data: Update expectations of va_list.
a4fea3f2 18270 * scripts/check-installed-headers.sh: Remove special case for
6c6c962a 18271 libio.h and _G_config.h.
a4fea3f2 18272
ce999220
JM
182732018-02-07 Joseph Myers <joseph@codesourcery.com>
18274
8b4a1182
JM
18275 [BZ #15105]
18276 [BZ #19463]
18277 * include/sys/sysmacros.h [!_ISOMAC]
18278 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
18279 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
18280 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
18281 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
18282 libc_hidden_proto.
18283 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
18284 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
18285 Likewise.
18286 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
18287 Undefine and redefine to add use __gnu_dev_ prefix.
18288 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
18289 Likewise.
18290 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
18291 and define as hidden inline function.
18292 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
18293 Likewise.
18294 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
18295 Likewise.
18296 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
18297 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
18298 (gnu_dev_minor): Likewise.
18299 (gnu_dev_makedev): Likewise.
18300 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
18301 makedev.
18302 * posix/wordexp.c (exec_comm_child): Likewise.
18303 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
18304 instead of minor and __gnu_dev_major instead of major.
18305 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
18306 __gnu_dev_major instead of major.
18307 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
18308 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
18309 instead of gnu_dev_minor.
18310 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
18311 (SLAVE_P): Likewise.
18312 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
18313 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
18314 instead of major.
18315
ce999220
JM
18316 [BZ #21313]
18317 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
18318 in another place.
18319 * locale/weightwc.h (findidx): Likewise.
18320
b7c83ca3
WD
183212018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
18322
18323 * manual/probes.texi (slowlog): Delete documentation of removed probe.
18324 (slowlog_inexact): Likewise
18325 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
18326 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
18327
388ff7bd
IG
183282018-02-07 Igor Gnatenko <ignatenko@redhat.com>
18329
18330 [BZ #22797]
18331 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
18332 missing second underscore to parameter name.
18333
663e7d78
JM
183342018-02-06 Joseph Myers <joseph@codesourcery.com>
18335
0d40d0ec
JM
18336 [BZ #14508]
18337 [BZ #15512]
18338 [BZ #17082]
18339 [BZ #20530]
18340 * bits/byteswap.h: Update file comment. Do not include
18341 <bits/byteswap-16.h>.
18342 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
18343 constant.
18344 (__bswap_16): Define as inline function.
18345 (__bswap_constant_32): Reformat definition.
18346 (__bswap_32): Always define as inline function, not macro, using
18347 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
18348 otherwise __bswap_constant_32.
18349 (__bswap_constant_64): Reformat definition. Do not use
18350 __extension__ here.
18351 (__bswap_64): Always define as inline function, not macro. Use
18352 __extension__ on function definition. Use __builtin_bswap64 if
18353 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
18354 * string/test-endian-file-scope.c: New file.
18355 * string/test-endian-sign-conversion.c: Likewise.
18356 * string/Makefile (headers): Remove bits/byteswap-16.h.
18357 (tests): Add test-endian-file-scope and
18358 test-endian-sign-conversion.
18359 (CFLAGS-test-endian-sign-conversion.c): New variable.
18360 * bits/byteswap-16.h: Remove file.
18361 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
18362 * sysdeps/ia64/bits/byteswap.h: Likewise.
18363 * sysdeps/m68k/bits/byteswap.h: Likewise.
18364 * sysdeps/s390/bits/byteswap-16.h: Likewise.
18365 * sysdeps/s390/bits/byteswap.h: Likewise.
18366 * sysdeps/tile/bits/byteswap.h: Likewise.
18367 * sysdeps/x86/bits/byteswap-16.h: Likewise.
18368 * sysdeps/x86/bits/byteswap.h: Likewise.
18369
383e87c9
JM
18370 [BZ #17721]
18371 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
18372 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
18373 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
18374 199901L] (__restrict): Define to restrict.
18375
d92c2759
JM
18376 [BZ #19667]
18377 * string/testcopy.c: Include <support/support.h>. Do not include
18378 <malloc.h>. Use <support/test-driver.c>.
18379 (main): Rename to do_test. Make static. Use xmalloc instead of
18380 malloc.
18381
625fb764
JM
18382 [BZ #13575]
18383 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
18384 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
18385 (SSIZE_MAX): Define to INT_MAX.
18386 * posix/test-ssize-max.c: New file.
18387 * posix/Makefile (tests): Add test-ssize-max.
18388
02325d6c
JM
18389 [BZ #19668]
18390 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
18391 <support/support.h>. Do not include <malloc.h>.
18392 (query_auxv): Use xmalloc instead of malloc.
18393
663e7d78
JM
18394 [BZ #14553]
18395 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
18396 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
18397 instead of loff_t.
18398
6b5c8607 183992018-02-06 Florian Weimer <fweimer@redhat.com>
6d7aa2b5
FW
18400
18401 [BZ #18023]
18402 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18403 Use scratch_buffer instead of extend_alloca.
18404
de6da571
ZW
184052018-02-06 Zack Weinberg <zackw@panix.com>
18406
26c07172
ZW
18407 * libio/stdio.h: Don't define getc or putc as macros.
18408 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
18409 not _IO_getc and _IO_putc.
18410
de6da571
ZW
18411 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
18412 * stdio-common/tstgetln.c: Don't redefine ssize_t.
18413
92669d6e
JM
184142018-02-06 Joseph Myers <joseph@codesourcery.com>
18415
c2b84df9
JM
18416 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
18417 (TCP_FASTOPEN_NO_COOKIE): Likewise.
18418
41376f8c
JM
18419 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
18420
d28bf648
JM
18421 [BZ #14890]
18422 * elf/elf.h (NT_PRFPREG): New macro.
18423 (NT_S390_VXRS_LOW): Likewise.
18424 (NT_S390_VXRS_HIGH): Likewise.
18425 (NT_S390_GS_CB): Likewise.
18426 (NT_S390_GS_BC): Likewise.
18427 (NT_S390_RI_CB): Likewise.
18428
e76def72
JM
18429 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
18430 (MAP_SYNC): New macro.
18431 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
18432 Likewise.
18433 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
18434 (MAP_SYNC): Likewise.
18435 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
18436 (MAP_SYNC): Likewise.
18437 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
18438 (MAP_SYNC): Likewise.
18439 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
18440 (MAP_SYNC): Likewise.
18441 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
18442 (MAP_SYNC): Likewise.
18443 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
18444 (MAP_SYNC): Likewise.
18445 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
18446 Likewise.
18447 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
18448 Likewise.
18449
92669d6e
JM
18450 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
18451 (MAP_SHARED_VALIDATE): New macro.
18452 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
18453 (MAP_SHARED_VALIDATE): Likewise.
18454
6a5cac49
L
184552018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18456
18457 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
18458 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
18459 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
18460
b44e0dfb
L
184612018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18462
18463 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
18464 (DT_NUM): Updated to 35.
18465
f886c16c
L
184662018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18467
18468 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
18469 __builtin_expect with __glibc_likely and __glibc_unlikely.
18470 (elf_machine_rela): Likewise.
18471 (elf_machine_lazy_rel): Likewise.
18472
06fbebff
L
184732018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18474
18475 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
8f4bf93f 18476 __builtin_expect with __glibc_likely and __glibc_unlikely.
06fbebff
L
18477 (elf_machine_lazy_rel): Likewise.
18478
371b220f
L
184792018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18480
18481 [BZ #22638]
18482 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
18483 SHARED.
65805016 18484 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
371b220f 18485
f649a1b8
AS
184862018-02-05 Andreas Schwab <schwab@suse.de>
18487
18488 [BZ #22761]
18489 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
18490 string.
18491
9fdb340e
ST
184922018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18493
18494 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
18495 not check against PTHREAD_STACK_MIN.
18496
09e56b9e
SM
184972018-02-02 Sean McKean <smckean83@gmail.com>
18498
18499 [BZ #22735]
18500 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
18501
d4b4a00a
FW
185022018-02-02 Florian Weimer <fweimer@redhat.com>
18503
18504 [BZ #22753]
18505 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
18506 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
18507 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
18508 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
18509 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
18510 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
18511 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
18512 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
18513 * manual/llio.texi (Scatter-Gather): Mention offset -1.
18514 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
18515 * misc/tst-preadvwritev2.c (do_test): Call it.
18516 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
18517
3dfcbfa1
SP
185182018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
18519
84c94d2f
SP
18520 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
18521
96e6a716
SP
18522 * benchtests/bench-memcmp.c: Print json instead of plain text.
18523
3dfcbfa1
SP
18524 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
18525 every test run.
18526
049375e2
JM
185272018-02-01 Joseph Myers <joseph@codesourcery.com>
18528
39f898c6
JM
18529 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
18530 version to 4.15.
18531 (s390_sthyi): New syscall.
18532
6f9a3dd8
JM
18533 * sysdeps/generic/ldbl-classify-compat.h: New file.
18534 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
18535 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
18536 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
18537 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
18538 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
18539 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
18540 * sysdeps/ieee754/dbl-64/s_finite.c: Include
18541 <ldbl-classify-compat.h>.
18542 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18543 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
18544 <ldbl-classify-compat.h>.
18545 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18546 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
18547 <ldbl-classify-compat.h>.
18548 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18549 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
18550 <ldbl-classify-compat.h>.
18551 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18552 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
18553 <ldbl-classify-compat.h>.
18554 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18555 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
18556 <ldbl-classify-compat.h>.
18557 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18558 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
18559 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
18560 * sysdeps/m68k/coldfire/math_private.h: Remove file.
18561 * sysdeps/microblaze/math_private.h: Likewise.
18562 * sysdeps/nios2/math_private.h: Likewise.
18563 * sysdeps/sh/math_private.h: Likewise.
18564
eb65a3d5
JM
18565 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
18566 * sysdeps/m68k/coldfire/math_private.h: ... here.
18567 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
18568 * sysdeps/tile/math_private.h: Likewise.
18569 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
18570 Remove macro.
18571 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
18572 Likewise.
18573
8a6bb1d0
JM
18574 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
18575 Remove macro.
18576 (libc_fetestexcept): Likewise.
18577 (libc_feupdateenv_test): Likewise.
18578 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
18579 (libc_fetestexcept): Likewise.
18580 (libc_feupdateenv_test): Likewise.
18581 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
18582 (libc_fetestexcept): Likewise.
18583 (libc_feupdateenv_test): Likewise.
18584 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
18585 (libc_fetestexcept): Likewise.
18586 (libc_feupdateenv_test): Likewise.
18587
ae1fcb7b
JM
18588 * sysdeps/generic/math_private.h
18589 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
18590 New inline function.
18591 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
18592 Likewise.
18593
b1c347e2
JM
18594 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
18595 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
18596 * sysdeps/generic/math_private.h
18597 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
18598 inline function.
18599 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
18600 Likewise.
18601 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
18602 Likewise.
18603 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
18604 Likewise.
18605 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
18606 Likewise.
18607 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
18608 Likewise.
18609 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
18610 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
18611 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
18612 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
18613 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
18614 (__fegetenv): Likewise.
18615 (fesetenv): Likewise.
18616 (__fesetenv): Likewise.
18617 (feupdateenv): Likewise.
18618 (__feupdateenv): Likewise.
18619 (fegetround): Likewise.
18620 (__fegetround): Likewise.
18621 (fesetround): Likewise.
18622 (__fesetround): Likewise.
18623
d23a4962
JM
18624 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
18625 (feraiseexcept): New macro.
18626 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
18627 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
18628 Remove macro.
18629 (__feraiseexcept): Likewise.
18630 (feclearexcept): Likewise.
18631 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
18632 (__feraiseexcept): Likewise.
18633 (feclearexcept): Likewise.
18634 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
18635 (__feraiseexcept): Likewise.
18636 (feclearexcept): Likewise.
18637 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
18638 (__feraiseexcept): Likewise.
18639 (feclearexcept): Likewise.
18640 (fetestexcept): Likewise.
18641
5f167950
JM
18642 * sysdeps/m68k/coldfire/math-tests.h: New file.
18643
ccc9035a
JM
18644 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
18645 * sysdeps/m68k/bits/fenv.h: ... here.
18646 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
18647 not define.
18648 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
18649 Likewise.
18650 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
18651 Likewise.
18652 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
18653 Likewise.
18654 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
18655 Likewise.
18656 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
18657 Define to 0.
18658 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
18659 (__FE_UNDEFINED): New enum constant.
18660 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
18661 Do not define.
18662 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
18663 Likewise.
18664 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
18665 Likewise.
18666 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
18667 to match generic bits/fenv.h.
18668 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
18669 Do not define.
18670
049375e2
JM
18671 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
18672 packed on bits.
18673 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
18674 * soft-fp/half.h (union _FP_UNION_H): Likewise.
18675 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
18676 * soft-fp/single.h (union _FP_UNION_S): Likewise.
18677
f1d73681
CD
186782018-02-01 Carlos O'Donell <carlos@redhat.com>
18679 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
18680 Joseph Myers <joseph@codesourcery.com>
18681
18682 [BZ #21314]
18683 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
18684 (__log1p): Disable -Wmaybe-uninitialized for -Os around
18685 computation using c.
18686 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
18687 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
18688 computation using c.
18689
242cbc90
DL
186902018-02-01 Dmitry V. Levin <ldv@altlinux.org>
18691
086ee48e
DL
18692 * version.h (RELEASE): Set to "development".
18693 (VERSION): Set to "2.27.9000".
18694 * NEWS (2.28): New section.
18695
23158b08
DL
18696 * version.h (RELEASE): Set to "stable".
18697 (VERSION): Set to "2.27".
18698 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
18699
242cbc90
DL
18700 * NEWS: Add the list of bugs fixed in 2.27.
18701
673e2305
AZ
187022018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18703
18704 * stdlib/test-atexit-race-common.c (do_test): Check stack size
18705 against PTHREAD_STACK_MIN.
18706
ced64e01
DL
187072018-02-01 Dmitry V. Levin <ldv@altlinux.org>
18708
18709 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
18710 New entries.
18711 (Rafal Luzynski, Andreas Schwab): Update.
18712
c10c9a5e
RL
187132018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
18714
18715 [BZ #10871]
18716 * NEWS: List the languages which actually use the alternative
18717 months feature in this release. Also explain that "alt_mon" and
18718 "ab_alt_mon" are optional.
18719
650ba77a
IM
187202018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
18721
18722 [BZ #22765]
18723 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
18724
93493119
DL
187252018-01-31 Dmitry V. Levin <ldv@altlinux.org>
18726
18727 * manual/install.texi (Tools for Compilation): Update the newest
18728 versions of gcc, binutils, texinfo, gawk, bison, and sed.
18729 * INSTALL: Regenerated.
18730
363e4519 187312018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
407552cf
ST
18732
18733 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
18734 instead of __builtin_expect.
18735
d7536874
FW
187362018-01-30 Florian Weimer <fweimer@redhat.com>
18737
18738 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
18739 data.
18740 * nss/tst-nss-getpwent.c (do_test): Likewise.
18741
9a1b267d
RL
187422018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
18743
18744 [BZ #10871]
18745 * localedata/locales/hr_HR (mon): Rename to...
18746 (alt_mon): This.
18747 (mon): Import from CLDR (genitive case).
18748 (d_t_fmt): Update the comment.
18749
9a179328
AS
187502018-01-29 Andreas Schwab <schwab@linux-m68k.org>
18751
18752 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
18753 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
18754 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
18755
e01e0ddc
ST
187562018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
18757
18758 * mach/Versions: Fix version when __mach_host_self_ was added.
18759 * hurd/Versions: Fix version when _hurd_exec_paths was added.
18760 * sysdeps/mach/hurd/i386/ld.abilist: New file.
18761 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
18762 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
18763 * sysdeps/mach/hurd/i386/libc.abilist: New file.
18764 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
18765 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
18766 * sysdeps/mach/hurd/i386/libm.abilist: New file.
18767 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
18768 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
18769 * sysdeps/mach/hurd/i386/librt.abilist: New file.
18770 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
ba729de6
ST
18771 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
18772 || to respect codestyle.
2aadb705
ST
18773 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
18774 (do_test_bz20181): Rename accordingly.
406e7a0a
ST
18775 * malloc/malloc.c: Include <assert.h>.
18776 (assert): Do not define.
18777 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
99dfbef4
ST
18778 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
18779 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
ac56adbb 18780 * sysdeps/mach/hurd/hp-timing.h: New file.
ef4cf463 18781 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
e01e0ddc 18782
521877e1
PD
187832018-01-29 Darius Rad <darius@bluespec.com>
18784
18785 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
18786
532cf290
PD
187872018-01-29 Palmer Dabbelt <palmer@sifive.com>
18788
18789 * sysdeps/init_array/crti.S (.section .init_array): Add
18790 PREINIT_FUNCTION when defined.
40ca951b 18791 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
4215e276 18792 * config.h.in: Regenerate.
ba9e25a6
PD
18793 * manual/platform.texi: Add RISC-V documenation for
18794 __riscv_flush_icache.
c776fa11
PD
18795 * sysdeps/riscv/__longjmp.S: New file.
18796 * sysdeps/riscv/backtrace.c: Likewise.
18797 * sysdeps/riscv/bits/endian.h: Likewise.
18798 * sysdeps/riscv/bits/setjmp.h: Likewise.
18799 * sysdeps/riscv/bits/wordsize.h: Likewise.
18800 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
18801 * sysdeps/riscv/bsd-setjmp.c: Likewise.
18802 * sysdeps/riscv/dl-trampoline.S: Likewise.
18803 * sysdeps/riscv/gccframe.h: Likewise.
18804 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
18805 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
18806 * sysdeps/riscv/machine-gmon.h: Likewise.
18807 * sysdeps/riscv/memusage.h: Likewise.
18808 * sysdeps/riscv/setjmp.S: Likewise.
18809 * sysdeps/riscv/sys/asm.h: Likewise.
18810 * sysdeps/riscv/tls-macros.h: Likewise.
33712660
PD
18811 * sysdeps/riscv/dl-tls.h: New file.
18812 * sysdeps/riscv/libc-tls.c: Likewise.
18813 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
18814 * sysdeps/riscv/nptl/tls.h: Likewise.
18815 * sysdeps/riscv/stackinfo.h: Likewise.
67236aeb
PD
18816 * sysdeps/riscv/bits/fenv.h: New file.
18817 * sysdeps/riscv/e_sqrtl.c: Likewise.
18818 * sysdeps/riscv/fpu_control.h: Likewise.
18819 * sysdeps/riscv/math-tests.h: Likewise.
18820 * sysdeps/riscv/nofpu/Implies: Likewise.
18821 * sysdeps/riscv/sfp-machine.h: Likewise.
18822 * sysdeps/riscv/tininess.h: Likewise.
b2cb5e02
PD
18823 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
18824 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
18825 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
18826 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
18827 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
18828 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
18829 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
18830 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
18831 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
18832 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
18833 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
18834 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
18835 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
18836 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
18837 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
18838 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
18839 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
18840 * sysdeps/riscv/rvd/s_finite.c: Likewise.
18841 * sysdeps/riscv/rvd/s_fma.c: Likewise.
18842 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
18843 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
18844 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
18845 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
18846 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
18847 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
18848 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
18849 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
18850 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
18851 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
18852 * sysdeps/riscv/rvf/fegetround.c: Likewise.
18853 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
18854 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
18855 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
18856 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
18857 * sysdeps/riscv/rvf/fesetround.c: Likewise.
18858 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
18859 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
18860 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
18861 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
18862 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
18863 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
18864 * sysdeps/riscv/rvf/math_private.h: Likewise.
18865 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
18866 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
18867 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
18868 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
18869 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
18870 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
18871 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
18872 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
18873 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
18874 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
18875 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
18876 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
18877 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
18878 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
18879 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
18880 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
d1c09b24
PD
18881 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
18882 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
18883 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
18884 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
36960f0c
PD
18885 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
18886 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
18887 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
18888 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
18889 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
18890 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
18891 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
18892 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
18893 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
7f33b09c
PD
18894 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
18895 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
18896 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
18897 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
18898 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
18899 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
18900 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
18901 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
18902 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
18903 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
18904 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
18905 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
18906 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
18907 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
18908 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
18909 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
18910 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
18911 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
18912 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
18913 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
18914 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
18915 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
ee53fed9
PD
18916 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
18917 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
18918 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
2268c433
PD
18919 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
18920 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
18921 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
18922 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
18923 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
18924 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
18925 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
18926 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
18927 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
18928 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
18929 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18930 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
18931 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
18932 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
c5061557
PD
18933 * sysdeps/riscv/Implies: New file.
18934 * sysdeps/riscv/Makefile: Likewise.
18935 * sysdeps/riscv/configure: Likewise.
18936 * sysdeps/riscv/configure.ac: Likewise.
18937 * sysdeps/riscv/nptl/Makefile: Likewise.
18938 * sysdeps/riscv/preconfigure: Likewise.
18939 * sysdeps/riscv/rv64/Implies-after: Likewise.
18940 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
18941 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
18942 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
18943 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
18944 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
18945 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
18946 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
18947 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
18948 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
18949 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
18950 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
0fd5d876
PD
18951 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
18952 (Config): Likewise.
532cf290 18953
cdd14619
FW
189542018-01-29 Florian Weimer <fweimer@redhat.com>
18955
18956 [BZ #22701]
18957 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
18958 libnsl_hidden_proto.
18959 * include/rpcsvc/yp.h (yp_xdrall): Declare with
18960 libnsl_hidden_proto.
18961 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
18962 * nis/Makefile (libnsl-routines): Add nss-default only for
18963 build-obsolete-nsl.
18964 * nis/nis_defaults.c (__nis_default_ttl): Add
18965 libnsl_hidden_nolink_def.
18966 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
18967 declaration.
18968 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
18969 * nis/ypclnt.c (yp_maplist): Likewise.
18970
b7ccb5de
RN
189712018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
18972
18973 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18974 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
18975
522623e4
JM
189762018-01-29 Joseph Myers <joseph@codesourcery.com>
18977
e3aa6999
JM
18978 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
18979 clean -dxfq for git updates when replacing sources.
18980
088de7d0
JM
18981 * scripts/build-many-glibcs.py (Config.build_gcc): Use
18982 --disable-libcilkrts unconditionally, not just for the final GCC
18983 build for Hurd.
18984
522623e4
JM
18985 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
18986 version to 4.15.
18987
8b406f87
RL
189882018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18989
18990 [BZ #10871]
18991 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
18992 case).
18993
105e90bd
RL
189942018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18995
18996 [BZ #10871]
18997 * localedata/locales/be_BY (mon): Rename to...
18998 (alt_mon): This, then synchronize with CLDR (nominative case).
18999 (abmon): Rename to...
19000 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
19001 (mon): Import from CLDR (genitive case).
19002 (abmon): Likewise.
19003 * localedata/locales/be_BY@latin (mon): Rename to...
19004 (alt_mon): This.
19005 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
19006
19007 * localedata/locales/be_BY@latin (lang_name): Reworded to
19008 "biełaruskaja mova".
19009
561cb414
RL
190102018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19011
19012 [BZ #10871]
19013 * localedata/locales/el_CY (mon): Renamed to...
19014 (alt_mon): This.
19015 (mon): Import from CLDR (genitive case).
19016 * localedata/locales/el_GR: Likewise.
19017
f7bdf30d
RL
190182018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19019
19020 [BZ #10871]
19021 * localedata/locales/ru_RU (mon): Rename to...
19022 (alt_mon): This.
19023 (abmon): Rename to...
19024 (ab_alt_mon): This.
19025 (mon): Import from CLDR (genitive case).
19026 (abmon): Copy from the old content except the 5th month which is
19027 now in the genitive case, even when abbreviated.
19028 * localedata/locales/ru_UA: Likewise.
19029 * time/tst-strptime.c (day_tests): Add an actual example of
19030 a difference between %b and %Ob in Russian.
19031
85285a0c
ST
190322018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
19033
19034 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
da8168df
ST
19035 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
19036 a `c' variable.
3538a4b6 19037 * resolv/res-close.c: Include <stdlib.h>.
b29848b9
ST
19038 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
19039 <sys/wait.h>, <time.h>, <sys/uio.h>.
19040 (NOT_CANCEL_H): Add inclusion guard.
4f66dc23 19041 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
147d1dbb
ST
19042 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
19043 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
19044 return 0.
05ebfe87
ST
19045 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
19046 vm_address_t * to ElfW(Addr) * for dl_main parameter.
61a3a8c6
ST
19047 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
19048 instead of void *.
19049 * sysdeps/pthread/timer_create.c (timer_create): Do not use
19050 timer_ptr2id to cast struct timer_node * to void *.
d4d5b2dd
ST
19051 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
19052 --disable-libcilkrts to gcc configure.
19fd8d0d
ST
19053 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
19054 and make them the default for now.
903d3633
ST
19055 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
19056 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
7dab2d00
ST
19057 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
19058 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
19059 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
19060 MACH_IPC_COMPAT.
06fac9f5
ST
19061 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
19062 __task_terminate would ever return successfully.
f8177753
ST
19063 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
19064 to global scope.
41cdb1eb
ST
19065 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
19066 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
660b7bff
ST
19067 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
19068 critical section to make code simpler and avoid warning.
19069 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
19070 critical section to make code simpler and avoid warning.
844bf921
ST
19071 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
19072 const char * instead of char *.
f8bee46c
ST
19073 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
19074 __hurd_file_name_split, hurd_file_name_split,
19075 __hurd_directory_name_split, hurd_directory_name_split,
19076 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
19077 hurd_file_name_path_lookup): Make lookup function parameter take a
19078 const char *name instead of char *name.
19079 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
19080 __hurd_directory_name_split): Likewise.
19081 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
19082 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
40066975
ST
19083 * sysdeps/mach/hurd/check_native.c: New file.
19084 * sysdeps/mach/hurd/check_pf.c: New file.
7c5b106d
ST
19085 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
19086 (__freeifaddrs): Define macro to freeifaddrs.
5f982b0b
ST
19087 * sysdeps/mach/hurd/libhurduser.abilist: New file.
19088 * sysdeps/mach/libmachuser.abilist: New file.
cef7166a
ST
19089 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
19090 (do_test_bz20181): Rename accordingly.
19091 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
3fc1ecf9
ST
19092 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
19093 <sys/mount.h>.
28f6186f
ST
19094 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
19095 version only if __USE_EXTERN_INLINES is defined.
19096 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
19097 __hurd_sockfail): Likewise.
19098 (_hurd_fd_get): Always declare functions, and provide inline versions
19099 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
19100 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
19101 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
19102 _hurd_port_set): Always declare functions, and provide inline versions
19103 only if __USE_EXTERN_INLINES and _LIBC are defined and
19104 IS_IN(libc).
19105 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
19106 _hurd_critical_section_unlock): Likewise.
19107 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
19108 * __hurd_threadvar_location): Likewise.
19109 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
19110 _hurd_userlink_clear): Likewise.
19111 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
19112 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
19113 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
19114 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
19115 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
19116 __spin_lock_locked): Likewise.
19117 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
19118 __spin_lock_locked): Likewise.
19119 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
19120 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
19121 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
19122 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
19123 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
b1025304
ST
19124 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
19125 _POSIX_NO_TRUNC): Define to 0.
a902a086
ST
19126 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
19127 check size against PTHREAD_STACK_MIN.
625ba81e
ST
19128 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
19129 IS_IN(libpthread)]: Include <sigsetops.h>.
2e52dff4
ST
19130 * mach/Makefile (user-interfaces): Add mach/gnumach.
19131 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
19132 * sysdeps/mach/configure (mach_interface_list): Regenerate.
80463dc6
ST
19133 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
19134 instead of invalid -1.
1f89ac71
ST
19135 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
19136 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
19137 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
19138 <net/ppp_defs.h>.
85285a0c 19139
1fd1e27c 191402018-01-27 Thomas Schwinge <tschwinge@gnu.org>
84814e2a
TS
19141
19142 * hurd/fcntl-internal.h: New file.
19143
3854c5a8
JC
191442018-01-27 James Clarke <jrtc27@jrtc27.com>
19145
7e23a7dd
JC
19146 * sysdeps/hppa/fpu/libm-test-ulps: Update.
19147
3854c5a8
JC
19148 * sysdeps/alpha/fpu/libm-test-ulps: Update.
19149
5503f413
AS
191502018-01-26 Andreas Schwab <schwab@linux-m68k.org>
19151
19152 [BZ #22701]
19153 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
19154 Build only shared objects.
19155
caaf7804
CD
191562018-01-26 Carlos O'Donell <carlos@redhat.com>
19157
19158 * README: Update for hppa.
19159
1cbf818d
PM
191602018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19161
caaf7804
CD
19162 * sysdeps/sparc/fpu/libm-test-ulps: Update
19163 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
1cbf818d 19164
caaf7804 191652018-01-26 Carlos O'Donell <carlos@redhat.com>
2ec0e7ea
CD
19166
19167 Revert:
19168
19169 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19170
19171 [BZ #22563]
19172 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19173 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
19174 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19175 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
19176 to feature_1.
19177
19178 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19179
19180 [BZ #22563]
19181 * bits/types/__cancel_jmp_buf_tag.h: New file.
19182 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
19183 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
19184 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
19185 * nptl/Makefile (headers): Add
19186 bits/types/__cancel_jmp_buf_tag.h.
19187 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
19188 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
19189 * sysdeps/nptl/pthread.h: Include
19190 <bits/types/__cancel_jmp_buf_tag.h>.
19191 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
19192 __cancel_jmp_buf.
19193 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
19194
65f6c94e
RL
191952018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
19196
19197 [BZ #10871]
19198 * localedata/locales/uk_UA (mon): Renamed to...
19199 (alt_mon): This.
19200 (alt_digits): "0" removed and then renamed to...
19201 (mon): This.
19202 (date_fmt): Definition changed not to use the alternative
19203 digits hack.
19204
fb58aac5
PD
192052018-01-25 Palmer Dabbelt <palmer@sifive.com>
19206
19207 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
19208 FLAG_RISCV_FLOAT_ABI_DOUBLE.
19209 * elf/elf.h (EF_RISCV_RVC): New define.
19210 (EF_RISCV_FLOAT_ABI): Likewise.
19211 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
19212 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
19213 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
19214 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
19215 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
19216 define.
19217 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
19218
128c43a2
AS
192192018-01-25 Andreas Schwab <schwab@suse.de>
19220
19221 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
19222 single quotes.
19223 * sysdeps/gnu/configure: Regenerate.
19224 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
19225 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19227 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
19228 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
19229 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
19230 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
19231 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
19232
f9015003
ST
192332018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
19234
48130690 19235 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
47c4b4b0 19236 URL, and run autoconf, make it the default for now.
f9015003 19237
91b2cffa
JM
192382018-01-24 Joseph Myers <joseph@codesourcery.com>
19239
3005b705
JM
19240 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19241 soft-float ColdFire configuration.
19242
69231fab
JM
19243 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
19244 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
19245 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
19246
d4c7e1d0
JM
19247 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
19248 MicroBlaze file.
19249
0cfe5be5
JM
19250 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
19251 ....
19252 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
19253 ... here.
19254 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
19255 New file.
19256
91b2cffa
JM
19257 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
19258 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
19259 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
19260 file.
19261
c739e191
SN
192622018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
19263
19264 [BZ #22742]
19265 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
19266 Rename to __reserved and add comment.
19267 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
19268 Rename to __reserved.
19269
394b5bac
JM
192702018-01-24 Joseph Myers <joseph@codesourcery.com>
19271
19272 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19273 i686-gnu configurations.
19274 (Context.run_builds): Include mig, gnumach and hurd in components
19275 considered.
19276 (Context.checkout): Add mig, gnumach and hurd to components.
19277 (Context.checkout_tar): Add URL mappings for mig, gnumach and
19278 hurd.
19279 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
19280 (Config.build): Install gnumach headers, build mig and install
19281 hurd headers for 'gnu' OS.
19282 (Config.install_gnumach_headers): New function.
19283 (Config.install_hurd_headers): Likewise.
19284 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
19285 when building for 'gnu' OS.
19286
28c3f14f
TK
192872018-01-23 Tobias Klauser <tklauser@distanz.ch>
19288
19289 * manual/tunables.texi (Hardware Capability Tunables): Fix
19290 spelling.
19291
0f5e2da1
RJ
192922018-01-22 Rical Jasan <ricaljasan@pacific.net>
19293
19294 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
19295 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
19296 (ALTMON_11, ALTMON_12): Improve documentation.
19297 * manual/time.texi (strftime): Likewise.
19298
7817b14a
RL
192992018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19300
19301 [BZ #10871]
19302 * localedata/locales/pl_PL: Alternative month names added,
19303 primary month names are genitive now.
19304 * time/tst-strptime.c (day_tests): Actually use a genitive case
19305 of a month name in Polish language.
19306
22390764
RL
193072018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19308
19309 [BZ #10871]
19310 * manual/locale.texi: Document ALTMON_1..12 constants for
19311 nl_langinfo. Specify when to use ALTMON instead of MON.
19312 * manual/time.texi (strftime, strptime): Document GNU extension
19313 permitting O modifier with %B and %b. Specify when to use
19314 %OB instead of %B.
19315
761a585c
RL
193162018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19317
19318 [BZ #10871]
19319 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
19320 names, define them as the same as abbreviated month names explicitly.
19321 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
19322 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
19323 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
19324 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
19325 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
19326 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
19327 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
19328 _NL_WABALTMON_12): New enum constants.
19329 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
19330 wab_alt_mon, and ab_alt_mon_defined members.
19331 (time_output): Output ab_alt_mon and wab_alt_mon members.
19332 (time_read): Read them, initialize them as copies of abmon and wabmon
19333 respectively if they are missing, initialize ab_alt_mon_defined.
19334 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
19335 * locale/programs/locfile-kw.h: Regenerate.
19336 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
19337 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
19338 and ru_RU.UTF-8.
19339 * time/strftime_l.c (a_altmonth, aam_len): New macros.
19340 [!COMPILE_WIDE] (ABALTMON_1): New macro.
19341 (__strftime_internal): Handle %Ob and %Oh formats.
19342 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
19343 (__strptime_internal): Handle %Ob and %Oh formats.
19344 * time/tst-strptime.c (day_tests): Add more tests to parse different
19345 forms of month names including the new %Ob format specifier.
19346
95cb863a
RL
193472018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19348
19349 [BZ #10871]
19350 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
19351 define them as the same as primary full month names explicitly.
19352 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
19353 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
19354 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
19355 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
19356 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
19357 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
19358 _NL_WALTMON_12): New enum constants.
19359 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
19360 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
19361 macros.
19362 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
19363 walt_mon, and alt_mon_defined members.
19364 (time_output): Output alt_mon and walt_mon members.
19365 (time_read): Read them, initialize them as copies of mon and wmon
19366 respectively if they are missing, initialize alt_mon_defined.
19367 * locale/programs/locfile-kw.gperf (alt_mon): Define.
19368 * locale/programs/locfile-kw.h: Regenerate.
19369 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
19370 * localedata/tst-langinfo.c (map): Add tests for the new constants
19371 ALTMON_1 .. ALTMON_12.
19372 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
19373 and pl_PL.UTF-8.
19374 * time/strftime_l.c (f_altmonth): New macro.
19375 (__strftime_internal): Handle %OB format.
19376 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
19377 (__strptime_internal): Handle %OB format.
19378 * time/tst-strptime.c (day_tests): Add tests to parse different forms
19379 of month names including the new %OB format specifier.
19380
4612268a
TMQMF
193812018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19382
19383 [BZ #22685]
19384 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
19385 from ABORT_TRANSACTION.
19386 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
19387 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
19388 ABORT_TRANSACTION_IMPL): Likewise.
19389 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
19390 Linux code, but remove the code that aborts transactions.
19391
64f63cb4
ST
193922018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
19393
19394 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
19395
32ac6e92
RL
193962018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
19397
19398 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
19399 in date: "2004-14-09" should be "2004-09-14".
19400 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
19401 "2003-15-09" should be "2003-09-15".
19402
8e448310
AS
194032018-01-18 Arjun Shankar <arjun@redhat.com>
19404
19405 [BZ #22343]
71aa429b 19406 [BZ #22774]
4590634f 19407 CVE-2018-6485
71aa429b 19408 CVE-2018-6551
8e448310
AS
19409 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
19410 after padding.
19411 (_int_memalign): check for integer overflow before calling
19412 _int_malloc.
19413 * malloc/tst-malloc-too-large.c: New test.
19414 * malloc/Makefile: Add tst-malloc-too-large.
19415
e234d7cb
RL
194162018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
19417
19418 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
19419 in date: "2017-24-07" should be "2017-07-24".
19420 * localedata/locales/mai_IN: Likewise.
19421 * localedata/locales/mai_NP: Likewise.
19422
48b66019
DL
194232018-01-17 Dmitry V. Levin <ldv@altlinux.org>
19424
19425 * po/ru.po: Update translations.
19426
1eeddc58
JM
194272018-01-17 Joseph Myers <joseph@codesourcery.com>
19428
19429 [BZ #22719]
19430 * sysdeps/hppa/backtrace.c: New file.
19431
207a72e2
L
194322018-01-17 H.J. Lu <hongjiu.lu@intel.com>
19433
19434 [BZ #22715]
19435 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
19436 align La_x86_64_retval to VEC_SIZE.
19437
4942c4ea
JM
194382018-01-16 Joseph Myers <joseph@codesourcery.com>
19439
19440 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
19441 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
19442
10d200db
FW
194432018-01-16 Florian Weimer <fweimer@redhat.com>
19444
19445 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
19446 Move tst-thread-exit-clobber ...
19447 [$(CXX)] (tests-unsupported): ... to here.
19448
953c49cc
SN
194492018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
19450
19451 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
19452 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
19453 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
19454 (_dl_aarch64_cap_flags): Update.
19455 (_DL_HWCAP_COUNT): Update.
19456
afce1991
SN
194572018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
19458
19459 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
19460 (_DL_HWCAP_LAST): Remove.
19461 (_DL_HWCAP_COUNT): Move to ...
19462 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
19463 (_DL_HWCAP_COUNT): ... here.
19464
b725132d
FW
194652018-01-16 Florian Weimer <fweimer@redhat.com>
19466
19467 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
19468 mode with GNU extensions.
19469
c9e613a7
AH
194702018-01-15 Alan Hayward <alan.hayward@arm.com>
19471
19472 * elf/elf.h (NT_ARM_SVE): Define.
19473
860b0240
FW
194742018-01-15 Florian Weimer <fweimer@redhat.com>
19475
19476 [BZ #22636]
19477 * nptl/tst-minstack-throw.cc: New file.
19478 * nptl/Makefile (tests): Add tst-minstack-throw.
19479 (LDLIBS-tst-minstack-throw): Link with libstdc++.
19480 [!CXX] (tests-unsupported): Add tst-minstack-throw.
19481
16d0f6ac
JM
194822018-01-15 Joseph Myers <joseph@codesourcery.com>
19483
19484 * scripts/build-many-glibcs.py (Context.checkout): Default
19485 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
19486 version to 1.1.0.
19487
505d3910
CD
194882018-01-13 Carlos O'Donell <carlos@redhat.com>
19489
19490 [BZ #22707]
19491 * elf/elf.h (DF_1_STUB): Define.
19492 (DF_1_PIE): Define.
19493
af1e6be4
TMQMF
194942018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19495
19496 [BZ #22697]
19497 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
19498 Do not add 0.5 to integer or out-of-range arguments.
19499
98d13ce0
DL
195002018-01-12 Dmitry V. Levin <ldv@altlinux.org>
19501
19502 * po/bg.po: Update translations.
19503 * po/cs.po: Likewise.
19504 * po/de.po: Likewise.
19505 * po/ko.po: Likewise.
19506 * po/pl.po: Likewise.
19507 * po/sv.po: Likewise.
19508 * po/uk.po: Likewise.
19509 * po/vi.po: Likewise.
19510
3d1d7928
SN
195112018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
19512
19513 * aarch64/start.S (_start): Use __wrap_main.
19514 (__wrap_main): New local symbol.
19515
52a713fd
DL
195162018-01-12 Dmitry V. Levin <ldv@altlinux.org>
19517
19518 [BZ #22679]
19519 CVE-2018-1000001
19520 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
19521 generic_getcwd if the path returned by getcwd syscall is not absolute.
19522 * io/tst-getcwd-abspath.c: New test.
19523 * io/Makefile (tests): Add tst-getcwd-abspath.
19524
249a5895
IK
195252018-01-12 Istvan Kurucsai <pistukem@gmail.com>
19526
19527 * malloc/malloc.c (malloc_consolidate): Add size check.
19528
1a51e46e
FW
195292018-01-12 Florian Weimer <fweimer@redhat.com>
19530
19531 * support/write_message.c (write_message): Preserve errno.
19532 * support/check.c (print_failure): Likewise.
19533 * support/support_test_verify_impl.c (support_test_verify_impl):
19534 Likewise.
19535 * support/support_test_compare_failure.c
19536 (support_test_compare_failure): Likewise.
19537
9a08a366
FW
195382018-01-12 Florian Weimer <fweimer@redhat.com>
19539
19540 [BZ #22701]
19541 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
19542 Prevent installation of libnsl.so.
19543 (libnsl-inhibit-o): Do not build (or install) static libraries.
19544
80647883 195452018-01-12 Egmont Koblinger <egmont@gmail.com>
f172187b
EK
19546
19547 [BZ #22657]
19548 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
19549 before the day number which may produce a double space.
19550 (date_fmt): Likewise.
19551
c8924f1f
JM
195522018-01-12 Joseph Myers <joseph@codesourcery.com>
19553
19554 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
19555 instead of fegetenv.
19556
da09e6fa
JM
195572018-01-11 Joseph Myers <joseph@codesourcery.com>
19558
19559 [BZ #22702]
19560 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
19561 comment to say exceptions are discarded.
19562 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
19563 __fegetenv.
19564 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
19565 be enabled.
19566
08c6e952
FW
195672018-01-11 Florian Weimer <fweimer@redhat.com>
19568
19569 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
19570 and error message.
19571
d8b77890
FW
195722018-01-11 Florian Weimer <fweimer@redhat.com>
19573
19574 [BZ #22636]
19575 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
19576 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
19577
b303185d
JM
195782018-01-10 Joseph Myers <joseph@codesourcery.com>
19579
19580 [BZ #22693]
19581 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
19582 negative arguments in test for NaN or infinity argument.
19583
ee61d028
DL
195842018-01-10 Dmitry V. Levin <ldv@altlinux.org>
19585
19586 * po/libc.pot: Regenerate.
19587
f993b875
FW
195882018-01-10 Florian Weimer <fweimer@redhat.com>
19589
19590 [BZ #22636]
19591 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
19592 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
19593
09085ede
ST
195942018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19595
19596 * hurd/hurd/fd.h: Include <fcntl.h>
19597 (__hurd_at_flags): New function.
19598 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
19599 with call to __hurd_at_flags.
19600 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
19601 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
19602 __faccessat
19603 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
19604 (__access_noerrno): Use __faccessat_common instead of access_common.
19605 (__access): Likewise.
19606 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
19607 with a call to __faccessat.
19608 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
19609 (__faccessat_common): ... this. Move implementation of __access into it when
19610 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
19611 reauthenticate_cwdir_at helper to implement AT mechanism.
19612 (__faccessat_noerrno): New function, just calls __faccessat_common.
19613 (__faccessat): New function, just calls __faccessat_common.
19614 (faccessat): Define weak alias.
19615
12727488
JM
196162018-01-10 Joseph Myers <joseph@codesourcery.com>
19617
87faac55
JM
19618 [BZ #22691]
19619 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19620 (CFLAGS-s_fmaxmagl.c): New variable.
19621 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
19622
12727488
JM
19623 [BZ #22690]
19624 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
19625 long int for arguments of possibly overflowing addition or
19626 subtraction.
19627 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
19628
e134ca17
JM
196292018-01-09 Joseph Myers <joseph@codesourcery.com>
19630
b2584ac2
JM
19631 [BZ #22688]
19632 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19633 (CFLAGS-e_remainderl.c): New variable.
19634
e134ca17
JM
19635 [BZ #22687]
19636 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
19637 variable.
19638 (CFLAGS-s_cacoshl.c): Likewise.
19639 (CFLAGS-s_casinhl.c): Likewise.
19640 (CFLAGS-s_catanl.c): Likewise.
19641 (CFLAGS-s_catanhl.c): Likewise.
19642 (CFLAGS-s_cexpl.c): Likewise.
19643 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
19644 (CFLAGS-s_csinhl.c): Likewise.
19645 (CFLAGS-s_clogl.c): Likewise.
19646 (CFLAGS-s_clog10l.c): Likewise.
19647 (CFLAGS-s_csinl.c): Likewise.
19648 (CFLAGS-s_csqrtl.c): Likewise.
19649
d31a4a48
ST
196502017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
196512017-01-09 Svante Signell <svante.signell@gmail.com>
311ba8dc
ST
19652
19653 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
19654 (_hurd_exec_paths): New function.
19655 * hurd/hurd.h (_hurd_exec): Deprecate function.
19656 (_hurd_exec_paths): Declare function.
19657 * hurd/Versions: Export _hurd_exec_paths.
19658 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
19659 (__execve): Use __getcwd to build absolute path, and use
19660 _hurd_exec_paths instead of _hurd_exec.
19661 * sysdeps/mach/hurd/spawni.c: Likewise.
19662 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
19663 _hurd_exec.
19664
d7ff3f11
DL
196652018-01-08 Dmitry V. Levin <ldv@altlinux.org>
19666
19667 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
19668 test instead of failing in case of ENOENT returned by posix_openpt.
19669
401311cf
FW
196702018-01-08 Florian Weimer <fweimer@redhat.com>
19671
19672 resolv: Support binary labels in test framework.
19673 * support/resolv_test.c (struct to_be_freed): Remove.
19674 (struct compressed_name): New.
19675 (allocate_compressed_name, ascii_tolower)
19676 (compare_compressed_name): New functions.
19677 (struct resolv_response_builder): Update type of
19678 compression_offsets for use with tsearch. Rempve to_be_freed.
19679 (response_push_pointer_to_free): Remove function.
19680 (resolv_response_add_name): Rewrite using struct compressed_name
19681 and tsearch instead of hsearch_r.
19682 (response_builder_allocate): Remove initialization of
19683 compression_offsets.
19684 (response_builder_free): Update for removal of to_be_freed. Use
19685 tdestroy instead of hdestroy_r.
19686 * resolv/Makefile (tests): Add tst-resolv-binary.
19687 (tst-resolv-binary): Link with -lresolv -lpthread.
19688
2b3aa446
FW
196892018-01-08 Florian Weimer <fweimer@redhat.com>
19690
19691 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
19692 time. Pass positive flag instead of negative flag to
19693 support_test_compare_failure.
19694 (support_test_compare_failure): Change negative parameter to
19695 positive.
19696 * support/support_test_compare_failure.c (report)
19697 (support_test_compare_failure): Likewise.
19698 * support/tst-test_compare.c (return_ssize_t, return_int): New.
19699 (do_test): Check int/size_t, ssize_t/size_t comparisons.
19700
630f4cc3
SN
197012018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
19702
19703 [BZ #22637]
19704 * nptl/descr.h (stackblock, stackblock_size): Update comments.
19705 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
19706 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
19707 stacksize.
19708 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
19709
c70e4e9c
L
197102018-01-08 H.J. Lu <hongjiu.lu@intel.com>
19711
19712 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19713 Add s_sincosf-sse2 and s_sincosf-fma.
19714 (CFLAGS-s_sincosf-fma.c): New.
19715 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
19716 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
19717 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
19718 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
19719 __sincosf is defined.
19720
579396ee
FW
197212018-01-08 Florian Weimer <fweimer@redhat.com>
19722
19723 * nptl/tst-thread-exit-clobber.cc: New file.
19724 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
19725 C++11 mode.
19726 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
19727 (tests): Add tst-thread-exit-clobber.
19728 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
19729
dabd75b6
FW
197302018-01-08 Florian Weimer <fweimer@redhat.com>
19731
19732 * support/check.h (support_static_assert): Define.
19733 (TEST_COMPARE): Use it.
19734
c2e014cc
AJ
197352018-01-07 Aurelien Jarno <aurelien@aurel32.net>
19736
19737 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
19738 [!__RLIM_T_MATCHES_RLIM64_T]
19739 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
19740 __getrlimit64. Add libc_hidden_weak.
19741
31a98837
PD
197422018-01-06 Palmer Dabbelt <palmer@sifive.com>
19743
19744 * elf/elf.h (R_RISCV_NONE): New define.
19745 (R_RISCV_32): Likewise.
19746 (R_RISCV_64): Likewise.
19747 (R_RISCV_RELATIVE): Likewise.
19748 (R_RISCV_COPY): Likewise.
19749 (R_RISCV_JUMP_SLOT): Likewise.
19750 (R_RISCV_TLS_DTPMOD32): Likewise.
19751 (R_RISCV_TLS_DTPMOD64): Likewise.
19752 (R_RISCV_TLS_DTPREL32): Likewise.
19753 (R_RISCV_TLS_DTPREL64): Likewise.
19754 (R_RISCV_TLS_TPREL32): Likewise.
19755 (R_RISCV_TLS_TPREL64): Likewise.
00505532
PD
19756 * Makerules (make-link-multidir): Make directories before linking into
19757 them.
150bbac1
PD
19758 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
19759 define.
19760 (VDSO_HASH_LINUX_4_15): Likewise.
1598f3ad
PD
19761 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
19762 in subdirectories of lib.
8e13c51b
PD
19763 * nptl/Makefile (/librt.so): Always depend on
19764 "$(shared-thread-library)".
31a98837 19765
fad7d57e
ST
197662018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19767
19768 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
4a5ce6e9
ST
19769 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
19770 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
19771 (___tls_get_addr).
19772 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
107a35a5
ST
19773 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
19774 "-O2 -march=i686".
01c7e549 19775 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
f417d92c
ST
19776 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
19777 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
19778 * sysdeps/gnu/glob-lstat-compat.c: New file.
19779 * sysdeps/gnu/glob64-lstat-compat.c: New file.
200fc24b 19780 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
fad7d57e 19781
3a32b716
TMQMF
197822018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19783
19784 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
19785 Reserve 16 chars to reloc_addr before calling _itoa_word.
19786
24731685
AJ
197872018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19788
19789 [BZ #22678]
19790 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
19791 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
19792
19be56d8
AJ
19793 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
19794 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
19795
a6d0afb5
AJ
19796 * resource/tst-getrlimit.c: Add copyright header.
19797
8e900969
AJ
197982018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19799 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19800
19801 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
19802 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
19803 Define __GI_getrlimit64 as weak alias of __getrlimit64.
19804 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
19805 instead.
19806 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
19807 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
19808 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
19809 RLIM64_INFINITY): Fix values to match the kernel ones.
19810 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
19811 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
19812 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
19813 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
19814 getrlimit64@@GLIBC_2_27.
19815 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
19816 and setrlimit64.
19817 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
19818 getrlimit, setrlimit, getrlimit64 and setrlimit64.
19819 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
19820 setrlimit, getrlimit64 and setrlimit64.
19821
0d0bc784
AJ
198222018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19823
19824 [BZ #22648]
19825 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
19826 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
19827
ba374b6d
JM
198282018-01-04 Joseph Myers <joseph@codesourcery.com>
19829
19830 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
19831 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
19832 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
19833
4854ddd8
AZ
198342018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19835
b0a4eca2
AZ
19836 [BZ #15479]
19837 [BZ #22666]
19838 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
19839 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
19840
4854ddd8
AZ
19841 [BZ #15479]
19842 [BZ #22665]
19843 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
19844 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
19845 * sysdeps/alpha/fpu/s_floor.c: Likewise.
19846 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
19847
8a5df95f
FW
198482018-01-04 Florian Weimer <fweimer@redhat.com>
19849
19850 [BZ #22667]
19851 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
19852 Align the stack before calling exit.
19853 * stdlib/tst-makecontext-align.c: New file.
19854 * stdlib/Makefile (tests): Add tst-makecontext-align.
19855
82eef55f
FW
198562018-01-04 Florian Weimer <fweimer@redhat.com>
19857
19858 Add support for calling dlvsym from libc.so.
19859 * include/dlfcn.h (__libc_dlvsym): Declare.
19860 * elf/Makefile (tests-static-internal): Add
19861 tst-libc_dlvsym-static.
19862 (tests-internal): Add tst-libc_dlvsym.
19863 (modules-names): Add tst-libc_dlvsym-dso.
19864 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
19865 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
19866 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
19867 object tst-libc_dlvsym-dso.so needs to be built before running
19868 these tests.
19869 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
19870 * elf/Versions: Export __libc_dlvsym.
19871 * elf/dl-libc.c (struct do_dlvsym_args): New.
19872 (do_dlvsym, __libc_dlvsym): New functions.
19873 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
19874 (_dl_open_hook2): New variable.
19875 (__libc_register_dl_open_hook): Set it.
19876 * elf/tst-libc_dlvsym-dso.c: New file.
19877 * elf/tst-libc_dlvsym-static.c: Likewise.
19878 * elf/tst-libc_dlvsym.c: Likewise.
19879 * elf/tst-libc_dlvsym.h: Likewise.
19880
1714fc06
ST
198812018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
19882
19883 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
19884 include <sys/mount.h>.
19885
3c7d0312
WD
198862018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
19887
19888 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
19889 Add __NO_MATH_ERRNO__ check.
19890
7eff0954
JM
198912018-01-02 Joseph Myers <joseph@codesourcery.com>
19892
19893 * sysdeps/mips/mips32/libm-test-ulps: Update.
19894 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19895
77f49956
FW
198962018-01-02 Florian Weimer <fweimer@redhat.com>
19897
19898 * misc/tst-pselect.c: Add copyright header.
19899
363e4519 199002018-01-02 Aurelien Jarno <aurelien@aurel32.net>
d35989be
AJ
19901
19902 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
19903 comment.
19904 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
19905 comment.
19906 (settrlimit): Rename into setrlimit.
19907 (__sttrlimit): Rename into __setrlimit.
19908
3e4226ff
AJ
19909 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
19910 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
19911 never defined in that case.
19912
b9256ab6
JM
199132018-01-02 Joseph Myers <joseph@codesourcery.com>
19914
28fd6a44
JM
19915 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
19916
a4933a15
JM
19917 * sysdeps/arm/libm-test-ulps: Update.
19918
b9256ab6
JM
19919 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
19920 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
19921
4cf82d23
RS
199222018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19923
19924 * NEWS: Add cosf and sincosf to list of optimized functions.
19925
6a9dd7a7
AJ
199262018-01-02 Aurelien Jarno <aurelien@aurel32.net>
19927
19928 [BZ #22660]
19929 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
19930 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
19931 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
19932 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
19933
dbba87d5
DL
199342018-01-01 Dmitry V. Levin <ldv@altlinux.org>
19935
b05cb613
DL
19936 [BZ #22433]
19937 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
19938
dbba87d5
DL
19939 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
19940 making a copy of it.
19941
688903eb
JM
199422018-01-01 Joseph Myers <joseph@codesourcery.com>
19943
66ac23de
JM
19944 * manual/texinfo.tex: Update to version 2017-12-26.21 with
19945 trailing whitespace removed.
19946 * scripts/config.guess: Update to version 2018-01-01.
19947 * scripts/config.sub: Update to version 2018-01-01.
19948 * scripts/move-if-change: Update from gnulib.
19949
09533208
JM
19950 * NEWS: Update copyright dates.
19951 * catgets/gencat.c (print_version): Likewise.
19952 * csu/version.c (banner): Likewise.
19953 * debug/catchsegv.sh: Likewise.
19954 * debug/pcprofiledump.c (print_version): Likewise.
19955 * debug/xtrace.sh (do_version): Likewise.
19956 * elf/ldconfig.c (print_version): Likewise.
19957 * elf/ldd.bash.in: Likewise.
19958 * elf/pldd.c (print_version): Likewise.
19959 * elf/sotruss.sh: Likewise.
19960 * elf/sprof.c (print_version): Likewise.
19961 * iconv/iconv_prog.c (print_version): Likewise.
19962 * iconv/iconvconfig.c (print_version): Likewise.
19963 * locale/programs/locale.c (print_version): Likewise.
19964 * locale/programs/localedef.c (print_version): Likewise.
19965 * login/programs/pt_chown.c (print_version): Likewise.
19966 * malloc/memusage.sh (do_version): Likewise.
19967 * malloc/memusagestat.c (print_version): Likewise.
19968 * malloc/mtrace.pl: Likewise.
19969 * manual/libc.texinfo: Likewise.
19970 * nptl/version.c (banner): Likewise.
19971 * nscd/nscd.c (print_version): Likewise.
19972 * nss/getent.c (print_version): Likewise.
19973 * nss/makedb.c (print_version): Likewise.
19974 * posix/getconf.c (main): Likewise.
19975 * scripts/test-installation.pl: Likewise.
19976 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
19977
688903eb
JM
19978 * All files with FSF copyright notices: Update copyright dates
19979 using scripts/update-copyrights.
19980 * locale/programs/charmap-kw.h: Regenerated.
19981 * locale/programs/locfile-kw.h: Likewise.
19982
4f820792
ZW
199832017-12-31 Zack Weinberg <zackw@panix.com>
19984
19985 * libio/bits/libio-ldbl.h: Correct check for improper
19986 inclusion. Add own multiple include guard.
19987
3e3c904d
AJ
199882017-12-30 Aurelien Jarno <aurelien@aurel32.net>
19989 Dmitry V. Levin <ldv@altlinux.org>
19990
19991 [BZ #22625]
31f96325 19992 CVE-2017-16997
3e3c904d
AJ
19993 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
19994 string token expansion. Check for NULL pointer or empty string possibly
19995 returned by expand_dynamic_string_token.
19996 (decompose_rpath): Check for empty path after dynamic string
19997 token expansion.
19998
7e21972b
DL
199992017-12-29 Dmitry V. Levin <ldv@altlinux.org>
20000
c48831d0
DL
20001 [BZ #22433]
20002 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
20003
ac583f50
DL
20004 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
20005 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
20006 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
20007 and PTRACE_SYSCALL.
20008 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
20009 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20010 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20011 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20012 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20013 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
20014
7e21972b
DL
20015 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
20016 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
20017 __ptrace_peeksiginfo_flags, ptrace): Move to ...
20018 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
20019 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20020 bits/ptrace-shared.h.
20021 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
20022 <bits/ptrace-shared.h>.
20023 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
20024 __ptrace_peeksiginfo_flags, ptrace): Remove.
20025 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20026 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20027 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20028 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20029 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
20030
72f29e3a
AJ
200312017-12-29 Aurelien Jarno <aurelien@aurel32.net>
20032
20033 [BZ #17804]
20034 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
20035 end of the loop. Improve comments.
20036
54e4efc2
AJ
200372017-12-29 Zack Weinberg <zackw@panix.com>
20038
20039 [BZ #22615]
20040 * manual/errno.texi (Checking for Errors): Explicitly say that errno
20041 might be set on success.
20042
f8aa69be
AJ
200432017-12-29 Aurelien Jarno <aurelien@aurel32.net>
20044
20045 [BZ #22611]
20046 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
20047 is unchanged on success.
20048
97f13188
DL
200492017-12-27 Dmitry V. Levin <ldv@altlinux.org>
20050
2bd86632
DL
20051 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
20052 updated.
20053 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
20054 expand_dynamic_string_token): Likewise.
20055 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
20056 is_path argument.
20057
1c36e1e6
DL
20058 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
20059 contains ':'.
20060
97f13188
DL
20061 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
20062 is set and name contains ':', and all code depending on these checks.
20063
48a8f832
ZW
200642017-12-24 Zack Weinberg <zackw@panix.com>
20065
20066 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
20067 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
20068 respectively.
20069 * libio/libio.h: Rename the original version of this file to
20070 libio/bits/libio.h. Error out if not included by stdio.h or the
20071 stub libio.h.
20072 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
20073 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
20074 if not included by bits/libio.h or the stub _G_config.h.
20075 * sysdeps/unix/sysv/linux/_G_config.h: Move to
20076 sysdeps/unix/sysv/linux/bits. Error out if not included by
20077 bits/libio.h or the stub _G_config.h.
20078 * libio/stdio.h: Include bits/libio.h, not libio.h.
20079 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
20080 well as libio.h and _G_config.h.
20081
20082 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
20083 * libio/strfile.h, stdio-common/vfscanf.c
20084 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
20085 Include stdio.h, not _G_config.h nor libio.h.
20086 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
20087 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
20088
20089 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
20090
a47ad79a
DL
200912017-12-23 Dmitry V. Levin <ldv@altlinux.org>
20092
20093 [BZ #22347]
20094 * stdlib/getrandom.c (getrandom): Fix comment.
20095 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
20096
363e4519 200972017-12-23 Aurelien Jarno <aurelien@aurel32.net>
e65a5644 20098
f5c558f3
AJ
20099 [BZ #21161]
20100 * manual/arith.texi (strtoul): Fix a typo.
20101
e65a5644
AJ
20102 [BZ #22596]
20103 * manual/arith.texi (finite): Fix the description of the return
20104 value.
20105
ed8ae46b
EB
201062017-12-22 Eric Blake <ebb9@byu.net>
20107
20108 Avoid gcc warnings on cygwin
20109 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
20110 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
20111 Avoid unused variable.
20112
bad7a0c8
FW
201132017-12-22 Florian Weimer <fweimer@redhat.com>
20114
20115 * io/Makefile (routines): Add copy_file_range.
20116 (tests): Add tst-copy_file_range.
20117 (tests-static, tests-internal): Add tst-copy_file_range-compat.
20118 * io/Versions (GLIBC_2.27): Export copy_file_range.
20119 * io/copy_file_range-compat.c: New file.
20120 * io/copy_file_range.c: Likewise.
20121 * io/tst-copy_file_range-compat.c: Likewise.
20122 * io/tst-copy_file_range.c: Likewise.
20123 * manual/llio.texi (Copying File Data): New section.
20124 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
20125 * support/Makefile (libsupport-routines): Add support-xfstat,
20126 xftruncate, xlseek.
20127 * support/support-xfstat.c: New file.
20128 * support/xftruncate.c: Likewise.
20129 * support/xlseek.c: Likewise.
20130 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
20131 * sysdeps/unix/sysv/linux/**.abilist: Update.
20132 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
20133
6cb86fd2
SN
201342017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
20135
20136 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20137 disable-multi-arch variant to aarch64-linux-gnu.
20138
41d11b15
JM
201392017-12-20 Joseph Myers <joseph@codesourcery.com>
20140
20141 * manual/texinfo.tex: Update to version 2017-12-18.20 with
20142 trailing whitespace removed.
20143 * scripts/config.guess: Update to version 2017-12-17.
20144 * scripts/config.sub: Update to version 2017-11-23.
20145 * scripts/install-sh: Update to version 2017-09-23.17.
20146 * scripts/move-if-change: Update to version 2017-09-13 06:45.
20147
4735850f
AZ
201482017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20149
8d2d239c
AZ
20150 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
20151 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
20152 * sysdeps/tile/_mcount.S (__mcount): Likewise.
20153 * sysdeps/tile/crti.S (_init, _fini): Likewise.
20154 * sysdeps/tile/crtn.S: Likewise.
20155 * sysdeps/tile/dl-start.S (_start): Likewise.
20156 * sysdeps/tile/dl-trampoline.S: Likewise.
20157 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
20158 * sysdeps/tile/start.S (_start): Likewise.
20159 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
20160 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
20161 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
20162 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
20163 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
20164 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
20165 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
20166
24d1d8ec
AZ
20167 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
20168 comment.
20169 * sysdeps/tile/preconfigure: Remove tilegx folder.
20170 * sysdeps/tile/tilegx/Implies: Move definitions to ...
20171 * sysdeps/tile/Implies: ... here.
20172 * sysdeps/tile/tilegx/Makefile: Move rules to ...
20173 * sysdeps/tile/Makefile: ... here.
20174 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
20175 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
20176 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
20177 * sysdeps/tile/bits/wordsize.h: ... here.
20178 * sysdeps/tile/tilegx/*: Move to ...
20179 * sysdeps/tile/*: ... here.
20180 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
20181 * sysdeps/tile/tilegx32/Implies: ... here.
20182 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
20183 * sysdeps/tile/tilegx64/Implies: ... here.
20184 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
20185 to ...
20186 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
20187 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
20188 * sysdeps/unix/sysv/linux/tile/*: ... here.
20189 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
20190 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
20191 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
20192 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
20193
ed95f611
AZ
20194 * README: Remove tilepro-*-linux-gnu from supported architecture.
20195 * scripts/build-many-glibcs.py: Likewise.
20196 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
20197 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
20198 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
20199 elf_machine_matches_host, elf_machine_dynamic,
20200 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
20201 howto, elf_machine_rela): Likewise.
20202 * sysdeps/tile/dl-start.S (_start): Likewise.
20203 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
20204 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
20205 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
20206 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
20207 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
20208 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
20209 Likewise.
20210 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
20211 * sysdeps/tile/preconfigure: Likewise.
20212 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
20213 POINTER_CHK_GUARD): Likewise.
20214 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
20215 * sysdeps/tile/start.S (_start): Likewise.
20216 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
20217 Likewise.
20218 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
20219 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
20220 CMOVNEZ): Remove.
20221 * sysdeps/unix/sysv/linux/tile/bits/environments.h
20222 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
20223 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
20224 Likewise.
20225 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
20226 * sysdeps/tile/tilepro/Implies: Remove file.
20227 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
20228 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
20229 * sysdeps/tile/tilepro/memchr.c: Likewise.
20230 * sysdeps/tile/tilepro/memcpy.S: Likewise.
20231 * sysdeps/tile/tilepro/memset.c: Likewise.
20232 * sysdeps/tile/tilepro/memusage.h: Likewise.
20233 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
20234 * sysdeps/tile/tilepro/strchr.c: Likewise.
20235 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
20236 * sysdeps/tile/tilepro/strlen.c: Likewise.
20237 * sysdeps/tile/tilepro/strrchr.c: Likewise.
20238 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
20239 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
20240 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
20241 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
20242 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
20243 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
20244 Likewise.
20245 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
20246 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20247 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
20248 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
20249 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20250 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
20251 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
20252 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
20253 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
20254 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
20255 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
20256 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
20257 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
20258 tilepro mention in comment.
20259
4735850f
AZ
20260 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
20261 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
20262 * nptl/pthread_join_common.c: New file: common function used on
20263 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
20264 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
20265 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
20266 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
20267 (cleanup): Move definition to pthread_join_common.c.
20268 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
20269 Remove superflous checks.
20270 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
20271 Likewise.
20272
8bfb461e
SN
202732017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
20274
20275 * sysdeps/aarch64/libm-test-ulps: Update.
20276
4e001969
AZ
202772017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20278
20279 * sysdeps/aarch64/memset.S (MEMSET): Define.
20280
8a26ad2a
FW
202812017-12-20 Florian Weimer <fweimer@redhat.com>
20282
20283 [BZ #22635]
20284 nptl: Provide full implementation of pthread_self in libc.so.
20285 * nptl/Makefile (routines): Add pthread_self.
20286 (libpthread-routines): Replace pthread_self with
20287 compat-pthread_self.
20288 * nptl/forward.c (pthread_self): Remove.
20289 * nptl/nptl-init.c (pthread_functions): Do not initialize
20290 ptr_pthread_self.
20291 * nptl/pthread_self.c (pthread_self): Remove weak alias.
20292 * nptl/compat-pthread_self.c: New file.
20293 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
20294 Remove ptr_pthread_self.
20295
5069ff32
AR
202962017-12-19 Arnold D. Robbins <arnold@skeeve.com>
20297
20298 * posix/regcomp.c: Fix spelling in comments.
20299 * posix/regex.h: Likewise.
20300 * posix/regex_internal.c: Likewise.
20301 * posix/regexec.c: Likewise.
20302
c85e54ac
GG
203032017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
20304
20305 [BZ #22377]
20306 * math/Makefile [C++] (tests): Add test for iseqsig.
20307 * math/math.h [C++] (iseqsig): New implementation, which does
20308 not rely on __MATH_TG/__builtin_types_compatible_p.
20309 * math/test-math-iseqsig.cc: New file.
20310 * sysdeps/powerpc/powerpc64le/Makefile
20311 (CFLAGS-test-math-iseqsig.cc): New variable.
20312
10e93d96
DL
203132017-12-19 Dmitry V. Levin <ldv@altlinux.org>
20314
20315 * elf/dl-load.c (is_trusted_path): Remove.
20316 (fillin_rpath): Remove check_trusted argument and its use,
20317 all callers changed.
20318
ce16eb52
L
203192017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20320
20321 [BZ #22630]
20322 * Makeconfig (link-pie-before-libc): Replace -pie with
20323 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
20324 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
20325 (tst-dlopen-aout-no-pie): New.
20326 (LDFLAGS-tst-prelink): Removed.
20327 (tst-prelink-no-pie): New.
20328 (LDFLAGS-tst-main1): Removed.
20329 (tst-main1-no-pie): New.
20330 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
20331 (tst-gmon-no-pie): New.
20332
126adc89
L
203332017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20334
20335 * manual/install.texi: Document that --enable-static-pie
20336 implies PIE.
20337 * INSTALL: Regenerated.
20338
648615e1
BE
203392017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
20340
20341 [BZ #21309]
20342 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
20343 unsigned.
20344
f1e00502
JM
203452017-12-19 Joseph Myers <joseph@codesourcery.com>
20346
20347 Revert:
20348
20349 2017-12-19 Joseph Myers <joseph@codesourcery.com>
20350
20351 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20352
20353 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20354
20355 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
20356 <errno.h>. Include "eexp.tbl".
20357 (half): New constant.
20358 (one): Likewise.
20359 (__ieee754_exp): Rewrite.
20360 (__slowexp): Remove prototype.
20361 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
20362 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
20363 * sysdeps/i386/fpu/slowexp.c: Likewise.
20364 * sysdeps/ia64/fpu/slowexp.c: Likewise.
20365 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
20366 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
20367 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
20368 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20369 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
20370 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
20371 comment.
20372 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
20373 (CPPFLAGS-slowexp.c): Remove variable.
20374 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20375 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
20376 (CFLAGS-slowexp-fma.c): Remove variable.
20377 (CFLAGS-slowexp-fma4.c): Likewise.
20378 (CFLAGS-slowexp-avx.c): Likewise.
20379 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
20380 define as macro.
20381 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
20382 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
20383 * math/Makefile (type-double-routines): Remove slowexp.
20384 * manual/probes.texi (slowexp_p6): Remove.
20385 (slowexp_p32): Likewise.
20386
d711a00f
AZ
203872017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20388
e184ac3a
AZ
20389 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
20390 arithmetic.
20391
d711a00f
AZ
20392 * lib/glob.c (glob): Do not pass NULL to mempcpy.
20393
6f58c10d
JM
203942017-12-19 Joseph Myers <joseph@codesourcery.com>
20395
20396 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20397
6fd0a3c6
PM
203982017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20399
20400 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
20401 <errno.h>. Include "eexp.tbl".
20402 (half): New constant.
20403 (one): Likewise.
20404 (__ieee754_exp): Rewrite.
20405 (__slowexp): Remove prototype.
20406 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
20407 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
20408 * sysdeps/i386/fpu/slowexp.c: Likewise.
20409 * sysdeps/ia64/fpu/slowexp.c: Likewise.
20410 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
20411 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
20412 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
20413 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20414 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
20415 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
20416 comment.
20417 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
20418 (CPPFLAGS-slowexp.c): Remove variable.
20419 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20420 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
20421 (CFLAGS-slowexp-fma.c): Remove variable.
20422 (CFLAGS-slowexp-fma4.c): Likewise.
20423 (CFLAGS-slowexp-avx.c): Likewise.
20424 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
20425 define as macro.
20426 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
20427 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
20428 * math/Makefile (type-double-routines): Remove slowexp.
20429 * manual/probes.texi (slowexp_p6): Remove.
20430 (slowexp_p32): Likewise.
20431
3bb1ef58 204322017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6b5c8607 20433 James Clarke <jrtc27@jrtc27.com>
3bb1ef58
AZ
20434
20435 [BZ #22603]
20436 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
20437 addition.
20438
554e3d51
AZ
204392017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20440
20441 [BZ #22605]
20442 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
20443 code.
20444
cba595c3
L
204452017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20446
20447 [BZ #22563]
20448 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20449 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
20450 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20451 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
20452 to feature_1.
20453
f81ddabf
L
204542017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20455
20456 [BZ #22563]
20457 * bits/types/__cancel_jmp_buf_tag.h: New file.
20458 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
20459 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
20460 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
20461 * nptl/Makefile (headers): Add
20462 bits/types/__cancel_jmp_buf_tag.h.
20463 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
20464 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
20465 * sysdeps/nptl/pthread.h: Include
20466 <bits/types/__cancel_jmp_buf_tag.h>.
20467 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
20468 __cancel_jmp_buf.
20469 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
20470
1a49fc59
L
204712017-12-18 H.J. Lu <hongjiu.lu@intel.com>
20472
20473 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20474 --enable-static-pie variants to x86_64, x32 and i686.
20475
8e52f573
JM
204762017-12-19 Joseph Myers <joseph@codesourcery.com>
20477
66425185
JM
20478 [BZ #22631]
20479 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
20480 argument for attrubutes. All callers changed.
20481 (__inline_mathop1): Likewise. All callers changed.
20482 (__inline_mathop): Likewise. All callers changed.
20483 [__USE_MISC] (scalbn): Use __inline_forward instead of
20484 __inline_forward_c.
20485 [__USE_ISOC99] (scalbln): Likewise.
20486 [__USE_ISOC99] (nearbyint): Likewise.
20487 [__USE_ISOC99] (lrint): Likewise.
20488 [__USE_MISC] (scalbnf): Likewise.
20489 [__USE_ISOC99] (scalblnf): Likewise.
20490 [__USE_ISOC99] (nearbyintf): Likewise.
20491 [__USE_ISOC99] (lrintf): Likewise.
20492 [__USE_MISC] (scalbnl): Likewise.
20493 [__USE_ISOC99] (scalblnl): Likewise.
20494 [__USE_ISOC99] (nearbyintl): Likewise.
20495 [__USE_ISOC99] (lrintl): Likewise.
20496 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
20497 __inline_mathop and __m81_defun changed.
20498
8e52f573
JM
20499 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
20500 CPU or FPU for ARM hard-float configurations.
20501
1421f39b
JM
205022017-12-18 Joseph Myers <joseph@codesourcery.com>
20503
40c4162d
JM
20504 * nptl/tst-attr3.c: Include <libc-diag.h>.
20505 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
20506
5983df32
JM
20507 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
20508
1421f39b
JM
20509 * string/tester.c (test_strncat): Also disable -Warray-bounds
20510 warnings for two tests.
20511
00c714df
L
205122017-12-18 H.J. Lu <hongjiu.lu@intel.com>
20513
20514 [BZ #22614]
20515 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
20516 $(cc-pie-default) == yes.
20517 * config.make.in (cc-pie-default): New.
20518 * configure.ac (libc_cv_pie_default): Renamed to ...
20519 (libc_cv_cc_pie_default): This.
20520 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
20521 * configure: Regenerated.
20522
8e1472d2
FW
205232017-12-18 Florian Weimer <fweimer@redhat.com>
20524
20525 [BZ #20204]
20526 ld.so: Harden dl-libc/libdl hooks.
20527 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
20528 (rtld_active): New function.
20529 * dlfcn/dladdr.c (__dladdr): Call it.
20530 * dlfcn/dladdr1.c (__dladdr1): Likewise.
20531 * dlfcn/dlclose.c (__dlcose): Likewise.
20532 * dlfcn/dlerror.c (__dlerror): Likewise.
20533 * dlfcn/dlinfo.c (__dlinfo): Likewise.
20534 * dlfcn/dlmopen.c (__dlmopen): Likewise.
20535 * dlfcn/dlopen.c (__dlopen): Likewise.
20536 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
20537 * dlfcn/dlsym.c (__dlsym): Likewise.
20538 * dlfcn/dlvsym.c (__dlvsym): Likewise.
20539 * libio/vtables.c (_IO_vtable_check): Likewise.
20540 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
20541 (__libc_dlclose): Likewise.
20542 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
20543 assignment.
20544
49b036bc
JM
205452017-12-18 Joseph Myers <joseph@codesourcery.com>
20546
20547 [BZ #22446]
20548 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
20549 buffers for readlink input and output.
20550
368b6c8d
ST
205512017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
20552
c85c564d
ST
20553 [BZ #22624]
20554 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
20555 inhibit_stack_protector.
20556
368b6c8d
ST
20557 [BZ #22624]
20558 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
20559 inhibit_stack_protector.
20560
bb195224
DL
205612017-12-18 Dmitry V. Levin <ldv@altlinux.org>
20562
20563 [BZ #22627]
20564 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
20565 code and invocation.
20566
14d886ed
SN
205672017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
20568
20569 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
20570
7d38eb38
AJ
205712017-12-16 Aurelien Jarno <aurelien@aurel32.net>
20572
20573 [BZ #22505]
20574 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
20575
2e77deef
RS
205762017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20577
20578 * sysdeps/s390/fpu/libm-test-ulps: Update.
20579
0b9bef6d
RS
205802017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20581
20582 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20583
984ae996
RS
205842017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20585
20586 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
20587 constants to s_sincosf.h file.
20588 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20589 * sysdeps/ieee754/flt-32/s_sincosf.c: New
20590 implementation.
20591 * sysdeps/ieee754/flt-32/s_sincosf.h:
20592 New file.
20593
363e4519 205942017-12-12 Carlos O'Donell <carlos@redhat.com>
93930ea9
CD
20595
20596 [BZ #14681]
20597 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
20598 before mtrace.
20599
9d7a3741
L
206002017-12-15 H.J. Lu <hongjiu.lu@intel.com>
20601
20602 [BZ #19574]
20603 * INSTALL: Regenerated.
20604 * Makeconfig (real-static-start-installed-name): New.
20605 (pic-default): Updated for --enable-static-pie.
20606 (pie-default): New for --enable-static-pie.
20607 (default-pie-ldflag): Likewise.
20608 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
20609 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
20610 Replace $(static-start-installed-name) with
20611 $(real-static-start-installed-name).
20612 (+prectorT): Updated for --enable-static-pie.
20613 (+postctorT): Likewise.
20614 (CFLAGS-.o): Add $(pie-default).
20615 (CFLAGS-.op): Likewise.
20616 * NEWS: Mention --enable-static-pie.
20617 * config.h.in (ENABLE_STATIC_PIE): New.
20618 * configure.ac (--enable-static-pie): New configure option.
20619 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
20620 (have-static-pie): Likewise.
20621 Enable static PIE if linker supports --no-dynamic-linker.
20622 (ENABLE_STATIC_PIE): New AC_DEFINE.
20623 (enable-static-pie): New LIBC_CONFIG_VAR.
20624 * configure: Regenerated.
20625 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
20626 gr$(start-installed-name) for --enable-static-pie.
20627 (extra-objs): Likewise.
20628 (install-lib): Likewise.
20629 (extra-objs): Add static-reloc.o and static-reloc.os
20630 ($(objpfx)$(start-installed-name)): Also depend on
20631 $(objpfx)static-reloc.o.
20632 ($(objpfx)r$(start-installed-name)): New.
20633 ($(objpfx)g$(start-installed-name)): Also depend on
20634 $(objpfx)static-reloc.os.
20635 ($(objpfx)gr$(start-installed-name)): New.
20636 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
20637 in libc.a.
20638 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
20639 initimage.
20640 * csu/static-reloc.c: New file.
20641 * elf/Makefile (routines): Add dl-reloc-static-pie.
20642 (elide-routines.os): Likewise.
20643 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
20644 (tst-tls1-static-non-pie-no-pie): New.
20645 * elf/dl-reloc-static-pie.c: New file.
20646 * elf/dl-support.c (_dl_get_dl_main_map): New function.
20647 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
20648 STATIC_PIE_BOOTSTRAP.
20649 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
20650 * gmon/Makefile (tests): Add tst-gmon-static-pie.
20651 (tests-static): Likewise.
20652 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
20653 (tst-gmon-static-no-pie): New.
20654 (CFLAGS-tst-gmon-static-pie.c): Likewise.
20655 (CRT-tst-gmon-static-pie): Likewise.
20656 (tst-gmon-static-pie-ENV): Likewise.
20657 (tests-special): Likewise.
20658 ($(objpfx)tst-gmon-static-pie.out): Likewise.
20659 (clean-tst-gmon-static-pie-data): Likewise.
20660 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
20661 * gmon/tst-gmon-static-pie.c: New file.
20662 * manual/install.texi: Document --enable-static-pie.
20663 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
20664 (_dl_get_dl_main_map): Likewise.
20665 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
20666 * sysdeps/x86_64/configure.ac: Likewise.
20667 * sysdeps/i386/configure: Regenerated.
20668 * sysdeps/x86_64/configure: Likewise.
20669 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
20670 (ASFLAGS-.op): Likewise.
20671
95511aab
JM
206722017-12-15 Joseph Myers <joseph@codesourcery.com>
20673
20674 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
20675 * posix/tst-mmap-offset.c (fname): Use /tmp.
20676 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
20677
a7e3edf4
SE
206782017-12-15 Steve Ellcey <sellcey@cavium.com>
20679
20680 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
20681
d232f2e1
TS
206822017-12-15 Thomas Schwinge <thomas@codesourcery.com>
20683
20684 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
20685 errno.
20686
174edbde
JM
206872017-12-15 Joseph Myers <joseph@codesourcery.com>
20688
5170fa49
JM
20689 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
20690 --with-float=hard for arm-linux-gnueabihf configurations.
20691
f2da2fd8
JM
20692 [BZ #14121]
20693 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
20694 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
20695 ($(mo-installed)): Use $(objpfx)%.mo.
20696 (realclean): Remove rule.
20697
0c4fe28d
JM
20698 * po/Makefile (linguas): Remove rule and dependencies.
20699 (linguas.mo): Likewise.
20700 (.PHONY): Do not depend on linguas and linguas.mo.
20701 (podir): Remove variable.
20702 (pofiles): Likewise.
20703 [$(pofiles)] (%.po): Remove rule.
20704
174edbde
JM
20705 * sysdeps/sparc/sparc32/Makefile
20706 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
20707 start-of-line whitespace in argument of echo.
20708 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
20709 with whitespace. Generate __wrap_.udiv alias.
20710 * sysdeps/sparc/sparc32/rem.S: Regenerated.
20711 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
20712 * sysdeps/sparc/sparc32/udiv.S: Likewise.
20713 * sysdeps/sparc/sparc32/urem.S: Likewise.
20714
1e36806f
RS
207152017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20716
20717 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
20718 for aligned inputs.
20719
aa6932aa
SP
207202017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
20721
5f1603c3
SP
20722 * benchtests/bench-strcmp.c: Print output in JSON format.
20723
aa6932aa
SP
20724 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
20725
3ff3dfa5
FW
207262017-12-14 Florian Weimer <fweimer@redhat.com>
20727
20728 [BZ #22607]
20729 CVE-2017-1000409
20730 * elf/dl-load.c (_dl_init_paths): Compute number of components in
20731 the expanded path string.
20732
8a0b17e4
FW
207332017-12-14 Florian Weimer <fweimer@redhat.com>
20734
20735 [BZ #22606]
20736 CVE-2017-1000408
20737 * elf/dl-load.c (system_dirs): Update comment.
20738 (nsystem_dirs_len): Use array_length.
20739 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
20740
f58bd7f0
FW
207412017-12-14 Florian Weimer <fweimer@redhat.com>
20742
20743 Simplify compiling most of support/ outside of glibc.
20744 * support/check_addrinfo.c: Include <string.h>.
20745 * support/check_dns_packet.c: Likewise.
20746 * support/check_hostent.c: Likewise.
20747 * support/support_can_chroot.c: Include <support/xunistd.h>.
20748 * support/support_format_addrinfo.c: Include <stdlib.h>
20749 * support/support_format_dns_packet.c: Include <stdbool.h>.
20750 * support/support_format_hostent.c: Include <stdlib.h>.
20751 * support/support_format_netent.c: Likewise.
20752 * support/support_write_string.c: Include <support/xunistd.h>.
20753 * support/xdlfcn.c: Include <stddef.h>.
20754
4ca945e9
L
207552017-12-14 H.J. Lu <hongjiu.lu@intel.com>
20756
20757 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
20758
1b6e07f8
PM
207592017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20760 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20761
e6a1c5dc
PM
20762 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20763 (sysdeps_routines): Add memset-niagara7.
20764 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
20765 Likewise.
20766 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
20767 file.
20768 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
20769 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
20770 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
20771 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
20772 Add niagara7 option.
20773 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
20774 memset.
20775
1b6e07f8
PM
20776 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20777 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
20778 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
20779 Likewise.
20780 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
20781 New file.
20782 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
20783 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
20784 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
20785 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
20786 and __memmove_niagara7.
20787 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
20788 Add niagara7 option.
20789 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
20790 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
20791 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
20792 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
20793 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
20794
bfb7bf22
JM
207952017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
20796
767a26d6
JM
20797 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
20798 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
20799 * sysdeps/sparc/sparc64/memmove.S: Likewise.
20800 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
20801
bfb7bf22
JM
20802 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
20803 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
20804 _dl_sparc_cap_flags array.
20805 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
20806
2bce01eb
SP
208072017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
20808
20809 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
20810 time whenever possible.
20811
363e4519 208122017-12-12 Carlos O'Donell <carlos@redhat.com>
243b6333
CD
20813
20814 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
20815 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
20816
6f7c0092
JM
208172017-12-12 Joseph Myers <joseph@codesourcery.com>
20818
20819 * soft-fp/fmadf4.c: Move to ....
20820 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
20821 * soft-fp/fmasf4.c: Move to ....
20822 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
20823 * soft-fp/fmatf4.c: Move to ....
20824 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
20825 * sysdeps/ieee754/soft-fp/Makefile: New file.
20826 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
20827 * sysdeps/arm/preconfigure: Regenerated.
20828 * sysdeps/arm/nofpu/Implies: New file.
20829 * sysdeps/arm/s_fma.c: Remove file.
20830 * sysdeps/arm/s_fmaf.c: Likewise.
20831 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
20832 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
20833 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
20834 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
20835 * sysdeps/microblaze/s_fma.c: Remove file.
20836 * sysdeps/microblaze/s_fmaf.c: Likewise.
20837 * sysdeps/mips/mips32/nofpu/Implies: New file.
20838 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
20839 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
20840 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
20841 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
20842 * sysdeps/mips/ieee754/s_fma.c: Remove file.
20843 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
20844 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
20845 implementation.
20846 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
20847 * sysdeps/nios2/s_fma.c: Remove file.
20848 * sysdeps/nios2/s_fmaf.c: Likewise.
20849 * sysdeps/sh/nofpu/Implies: New file.
20850 * sysdeps/sh/s_fma.c: Remove file.
20851 * sysdeps/sh/s_fmaf.c: Likewise.
20852 * sysdeps/tile/Implies: Add ieee754/soft-fp.
20853 * sysdeps/tile/s_fma.c: Remove file.
20854 * sysdeps/tile/s_fmaf.c: Likewise.
20855
ac817e08
L
208562017-12-12 H.J. Lu <hongjiu.lu@intel.com>
20857
20858 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20859 Add s_cosf-sse2 and s_cosf-fma.
20860 (CFLAGS-s_cosf-fma.c): New.
20861 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
20862 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
20863 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
20864
eb428576
SE
208652017-12-12 Steve Ellcey <sellcey@cavium.com>
20866
20867 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
20868
c80acdc3
AZ
208692017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20870
cc683f7e
AZ
20871 * libio/Makefile (tests): Add tst-bz22415.
20872 (tst-bz22415-ENV): New rule.
20873 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
20874 (tests-special): Add tst-bz22415-mem.out.
20875 ($(objpfx)tst-bz22415-mem.out): New rule.
20876 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
20877 in case of a successful seek operation.
20878 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20879 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
20880 buffer is required.
20881 * libio/tst-bz22415.c: New test.
20882
c80acdc3
AZ
20883 * sysdeps/ia64/fpu/libm-test-ulps: Update.
20884
363e4519 208852017-12-12 James Clarke <jrtc27@jrtc27.com>
89bd8016
JC
20886
20887 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
20888 __IPC_64 to 0 to avoid IPC_64 being set.
20889
4e0dca54
SN
208902017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
20891
20892 [BZ #22593]
20893 * math/bits/mathcalls.h (nextafter): Remove const.
20894 (nexttoward): Likewise.
20895
8df5d347
JM
208962017-12-12 Joseph Myers <joseph@codesourcery.com>
20897
20898 * configure.ac (--with-fp): Remove configure option.
20899 (with_fp_cond): New variable.
20900 (libc_cv_with_fp): New configure test. Use this variable instead
20901 of with_fp.
20902 * configure: Regenerated.
20903 * config.make.in (with-fp): Use @libc_cv_with_fp@.
20904 * manual/install.texi (Configuring and compiling): Remove
20905 --without-fp.
20906 * INSTALL: Regenerated.
20907 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
20908 * sysdeps/mips/preconfigure (with_fp_cond): Define.
20909 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
20910 * sysdeps/sh/preconfigure (with_fp_cond): Define.
20911 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
20912 use --without-fp to configure glibc.
20913
0cee1257
RJ
209142017-12-12 Rical Jasan <ricaljasan@pacific.net>
20915
20916 * manual/locale.texi (nl_langinfo): Fix a typo.
20917
363e4519 209182017-12-12 Aurelien Jarno <aurelien@aurel32.net>
f54ad2f9
AJ
20919
20920 [BZ #22588]
20921 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
20922
36975e8e
L
209232017-12-11 H.J. Lu <hongjiu.lu@intel.com>
20924
20925 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
20926 (CFLAGS-argp-parse.c): Likewise.
20927 (CFLAGS-argp-fmtstream.c): Likewise.
20928 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
20929 (CPPFLAGS-sha512-crypt.c): Likewise.
20930 (CPPFLAGS-md5-crypt.c): Likewise.
20931 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
20932 (CFLAGS-stack_chk_fail_local.c): Likewise.
20933 (CFLAGS-backtrace.c): Likewise.
20934 (CFLAGS-sprintf_chk.c): Likewise.
20935 (CFLAGS-snprintf_chk.c): Likewise.
20936 (CFLAGS-vsprintf_chk.c): Likewise.
20937 (CFLAGS-vsnprintf_chk.c): Likewise.
20938 (CFLAGS-asprintf_chk.c): Likewise.
20939 (CFLAGS-vasprintf_chk.c): Likewise.
20940 (CFLAGS-obprintf_chk.c): Likewise.
20941 (CFLAGS-dprintf_chk.c): Likewise.
20942 (CFLAGS-vdprintf_chk.c): Likewise.
20943 (CFLAGS-printf_chk.c): Likewise.
20944 (CFLAGS-fprintf_chk.c): Likewise.
20945 (CFLAGS-vprintf_chk.c): Likewise.
20946 (CFLAGS-vfprintf_chk.c): Likewise.
20947 (CFLAGS-gets_chk.c): Likewise.
20948 (CFLAGS-fgets_chk.c): Likewise.
20949 (CFLAGS-fgets_u_chk.c): Likewise.
20950 (CFLAGS-fread_chk.c): Likewise.
20951 (CFLAGS-fread_u_chk.c): Likewise.
20952 (CFLAGS-swprintf_chk.c): Likewise.
20953 (CFLAGS-vswprintf_chk.c): Likewise.
20954 (CFLAGS-wprintf_chk.c): Likewise.
20955 (CFLAGS-fwprintf_chk.c): Likewise.
20956 (CFLAGS-vwprintf_chk.c): Likewise.
20957 (CFLAGS-vfwprintf_chk.c): Likewise.
20958 (CFLAGS-fgetws_chk.c): Likewise.
20959 (CFLAGS-fgetws_u_chk.c): Likewise.
20960 (CFLAGS-read_chk.c): Likewise.
20961 (CFLAGS-pread_chk.c): Likewise.
20962 (CFLAGS-pread64_chk.c): Likewise.
20963 (CFLAGS-recv_chk.c): Likewise.
20964 (CFLAGS-recvfrom_chk.c): Likewise.
20965 (CFLAGS-tst-longjmp_chk.c): Likewise.
20966 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
20967 (CFLAGS-tst-longjmp_chk2.c): Likewise.
20968 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
20969 (CFLAGS-tst-longjmp_chk3.c): Likewise.
20970 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
20971 (CFLAGS-tst-chk1.c): Likewise.
20972 (CFLAGS-tst-chk2.c): Likewise.
20973 (CFLAGS-tst-chk3.c): Likewise.
20974 (CFLAGS-tst-chk4.cc): Likewise.
20975 (CFLAGS-tst-chk5.cc): Likewise.
20976 (CFLAGS-tst-chk6.cc): Likewise.
20977 (CFLAGS-tst-lfschk1.c): Likewise.
20978 (CFLAGS-tst-lfschk2.c): Likewise.
20979 (CFLAGS-tst-lfschk3.c): Likewise.
20980 (CFLAGS-tst-lfschk4.cc): Likewise.
20981 (CFLAGS-tst-lfschk5.cc): Likewise.
20982 (CFLAGS-tst-lfschk6.cc): Likewise.
20983 (CFLAGS-tst-ssp-1.c): Likewise.
20984 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
20985 (CFLAGS-scandir64.c): Likewise.
20986 (CFLAGS-scandir-tail.c): Likewise.
20987 (CFLAGS-scandir64-tail.c): Likewise.
20988 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
20989 (CFLAGS-dl-tunables.c): Likewise.
20990 (CFLAGS-dl-runtime.c): Likewise.
20991 (CFLAGS-dl-lookup.c): Likewise.
20992 (CFLAGS-dl-iterate-phdr.c): Likewise.
20993 (CFLAGS-vismain.c): Likewise.
20994 (CFLAGS-tst-linkall-static.c): Likewise.
20995 (CFLAGS-tst-linkall-static.c): Likewise.
20996 (CPPFLAGS-dl-load.c): Likewise.
20997 (CFLAGS-ldconfig.c): Likewise.
20998 (CFLAGS-dl-cache.c): Likewise.
20999 (CFLAGS-cache.c): Likewise.
21000 (CFLAGS-rtld.c): Likewise.
21001 (CFLAGS-multiload.c): Likewise.
21002 (CFLAGS-filtmod1.c): Likewise.
21003 (CFLAGS-tst-align.c): Likewise.
21004 (CFLAGS-tst-align2.c): Likewise.
21005 (CFLAGS-tst-alignmod.c): Likewise.
21006 (CFLAGS-tst-alignmod2.c): Likewise.
21007 (CPPFLAGS-tst-execstack.c): Likewise.
21008 (CFLAGS-tst-ptrguard1-static.c): Likewise.
21009 (CFLAGS-tst-latepthreadmod.c): Likewise.
21010 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
21011 (CFLAGS-getgrnam_r.c): Likewise.
21012 (CFLAGS-getgrent_r.c): Likewise.
21013 (CFLAGS-getgrent.c): Likewise.
21014 (CFLAGS-fgetgrent.c): Likewise.
21015 (CFLAGS-fgetgrent_r.c): Likewise.
21016 (CFLAGS-putgrent.c): Likewise.
21017 (CFLAGS-initgroups.c): Likewise.
21018 (CFLAGS-getgrgid.c): Likewise.
21019 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
21020 (CFLAGS-getsgent.c): Likewise.
21021 (CFLAGS-fgetsgent.c): Likewise.
21022 (CFLAGS-fgetsgent_r.c): Likewise.
21023 (CFLAGS-putsgent.c): Likewise.
21024 (CFLAGS-getsgnam.c): Likewise.
21025 (CFLAGS-getsgnam_r.c): Likewise.
21026 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
21027 (CFLAGS-iconv_charmap.c): Likewise.
21028 (CFLAGS-dummy-repertoire.c): Likewise.
21029 (CFLAGS-charmap.c): Likewise.
21030 (CFLAGS-linereader.c): Likewise.
21031 (CFLAGS-simple-hash.c): Likewise.
21032 (CFLAGS-gconv_conf.c): Likewise.
21033 (CFLAGS-iconvconfig.c): Likewise.
21034 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
21035 (CFLAGS-gethstbyad.c): Likewise.
21036 (CFLAGS-gethstbynm_r.c): Likewise.
21037 (CFLAGS-gethstbynm.c): Likewise.
21038 (CFLAGS-gethstbynm2_r.c): Likewise.
21039 (CFLAGS-gethstbynm2.c): Likewise.
21040 (CFLAGS-gethstent_r.c): Likewise.
21041 (CFLAGS-gethstent.c): Likewise.
21042 (CFLAGS-rcmd.c): Likewise.
21043 (CFLAGS-getnetbynm_r.c): Likewise.
21044 (CFLAGS-getnetbynm.c): Likewise.
21045 (CFLAGS-getnetbyad_r.c): Likewise.
21046 (CFLAGS-getnetbyad.c): Likewise.
21047 (CFLAGS-getnetent_r.c): Likewise.
21048 (CFLAGS-getnetent.c): Likewise.
21049 (CFLAGS-getaliasent_r.c): Likewise.
21050 (CFLAGS-getaliasent.c): Likewise.
21051 (CFLAGS-getrpcent_r.c): Likewise.
21052 (CFLAGS-getrpcent.c): Likewise.
21053 (CFLAGS-getservent_r.c): Likewise.
21054 (CFLAGS-getservent.c): Likewise.
21055 (CFLAGS-getprtent_r.c): Likewise.
21056 (CFLAGS-getprtent.c): Likewise.
21057 (CFLAGS-either_ntoh.c): Likewise.
21058 (CFLAGS-either_hton.c): Likewise.
21059 (CFLAGS-getnetgrent.c): Likewise.
21060 (CFLAGS-getnetgrent_r.c): Likewise.
21061 (CFLAGS-tst-checks-posix.c): Likewise.
21062 (CFLAGS-tst-sockaddr.c): Likewise.
21063 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
21064 (CFLAGS-tst-translit.c): Likewise.
21065 (CFLAGS-tst-gettext2.c): Likewise.
21066 (CFLAGS-tst-codeset.c): Likewise.
21067 (CFLAGS-tst-gettext3.c): Likewise.
21068 (CFLAGS-tst-gettext4.c): Likewise.
21069 (CFLAGS-tst-gettext5.c): Likewise.
21070 (CFLAGS-tst-gettext6.c): Likewise.
21071 * io/Makefile (CFLAGS-open.c): Likewise.
21072 (CFLAGS-open64.c): Likewise.
21073 (CFLAGS-creat.c): Likewise.
21074 (CFLAGS-creat64.c): Likewise.
21075 (CFLAGS-fcntl.c): Likewise.
21076 (CFLAGS-poll.c): Likewise.
21077 (CFLAGS-ppoll.c): Likewise.
21078 (CFLAGS-lockf.c): Likewise.
21079 (CFLAGS-statfs.c): Likewise.
21080 (CFLAGS-fstatfs.c): Likewise.
21081 (CFLAGS-statvfs.c): Likewise.
21082 (CFLAGS-fstatvfs.c): Likewise.
21083 (CFLAGS-fts.c): Likewise.
21084 (CFLAGS-fts64.c): Likewise.
21085 (CFLAGS-ftw.c): Likewise.
21086 (CFLAGS-ftw64.c): Likewise.
21087 (CFLAGS-lockf.c): Likewise.
21088 (CFLAGS-posix_fallocate.c): Likewise.
21089 (CFLAGS-posix_fallocate64.c): Likewise.
21090 (CFLAGS-fallocate.c): Likewise.
21091 (CFLAGS-fallocate64.c): Likewise.
21092 (CFLAGS-read.c): Likewise.
21093 (CFLAGS-write.c): Likewise.
21094 (CFLAGS-test-stat.c): Likewise.
21095 (CFLAGS-test-lfs.c): Likewise.
21096 * libio/Makefile (CFLAGS-fileops.c): Likewise.
21097 (CFLAGS-fputc.c): Likewise.
21098 (CFLAGS-fputwc.c): Likewise.
21099 (CFLAGS-freopen64.c): Likewise.
21100 (CFLAGS-freopen.c): Likewise.
21101 (CFLAGS-fseek.c): Likewise.
21102 (CFLAGS-fseeko64.c): Likewise.
21103 (CFLAGS-fseeko.c): Likewise.
21104 (CFLAGS-ftello64.c): Likewise.
21105 (CFLAGS-ftello.c): Likewise.
21106 (CFLAGS-fwide.c): Likewise.
21107 (CFLAGS-genops.c): Likewise.
21108 (CFLAGS-getc.c): Likewise.
21109 (CFLAGS-getchar.c): Likewise.
21110 (CFLAGS-getwc.c): Likewise.
21111 (CFLAGS-getwchar.c): Likewise.
21112 (CFLAGS-iofclose.c): Likewise.
21113 (CFLAGS-iofflush.c): Likewise.
21114 (CFLAGS-iofgetpos64.c): Likewise.
21115 (CFLAGS-iofgetpos.c): Likewise.
21116 (CFLAGS-iofgets.c): Likewise.
21117 (CFLAGS-iofgetws.c): Likewise.
21118 (CFLAGS-iofputs.c): Likewise.
21119 (CFLAGS-iofputws.c): Likewise.
21120 (CFLAGS-iofread.c): Likewise.
21121 (CFLAGS-iofsetpos64.c): Likewise.
21122 (CFLAGS-iofsetpos.c): Likewise.
21123 (CFLAGS-ioftell.c): Likewise.
21124 (CFLAGS-iofwrite.c): Likewise.
21125 (CFLAGS-iogetdelim.c): Likewise.
21126 (CFLAGS-iogetline.c): Likewise.
21127 (CFLAGS-iogets.c): Likewise.
21128 (CFLAGS-iogetwline.c): Likewise.
21129 (CFLAGS-ioputs.c): Likewise.
21130 (CFLAGS-ioseekoff.c): Likewise.
21131 (CFLAGS-ioseekpos.c): Likewise.
21132 (CFLAGS-iosetbuffer.c): Likewise.
21133 (CFLAGS-iosetvbuf.c): Likewise.
21134 (CFLAGS-ioungetc.c): Likewise.
21135 (CFLAGS-ioungetwc.c): Likewise.
21136 (CFLAGS-oldfileops.c): Likewise.
21137 (CFLAGS-oldiofclose.c): Likewise.
21138 (CFLAGS-oldiofgetpos64.c): Likewise.
21139 (CFLAGS-oldiofgetpos.c): Likewise.
21140 (CFLAGS-oldiofsetpos64.c): Likewise.
21141 (CFLAGS-oldiofsetpos.c): Likewise.
21142 (CFLAGS-peekc.c): Likewise.
21143 (CFLAGS-putc.c): Likewise.
21144 (CFLAGS-putchar.c): Likewise.
21145 (CFLAGS-putwc.c): Likewise.
21146 (CFLAGS-putwchar.c): Likewise.
21147 (CFLAGS-rewind.c): Likewise.
21148 (CFLAGS-wfileops.c): Likewise.
21149 (CFLAGS-wgenops.c): Likewise.
21150 (CFLAGS-oldiofopen.c): Likewise.
21151 (CFLAGS-iofopen.c): Likewise.
21152 (CFLAGS-iofopen64.c): Likewise.
21153 (CFLAGS-oldtmpfile.c): Likewise.
21154 (CFLAGS-tst_putwc.c): Likewise.
21155 * locale/Makefile (CFLAGS-md5.c): Likewise.
21156 (CFLAGS-charmap.c): Likewise.
21157 (CFLAGS-locfile.c): Likewise.
21158 (CFLAGS-charmap-dir.c): Likewise.
21159 * login/Makefile (CFLAGS-grantpt.c): Likewise.
21160 (CFLAGS-getpt.c): Likewise.
21161 (CFLAGS-pt_chown.c): Likewise.
21162 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
21163 (CFLAGS-obstack.c): Likewise.
21164 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
21165 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
21166 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
21167 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
21168 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
21169 (CFLAGS-test-tgmath.c): Likewise.
21170 (CFLAGS-test-tgmath2.c): Likewise.
21171 (CFLAGS-test-tgmath-ret.c): Likewise.
21172 (CFLAGS-test-powl.c): Likewise.
21173 (CFLAGS-test-snan.c): Likewise.
21174 (CFLAGS-test-signgam-finite.c): Likewise.
21175 (CFLAGS-test-signgam-finite-c99.c): Likewise.
21176 (CFLAGS-test-signgam-finite-c11.c): Likewise.
21177 (CFLAGS-test-signgam-uchar.c): Likewise.
21178 (CFLAGS-test-signgam-uchar-init.c): Likewise.
21179 (CFLAGS-test-signgam-uchar-static.c): Likewise.
21180 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
21181 (CFLAGS-test-signgam-uint.c): Likewise.
21182 (CFLAGS-test-signgam-uint-init.c): Likewise.
21183 (CFLAGS-test-signgam-uint-static.c): Likewise.
21184 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
21185 (CFLAGS-test-signgam-ullong.c): Likewise.
21186 (CFLAGS-test-signgam-ullong-init.c): Likewise.
21187 (CFLAGS-test-signgam-ullong-static.c): Likewise.
21188 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
21189 (CFLAGS-test-math-cxx11.cc): Likewise.
21190 (CFLAGS-test-math-isinff.cc): Likewise.
21191 (CFLAGS-test-math-iszero.cc): Likewise.
21192 (CFLAGS-test-math-issignaling.cc): Likewise.
21193 (CFLAGS-test-math-iscanonical.cc): Likewise.
21194 (CFLAGS-test-iszero-excess-precision.c): Likewise.
21195 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
21196 (CFLAGS-test-flt-eval-method.c): Likewise.
21197 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
21198 (CFLAGS-test-finite-macros.c): Likewise.
21199 * misc/Makefile (CFLAGS-select.c): Likewise.
21200 (CFLAGS-tsearch.c): Likewise.
21201 (CFLAGS-lsearch.c): Likewise.
21202 (CFLAGS-pselect.c): Likewise.
21203 (CFLAGS-readv.c): Likewise.
21204 (CFLAGS-writev.c): Likewise.
21205 (CFLAGS-preadv.c): Likewise.
21206 (CFLAGS-preadv64.c): Likewise.
21207 (CFLAGS-pwritev.c): Likewise.
21208 (CFLAGS-pwritev64.c): Likewise.
21209 (CFLAGS-preadv2.c): Likewise.
21210 (CFLAGS-preadv64v2.c): Likewise.
21211 (CFLAGS-pwritev2.c): Likewise.
21212 (CFLAGS-pwritev64v2.c): Likewise.
21213 (CFLAGS-usleep.c): Likewise.
21214 (CFLAGS-syslog.c): Likewise.
21215 (CFLAGS-error.c): Likewise.
21216 (CFLAGS-getpass.c): Likewise.
21217 (CFLAGS-mkstemp.c): Likewise.
21218 (CFLAGS-mkstemp64.c): Likewise.
21219 (CFLAGS-getsysstats.c): Likewise.
21220 (CFLAGS-getusershell.c): Likewise.
21221 (CFLAGS-err.c): Likewise.
21222 (CFLAGS-tst-tsearch.c): Likewise.
21223 (CFLAGS-msync.c): Likewise.
21224 (CFLAGS-fdatasync.c): Likewise.
21225 (CFLAGS-fsync.c): Likewise.
21226 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
21227 (CFLAGS-unwind.c): Likewise.
21228 (CFLAGS-unwind-forcedunwind.c): Likewise.
21229 (CFLAGS-pthread_cancel.c): Likewise.
21230 (CFLAGS-pthread_setcancelstate.c): Likewise.
21231 (CFLAGS-pthread_setcanceltype.c): Likewise.
21232 (CFLAGS-cancellation.c): Likewise.
21233 (CFLAGS-libc-cancellation.c): Likewise.
21234 (CFLAGS-pthread_exit.c): Likewise.
21235 (CFLAGS-forward.c): Likewise.
21236 (CFLAGS-pthread_testcancel.c): Likewise.
21237 (CFLAGS-pthread_join.c): Likewise.
21238 (CFLAGS-pthread_timedjoin.c): Likewise.
21239 (CFLAGS-pthread_once.c): Likewise.
21240 (CFLAGS-pthread_cond_wait.c): Likewise.
21241 (CFLAGS-sem_wait.c): Likewise.
21242 (CFLAGS-sem_timedwait.c): Likewise.
21243 (CFLAGS-fcntl.c): Likewise.
21244 (CFLAGS-lockf.c): Likewise.
21245 (CFLAGS-pread.c): Likewise.
21246 (CFLAGS-pread64.c): Likewise.
21247 (CFLAGS-pwrite.c): Likewise.
21248 (CFLAGS-pwrite64.c): Likewise.
21249 (CFLAGS-wait.c): Likewise.
21250 (CFLAGS-waitpid.c): Likewise.
21251 (CFLAGS-sigwait.c): Likewise.
21252 (CFLAGS-msgrcv.c): Likewise.
21253 (CFLAGS-msgsnd.c): Likewise.
21254 (CFLAGS-tcdrain.c): Likewise.
21255 (CFLAGS-open.c): Likewise.
21256 (CFLAGS-open64.c): Likewise.
21257 (CFLAGS-pause.c): Likewise.
21258 (CFLAGS-recv.c): Likewise.
21259 (CFLAGS-send.c): Likewise.
21260 (CFLAGS-accept.c): Likewise.
21261 (CFLAGS-sendto.c): Likewise.
21262 (CFLAGS-connect.c): Likewise.
21263 (CFLAGS-recvfrom.c): Likewise.
21264 (CFLAGS-recvmsg.c): Likewise.
21265 (CFLAGS-sendmsg.c): Likewise.
21266 (CFLAGS-close.c): Likewise.
21267 (CFLAGS-read.c): Likewise.
21268 (CFLAGS-write.c): Likewise.
21269 (CFLAGS-nanosleep.c): Likewise.
21270 (CFLAGS-sigsuspend.c): Likewise.
21271 (CFLAGS-msync.c): Likewise.
21272 (CFLAGS-fdatasync.c): Likewise.
21273 (CFLAGS-fsync.c): Likewise.
21274 (CFLAGS-pt-system.c): Likewise.
21275 (CFLAGS-tst-cleanup2.c): Likewise.
21276 (CFLAGS-tst-cleanupx2.c): Likewise.
21277 (CFLAGS-flockfile.c): Likewise.
21278 (CFLAGS-ftrylockfile.c): Likewise.
21279 (CFLAGS-funlockfile.c): Likewise.
21280 (CFLAGS-tst-initializers1.c): Likewise.
21281 (CFLAGS-tst-initializers1-c89.c): Likewise.
21282 (CFLAGS-tst-initializers1-c99.c): Likewise.
21283 (CFLAGS-tst-initializers1-c11.c): Likewise.
21284 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
21285 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
21286 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
21287 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
21288 (CFLAGS-nscd_getgr_r.c): Likewise.
21289 (CFLAGS-nscd_gethst_r.c): Likewise.
21290 (CFLAGS-nscd_getai.c): Likewise.
21291 (CFLAGS-nscd_initgroups.c): Likewise.
21292 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
21293 (CFLAGS-pause.c): Likewise.
21294 (CFLAGS-pread.c): Likewise.
21295 (CFLAGS-pread64.c): Likewise.
21296 (CFLAGS-pwrite.c): Likewise.
21297 (CFLAGS-pwrite64.c): Likewise.
21298 (CFLAGS-sleep.c): Likewise.
21299 (CFLAGS-wait.c): Likewise.
21300 (CFLAGS-waitid.c): Likewise.
21301 (CFLAGS-waitpid.c): Likewise.
21302 (CFLAGS-getopt.c): Likewise.
21303 (CFLAGS-wordexp.c): Likewise.
21304 (CFLAGS-sysconf.c): Likewise.
21305 (CFLAGS-pathconf.c): Likewise.
21306 (CFLAGS-fpathconf.c): Likewise.
21307 (CFLAGS-spawn.c): Likewise.
21308 (CFLAGS-spawnp.c): Likewise.
21309 (CFLAGS-spawni.c): Likewise.
21310 (CFLAGS-glob.c): Likewise.
21311 (CFLAGS-glob64.c): Likewise.
21312 (CFLAGS-getconf.c): Likewise.
21313 (CFLAGS-nanosleep.c): Likewise.
21314 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
21315 (CFLAGS-getpwent.c): Likewise.
21316 (CFLAGS-getpw.c): Likewise.
21317 (CFLAGS-fgetpwent_r.c): Likewise.
21318 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
21319 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
21320 (CFLAGS-mq_timedreceive.c): Likewise.
21321 (CFLAGS-mq_timedsend.c): Likewise.
21322 (CFLAGS-clock_nanosleep.c): Likewise.
21323 (CFLAGS-librt-cancellation.c): Likewise.
21324 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
21325 (CFLAGS-getspent.c): Likewise.
21326 (CFLAGS-fgetspent.c): Likewise.
21327 (CFLAGS-fgetspent_r.c): Likewise.
21328 (CFLAGS-putspent.c): Likewise.
21329 (CFLAGS-getspnam.c): Likewise.
21330 (CFLAGS-getspnam_r.c): Likewise.
21331 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
21332 (CFLAGS-sigsuspend.c): Likewise.
21333 (CFLAGS-sigtimedwait.c): Likewise.
21334 (CFLAGS-sigwait.c): Likewise.
21335 (CFLAGS-sigwaitinfo.c): Likewise.
21336 (CFLAGS-sigreturn.c): Likewise.
21337 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
21338 (CFLAGS-vfwprintf.c): Likewise.
21339 (CFLAGS-tmpfile.c): Likewise.
21340 (CFLAGS-tmpfile64.c): Likewise.
21341 (CFLAGS-tempname.c): Likewise.
21342 (CFLAGS-psignal.c): Likewise.
21343 (CFLAGS-vprintf.c): Likewise.
21344 (CFLAGS-cuserid.c): Likewise.
21345 (CFLAGS-errlist.c): Likewise.
21346 (CFLAGS-siglist.c): Likewise.
21347 (CFLAGS-scanf15.c): Likewise.
21348 (CFLAGS-scanf17.c): Likewise.
21349 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
21350 (CFLAGS-msort.c): Likewise.
21351 (CFLAGS-qsort.c): Likewise.
21352 (CFLAGS-system.c): Likewise.
21353 (CFLAGS-fmtmsg.c): Likewise.
21354 (CFLAGS-strfmon.c): Likewise.
21355 (CFLAGS-strfmon_l.c): Likewise.
21356 (CFLAGS-strfromd.c): Likewise.
21357 (CFLAGS-strfromf.c): Likewise.
21358 (CFLAGS-strfroml.c): Likewise.
21359 (CFLAGS-tst-bsearch.c): Likewise.
21360 (CFLAGS-tst-qsort.c): Likewise.
21361 (CFLAGS-tst-makecontext2.c): Likewise.
21362 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
21363 (CFLAGS-xnlm_prot.c): Likewise.
21364 (CFLAGS-xrstat.c): Likewise.
21365 (CFLAGS-xyppasswd.c): Likewise.
21366 (CFLAGS-xklm_prot.c): Likewise.
21367 (CFLAGS-xrex.c): Likewise.
21368 (CFLAGS-xsm_inter.c): Likewise.
21369 (CFLAGS-xmount.c): Likewise.
21370 (CFLAGS-xrusers.c): Likewise.
21371 (CFLAGS-xspray.c): Likewise.
21372 (CFLAGS-xnfs_prot.c): Likewise.
21373 (CFLAGS-xrquota.c): Likewise.
21374 (CFLAGS-xkey_prot.c): Likewise.
21375 (CFLAGS-auth_unix.c): Likewise.
21376 (CFLAGS-key_call.c): Likewise.
21377 (CFLAGS-pmap_rmt.c): Likewise.
21378 (CFLAGS-clnt_perr.c): Likewise.
21379 (CFLAGS-openchild.c): Likewise.
21380 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
21381 (CFLAGS-msgsnd.c): Likewise.
21382 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
21383 * time/Makefile (CFLAGS-tzfile.c): Likewise.
21384 (CFLAGS-tzset.c): Likewise.
21385 (CFLAGS-getdate.c): Likewise.
21386 (CFLAGS-test_time.c): Likewise.
21387 (CPPFLAGS-tst-tzname.c): Likewise.
21388 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
21389 (CFLAGS-zic.c): Likewise.
21390 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
21391 (CFLAGS-wcswidth.c): Likewise.
21392 (CFLAGS-wcstol.c): Likewise.
21393 (CFLAGS-wcstoul.c): Likewise.
21394 (CFLAGS-wcstoll.c): Likewise.
21395 (CFLAGS-wcstoull.c): Likewise.
21396 (CFLAGS-wcstod.c): Likewise.
21397 (CFLAGS-wcstold.c): Likewise.
21398 (CFLAGS-wcstof128.c): Likewise.
21399 (CFLAGS-wcstof.c): Likewise.
21400 (CFLAGS-wcstol_l.c): Likewise.
21401 (CFLAGS-wcstoul_l.c): Likewise.
21402 (CFLAGS-wcstoll_l.c): Likewise.
21403 (CFLAGS-wcstoull_l.c): Likewise.
21404 (CFLAGS-wcstod_l.c): Likewise.
21405 (CFLAGS-wcstold_l.c): Likewise.
21406 (CFLAGS-wcstof128_l.c): Likewise.
21407 (CFLAGS-wcstof_l.c): Likewise.
21408 (CPPFLAGS-tst-wchar-h.c): Likewise.
21409 (CPPFLAGS-wcstold_l.c): Likewise.
583dd860 21410
f4b2aea6
PC
214112017-12-11 Paul A. Clarke <pc@us.ibm.com>
21412
21413 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
21414
c9cd7b0c
AZ
214152017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21416 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21417
21418 * manual/tunables.texi (Hardware Capability Tunables): Document
21419 glibc.tune.cached_memopt.
21420 * sysdeps/powerpc/cpu-features.c: New file.
21421 * sysdeps/powerpc/cpu-features.h: New file.
21422 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
21423 _dl_powerpc_cpu_features.
21424 * sysdeps/powerpc/dl-tunables.list: New file.
21425 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
21426 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
21427 (INIT_ARCH): Initialize use_aligned_memopt.
21428 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
21429 IS_IN(rtld))]: Restrict dl_platform_init availability and
21430 initialize CPU features used by tunables.
21431 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
21432 Add memcpy-power8-cached.
21433 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
21434 __memcpy_power8_cached.
21435 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
21436 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
21437 New file.
21438
e70c6fee
L
214392017-12-11 H.J. Lu <hongjiu.lu@intel.com>
21440
21441 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
21442 (CFLAGS-noinl-tester.c): Likewise.
21443 (CFLAGS-tst-strlen.c): Likewise.
21444 (CFLAGS-stratcliff.c): Likewise.
21445 (CFLAGS-test-ffs.c): Likewise.
21446 (CFLAGS-tst-inlcall.c): Likewise.
21447 (CFLAGS-tst-xbzero-opt.c): Likewise.
21448 (CFLAGS-memcpy.c): Likewise.
21449 (CFLAGS-wordcopy.c): Likewise.
21450
dee94366
SL
214512017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
21452
21453 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
21454 Store r15 on stack and add cfi rule.
21455 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
21456 Likewise.
21457
363e4519 214582017-12-10 Aurelien Jarno <aurelien@aurel32.net>
f648728c
AJ
21459
21460 [BZ #22577]
21461 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
21462 call.
21463
9d0ffa60
L
214642017-12-07 H.J. Lu <hongjiu.lu@intel.com>
21465
21466 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21467 Add s_sinf-sse2 and s_sinf-fma.
21468 (CFLAGS-s_sinf-fma.c): New.
21469 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
21470 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
21471 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
21472
9574c7b6
L
214732017-12-07 H.J. Lu <hongjiu.lu@intel.com>
21474
21475 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
21476
d15e83c5
JM
214772017-12-07 Joseph Myers <joseph@codesourcery.com>
21478
21479 [BZ #22568]
21480 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
21481 part of result to imaginary part of argument if it is zero and the
21482 real part of the argument is not finite.
21483 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
21484 of result to real part of argument if it is zero and the imaginary
21485 part of the argument is not finite.
21486
d89756eb
MF
214872017-12-07 Mike FABIAN <mfabian@redhat.com>
21488
21489 [BZ #22524]
21490 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
21491 and to the list of locales to be built for testing.
21492 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
21493 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
21494 and build the collation rules upon that.
21495
1f9055ce
JM
214962017-12-07 Joseph Myers <joseph@codesourcery.com>
21497
21498 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
21499 * manual/math.texi (Mathematics): Document support for _Float32.
21500 * math/Makefile (test-types): Add float32.
21501 * math/Versions (GLIBC_2.27): Add _Float32 functions.
21502 * stdlib/Versions (GLIBC_2.27): Likewise.
21503 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21504 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21505 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21506 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21507 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21508 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
21509 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21510 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21511 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21512 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21513 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21514 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21515 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21516 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21517 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21518 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21519 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21520 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21521 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21522 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21523 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21524 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
21525 Likewise.
21526 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21527 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21528 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21529 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
21530 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21532 Likewise.
21533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
21534 Likewise.
21535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21536 Likewise.
21537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
21538 Likewise.
21539
21540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21541 Likewise.
21542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
21543 Likewise.
21544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21545 Likewise.
21546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
21547 Likewise.
21548 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21549 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21550 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21551 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21552 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21553 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21554 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21555 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21556 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21557 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21558 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
21559 Likewise.
21560 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
21561 Likewise.
21562 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21563 Likewise.
21564 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21565 Likewise.
21566 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21567 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21568 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21569 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21570 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21571 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21572 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21573 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21574
5244527d
JM
215752017-12-06 Joseph Myers <joseph@codesourcery.com>
21576
fb1ca2aa
JM
21577 * stdlib/strtof.c: Include <bits/floatn.h>
21578 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
21579 and later undefine as macro. Define as weak alias if
21580 [!USE_WIDE_CHAR].
21581 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
21582 and later undefine as macro. Define as weak alias if
21583 [USE_WIDE_CHAR].
21584 * stdlib/strtof_l.c: Include <bits/floatn.h>
21585 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
21586 and later undefine as macro. Define as weak alias if
21587 [!USE_WIDE_CHAR].
21588 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
21589 and later undefine as macro. Define as weak alias if
21590 [USE_WIDE_CHAR].
21591
fc10cc3f
JM
21592 * stdlib/strfromf.c: Include <bits/floatn.h>.
21593 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
21594 and later undefine as macro and define as weak alias.
21595
e420d228
JM
21596 * math/test-float32.h: New file.
21597
26007a2f
JM
21598 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
21599 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
21600 (libm_alias_float_other_r): Create f32 alias.
21601 (libm_alias_float_r): Use semicolon before call to
21602 libm_alias_float_other_r.
21603
c191f64c
JM
21604 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
21605 second argument to libm_alias_float_other.
21606 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
21607 second argument to libm_alias_float_other.
21608 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
21609 argument to libm_alias_float_other.
21610
5244527d
JM
21611 [BZ #22561]
21612 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
21613 real part of result for argument 0 + i * NaN.
21614 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
21615 results for tests of 0 + i * NaN.
21616
d73fac82
AZ
216172017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21618
21619 * sysdeps/alpha/fpu/libm-test-ulps: Update.
21620
7ec094e8
DM
216212017-12-06 David S. Miller <davem@davemloft.net>
21622
21623 * sysdeps/sparc/fpu/libm-test-ulps: Update
21624 exp_{downward,towardzero,upward} ulps.
21625
53994f12
JM
216262017-12-06 Joseph Myers <joseph@codesourcery.com>
21627
1dbe6f64
JM
21628 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
21629 variables static.
21630
53994f12
JM
21631 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
21632 (Y0_2D): Likewise.
21633 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
21634 (Y0_2D): Likewise.
21635 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
21636 (Y0_2D): Likewise.
21637 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
21638 (Y0_2D): Likewise.
21639
62ea2193
MF
216402017-12-06 Mike FABIAN <mfabian@redhat.com>
21641
21642 [BZ #22515]
21643 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
21644 and to the list of locales to be built for testing.
21645 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
21646 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
21647 and build the collation rules upon that.
21648
87235d70
RS
216492017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21650
21651 * NEWS: Add sinf to list of optimized functions.
21652
0d93b7fd
JM
216532017-12-06 Joseph Myers <joseph@codesourcery.com>
21654
21655 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
21656 (__HAVE_FLOAT32X): Likewise.
21657 * manual/math.texi (Mathematics): Document support for _Float64
21658 and _Float32x.
21659 * math/Makefile (test-types): Add float64 and float32x.
21660 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
21661 functions.
21662 * stdlib/Versions (GLIBC_2.27): Likewise.
21663 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21664 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21665 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21666 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21667 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21668 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
21669 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21670 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21671 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21672 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21673 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21674 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21675 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21676 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21677 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21678 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21679 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21680 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21681 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21682 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21683 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21684 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
21685 Likewise.
21686 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21687 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21688 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21689 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
21690 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21692 Likewise.
21693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
21694 Likewise.
21695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21696 Likewise.
21697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
21698 Likewise.
21699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21700 Likewise.
21701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
21702 Likewise.
21703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21704 Likewise.
21705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
21706 Likewise.
21707 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21708 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21709 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21710 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21711 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21712 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21713 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21714 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21715 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21716 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21717 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
21718 Likewise.
21719 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
21720 Likewise.
21721 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21722 Likewise.
21723 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21724 Likewise.
21725 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21726 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21727 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21728 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21729 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21730 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21731 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21732 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21733
f7787234
JM
217342017-12-05 Joseph Myers <joseph@codesourcery.com>
21735
21736 * bits/floatn-common.h: Include <bits/long-double.h>.
21737 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21738 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
21739 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21740 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
21741 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21742 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
21743 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21744 (__builtin_huge_valf64): Use __builtin_huge_vall.
21745 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21746 (__builtin_inff64): Use __builtin_infl.
21747 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21748 (__builtin_nanf64): Use __builtin_nanl.
21749 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21750 (__builtin_nansf64): Use __builtin_nansl.
21751
363e4519
DL
217522017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
21753 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6b5c8607 21754 Carlos O'Donnell <carlos@redhat.com>
07ed18d2
RA
21755
21756 * elf/dl-tunables.list: Add elision parameters.
21757 * manual/tunables.texi: Add entries about elision tunable.
21758 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
21759 Add callback functions to dynamically enable/disable elision.
21760 Add multiple callbacks functions to set elision parameters.
21761 Deleted __libc_enable_secure check.
21762 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
21763 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
21764 * configure: Regenerated.
21765 * configure.ac: Option enable_lock_elision was deleted.
21766 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
21767 * config.make.in: Remove references to enable_lock_elision.
21768 * manual/install.texi: Elision configure option was removed.
21769 * INSTALL: Regenerated to remove enable_lock_elision.
21770 * nptl/Makefile:
21771 Disable elision so it can verify error case for destroying a mutex.
21772 * sysdeps/powerpc/nptl/elide.h:
21773 Cleanup ENABLE_LOCK_ELISION check.
21774 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
21775 * sysdeps/s390/configure: Regenerated.
21776 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
21777 * nptl/tst-mutex8.c:
21778 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
21779 * sysdeps/powerpc/powerpc32/sysdep.h:
21780 Deleted all ENABLE_LOCK_ELISION checks.
21781 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
21782 * sysdeps/powerpc/sysdep.h: Likewise.
21783 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
21784 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
21785 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
21786 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
21787 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
21788 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
21789 enable-lock-elision.
21790
a5a2a76b
JM
217912017-12-05 Joseph Myers <joseph@codesourcery.com>
21792
21793 * stdlib/strtod.c: Include <bits/floatn.h>.
21794 (BUILD_DOUBLE): New macro.
21795 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21796 (strtof64): Define and later undefine as macro. Define as weak
21797 alias if [!USE_WIDE_CHAR].
21798 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21799 (wcstof64): Define and later undefine as macro. Define as weak
21800 alias if [USE_WIDE_CHAR].
21801 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21802 (strtof32x): Define and later undefine as macro. Define as weak
21803 alias if [!USE_WIDE_CHAR].
21804 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21805 (wcstof32x): Define and later undefine as macro. Define as weak
21806 alias if [USE_WIDE_CHAR].
21807 * stdlib/strtod_l.c: Include <bits/floatn.h>.
21808 (BUILD_DOUBLE): New macro.
21809 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21810 (strtof64_l): Define and later undefine as macro. Define as weak
21811 alias if [!USE_WIDE_CHAR].
21812 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21813 (wcstof64_l): Define and later undefine as macro. Define as weak
21814 alias if [USE_WIDE_CHAR].
21815 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21816 (strtof32x_l): Define and later undefine as macro. Define as weak
21817 alias if [!USE_WIDE_CHAR].
21818 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21819 (wcstof32x_l): Define and later undefine as macro. Define as weak
21820 alias if [USE_WIDE_CHAR].
21821
94d80dfc
AZ
218222017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21823
21824 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
21825 (reduced): Use ones as double instead of integer.
21826
00d54af7
SN
218272017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
21828
21829 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
21830
f2d64d62
JM
218312017-12-05 Joseph Myers <joseph@codesourcery.com>
21832
1f70eae4
JM
21833 * stdlib/strfromd.c: Include <bits/floatn.h>.
21834 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
21835 and later undefine as macro and define as weak alias.
21836 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
21837 Likewise.
21838
e2c4dce5
JM
21839 * math/test-float32x.h: New file.
21840 * math/test-float64.h: Likewise.
21841
f2d64d62
JM
21842 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
21843 (libm_alias_double_other_r_f64): New macro.
21844 (libm_alias_double_other_r_f32x): Likewise.
21845 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
21846 libm_alias_double_other_r_f32x.
21847 (libm_alias_double_r): Use semicolon before call to
21848 libm_alias_double_other_r.
21849 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
21850 <bits/floatn.h>.
21851 (libm_alias_double_other_r_f64): New macro.
21852 (libm_alias_double_other_r_f32x): Likewise.
21853 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
21854 libm_alias_double_other_r_f32x.
21855
91c318e7
L
218562017-12-05 H.J. Lu <hongjiu.lu@intel.com>
21857
21858 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
21859 int.
21860 (SINF_FUNC): Likewise. Replace floor with simple casts.
21861
de9661d6
MF
218622017-12-05 Mike FABIAN <mfabian@redhat.com>
21863
21864 [BZ #22517]
21865 * localedata/Makefile: Add et_EE.UTF-8 to test-input
21866 and to the list of locales to be built for testing.
21867 * localedata/et_EE.UTF-8.in: New file for testing the collation.
21868 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
21869 and build the collation rules upon that.
21870
f18b8dc7
CM
218712017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
21872
21873 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
21874 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
21875 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
21876 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
21877 instead of __insn__xxx.
21878 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
21879 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
21880 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
21881 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
21882 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
21883 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
21884
446d22e9
FW
218852017-12-05 Florian Weimer <fweimer@redhat.com>
21886
21887 Linux: Implement interfaces for memory protection keys
21888 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
21889 xsignal, xsysconf.
21890 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
21891 * support/xunistd.h (xsysconf): Declare.
21892 * support/xraise.c: New file.
21893 * support/xsigaction.c: Likewise.
21894 * support/xsignal.c: Likewise.
21895 * support/xsysconf.c: Likewise.
21896 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
21897 pkey_set, pkey_get, pkey_mprotect.
21898 [misc] (tests): Add tst-pkey.
21899 (tst-pkey): Link with -lpthread.
21900 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
21901 pkey_free, pkey_set, pkey_get, pkey_mprotect.
21902 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
21903 (PKEY_DISABLE_WRITE): Define.
21904 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
21905 Declare.
21906 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
21907 (SEGV_PKUERR): Add.
21908 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
21909 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
21910 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
21911 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
21912 Add.
21913 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
21914 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
21915 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
21916 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
21917 * sysdeps/unix/sysv/linux/**.abilist: Update.
21918
da616c14
FW
219192017-12-05 Florian Weimer <fweimer@redhat.com>
21920
21921 * support/tst-test_compare.c (subprocess): Use long long instead
21922 of long argument for consistent type width across 32-bit and
21923 64-bit architectures.
21924 (do_test): Adjust expected output.
21925
216933b2
JM
219262017-12-05 Joseph Myers <joseph@codesourcery.com>
21927
21928 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
21929 (cosf): Define using libm_alias_float.
21930 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
21931 (fabsf): Define using libm_alias_float.
21932 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
21933 (fmaf): Define using libm_alias_float.
21934 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
21935 (rintf): Define using libm_alias_float.
21936 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
21937 (sinf): Define using libm_alias_float.
21938 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
21939 <libm-alias-float.h>.
21940 (modff): Define using libm_alias_float.
21941 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
21942 <libm-alias-float.h>.
21943 (logbf): Define using libm_alias_float.
21944 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
21945 <libm-alias-float.h>.
21946 (ceilf): Define using libm_alias_float.
21947 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
21948 <libm-alias-float.h>.
21949 (copysignf): Define using libm_alias_float.
21950 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
21951 <libm-alias-float.h>.
21952 (floorf): Define using libm_alias_float.
21953 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
21954 <libm-alias-float.h>.
21955 (llrintf): Define using libm_alias_float.
21956 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
21957 <libm-alias-float.h>.
21958 (llroundf): Define using libm_alias_float.
21959 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
21960 <libm-alias-float.h>.
21961 (lrintf): Define using libm_alias_float.
21962 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
21963 <libm-alias-float.h>.
21964 (lroundf): Define using libm_alias_float.
21965 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
21966 <libm-alias-float.h>.
21967 (nearbyintf): Define using libm_alias_float.
21968 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
21969 <libm-alias-float.h>.
21970 (rintf): Define using libm_alias_float.
21971 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
21972 <libm-alias-float.h>.
21973 (roundf): Define using libm_alias_float.
21974 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
21975 <libm-alias-float.h>.
21976 (truncf): Define using libm_alias_float.
21977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
21978 Include <libm-alias-float.h>.
21979 (ceilf): Define using libm_alias_float.
21980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
21981 Include <libm-alias-float.h>.
21982 (copysignf): Define using libm_alias_float.
21983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
21984 Include <libm-alias-float.h>.
21985 (floorf): Define using libm_alias_float.
21986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
21987 Include <libm-alias-float.h>.
21988 (llrintf): Define using libm_alias_float.
21989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
21990 Include <libm-alias-float.h>.
21991 (llroundf): Define using libm_alias_float.
21992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
21993 Include <libm-alias-float.h>.
21994 (logbf): Define using libm_alias_float.
21995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
21996 Include <libm-alias-float.h>.
21997 (lrintf): Define using libm_alias_float.
21998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
21999 Include <libm-alias-float.h>.
22000 (lroundf): Define using libm_alias_float.
22001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
22002 Include <libm-alias-float.h>.
22003 (modff): Define using libm_alias_float.
22004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
22005 Include <libm-alias-float.h>.
22006 (roundf): Define using libm_alias_float.
22007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
22008 Include <libm-alias-float.h>.
22009 (truncf): Define using libm_alias_float.
22010 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
22011 <libm-alias-float.h>.
22012 (llrintf): Define using libm_alias_float.
22013 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
22014 <libm-alias-float.h>.
22015 (llroundf): Define using libm_alias_float.
22016 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
22017 <libm-alias-float.h>.
22018 (ceilf): Define using libm_alias_float.
22019 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
22020 <libm-alias-float.h>.
22021 (floorf): Define using libm_alias_float.
22022 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
22023 <libm-alias-float.h>.
22024 (llroundf): Define using libm_alias_float.
22025 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
22026 <libm-alias-float.h>.
22027 (lroundf): Define using libm_alias_float.
22028 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
22029 <libm-alias-float.h>.
22030 (roundf): Define using libm_alias_float.
22031 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
22032 <libm-alias-float.h>.
22033 (truncf): Define using libm_alias_float.
22034 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
22035 <libm-alias-float.h>.
22036 (copysignf): Define using libm_alias_float.
22037 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
22038 <libm-alias-float.h>.
22039 (llrintf): Define using libm_alias_float.
22040 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
22041 <libm-alias-float.h>.
22042 (llroundf): Define using libm_alias_float.
22043 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
22044 <libm-alias-float.h>.
22045 (lrintf): Define using libm_alias_float.
22046 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
22047 <libm-alias-float.h>.
22048 (lroundf): Define using libm_alias_float.
22049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
22050 <libm-alias-float.h>.
22051 (ceilf): Define using libm_alias_float.
22052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
22053 <libm-alias-float.h>.
22054 (copysignf): Define using libm_alias_float.
22055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
22056 <libm-alias-float.h>.
22057 (cosf): Define using libm_alias_float.
22058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
22059 <libm-alias-float.h>.
22060 (floorf): Define using libm_alias_float.
22061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
22062 <libm-alias-float.h>.
22063 (llrintf): Define using libm_alias_float.
22064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
22065 <libm-alias-float.h>.
22066 (llroundf): Define using libm_alias_float.
22067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
22068 <libm-alias-float.h>.
22069 (logbf): Define using libm_alias_float.
22070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
22071 <libm-alias-float.h>.
22072 (modff): Define using libm_alias_float.
22073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
22074 <libm-alias-float.h>.
22075 (roundf): Define using libm_alias_float.
22076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
22077 <libm-alias-float.h>.
22078 (sinf): Define using libm_alias_float.
22079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
22080 <libm-alias-float.h>.
22081 (truncf): Define using libm_alias_float.
22082 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
22083 <libm-alias-float.h>.
22084 (ceilf): Define using libm_alias_float.
22085 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
22086 <libm-alias-float.h>.
22087 (copysignf): Define using libm_alias_float.
22088 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
22089 <libm-alias-float.h>.
22090 (floorf): Define using libm_alias_float.
22091 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
22092 <libm-alias-float.h>.
22093 (llrintf): Define using libm_alias_float.
22094 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
22095 <libm-alias-float.h>.
22096 (llroundf): Define using libm_alias_float.
22097 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
22098 <libm-alias-float.h>.
22099 (nearbyintf): Define using libm_alias_float.
22100 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
22101 <libm-alias-float.h>.
22102 (rintf): Define using libm_alias_float.
22103 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
22104 <libm-alias-float.h>.
22105 (roundf): Define using libm_alias_float.
22106 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
22107 <libm-alias-float.h>.
22108 (truncf): Define using libm_alias_float.
22109 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
22110 <libm-alias-float.h>.
22111 (ceilf): Define using libm_alias_float.
22112 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
22113 <libm-alias-float.h>.
22114 (floorf): Define using libm_alias_float.
22115 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
22116 <libm-alias-float.h>.
22117 (llroundf): Define using libm_alias_float.
22118 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
22119 <libm-alias-float.h>.
22120 (roundf): Define using libm_alias_float.
22121 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
22122 <libm-alias-float.h>.
22123 (truncf): Define using libm_alias_float.
22124 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
22125 <libm-alias-float.h>.
22126 (copysignf): Define using libm_alias_float.
22127 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
22128 <libm-alias-float.h>.
22129 (llrintf): Define using libm_alias_float.
22130 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
22131 <libm-alias-float.h>.
22132 (llroundf): Define using libm_alias_float.
22133 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
22134 <libm-alias-float.h>.
22135 (cosf): Define using libm_alias_float.
22136 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
22137 <libm-alias-float.h>.
22138 (llrintf): Define using libm_alias_float.
22139 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
22140 <libm-alias-float.h>.
22141 (llroundf): Define using libm_alias_float.
22142 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
22143 <libm-alias-float.h>.
22144 (sinf): Define using libm_alias_float.
22145
93485524
FW
221462017-12-04 Florian Weimer <fweimer@redhat.com>
22147
22148 * support/check.h (TEST_COMPARE): Define.
22149 (support_test_compare_failure): Declare.
22150 * support/Makefile (libsupport-routines): Add
22151 support_test_compare_failure.
22152 (tests): Add tst-test_compare.
22153 * support /support_test_compare_failure.c: New file.
22154 * support/tst-test_compare.c: Likewise.
22155
96b06a19
MF
221562017-12-04 Mike FABIAN <mfabian@redhat.com>
22157
22158 [BZ #22527]
22159 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
22160 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
22161 available, this rewrite of the collation rules does reproduce
22162 the test file in the same order.
22163
1f6d91f3
MF
221642017-12-04 Mike FABIAN <mfabian@redhat.com>
22165
22166 [BZ #10580]
22167 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
22168 digraphs in the month and day names. Using single code points for
22169 digraphs is deprecated. While there are dedicated Unicode
22170 codepoints, for the digraphs, these are included for backwards
22171 compatibility and modern texts use a sequence of Basic Latin
22172 characters. See: https://www.unicode.org/faq/ligature_digraph.html
22173 This makes the month and day names agree exactly with CLDR now,
22174 CLDR does not use the single code points for the digraphs either.
22175
2e49fed8
CM
221762017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
22177
22178 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
22179
73895b49
JM
221802017-12-04 Joseph Myers <joseph@codesourcery.com>
22181
22182 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
22183 of floor.
22184
4c1d801a
SP
221852017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
22186
22187 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
22188 Define only for libc.so.
22189
478593e6
SL
221902017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
22191
22192 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22193 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
6b5c8607 22194 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
478593e6
SL
22195 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
22196 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22197
7863a711
RS
221982017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22199
22200 [BZ #5997]
22201 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
22202
800a496a
JDA
222032017-12-02 John David Anglin <danglin@gcc.gnu.org>
22204
b3f7fb12
JDA
22205 [BZ libc/19170]
22206 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
22207 PREINIT_FUNCTION_WEAK is nonzero.
22208 (gmon_initializer): New function. Put procedure label for it in
22209 .init_array section.
22210 (_init): Don't call PREINIT_FUNCTION.
22211 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
22212 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
22213 value when map argument is null.
22214
800a496a
JDA
22215 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
22216 depi instruction from PIC pc-relative sequence.
22217 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
22218 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
22219 (elf_machine_load_address): Likewise.
22220 (elf_machine_runtime_setup): Likewise.
22221
d17542d2
JM
222222017-12-02 Joseph Myers <joseph@codesourcery.com>
22223
22224 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
22225 <libm-alias-double.h>.
22226 (logb): Define using libm_alias_double.
22227 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
22228 <libm-alias-double.h>.
22229 (copysign): Define using libm_alias_double.
22230 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
22231 <libm-alias-double.h>.
22232 (llrint): Define using libm_alias_double.
22233 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
22234 <libm-alias-double.h>.
22235 (llround): Define using libm_alias_double.
22236 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
22237 <libm-alias-double.h>.
22238 (lrint): Define using libm_alias_double.
22239 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
22240 <libm-alias-double.h>.
22241 (lround): Define using libm_alias_double.
22242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
22243 Include <libm-alias-double.h>.
22244 (copysign): Define using libm_alias_double.
22245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
22246 Include <libm-alias-double.h>.
22247 (llrint): Define using libm_alias_double.
22248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
22249 Include <libm-alias-double.h>.
22250 (llround): Define using libm_alias_double.
22251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
22252 <libm-alias-double.h>.
22253 (logb): Define using libm_alias_double.
22254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
22255 Include <libm-alias-double.h>.
22256 (lrint): Define using libm_alias_double.
22257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
22258 Include <libm-alias-double.h>.
22259 (lround): Define using libm_alias_double.
22260 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
22261 <libm-alias-double.h>.
22262 (llrint): Define using libm_alias_double.
22263 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
22264 <libm-alias-double.h>.
22265 (llround): Define using libm_alias_double.
22266 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
22267 <libm-alias-double.h>.
22268 (llround): Define using libm_alias_double.
22269 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
22270 <libm-alias-double.h>.
22271 (lround): Define using libm_alias_double.
22272 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
22273 <libm-alias-double.h>.
22274 (copysign): Define using libm_alias_double.
22275 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
22276 <libm-alias-double.h>.
22277 (llrint): Define using libm_alias_double.
22278 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
22279 <libm-alias-double.h>.
22280 (llround): Define using libm_alias_double.
22281 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
22282 <libm-alias-double.h>.
22283 (lrint): Define using libm_alias_double.
22284 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
22285 <libm-alias-double.h>.
22286 (lround): Define using libm_alias_double.
22287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
22288 <libm-alias-double.h>.
22289 (copysign): Define using libm_alias_double.
22290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
22291 <libm-alias-double.h>.
22292 (llrint): Define using libm_alias_double.
22293 (lrint): Likewise.
22294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
22295 <libm-alias-double.h>.
22296 (llround): Define using libm_alias_double.
22297 (lround): Likewise.
22298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
22299 <libm-alias-double.h>.
22300 (logb): Define using libm_alias_double.
22301 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
22302 <libm-alias-double.h>.
22303 (copysign): Define using libm_alias_double.
22304 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
22305 <libm-alias-double.h>.
22306 (llrint): Define using libm_alias_double.
22307 (lrint): Likewise.
22308 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
22309 <libm-alias-double.h>.
22310 (llround): Define using libm_alias_double.
22311 (lround): Likewise.
22312 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
22313 <libm-alias-double.h>.
22314 (llround): Define using libm_alias_double.
22315 (lround): Likewise.
22316 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
22317 <libm-alias-double.h>.
22318 (copysign): Define using libm_alias_double.
22319 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
22320 <libm-alias-double.h>.
22321 (llrint): Define using libm_alias_double.
22322 (lrint): Likewise.
22323 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
22324 <libm-alias-double.h>.
22325 (llround): Define using libm_alias_double.
22326 (lround): Likewise.
22327 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
22328 <libm-alias-double.h>.
22329 (llrint): Define using libm_alias_double.
22330 (lrint): Likewise.
22331 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
22332 <libm-alias-double.h>.
22333 (llround): Define using libm_alias_double.
22334 (lround): Likewise.
22335
ec2cf3f4
JM
223362017-12-01 Joseph Myers <joseph@codesourcery.com>
22337
0ddde474
JM
22338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
22339 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
22340 compat symbol based on llround.
22341
0d5ba561
JM
22342 * sysdeps/powerpc/power7/fpu/s_logb.c
22343 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
22344 symbol based on __logb, not on logb.
22345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
22346 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
22347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
22348 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
22349
51ea3b20
JM
22350 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
22351 (rint): Define using libm_alias_double.
22352 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
22353 <libm-alias-double.h>.
22354 (modf): Define using libm_alias_double.
22355 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
22356 <libm-alias-double.h>.
22357 (ceil): Define using libm_alias_double.
22358 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
22359 <libm-alias-double.h>.
22360 (floor): Define using libm_alias_double.
22361 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
22362 <libm-alias-double.h>.
22363 (nearbyint): Define using libm_alias_double.
22364 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
22365 <libm-alias-double.h>.
22366 (rint): Define using libm_alias_double.
22367 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
22368 <libm-alias-double.h>.
22369 (round): Define using libm_alias_double.
22370 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
22371 <libm-alias-double.h>.
22372 (trunc): Define using libm_alias_double.
22373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
22374 <libm-alias-double.h>.
22375 (ceil): Define using libm_alias_double.
22376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
22377 Include <libm-alias-double.h>.
22378 (floor): Define using libm_alias_double.
22379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
22380 <libm-alias-double.h>.
22381 (modf): Define using libm_alias_double.
22382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
22383 Include <libm-alias-double.h>.
22384 (round): Define using libm_alias_double.
22385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
22386 Include <libm-alias-double.h>.
22387 (trunc): Define using libm_alias_double.
22388 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
22389 <libm-alias-double.h>.
22390 (ceil): Define using libm_alias_double.
22391 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
22392 <libm-alias-double.h>.
22393 (floor): Define using libm_alias_double.
22394 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
22395 <libm-alias-double.h>.
22396 (round): Define using libm_alias_double.
22397 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
22398 <libm-alias-double.h>.
22399 (trunc): Define using libm_alias_double.
22400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
22401 <libm-alias-double.h>.
22402 (ceil): Define using libm_alias_double.
22403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
22404 <libm-alias-double.h>.
22405 (floor): Define using libm_alias_double.
22406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
22407 <libm-alias-double.h>.
22408 (modf): Define using libm_alias_double.
22409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
22410 <libm-alias-double.h>.
22411 (round): Define using libm_alias_double.
22412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
22413 <libm-alias-double.h>.
22414 (trunc): Define using libm_alias_double.
22415 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
22416 <libm-alias-double.h>.
22417 (ceil): Define using libm_alias_double.
22418 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
22419 <libm-alias-double.h>.
22420 (floor): Define using libm_alias_double.
22421 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
22422 <libm-alias-double.h>.
22423 (nearbyint): Define using libm_alias_double.
22424 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
22425 <libm-alias-double.h>.
22426 (rint): Define using libm_alias_double.
22427 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
22428 <libm-alias-double.h>.
22429 (round): Define using libm_alias_double.
22430 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
22431 <libm-alias-double.h>.
22432 (trunc): Define using libm_alias_double.
22433 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
22434 <libm-alias-double.h>.
22435 (ceil): Define using libm_alias_double.
22436 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
22437 <libm-alias-double.h>.
22438 (floor): Define using libm_alias_double.
22439 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
22440 <libm-alias-double.h>.
22441 (round): Define using libm_alias_double.
22442 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
22443 <libm-alias-double.h>.
22444 (trunc): Define using libm_alias_double.
22445
ec2cf3f4
JM
22446 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
22447 (fabs): Define using libm_alias_double.
22448 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
22449 (fma): Define using libm_alias_double.
22450 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
22451 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
22452 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
22453 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
22454
5b7bd975
AZ
224552017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22456
0594b13f
AZ
22457 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
22458
dbdfcf3b
AZ
22459 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
22460 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
22461 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
22462
5b7bd975
AZ
22463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
22464 due redirect macro.
22465
ef9ecfa6
AS
224662017-12-01 Andreas Schwab <schwab@linux-m68k.org>
22467
22468 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
22469
5b4e5e78
AZ
224702017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22471
2a14526b
AZ
22472 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
22473 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
22474 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
22475 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
22476
dbeb74ef 22477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1c051a9b
AZ
22478 (libm-sysdep_routines): Add s_nearbyintf-generic and
22479 s_nearbyint-generic.
22480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
22481 New file.
22482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
22483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
22484 Likewise.
22485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
22486 Likewise.
22487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
22488 file.
22489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
22490 Likewise.
22491
22492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
dbeb74ef
AZ
22493 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
22494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
22495 file.
22496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
22497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
22498 Likewise.
22499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
22500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
22501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22502
fa7ded96
AZ
22503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22504 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
22505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
22506 file.
22507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
22508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
22509 Likewise.
22510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
22511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
22512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
22513
e240cf0e
AZ
22514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22515 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
22516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
22517 file.
22518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
22519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
22520 Likewise.
22521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
22522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
22523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22524
5b4e5e78
AZ
22525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22526 (sysdep_calls): New rule.
22527 (sysdep_routines): Use sysdep_calls as base.
22528 (libm-sysdep_routines): Add generic rule for symbols shared with
22529 libc. Add s_copysign-generic and s_copysign-generic objects.
22530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
22531 New file.
22532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
22533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
22534 Likewise.
22535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
22536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
22537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
22538
d985adae
MF
225392017-12-01 Mike FABIAN <mfabian@redhat.com>
22540
22541 [BZ #22519]
22542 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
22543 the list of locales to be built for testing.
22544 * localedata/is_IS.UTF-8.in: New file.
22545 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
22546 on iso14651_t1.
22547
ff84a0e0
JM
225482017-12-01 Joseph Myers <joseph@codesourcery.com>
22549
22550 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
22551 <libm-alias-float.h>.
22552 (fabsf): Define using libm_alias_float.
22553
ef5d8b43
L
225542017-11-30 H.J. Lu <hongjiu.lu@intel.com>
22555
22556 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
22557
c0535adf
JM
225582017-11-30 Joseph Myers <joseph@codesourcery.com>
22559
f938b397
JM
22560 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
22561 <libm-alias-float.h>.
22562 (fabsf): Define using libm_alias_float.
22563 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
22564 <libm-alias-float.h>.
22565 (lrintf): Define using libm_alias_float.
22566 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
22567 <libm-alias-float.h>.
22568 (rintf): Define using libm_alias_float.
22569
2251fad0
JM
22570 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
22571 <libm-alias-double.h>.
22572 (fabs): Define using libm_alias_double.
22573 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
22574 <libm-alias-double.h>.
22575 (lrint): Define using libm_alias_double.
22576 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
22577 <libm-alias-double.h>.
22578 (rint): Define using libm_alias_double.
22579
e53df1de
JM
22580 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
22581 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
22582 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
22583 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
22584 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
22585 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
22586 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
22587 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
22588 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
22589 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
22590 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
22591 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
22592 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
22593 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
22594 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
22595 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
22596 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
22597 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
22598 s_atan_template.c.
22599 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
22600 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
22601 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
22602 s_ceil_template.c.
22603 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
22604 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
22605 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
22606 s_cos_template.c.
22607 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
22608 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
22609 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
22610 s_expm1_template.c.
22611 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
22612 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
22613 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
22614 s_fabs_template.c.
22615 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
22616 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
22617 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
22618 s_floor_template.c.
22619 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
22620 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
22621 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
22622 s_frexp_template.c.
22623 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
22624 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
22625 s_lrint_template.c.
22626 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
22627 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
22628 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
22629 s_modf_template.c.
22630 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
22631 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
22632 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
22633 s_nearbyint_template.c.
22634 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
22635 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
22636 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
22637 s_remquo_template.c.
22638 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
22639 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
22640 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
22641 s_rint_template.c.
22642 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
22643 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
22644 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
22645 s_sin_template.c.
22646 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
22647 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
22648 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
22649 s_sincos_template.c.
22650 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
22651 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
22652 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
22653 s_tan_template.c.
22654 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
22655 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
22656 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
22657 s_tanh_template.c.
22658 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
22659 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
22660 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
22661 s_trunc_template.c.
22662 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
22663 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
22664 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
22665 s_atan.c instead of including s_atan.c.
22666 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
22667 s_atanf.c instead of including s_atanf.c.
22668 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
22669 s_atanl.c instead of including s_atanl.c.
22670 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
22671 instead of s_atan.c.
22672 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
22673 instead of s_atanf.c.
22674 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
22675 instead of s_atanl.c.
22676
c0535adf
JM
22677 * scripts/update-copyrights: Do not handle intl/plural.c
22678 specially.
22679
1faaf703
JB
226802017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
22681
22682 [BZ #22432]
22683 * configure.ac (BISON): Require to be present.
22684 * configure: Regenerated.
22685 * intl/Makefile (generated): Add plural.c.
22686 [$(BISON) != no]: Make code unconditional.
22687 (plural.c): Change rule to $(objpfx)plural.c.
22688 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
22689 * intl/plural.c: Remove.
22690 * manual/install.texi (Tools for Compilation): Document bison as
22691 required.
22692 * INSTALL: Regenerated.
22693
faec6323
JM
226942017-11-30 Joseph Myers <joseph@codesourcery.com>
22695
bd6ea9ed
JM
22696 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
22697 <libm-alias-double.h>.
22698 (llrint): Define using libm_alias_double.
22699 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
22700 <libm-alias-float.h>.
22701 (llrintf): Define using libm_alias_float.
22702 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
22703 <libm-alias-ldouble.h>.
22704 (llrintl): Define using libm_alias_ldouble.
22705
faec6323
JM
22706 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
22707 declare_mgen_alias instead of weak_alias.
22708 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
22709 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
22710 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
22711
023cade3
AZ
227122017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22713
9e2279a0
AZ
22714 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22715 Add add_n-generic.
22716 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
22717 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
22718 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
22719
75f37c71
AZ
22720 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22721 Add submul_1-generic.
22722 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
22723 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
22724 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
22725
b70cbbfc 22726 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
dda1d2e8
AZ
22727 Add addmul_1-generic.
22728 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
22729 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
22730 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
22731
22732 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
b70cbbfc
AZ
22733 Add sub_n-generic.
22734 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
22735 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
22736 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
22737
023cade3
AZ
22738 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22739 Add mul_1-generic.
22740 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
22741 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
22742 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
22743
fbb5fd03
MF
227442017-11-30 Mike FABIAN <mfabian@redhat.com>
22745
22746 According to CLDR, collation rules for Serbian and Bosnian
22747 should be the same as for Croatian.
22748
22749 [BZ #22534]
22750 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
22751 and to the list of locales to be built for testing.
22752 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
22753 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
22754 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
22755 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
22756
5e56e937
MF
227572017-11-30 Mike FABIAN <mfabian@redhat.com>
22758
22759 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
22760 to make test case pass.
22761 * localedata/hr_HR.UTF-8.in: Add more test strings.
22762
cf4341ca
MF
227632017-11-30 Mike FABIAN <mfabian@redhat.com>
22764
22765 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
22766
363e4519 227672017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
9ca6b343
DSN
22768
22769 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
22770 the list of locales to built for testing.
22771 * localedata/hr_HR.UTF-8.in: New file.
22772
363e4519 227732017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
37075ae1
DSN
22774
22775 [BZ #10580]
22776 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
22777 iso14651_t1.
22778 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
22779 CLDR (except use ligatures for the digraphs, CLDR does not use
22780 the ligatures), add first_workday, some fixes in the date and time
22781 formats.
22782 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
22783 for Đ and đ.
22784 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
22785 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
22786 Add int_p_cs_precedes and int_n_cs_precedes.
22787 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
22788 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
22789 LC_MONETARY now).
22790 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
22791 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
22792 name_miss.
22793 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
22794 and lang_lib. Change postal_fmt.
22795
f33632cc
L
227962017-11-30 H.J. Lu <hongjiu.lu@intel.com>
22797
22798 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
22799 <setjmp.h>.
22800 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
22801 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
22802 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
22803 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
22804 * sysdeps/generic/setjmpP.h: New file.
22805 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
22806 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
22807 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
22808 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
22809 Add jmp_buf-ssp.sym.
22810 (tests): Add tst-saved_mask-1.
22811
34697694
AS
228122017-11-30 Arjun Shankar <arjun@redhat.com>
22813
22814 [BZ #22375]
37ac8e63 22815 CVE-2017-17426
34697694
AS
22816 * malloc/malloc.c (__libc_malloc): Use checked_request2size
22817 instead of request2size.
22818
3e5efdbd
JM
228192017-11-30 Joseph Myers <joseph@codesourcery.com>
22820
18305fba
JM
22821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
22822 (__lllrint): Remove alias.
22823 (lllrint): Likewise.
22824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
22825 (__lllrintf): Likewise.
22826 (lllrintf): Likewise.
22827
3e5efdbd
JM
22828 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
22829 <libm-alias-float.h>.
22830 (copysignf): Define using libm_alias_float.
22831 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
22832 <libm-alias-float.h>.
22833 (fabsf): Define using libm_alias_float.
22834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22835 Include <libm-alias-float.h>.
22836 (copysignf): Define using libm_alias_float.
22837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
22838 <libm-alias-float.h>.
22839 (fabsf): Define using libm_alias_float.
22840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
22841 <libm-alias-float.h>.
22842 (fdimf): Define using libm_alias_float.
22843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
22844 <libm-alias-float.h>.
22845 (fmaf): Define using libm_alias_float.
22846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
22847 <libm-alias-float.h>.
22848 (llrintf): Define using libm_alias_float.
22849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
22850 Include <libm-alias-float.h>.
22851 (nearbyintf): Define using libm_alias_float.
22852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
22853 <libm-alias-float.h>.
22854 (rintf): Define using libm_alias_float.
22855 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
22856 <libm-alias-float.h>.
22857 (llrintf): Define using libm_alias_float.
22858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
22859 <libm-alias-float.h>.
22860 (lrintf): Define using libm_alias_float.
22861 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
22862 <libm-alias-float.h>.
22863 (nearbyintf): Define using libm_alias_float.
22864 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
22865 <libm-alias-float.h>.
22866 (rintf): Define using libm_alias_float.
22867 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
22868 <libm-alias-float.h>.
22869 (ceilf): Define using libm_alias_float.
22870 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
22871 <libm-alias-float.h>.
22872 (floorf): Define using libm_alias_float.
22873 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
22874 <libm-alias-float.h>.
22875 (fmaf): Define using libm_alias_float.
22876 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
22877 <libm-alias-float.h>.
22878 (lrintf): Define using libm_alias_float.
22879 (llrintf): Likewise.
22880 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
22881 <libm-alias-float.h>.
22882 (nearbyintf): Define using libm_alias_float.
22883 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
22884 <libm-alias-float.h>.
22885 (rintf): Define using libm_alias_float.
22886 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
22887 <libm-alias-float.h>.
22888 (truncf): Define using libm_alias_float.
22889 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
22890 <libm-alias-float.h>.
22891 (copysignf): Define using libm_alias_float.
22892 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
22893 <libm-alias-float.h>.
22894 (fabsf): Define using libm_alias_float.
22895 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
22896 <libm-alias-float.h>.
22897 (lrintf): Define using libm_alias_float.
22898 (llrintf): Likewise.
22899 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
22900 <libm-alias-float.h>.
22901 (nearbyintf): Define using libm_alias_float.
22902 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
22903 <libm-alias-float.h>.
22904 (rintf): Define using libm_alias_float.
22905
011fba7e
JM
229062017-11-29 Joseph Myers <joseph@codesourcery.com>
22907
875cd548
JM
22908 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
22909 <libm-alias-double.h>.
22910 (copysign): Define using libm_alias_double.
22911 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
22912 <libm-alias-double.h>.
22913 (fabs): Define using libm_alias_double.
22914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22915 Include <libm-alias-double.h>.
22916 (copysign): Define using libm_alias_double.
22917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
22918 <libm-alias-double.h>.
22919 (fabs): Define using libm_alias_double.
22920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
22921 <libm-alias-double.h>.
22922 (fdim): Define using libm_alias_double.
22923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
22924 <libm-alias-double.h>.
22925 (fma): Define using libm_alias_double.
22926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
22927 <libm-alias-double.h>.
22928 (llrint): Define using libm_alias_double.
22929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
22930 Include <libm-alias-double.h>.
22931 (nearbyint): Define using libm_alias_double.
22932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
22933 <libm-alias-double.h>.
22934 (rint): Define using libm_alias_double.
22935 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
22936 <libm-alias-double.h>.
22937 (fabs): Define using libm_alias_double.
22938 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
22939 <libm-alias-double.h>.
22940 (llrint): Define using libm_alias_double.
22941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
22942 <libm-alias-double.h>.
22943 (nearbyint): Define using libm_alias_double.
22944 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
22945 <libm-alias-double.h>.
22946 (rint): Define using libm_alias_double.
22947 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
22948 <libm-alias-double.h>.
22949 (ceil): Define using libm_alias_double.
22950 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
22951 <libm-alias-double.h>.
22952 (floor): Define using libm_alias_double.
22953 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
22954 <libm-alias-double.h>.
22955 (fma): Define using libm_alias_double.
22956 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
22957 <libm-alias-double.h>.
22958 (lrint): Define using libm_alias_double.
22959 (llrint): Likewise.
22960 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
22961 <libm-alias-double.h>.
22962 (nearbyint): Define using libm_alias_double.
22963 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
22964 <libm-alias-double.h>.
22965 (rint): Define using libm_alias_double.
22966 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
22967 <libm-alias-double.h>.
22968 (trunc): Define using libm_alias_double.
22969 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
22970 <libm-alias-double.h>.
22971 (copysign): Define using libm_alias_double.
22972 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
22973 <libm-alias-double.h>.
22974 (fabs): Define using libm_alias_double.
22975 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
22976 <libm-alias-double.h>.
22977 (lrint): Define using libm_alias_double.
22978 (llrint): Likewise.
22979 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
22980 <libm-alias-double.h>.
22981 (nearbyint): Define using libm_alias_double.
22982 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
22983 <libm-alias-double.h>.
22984 (rint): Define using libm_alias_double.
22985
cf4ebc27
JM
22986 [BZ #22229]
22987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
22988 <math_ldbl_opt.h>.
22989 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
22990
0c097378
JM
22991 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22992 SPARC --disable-multi-arch glibc variants.
22993
34bb10aa
JM
22994 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
22995 <libm-alias-float.h>.
22996 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22997 if [SHARED].
22998 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
22999 <libm-alias-float.h>.
23000 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23001 if [SHARED].
23002 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
23003 <libm-alias-float.h>.
23004 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23005 if [SHARED].
23006 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
23007 <libm-alias-float.h>.
23008 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23009 if [SHARED].
23010 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
23011 <libm-alias-float.h>.
23012 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23013 if [SHARED].
23014 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
23015 <libm-alias-float.h>.
23016 (ceilf): Define using libm_alias_float.
23017 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
23018 <libm-alias-float.h>.
23019 (floorf): Define using libm_alias_float.
23020 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
23021 <libm-alias-float.h>.
23022 (fmaf): Define using libm_alias_float.
23023 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
23024 <libm-alias-float.h>.
23025 (nearbyintf): Define using libm_alias_float.
23026 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
23027 <libm-alias-float.h>.
23028 (rintf): Define using libm_alias_float.
23029 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
23030 <libm-alias-float.h>.
23031 (truncf): Define using libm_alias_float.
23032 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
23033 (copysignf): Define using libm_alias_float.
23034 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
23035 (cosf): Define using libm_alias_float.
23036 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
23037 (fabsf): Define using libm_alias_float.
23038 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23039 (fmaxf): Define using libm_alias_float.
23040 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
23041 (fminf): Define using libm_alias_float.
23042 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
23043 (llrintf): Define using libm_alias_float.
23044 [!__ILP32__] (lrintf): Likewise.
23045 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
23046 (sincosf): Define using libm_alias_float.
23047 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
23048 (sinf): Define using libm_alias_float.
23049 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
23050 (lrintf): Define using libm_alias_float.
23051
011fba7e
JM
23052 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
23053 <libm-alias-double.h>.
23054 (atan): Define using libm_alias_double.
23055 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
23056 <libm-alias-double.h>.
23057 (ceil): Define using libm_alias_double.
23058 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
23059 <libm-alias-double.h>.
23060 (floor): Define using libm_alias_double.
23061 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
23062 <libm-alias-double.h>.
23063 (fma): Define using libm_alias_double.
23064 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
23065 <libm-alias-double.h>.
23066 (nearbyint): Define using libm_alias_double.
23067 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
23068 <libm-alias-double.h>.
23069 (rint): Define using libm_alias_double.
23070 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
23071 <libm-alias-double.h>.
23072 (sin): Define using libm_alias_double.
23073 (cos): Likewise.
23074 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
23075 <libm-alias-double.h>.
23076 (tan): Define using libm_alias_double.
23077 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
23078 <libm-alias-double.h>.
23079 (trunc): Define using libm_alias_double.
23080 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
23081 (copysign): Define using libm_alias_double.
23082 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
23083 (fabs): Define using libm_alias_double.
23084 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
23085 (fmax): Define using libm_alias_double.
23086 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
23087 (fmin): Define using libm_alias_double.
23088 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
23089 (llrint): Define using libm_alias_double.
23090 [!__ILP32__] (lrint): Likewise.
23091 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
23092 (lrint): Define using libm_alias_double.
23093
1cbd7bfe
AZ
230942017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23095
21bfcc3d
AZ
23096 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23097 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
23098 objects.
23099 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
23100 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
23101 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
23102 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
23103 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
23104 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23105
522228dd
AZ
23106 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23107 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
23108 objects.
23109 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
23110 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
23111 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
23112 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
23113 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
23114 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23115
2a6f4fab
AZ
23116 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23117 (libm-sysdep_routines): Add s_nearbyint-generic and
23118 s_nearbyintf-generic objects.
23119 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
23120 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
23121 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
23122 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
23123 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
23124 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
23125
712b5b83
AZ
23126 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23127 Add s_finitef-generic and s_finite-generic objects.
23128 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
23129 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
23130 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
23131 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
23132 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
23133 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
23134
c96d3335
AZ
23135 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23136 Add s_isinff-generic and s_isinf-generic objects.
23137 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
23138 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
23139 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
23140 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
23141 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
23142 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23143
c6862a23
AZ
23144 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23145 Add s_isnanf-generic and s_isnan-generic objects.
23146 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
23147 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
23148 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
23149 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
23150 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
23151 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23152
1cbd7bfe
AZ
23153 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
23154 macro.
23155 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
23156 rule.
23157 (sysdep_routines): Use sysdep_calls as base.
23158 (libm-sysdep_routines): Add generic rule for symbols shared with
23159 libc. Add s_signbit-generic and s_signbitf-generic objects.
23160 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
23161 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
23162 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
23163 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
23164 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
23165 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23166
aa1142c5
JM
231672017-11-29 Joseph Myers <joseph@codesourcery.com>
23168
23169 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
23170 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
23171 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
23172 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
23173 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
23174 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
23175 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
23176 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
23177 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
23178 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
23179 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
23180 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
23181 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
23182 libm_alias_float_r.
23183 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
23184 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
23185 (logf): Likewise.
23186 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
23187 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
23188 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
23189 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
23190 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
23191 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
23192 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
23193 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
23194 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
23195 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
23196 libm_alias_float.
23197 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
23198 (cosf): Likewise.
23199 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
23200 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
23201 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
23202 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
23203 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
23204 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
23205 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
23206 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
23207 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
23208 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
23209 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
23210 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
23211 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
23212 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
23213 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
23214 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
23215 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
23216 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
23217 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
23218 libm_alias_float.
23219 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
23220 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
23221 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
23222 * sysdeps/ia64/fpu/w_lgammaf_main.c
23223 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
23224 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
23225
363e4519
DL
232262017-11-28 Mike FABIAN <mfabian@redhat.com>
23227 Alexandre Oliva <aoliva@redhat.com>
8da25eec
AO
23228
23229 [BZ #17750]
23230 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
23231 * localedata/fr_CA.UTF-8.in: New file with test data for backward
23232 accents sorting.
23233 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
23234 sorting.
23235 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
23236 * localedata/locales/de_DE (LC_COLLATE): Likewise.
23237 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
23238 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
23239 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
23240 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
23241 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
23242 instead of “ifdef DIACRIT_BACKWARD”.
23243
a55430cb
AZ
232442017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23245
23246 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
23247 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
23248 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
23249 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
23250 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
23251 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
23252 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
23253 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
23254 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
23255 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
23256 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
23257 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
23258 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
23259 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
23260 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
23261 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
23262 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
23263 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
23264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23265 ($(have-as-vis3) == yes): Remove conditional.
23266 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
23267 Likewise.
23268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
23269 file.
23270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
23271 file.
23272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
23273 file.
23274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
23275 file.
23276 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
23277 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
23278 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
23279 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
23280 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
23281 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
23282 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
23283 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
23284
0609ec0a
JM
232852017-11-29 Joseph Myers <joseph@codesourcery.com>
23286
23287 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
23288 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
23289 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
23290 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
23291 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
23292 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
23293 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
23294 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
23295 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
23296 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
23297 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
23298 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
23299 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
23300 libm_alias_double_r.
23301 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
23302 (log): Likewise.
23303 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
23304 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
23305 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
23306 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
23307 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
23308 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
23309 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
23310 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
23311 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
23312 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
23313 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
23314 libm_alias_double.
23315 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
23316 (cos): Likewise.
23317 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
23318 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
23319 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
23320 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
23321 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
23322 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
23323 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
23324 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
23325 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
23326 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
23327 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
23328 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
23329 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
23330 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
23331 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
23332 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
23333 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
23334 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
23335 libm_alias_double.
23336 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
23337 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
23338 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
23339 * sysdeps/ia64/fpu/w_lgamma_main.c
23340 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
23341 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
23342
d5bfa34a
JDA
233432017-11-28 John David Anglin <danglin@gcc.gnu.org>
23344
23345 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
23346 address of $global$ into %dp register earlier. Use pc-relative
23347 instruction sequence for PIC case.
23348
bc4e8f9b
JM
233492017-11-28 Joseph Myers <joseph@codesourcery.com>
23350
e4602cba
JM
23351 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
23352 (asinhf): Define using libm_alias_float.
23353 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
23354 (atanf): Define using libm_alias_float.
23355 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
23356 (cbrtf): Define using libm_alias_float.
23357 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
23358 (ceilf): Define using libm_alias_float.
23359 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
23360 (copysignf): Define using libm_alias_float.
23361 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
23362 (expm1f): Define using libm_alias_float.
23363 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
23364 (fabsf): Define using libm_alias_float.
23365 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
23366 (floorf): Define using libm_alias_float.
23367 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23368 (fmaxf): Define using libm_alias_float.
23369 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
23370 (fminf): Define using libm_alias_float.
23371 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
23372 (frexpf): Define using libm_alias_float.
23373 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
23374 (llrintf): Define using libm_alias_float.
23375 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
23376 (logbf): Define using libm_alias_float.
23377 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
23378 (lrintf): Define using libm_alias_float.
23379 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
23380 (nearbyintf): Define using libm_alias_float.
23381 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
23382 (remquof): Define using libm_alias_float.
23383 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
23384 (rintf): Define using libm_alias_float.
23385 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
23386 (truncf): Define using libm_alias_float.
23387 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
23388 <libm-alias-float.h>.
23389 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23390 if [SHARED].
23391 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
23392 <libm-alias-float.h>.
23393 (expf): Define using libm_alias_float, or libm_alias_float_other
23394 if [SHARED].
23395 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
23396 <libm-alias-float.h>.
23397 (log2f): Define using libm_alias_float, or libm_alias_float_other
23398 if [SHARED].
23399 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
23400 <libm-alias-float.h>.
23401 (logf): Define using libm_alias_float, or libm_alias_float_other
23402 if [SHARED].
23403 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
23404 <libm-alias-float.h>.
23405 (powf): Define using libm_alias_float, or libm_alias_float_other
23406 if [SHARED].
23407 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
23408 <libm-alias-float.h>.
23409 (cosf): Define using libm_alias_float.
23410 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
23411 <libm-alias-float.h>.
23412 (sincosf): Define using libm_alias_float.
23413 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
23414 <libm-alias-float.h>.
23415 (sinf): Define using libm_alias_float.
23416 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23417 (fmaxf): Define using libm_alias_float.
23418 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
23419 (fminf): Define using libm_alias_float.
23420 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
23421 <libm-alias-float.h>.
23422 (fmaf): Define using libm_alias_float.
23423
bc4e8f9b
JM
23424 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
23425 (asinh): Define using libm_alias_double.
23426 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
23427 (atan): Define using libm_alias_double.
23428 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
23429 (cbrt): Define using libm_alias_double.
23430 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
23431 (ceil): Define using libm_alias_double.
23432 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
23433 (copysign): Define using libm_alias_double.
23434 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
23435 (expm1): Define using libm_alias_double.
23436 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
23437 (fabs): Define using libm_alias_double.
23438 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
23439 (fdim): Define using libm_alias_double.
23440 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
23441 (floor): Define using libm_alias_double.
23442 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
23443 (fmax): Define using libm_alias_double.
23444 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
23445 (fmin): Define using libm_alias_double.
23446 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
23447 (frexp): Define using libm_alias_double.
23448 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
23449 (llrint): Define using libm_alias_double.
23450 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
23451 (logb): Define using libm_alias_double.
23452 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
23453 (lrint): Define using libm_alias_double.
23454 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
23455 (nearbyint): Define using libm_alias_double.
23456 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
23457 (remquo): Define using libm_alias_double.
23458 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
23459 (rint): Define using libm_alias_double.
23460 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
23461 (trunc): Define using libm_alias_double.
23462 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
23463 (fmax): Define using libm_alias_double.
23464 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
23465 (fmin): Define using libm_alias_double.
23466 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
23467 (fma): Define using libm_alias_double.
23468
8d81ce0c
L
234692017-11-28 H.J. Lu <hongjiu.lu@intel.com>
23470
23471 [BZ #22370]
23472 * elf/dl-hwcaps.c (ROUND): Removed.
23473 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
23474 and ELF_NOTE_NEXT_OFFSET.
23475 * elf/dl-load.c (ROUND): Removed.
23476 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
23477 * elf/readelflib.c (ROUND): Removed.
23478 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
23479 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
23480 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
23481 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
23482
6940bd96
JM
234832017-11-28 Joseph Myers <joseph@codesourcery.com>
23484
313ba463
JM
23485 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
23486 [!__fmaf] (fmaf): Define using libm_alias_float.
23487
6940bd96
JM
23488 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
23489 [!__fma] (fma): Define using libm_alias_double.
23490 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
23491
22c69b6a
MF
234922017-11-28 Mike FABIAN <mfabian@redhat.com>
23493
23494 [BZ #22336]
23495 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
23496 and implement the collation rules for cs from CLDR on top of that.
23497 * Makefile: Add cs_CZ.UTF-8 to test-input.
23498 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
23499
8d7d3ba8
SP
235002017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
23501
23502 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
23503
0422ed1e
VR
235042017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
23505 Icarus Sparry <icarus.w.sparry@intel.com>
23506
23507 * benchtests/Makefile:Add BENCHSET to allow subsets of
23508 benchmarks to be run.
23509 * benchtests/README: Add documentation for: Running subsets of
23510 benchmarks.
23511
0595e360
VR
235122017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
23513
d5090db3
VR
23514 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
23515 range of tests names.
23516
0595e360
VR
23517 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
23518 result from property and remove "max", min" and "mean" from
23519 required properties based on benchtests/bench-skeleton.c.
23520
b4c645c2
FW
235212017-11-28 Florian Weimer <fweimer@redhat.com>
23522
23523 [BZ #20826]
23524 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
23525 due to Internet requirement.
23526 * posix/Makefile (tests): Remove tst-getaddrinfo4,
23527 tst-getaddrinfo5.
23528 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
23529
88684de7
AZ
235302017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23531
69056564
AZ
23532 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23533 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
23534 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
23535 (sysdep_routines): Add memset-ultra1.
23536 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
23537 file.
23538 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
23539 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
23540 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
23541 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
23542 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
23543 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
23544 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
23545 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23546
88684de7
AZ
23547 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
23548 file.
23549 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
23550 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
23551 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
23552 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
23553 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
23554 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
23555 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
23556 macro.
23557 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23558 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
23559 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
23560 (sysdep_routines): Add memcpy-ultra1.
23561 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
23562 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
23563
d8124864
JM
235642017-11-28 Joseph Myers <joseph@codesourcery.com>
23565
f433d0b3
JM
23566 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
23567 (cfloat_versions): Take function argument without trailing 'f'.
23568 Call libm_alias_float_other.
23569 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
23570 * sysdeps/alpha/fpu/cargf.c: Likewise.
23571 * sysdeps/alpha/fpu/cimagf.c: Likewise.
23572 * sysdeps/alpha/fpu/conjf.c: Likewise.
23573 * sysdeps/alpha/fpu/crealf.c: Likewise.
23574 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
23575 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
23576 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
23577 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
23578 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
23579 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
23580 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
23581 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
23582 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
23583 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
23584 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
23585 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
23586 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
23587 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
23588 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
23589 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
23590 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
23591 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
23592 (clog10f): Use libm_alias_float_other.
23593 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
23594 (ceilf): Define using libm_alias_float.
23595 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
23596 (copysignf): Define using libm_alias_float.
23597 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
23598 (fabsf): Define using libm_alias_float.
23599 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
23600 (floorf): Define using libm_alias_float.
23601 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
23602 (fmaxf): Define using libm_alias_float.
23603 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
23604 (fminf): Define using libm_alias_float.
23605 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
23606 (lrintf): Define using libm_alias_float.
23607 (llrintf): Likewise.
23608 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
23609 (lroundf): Define using libm_alias_float.
23610 (llroundf): Likewise.
23611 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
23612 (rintf): Define using libm_alias_float.
23613 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
23614 (truncf): Define using libm_alias_float.
23615
15ff4900
JM
23616 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
23617 (ceilf): Define using libm_alias_float.
23618 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
23619 (floorf): Define using libm_alias_float.
23620 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
23621 (fmaf): Define using libm_alias_float.
23622 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
23623 (fmaxf): Define using libm_alias_float.
23624 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
23625 (fminf): Define using libm_alias_float.
23626 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
23627 (llrintf): Define using libm_alias_float.
23628 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
23629 (llroundf): Define using libm_alias_float.
23630 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
23631 (lrintf): Define using libm_alias_float.
23632 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
23633 (lroundf): Define using libm_alias_float.
23634 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
23635 <libm-alias-float.h>.
23636 (nearbyintf): Define using libm_alias_float.
23637 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
23638 (rintf): Define using libm_alias_float.
23639 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
23640 (roundf): Define using libm_alias_float.
23641 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
23642 (truncf): Define using libm_alias_float.
23643
5de60638
JM
23644 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
23645 (ceil): Define using libm_alias_double.
23646 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
23647 (copysign): Define using libm_alias_double.
23648 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
23649 (fabs): Define using libm_alias_double.
23650 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
23651 (floor): Define using libm_alias_double.
23652 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
23653 (fmax): Define using libm_alias_double.
23654 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
23655 (fmin): Define using libm_alias_double.
23656 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
23657 (lrint): Define using libm_alias_double.
23658 (llrint): Likewise.
23659 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
23660 (lround): Define using libm_alias_double.
23661 (llround): Likewise.
23662 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
23663 (rint): Define using libm_alias_double.
23664 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
23665 (trunc): Define using libm_alias_double.
23666
d8124864
JM
23667 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
23668 (libm_alias_double_r): Add semicolon after weak_alias call.
23669
f07d2ec8
JM
236702017-11-27 Joseph Myers <joseph@codesourcery.com>
23671
23672 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
23673 (ceil): Define using libm_alias_double.
23674 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
23675 (floor): Define using libm_alias_double.
23676 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
23677 (fma): Define using libm_alias_double.
23678 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
23679 (fmax): Define using libm_alias_double.
23680 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
23681 (fmin): Define using libm_alias_double.
23682 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
23683 (llrint): Define using libm_alias_double.
23684 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
23685 (llround): Define using libm_alias_double.
23686 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
23687 (lrint): Define using libm_alias_double.
23688 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
23689 (lround): Define using libm_alias_double.
23690 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
23691 (nearbyint): Define using libm_alias_double.
23692 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
23693 (rint): Define using libm_alias_double.
23694 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
23695 (round): Define using libm_alias_double.
23696 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
23697 (trunc): Define using libm_alias_double.
23698
4bab0224
FW
236992017-11-27 Florian Weimer <fweimer@redhat.com>
23700
23701 * sysdeps/unix/sysv/linux/mlock2.c: New file.
23702 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
23703 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
23704 (tests): Add tst-mlock2.
23705 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
23706 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
23707 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
23708 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
23709 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
23710 for mlock. Document mlock2.
23711
a23aa5b7
JM
237122017-11-27 Joseph Myers <joseph@codesourcery.com>
23713
23714 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
23715 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
23716 Likewise.
23717 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
23718 Likewise.
23719 * sysdeps/x86/Makeconfig: New file.
23720 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
23721 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23722 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
23723 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23724 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23725 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23726 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
23727 Likewise.
23728 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23729 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23730 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23731 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23732 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23733 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23734 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23735 * manual/math.texi (Mathematics): Document support for _Float64x.
23736 * math/Versions (GLIBC_2.27): Add _Float64x functions.
23737 * stdlib/Versions (GLIBC_2.27): Likewise.
23738 * wcsmbs/Versions (GLIBC_2.27): Likewise.
23739 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23740 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23741 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23742 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23743 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23744 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23745 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23746 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23747 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23748 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23749 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
23751 Likewise.
23752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23753 Likewise.
23754 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23755 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23756 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23757 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23758 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23759 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23760 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23761 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23762 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23763 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23764 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23765 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23766 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23767 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23768
c2c299fd
AS
237692017-11-27 Andreas Schwab <schwab@suse.de>
23770
23771 * elf/Makefile (dl-routines): Add dl-sort-maps.
23772 * elf/dl-sort-maps.c: New file.
23773 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
23774 (_dl_sort_maps): Declare.
23775 * elf/dl-fini.c (_dl_sort_fini): Remove.
23776 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
23777 * elf/dl-close.c (_dl_close_worker): Likewise.
23778 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
23779 open-coding it.
23780 * elf/dl-open.c (dl_open_worker): Likewise.
23781
9d4b0117
JM
237822017-11-24 Joseph Myers <joseph@codesourcery.com>
23783
de61465c
JM
23784 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
23785 using libm_alias_float128.
23786 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
23787 Likewise.
23788 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
23789 Likewise.
23790 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
23791 (setpayloadsigf128): Likewise.
23792 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
23793 Likewise.
23794 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
23795 Likewise.
23796
9ae6d171
JM
23797 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
23798 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
23799 -mfloat128 to CFLAGS.
23800 ($(foreach
23801 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
23802 Likewise.
23803 (CFLAGS-libm-test-support-float64x.c): New variable.
23804 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
23805 $(f128-loader-link) to gnulib-tests.
23806
6e70d156
JM
23807 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
23808 (libm_alias_float128_other_r): If
23809 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
23810 alias.
23811 (libm_alias_float128_r): Add semicolon after weak_alias call.
23812 * sysdeps/generic/libm-alias-ldouble.h
23813 (libm_alias_ldouble_other_r_f128): New macro.
23814 (libm_alias_ldouble_other_r_f64x): Likewise.
23815 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
23816 and libm_alias_ldouble_other_r_f64x.
23817 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
23818 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
23819 (libm_alias_ldouble_other_r_f128): New macro.
23820 (libm_alias_ldouble_other_r_f64x): Likewise.
23821 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
23822 and libm_alias_ldouble_other_r_f64x.
23823
df2806cd
JM
23824 * stdlib/strfroml.c: Always include <stdlib.h>.
23825 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
23826 undefine as macro and define as weak alias.
23827 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
23828 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
23829 <stdlib.h>.
23830 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
23831 Define and later undefine as macro and define as weak alias.
23832
0df4fe35
JM
23833 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
23834 Define and later undefine as macro. Define as weak alias if
23835 [!USE_WIDE_CHAR].
23836 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
23837 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23838 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
23839 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
23840 Define and later undefine as macro. Define as weak alias if
23841 [!USE_WIDE_CHAR].
23842 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
23843 Define and later undefine as macro. Define as weak alias if
23844 [USE_WIDE_CHAR].
23845 * sysdeps/ieee754/float128/strtof128_l.c
23846 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
23847 Define and later undefine as macro. Define as weak alias if
23848 [!USE_WIDE_CHAR].
23849 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
23850 Define and later undefine as macro. Define as weak alias if
23851 [USE_WIDE_CHAR].
23852 * sysdeps/ieee754/ldbl-128/strtold_l.c
23853 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23854 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23855 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23856 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23857 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
23858 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23859 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23860 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23861 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23862 * sysdeps/ieee754/ldbl-96/strtold_l.c
23863 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23864 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23865 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23866 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23867
ae7207d0
JM
23868 * math/test-float64x.h: New file.
23869 * math/Makefile (type-float64x-yes): New variable.
23870 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
23871
9596fc69
JM
23872 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
23873 function-like macro.
23874 (min_of_type_): Likewise.
23875 (min_of_type_l): Likewise.
23876 (min_of_type_f128): Likewise.
23877 (min_of_type): Pass () as last argument of __MATH_TG.
23878
46453c3c
JM
23879 * stdlib/tst-strtod-round-skeleton.c
23880 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
23881 headers.
23882
01e659e7
JM
23883 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
23884 for combinations of long double with _Float64 and _Float64x.
23885
5c60afdd
JM
23886 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
23887 (__DECL_SIMD_cosf32): Likewise.
23888 (__DECL_SIMD_cosf64): Likewise.
23889 (__DECL_SIMD_cosf32x): Likewise.
23890 (__DECL_SIMD_cosf64x): Likewise.
23891 (__DECL_SIMD_cosf128x): Likewise.
23892 (__DECL_SIMD_sinf16): Likewise.
23893 (__DECL_SIMD_sinf32): Likewise.
23894 (__DECL_SIMD_sinf64): Likewise.
23895 (__DECL_SIMD_sinf32x): Likewise.
23896 (__DECL_SIMD_sinf64x): Likewise.
23897 (__DECL_SIMD_sinf128x): Likewise.
23898 (__DECL_SIMD_sincosf16): Likewise.
23899 (__DECL_SIMD_sincosf32): Likewise.
23900 (__DECL_SIMD_sincosf64): Likewise.
23901 (__DECL_SIMD_sincosf32x): Likewise.
23902 (__DECL_SIMD_sincosf64x): Likewise.
23903 (__DECL_SIMD_sincosf128x): Likewise.
23904 (__DECL_SIMD_logf16): Likewise.
23905 (__DECL_SIMD_logf32): Likewise.
23906 (__DECL_SIMD_logf64): Likewise.
23907 (__DECL_SIMD_logf32x): Likewise.
23908 (__DECL_SIMD_logf64x): Likewise.
23909 (__DECL_SIMD_logf128x): Likewise.
23910 (__DECL_SIMD_expf16): Likewise.
23911 (__DECL_SIMD_expf32): Likewise.
23912 (__DECL_SIMD_expf64): Likewise.
23913 (__DECL_SIMD_expf32x): Likewise.
23914 (__DECL_SIMD_expf64x): Likewise.
23915 (__DECL_SIMD_expf128x): Likewise.
23916 (__DECL_SIMD_powf16): Likewise.
23917 (__DECL_SIMD_powf32): Likewise.
23918 (__DECL_SIMD_powf64): Likewise.
23919 (__DECL_SIMD_powf32x): Likewise.
23920 (__DECL_SIMD_powf64x): Likewise.
23921 (__DECL_SIMD_powf128x): Likewise.
23922
9d4b0117
JM
23923 * stdlib/Versions (libc): Move entries for wcstof128 and
23924 wcstof128_l to ....
23925 * wcsmbs/Versions (libc): ... here.
23926 Include <float128-abi.h>.
23927
7911dd47
FW
239282017-11-24 Florian Weimer <fweimer@redhat.com>
23929
23930 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23931 bits/mman-shared.h.
23932 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
23933 <bits/mman-shared.h>.
23934 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
23935 to ...
23936 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
23937 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
23938 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
23939 <bits/mman-shared.h>.
23940
c45d78aa
AZ
239412017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23942
23943 [BZ #22457]
23944 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
23945 posix_memalign/free.
23946 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
23947
3ffc4cc1
MF
239482017-11-22 Mike FABIAN <mfabian@redhat.com>
23949
23950 [BZ #22469]
23951 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
23952 and implement the collation rules for pl from CLDR on top of that.
23953 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
23954 of locales to be built for testing.
23955 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
23956
3a327316
JM
239572017-11-23 Joseph Myers <joseph@codesourcery.com>
23958
23959 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
23960 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
23961 libm_alias_ldouble_other.
23962 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
23963 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
23964 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
23965 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
23966 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
23967 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
23968 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
23969 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
23970 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
23971 libm_alias_ldouble_r.
23972 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
23973 libm_alias_ldouble_other.
23974 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
23975 (log10l): Likewise.
23976 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
23977 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
23978 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
23979 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
23980 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
23981 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
23982 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
23983 (atan2l): Likewise.
23984 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
23985 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
23986 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
23987 libm_alias_ldouble.
23988 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
23989 (cosl): Likewise.
23990 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
23991 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
23992 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
23993 (expl): Likewise.
23994 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
23995 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
23996 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
23997 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
23998 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
23999 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
24000 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
24001 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
24002 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
24003 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
24004 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
24005 libm_alias_ldouble.
24006 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
24007 libm_alias_ldouble_other.
24008 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
24009 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
24010 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
24011 libm_alias_ldouble.
24012 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
24013 libm_alias_ldouble_other.
24014 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
24015 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
24016 * sysdeps/ia64/fpu/w_lgammal_main.c
24017 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
24018 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
24019
0a947e06
FW
240202017-11-23 Florian Weimer <fweimer@redhat.com>
24021
24022 * malloc/malloc.c (tcache_thread_shutdown): Rename from
24023 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
24024 alike. Remove freeres marker.
24025 * malloc/arena.c (arena_thread_freeres): Call
24026 tcache_thread_shutdown.
24027
67f36c79
FW
240282017-11-23 Florian Weimer <fweimer@redhat.com>
24029
24030 [BZ #22459]
24031 Export nscd hash function as __nss_hash.
24032 * include/nss.h (__nss_hash): Declare.
24033 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
24034 symbol.
24035 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
24036 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
24037 of __nscd_hash.
24038 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
24039 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
24040 * nss/Makefiles (routines): Add nss_hash.
24041 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
24042 * nss/nss_hash.c: Rename from nis/nis_hash.c.
24043 (__nss_hash): Rename from __nis_hash. Define hidden alias.
24044 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
24045
cccb6d4e
FW
240462017-11-23 Florian Weimer <fweimer@redhat.com>
24047
24048 [BZ #22478]
24049 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
24050 Return error code, not -1.
24051 * signal/tst-sigwait-eintr.c: New file.
24052 * signal/Makefile (tests): Add tst-sigwait-eintr.
24053
59d2cbb1
FW
240542017-11-23 Florian Weimer <fweimer@redhat.com>
24055
24056 Linux: Add memfd_create system call wrapper
24057 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
24058 tst-memfd_create.
24059 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
24060 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
24061 [__USE_GNU] (memfd_create): Declare.
24062 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
24063 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
24064 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
24065 * sysdeps/unix/sysv/linux/**.abilist: Update.
24066 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
24067
a90d1ac2
JM
240682017-11-22 Joseph Myers <joseph@codesourcery.com>
24069
0a9d1d62
JM
24070 * localedata/gen-locale.sh: Fix typo in variable name.
24071
754034c4
JM
24072 * resolv/res_debug.c (p_secstodate): Condition definition on
24073 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
24074 directly as __p_secstodate, and as a compat symbol. Do not use
24075 libresolv_hidden_def.
24076 * resolv/resolv.h (p_secstodate): Remove macro and function
24077 declaration.
24078 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
24079 using p_secstodate.
24080 * include/resolv.h (__p_secstodate): Do not use
24081 libresolv_hidden_proto.
24082 * resolv/Makefile (tests): Move tst-p_secstodate to ....
24083 (tests-internal): ... here.
24084 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
24085 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
24086 and declare and use __p_secstodate and use compat_symbol_reference
24087 in that case.
24088 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
24089 implementation returning 77.
24090
f120cda6
JM
24091 [BZ #22463]
24092 * resolv/res_debug.c: Include <libc-diag.h>.
24093 (p_secstodate): Assert time_t at least as wide as u_long. On
24094 overflow, use integer seconds since the epoch as output, or use
24095 "<overflow>" as output and set errno to EOVERFLOW if integer
24096 seconds since the epoch would be 14 or more characters.
24097 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
24098 for sprintf call.
24099 * resolv/tst-p_secstodate.c: New file.
24100 * resolv/Makefile (tests): Add tst-p_secstodate.
24101 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
24102
a90d1ac2
JM
24103 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
24104 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
24105 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
24106
0285e6bd
PE
241072017-11-22 Paul Eggert <eggert@cs.ucla.edu>
24108
24109 * posix/regcomp.c (init_word_char): Add comments.
24110
4bae6150
JM
241112017-11-22 Joseph Myers <joseph@codesourcery.com>
24112
24113 [BZ #22447]
24114 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
24115 strlen to compute length of ut_user and set trailing NUL byte of
24116 result explicitly.
24117
4b7af5fc
MF
241182017-11-21 Mike FABIAN <mfabian@redhat.com>
24119
24120 [BZ #15537]
24121 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
24122 using “copy "iso14651_t1"” and then implementing the
24123 collation rules for lv from CLDR on top of that.
24124 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
24125 of locales to be built for testing.
24126 * lv_LV.UTF-8.in: New file with test data to test the Latvian
24127 sorting.
24128
922bb78c
JM
241292017-11-21 Joseph Myers <joseph@codesourcery.com>
24130
24131 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
24132 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
24133 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
24134 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
24135 [__USE_MISC] (MADV_HWPOISON): New macro.
24136 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
24137
a3aaa598
AZ
241382017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24139
24140 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
24141 -Wmissing-braces on GCC 4.9.
24142
8beba15d
SL
241432017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
24144
24145 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
24146 * sysdeps/s390/s390-32/start.S (_start): Likewise
24147 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
24148 (thread_start): Likewise.
24149 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
24150 (thread_start): Likewise.
24151 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
24152 (__makecontext_ret): Likewise.
24153 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
24154 (__makecontext_ret): Likewise.
24155
80eb52e3
SL
241562017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
24157
24158 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
24159 __wcschrnul): Remove attribute_hidden.
24160
567d8c1f
PE
241612017-11-20 Paul Eggert <eggert@cs.ucla.edu>
24162
24163 regex: don't assume uint64_t or uint32_t
24164 This avoids -Werror=overflow errors for 32-bit systems in
24165 the 64-bit case. Problem reported by Joseph Myers in:
24166 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
24167 Also, when this code is used in Gnulib it ports to platforms
24168 that lack uint64_t and uint32_t. The C standard doesn't guarantee
24169 them, and on some 32-bit compilers there is no uint64_t.
24170 Problem reported by Gianluigi Tiesi in:
24171 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
24172 * posix/regcomp.c (init_word_char): Don't assume that the types
24173 uint64_t and uint32_t exist. Adapted from Gnulib patch
24174 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
24175 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
24176
4d7632ff
SP
241772017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
24178
5a67c4fa
SP
24179 * sysdeps/aarch64/memset-reg.h: New file.
24180 * sysdeps/aarch64/memset.S: Use it.
24181 (__memset): Rename to MEMSET macro.
24182 [ZVA_MACRO]: Use zva_macro.
24183 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
24184 Add memset_generic and memset_falkor.
24185 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
24186 (__libc_ifunc_impl_list): Add memset ifuncs.
24187 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
24188 local variable zva_size.
24189 * sysdeps/aarch64/multiarch/memset.c: New file.
24190 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
24191 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
24192 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
24193 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
24194 (DCZID_DZP_MASK): New macro.
24195 (DCZID_BS_MASK): Likewise.
24196 (init_cpu_features): Read and set zva_size.
24197 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
24198 (struct cpu_features): New member zva_size.
24199
eb332f9f
SP
24200 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
24201 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
24202 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
24203
4d7632ff
SP
24204 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
24205 backwards. Fix timing computation.
24206 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
24207 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
24208 on memset by N at a time. Fix timing computation.
24209
a465b89e
FW
242102017-11-20 Florian Weimer <fweimer@redhat.com>
24211
24212 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
24213 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
24214
0f74bbf5
FW
242152017-11-19 Florian Weimer <fweimer@redhat.com>
24216
24217 manual: Document mprotect
24218 * manual/memory.texi (Memory Protection): New section.
24219 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
24220 documentation of PROT_* flags and reference the Memory Protection
24221 section instead.
24222
f6e965ee
FW
242232017-11-19 Florian Weimer <fweimer@redhat.com>
24224
24225 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
24226 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
24227 (Scatter-Gather): ... to here. Remove misleading comment.
24228
363e4519 242292017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
ea69a5c8 24230
5f9d1949
CB
24231 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
24232 style.
24233
ea69a5c8
CB
24234 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
24235 when /proc/<pid>/setgroups does not exist.
24236
8db7f48c
FW
242372017-11-18 Florian Weimer <fweimer@redhat.com>
24238
24239 * sysdeps/unix/sysv/linux/tst-ttyname.c
24240 (become_root_in_mount_ns): Remove.
24241 (do_in_chroot_1): Call support_enter_mount_namespace.
24242 (do_in_chroot_2): Likewise.
24243 (do_test): Call support_become_root early.
24244
273a0c49
FW
242452017-11-18 Florian Weimer <fweimer@redhat.com>
24246
24247 * support/namespace.h (support_enter_mount_namespace): Declare.
24248 * support/support_enter_mount_namespace.c: New file.
24249 * support/Makefile (libsupport-routines): Add
24250 support_enter_mount_namespace.
24251
8adfb0ee
FW
242522017-11-18 Florian Weimer <fweimer@redhat.com>
24253
24254 * support/temp_file.c (support_create_temp_directory): Use
24255 test_dir and do not rely on the presence of the XXXXXX suffix.
24256 * support/temp_file.h (support_create_temp_directory): Update
24257 comment.
24258 * support/tst-xreadlink.c (do_test): Adjust.
24259 * support/support_chroot.c (support_chroot_create): Likewise.
24260
df0c40ee
TMQMF
242612017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24262
24263 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
24264 macro.
24265 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
24266 htm-no-suspend.
24267
015c6dc2
JM
242682017-11-17 Joseph Myers <joseph@codesourcery.com>
24269
f58e5f48
JM
24270 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
24271 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
24272 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
24273 (ceill): Define using libm_alias_ldouble.
24274 * sysdeps/x86_64/fpu/s_copysignl.S: Include
24275 <libm-alias-ldouble.h>.
24276 (copysignl): Define using libm_alias_ldouble.
24277 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
24278 (fabsl): Define using libm_alias_ldouble.
24279 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
24280 (floorl): Define using libm_alias_ldouble.
24281 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24282 (fmaxl): Define using libm_alias_ldouble.
24283 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24284 (fminl): Define using libm_alias_ldouble.
24285 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
24286 (llrintl): Define using libm_alias_ldouble.
24287 (lrintl): Likewise.
24288 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
24289 <libm-alias-ldouble.h>.
24290 (nearbyintl): Define using libm_alias_ldouble.
24291 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
24292 (truncl): Define using libm_alias_ldouble.
24293 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
24294 <libm-alias-ldouble.h>.
24295 (lrintl): Define using libm_alias_ldouble.
24296
2ce30701
JM
24297 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
24298 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
24299 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
24300 (asinhl): Define using libm_alias_ldouble.
24301 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
24302 (atanl): Define using libm_alias_ldouble.
24303 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
24304 (cbrtl): Define using libm_alias_ldouble.
24305 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
24306 (ceill): Define using libm_alias_ldouble.
24307 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
24308 (copysignl): Define using libm_alias_ldouble.
24309 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
24310 (fabsl): Define using libm_alias_ldouble.
24311 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
24312 (floorl): Define using libm_alias_ldouble.
24313 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24314 (fmaxl): Define using libm_alias_ldouble.
24315 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24316 (fminl): Define using libm_alias_ldouble.
24317 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
24318 (frexpl): Define using libm_alias_ldouble.
24319 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
24320 (llrintl): Define using libm_alias_ldouble.
24321 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
24322 (logbl): Define using libm_alias_ldouble.
24323 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
24324 (lrintl): Define using libm_alias_ldouble.
24325 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
24326 (nearbyintl): Define using libm_alias_ldouble.
24327 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
24328 (nextafterl): Define using libm_alias_ldouble.
24329 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
24330 (remquol): Define using libm_alias_ldouble.
24331 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
24332 (rintl): Define using libm_alias_ldouble.
24333 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
24334 (truncl): Define using libm_alias_ldouble.
24335 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24336 (fmaxl): Define using libm_alias_ldouble.
24337 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24338 (fminl): Define using libm_alias_ldouble.
24339
015c6dc2
JM
24340 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
24341 to C syntax instead of availability and properties of types.
24342 * bits/floatn.h [!__ASSEMBLER]: Likewise.
24343 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
24344 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
24345 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
24346 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
24347 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
24348
ce003e5d
FW
243492017-11-17 Florian Weimer <fweimer@redhat.com>
24350
24351 support_become_root: Enable file creation in namespaces.
24352 * support/support_become_root.c (setup_mapping): New function.
24353 (support_become_root): Call it.
24354
e7df6c5c
JM
243552017-11-17 Joseph Myers <joseph@codesourcery.com>
24356
24357 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
24358 macro.
24359
58a813bf
AZ
243602017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24361
24362 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
24363 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
24364
f97773d1
JM
243652017-11-16 Joseph Myers <joseph@codesourcery.com>
24366
6a6aa1f3
JM
24367 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
24368
f97773d1
JM
24369 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
24370 version to 4.14.
24371
a306c790
SP
243722017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
24373
7b0fb870
SP
24374 * INSTALL: Fix botched up regeneration.
24375
24376 * NEWS: Update sourceare link to https.
a306c790
SP
24377 * configure.ac: Likewise.
24378 * crypt/md5test-giant.c: Likewise.
24379 * dlfcn/bug-atexit1.c: Likewise.
24380 * dlfcn/bug-atexit2.c: Likewise.
24381 * localedata/README: Likewise.
24382 * malloc/tst-mallocfork.c: Likewise.
24383 * manual/install.texi: Likewise.
24384 * nptl/tst-pthread-getattr.c: Likewise.
24385 * stdio-common/tst-fgets.c: Likewise.
24386 * stdio-common/tst-fwrite.c: Likewise.
24387 * sunrpc/Makefile: Likewise.
24388 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
24389 * wcsmbs/tst-mbrtowc2.c: Likewise.
7b0fb870
SP
24390 * configure: Regenerate.
24391 * INSTALL: Regenerate.
a306c790 24392
7532837d
MS
243932017-11-15 Martin Sebor <msebor@redhat.com>
24394
24395 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
24396 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
24397 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
24398
495a56fd
LS
243992017-11-15 Luke Shumaker <lukeshu@parabola.nu>
24400
d9611e30
LS
24401 [BZ #22145]
24402 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
24403 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
24404
a09dfc19
LS
24405 [BZ #22145]
24406 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
24407 Defer is_pty check until end of the function.
24408 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24409
2fbce9c2
LS
24410 [BZ #22145]
24411 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
24412 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
24413 (ttyname): Likewise.
24414 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
24415 (__ttyname_r): Likewise.
24416
d10d6cab
LS
24417 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
24418 int to bool.
24419
9b5a8750
LS
24420 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
24421
495a56fd
LS
24422 * manual/terminal.texi (Is It a Terminal):
24423 Mention ENODEV for ttyname and ttyname_r.
24424
fa680dc6
JM
244252017-11-15 Joseph Myers <joseph@codesourcery.com>
24426
78cde19f
JM
24427 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
24428 constant and macro.
24429
fa680dc6
JM
24430 * sysdeps/unix/sysv/linux/bits/mman-linux.h
24431 [__USE_MISC] (MADV_WIPEONFORK): New macro.
24432 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
24433 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
24434 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
24435 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
24436
ad4f43a2
AZ
244372017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24438
1ba1d8a4
AZ
24439 * signal/sigrelse.c (sigrelse): Optimize implementation.
24440
ad4f43a2
AZ
24441 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
24442 (__sigpause): Rely on __sigsuspend to implement single thread
24443 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
24444
d0212d42
JM
244452017-11-15 Joseph Myers <joseph@codesourcery.com>
24446
24447 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
24448 kernel version to 4.14.
24449
2180fee1
SE
244502017-11-15 Steve Ellcey <sellcey@cavium.com>
24451
24452 [BZ #22442]
24453 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
24454 Check if ifname is too long.
24455
cad7ca39
LS
244562017-11-15 Luke Shumaker <lukeshu@parabola.nu>
24457
24458 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
24459
58c9f659
MF
244602017-11-15 Mike FABIAN <mfabian@redhat.com>
24461
24462 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
24463 was accidentally lost.
24464
0fa87c01
MF
244652017-11-15 Mike FABIAN <mfabian@redhat.com>
24466
24467 * localedata/locales/az_IR: Add standard copyright header.
24468
34eb4157
FW
244692017-11-15 Florian Weimer <fweimer@redhat.com>
24470
24471 [BZ #22439]
24472 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
24473 not just the top one. Output a new "subheaps" statistic.
24474
7a9368a1
FW
244752017-11-15 Florian Weimer <fweimer@redhat.com>
24476
24477 [BZ #22408]
24478 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
24479 under the per-arena lock.
24480 * malloc/Makefile (tests): Add tst-malloc_info.
24481 (tst-malloc_info): Link with libpthread.
24482 * malloc/tst-malloc_info.c: New file.
24483
be3a79a3
JM
244842017-11-15 Joseph Myers <joseph@codesourcery.com>
24485
24486 [BZ #21660]
24487 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
24488 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
24489 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
24490 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
24491 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
24492 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
24493 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
24494 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
24495 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
24496 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
24497 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
24498 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
24499 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
24500 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
24501 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
24502 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
24503 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
24504 (__floating_type): Likewise.
24505 (__real_integer_type): Likewise.
24506 (__complex_integer_type): Likewise.
24507 (__expr_is_real): Likewise.
24508 (__tgmath_real_type_sub): Likewise.
24509 (__tgmath_real_type): Likewise.
24510 (__tgmath_complex_type_sub): Likewise.
24511 (__tgmath_complex_type): Likewise.
24512 (__TGMATH_F128): Likewise.
24513 (__TGMATH_CF128): Likewise.
24514 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
24515 new macros.
24516 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
24517 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
24518 Likewise.
24519 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
24520 Likewise.
24521 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
24522 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
24523 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
24524 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
24525 Likewise.
24526 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
24527 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
24528 Likewise.
24529 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
24530 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
24531 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
24532 Likewise.
24533 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
24534 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
24535 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
24536 (cimag): Likewise.
24537 (creal): Likewise.
24538
ec72135e
JM
245392017-11-14 Joseph Myers <joseph@codesourcery.com>
24540
2e64ec9c
JM
24541 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
24542 for stpncpy calls for GCC 8.
24543 (test_strncat): Disable -Wstringop-truncation warning for strncat
24544 calls for GCC 8. Disable -Wstringop-overflow= warning for one
24545 strncat call for GCC 7.
24546 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
24547 calls for GCC 8.
24548 (test_memcmp): Use memcpy instead of strncpy for calls not copying
24549 trailing NUL.
24550
ec72135e
JM
24551 * string/bug-strncat1.c: Include <libc-diag.h>.
24552 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
24553
363e4519 245542017-11-13 Claude Paroz <claude@2xlibre.net>
a259f5d3
CP
24555
24556 [BZ #22387]
24557 * localedata/locales/aa_DJ: Improved readibility by replacing
24558 <Uxxxx> sequences in the ASCII printable range by their ASCII
24559 character equivalents.
24560 * localedata/locales/aa_ER: Likewise.
24561 * localedata/locales/aa_ER@saaho: Likewise.
24562 * localedata/locales/aa_ET: Likewise.
24563 * localedata/locales/af_ZA: Likewise.
24564 * localedata/locales/agr_PE: Likewise.
24565 * localedata/locales/ak_GH: Likewise.
24566 * localedata/locales/am_ET: Likewise.
24567 * localedata/locales/anp_IN: Likewise.
24568 * localedata/locales/ar_AE: Likewise.
24569 * localedata/locales/ar_BH: Likewise.
24570 * localedata/locales/ar_DZ: Likewise.
24571 * localedata/locales/ar_EG: Likewise.
24572 * localedata/locales/ar_IN: Likewise.
24573 * localedata/locales/ar_IQ: Likewise.
24574 * localedata/locales/ar_JO: Likewise.
24575 * localedata/locales/ar_KW: Likewise.
24576 * localedata/locales/ar_LB: Likewise.
24577 * localedata/locales/ar_LY: Likewise.
24578 * localedata/locales/ar_MA: Likewise.
24579 * localedata/locales/ar_OM: Likewise.
24580 * localedata/locales/ar_QA: Likewise.
24581 * localedata/locales/ar_SA: Likewise.
24582 * localedata/locales/ar_SD: Likewise.
24583 * localedata/locales/ar_SS: Likewise.
24584 * localedata/locales/ar_SY: Likewise.
24585 * localedata/locales/ar_TN: Likewise.
24586 * localedata/locales/ar_YE: Likewise.
24587 * localedata/locales/as_IN: Likewise.
24588 * localedata/locales/ast_ES: Likewise.
24589 * localedata/locales/ayc_PE: Likewise.
24590 * localedata/locales/az_AZ: Likewise.
24591 * localedata/locales/az_IR: Likewise.
24592 * localedata/locales/be_BY: Likewise.
24593 * localedata/locales/be_BY@latin: Likewise.
24594 * localedata/locales/bem_ZM: Likewise.
24595 * localedata/locales/ber_DZ: Likewise.
24596 * localedata/locales/ber_MA: Likewise.
24597 * localedata/locales/bg_BG: Likewise.
24598 * localedata/locales/bhb_IN: Likewise.
24599 * localedata/locales/bho_IN: Likewise.
24600 * localedata/locales/bi_VU: Likewise.
24601 * localedata/locales/bn_BD: Likewise.
24602 * localedata/locales/bn_IN: Likewise.
24603 * localedata/locales/bo_CN: Likewise.
24604 * localedata/locales/bo_IN: Likewise.
24605 * localedata/locales/br_FR: Likewise.
24606 * localedata/locales/brx_IN: Likewise.
24607 * localedata/locales/bs_BA: Likewise.
24608 * localedata/locales/byn_ER: Likewise.
24609 * localedata/locales/ca_AD: Likewise.
24610 * localedata/locales/ca_ES: Likewise.
24611 * localedata/locales/ca_FR: Likewise.
24612 * localedata/locales/ca_IT: Likewise.
24613 * localedata/locales/ce_RU: Likewise.
24614 * localedata/locales/chr_US: Likewise.
24615 * localedata/locales/cmn_TW: Likewise.
24616 * localedata/locales/crh_UA: Likewise.
24617 * localedata/locales/cs_CZ: Likewise.
24618 * localedata/locales/csb_PL: Likewise.
24619 * localedata/locales/cv_RU: Likewise.
24620 * localedata/locales/cy_GB: Likewise.
24621 * localedata/locales/da_DK: Likewise.
24622 * localedata/locales/de_AT: Likewise.
24623 * localedata/locales/de_BE: Likewise.
24624 * localedata/locales/de_CH: Likewise.
24625 * localedata/locales/de_DE: Likewise.
24626 * localedata/locales/de_IT: Likewise.
24627 * localedata/locales/de_LI: Likewise.
24628 * localedata/locales/de_LU: Likewise.
24629 * localedata/locales/doi_IN: Likewise.
24630 * localedata/locales/dv_MV: Likewise.
24631 * localedata/locales/dz_BT: Likewise.
24632 * localedata/locales/el_CY: Likewise.
24633 * localedata/locales/el_GR: Likewise.
24634 * localedata/locales/en_AG: Likewise.
24635 * localedata/locales/en_AU: Likewise.
24636 * localedata/locales/en_BW: Likewise.
24637 * localedata/locales/en_CA: Likewise.
24638 * localedata/locales/en_DK: Likewise.
24639 * localedata/locales/en_GB: Likewise.
24640 * localedata/locales/en_HK: Likewise.
24641 * localedata/locales/en_IE: Likewise.
24642 * localedata/locales/en_IL: Likewise.
24643 * localedata/locales/en_IN: Likewise.
24644 * localedata/locales/en_NG: Likewise.
24645 * localedata/locales/en_NZ: Likewise.
24646 * localedata/locales/en_PH: Likewise.
24647 * localedata/locales/en_SG: Likewise.
24648 * localedata/locales/en_US: Likewise.
24649 * localedata/locales/en_ZA: Likewise.
24650 * localedata/locales/en_ZM: Likewise.
24651 * localedata/locales/en_ZW: Likewise.
24652 * localedata/locales/eo: Likewise.
24653 * localedata/locales/es_AR: Likewise.
24654 * localedata/locales/es_BO: Likewise.
24655 * localedata/locales/es_CL: Likewise.
24656 * localedata/locales/es_CO: Likewise.
24657 * localedata/locales/es_CR: Likewise.
24658 * localedata/locales/es_CU: Likewise.
24659 * localedata/locales/es_DO: Likewise.
24660 * localedata/locales/es_EC: Likewise.
24661 * localedata/locales/es_ES: Likewise.
24662 * localedata/locales/es_GT: Likewise.
24663 * localedata/locales/es_HN: Likewise.
24664 * localedata/locales/es_MX: Likewise.
24665 * localedata/locales/es_NI: Likewise.
24666 * localedata/locales/es_PA: Likewise.
24667 * localedata/locales/es_PE: Likewise.
24668 * localedata/locales/es_PR: Likewise.
24669 * localedata/locales/es_PY: Likewise.
24670 * localedata/locales/es_SV: Likewise.
24671 * localedata/locales/es_US: Likewise.
24672 * localedata/locales/es_UY: Likewise.
24673 * localedata/locales/es_VE: Likewise.
24674 * localedata/locales/et_EE: Likewise.
24675 * localedata/locales/eu_ES: Likewise.
24676 * localedata/locales/eu_ES@euro: Likewise.
24677 * localedata/locales/fa_IR: Likewise.
24678 * localedata/locales/ff_SN: Likewise.
24679 * localedata/locales/fi_FI: Likewise.
24680 * localedata/locales/fil_PH: Likewise.
24681 * localedata/locales/fo_FO: Likewise.
24682 * localedata/locales/fr_BE: Likewise.
24683 * localedata/locales/fr_CA: Likewise.
24684 * localedata/locales/fr_CH: Likewise.
24685 * localedata/locales/fr_FR: Likewise.
24686 * localedata/locales/fr_LU: Likewise.
24687 * localedata/locales/fur_IT: Likewise.
24688 * localedata/locales/fy_DE: Likewise.
24689 * localedata/locales/fy_NL: Likewise.
24690 * localedata/locales/ga_IE: Likewise.
24691 * localedata/locales/gd_GB: Likewise.
24692 * localedata/locales/gez_ER: Likewise.
24693 * localedata/locales/gez_ET: Likewise.
24694 * localedata/locales/gl_ES: Likewise.
24695 * localedata/locales/gu_IN: Likewise.
24696 * localedata/locales/gv_GB: Likewise.
24697 * localedata/locales/ha_NG: Likewise.
24698 * localedata/locales/hak_TW: Likewise.
24699 * localedata/locales/he_IL: Likewise.
24700 * localedata/locales/hi_IN: Likewise.
24701 * localedata/locales/hif_FJ: Likewise.
24702 * localedata/locales/hne_IN: Likewise.
24703 * localedata/locales/hr_HR: Likewise.
24704 * localedata/locales/hsb_DE: Likewise.
24705 * localedata/locales/ht_HT: Likewise.
24706 * localedata/locales/hu_HU: Likewise.
24707 * localedata/locales/hy_AM: Likewise.
24708 * localedata/locales/i18n: Likewise.
24709 * localedata/locales/ia_FR: Likewise.
24710 * localedata/locales/id_ID: Likewise.
24711 * localedata/locales/ig_NG: Likewise.
24712 * localedata/locales/ik_CA: Likewise.
24713 * localedata/locales/is_IS: Likewise.
24714 * localedata/locales/it_CH: Likewise.
24715 * localedata/locales/it_IT: Likewise.
24716 * localedata/locales/iu_CA: Likewise.
24717 * localedata/locales/ja_JP: Likewise.
24718 * localedata/locales/ka_GE: Likewise.
24719 * localedata/locales/kk_KZ: Likewise.
24720 * localedata/locales/kl_GL: Likewise.
24721 * localedata/locales/kn_IN: Likewise.
24722 * localedata/locales/ko_KR: Likewise.
24723 * localedata/locales/kok_IN: Likewise.
24724 * localedata/locales/ks_IN: Likewise.
24725 * localedata/locales/ks_IN@devanagari: Likewise.
24726 * localedata/locales/ku_TR: Likewise.
24727 * localedata/locales/kw_GB: Likewise.
24728 * localedata/locales/ky_KG: Likewise.
24729 * localedata/locales/lb_LU: Likewise.
24730 * localedata/locales/lg_UG: Likewise.
24731 * localedata/locales/li_BE: Likewise.
24732 * localedata/locales/li_NL: Likewise.
24733 * localedata/locales/lij_IT: Likewise.
24734 * localedata/locales/ln_CD: Likewise.
24735 * localedata/locales/lo_LA: Likewise.
24736 * localedata/locales/lt_LT: Likewise.
24737 * localedata/locales/lv_LV: Likewise.
24738 * localedata/locales/lzh_TW: Likewise.
24739 * localedata/locales/mag_IN: Likewise.
24740 * localedata/locales/mai_IN: Likewise.
24741 * localedata/locales/mg_MG: Likewise.
24742 * localedata/locales/mhr_RU: Likewise.
24743 * localedata/locales/mi_NZ: Likewise.
24744 * localedata/locales/mk_MK: Likewise.
24745 * localedata/locales/ml_IN: Likewise.
24746 * localedata/locales/mn_MN: Likewise.
24747 * localedata/locales/mni_IN: Likewise.
24748 * localedata/locales/mr_IN: Likewise.
24749 * localedata/locales/ms_MY: Likewise.
24750 * localedata/locales/mt_MT: Likewise.
24751 * localedata/locales/my_MM: Likewise.
24752 * localedata/locales/nan_TW: Likewise.
24753 * localedata/locales/nan_TW@latin: Likewise.
24754 * localedata/locales/nb_NO: Likewise.
24755 * localedata/locales/nds_DE: Likewise.
24756 * localedata/locales/nds_NL: Likewise.
24757 * localedata/locales/ne_NP: Likewise.
24758 * localedata/locales/nhn_MX: Likewise.
24759 * localedata/locales/niu_NU: Likewise.
24760 * localedata/locales/niu_NZ: Likewise.
24761 * localedata/locales/nl_AW: Likewise.
24762 * localedata/locales/nl_BE: Likewise.
24763 * localedata/locales/nl_NL: Likewise.
24764 * localedata/locales/nn_NO: Likewise.
24765 * localedata/locales/nr_ZA: Likewise.
24766 * localedata/locales/nso_ZA: Likewise.
24767 * localedata/locales/oc_FR: Likewise.
24768 * localedata/locales/om_ET: Likewise.
24769 * localedata/locales/om_KE: Likewise.
24770 * localedata/locales/or_IN: Likewise.
24771 * localedata/locales/os_RU: Likewise.
24772 * localedata/locales/pa_IN: Likewise.
24773 * localedata/locales/pa_PK: Likewise.
24774 * localedata/locales/pap_AW: Likewise.
24775 * localedata/locales/pap_CW: Likewise.
24776 * localedata/locales/pl_PL: Likewise.
24777 * localedata/locales/ps_AF: Likewise.
24778 * localedata/locales/pt_BR: Likewise.
24779 * localedata/locales/pt_PT: Likewise.
24780 * localedata/locales/quz_PE: Likewise.
24781 * localedata/locales/raj_IN: Likewise.
24782 * localedata/locales/ro_RO: Likewise.
24783 * localedata/locales/ru_RU: Likewise.
24784 * localedata/locales/ru_UA: Likewise.
24785 * localedata/locales/rw_RW: Likewise.
24786 * localedata/locales/sa_IN: Likewise.
24787 * localedata/locales/sat_IN: Likewise.
24788 * localedata/locales/sc_IT: Likewise.
24789 * localedata/locales/sd_IN: Likewise.
24790 * localedata/locales/sd_IN@devanagari: Likewise.
24791 * localedata/locales/se_NO: Likewise.
24792 * localedata/locales/sgs_LT: Likewise.
24793 * localedata/locales/shs_CA: Likewise.
24794 * localedata/locales/si_LK: Likewise.
24795 * localedata/locales/sid_ET: Likewise.
24796 * localedata/locales/sk_SK: Likewise.
24797 * localedata/locales/sl_SI: Likewise.
24798 * localedata/locales/sm_WS: Likewise.
24799 * localedata/locales/so_DJ: Likewise.
24800 * localedata/locales/so_ET: Likewise.
24801 * localedata/locales/so_KE: Likewise.
24802 * localedata/locales/so_SO: Likewise.
24803 * localedata/locales/sq_AL: Likewise.
24804 * localedata/locales/sq_MK: Likewise.
24805 * localedata/locales/sr_ME: Likewise.
24806 * localedata/locales/sr_RS: Likewise.
24807 * localedata/locales/sr_RS@latin: Likewise.
24808 * localedata/locales/ss_ZA: Likewise.
24809 * localedata/locales/st_ZA: Likewise.
24810 * localedata/locales/sv_FI: Likewise.
24811 * localedata/locales/sv_SE: Likewise.
24812 * localedata/locales/sw_KE: Likewise.
24813 * localedata/locales/sw_TZ: Likewise.
24814 * localedata/locales/szl_PL: Likewise.
24815 * localedata/locales/ta_IN: Likewise.
24816 * localedata/locales/ta_LK: Likewise.
24817 * localedata/locales/tcy_IN: Likewise.
24818 * localedata/locales/te_IN: Likewise.
24819 * localedata/locales/tg_TJ: Likewise.
24820 * localedata/locales/th_TH: Likewise.
24821 * localedata/locales/the_NP: Likewise.
24822 * localedata/locales/ti_ER: Likewise.
24823 * localedata/locales/ti_ET: Likewise.
24824 * localedata/locales/tig_ER: Likewise.
24825 * localedata/locales/tk_TM: Likewise.
24826 * localedata/locales/tl_PH: Likewise.
24827 * localedata/locales/tn_ZA: Likewise.
24828 * localedata/locales/to_TO: Likewise.
24829 * localedata/locales/tpi_PG: Likewise.
24830 * localedata/locales/tr_CY: Likewise.
24831 * localedata/locales/tr_TR: Likewise.
24832 * localedata/locales/ts_ZA: Likewise.
24833 * localedata/locales/tt_RU: Likewise.
24834 * localedata/locales/tt_RU@iqtelif: Likewise.
24835 * localedata/locales/ug_CN: Likewise.
24836 * localedata/locales/uk_UA: Likewise.
24837 * localedata/locales/unm_US: Likewise.
24838 * localedata/locales/ur_IN: Likewise.
24839 * localedata/locales/ur_PK: Likewise.
24840 * localedata/locales/uz_UZ: Likewise.
24841 * localedata/locales/uz_UZ@cyrillic: Likewise.
24842 * localedata/locales/ve_ZA: Likewise.
24843 * localedata/locales/vi_VN: Likewise.
24844 * localedata/locales/wa_BE: Likewise.
24845 * localedata/locales/wae_CH: Likewise.
24846 * localedata/locales/wal_ET: Likewise.
24847 * localedata/locales/wo_SN: Likewise.
24848 * localedata/locales/xh_ZA: Likewise.
24849 * localedata/locales/yi_US: Likewise.
24850 * localedata/locales/yo_NG: Likewise.
24851 * localedata/locales/yue_HK: Likewise.
24852 * localedata/locales/yuw_PG: Likewise.
24853 * localedata/locales/zh_CN: Likewise.
24854 * localedata/locales/zh_HK: Likewise.
24855 * localedata/locales/zh_SG: Likewise.
24856 * localedata/locales/zh_TW: Likewise.
24857 * localedata/locales/zu_ZA: Likewise.
24858
cae87e64
FW
248592017-11-13 Florian Weimer <fweimer@redhat.com>
24860
24861 * support/next_to_fault.h, support/next_to_fault.c: New files.
24862 * support/Makefile (libsupport-routines): Add next_to_fault.
24863 * resolv/tst-inet_pton.c (struct next_to_fault)
24864 (next_to_fault_allocate, next_to_fault_free): Remove.
24865 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
24866
4a306ef1
L
248672017-11-13 H.J. Lu <hongjiu.lu@intel.com>
24868
24869 * elf/dl-support.c: Include <dl-procruntime.c>.
24870 * include/link.h: Include <link_map.h>.
24871 * sysdeps/generic/dl-procruntime.c: New file.
24872 * sysdeps/generic/link_map.h: Likewise.
24873 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
24874 the writable ld.so namespace.
24875
e69897bf
PE
248762017-11-12 Paul Eggert <eggert@cs.ucla.edu>
24877
24878 timezone: pacify GCC -Wstringop-truncation
24879 Problem reported by Martin Sebor in:
24880 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
24881 * timezone/zic.c (writezone): Use memcpy, not strncpy.
24882
1ffe1ccb
FW
248832017-11-12 Florian Weimer <fweimer@redhat.com>
24884
eceed671
FW
24885 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
24886 tst-xreadlink.
24887 (tests): Add tst-xreadlink.
1ffe1ccb
FW
24888 * support/support.h (xstrndup): Declare.
24889 * support/xunistd.h (xunlink, xreadlink): Declare.
24890 * support/temp_file.h (support_create_temp_directory): Declare.
24891 * support/temp_file.c (support_create_temp_directory): New function.
24892 * support/support_chroot.c (support_chroot_create): Use it.
24893 * support/xreadlink.c: New file.
24894 * support/xstrndup.c: Likewise.
24895 * support/xunlink.c: Likewise.
24896 * support/tst-xreadlink.c: Likewise.
24897
456b40a9
JDA
248982017-11-11 John David Anglin <danglin@gcc.gnu.org>
24899
24900 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
24901
c0a25aa9
FW
249022017-11-11 Florian Weimer <fweimer@redhat.com>
24903
24904 [BZ #22409]
24905 [BZ #22412]
24906 * resolv/res_comp.c (printable_string, binary_hnok)
24907 (binary_leading_dash): New functions.
24908 (res_hnok): Reimplement using these functions and ns_name_pton.
24909 (res_ownok): Likewise.
24910 (res_mailok): Reimplement using printable_string, ns_name_pton and
24911 binary_hnok.
24912 (res_dnok): Reimplement using printable_string and ns_name_pton.
24913 * resolv/tst-res_hnok.c (tests): Add additional tests.
24914 (LETTERDIGITS, PRINTABLE): Define.
24915 (do_test): Adjust one_char results.
24916
9e0ad304
FW
249172017-11-11 Florian Weimer <fweimer@redhat.com>
24918
24919 [BZ #22413]
24920 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
24921 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
24922
e2a9fca8
FW
249232017-11-11 Florian Weimer <fweimer@redhat.com>
24924
24925 * resolv/tst-ns_name_pton.c: New file.
24926 * resolv/Makefile (tests): Add tst-ns_name_pton.
24927 (tst-ns_name_pton): Link against libresolv.
24928
5c1a6923
FW
249292017-11-11 Florian Weimer <fweimer@redhat.com>
24930
24931 * resolv/tst-res_hnok.c: New file.
24932 * resolv/Makefile (tests): Add tst-res_hnok.
24933 (tst-res_hnok): Link against libresolv.
24934
a19c0a1d
FW
249352017-11-11 Florian Weimer <fweimer@redhat.com>
24936
24937 * resolv/tst-resolv-network.c: Use test framework instead explicit
24938 main function.
24939
8cb5295d
L
249402017-11-09 H.J. Lu <hongjiu.lu@intel.com>
24941
24942 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
24943 <jmp_buf-macros.h>.
24944 [!_ISOMAC] (STR_HELPER): New.
24945 [!_ISOMAC] (STR): Likewise.
24946 [!_ISOMAC] (TEST_SIZE): Likewise.
24947 [!_ISOMAC] (TEST_ALIGN): Likewise.
24948 [!_ISOMAC] (TEST_OFFSET): Likewise.
24949 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
24950 field offsets of jmp_buf as well as sigjmp_buf.
24951 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
24952 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
24953 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
24954 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
24955 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
24956 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
24957 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
24958 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
24959 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
24960 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
24961 Likewise.
24962 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
24963 Likewise.
24964 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
24965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
24966 Likewise.
24967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
24968 Likewise.
24969 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
24970 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
24971 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
24972 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
24973 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
24974 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
24975 Likewise.
24976 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
24977 Likewise.
24978 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
24979 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
24980 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
24981
58c4a161
JM
249822017-11-07 Joseph Myers <joseph@codesourcery.com>
24983
3683b423
JM
24984 * include/float.h
24985 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24986 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
24987 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24988 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
24989 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24990 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
24991 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24992 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
24993 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24994 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
24995 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24996 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
24997 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24998 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
24999 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25000 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
25001 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25002 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
25003 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25004 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
25005 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25006 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
25007 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25008 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
25009 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25010 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
25011 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25012 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
25013 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25014 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
25015 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25016 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
25017 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25018 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
25019 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25020 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
25021 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25022 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
25023 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25024 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
25025 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25026 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
25027 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25028 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
25029 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25030 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
25031 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25032 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
25033 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25034 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
25035 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25036 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
25037 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25038 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
25039 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25040 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
25041 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25042 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
25043 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25044 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
25045 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25046 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
25047 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25048 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
25049 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25050 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
25051 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25052 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
25053 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25054 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
25055 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25056 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
25057 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25058 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
25059 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25060 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
25061 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25062 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
25063 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25064 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
25065 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25066 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
25067 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25068 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
25069 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25070 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
25071 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25072 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
25073
58c4a161
JM
25074 * stdlib/tst-strtod.h (F16): New macro.
25075 (F32): Likewise.
25076 (F64): Likewise.
25077 (F32X): Likewise.
25078 (F64X): Likewise.
25079 (F128X): Likewise.
25080 (IF_FLOAT16): Likewise.
25081 (IF_FLOAT32): Likewise.
25082 (IF_FLOAT64): Likewise.
25083 (IF_FLOAT32X): Likewise.
25084 (IF_FLOAT64X): Likewise.
25085 (IF_FLOAT128X): Likewise.
25086 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
25087 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
25088 (STRTOD_TEST_FOREACH): Likewise.
25089 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
25090 (CHOOSE_f64): Likewise.
25091 (CHOOSE_f32x): Likewise.
25092 (CHOOSE_f64x): Likewise.
25093
feda96a1
AS
250942017-11-07 Andreas Schwab <schwab@suse.de>
25095
25096 * nptl/Makefile (tests-internal): Remove tst-typesizes.
25097
1bd0cbb8
MF
250982017-11-07 Mike FABIAN <mfabian@redhat.com>
25099
25100 [BZ #22403]
25101 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
25102 to be escaped.
25103 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
25104 to be escaped.
25105
363e4519 251062017-11-07 Claude Paroz <claude@2xlibre.net>
d8301314
CP
25107
25108 [BZ #22403]
25109 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
25110 to be escaped.
25111 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
25112 to be escaped.
25113 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
25114 to be escaped.
25115
dff91cd4
AZ
251162017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25117
06be6368
AZ
25118 [BZ #22298]
25119 * nptl/allocatestack.c (allocate_stack): Check if
25120 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
25121 __PTHREAD_MUTEX_HAVE_PREV is defined.
25122 * nptl/descr.h (pthread): Likewise.
25123 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
25124 Likewise.
25125 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
25126 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
25127 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
25128 * sysdeps/nptl/bits/thread-shared-types.h
25129 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
25130 defines.
25131 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
25132 of __WORDSIZE for internal layout.
25133 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
25134 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
25135 instead of __WORDSIZE whether to use an union for __spins and __list
25136 fields.
25137 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
25138 case.
25139 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
25140 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
25141 defines.
25142 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
25143 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25144 Likewise.
25145 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
25146 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25147 Likewise.
25148 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
25149 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25150 Likewise.
25151 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
25152 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25153 Likewise.
25154 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
25155 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25156 Likewise.
25157 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
25158 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25159 Likewise.
25160 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
25161 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25162 Likewise.
25163 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
25164 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25165 Likewise.
25166 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
25167 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25168 Likewise.
25169 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
25170 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25171 Likewise.
25172 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
25173 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25174 Likewise.
25175 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
25176 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25177 Likewise.
25178 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
25179 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25180 Likewise.
25181 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
25182 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25183 Likewise.
25184
72b3c6ee
AZ
25185 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
25186 New macros.
25187 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
25188 checks for expected input type size.
25189 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
25190 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
25191 Likewise.
25192 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
25193 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
25194 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
25195 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
25196 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
25197 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
25198 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
25199 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
25200 superflous runtime assert check.
25201 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
25202 Likewise.
25203 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
25204 Likewise.
25205 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
25206 Likewise.
25207 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
25208 Likewise.
25209 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
25210 Likewise.
25211 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
25212 Likewise.
25213 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
25214 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
25215 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
25216 Likewise.
25217 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
25218 Likewise.
25219 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
25220 Likewise.
25221 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
25222 Likewise.
25223 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
25224 Likewise.
25225 * nptl/pthread_attr_setinheritsched.c
25226 (__pthread_attr_setinheritsched): Likewise.
25227 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
25228 Likewise.
25229 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
25230 Likewise.
25231 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
25232 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
25233 __old_pthread_attr_setstack): Likewise.
25234 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
25235 Likewise.
25236 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
25237 Likewise.
25238 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
25239 Likewise.
25240 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
25241 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
25242 Likewise.
25243 * nptl/tst-typesizes.c: Remove file.
25244
dff91cd4
AZ
25245 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
25246 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
25247 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
25248 checks for internal pthread_mutex_t offsets.
25249 * sysdeps/aarch64/nptl/pthread-offsets.h
25250 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
25251 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
25252 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
25253 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
25254 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
25255 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
25256 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
25257 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
25258 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
25259 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
25260 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
25261 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
25262 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
25263 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
25264 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
25265 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
25266 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
25267 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
25268
b7fc95f8
FW
252692017-11-07 Florian Weimer <fweimer@redhat.com>
25270
25271 * bits/mman-linux.h: Move ...
25272 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
25273 comment.
25274 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
25275 outdated comment.
25276
6b860364
RS
252772017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25278
25279 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
25280 Redefine STRNLEN as __strnlen_power8.
25281
802c1f16
AZ
252822017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25283
d83da3a4
AZ
25284 * signal/sighold.c (sighold): Optimize implementation.
25285
6a4235f1
AZ
25286 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
25287 __NR_rt_sigqueueinfo.
25288
8b0e795a
AZ
25289 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
25290 __sigtimedwait.
25291 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
25292 assume __NR_rt_sigtimedwait.
25293 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
25294 and add LIBC_CANCEL_HANDLED for cancellation marking.
25295 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
25296
a1a638dd
AZ
25297 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
25298 (sysdeps_routines): Add memchr_noneon.
25299 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
25300 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
25301 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
25302 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
25303 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
25304 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
25305 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
25306
802c1f16
AZ
25307 * sysdeps/arm/arm-ifunc.h: New file.
25308 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
25309 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
25310 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
25311 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
25312 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
25313 (__memcpy_neon): Avoid create hidden alias.
25314 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
25315 (__memcpy_vfp): Likewise.
25316 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
25317 (sysdep_routines): Add memcpy_arm.
25318 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
25319
abcb584d
L
253202017-11-06 H.J. Lu <hongjiu.lu@intel.com>
25321
25322 [BZ #22362]
25323 * Makerules (make-link-multidir): New.
25324 * config.make.in (multidir): New.
25325 * configure.ac (libc_cv_multidir): New. AC_SUBST.
25326 * configure: Regenerated.
25327 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
25328 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
25329 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
25330 New target.
25331
4e2dff67
JM
253322017-11-06 Joseph Myers <joseph@codesourcery.com>
25333
25334 [BZ #22402]
25335 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
25336 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
25337
a1c7cd3c
MF
253382017-11-04 Mike FABIAN <mfabian@redhat.com>
25339
25340 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
25341 to be escaped.
25342
b9af29c0
FW
253432017-11-04 Florian Weimer <fweimer@redhat.com>
25344
25345 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
25346
4ca70e1a
JM
253472017-11-03 Joseph Myers <joseph@codesourcery.com>
25348
25349 * math/math.h [__HAVE_DISTINCT_FLOAT16
25350 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
25351 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
25352 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
25353 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
25354 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
25355 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
25356 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25357 (__MATH_TG_F32): New macro.
25358 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25359 (__MATH_TG_F64X): Likewise.
25360 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25361 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
25362
ba0e6668
DL
253632017-11-03 Dmitry V. Levin <ldv@altlinux.org>
25364
25365 * po/de.po: Update translations.
25366 * po/ru.po: Likewise.
25367
bc18a6d3
FW
253682017-11-03 Florian Weimer <fweimer@redhat.com>
25369
25370 * manual/filesys.texi (Hard Links): Document linkat.
25371
97255170
JM
253722017-11-03 Joseph Myers <joseph@codesourcery.com>
25373
86ec4865
JM
25374 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
25375 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
25376 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
25377 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
25378 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
25379 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
25380 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
25381 the same as _Float128.
25382 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
25383 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
25384 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
25385
97255170
JM
25386 * stdlib/stdlib.h
25387 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
25388 Declare.
25389 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
25390 Likewise.
25391 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
25392 Likewise.
25393 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25394 (strtof32x): Likewise.
25395 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25396 (strtof64x): Likewise.
25397 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25398 (strtof128x): Likewise.
25399 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25400 (strfromf16): Likewise.
25401 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25402 (strfromf32): Likewise.
25403 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25404 (strfromf64): Likewise.
25405 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25406 (strfromf32x): Likewise.
25407 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25408 (strfromf64x): Likewise.
25409 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25410 (strfromf128x): Likewise.
25411 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
25412 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
25413 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
25414 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
25415 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
25416 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
25417
6d58ce5e
RH
254182017-11-03 Richard Henderson <rth@twiddle.net>
25419
25420 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
25421
659ca267
SN
254222017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25423
25424 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
25425
94d2f0af
SN
254262017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25427
25428 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
25429 DT_TLSDESC_GOT initialization.
25430 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
25431 (_dl_tlsdesc_resolve_hold): Likewise.
25432 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
25433 (_dl_tlsdesc_resolve_hold): Likewise.
25434 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
25435 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
25436
28e1ddf3
SN
254372017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25438
25439 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
25440
0ca3d1d6
SN
254412017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25442
25443 [BZ #18572]
25444 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
25445 non-lazily for R_ARM_TLS_DESC.
25446
2c1d4e5f
SN
254472017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25448
25449 [BZ #17078]
25450 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
25451 R_ARM_TLS_DESC case.
25452 (elf_machine_lazy_rel): Remove the prelink check.
25453
91c5a366
SN
254542017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25455
25456 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
25457 DT_TLSDESC_GOT initialization.
25458 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
25459 (_dl_tlsdesc_resolve_rela): Likewise.
25460 (_dl_tlsdesc_resolve_hold): Likewise.
25461 (_dl_tlsdesc_undefweak): Remove ldar.
25462 (_dl_tlsdesc_dynamic): Likewise.
25463 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
25464 (_dl_tlsdesc_resolve_rela): Likewise.
25465 (_dl_tlsdesc_resolve_hold): Likewise.
25466 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
25467 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
25468 (_dl_tlsdesc_resolve_rela): Likewise.
25469 (_dl_tlsdesc_resolve_hold): Likewise.
25470
b7cf203b
SN
254712017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25472
25473 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
25474 binding and initialization non-lazily for R_AARCH64_TLSDESC.
25475
0cc5b022
SN
254762017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25477
25478 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
25479 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25480
43ddff2e
JM
254812017-11-02 Joseph Myers <joseph@codesourcery.com>
25482
25483 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
25484 Declare.
25485 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
25486 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
25487 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
25488 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
25489 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
25490 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
25491 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
25492 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
25493 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
25494 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
25495 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
25496
5baac970
MF
254972017-11-02 Mike FABIAN <mfabian@redhat.com>
25498
25499 [BZ #22382]
25500 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
25501 * localedata/locales/tpi_PG: Add standard header.
25502
ef11081f
FW
255032017-11-02 Florian Weimer <fweimer@redhat.com>
25504
25505 test-errno-linux: quotactl can fail with EPERM in containers.
25506 * sysdeps/unix/sysv/linux/test-errno-linux.c
25507 (LIST, LIST_FORWARD): New macros.
25508 (check_error_in_list): New function.
25509 (test_wrp_rv): Accept list of permitted error codes.
25510 (test_wrp_rv2): Remove.
25511 (test_wrp): Call test_wrp_rv with list of error codes.
25512 (test_wrp2): Accept list of error codes.
25513 (do_test): Adjust. Allow EPERM for quotactl.
25514
d10b132b
FW
255152017-11-02 Florian Weimer <fweimer@redhat.com>
25516
25517 * stdio-common/bug16.c (do_test): Use array_length.
25518 * stdio-common/errlist.c (_sys_nerr): Likewise.
25519 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
25520 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
25521 * stdio-common/psiginfo.c (psiginfo): Use array_length.
25522 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
25523 (do_test): Use array_length.
25524 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
25525 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
25526 * stdio-common/tst-printf-round.c (do_test): Likewise.
25527 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
25528 (CHECK): Use array_length.
25529 * stdio-common/tstdiomisc.c (t3, F): Likewise.
25530 * stdio-common/tstscanf.c (main): Likewise.
25531 * stdio-common/vfprintf.c (process_string_arg): Likewise.
25532
c94a5688
FW
255332017-11-02 Florian Weimer <fweimer@redhat.com>
25534
25535 Add array_length and array_end macros.
25536 * include/array_length.h: New file.
25537
2fac6a6c
FW
255382017-11-02 Florian Weimer <fweimer@redhat.com>
25539
25540 [BZ #22332]
25541 * posix/tst-glob-tilde.c (do_noescape): New variable.
25542 (one_test): Process it.
25543 (do_test): Set do_noescape. Add unescaping test case.
25544
2f1b212e
JM
255452017-11-01 Joseph Myers <joseph@codesourcery.com>
25546
260fbd0a
JM
25547 * math/complex.h
25548 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
25549 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
25550 with appropriate macros defined and undefined.
25551 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
25552 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25553 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
25554 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25555 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
25556 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25557 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
25558 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25559 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
25560 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25561
2f1b212e
JM
25562 * math/complex.h
25563 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
25564 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
25565 that for long double. Do not condition define and undefine of
25566 _Mdouble_complex_ on [__CFLOAT128].
25567
95b93c6e
L
255682017-11-01 H.J. Lu <hongjiu.lu@intel.com>
25569
25570 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
25571 of <sysdeps/generic/sysdep.h>.
25572 (ALIGNARG): Removed.
25573 (ASM_SIZE_DIRECTIVE): Likewise.
25574 (ENTRY): Likewise.
25575 (END): Likewise.
25576 (ENTRY_CHK): Likewise.
25577 (END_CHK): Likewise.
25578 (syscall_error): Likewise.
25579 (mcount): Likewise.
25580 (PSEUDO_END): Likewise.
25581 (L): Likewise.
25582 (atom_text_section): Likewise.
25583 * sysdeps/x86/sysdep.h: New file.
25584 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
25585 of <sysdeps/generic/sysdep.h>.
25586 (ALIGNARG): Removed.
25587 (ASM_SIZE_DIRECTIVE): Likewise.
25588 (ENTRY): Likewise.
25589 (END): Likewise.
25590 (ENTRY_CHK): Likewise.
25591 (END_CHK): Likewise.
25592 (syscall_error): Likewise.
25593 (mcount): Likewise.
25594 (PSEUDO_END): Likewise.
25595 (L): Likewise.
25596 (atom_text_section): Likewise.
25597
1bb36539
RL
255982017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
25599
25600 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
25601 category of LC_CTYPE set to "i18n:2012".
25602 * localedata/locales/i18n_ctype: Regenerate.
25603
067f5d97 256042017-10-31 Yury Norov <ynorov@caviumnetworks.com>
e8681faa 25605
87bbc4cf
YN
25606 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
25607 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
25608 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
25609 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
25610
e8681faa
YN
25611 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
25612 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
25613 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
25614 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
25615
540af6e2
JM
256162017-10-31 Joseph Myers <joseph@codesourcery.com>
25617
43e66283
JM
25618 * math/complex.h
25619 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
25620 New macro.
25621 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
25622 Likewise.
25623 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
25624 Likewise.
25625 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25626 (CMPLXF32X): Likewise.
25627 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25628 (CMPLXF64X): Likewise.
25629 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25630 (CMPLXF128X): Likewise.
25631
540af6e2
JM
25632 * math/math.h
25633 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
25634 (__MATH_EVAL_FMT2): Define to add 0.0f.
25635
58af72b4
AM
256362017-10-31 Alan Modra <amodra@gmail.com>
25637
25638 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
25639 include sysdep.h.
25640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
25641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
25642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
25643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
25644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
25645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
25646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
25647 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
25648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
25649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
25650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
25651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
25652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
25653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
25654 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
25655 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
25656 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
25657 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
25658 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
25659 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
25660 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
25661 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
25662 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
25663 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
25664 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
25665 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
25666 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
25667 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
25668 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
25669 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
25670 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
25671 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
25672 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
25673 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
25674 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
25675 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
25676 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
25677 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
25678 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
25679 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
25680 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
25681 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
25682 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
25683 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
25684 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
25685 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
25686 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
25687 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
25688 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
25689 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
25690 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
25691 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
25692 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
25693 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
25694 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
25695 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
25696 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
25697 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
25698 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
25699 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
25700 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
25701 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
25702 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
25703 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
25704 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
25705 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
25706 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
25707 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
25708 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
25709
25710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
25711 include sysdep.h and math_ldbl_opt.h.
25712
25713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
25714 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
25715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
25716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
25717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
25718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
25719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
25720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
25721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
25722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
25723 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
25724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
25725 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
25726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
25727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
25728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
25729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
25730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
25731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
25732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
25733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
25734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
25735 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
25736 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
25737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
25738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
25739
112f30b3
AM
257402017-10-31 Alan Modra <amodra@gmail.com>
25741
25742 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
25743 string/strncase_l.c, not string/strncase.c.
25744 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
25745 (libc_hidden_def): Redefine.
25746
e9e7eced
AM
257472017-10-31 Alan Modra <amodra@gmail.com>
25748
25749 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
25750 (__STRCMP, STRCMP, __strcasecmp_l): Define.
25751 (__strcasecmp): Don't define.
25752
f7b465cf
AM
257532017-10-31 Alan Modra <amodra@gmail.com>
25754
25755 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
25756 IS_IN (libc).
25757 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
25758 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
25759 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
25760
d46b09f9
AM
257612017-10-31 Alan Modra <amodra@gmail.com>
25762
25763 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
25764 USE_AS_STPNCPY.
25765
e9b8e194
AM
257662017-10-31 Alan Modra <amodra@gmail.com>
25767
25768 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
25769 Redefine only when SHARED.
25770
eda162dd
JM
257712017-10-30 Joseph Myers <joseph@codesourcery.com>
25772
b61afe8c
JM
25773 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
25774 Include <bits/math-finite.h> with appropriate macros defined and
25775 undefined.
25776 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
25777 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
25778 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
25779 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
25780 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
25781
eda162dd
JM
25782 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
25783 [!_Mlong_double_] (_Mlong_double_): Likewise.
25784 [!_Mfloat16_] (_Mfloat16_): Likewise.
25785 [!_Mfloat32_] (_Mfloat32_): Likewise.
25786 [!_Mfloat64_] (_Mfloat64_): Likewise.
25787 [!_Mfloat128_] (_Mfloat128_): Likewise.
25788 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
25789 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
25790 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
25791 (_Mdouble_): Define without indirection through those macros.
25792 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
25793 [!_Mfloat128_] (_Mfloat128_): Likewise.
25794 [_Mlong_double_] (_Mlong_double_): Likewise.
25795 (_Mdouble_): Define without indirection through those macros.
25796 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
25797 not add -D_Mlong_double_=double.
25798 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
25799 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
25800
4ad5106e
L
258012017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25802
25803 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
25804
fe326df7
L
258052017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25806
25807 * sysdeps/x86/libc-start.c: Reformat.
25808
c5cc4514
L
258092017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25810
25811 [BZ #22353]
25812 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
25813 (1): Renamed to ...
25814 (L(Src0)): This.
25815 (L(Src1)): New.
25816 (L(Src2)): Likewise.
25817 (L(1)): Renamed to ...
25818 (L(Src3)): This.
25819
ce12269f
JM
258202017-10-30 Joseph Myers <joseph@codesourcery.com>
25821
25822 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
25823 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
25824 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
25825 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
25826 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
25827 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
25828 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
25829 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
25830 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
25831 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
25832 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
25833 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
25834 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
25835 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
25836 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
25837 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
25838 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
25839 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
25840 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
25841 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
25842 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
25843 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
25844 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
25845 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
25846 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
25847 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
25848 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
25849 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
25850 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
25851 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
25852 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
25853 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
25854 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
25855 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
25856 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
25857 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
25858 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
25859 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
25860 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
25861 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
25862 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
25863 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
25864 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
25865 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
25866 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
25867 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
25868 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
25869 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
25870 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
25871 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
25872 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
25873 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
25874 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
25875 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
25876 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
25877 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
25878 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
25879 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
25880 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
25881 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
25882 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
25883 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
25884 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
25885 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
25886 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
25887 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
25888
4484b9e2
FW
258892017-10-30 Florian Weimer <fweimer@redhat.com>
25890
25891 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
25892 always defined.
25893 * io/tst-mkdirat.c (do_test): Likewise.
25894 * io/tst-mkfifoat.c (do_test): Likewise.
25895 * io/tst-mknodat.c (do_test): Likewise.
25896 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
25897 * locale/programs/locale.c (select_dirs): Likewise.
25898 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
25899 * posix/bug-glob2.c (my_readdir): Likewise.
25900 * posix/tst-dir.c (main): Likewise.
25901 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
25902 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
25903
68fe16dd
FW
259042017-10-30 Florian Weimer <fweimer@redhat.com>
25905
25906 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
25907 just __USE_GNU.
25908
dadf23f0
FW
259092017-10-30 Florian Weimer <fweimer@redhat.com>
25910
25911 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
25912 Convert to support/test-driver.c.
25913 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
25914 New macro parameters.
25915 (PRINTF): Remove macro. Use test_verbose conditionals instead.
25916 * posix/tst-gnuglob.c: New file.
25917 * posix/tst-gnuglob64.c: Likewise.
25918 * posix/Makefile (tests): Add tst-gnuglob64.
25919
363e4519 259202017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
fbcecc08
MF
25921
25922 [BZ #19485]
25923 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
25924 and use a better translation for March in “mon”.
25925 * localedata/locales/csb_PL: Use more ASCII to improve the
25926 readability of the source.
25927
b110af82
MF
259282017-10-30 Mike FABIAN <mfabian@redhat.com>
25929
25930 [BZ #13953]
25931 * localedata/locales/km_KH: Use ASCII as much
25932 as possible for better readability of the source and
25933 remove useless comments.
25934 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
25935 was commented out and apparently wrong anyway because it was
25936 using Lao characters. If Buddhist era should be used
25937 for km_KH, a native speaker should write the correct formaat
25938 for Khmer.
25939 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
25940 (According to CLDR, the first weekday for Cambodia is Sunday).
25941 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
25942 (These were using Lao characters which must be wrong. If we get
25943 the correct data from a native speaker, we could add it back, until
25944 then it is better not to have name_mr and name_mrs at all than
25945 having it wrong).
25946
f301e533
RL
259472017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
25948
25949 * locale/loadlocale.c: Correct size of
25950 _nl_value_type_LC_<category> arrays.
25951
7e9d7073
JM
259522017-10-27 Joseph Myers <joseph@codesourcery.com>
25953
25954 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
25955 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
25956 with appropriate macros defined and undefined.
25957 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
25958 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
25959 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
25960 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
25961 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
25962
63d3b468
L
259632017-10-27 H.J. Lu <hongjiu.lu@intel.com>
25964
25965 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
25966 "-O2 -march=i586".
25967
a4cc02c7
MF
259682017-10-27 Mike FABIAN <mfabian@redhat.com>
25969
25970 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
25971 with lowercase letters to make it agree with CLDR.
25972
1e5971ec
MF
259732017-10-27 Mike FABIAN <mfabian@redhat.com>
25974
25975 [BZ #15260]
25976 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
25977 first letters of yesstr and nostr in yesexpr and noexpr,
25978 not for the full words.
25979 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
25980 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
25981 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
25982 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
25983 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
25984 first letters of yesstr and nostr in yesexpr and noexpr,
25985 until now only English was matched in yesexpr and noexpr.
25986 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
25987 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
25988 fil but not for tl. As tl and fil are very similar, using fil
25989 is probably better than using English.
25990
363e4519 259912017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
bc5fc7de
MF
25992
25993 [BZ #21706]
25994 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
25995 in yesstr and nostr.
25996
5d220788
JM
259972017-10-26 Joseph Myers <joseph@codesourcery.com>
25998
ecc7da5b
JM
25999 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
26000 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
26001 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
26002 Likewise.
26003 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
26004 Likewise.
26005 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
26006 Likewise.
26007 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
26008 Likewise.
26009 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26010 (SNANF128X): Likewise.
26011
5d220788
JM
26012 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
26013 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
26014 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26015 (HUGE_VAL_F32): Likewise.
26016 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26017 (HUGE_VAL_F64): Likewise.
26018 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26019 (HUGE_VAL_F32X): Likewise.
26020 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26021 (HUGE_VAL_F64X): Likewise.
26022 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26023 (HUGE_VAL_F128X): Likewise.
26024
363e4519 260252017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
67ad7163
TV
26026
26027 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
26028 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
26029 for the br_FR locale.
26030
363e4519 260312017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
408dff7e
TV
26032
26033 [BZ #21706]
26034 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
26035
337ff3c5
CD
260362017-10-25 Carlos O'Donell <carlos@redhat.com>
26037
02eec681
CD
26038 * locale/programs/record-status.h: Define globals, and function
26039 prototypes. Move function bodies...
26040 * locale/programs/record-status.c: ... to here. New file.
26041 * iconv/Makefile (iconv_prog-modules): Add record-status.
26042 * locale/Makefile (lib-modules): Likewise.
26043 * iconv/iconv_prog.c: Remove verbose.
26044 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
26045 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
26046 record a warning about ASCII compatibility.
26047 * locale/programs/ld-monetary.c (monetary_finish): If
26048 warn_int_curr_symbol is true then record a warning about the symbol
26049 not being in our ISO 4217 list.
26050 * locale/programs/locale.c: Include record-status.h. Remove verbose.
26051 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
26052 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
26053 (OPT_NO_WARN): Define.
26054 (OPT_WARN): Define.
26055 (options): Add entry for --no-warnings, and --warnings.
26056 (set_warnings): New function to enable/disable warnings.
26057 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
26058 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
26059 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
26060 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
26061 Pass flags to generate_locale.
26062 (generate_locale): Accept new flag argument and pass it to localedef
26063 invocation.
26064 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
26065 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
26066
56fa555a
CD
26067 * localedata/Makefile (test-input-data): Use full file name.
26068 * localedata/da_DK.in: Rename to...
26069 * localedata/da_DK.ISO-8859-1.in: ...this.
26070 * localedata/de_DE.in: Rename to...
26071 * localedata/de_DE.ISO-8859-1.in: ...this.
26072 * localedata/en_US.in: Rename to...
26073 * localedata/en_US.ISO-8859-1.in: ...this.
26074 * localedata/fr_FR.in: Rename to...
26075 * localedata/fr_FR.UTF-8.in: ... this.
26076 * localedata/hr_HR.in: Rename to...
26077 * localedata/hr_HR.ISO-8859-2.in: ...this.
26078 * localedata/hu_HU.in: Rename to...
26079 * localedata/hu_HU.UTF-8.in: ...this.
26080 * localedata/si_LK.in: Rename to...
26081 * localedata/si_LK.UTF-8.in: ...this.
26082 * localedata/sv_SE.in: Rename to...
26083 * localedata/sv_SE.ISO-8859-1.in: ...this.
26084 * localedata/tr_TR.in: Rename to...
26085 * localedata/tr_TR.UTF-8.in: ...this.
26086 * localedata/uk_UA.in: Rename to...
26087 * localedata/uk_UA.UTF-8.in: ...this.
26088 * localedata/sort-test.sh: Test file is locale name with the
26089 suffix.
26090
337ff3c5
CD
26091 * localedata/unicode-gen/Makefile (check_i18n): Rename to
26092 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
26093 file.
26094 * localedata/locales/i18n_ctype: Regenerate.
26095 * localedata/locales/tr_TR: Likewise.
26096 * localedata/locales/translit_circle: Likewise.
26097 * localedata/locales/translit_cjk_compat: Likewise.
26098 * localedata/locales/translit_combining: Likewise.
26099 * localedata/locales/translit_compat: Likewise.
26100 * localedata/locales/translit_font: Likewise.
26101 * localedata/locales/translit_fraction: Likewise.
26102
63da5cd4
RS
261032017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26104
26105 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
26106 lxvd2x/stxvd2x with lvx/stvx.
26107 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
26108
a122dbfb
L
261092017-10-25 H.J. Lu <hongjiu.lu@intel.com>
26110
26111 * include/alloc_buffer.h: Replace "if if " with "if " in
26112 comments.
26113 * sysdeps/mips/memcpy.S: Likkewise.
26114 * sysdeps/mips/memset.S: Likewise.
26115 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
26116 Likewise.
26117 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
26118 Likewise.
26119 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
26120 Likewise.
26121
9be7530c
MF
261222017-10-25 Mike FABIAN <mfabian@redhat.com>
26123
26124 [BZ #15261]
26125 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
26126 yesexpr and noexpr.
26127 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
26128 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
26129 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
26130 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
26131 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
26132 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
26133 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
26134
6ccbf6ff
MF
261352017-10-25 Mike FABIAN <mfabian@redhat.com>
26136
26137 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
26138 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
26139 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
26140 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
26141 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
26142 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
26143 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
26144 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
26145 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
26146 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
26147 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
26148 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
26149
58b1a7ea
MF
261502017-10-25 Mike FABIAN <mfabian@redhat.com>
26151
26152 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
26153 as possible for better readability of the source.
26154 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
26155 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
26156 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
26157 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
26158 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
26159 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
26160 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
26161 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
26162 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
26163 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
26164 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
26165 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
26166 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
26167 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
26168 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
26169 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
26170 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
26171 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
26172 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
26173 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
26174 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
26175 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
26176 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
26177 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
26178 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
26179 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
26180 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
26181 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
26182 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
26183 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
26184 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
26185 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
26186 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
26187 * localedata/locales/en_US (LC_MESSAGES): Likewise.
26188 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
26189 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
26190 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
26191 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
26192 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
26193 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
26194 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
26195 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
26196 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
26197 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
26198 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
26199 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
26200 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
26201 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
26202 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
26203 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
26204 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
26205 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
26206 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
26207 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
26208 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
26209 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
26210 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
26211 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
26212 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
26213 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
26214 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
26215 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
26216 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
26217 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
26218 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
26219 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
26220 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
26221 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
26222 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
26223 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
26224 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
26225 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
26226 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
26227 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
26228 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
26229 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
26230 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
26231 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
26232 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
26233 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
26234 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
26235 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
26236 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
26237 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
26238 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
26239 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
26240 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
26241 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
26242 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
26243 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
26244 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
26245 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
26246 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
26247 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
26248 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
26249 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
26250 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
26251 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
26252 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
26253 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
26254 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
26255 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
26256 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
26257 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
26258 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
26259 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
26260 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
26261 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
26262 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
26263 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
26264 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
26265 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
26266 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
26267 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
26268 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
26269 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
26270 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
26271 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
26272 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
26273 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
26274 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
26275 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
26276 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
26277 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
26278 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
26279 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
26280 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
26281 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
26282 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
26283 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
26284 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
26285 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
26286 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
26287 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
26288 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
26289 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
26290 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
26291 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
26292 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
26293 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
26294 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
26295 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
26296 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
26297 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
26298 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
26299 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
26300 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
26301 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
26302 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
26303 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
26304 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
26305 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
26306 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
26307 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
26308 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
26309 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
26310 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
26311 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
26312 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
26313 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
26314 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
26315 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
26316 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
26317 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
26318 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
26319 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
26320 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
26321 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
26322 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
26323 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
26324 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
26325 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
26326 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
26327 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
26328
17e78edb
MF
263292017-10-25 Mike FABIAN <mfabian@redhat.com>
26330
26331 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
26332 (Use first letters of yesstr and nostr correctly instead of using
26333 full words).
26334
74e7284f
MF
263352017-10-25 Mike FABIAN <mfabian@redhat.com>
26336
26337 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
26338 (Use first letters of yesstr and nostr correctly).
26339
b41a0ff1
MF
263402017-10-25 Mike FABIAN <mfabian@redhat.com>
26341
26342 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
26343 also check for the first characters of yesstr and nostr.
26344 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
26345 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
26346
d971f380
MF
263472017-10-25 Mike FABIAN <mfabian@redhat.com>
26348
26349 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
26350 also check for Chinese characters.
26351
effc9e1d
MF
263522017-10-25 Mike FABIAN <mfabian@redhat.com>
26353
26354 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
26355 match also for the contents of yesstr and nostr. As the first letter
26356 of yesstr and nostr is equal, checking only for the first letter
26357 is not enough.
26358
10320881
MF
263592017-10-25 Mike FABIAN <mfabian@redhat.com>
26360
26361 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
26362 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
26363
d8682a15
MF
263642017-10-25 Mike FABIAN <mfabian@redhat.com>
26365
26366 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
26367 of main contributor.
26368
1bfb86ae
MF
263692017-10-25 Mike FABIAN <mfabian@redhat.com>
26370
26371 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
26372 instead of using English.
26373
da33d60b
MF
263742017-10-25 Mike FABIAN <mfabian@redhat.com>
26375
26376 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
26377 by including the first letters of nostr and yesexpr in the regexp.
26378 Also make it more readable by using ASCII where possible.
26379
725bbb3e
MF
263802017-10-25 Mike FABIAN <mfabian@redhat.com>
26381
26382 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
26383 the first letter of nostr in the regexp. It agrees with CLDR now.
26384 Also make it more readable by using ASCII where possible.
26385
fe043d8a
MF
263862017-10-24 Mike FABIAN <mfabian@redhat.com>
26387
26388 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
26389 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
26390 these strings contain a U+17D6 (which somewhat looks like a colon)
26391 instead of a real colon to separate the full words for “yes”
26392 and “no” from the single letter responses.
26393
360a8df3
MF
263942017-10-24 Mike FABIAN <mfabian@redhat.com>
26395
26396 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
26397 it agree with CLDR (include the first letter of yesstr).
26398 Also make it more readable by using ASCII where possible.
26399
bab7b6b0
MF
264002017-10-24 Mike FABIAN <mfabian@redhat.com>
26401
26402 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
26403 and improve yesexpr and noexpr. The yesstr and nostr apparently
26404 came from CLDR. And CLDR has a bug there: these strings contain
26405 a U+0903 (which looks like a colon) instead of a real colon
26406 to separate the full words for “yes” and “no” from the single
26407 letter responses.
26408
3e79f758
MF
264092017-10-24 Mike FABIAN <mfabian@redhat.com>
26410
26411 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
26412 letters of the full yesstr and nostr in yesexpr and noexpr.
26413
4960c879
MF
264142017-10-24 Mike FABIAN <mfabian@redhat.com>
26415
26416 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
26417 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
26418 * localedata/locales/an_ES: Make source more readable by using ASCII
26419 where possible.
26420
b06a054f
MF
264212017-10-24 Mike FABIAN <mfabian@redhat.com>
26422
26423 [BZ #20952]
26424 * localedata/locales/yuw_PG: New file.
26425 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
26426 * locale/iso-639.def: Add Yau (Uruwa).
26427
905a7725
WD
264282017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26429
26430 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
26431
3f6bb8a3
WD
264322017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26433
26434 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
26435 (__libc_realloc): Likewise.
26436 (_mid_memalign): Likewise.
26437 (__libc_calloc): Likewise.
26438
1d479c8c
MF
264392017-10-23 Mike FABIAN <mfabian@redhat.com>
26440
26441 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
26442 by adding the generic +1 and -0 as in all other locales.
26443 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
26444 day names and make it more readable by using ASCII where possible.
26445
91c3985c
JM
264462017-10-24 Joseph Myers <joseph@codesourcery.com>
26447
26448 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
26449 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
26450
aa95a241
AZ
264512017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26452
26453 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
26454 WNOHANG in waitpid call.
26455
db9bab09
SP
264562017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
26457
a2e0a7f1
SP
26458 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
26459 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
26460
db9bab09
SP
26461 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
26462 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
26463 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
26464 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
26465 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
26466 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
26467 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
26468 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
26469 variables.
26470
5062680c
MC
264712017-10-23 Michael Collison <michael.collison@arm.com>
26472
26473 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
26474 with __builtin_sqrt.
26475 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
26476 with __builtin_sqrtf.
26477 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
26478 with __builtin_ceil.
26479 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
26480 with __builtin_ceilf.
26481 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
26482 with __builtin_floor.
26483 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
26484 with __builtin_floorf.
26485 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
26486 with __builtin_fma.
26487 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
26488 with __builtin_fmaf.
26489 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
26490 with __builtin_fmax.
26491 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
26492 with __builtin_fmaxf.
26493 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
26494 with __builtin_fmin.
26495 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
26496 with __builtin_fminf.
26497 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
26498 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
26499 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
26500 with builtin_rint and conversion to int.
26501 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
26502 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
26503 with builtin_llround.
26504 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
26505 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
26506 with builtin_rint and conversion to long int.
26507 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
26508 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
26509 with builtin_lround.
26510 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
26511 with builtin_lroundf.
26512 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
26513 statements with __builtin_nearbyint.
26514 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
26515 statements with __builtin_nearbyintf.
26516 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
26517 with __builtin_rint.
26518 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
26519 with __builtin_rintf.
26520 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
26521 with __builtin_round.
26522 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
26523 with __builtin_roundf.
26524 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
26525 with __builtin_trunc.
26526 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
26527 with __builtin_truncf.
be080b6c
SN
26528 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
26529 and s_l[l]round[f].c too.
5062680c 26530
174935af
AM
265312017-10-23 Alan Modra <amodra@gmail.com>
26532
26533 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
26534 Adjust stack after restoring regs. Add missing LR cfi_restore.
26535
750a0e49
AM
265362017-10-23 Alan Modra <amodra@gmail.com>
26537
26538 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
26539 Move LR save and frame setup/teardown and LR restore to
26540 immediately around memset call. Provide cfi.
26541
5313581c
L
265422017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26543
26544 * sysdeps/i386/fpu/e_powf.S: Removed.
26545 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
26546 * sysdeps/i386/fpu/w_powf.c: Likewise.
26547 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
26548 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26549 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26550 Add e_powf-sse2.
26551 (CFLAGS-e_powf-sse2.c): New.
26552 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
26553 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
26554
6089a3ee
L
265552017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26556
26557 * sysdeps/i386/fpu/e_log2f.S: Removed.
26558 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
26559 * sysdeps/i386/fpu/w_log2f.c: Likewise.
26560 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
26561 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26562 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26563 Add e_log2f-sse2.
26564 (CFLAGS-e_log2f-sse2.c): New.
26565 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
26566 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
26567
80bb5935
L
265682017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26569
26570 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26571 Add e_powf-fma.
26572 (CFLAGS-e_powf-fma.c): New.
26573 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
26574 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
26575
5c7adbd8
L
265762017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26577
26578 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26579 Add e_log2f-fma.
26580 (CFLAGS-e_log2f-fma.c): New.
26581 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
26582 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
26583
0ccc7153
L
265842017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26585
26586 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26587 Add e_logf-fma.
26588 (CFLAGS-e_logf-fma.c): New.
26589 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
26590 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
26591
fe596486
L
265922017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26593
26594 * sysdeps/i386/fpu/e_logf.S: Removed.
26595 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
26596 * sysdeps/i386/fpu/w_logf.c: Likewise.
26597 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
26598 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
26599 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26600 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26601 Add e_logf-sse2.
26602 (CFLAGS-e_logf-sse2.c): New.
26603 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
26604 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
26605
7eda65f6
L
266062017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26607
26608 * sysdeps/i386/fpu/e_exp2f.S: Removed.
26609 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
26610 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
26611 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26612 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26613 Add e_exp2f-sse2.
26614 (CFLAGS-e_exp2f-sse2.c): New.
26615 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
26616 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
26617
5d15c969
L
266182017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26619
26620 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26621 Add e_exp2f-fma.
26622 (CFLAGS-e_exp2f-fma.c): New.
26623 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
26624 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
26625
b2f6137e
L
266262017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26627
26628 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
26629 * sysdeps/i386/fpu/e_expf.S: Likewise.
26630 * sysdeps/i386/fpu/math_errf.c: Likewise.
26631 * sysdeps/i386/fpu/w_expf.c: Likewise.
26632 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
26633 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
26634 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
26635 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
26636 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26637 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26638 Remove e_expf-ia32.
26639 (CFLAGS-e_expf-sse2.c): New.
26640 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
26641 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
26642
e1f59beb
L
266432017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26644
26645 * sysdeps/x86_64/fpu/e_expf.S: Removed.
26646 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
26647 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
26648 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
26649 e_expf.c.
26650 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
26651 New.
26652 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
26653 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
26654 Renamed to ...
26655 (__redirect_expf): This.
26656 (SYMBOL_NAME): Changed to expf.
26657 (__ieee754_expf): Renamed to ...
26658 (__expf): This.
26659 (__GI___expf): This.
26660 (__ieee754_expf): Add strong_alias.
26661 (__expf_finite): Likewise.
26662 (__expf): New.
26663 Include <sysdeps/ieee754/flt-32/e_expf.c>.
26664
363e4519 266652017-10-22 Paul Eggert <eggert@cs.ucla.edu>
a159b53f
PE
26666
26667 [BZ #22332]
26668 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
26669 unescaping.
26670
e80fc1fc
FW
266712017-10-21 Florian Weimer <fweimer@redhat.com>
26672
26673 * posix/Makefile (tests): Add tst-glob-tilde.
26674 (tests-special): Add tst-glob-tilde-mem.out
26675 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
26676 (tst-glob-tilde-mem.out): Add mtrace check.
26677 * posix/tst-glob-tilde.c: New file.
26678
797ba44b
JM
266792017-10-20 Joseph Myers <joseph@codesourcery.com>
26680
26681 * bits/floatn-common.h: New file.
26682 * math/Makefile (headers): Add bits/floatn-common.h.
26683 * bits/floatn.h: Include <bits/floatn-common.h>.
26684 * sysdeps/ia64/bits/floatn.h: Likewise.
26685 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
26686 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
26687 * sysdeps/powerpc/bits/floatn.h: Likewise.
26688 * sysdeps/x86/bits/floatn.h: Likewise.
26689
fe05e1cb
AZ
266902017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26691
8f6f5362
AZ
26692 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
26693 indicates whether compiler emits an warning for alias for
26694 functions with incompatible types.
26695
fe05e1cb
AZ
26696 [BZ #22273]
26697 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
26698 the auxiliary process is terminated by a signal before calling _exit
26699 or execve.
26700
b52b0d79
L
267012017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26702
26703 [BZ #21265]
26704 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
26705 New.
26706 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
26707 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
26708 and bit_arch_XSAVEC_Usable if needed.
26709 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
26710 and bit_arch_Use_dl_runtime_resolve_opt.
26711 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
26712 Removed.
26713 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
26714 (bit_arch_Prefer_No_AVX512): Updated.
26715 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
26716 (bit_arch_XSAVEC_Usable): New.
26717 (STATE_SAVE_OFFSET): Likewise.
26718 (STATE_SAVE_MASK): Likewise.
26719 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
26720 (cpu_features): Add xsave_state_size and xsave_state_full_size.
26721 (index_arch_Use_dl_runtime_resolve_opt): Removed.
26722 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
26723 (index_arch_XSAVEC_Usable): New.
26724 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
26725 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
26726 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
26727 is enabled.
26728 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
26729 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
26730 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
26731 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
26732 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
26733 _dl_runtime_resolve_xsavec.
26734 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
26735 Removed.
26736 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
26737 instead of VEC_SIZE.
26738 (REGISTER_SAVE_BND0): Removed.
26739 (REGISTER_SAVE_BND1): Likewise.
26740 (REGISTER_SAVE_BND3): Likewise.
26741 (REGISTER_SAVE_RAX): Always defined to 0.
26742 (VMOV): Removed.
26743 (_dl_runtime_resolve_avx): Likewise.
26744 (_dl_runtime_resolve_avx_slow): Likewise.
26745 (_dl_runtime_resolve_avx_opt): Likewise.
26746 (_dl_runtime_resolve_avx512): Likewise.
26747 (_dl_runtime_resolve_avx512_opt): Likewise.
26748 (_dl_runtime_resolve_sse): Likewise.
26749 (_dl_runtime_resolve_sse_vex): Likewise.
26750 (USE_FXSAVE): New.
26751 (_dl_runtime_resolve_fxsave): Likewise.
26752 (USE_XSAVE): Likewise.
26753 (_dl_runtime_resolve_xsave): Likewise.
26754 (USE_XSAVEC): Likewise.
26755 (_dl_runtime_resolve_xsavec): Likewise.
26756 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
26757 Removed.
26758 (_dl_runtime_resolve_avx512_opt): Likewise.
26759 (_dl_runtime_resolve_avx): Likewise.
26760 (_dl_runtime_resolve_avx_opt): Likewise.
26761 (_dl_runtime_resolve_sse): Likewise.
26762 (_dl_runtime_resolve_sse_vex): Likewise.
26763 (_dl_runtime_resolve_fxsave): New.
26764 (_dl_runtime_resolve_xsave): Likewise.
26765 (_dl_runtime_resolve_xsavec): Likewise.
26766
363e4519 267672017-10-20 Paul Eggert <eggert@cs.ucla.edu>
c369d66e
PE
26768
26769 [BZ #22320]
26770 CVE-2017-15670
26771 * posix/glob.c (__glob): Fix one-byte overflow.
26772
6d43de4b
WD
267732017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
26774
26775 * malloc/malloc.c (sysdep-cancel.h): Add include.
26776
a15d53e2
WD
267772017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
26778
26779 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
26780
b9a558e7
WH
267812017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
26782
26783 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
26784 (tests): Remove $(objpfx)ga_test depdendency.
26785 * resolv/ga_test.c: Remove file.
26786
b6b08b8e
MF
267872017-10-20 Mike FABIAN <mfabian@redhat.com>
26788
26789 [BZ #18812]
26790 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
26791 * localedata/locales/kab_DZ: New file.
26792
9ba7e810
L
267932017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26794
26795 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
26796 _dl_relocate_static_pie instead of _dl_start to compute load
26797 address in static PIE.
26798
4027a4fd
L
267992017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26800
26801 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
26802
2f9314b4
MF
268032017-10-20 Mike FABIAN <mfabian@redhat.com>
26804
26805 [BZ #13605]
26806 * localedata/SUPPORTED: Add shn_MM/UTF-8.
26807 * localedata/locales/shn_MM: New file.
26808
63b4baa4
FW
268092017-10-20 Florian Weimer <fweimer@redhat.com>
26810
26811 [BZ #22321]
26812 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
26813 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
26814 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
26815 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
26816 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
26817 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
26818
95ccb619
L
268192017-10-19 H.J. Lu <hongjiu.lu@intel.com>
26820
26821 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26822
37bb78cb
JM
268232017-10-19 Joseph Myers <joseph@codesourcery.com>
26824
76f2ed92
JM
26825 * sysdeps/mips/ieee754/bits/floatn.h: New file.
26826
37bb78cb
JM
26827 [BZ #22322]
26828 * sysdeps/mips/bits/long-double.h: Move to ....
26829 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
26830
d74e6f6c
WD
268312017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
26832
26833 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
26834
363e4519 268352017-10-19 Valery Reznic <valery_reznic@yahoo.com>
4d916f0f
L
26836 H.J. Lu <hongjiu.lu@intel.com>
26837
26838 [BZ #22299]
26839 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
26840 GLRO(dl_platform) to NULL.
26841 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
26842 (modules-names): Add tst-platformmod-1 and
26843 x86_64/tst-platformmod-2.
26844 (CFLAGS-tst-platform-1.c): New.
26845 (CFLAGS-tst-platformmod-1.c): Likewise.
26846 (CFLAGS-tst-platformmod-2.c): Likewise.
26847 (LDFLAGS-tst-platformmod-2.so): Likewise.
26848 ($(objpfx)tst-platform-1): Likewise.
26849 ($(objpfx)tst-platform-1.out): Likewise.
26850 (tst-platform-1-ENV): Likewise.
26851 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
26852 * sysdeps/x86_64/tst-platform-1.c: New file.
26853 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
26854 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
26855
4b0fa403
MF
268562017-10-19 Mike FABIAN <mfabian@redhat.com>
26857
26858 [BZ #13994]
26859 * locale/iso-639.def: Add Karbi.
26860 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
26861 * localedata/locales/mjw_IN: New file.
26862
81325b12
JM
268632017-10-18 Joseph Myers <joseph@codesourcery.com>
26864
26865 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
26866 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
26867 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
26868 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
26869 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
26870 (libm_alias_ldouble_other_r): Also create _Float128 alias.
26871 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
26872 <bits/floatn.h>.
26873 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
26874 (libm_alias_ldouble_other_r): Also create _Float128 alias.
26875 * manual/math.texi (Mathematics): Document additional architecture
26876 support for _Float128.
26877 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
26878 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
26879 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26880 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26881 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26882 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26883 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26884 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26885 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26886 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26887 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26888 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26889 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26890 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26891 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26892
a68ba2f3
SN
268932017-10-18 Renlin Li <renlin.li@arm.com>
26894
26895 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
26896 _DYNAMIC symbol to calculate load address.
26897
346729f6
PC
268982017-10-18 Paul A. Clarke <pc@us.ibm.com>
26899
26900 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
26901 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
26902 summary bits.
26903 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
26904 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
26905
508b1e71
MF
269062017-10-18 Mike FABIAN <mfabian@redhat.com>
26907
26908 [BZ #16777]
26909 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
26910 and improve readability by using more ASCII.
26911 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
26912 and improve readability by using more ASCII.
26913
2c2245b9
WD
269142017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
26915
26916 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
26917 not all targets support atomics on bool.
26918
13c92696
JM
269192017-10-17 Joseph Myers <joseph@codesourcery.com>
26920
26921 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
26922 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
26923 __f128.
26924 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26925 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
26926 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26927 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
26928 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26929 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
26930
71d85045
AZ
269312017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26932
26933 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
26934 defines.
26935
3381be5c
WD
269362017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26937
26938 [BZ #22159]
26939 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
26940 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
26941 (do_check_remalloced_chunk): Fix build bug.
26942 (do_check_malloc_state): Add assert that checks arena->top.
26943 (malloc_consolidate): Remove initialization.
26944 (int_mallinfo): Remove call to malloc_consolidate.
6b5c8607 26945 (__libc_mallopt): Clarify why malloc_consolidate is needed.
3381be5c 26946
e956075a
WD
269472017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26948
26949 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
26950 (have_fastchunks): Remove.
26951 (clear_fastchunks): Remove.
26952 (set_fastchunks): Remove.
26953 (malloc_state): Add have_fastchunks.
26954 (malloc_init_state): Use have_fastchunks.
26955 (do_check_malloc_state): Remove incorrect invariant checks.
26956 (_int_malloc): Use have_fastchunks.
26957 (_int_free): Likewise.
26958 (malloc_consolidate): Likewise.
26959
e4dd4ace
WD
269602017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26961
26962 * malloc/malloc.c (tcache_put): Inline.
26963 (tcache_get): Inline.
26964
5bf58bc7
AJ
269652017-10-17 Jordi Mallach <jordi@gnu.org>
26966
26967 Aurelien Jarno <aurelien@aurel32.net>
26968 [BZ #2522]
26969 * localedata/locales/ca_ES@valencia: New file.
26970 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
26971
386e1c26
RN
269722017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
26973
26974 [BZ #22296]
26975 * math/math.h: Let signbit use the builtin in C++ mode with gcc
26976 < 6.x
26977
4e17c78e
AZ
269782017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26979
3d265601
AZ
26980 * scripts/build-many-glibcs.py (Context.add_all_configs):
26981 Add arm-linux-gnueabihf multiarch extra_glibcs.
26982
4e17c78e
AZ
26983 * sysdeps/generic/ifunc-init.h: New file.
26984 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
26985
56a752ab
MF
269862017-10-17 Mike FABIAN <mfabian@redhat.com>
26987
26988 [BZ #22019]
26989 * localedata/locales/el_GR: Set n_cs_precedes to 0.
26990 * localedata/locales/el_CY: copy "el_GR" because it is identical.
26991 * stdlib/tst-strfmon_l.c: adapt test case.
26992
c38a4bfd
JM
269932017-10-16 Joseph Myers <joseph@codesourcery.com>
26994
26995 * sysdeps/generic/float128-abi.h: New file.
26996 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
26997 non-__prefixed symbols to ....
26998 * math/Versions: ... here. Include <float128-abi.h>.
26999 * stdlib/Versions ... and here. Include <float128-abi.h>
27000
76009b26
FW
270012017-10-16 Florian Weimer <fweimer@redhat.com>
27002
27003 * version.h (VERSION): Switch to ".9000" as the development
27004 version suffix.
27005
7ece6cd5
FW
270062017-10-16 Florian Weimer <fweimer@redhat.com>
27007
27008 [BZ #22050]
27009 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
27010 compat_symbol_reference to access non-default version.
27011
d8287b36
FW
270122017-10-16 Florian Weimer <fweimer@redhat.com>
27013
27014 * malloc/Makefile (others-extras): Set to mcheck-init.o.
27015
3480ddc4
CD
270162017-10-16 Carlos O'Donell <carlos@redhat.com>
27017
27018 * include/shlib-compat.h (compat_symbol_reference): Update
27019 comment.
27020
02010e79
JM
270212017-10-16 Joseph Myers <joseph@codesourcery.com>
27022
596f7013
JM
27023 * math/Makefile (test-types): Add
27024 $(type-float128-$(float128-alias-fcts)).
27025 * math/test-float128.h (TYPE_STR): Define conditional on
27026 [FLT128_MANT_DIG == LDBL_MANT_DIG].
27027 (ULP_IDX): Likewise.
27028 (ULP_I_IDX): Likewise.
27029
02010e79
JM
27030 * stdlib/strtold.c: Include <bits/floatn.h>
27031 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
27032 and later undefine as macro. Define as weak alias if
27033 [!USE_WIDE_CHAR].
27034 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
27035 and later undefine as macro. Define as weak alias if
27036 [USE_WIDE_CHAR].
27037 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
27038 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
27039 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27040 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
27041 Define and later undefine as macro. Define as weak alias if
27042 [USE_WIDE_CHAR].
27043 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
27044 <bits/floatn.h>.
27045 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
27046 Define and later undefine as macro. Define as weak alias if
27047 [!USE_WIDE_CHAR].
27048 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
27049 Define and later undefine as macro. Define as weak alias if
27050 [USE_WIDE_CHAR].
27051
ea91c315
CD
270522017-10-15 Carlos O'Donell <carlos@redhat.com>
27053
27054 * localedata/collate-test.c (allocate_arrays): Don't use \n in
27055 record_verbose messages.
27056
8e57c943
L
270572017-10-15 H.J. Lu <hongjiu.lu@intel.com>
27058
27059 [BZ #22052]
27060 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
27061 to silence -O3 -Wall warning with GCC 7.
27062
a4777c46
L
270632017-10-14 H.J. Lu <hongjiu.lu@intel.com>
27064
27065 * Makeconfig (+link-static-before-libc): Use the first of
27066 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
27067 * gmon/Makefile (tests): Add tst-gmon-static.
27068 (tests-static): Likewise.
27069 (CFLAGS-tst-gmon-static.c): New.
27070 (CRT-tst-gmon-static): Likewise.
27071 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
27072 (tst-gmon-static-ENV): Likewise.
27073 (tests-special): Likewise.
27074 ($(objpfx)tst-gmon-static.out): Likewise.
27075 (clean-tst-gmon-static-data): Likewise.
27076 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
27077 * gmon/tst-gmon-static-gprof.sh: New file.
27078 * gmon/tst-gmon-static.c: Likewise.
27079
bc3821bb
CD
270802017-10-13 Carlos O'Donell <carlos@redhat.com>
27081
27082 [BZ #22295]
27083 * locale/programs/linereader.c (get_string): Don't warn on
27084 non-symbolic character.
27085
a3e23a2c
CD
27086 [BZ #22294]
27087 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
27088 int_curr_symbol.
27089
f16491eb
CD
27090 [BZ #22292]
27091 * locale/programs/record-status.h: New file
27092 * locale/programs/locale.c: Add comment.
27093 * locale/programs/charmap-dir.c: Don't include error.h.
27094 (charmap_opendir): Use record_error.
27095 * locale/programs/charmap.c: Don't include error.h.
27096 (charmap_read): Use record_error, and record_warning.
27097 (parse_charmap): Likewise.
27098 * locale/programs/ld-address.c: Don't include error.h.
27099 (address_finish): Use record_error, and record_warning.
27100 * locale/programs/ld-collate.c: Don't include error.h.
27101 (collate_finish): Use record_error, and record_error_at_line.
27102 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
27103 (ctype_class_new): Likewise.
27104 (ctype_map_new): Likewise.
27105 (set_one_default): Likewise.
27106 (set_class_defaults): Likewise.
27107 (translit_flatten): Likewise.
27108 (allocate_arrays): Use record_error, and record_verbose.
27109 * locale/programs/ld-identification.c: Don't include error.h.
27110 (indentation_finish): Use record_error and record_warning.
27111 * locale/programs/ld-measurement.c: Don't include error.h.
27112 (measurement_finish): Use record_error.
27113 * locale/programs/ld-messages.c
27114 (message_finish): Likewise.
27115 * locale/programs/ld-monetary.c
27116 (monetary_finish): Likewise.
27117 * locale/programs/ld-name.c (name_finish): Use record_error
27118 and record_warning.
27119 * locale/programs/ld-numeric.c
27120 (numeric_finish): Use record_error.
27121 * locale/programs/ld-paper.c: Don't include error.h.
27122 (paper_finish): Use record_error.
27123 * locale/programs/ld-telephone.c: Don't include error.h.
27124 (telephone_finish): Use record_error.
27125 * locale/programs/ld-time.c (time_finish): Likewise.
27126 * locale/programs/linereader.h (lr_error): Make inline func.
27127 * locale/programs/localedef.c: Define recorded_warning_count,
27128 and recorded_error_count.
27129 (main): Use record_error. Use recorded_error_count and
27130 recorded_warning_count to issue correct error returns.
27131 (add_to_readlist): Use record_error.
27132 (find_locale): Likewise.
27133 (load_locale): Likewise.
27134 * locale/programs/localedef.h: Remove be_quiet
27135 and WITH_CUR_LOCALE.
27136 * locale/programs/locarchive.c (compare_from_file): Use
27137 record_error.
27138 * locale/programs/locfile.c (write_locale_data): Use
27139 record_error.
27140 * locale/programs/repertoire.c: Dont include error.h.
27141 (repertoire_complain): Use record_error.
27142 * localedata/tst-fmon.sh: Expect failures from localedef.
27143 * localedata/tst-locale.sh: Likewise.
27144 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
27145
8dc8be75
CD
27146 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
27147 (REPORTS): Likewise.
27148 (check): Likewise.
27149 (i18n): Rename to...
27150 (i18n_ctype): ...this.
27151 (i18n-report): Rename to...
27152 (i18n_ctype-report): ...this.
27153 * localedata/locales/i18n_ctype: Regenerate.
27154 * localedata/locales/i18n: copy i18n_ctype.
27155
f8718a9e
JM
271562017-10-13 Joseph Myers <joseph@codesourcery.com>
27157
18c08b96
JM
27158 * stdlib/strfroml.c: Include <bits/floatn.h>.
27159 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
27160 Define before include of <stdlib.h> and undefine afterwards, then
27161 define as weak alias.
27162
f8718a9e
JM
27163 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
27164 Undefine and restore default definition. Use
27165 libm_alias_ldouble_other.
27166
e4f530da
PZ
271672017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
27168
27169 [BZ #22153]
27170 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
27171 in coredumps.
27172
86445888
JC
271732017-10-13 James Clarke <jrtc27@jrtc27.com>
27174
27175 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27176 Assign sym_map to be map for local symbols, as TLS relocations
27177 use sym_map to determine whether the symbol is defined and to
27178 extract the TLS information.
27179 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27180 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27181
179dcdb7
TMQMF
271822017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27183
e8dbd6a3
TMQMF
27184 [BZ #22189]
27185 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
27186 (math_force_eval): Add powerpc version.
27187
179dcdb7
TMQMF
27188 [BZ #22142]
27189 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
27190 -DBL_MAX.
27191 (do_test): Likewise.
27192 * stdio-common/tst-printf.sh: Likewise.
27193 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
27194 ifdef clause in order to set the carry bit right. Replace r0 by
27195 0 without changing the behavior.
27196
7d25d410
JM
271972017-10-13 Joseph Myers <joseph@codesourcery.com>
27198
006e7664
JM
27199 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
27200 <libm-alias-ldouble.h>.
27201 (fabsl): Define using libm_alias_ldouble.
27202 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
27203 <libm-alias-ldouble.h>.
27204 (fabsl): Define using libm_alias_ldouble.
27205
1def91b3
JM
27206 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
27207 Remove conditional code.
27208
7d25d410
JM
27209 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
27210 Rename to __clog10_internal_l.
27211 (__clog10_internal_l): Define aliases using
27212 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
27213 with __clog10.
27214
077ee129
RS
272152017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27216
27217 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
27218 * benchtests/sincosf-inputs: New file.
27219 * benchtests/cosf-inputs: New file.
27220 * benchtests/sinf-inputs: New file.
27221
5ba41de9
SN
272222017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
27223
27224 * posix/tst-spawn.c (do_test): Wait for both children.
27225
d165ca64
L
272262017-10-12 H.J. Lu <hongjiu.lu@intel.com>
27227
27228 [BZ #22284]
27229 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
27230 tests-pie): Add tst-gmon-pie.
27231 (CFLAGS-tst-gmon-pie.c): New.
27232 (CRT-tst-gmon-pie): Likewise.
27233 (tst-gmon-pie-ENV): Likewise.
27234 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
27235 ($(objpfx)tst-gmon-pie.out): Likewise.
27236 (clean-tst-gmon-pie-data): Likewise.
27237 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
27238 * gmon/gmon.c [PIC]: Include <link.h>.
27239 [PIC] (callback): New function.
27240 (write_hist): Add an argument for load address. Subtract load
27241 address from PCs.
27242 (write_call_graph): Likewise.
27243 (write_gmon): Call __dl_iterate_phdr to get load address, pass
27244 it to write_hist and write_call_graph.
7bacdcfc 27245 * gmon/tst-gmon-pie.c: New file.
d165ca64 27246
bc9620d0
JM
272472017-10-11 Joseph Myers <joseph@codesourcery.com>
27248
27249 * math/Makefile (test-types-basic): New variable.
27250 (test-types): Likewise.
27251 (libm-test-support): Use $(test-types) instead of $(types).
27252 (libm-tests-base-normal): Likewise.
27253 (libm-tests-base-finite): Likewise.
27254 (libm-tests-base-inline): Likewise.
27255 (generated): Likewise.
27256 ($(objpfx)libm-test-support-$(t).c): Likewise.
27257 (libm-tests-for-type iterator): Likewise.
27258 (libm-test-support iterator): Likewise.
27259 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
27260 (ulp_idx): Use ULP_IDX.
27261 * math/test-ldouble.h: Include <float.h>.
27262 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
27263 (ULP_IDX): New macro.
27264 (ULP_I_IDX): Likewise.
27265 * math/test-double.h (ULP_IDX): Likewise.
27266 (ULP_I_IDX): Likewise.
27267 * math/test-float.h (ULP_IDX): Likewise.
27268 (ULP_I_IDX): Likewise.
27269 * math/test-float128.h (ULP_IDX): Likewise.
27270 (ULP_I_IDX): Likewise.
27271
09c76a74
AZ
272722017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27273
27274 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
27275 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27276 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27277 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
27278 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27279 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
27280 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
27281 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27282 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27283 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27284 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
27285 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27286 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27287 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
27288 (SINGLE_THREAD_BY_GLOBAL): Define.
27289 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27290 Likewise.
27291 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27292 Likewise.
27293 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27294 Likewise.
27295 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27296 Likewise.
27297 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
27298 (SINGLE_THREAD_BY_GLOBAL): Likewise.
27299 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27300 Likewise.
27301
2faa42da
AS
273022017-10-11 Andreas Schwab <schwab@suse.de>
27303
27304 * nis/Makefile (aux): Remove.
27305 * nscd/Makefile (aux): Add nscd_hash.
27306 (nscd-modules): Likewise.
27307 ($(objpfx)nscd): Don't depend on libnsl.
27308 * nscd/nscd_hash.c: New file.
27309 * nscd/nscd_hash.h: Likewise.
27310 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
27311 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
27312 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
27313 instead of <nis/rpcsvc/nis.h>.
27314 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
27315
d8425e11
FW
273162017-10-11 Florian Weimer <fweimer@redhat.com>
27317
27318 [BZ #22078]
27319 Avoid large NSS buffers with many addresses, aliases.
27320 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
27321 using dynarrays and struct alloc_buffer.
27322 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
27323 (tst-nss-files-hosts-multi): Link with -ldl.
27324 * nss/tst-nss-files-hosts-multi.c: New file.
27325
78e806fd
FW
273262017-10-11 Florian Weimer <fweimer@redhat.com>
27327
27328 [BZ #18023]
27329 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
27330 scratch_buffer. Eliminate gotos.
27331
541f19ba
JM
273322017-10-11 Joseph Myers <joseph@codesourcery.com>
27333
0ff64d3a
JM
27334 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
27335 libm_alias_ldouble_other.
27336 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
27337 undefine and redefine.
27338 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
27339 (exp10l): Do not define here.
27340 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
27341 (weak_alias): Undefine and redefine.
27342 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
27343 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
27344 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
27345 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
27346
541f19ba
JM
27347 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
27348 [!__fma] (fma): Define using libm_alias_double.
27349 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
27350 [!__fmaf] (fmaf): Define using libm_alias_float.
27351 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
27352 (fmal): Define using libm_alias_ldouble.
27353
24b6515d
JM
273542017-10-10 Joseph Myers <joseph@codesourcery.com>
27355
27356 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
27357 New macro.
27358 (libm_alias_double_other): Likewise.
27359 (libm_alias_double_r): Use libm_alias_double_other_r.
27360 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
27361 New macro.
27362 (libm_alias_float_other): Likewise.
27363 (libm_alias_float_r): Use libm_alias_float_other_r.
27364 * sysdeps/generic/libm-alias-float128.h
27365 (libm_alias_float128_other_r): New macro.
27366 (libm_alias_float128_other): Likewise.
27367 (libm_alias_float128_r): Use libm_alias_float128_other_r.
27368 * sysdeps/generic/libm-alias-ldouble.h
27369 (libm_alias_ldouble_other_r): New macro.
27370 (libm_alias_ldouble_other): Likewise.
27371 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
27372 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
27373 (libm_alias_double_other_r): New macro.
27374 (libm_alias_double_other): Likewise.
27375 (libm_alias_double_r): Use libm_alias_double_other_r.
27376 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
27377 (libm_alias_ldouble_other_r): New macro.
27378 (libm_alias_ldouble_other): Likewise.
27379 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
27380 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
27381 [!USE_AS_COMPAT]: Use libm_alias_double_other.
27382 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
27383 [!USE_AS_COMPAT]: Use libm_alias_float_other.
27384 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
27385 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
27386 * math/w_exp2f.c: Use libm_alias_float_other.
27387 * math/w_expf.c: Likewise.
27388 * math/w_log2f.c: Likewise.
27389 * math/w_logf.c: Likewise.
27390 * math/w_powf.c: Likewise.
27391 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
27392 [!__exp2f]: Use libm_alias_float_other.
27393 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
27394 [!__expf]: Use libm_alias_float_other.
27395 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
27396 [!__log2f]: Use libm_alias_float_other.
27397 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
27398 [!__logf]: Use libm_alias_float_other.
27399 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
27400 [!__powf]: Use libm_alias_float_other.
27401
8ed70de2
FW
274022017-10-10 Florian Weimer <fweimer@redhat.com>
27403
27404 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
27405 function.
27406 (_nss_files_gethostbyname3_r): Call it.
27407
a8dce619
JM
274082017-10-09 Joseph Myers <joseph@codesourcery.com>
27409
27410 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
27411 error. Remove default definition of declare_mgen_alias.
27412 [!declare_mgen_alias_r]: Likewise.
27413 * sysdeps/generic/math-type-macros-double.h
27414 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
27415 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
27416 (declare_mgen_alias_r): Likewise.
27417 * sysdeps/generic/math-type-macros-float128.h
27418 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
27419 * sysdeps/generic/math-type-macros-ldouble.h
27420 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
27421 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
27422 macro.
27423 (declare_mgen_alias_r_s): Likewise.
27424 (declare_mgen_alias_r): Likewise.
27425 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
27426 (lgamma_r): Define using libm_alias_double_r.
27427 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
27428 (lgammaf_r): Define using libm_alias_float_r.
27429 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
27430 (lgammal_r): Define using libm_alias_ldouble_r.
27431 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
27432 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
27433
bedac136
AZ
274342017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27435
27436 * lib/glob.c (__glob_pattern_type): Remove now-spurious
27437 extern declaration.
27438
c7509db2
JM
274392017-10-09 Joseph Myers <joseph@codesourcery.com>
27440
27441 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
27442
d6c064e9
JW
274432017-10-09 Jonathan Wakely <jwakely@redhat.com>
27444
27445 [BZ #21326]
27446 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
27447 [__cplusplus >= 201103] (__USE_ISOC99): Define.
27448 * math/Makefile (test-math-cxx11): New test.
27449 * math/test-math-cxx11.cc: New file.
27450
98e07420
CB
274512017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
27452
27453 * login/openpty.c (openpty): Close slave pty file descriptor on error.
27454
645ac9aa
CB
27455 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
27456 call to allocate the slave pty file descriptor.
27457
fd3b4e7c
JM
274582017-10-06 Joseph Myers <joseph@codesourcery.com>
27459
f85a176f
JM
27460 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
27461 [!__fma] (fma): Define using libm_alias_double.
27462 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
27463 [!__fma] (fma): Define using libm_alias_double.
27464
fd3b4e7c
JM
27465 * sysdeps/ieee754/float128/float128_private.h: Include
27466 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
27467 (libm_alias_ldouble_r): Undefine and redefine.
27468 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
27469 <libm-alias-ldouble.h>.
27470 (asinhl): Define using libm_alias_ldouble.
27471 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
27472 <libm-alias-ldouble.h>.
27473 (atanl): Define using libm_alias_ldouble.
27474 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
27475 <libm-alias-ldouble.h>.
27476 (cbrtl): Define using libm_alias_ldouble.
27477 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
27478 <libm-alias-ldouble.h>.
27479 (ceill): Define using libm_alias_ldouble.
27480 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
27481 <libm-alias-ldouble.h>.
27482 (copysignl): Define using libm_alias_ldouble.
27483 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
27484 <libm-alias-ldouble.h>.
27485 (cosl): Define using libm_alias_ldouble.
27486 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
27487 <libm-alias-ldouble.h>.
27488 (erfl): Define using libm_alias_ldouble.
27489 (erfcl): Likewise.
27490 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
27491 <libm-alias-ldouble.h>.
27492 (expm1l): Define using libm_alias_ldouble.
27493 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
27494 <libm-alias-ldouble.h>.
27495 (fabsl): Define using libm_alias_ldouble.
27496 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
27497 <libm-alias-ldouble.h>.
27498 (floorl): Define using libm_alias_ldouble.
27499 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
27500 <libm-alias-ldouble.h>.
27501 (fmal): Define using libm_alias_ldouble.
27502 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
27503 <libm-alias-ldouble.h>.
27504 (frexpl): Define using libm_alias_ldouble.
27505 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
27506 libm_alias_ldouble.
27507 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
27508 <libm-alias-ldouble.h>.
27509 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
27510 libm_alias_ldouble.
27511 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
27512 <libm-alias-ldouble.h>.
27513 (getpayloadl): Define using libm_alias_ldouble.
27514 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
27515 <libm-alias-ldouble.h>.
27516 (llrintl): Define using libm_alias_ldouble.
27517 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
27518 <libm-alias-ldouble.h>.
27519 (llroundl): Define using libm_alias_ldouble.
27520 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
27521 <libm-alias-ldouble.h>.
27522 (logbl): Define using libm_alias_ldouble.
27523 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
27524 <libm-alias-ldouble.h>.
27525 (lrintl): Define using libm_alias_ldouble.
27526 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
27527 <libm-alias-ldouble.h>.
27528 (lroundl): Define using libm_alias_ldouble.
27529 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
27530 <libm-alias-ldouble.h>.
27531 (modfl): Define using libm_alias_ldouble.
27532 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
27533 <libm-alias-ldouble.h>.
27534 (nearbyintl): Define using libm_alias_ldouble.
27535 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
27536 <libm-alias-ldouble.h>.
27537 (nextafterl): Define using libm_alias_ldouble.
27538 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
27539 <libm-alias-ldouble.h>.
27540 (nextupl): Define using libm_alias_ldouble.
27541 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
27542 <libm-alias-ldouble.h>.
27543 (remquol): Define using libm_alias_ldouble.
27544 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
27545 <libm-alias-ldouble.h>.
27546 (rintl): Define using libm_alias_ldouble.
27547 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
27548 <libm-alias-ldouble.h>.
27549 (roundevenl): Define using libm_alias_ldouble.
27550 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
27551 <libm-alias-ldouble.h>.
27552 (roundl): Define using libm_alias_ldouble.
27553 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
27554 using libm_alias_ldouble.
27555 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
27556 <libm-alias-ldouble.h>.
27557 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
27558 Define using libm_alias_ldouble.
27559 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
27560 <libm-alias-ldouble.h>.
27561 (sincosl): Define using libm_alias_ldouble.
27562 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
27563 <libm-alias-ldouble.h>.
27564 (sinl): Define using libm_alias_ldouble.
27565 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
27566 <libm-alias-ldouble.h>.
27567 (tanhl): Define using libm_alias_ldouble.
27568 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
27569 <libm-alias-ldouble.h>.
27570 (tanl): Define using libm_alias_ldouble.
27571 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
27572 <libm-alias-ldouble.h>.
27573 (totalorderl): Define using libm_alias_ldouble.
27574 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
27575 <libm-alias-ldouble.h>.
27576 (totalordermagl): Define using libm_alias_ldouble.
27577 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
27578 <libm-alias-ldouble.h>.
27579 (truncl): Define using libm_alias_ldouble.
27580 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
27581 libm_alias_ldouble.
27582 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
27583 libm_alias_ldouble.
27584 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
27585 <libm-alias-ldouble.h>.
27586 (weak_alias): Do not undefine and redefine.
27587 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27588 (copysignl): Define with long_double_symbol only if [IS_IN
27589 (libc)].
27590 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
27591 <libm-alias-ldouble.h>.
27592 (weak_alias): Do not undefine and redefine.
27593 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27594 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
27595 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
27596 <libm-alias-ldouble.h>.
27597 (weak_alias): Do not undefine and redefine.
27598 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27599 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
27600 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
27601 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
27602 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
27603 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
27604 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
27605 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
27606 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
27607 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
27608 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
27609 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
27610 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
27611 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
27612 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
27613 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
27614 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
27615 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
27616 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
27617 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
27618 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
27619 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
27620 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
27621 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
27622 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
27623 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
27624
1e26d351
CD
276252017-10-06 Carlos O'Donell <carlos@redhat.com>
27626
27627 [BZ #22111]
27628 * malloc/malloc.c (tcache_shutting_down): Use bool type.
27629 (tcache_thread_freeres): Set tcache_shutting_down before
27630 freeing the tcache.
27631 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
27632 * malloc/tst-malloc-tcache-leak.c: New file.
27633
d1386762
RS
276342017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27635
27636 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
27637 back to powerpc32 file.
27638 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
27639 (memrchr): Add __memrchr_power8 to ifunc list.
27640 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
27641 extra bytes for unaligned inputs.
27642
6dff1983
JM
276432017-10-06 Joseph Myers <joseph@codesourcery.com>
27644
27645 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
27646 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
27647 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
27648 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
27649 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
27650
86f9568a
JM
276512017-10-05 Joseph Myers <joseph@codesourcery.com>
27652
0db0b931
JM
27653 * sysdeps/arm/libm-test-ulps: Update.
27654
86f9568a
JM
27655 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
27656 <libm-alias-ldouble.h>.
27657 (asinhl): Define using libm_alias_ldouble.
27658 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
27659 <libm-alias-ldouble.h>.
27660 (cbrtl): Define using libm_alias_ldouble.
27661 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
27662 <libm-alias-ldouble.h>.
27663 (copysignl): Define using libm_alias_ldouble.
27664 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
27665 <libm-alias-ldouble.h>.
27666 (cosl): Define using libm_alias_ldouble.
27667 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
27668 <libm-alias-ldouble.h>.
27669 (erfl): Define using libm_alias_ldouble.
27670 (erfcl): Likewise.
27671 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
27672 <libm-alias-ldouble.h>.
27673 (fmal): Define using libm_alias_ldouble.
27674 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
27675 <libm-alias-ldouble.h>.
27676 (frexpl): Define using libm_alias_ldouble.
27677 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
27678 libm_alias_ldouble.
27679 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
27680 <libm-alias-ldouble.h>.
27681 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
27682 libm_alias_ldouble.
27683 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
27684 <libm-alias-ldouble.h>.
27685 (getpayloadl): Define using libm_alias_ldouble.
27686 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
27687 <libm-alias-ldouble.h>.
27688 (llrintl): Define using libm_alias_ldouble.
27689 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
27690 <libm-alias-ldouble.h>.
27691 (llroundl): Define using libm_alias_ldouble.
27692 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
27693 <libm-alias-ldouble.h>.
27694 (lrintl): Define using libm_alias_ldouble.
27695 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
27696 <libm-alias-ldouble.h>.
27697 (lroundl): Define using libm_alias_ldouble.
27698 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
27699 <libm-alias-ldouble.h>.
27700 (modfl): Define using libm_alias_ldouble.
27701 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
27702 <libm-alias-ldouble.h>.
27703 (nextupl): Define using libm_alias_ldouble.
27704 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
27705 <libm-alias-ldouble.h>.
27706 (remquol): Define using libm_alias_ldouble.
27707 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
27708 <libm-alias-ldouble.h>.
27709 (roundevenl): Define using libm_alias_ldouble.
27710 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
27711 <libm-alias-ldouble.h>.
27712 (roundl): Define using libm_alias_ldouble.
27713 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
27714 using libm_alias_ldouble.
27715 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
27716 <libm-alias-ldouble.h>.
27717 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
27718 <libm-alias-ldouble.h>.
27719 (setpayloadsigl): Define using libm_alias_ldouble.
27720 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
27721 <libm-alias-ldouble.h>.
27722 (sincosl): Define using libm_alias_ldouble.
27723 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
27724 <libm-alias-ldouble.h>.
27725 (sinl): Define using libm_alias_ldouble.
27726 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
27727 <libm-alias-ldouble.h>.
27728 (tanhl): Define using libm_alias_ldouble.
27729 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
27730 <libm-alias-ldouble.h>.
27731 (tanl): Define using libm_alias_ldouble.
27732 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
27733 <libm-alias-ldouble.h>.
27734 (totalorderl): Define using libm_alias_ldouble.
27735 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
27736 <libm-alias-ldouble.h>.
27737 (totalordermagl): Define using libm_alias_ldouble.
27738 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
27739 libm_alias_ldouble.
27740 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
27741 libm_alias_ldouble.
27742
9ec87fd2
SP
277432017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
27744
dd5bc7f1
SP
27745 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
27746 memmove_falkor.
27747 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
27748 (__libc_ifunc_impl_list): Likewise.
27749 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
27750 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
27751
5bfb0404
SP
27752 * benchtests/bench-memmove-walk.c: New file.
27753 * benchtests/Makefile (string-benchset): Add it.
27754
36bb8edf
SP
27755 * benchtests/bench-memset-walk.c: New file.
27756 * benchtests/Makefile (string-benchset): Add it.
27757
9ec87fd2
SP
27758 * benchtests/bench-memcpy-walk.c: New file.
27759 * benchtests/Makefile (string-benchset): Add it.
27760
1e9522c6
FW
277612017-10-05 Florian Weimer <fweimer@redhat.com>
27762
27763 nscd: Eliminate compilation time dependency in the build output.
27764 * nscd/nscd_stat.c (STATDATA_VERSION)
27765 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
27766 (STATDATA_VERSION_FULL): New macro definitions.
27767 (compilation): Remove.
27768 (struct statdata): Adjust version member.
27769 (send_stats): Set version from STATDATA_VERSION_FULL.
27770 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
27771
644d3857
JM
277722017-10-05 Joseph Myers <joseph@codesourcery.com>
27773
27774 * configure.ac (--enable-add-ons): Remove option.
27775 (machine): Do not mention add-ons in comment.
27776 (LIBC_PRECONFIGURE): Likewise.
27777 (add_ons): Remove variable and sanity checks and logic to locate
27778 add-ons.
27779 (add_ons_automatic): Remove variable.
27780 (configured_add_ons): Likewise.
27781 (add_ons_sfx): Likewise.
27782 (add_ons_pfx): Likewise.
27783 (add_on_subdirs): Likewise.
27784 (sysnames_add_ons): Likewise. Remove loop over add-ons and
27785 consideration of add-ons in Implies handling.
27786 (sysdeps_add_ons): Likewise.
27787 * configure: Regenerated.
27788 * libidn/configure.ac: Remove.
27789 * libidn/configure: Likewise.
27790 * sysdeps/unix/inet/configure.ac: New file.
27791 * sysdeps/unix/inet/configure: New generated file.
27792 * sysdeps/unix/inet/Subdirs: Add libidn.
27793 * Makeconfig (sysdeps-srcdirs): Remove variable.
27794 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
27795 ($(common-objpfx)config.status): Do not depend on add-on files.
27796 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
27797 comment.
27798 (all-subdirs): Do not include $(add-on-subdirs).
27799 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
27800 * config.make.in (add-ons): Remove variable.
27801 (add-on-subdirs): Likewise.
27802 (sysdeps-add-ons): Likewise.
27803 * manual/Makefile (add-chapters): Remove.
27804 ($(objpfx)texis): Do not depend on $(add-chapters).
27805 (nonexamples): Do not handle $(add-chapters).
27806 (examples): Do not handle $(add-ons).
27807 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
27808 libc-texinfo.sh.
27809 * manual/install.texi (Installation): Do not mention add-ons.
27810 (--enable-add-ons): Do not document configure option.
27811 * INSTALL: Regenerated.
27812 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
27813 * manual/maint.texi (Hierarchy Conventions): Do not mention
27814 add-ons.
27815 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
27816 --enable-add-ons.
27817 * scripts/gen-sorted.awk: Do not handle Subdirs files from
27818 add-ons.
27819 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
27820 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
27821
19f82f35
AS
278222017-10-05 Andreas Schwab <schwab@suse.de>
27823
27824 [BZ #15142]
27825 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
27826 (_IO_flush_all_lockp): Always lock list_all_lock.
27827 (_IO_flush_all_linebuffered): Likewise.
27828 (_IO_unbuffer_all): Likewise.
27829
91e7cf98
FW
278302017-10-05 Florian Weimer <fweimer@redhat.com>
27831
27832 [BZ #15436]
27833 Do not flush stdio streams on abort.
27834 * stdlib/abort.c (fflush): Remove macro definition.
27835 (abort): Remove stages related to stdio flushing.
27836
0c251257
FW
278372017-10-05 Florian Weimer <fweimer@redhat.com>
27838
27839 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
27840
7ea59e3e
SL
278412017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
27842
27843 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
27844
84d0e6f0
FW
278452017-10-05 Florian Weimer <fweimer@redhat.com>
27846
27847 * support/support_format_hostent.c (support_format_hostent): Add
27848 more error information for NETDB_INTERNAL.
27849
ee417882
L
278502017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27851
27852 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
27853 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
27854 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
27855 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
27856 AC_DEFINE if multi-arch is enabled.
27857 * sysdeps/i386/configure: Regenerated.
27858
a67029ff
L
278592017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27860
27861 * Makeconfig (+link-static-before-libc): Use
27862 $(DEFAULT-LDFLAGS-$(@F)).
27863 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
27864 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
27865 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
27866
5dba84b3
L
278672017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27868
27869 * elf/Makefile (tests): Add tst-main1.
27870 (modules-names): Add tst-main1mod.
27871 ($(objpfx)tst-main1): New.
27872 (CRT-tst-main1): Likewise.
27873 (LDFLAGS-tst-main1): Likewise.
27874 (LDLIBS-tst-main1): Likewise.
27875 (tst-main1mod.so-no-z-defs): Likewise.
27876 * elf/tst-main1.c: New file.
27877 * elf/tst-main1mod.c: Likewise.
27878
758f1bfa
L
278792017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27880
27881 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
27882
7e16a5d1
JM
278832017-10-04 Joseph Myers <joseph@codesourcery.com>
27884
27885 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
27886 (fma): Define using libm_alias_double.
27887 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
27888 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
27889 <math_ldbl_opt.h>.
27890 (fmal): Do not define as compat symbol here.
27891 * sysdeps/alpha/fpu/s_fma.c: New file.
27892
db4f87ba
SN
278932017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27894
27895 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
27896
72d13ed1
JM
278972017-10-04 Joseph Myers <joseph@codesourcery.com>
27898
32d372d5
JM
27899 [BZ #22229]
27900 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
27901 <math_ldbl_opt.h>
27902 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
27903 and libc.
27904 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
27905 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
27906 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
27907 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
27908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27909 Include <math_ldbl_opt.h>
27910 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
27911 and libc.
27912 (compat_symbol): Undefine and redefine.
27913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
27914 <math_ldbl_opt.h>
27915 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
27916 (compat_symbol): Undefine and redefine.
27917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
27918 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
27919 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
27920 GLIBC_2_1 for libm.
27921 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
27922 GLIBC_2.0 copysignl symbol.
27923 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
27924 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
27925
72d13ed1
JM
27926 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
27927
11c4f501
FW
279282017-10-04 Florian Weimer <fweimer@redhat.com>
27929
27930 * scripts/check-local-headers.sh: Ignore nspr4 header file
27931 directory in addition to nspr.
27932
57b4af19
GT
279332017-10-04 Guido Trentalancia <guido@trentalancia.net>
27934
27935 [BZ #17956]
27936 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
27937 * configure: Regenerate.
27938 * crypt/Makefile (nss-cpp-flags): New variable.
27939 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
27940 (CPPFLAGS-md5-crypt.c): Use it.
27941 * scripts/check-local-headers.sh: Ignore nspr header file
27942 directory.
27943
64d1e08e
AS
279442017-10-04 Andreas Schwab <schwab@suse.de>
27945
27946 * nis/Makefile (services): Remove compat.
27947 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
27948 ($(objpfx)libnss_compat.so): Remove rule.
27949 * nis/Versions (libnss_compat): Remove.
27950 * nss/Makefile (services): Add compat.
27951 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
27952 * nss/Versions (libnss_compat): Define.
27953 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
27954 Don't include <rpc/types.h>. Replace bool_t by bool.
27955 * nss/nss_compat/compat-initgroups.c: Likewise.
27956 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
27957 instead of <rpcsrv/ypclnt.h>.
27958 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
27959 yp_get_default_domain.
27960 * nss/nss_compat/compat-pwd.c: Likewise.
27961 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
27962 yp_get_default_domain.
27963 * nss/nss_compat/nisdomain.c: New file.
27964 * nss/nss_compat/nisdomain.h: Likewise.
27965
86c27ade
SN
279662017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27967
27968 [BZ #22244]
27969 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
27970 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27971
8f8f8ef7
SN
279722017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27973
27974 [BZ #22243]
27975 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
27976 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
27977
95577475
L
279782017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27979
27980 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
27981 "movl main@GOTOFF(%ebx), %eax".
27982
02d2d892
L
279832017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27984
27985 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
27986 allow undefined _DYNAMIC in PIE libc.a.
27987 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
27988 Likewse.
27989
0c609d19
L
279902017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27991
27992 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
27993 check _DYNAMIC.
27994
c34a19ed
L
279952017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27996
27997 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
27998 check _DYNAMIC.
27999
cdd4155d
L
280002017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28001
28002 * math/test-math-iscanonical.cc (error): Replace bool with int.
28003
4699cb8b
JM
280042017-10-03 Joseph Myers <joseph@codesourcery.com>
28005
d8f619b3
JM
28006 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
28007 (modf): Define using libm_alias_double, only if [!__modf].
28008 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
28009 <libm-alias-double.h>.
28010 (modf): Define using libm_alias_double, only if [!__modf].
28011 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
28012 compat symbol here.
28013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
28014 (weak_alias): Do not undefine and redefine.
28015 (strong_alias): Likewise.
28016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
28017 (weak_alias): Likewise.
28018 (strong_alias): Likewise.
28019
4699cb8b
JM
28020 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
28021 (logb): Define using libm_alias_double, only if [!__logb].
28022 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
28023 <libm-alias-double.h>.
28024 (logb): Define using libm_alias_double, only if [!__logb].
28025 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
28026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
28027 (weak_alias): Do not undefine and redefine.
28028 (strong_alias): Likewise.
28029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
28030 (weak_alias): Likewise.
28031 (strong_alias): Likewise.
28032
bcc4e4bb
L
280332017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28034
28035 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
28036 Check SHARED instead PIC.
28037
39793865
JM
280382017-10-03 Joseph Myers <joseph@codesourcery.com>
28039
7f1cbdf8
JM
28040 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
28041 [!__fmaf] (fmaf): Define using libm_alias_float.
28042
39793865
JM
28043 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
28044 (frexp): Define using libm_alias_double.
28045 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
28046 <libm-alias-double.h>.
28047 (frexp): Define using libm_alias_double.
28048 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
28049 compat symbol here.
28050
aa0235df
GG
280512017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28052
28053 [BZ #22235]
28054 * math/math.h: Trivial fix for unbalanced parentheses in comment.
28055 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
28056 (CFLAGS-test-math-iscanonical.cc): New variable.
28057 * math/test-math-iscanonical.cc: New file.
28058 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
28059 Provide a C++ implementation based on function overloading,
28060 rather than using __MATH_TG, which uses C-only builtins.
28061 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
28062 Likewise.
28063 * sysdeps/powerpc/powerpc64le/Makefile
28064 (CFLAGS-test-math-iscanonical.cc): New variable.
28065
a1132b5e
JM
280662017-10-03 Joseph Myers <joseph@codesourcery.com>
28067
28068 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
28069 (ceil): Define using libm_alias_double.
28070 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
28071 (floor): Define using libm_alias_double.
28072 * sysdeps/ieee754/dbl-64/s_llround.c: Include
28073 <libm-alias-double.h>.
28074 (llround): Define using libm_alias_double.
28075 * sysdeps/ieee754/dbl-64/s_lround.c: Include
28076 <libm-alias-double.h>.
28077 (lround): Define using libm_alias_double.
28078 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
28079 <libm-alias-double.h>.
28080 (nearbyint): Define using libm_alias_double.
28081 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
28082 <libm-alias-double.h>.
28083 (remquo): Define using libm_alias_double.
28084 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
28085 (rint): Define using libm_alias_double.
28086 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
28087 (round): Define using libm_alias_double.
28088 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
28089 (trunc): Define using libm_alias_double.
28090 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
28091 <libm-alias-double.h>.
28092 (ceil): Define using libm_alias_double.
28093 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
28094 <libm-alias-double.h>.
28095 (floor): Define using libm_alias_double.
28096 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
28097 <libm-alias-double.h>.
28098 (llround): Define using libm_alias_double.
28099 [_LP64] (lround): Likewise.
28100 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
28101 <libm-alias-double.h>.
28102 [!_LP64] (lround): Define using libm_alias_double.
28103 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
28104 <libm-alias-double.h>.
28105 (nearbyint): Define using libm_alias_double.
28106 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
28107 <libm-alias-double.h>.
28108 (remquo): Define using libm_alias_double.
28109 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
28110 <libm-alias-double.h>.
28111 (rint): Define using libm_alias_double.
28112 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
28113 <libm-alias-double.h>.
28114 (round): Define using libm_alias_double.
28115 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
28116 <libm-alias-double.h>.
28117 (trunc): Define using libm_alias_double.
28118 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
28119 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
28120 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
28121 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
28122 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
28123 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
28124 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
28125 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
28126 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
28127
f275f64e
SN
281282017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28129
28130 * math/w_remainder.c: New file.
28131 * math/w_remainderf.c: New file.
28132 * math/w_remainderl.c: New file.
28133
b8818ab5
L
281342017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28135
28136 * elf/rtld.c (BOOTSTRAP_MAP): New.
28137 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
28138 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28139 Likewise.
28140 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28141 Likewise.
28142 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28143 Likewise.
28144
3d1870fa
ST
281452017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
28146
28147 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
28148 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
28149 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
28150 rtld_hidden_data_ver): Define to empty.
28151 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
28152 __assert_perror_fail): Likewise.
28153 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28154 (__rewinddir): Likewise.
28155 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28156 (__profile_frequency): Likewise.
28157 * include/setjmp.h (__sigsetjmp): Likewise.
28158 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
28159 __libc_sigaction): Likewise.
28160 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
28161 not set hidden attribute.
28162 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
28163 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
28164 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
28165 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
28166 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
28167 __fxstatat64): Likewise.
28168 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28169 (__uname): Likewise.
28170 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28171 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
28172 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
28173 (NO_RTLD_HIDDEN): Set.
28174 * sysdeps/mach/hurd/configure: Refresh.
28175 * config.h.in: Refresh.
28176
527cd19c
JM
281772017-10-02 Joseph Myers <joseph@codesourcery.com>
28178
38722448
JM
28179 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
28180 (atan): Define using libm_alias_double.
28181 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
28182 (tan): Define using libm_alias_double.
28183 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
28184 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
28185
527cd19c
JM
28186 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
28187 define as weak alias of __atan. Do not define any aliases if
28188 [__atan].
28189 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
28190 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
28191 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
28192 as weak alias of __tan. Do not define any aliases if [__tan].
28193 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
28194 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
28195 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
28196 __atan.
28197 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
28198 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
28199 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
28200 and define as weak alias of __atan.
28201 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
28202 __atan.
28203 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
28204 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
28205 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
28206 define as weak alias of __tan.
28207
bdc5c592
SN
282082017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28209
28210 * math/w_lgamma.c: New file.
28211 * math/w_lgammaf.c: New file.
28212 * math/w_lgammal.c: New file.
28213
bd4430c2
SN
282142017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28215
28216 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
28217 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
28218 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
28219 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
28220 * sysdeps/ieee754/flt-32/w_logf.c: New file.
28221 * sysdeps/ieee754/flt-32/w_powf.c: New file.
28222 * sysdeps/i386/fpu/w_log2f.c: New file.
28223 * sysdeps/i386/fpu/w_logf.c: New file.
28224 * sysdeps/i386/fpu/w_powf.c: New file.
28225 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
28226 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
28227 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
28228
f7a0b063
SN
282292017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28230 H.J. Lu <hongjiu.lu@intel.com>
28231
28232 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
28233 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
28234 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
28235 * sysdeps/ieee754/flt-32/w_expf.c: New file.
28236 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
28237 the new expf code.
28238 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
28239 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
28240 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
28241 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
28242 * sysdeps/i386/fpu/w_exp2f.c: New file.
28243 * sysdeps/i386/fpu/w_expf.c: New file.
28244 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
28245 * sysdeps/x86_64/fpu/w_expf.c: New file.
28246
72d3d281
SN
282472017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28248
28249 * math/Versions (logf): New libm symbol at GLIBC_2.27.
28250 (log2f): Likewise.
28251 (powf): Likewise.
28252 * math/w_log2f.c: New file.
28253 * math/w_logf.c: New file.
28254 * math/w_powf.c: New file.
28255 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
28256 * math/w_logf_compat.c (__logf_compat): Likewise.
28257 * math/w_powf_compat.c (__powf_compat): Likewise.
28258 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
28259 * sysdeps/ia64/fpu/e_logf.S: Likewise.
28260 * sysdeps/ia64/fpu/e_powf.S: Likewise.
28261 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
28262 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
28263 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
28264 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
28265 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
28266 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
28267 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
28268 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
28269 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
28270 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
28271 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
28272 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
28273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
28274 Likewise.
28275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
28276 Likewise.
28277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
28278 Likewise.
28279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
28280 Likewise.
28281 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
28282 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
28283 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
28284 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
28285 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
28286 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
28287 Likewise.
28288 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
28289 Likewise.
28290 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
28291 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
28292 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
28293
59ba2d2b
RS
282942017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28295
28296 * sysdeps/powerpc/powerpc64/multiarch/Makefile
28297 (sysdep_routines): Add memrchr_power8.
28298 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28299 (memrchr): Add __memrchr_power8 to list of memrchr functions.
28300 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
28301 New file.
28302 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
28303 (memrchr): Add __memrchr_power8 to ifunc list.
28304 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
28305
397286ea
L
283062017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28307
28308 [BZ #18822]
28309 * sysdeps/unix/sysv/linux/posix_fadvise64.c
28310 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
28311 libc_hidden_def.
28312 * sysdeps/unix/sysv/linux/posix_fallocate64.c
28313 (__posix_fallocate64_l64): Likewise.
28314
d0a4512b
L
283152017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28316
28317 [BZ #18822]
28318 * sysdeps/unix/sysv/linux/sched_setaffinity.c
28319 (__sched_setaffinity_new): Add libc_hidden_proto and
28320 libc_hidden_def.
28321
c0769f70
L
283222017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28323
28324 [BZ #18822]
28325 * include/glob.h (__glob64): Add libc_hidden_proto.
28326 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
28327 libc_hidden_def.
28328
0e7d5b6e
L
283292017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28330
28331 [BZ #18822]
28332 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
28333 attribute_hidden.
28334
bde06c87
L
283352017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28336
28337 [BZ #18822]
28338 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
28339
fa426590
L
283402017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28341
28342 [BZ #18822]
28343 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
28344 libc_hidden_def.
28345
2f8a05d8
L
283462017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28347
28348 [BZ #18822]
28349 * csu/version.c (__libc_print_version): Add attribute_hidden.
28350
7bfd08ac
L
283512017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28352
28353 [BZ #18822]
28354 * include/libc-internal.h (__init_misc): Add attribute_hidden.
28355
0e1fd06c
L
283562017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28357
28358 [BZ #18822]
28359 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
28360
36e7ae1e
L
283612017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28362
28363 [BZ #18822]
28364 * nscd/nscd_helper.c (__nis_hash): New prototype.
28365
87078544
L
283662017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28367
28368 [BZ #18822]
28369 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
28370 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
28371 libc_hidden_def.
28372 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
28373 * termios/tcgetattr.c (__tcgetattr): Likewise.
28374
dd3121df
L
283752017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28376
28377 [BZ #18822]
28378 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
28379 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
28380 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
28381 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
28382 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
28383
047d1a81
L
283842017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28385
28386 [BZ #18822]
28387 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
28388
fd331b11
L
283892017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28390
28391 [BZ #18822]
28392 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
28393 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
28394
57f859bd
L
283952017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28396
28397 [BZ #18822]
28398 * intl/hash-string.h (__hash_string): Add attribute_hidden.
28399
d1903329
L
284002017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28401
28402 [BZ #18822]
28403 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
28404 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
28405
b4744101
L
284062017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28407
28408 [BZ #18822]
28409 * include/ifreq.h: New file.
28410 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
28411 (__ifreq): Likewise.
28412 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
28413 (__ifreq): Likewise.
28414
43b7dfd1
L
284152017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28416
28417 [BZ #18822]
28418 * include/idna.h: New file.
28419 * inet/getnameinfo.c: Include <idna.h> instead of
28420 <libidn/idna.h>.
28421 (__idna_to_unicode_lzlz): Removed.
28422 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
28423 <libidn/idna.h>.
28424 (__idna_to_ascii_lz): Removed.
28425 (__idna_to_unicode_lzlz): Likewise.
28426
2c0cd8f8
L
284272017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28428
28429 [BZ #18822]
28430 * include/plural-exp.h: New file.
28431 * intl/plural-exp.c: Include <plural-exp.h> instead of
28432 "plural-exp.h".
28433
8369d216
L
284342017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28435
28436 [BZ #18822]
28437 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
28438 "getsourcefilter.h".
28439 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
28440 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
28441 "getsourcefilter.h".
28442 (__get_sol): Removed.
28443
a0aef783
L
284442017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28445
28446 [BZ #18822]
28447 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
28448 to ...
28449 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
28450
3ee8209b
L
284512017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28452
28453 [BZ #18822]
28454 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
28455 attribute_hidden.
28456
6036fc38
L
284572017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28458
28459 [BZ #18822]
28460 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
28461
fe84fed0
L
284622017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28463
28464 [BZ #18822]
28465 * include/search.h (__tdestroy): Add libc_hidden_proto.
28466 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
28467
048dd681
L
284682017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28469
28470 [BZ #18822]
28471 * include/assert.h (__assert_fail_base): Add attribute_hidden.
28472
6e342af6
L
284732017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28474
28475 [BZ #18822]
28476 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
28477 attribute_hidden.
28478
6a088436
L
284792017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28480
28481 [BZ #18822]
28482 * include/signal.h (__kill): Add libc_hidden_proto.
28483 (__sigblock): Likewise.
28484 (__sigprocmask): Likewise.
28485 (__sigaltstack): Likewise.
28486 * signal/kill.c (__kill): Add libc_hidden_def.
28487 * signal/sigblock.c (__sigblock): Likewise.
28488 * signal/sigprocmask.c (__sigprocmask): Likewise.
28489 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
28490 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
28491 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
28492 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
28493 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
28494 Likewise.
28495 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
28496 Likewise.
28497 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
28498 (__sigprocmask): Likewise.
28499 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
28500 Likewise.
28501 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
28502 (__sigprocmask): Likewise.
28503 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
28504 Likewise.
28505
78cf1d74
L
285062017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28507
28508 [BZ #18822]
28509 * include/string.h (__strsep): Add libc_hidden_proto.
28510 * string/strsep.c (__strsep): Add libc_hidden_def.
28511
85b35894
L
285122017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28513
28514 [BZ #18822]
28515 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
28516 attribute_hidden.
28517 (__spawni): Likewise.
28518
225f7eec
L
285192017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28520
28521 [BZ #18822]
28522 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
28523 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
28524 libc_hidden_def.
28525
372fe247
L
285262017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28527
28528 [BZ #18822]
28529 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
28530
9e5ee8b8
L
285312017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28532
28533 [BZ #18822]
28534 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
28535 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
28536 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
28537 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
28538 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
28539 Likewise.
28540 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
28541 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
28542
2ff16592
L
285432017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28544
28545 [BZ #18822]
28546 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
28547 (__dcigettext): Likewise.
28548
b5648377
L
285492017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28550
28551 [BZ #18822]
28552 * include/sys/sysinfo.h (__get_nprocs_conf): Add
28553 libc_hidden_proto.
28554 (__get_nprocs): Likewise.
28555 (__get_phys_pages): Likewise.
28556 (__get_avphys_pages): Likewise.
28557 (__get_child_max): Add attribute_hidden.
28558 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
28559 (__get_nprocs): Likewise.
28560 (__get_phys_pages): Likewise.
28561 (__get_avphys_pages): Likewise.
28562 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
28563 libc_hidden_def.
28564 (__get_nprocs): Likewise.
28565 (__get_phys_pages): Likewise.
28566 (__get_avphys_pages): Likewise.
28567 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
28568 libc_hidden_def.
28569 (__get_nprocs_conf): Likewise.
28570 (__get_phys_pages): Likewise.
28571 (__get_avphys_pages): Likewise.
28572
0389a6aa
L
285732017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28574
28575 [BZ #18822]
28576 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
28577 attribute_hidden.
28578 (__netlink_close): Likewise.
28579 (__netlink_free_handle): Likewise.
28580 (__netlink_request): Likewise.
28581
d48354d8
L
285822017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28583
28584 [BZ #18822]
28585 * include/rpc/rpc.h (__rpc_thread_variables): Add
28586 attribute_hidden.
28587 (__rpc_thread_svc_cleanup): Likewise.
28588 (__rpc_thread_clnt_cleanup): Likewise.
28589 (__rpc_thread_key_cleanup): Likewise.
28590
d6daff12
L
285912017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28592
28593 [BZ #18822]
28594 * include/sys/uio.h (__readv): Add libc_hidden_proto.
28595 (__writev): Likewise.
28596 * misc/readv.c (__readv): Add libc_hidden_def.
28597 * misc/writev.c (__writev): Likewise.
28598 * sysdeps/posix/readv.c (__readv): Likewise.
28599 * sysdeps/posix/writev.c (__writev): Likewise.
28600 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
28601 (__readv): Likewise.
28602 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
28603 (__writev): Likewise.
28604
b68f8620
L
286052017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28606
28607 [BZ #18822]
28608 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
28609 (__regcomp): Add libc_hidden_proto.
28610 (__regexec): Likewise.
28611 (__regfree): Likewise.
28612 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
28613 (__regfree): Likewise.
28614 * posix/regexec.c (__regexec): Likewise.
28615
59c04e67
L
286162017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28617
28618 [BZ #18822]
28619 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
28620 (__getutent): Likewise.
28621 (__getutid): Likewise.
28622 (__getutline): Likewise.
28623 (__pututline): Likewise.
28624 (__getutent_r): Likewise.
28625 (__getutid_r): Likewise.
28626 (__getutline_r): Likewise.
28627 (__utmpname): Add attribute_hidden.
28628 (__setutent): Likewise.
28629 (__endutent): Likewise.
28630 * login/getutent.c (__getutent): Add libc_hidden_def.
28631 * login/getutent_r.c (__getutent_r): Likewise.
28632 (__pututline): Likewise.
28633 * login/getutid.c (__getutid): Likewise.
28634 * login/getutid_r.c (__getutid_r): Likewise.
28635 * login/getutline.c (__getutline): Likewise.
28636 * login/getutline_r.c (__getutline_r): Likewise.
28637 * login/updwtmp.c (__updwtmp): Likewise.
28638
4587a421
L
286392017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28640
28641 [BZ #18822]
28642 * include/dirent.h (__opendir): Always add attribute_hidden.
28643 (__fdopendir): Likewise.
28644 (__closedir): Likewise.
28645 (__readdir): Likewise.
28646 (__readdir64): Add libc_hidden_proto.
28647 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
28648 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
28649 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
28650 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
28651 New alias.
28652
9635ce69
L
286532017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28654
28655 [BZ #18822]
28656 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
28657 * include/netdb.h (__gethostbyaddr_r): Likewise.
28658 (__gethostbyname_r): Likewise.
28659 (__gethostbyname2_r): Likewise.
28660 (__getnetbyaddr_r): Likewise.
28661 (__getnetbyname_r): Likewise.
28662 (__getservbyname_r): Likewise.
28663 (__getservbyport_r): Likewise.
28664 (__getprotobyname_r): Likewise.
28665 (__getprotobynumber_r): Likewise.
28666 (__getnetgrent_r): Likewise.
28667 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
28668 (__getrpcbynumber_r): Likewise.
28669 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
28670
2e0a6909
L
286712017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28672
28673 [BZ #18822]
28674 * include/stdio.h (__fcloseall): Add attribute_hidden.
28675 (__getline): Likewise.
28676 (__path_search): Likewise.
28677 (__gen_tempname): Likewise.
28678 (__libc_message): Likewise.
28679 (__flockfile): Likewise.
28680 (__funlockfile): Likewise.
28681 (__fxprintf): Likewise.
28682 (__fxprintf_nocancel): Likewise.
28683
94fd682c
L
286842017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28685
28686 [BZ #18822]
28687 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
28688 (__sgetsgent_r): Likewise.
28689
e1b33bba
L
286902017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28691
28692 [BZ #18822]
28693 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
28694 (__statfs64): Likewise.
28695 (__fstatfs64): Likewise.
28696 * include/sys/statvfs.h (__statvfs64): Likewise.
28697 (__fstatvfs64): Likewise.
28698 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
28699 (__statfs_filesize_max): Likewise.
28700 (__statfs_symlinks): Likewise.
28701 (__statfs_chown_restricted): Likewise.
28702
b0f56784
L
287032017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28704
28705 [BZ #18822]
28706 * include/time.h (__tzstring): Add attribute_hidden.
28707 (__tzfile_read): Likewise.
28708 (__tzfile_compute): Likewise.
28709 (__tzfile_default): Likewise.
28710 (__tzset_parse_tz): Likewise.
28711 (__offtime): Likewise.
28712 (__asctime_r): Likewise.
28713 (__tzset): Likewise.
28714 (__tz_convert): Likewise.
28715 (__getdate_r): Likewise.
28716 (__getclktck): Likewise.
28717
a4338d99
L
287182017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28719
28720 [BZ #18822]
28721 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
28722 (__nscd_unmap): Likewise.
28723 (__nscd_cache_search): Likewise.
28724 (__nscd_get_nl_timestamp): Likewise.
28725 (__nscd_getpwnam_r): Likewise.
28726 (__nscd_getpwuid_r): Likewise.
28727 (__nscd_getgrnam_r): Likewise.
28728 (__nscd_getgrgid_r): Likewise.
28729 (__nscd_gethostbyname_r): Likewise.
28730 (__nscd_gethostbyname2_r): Likewise.
28731 (__nscd_gethostbyaddr_r): Likewise.
28732 (__nscd_getai): Likewise.
28733 (__nscd_getgrouplist): Likewise.
28734 (__nscd_getservbyname_r): Likewise.
28735 (__nscd_getservbyport_r): Likewise.
28736 (__nscd_innetgr): Likewise.
28737 (__nscd_setnetgrent): Likewise.
28738
a2ca1652
L
287392017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28740
28741 [BZ #18822]
28742 * include/gmp.h: Declare internal functions only if _ISOMAC is
28743 undefined.
28744 (__mpn_extract_double): Add attribute_hidden.
28745 (__mpn_extract_long_double): Likewise.
28746 (__mpn_extract_float128): Likewise.
28747 (__mpn_construct_float): Likewise.
28748 (__mpn_construct_double): Likewise.
28749 (__mpn_construct_long_double): Likewise.
28750 (__mpn_construct_float128): Likewise.
28751 (mpn_add_1): Likewise.
28752 (mpn_addmul_1): Likewise.
28753 (mpn_add_n): Likewise.
28754 (mpn_cmp): Likewise.
28755 (mpn_divrem): Likewise.
28756 (mpn_lshift): Likewise.
28757 (mpn_mul): Likewise.
28758 (mpn_mul_1): Likewise.
28759 (mpn_rshift): Likewise.
28760 (mpn_sub_1): Likewise.
28761 (mpn_submul_1): Likewise.
28762 (mpn_sub_n): Likewise.
28763
44af8a32
L
287642017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28765
28766 [BZ #18822]
28767 * include/wchar.h (__wcsnlen): Add attribute_hidden.
28768 (__wcscat): Likewise.
28769 (__btowc): Likewise.
28770 (__wcrtomb): Likewise.
28771 (__mbsrtowcs): Likewise.
28772 (__wcsrtombs): Likewise.
28773 (__mbsnrtowcs): Likewise.
28774 (__wcsnrtombs): Likewise.
28775 (__wcsncpy): Likewise.
28776 (__wcpncpy): Likewise.
28777 (__wmemcpy): Likewise.
28778 (__wmempcpy): Likewise.
28779 (__wmemmove): Likewise.
28780 (__wcschrnul): Likewise.
28781 (__vfwscanf): Likewise.
28782 (__vswprintf): Likewise.
28783 (__fwprintf): Likewise.
28784 (__vfwprintf): Likewise.
28785
783cd767
L
287862017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28787
28788 [BZ #18822]
28789 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
28790 (__getgrgid_r): Likewise.
28791 (__getgrnam_r): Likewise.
28792 * include/pwd.h (__getpwuid_r): Likewise.
28793 (__getpwnam_r): Likewise.
28794 (__fgetpwent_r): Likewise.
28795 * include/shadow.h (__getspnam_r): Likewise.
28796 (__sgetspent_r): Likewise.
28797 (__fgetspent_r): Likewise.
28798
7ec4b39a
L
287992017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28800
28801 [BZ #18822]
28802 * include/unistd.h (__access): Add attribute_hidden.
28803 (__lseek64): Likewise.
28804 (__libc_pread64): Likewise.
28805 (__pipe2): Likewise.
28806 (__sleep): Likewise.
28807 (__chdir): Likewise.
28808 (__fchdir): Likewise.
28809 (__getcwd): Likewise.
28810 (__rmdir): Likewise.
28811 (__execvpe): Likewise.
28812 (__execve): Likewise.
28813 (__setsid): Likewise.
28814 (__getuid): Likewise.
28815 (__geteuid): Likewise.
28816 (__getgid): Likewise.
28817 (__getegid): Likewise.
28818 (__getgroups): Likewise.
28819 (__group_member): Likewise.
28820 (__ttyname_r): Likewise.
28821 (__isatty): Likewise.
28822 (__readlink): Likewise.
28823 (__unlink): Likewise.
28824 (__gethostname): Likewise.
28825 (__profil): Likewise.
28826 (__getdtablesize): Likewise.
28827 (__brk): Likewise.
28828 (__ftruncate): Likewise.
28829 (__ftruncate64): Likewise.
28830
8345a760
L
288312017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28832
28833 [BZ #18822]
28834 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
28835 * argp/argp-fs-xinl.c: Likewise.
28836 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
28837 * argp/argp-parse.c: Include <argp.h>.
28838 * argp/argp-xinl.c: Likewise.
28839 * include/argp-fmtstream.h: New file.
28840 * include/argp.h (__argp_error): Add attribute_hidden.
28841 (__argp_failure): Likewise.
28842 (__argp_input): Likewise.
28843 (__argp_state_help): Likewise.
28844
c26dd7c6
L
288452017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28846
28847 [BZ #18822]
28848 * include/wchar.h (____wcstof_l_internal): New prototype.
28849 (____wcstod_l_internal): Likewise.
28850 (____wcstold_l_internal): Likewise.
28851 (____wcstol_l_internal): Likewise.
28852 (____wcstoul_l_internal): Likewise.
28853 (____wcstoll_l_internal): Likewise.
28854 (____wcstoull_l_internal): Likewise.
28855 (____wcstof128_l_internal): Likewise.
28856 * sysdeps/ieee754/float128/wcstof128.c
28857 (____wcstof128_l_internal): Removed.
28858 * sysdeps/ieee754/float128/wcstof128_l.c
28859 (____wcstof128_l_internal): Likewise.
28860 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
28861 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
28862 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
28863 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
28864 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
28865 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
28866 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
28867 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
28868 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
28869 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
28870
3aff5644
L
288712017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28872
28873 [BZ #18822]
28874 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
28875 instead of <sys/statvfs.h>.
28876 (__internal_statvfs): Removed.
28877 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
28878 instead of <sys/statvfs.h>.
28879 (__internal_statvfs64): Removed.
28880 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
28881 "internal_statvfs.h" instead of <sys/statvfs.h>.
28882 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
28883 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
28884 instead of <sys/statvfs.h>.
28885 (__internal_statvfs): Removed.
28886 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
28887 instead of <sys/statvfs.h>.
28888 (__internal_statvfs64): Removed.
28889
8bcdb7e0
L
288902017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28891
28892 [BZ #18822]
28893 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
28894 (__gconv_close): Likewise.
28895 (__gconv): Likewise.
28896 (__gconv_find_transform): Likewise.
28897 (__gconv_lookup_cache): Likewise.
28898 (__gconv_compare_alias_cache): Likewise.
28899 (__gconv_load_cache): Likewise.
28900 (__gconv_get_path): Likewise.
28901 (__gconv_close_transform): Likewise.
28902 (__gconv_release_cache): Likewise.
28903 (__gconv_find_shlib): Likewise.
28904 (__gconv_release_shlib): Likewise.
28905 (__gconv_get_builtin_trans): Likewise.
28906 (__gconv_compare_alias): Likewise.
28907 * include/dlfcn.h (_dlerror_run): Likewise.
28908 * include/stdio.h (__fortify_fail_abort): Likewise.
28909 * include/time.h (__tz_compute): Likewise.
28910 (__strptime_internal): Likewise.
28911 * intl/gettextP.h (_nl_find_domain): Likewise.
28912 (_nl_load_domain): Likewise.
28913 (_nl_find_msg): Likewise.
28914 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
28915 (EXTRACT_PLURAL_EXPRESSION): Likewise.
28916 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
28917 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
28918 (__gai_find_request): Likewise.
28919 (__gai_remove_request): Likewise.
28920 (__gai_notify): Likewise.
28921 (__gai_notify_only): Likewise.
28922 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
28923 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
28924 (_dl_non_dynamic_init): Likewise.
28925 (_dl_aux_init): Likewise.
28926 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
28927 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
28928 Likewise.
28929 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
28930 (__wcsmbs_clone_conv): Likewise.
28931 (__wcsmbs_named_conv): Likewise.
28932
8ed3b643
L
289332017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28934
28935 [BZ #18822]
28936 * include/stdlib.h (__random): Add attribute_hidden.
28937 (__random_r): Likewise.
28938 (__srandom_r): Likewise.
28939 (__initstate_r): Likewise.
28940 (__setstate_r): Likewise.
28941 (__erand48_r): Likewise.
28942 (__nrand48_r): Likewise.
28943 (__jrand48_r): Likewise.
28944 (__srand48_r): Likewise.
28945 (__seed48_r): Likewise.
28946 (__lcong48_r): Likewise.
28947 (__drand48_iterate): Likewise.
28948 (__setenv): Likewise.
28949 (__unsetenv): Likewise.
28950 (__clearenv): Likewise.
28951 (__ptsname_r): Likewise.
28952 (__posix_openpt): Likewise.
28953 (__add_to_environ): Likewise.
28954 (__realpath): Add libc_hidden_proto.
28955 (__ecvt_r): Likewise.
28956 (__fcvt_r): Likewise.
28957 (__qecvt_r): Likewise.
28958 (__qfcvt_r): Likewise.
28959 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
28960 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
28961
ef9b6f73
L
289622017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28963
28964 [BZ #18822]
28965 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
28966 * include/time.h (__mktime_internal): Likewise.
28967 * libio/iolibio.h (__fopen_internal): Likewise.
28968
8da92e72
JDA
289692017-10-01 John David Anglin <danglin@gcc.gnu.org>
28970
28971 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
28972 pointer in frame.
28973 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
28974 Correct offset used to restore PIC register.
28975
388784cf
JDA
289762017-09-30 John David Anglin <danglin@gcc.gnu.org>
28977
28978 [BZ libc/22165]
28979 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
28980 code to load address of __getcontext_ret when generating PIC code.
28981
2000067a
L
289822017-09-30 H.J. Lu <hongjiu.lu@intel.com>
28983
28984 * elf/Makefile (tests-static-internal): Add
28985 tst-tls1-static-non-pie.
28986 (LDFLAGS-tst-tls1-static-non-pie): New.
28987 * elf/tst-tls1-static-non-pie.c: New file.
28988
1e2bffd0
JM
289892017-09-29 Joseph Myers <joseph@codesourcery.com>
28990
28991 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
28992 (asinh): Define using libm_alias_double.
28993 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
28994 (cbrt): Define using libm_alias_double.
28995 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
28996 <libm-alias-double.h>.
28997 (copysign): Define using libm_alias_double.
28998 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
28999 (erf): Define using libm_alias_double.
29000 (erfc): Likewise.
29001 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
29002 (expm1): Define using libm_alias_double.
29003 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
29004 (fabs): Define using libm_alias_double.
29005 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
29006 libm_alias_double.
29007 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
29008 <libm-alias-double.h>.
29009 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
29010 libm_alias_double.
29011 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
29012 <libm-alias-double.h>.
29013 (getpayload): Define using libm_alias_double.
29014 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
29015 <libm-alias-double.h>.
29016 (llrint): Define using libm_alias_double.
29017 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
29018 (lrint): Define using libm_alias_double.
29019 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
29020 <libm-alias-double.h>.
29021 (nextup): Define using libm_alias_double.
29022 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
29023 <libm-alias-double.h>.
29024 (roundeven): Define using libm_alias_double.
29025 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
29026 libm_alias_double.
29027 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
29028 <libm-alias-double.h>.
29029 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
29030 using libm_alias_double.
29031 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
29032 (cos): Define using libm_alias_double.
29033 (sin): Likewise.
29034 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
29035 <libm-alias-double.h>.
29036 (sincos): Define using libm_alias_double.
29037 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
29038 (tanh): Define using libm_alias_double.
29039 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
29040 <libm-alias-double.h>.
29041 (totalorder): Define using libm_alias_double.
29042 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
29043 <libm-alias-double.h>.
29044 (totalordermag): Define using libm_alias_double.
29045 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
29046 libm_alias_double.
29047 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
29048 libm_alias_double.
29049 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
29050 <libm-alias-double.h>.
29051 (getpayload): Define using libm_alias_double.
29052 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
29053 <libm-alias-double.h>.
29054 (roundeven): Define using libm_alias_double.
29055 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
29056 <libm-alias-double.h>.
29057 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
29058 <libm-alias-double.h>.
29059 (totalorder): Define using libm_alias_double.
29060 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
29061 <libm-alias-double.h>.
29062 (totalordermag): Define using libm_alias_double.
29063 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
29064 libc compat symbol here.
29065 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
29066 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
29067 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
29068 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
29069 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
29070 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
29071 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
29072 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
29073 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
29074 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
29075
8172aad9
L
290762017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29077
29078 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
29079 _dl_relocate_static_pie instead of _dl_start to compute load
29080 address in static PIE. Return 0 if _DYNAMIC is undefined for
29081 static executable.
29082
54464e74
L
290832017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29084
29085 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
29086 _DYNAMIC is undefined for static executable.
29087
f6c5e5bc
L
290882017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29089
29090 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
29091
2f92505d
JM
290922017-09-29 Joseph Myers <joseph@codesourcery.com>
29093
29094 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29095
bd8d53bb
WD
290962017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
29097
29098 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
29099 (__ieee754_lgamma_r): Use fabs rather than __fabs.
29100 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
29101 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
29102 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
29103 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
29104 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
29105 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
29106 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
29107 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
29108 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
29109 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
29110 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
29111 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
29112 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
29113 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
29114 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
29115
fffb1507
WD
291162017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
29117
29118 * math/bits/cmathcalls.h (cimag): Remove inline.
29119 (creal): Remove inline.
29120 (conj): Remove inline.
29121
4ea49f4c
SN
291222017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29123
29124 * math/Makefile (type-float-routines): Add e_powf_log2_data.
29125 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
29126 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
29127 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
29128 (issignalingf_inline): Likewise.
29129 (POWF_LOG2_TABLE_BITS): Likewise.
29130 (POWF_LOG2_POLY_ORDER): Likewise.
29131 (POWF_SCALE_BITS): Likewise.
29132 (POWF_SCALE): Likewise.
29133 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
29134 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
29135 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
29136
875c76c7
SN
291372017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29138
29139 * math/Makefile (type-float-routines): Add e_log2f_data.
29140 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
29141 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
29142 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
29143 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
29144 * sysdeps/i386/fpu/e_log2f_data.c: New file.
29145 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
29146 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
29147
90c42e40
SN
291482017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29149
29150 * math/Makefile (type-float-routines): Add e_logf_data.
29151 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
29152 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
29153 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
29154 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
29155 * sysdeps/i386/fpu/e_logf_data.c: New file.
29156 * sysdeps/ia64/fpu/e_logf_data.c: New file.
29157 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
29158
4088d8dd
L
291592017-09-28 H.J. Lu <hongjiu.lu@intel.com>
29160
29161 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
29162 undefined _DYNAMIC in PIE libc.a.
29163 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
29164 Likewse.
29165
4d3693ec
WD
291662017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
29167
29168 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
29169 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
29170 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
29171 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
29172 (__signbit): Remove.
29173 (__signbitl): Remove.
29174 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
29175 (__signbit): Remove.
29176 (__signbitl): Remove.
29177 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
29178 (__signbit): Remove.
29179 (__signbitl): Remove.
29180 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
29181 (__signbit): Remove.
29182 (__signbitl): Remove.
29183 * sysdeps/tile/bits/mathinline.h: Delete file.
29184 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
29185 (__signbit): Remove.
29186 (__signbitl): Remove.
29187
1e6d0723
WD
291882017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
29189
29190 * math/math.h: Improve handling of C99 isgreater macros.
29191 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
29192 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
29193 * sysdeps/powerpc/bits/mathinline.h: Likewise.
29194 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
29195 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
29196
b2f03cf3
SN
291972017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
29198
29199 * sysdeps/aarch64/libm-test-ulps: Update.
29200
f124cb38
JM
292012017-09-28 Joseph Myers <joseph@codesourcery.com>
29202
29203 [BZ #22225]
29204 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29205 math_opt_barrier on argument when doing arithmetic on it.
29206 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
29207 Likewise. Use math_force_eval not math_opt_barrier after
29208 arithmetic.
29209 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
29210 math_opt_barrier on argument when doing arithmetic on it.
29211 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
29212 Likewise.
29213
7edd0691
L
292142017-09-27 H.J. Lu <hongjiu.lu@intel.com>
29215
29216 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
29217 libc_hidden_def.
29218 (__freeifaddrs): Likewise.
29219
2c7bbfaf
ST
292202017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
29221
29222 * include/dirent.h (__dirfd): New declaration.
29223 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
29224 alias.
29225 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
29226 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
29227 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
52a1f181
ST
29228 * include/unistd.h (__revoke): New declaration.
29229 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
29230 alias.
29231 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
29232 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
29233 revoke.
64a4af28
ST
29234 * include/dirent.h (__seekdir): New declaration.
29235 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
29236 redefine as weak alias.
29237 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
29238 of seekdir.
4009ddc6
ST
29239 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
29240 and use libc_hidden_def on them.
29241 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
29242 them.
29243 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
29244 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
29245 instead of getifaddrs and freeifaddrs.
2c7bbfaf 29246
825adeee
L
292472017-09-26 H.J. Lu <hongjiu.lu@intel.com>
29248
29249 [BZ #18822]
29250 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
29251 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
29252 (__dso_handle): Remove declaration.
29253 * dlfcn/tstatexit.c (__dso_handle): Removed.
29254 (main): Don't check __dso_handle.
29255 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
29256 (main): Don't check __dso_handle.
29257 * include/dso_handle.h: New file.
29258 * malloc/mtrace.c: Include <dso_handle.h>.
29259 (mtrace): Pass __dso_handle directly.
29260 * nptl/pthread_atfork.c: Include <dso_handle.h>.
29261 (__dso_handle): Remove declaration.
29262 (__pthread_atfork): Pass __dso_handle directly.
29263 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
29264 (__dso_handle): Removed.
29265 * posix/wordexp-test.c: Include <dso_handle.h>.
29266 (__dso_handle): Remove declaration.
29267 (__app_register_atfork): Pass __dso_handle directly.
29268 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
29269 (__dso_handle): Remove declaration.
29270 (at_quick_exit): Pass __dso_handle directly.
29271 * stdlib/atexit.c: Include <dso_handle.h>.
29272 (__dso_handle): Remove declaration.
29273 (atexit): Pass __dso_handle directly.
29274 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
29275 (__dso_handle): Removed.
29276
bfb0deb3
JM
292772017-09-26 Joseph Myers <joseph@codesourcery.com>
29278
29279 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
29280 using VDSO.
29281
cebcb9f8
AM
292822017-09-26 Alexey Makhalov <amakhalov@vmware.com>
29283
29284 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
29285 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
29286 values to correct default value for given type.
29287
592d5c75
L
292882017-09-26 H.J. Lu <hongjiu.lu@intel.com>
29289
29290 [BZ #22101]
29291 * elf/Makefile (tests): Add tst-debug1.
29292 ($(objpfx)tst-debug1): New.
29293 ($(objpfx)tst-debug1.out): Likewise.
29294 ($(objpfx)tst-debug1mod1.so): Likewise.
29295 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
29296 with p_filesz == 0.
29297 * elf/tst-debug1.c: New file.
29298
2d9193f2
JM
292992017-09-26 Joseph Myers <joseph@codesourcery.com>
29300
29301 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
29302 Define using __ifunc.
29303
4c5a7a02
TMQMF
293042017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29305
29306 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
29307 exp2f() values.
29308
12ef66c4
JM
293092017-09-26 Joseph Myers <joseph@codesourcery.com>
29310
29311 [BZ #22156]
29312 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
29313
44dade71
FW
293142017-09-26 Florian Weimer <fweimer@redhat.com>
29315
29316 * resolv/Makefile (tests-internal): Fix typo in comment.
29317
eaca16f1
FW
293182017-09-26 Florian Weimer <fweimer@redhat.com>
29319
29320 * resolv/nss_dns/dns-host.c: Fix typo in comment.
29321
ccf970c7
AZ
293222017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29323
5f9f31ad
AZ
29324 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
29325 Use an union instead of a max_align_t array for __space,
29326 so that __space is the same size on all platforms.
29327 * malloc/scratch_buffer_grow_preserve.c
29328 (__libc_scratch_buffer_grow_preserve): Likewise.
29329
ccf970c7
AZ
29330 [BZ #22183]
29331 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
29332 version to 2.
29333 * posix/Makefile (routines): Add glob-lstat-compat and
29334 glob64-lstat-compat.
29335 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
29336 * posix/glob-lstat-compat.c: New file.
29337 * posix/glob64-lstat-compat.c: Likewise.
29338 * posix/tst-glob_lstat_compat.c: Likewise.
29339 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
29340 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
29341 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
29342 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
29343 Likewise.
29344 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
29345 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
29346 * posix/glob.c (glob_lstat): New function.
29347 (glob): Rename to __glob and add versioned symbol to 2.27.
29348 (glob_in_dir): Use glob_lstat.
29349 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
29350 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
29351 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
29352 2.27.
29353 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
29354 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
29355 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
29356 gl_lstat on glob call.
29357 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
29358 and glob64 symbols.
29359 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
29360 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
29361 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
29362 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
29363 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
29364 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
29365 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
29366 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
29367 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
29368 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
29369 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
29370 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
29371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
29372 Likewise.
29373 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
29374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
29375 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
29376 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
29377 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
29378 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
29379 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
29380 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
29381 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
29382 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
29383 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
29384 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
29385
b4396163
L
293862017-09-25 H.J. Lu <hongjiu.lu@intel.com>
29387
29388 * configure.ac (AS): Require binutils 2.25 or later.
29389 * configure: Regenerated.
29390
8f834987
PP
293912017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
29392
29393 [BZ #22207]
29394 * stdlib/test-atexit-race-common.c (do_test): Minimize required
29395 VM size.
29396
3de93d19
DD
293972017-09-25 DJ Delorie <dj@redhat.com>
29398
29399 [BZ #22161]
29400 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
29401 resetting timeout.
29402
9947638d
SL
294032017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
29404
29405 * sysdeps/ieee754/dbl-64/sincos32.h
29406 [SINCCOS32_H]: Remove define.
29407 [SINCOS32_H]: Define.
29408
f5f0f526
SN
294092017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29410
29411 * math/Versions (expf): New libm symbol at GLIBC_2.27.
29412 (exp2f): Likewise.
29413 * math/w_exp2f.c: New file.
29414 * math/w_expf.c: New file.
29415 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
29416 * math/w_expf_compat.c (__expf_compat): Likewise.
29417 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
29418 * sysdeps/ia64/fpu/e_expf.S: Likewise.
29419 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
29420 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
29421 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
29422 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
29423 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
29424 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
29425 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
29426 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
29427 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
29428 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
29429 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
29430 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
29431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
29432 Likewise.
29433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
29434 Likewise.
29435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
29436 Likewise.
29437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
29438 Likewise.
29439 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
29440 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
29441 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
29442 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
29443 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
29444 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
29445 Likewise.
29446 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
29447 Likewise.
29448 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
29449 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
29450 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
29451
72aa6233
SN
294522017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29453
29454 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
29455 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
29456 (roundtoint, converttoint): Likewise.
29457 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
29458 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
29459 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
29460 * sysdeps/ieee754/flt-32/math_config.h: New file.
29461 * sysdeps/ieee754/flt-32/math_errf.c: New file.
29462 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
29463 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
29464 * sysdeps/i386/fpu/math_errf.c: New file.
29465 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
29466 * sysdeps/ia64/fpu/math_errf.c: New file.
29467 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
29468 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
29469
5e6f3253
ST
294702017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
29471
29472 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
29473 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
29474 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
29475 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
29476 to make sure that these symbols are defined.
b38a42a0
ST
29477 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
29478 of <limits.h>
29479 (__need_NULL): Do not define.
29480 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
29481 alignment.
29482 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
29483 CMGROUP_MAX, cmsgcred): Do not define.
29484 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
29485 NULL.
29486 * bits/socket.h: Likewise.
fcafcd16
ST
29487 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
29488 __gettimeofday instead of gettimeofday.
29489 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
29490 instead of settimeofday.
5e6f3253 29491
2f49ce7d
JM
294922017-09-22 Joseph Myers <joseph@codesourcery.com>
29493
29494 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
29495 (asinhf): Define using libm_alias_float.
29496 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
29497 (atanf): Define using libm_alias_float.
29498 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
29499 (cbrtf): Define using libm_alias_float.
29500 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
29501 (ceilf): Define using libm_alias_float.
29502 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
29503 <libm-alias-float.h>.
29504 (copysignf): Define using libm_alias_float.
29505 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
29506 (cosf): Define using libm_alias_float.
29507 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
29508 (erff): Define using libm_alias_float.
29509 (erfcf): Likewise.
29510 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
29511 (expm1f): Define using libm_alias_float.
29512 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
29513 (fabsf): Define using libm_alias_float.
29514 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
29515 (floorf): Define using libm_alias_float.
29516 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
29517 (frexpf): Define using libm_alias_float.
29518 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
29519 libm_alias_float.
29520 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
29521 <libm-alias-float.h>.
29522 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
29523 libm_alias_float.
29524 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
29525 <libm-alias-float.h>.
29526 (getpayloadf): Define using libm_alias_float.
29527 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
29528 <libm-alias-float.h>.
29529 (llrintf): Define using libm_alias_float.
29530 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
29531 <libm-alias-float.h>.
29532 (llroundf): Define using libm_alias_float.
29533 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
29534 (logbf): Define using libm_alias_float.
29535 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
29536 (lrintf): Define using libm_alias_float.
29537 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
29538 (lroundf): Define using libm_alias_float.
29539 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
29540 (modff): Define using libm_alias_float.
29541 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
29542 <libm-alias-float.h>.
29543 (nearbyintf): Define using libm_alias_float.
29544 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
29545 <libm-alias-float.h>.
29546 (nextafterf): Define using libm_alias_float.
29547 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
29548 <libm-alias-float.h>.
29549 (nextupf): Define using libm_alias_float.
29550 * sysdeps/ieee754/flt-32/s_remquof.c: Include
29551 <libm-alias-float.h>.
29552 (remquof): Define using libm_alias_float.
29553 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
29554 (rintf): Define using libm_alias_float.
29555 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
29556 <libm-alias-float.h>.
29557 (roundevenf): Define using libm_alias_float.
29558 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
29559 (roundf): Define using libm_alias_float.
29560 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
29561 using libm_alias_float.
29562 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
29563 <libm-alias-float.h>.
29564 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
29565 Define using libm_alias_float.
29566 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
29567 <libm-alias-float.h>.
29568 (sincosf): Define using libm_alias_float.
29569 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
29570 (sinf): Define using libm_alias_float.
29571 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
29572 (tanf): Define using libm_alias_float.
29573 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
29574 (tanhf): Define using libm_alias_float.
29575 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
29576 <libm-alias-float.h>.
29577 (totalorderf): Define using libm_alias_float.
29578 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
29579 <libm-alias-float.h>.
29580 (totalordermagf): Define using libm_alias_float.
29581 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
29582 (truncf): Define using libm_alias_float.
29583 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
29584 libm_alias_float.
29585 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
29586 libm_alias_float.
29587
c5c4a626
GG
295882017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29589
29590 [BZ #22146]
29591 math/math.h: Let fpclassify use the builtin in C++ mode, even
29592 when optimazing for size.
29593
23947846
JM
295942017-09-22 Joseph Myers <joseph@codesourcery.com>
29595
29596 * csu/Makefile (generated): Do not add version-info.h.
29597 (before-compile): Likewise.
29598 (all-Banner-files): Remove variable.
29599 ($(objpfx)version-info.h): Remove rule.
29600 * csu/version.c (banner): Do not include "version-info.h".
29601 * libidn/Banner: Remove.
29602 * manual/contrib.texi (Simon Josefsson): New entry.
29603
9ac3c682
GG
296042017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29605
29606 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
29607 Remove conditionals on LDBL_MANT_DIG.
29608 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
29609 (__ieee754_lgammal_r): Likewise.
29610
d2f0ed09
GG
296112017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29612
29613 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
29614 _Float128 and L().
29615 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
29616 _Float128 and L(). Replace _Float128 with long double and L(x)
29617 with xL, throughout the file.
29618 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
29619 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
29620 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
29621 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
29622
c5c2e667
GG
296232017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29624
29625 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
29626 sysdeps/ieee754/ldbl-128ibm.
29627 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
29628 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
29629 of including it. Keep _Float128 and L() intact. These will be
29630 reviewed by a separate patch.
29631 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
29632 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
29633 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
29634 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
29635
e010deb2
GG
296362017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29637
29638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
29639 (__finitef128): Define to __redirect___finitef128.
29640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
29641 (__isinff128): Define to __redirect___isinff128.
29642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
29643 (__isnanf128): Define to __redirect___isnanf128.
29644
ffa44804
GG
296452017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29646
29647 * sysdeps/powerpc/powerpc64le/Makefile
29648 (CFLAGS-tst-strtod-nan-locale.c): New variable.
29649 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
29650
e5e4d7cc
PP
296512017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
29652 Carlos O'Donell <carlos@redhat.com>
29653
29654 [BZ #22180]
29655 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
29656 * stdlib/test-dlclose-exit-race.c: New file.
29657 * stdlib/test-dlclose-exit-race-helper.c: New file.
29658 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
29659
c10c5267
JM
296602017-09-21 Joseph Myers <joseph@codesourcery.com>
29661
29662 * crypt/Banner: Remove file.
29663 * nptl/Banner: Likewise.
29664 * resolv/Banner: Likewise.
29665 * soft-fp/Banner: Likewise.
29666 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
29667 ($(objpfx)version.d): Remove dependency on banner.h.
29668 ($(objpfx)version.os): Likewise.
29669 * nptl/version.c (banner): Do not include banner.h.
29670 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
29671 Jelinek and BIND code.
29672
1cc9e59a
PP
296732017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
29674 Carlos O'Donell <carlos@redhat.com>
29675
29676 * support/xdlfcn.h: New file.
29677 * support/xdlfcn.c: New file.
29678 * support/Makefile (libsupport-routines): Add xdlfcn.
29679 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
29680
ae8372d7
JM
296812017-09-20 Joseph Myers <joseph@codesourcery.com>
29682
29683 [BZ #20142]
29684 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29685 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
29686 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
29687 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
29688 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
29689 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
29690 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
29691 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
29692
26e70aec 296932017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
b39d961c
TS
29694 Ricky Zhou <rickyz@google.com>
29695 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
26e70aec
PP
29696
29697 [BZ #14333]
29698 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
29699 Remove atomics.
29700 (__new_exitfn): Fail registration when we finished at_exit processing.
29701 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
29702 * stdlib/on_exit.c (__on_exit): Likewise.
29703 * stdlib/exit.c (__exit_funcs_done): New variable.
29704 (__run_exit_handlers): Use __exit_funcs_lock.
29705 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
29706 declarations.
29707 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
29708 (test-cxa_atexit-race, test-on_exit-race): New tests.
29709 * stdlib/test-atexit-race-common.c: New file.
29710 * stdlib/test-atexit-race.c: New file.
29711 * stdlib/test-at_quick_exit-race.c: New file.
29712 * stdlib/test-cxa_atexit-race.c: New file.
29713 * stdlib/test-on_exit-race.c: New file.
29714
0525ce48
SN
297152017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
29716
29717 * benchtests/Makefile: Add exp2f and log2f benchmarks.
29718 * benchtests/exp2f-inputs: Copy of expf-inputs.
29719 * benchtests/log2f-inputs: Copy of logf-inputs.
29720
d82468d1
JM
297212017-09-19 Joseph Myers <joseph@codesourcery.com>
29722
29723 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
29724 Explicitly take address of first element of array arguments in
29725 call to INLINE_SYSCALL.
29726
43ffc53a
AS
297272017-09-19 Andreas Schwab <schwab@suse.de>
29728
29729 [BZ #22134]
29730 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
29731 execveat first.
29732 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
29733 unimplemented.
29734 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
29735 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
29736 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29737 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
29738 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
29739 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
29740 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29741 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
29742 * posix/Makefile (tests): Add tst-fexecve.
29743 * posix/tst-fexecve.c: New file.
29744
a5dcc87e
WD
297452017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29746
29747 * benchtests/Makefile: Add logf benchmark.
29748 * benchtests/logf-inputs: Add reduced trace from wrf_r.
29749
7024d544
WD
297502017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29751
29752 * benchtests/Makefile: Add expf benchmark.
29753 * benchtests/expf-inputs: Add reduced trace from wrf_r.
29754
ca3a382e
WD
297552017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29756
29757 * csu/Makefile: Add -funwind-tables to libc-start.c.
29758 * debug/Makefile: Add -funwind-tables to backtrace.c.
29759 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
29760 * sysdeps/arm/Makefile: Likewise.
29761 * sysdeps/i386/Makefile: Likewise.
29762 * sysdeps/m68k/Makefile: Likewise.
29763 * sysdeps/mips/Makefile: Likewise.
29764 * sysdeps/nios2/Makefile: Likewise.
29765 * sysdeps/sh/Makefile: Likewise.
29766 * sysdeps/sparc/Makefile: Likewise.
29767
eb375def
JM
297682017-09-19 Joseph Myers <joseph@codesourcery.com>
29769
29770 * benchtests/Makefile (bench-math): Add trunc and truncf.
29771 (CFLAGS-bench-trunc.c): New variable.
29772 (CFLAGS-bench-truncf.c): Likewise.
29773 * benchtests/trunc-inputs: New file.
29774 * benchtests/truncf-inputs: Likewise.
29775
bd17ba29
RS
297762017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29777
29778 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
29779
92892fdb
JM
297802017-09-18 Joseph Myers <joseph@codesourcery.com>
29781
6d9b0b5a
JM
29782 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
29783 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
29784 redefine.
29785 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
29786 (exp10l): Define as weak alias.
29787 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
29788 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
29789 and redefine.
29790 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
29791 (remainderl): Define as weak alias.
29792
92892fdb
JM
29793 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
29794 (fmal): Define using libm_alias_ldouble.
29795 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
29796 (acoshl): Define using libm_alias_ldouble.
29797 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
29798 (acosl): Define using libm_alias_ldouble.
29799 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
29800 (asinl): Define using libm_alias_ldouble.
29801 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
29802 (atan2l): Define using libm_alias_ldouble.
29803 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
29804 (atanhl): Define using libm_alias_ldouble.
29805 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
29806 (coshl): Define using libm_alias_ldouble.
29807 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
29808 (exp10l): Define using libm_alias_ldouble.
29809 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
29810 (exp2l): Define using libm_alias_ldouble.
29811 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
29812 (expl): Define using libm_alias_ldouble.
29813 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
29814 (fmodl): Define using libm_alias_ldouble.
29815 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
29816 (hypotl): Define using libm_alias_ldouble.
29817 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
29818 (j0l): Define using libm_alias_ldouble.
29819 (y0l): Likewise.
29820 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
29821 (j1l): Define using libm_alias_ldouble.
29822 (y1l): Likewise.
29823 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
29824 (jnl): Define using libm_alias_ldouble.
29825 (ynl): Likewise.
29826 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
29827 (log10l): Define using libm_alias_ldouble.
29828 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
29829 (log2l): Define using libm_alias_ldouble.
29830 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
29831 (logl): Define using libm_alias_ldouble.
29832 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
29833 (powl): Define using libm_alias_ldouble.
29834 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
29835 (remainderl): Define using libm_alias_ldouble.
29836 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
29837 (sinhl): Define using libm_alias_ldouble.
29838 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
29839 (sqrtl): Define using libm_alias_ldouble.
29840 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
29841 (tgammal): Define using libm_alias_ldouble.
29842 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
29843 (exp10l): Do not use long_double_symbol here.
29844 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
29845 [LIBM_SVID_COMPAT] (remainderl): Likewise.
29846 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
29847 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
29848 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
29849 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
29850 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
29851 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
29852 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
29853 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
29854 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
29855 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
29856 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
29857 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
29858 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
29859 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
29860 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
29861 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
29862 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
29863 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
29864 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
29865 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
29866
6cd380dd
WB
298672017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
29868
29869 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
29870 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
29871
1c6d89e9
ST
298722017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
29873
29874 * io/read.c (read): Add libc_hidden_weak.
29875 * sysdeps/mach/hurd/read.c (read): Likewise.
29876 * io/write.c (write): Likewise.
29877 * sysdeps/mach/hurd/write.c (write): Likewise.
29878 * io/pread64.c (__pread64): Likewise.
29879 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
29880 * posix/pread64.c (__pread64): Add libc_hidden_def.
29881
06b1de23
SP
298822017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
29883
140647ea
SP
29884 * benchtests/scripts/compare_strings.py: New option -g.
29885 (draw_graph): Print a message that a graph is being generated.
29886 (process_results): Generate graph only if -g is passed.
29887 (main): Process option -g.
29888
5a6547b7
SP
29889 * benchtests/scripts/compare_strings.py (process_results):
29890 Better spacing for output.
29891
06b1de23
SP
29892 * benchtests/scripts/compare_strings.py: Use argparse.
29893 * benchtests/README: Document existence of compare_strings.py.
29894
c67a2328
JM
298952017-09-15 Joseph Myers <joseph@codesourcery.com>
29896
9ac44708
JM
29897 * math/s_fma.c: Include <libm-alias-double.h>.
29898 (fma): Define using libm_alias_double.
29899 * math/s_nextafter.c: Include <libm-alias-double.h>.
29900 (nextafter): Define using libm_alias_double.
29901 * math/w_acos_compat.c: Include <libm-alias-double.h>.
29902 (acos): Define using libm_alias_double.
29903 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
29904 (aocsh): Define using libm_alias_double.
29905 * math/w_asin_compat.c: Include <libm-alias-double.h>.
29906 (asin): Define using libm_alias_double.
29907 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
29908 (atan2): Define using libm_alias_double.
29909 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
29910 (atanh): Define using libm_alias_double.
29911 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
29912 (cosh): Define using libm_alias_double.
29913 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
29914 (exp10): Define using libm_alias_double.
29915 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
29916 (exp2): Define using libm_alias_double.
29917 * math/w_exp_compat.c: Include <libm-alias-double.h>.
29918 (exp): Define using libm_alias_double.
29919 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
29920 (fmod): Define using libm_alias_double.
29921 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
29922 (hypot): Define using libm_alias_double.
29923 * math/w_j0_compat.c: Include <libm-alias-double.h>.
29924 (j0): Define using libm_alias_double.
29925 (y0): Likewise.
29926 * math/w_j1_compat.c: Include <libm-alias-double.h>.
29927 (j1): Define using libm_alias_double.
29928 (y1): Likewise.
29929 * math/w_jn_compat.c: Include <libm-alias-double.h>.
29930 (jn): Define using libm_alias_double.
29931 (yn): Likewise.
29932 * math/w_log10_compat.c: Include <libm-alias-double.h>.
29933 (log10): Define using libm_alias_double.
29934 * math/w_log2_compat.c: Include <libm-alias-double.h>.
29935 (log2): Define using libm_alias_double.
29936 * math/w_log_compat.c: Include <libm-alias-double.h>.
29937 (log): Define using libm_alias_double.
29938 * math/w_pow_compat.c: Include <libm-alias-double.h>.
29939 (pow): Define using libm_alias_double.
29940 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
29941 (remainder): Define using libm_alias_double.
29942 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
29943 (sinh): Define using libm_alias_double.
29944 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
29945 (sqrt): Define using libm_alias_double.
29946 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
29947 (tgamma): Define using libm_alias_double.
29948 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
29949 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
29950 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
29951 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
29952 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
29953 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
29954 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
29955 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
29956 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
29957 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
29958 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
29959 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
29960 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
29961 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
29962 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
29963 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
29964 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
29965 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
29966 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
29967 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
29968 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
29969 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
29970 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
29971 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
29972 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
29973
c67a2328
JM
29974 * math/e_acoshl.c: Remove.
29975 * math/e_acosl.c: Likewise.
29976 * math/e_asinl.c: Likewise.
29977 * math/e_atan2l.c: Likewise.
29978 * math/e_atanhl.c: Likewise.
29979 * math/e_coshl.c: Likewise.
29980 * math/e_expl.c: Likewise.
29981 * math/e_fmodl.c: Likewise.
29982 * math/e_gammal_r.c: Likewise.
29983 * math/e_hypotl.c: Likewise.
29984 * math/e_j0l.c: Likewise.
29985 * math/e_j1l.c: Likewise.
29986 * math/e_jnl.c: Likewise.
29987 * math/e_lgammal_r.c: Likewise.
29988 * math/e_log10l.c: Likewise.
29989 * math/e_log2l.c: Likewise.
29990 * math/e_logl.c: Likewise.
29991 * math/e_powl.c: Likewise.
29992 * math/e_rem_pio2l.c: Likewise.
29993 * math/e_sinhl.c: Likewise.
29994 * math/e_sqrtf128.c: Likewise.
29995 * math/e_sqrtl.c: Likewise.
29996 * math/k_cosl.c: Likewise.
29997 * math/k_sinl.c: Likewise.
29998 * math/k_tanl.c: Likewise.
29999 * math/s_asinhl.c: Likewise.
30000 * math/s_atanl.c: Likewise.
30001 * math/s_cbrtl.c: Likewise.
30002 * math/s_erfl.c: Likewise.
30003 * math/s_expm1l.c: Likewise.
30004 * math/s_log1pl.c: Likewise.
30005 * math/s_tanhl.c: Likewise.
30006
61c45f25
TMQMF
300072017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30008
30009 [BZ #21745]
30010 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
30011 [$(subdir) = math] (sysdep_calls): New variable. Has the
30012 previous contents of sysdep_routines, but re-sorted..
30013 [$(subdir) = math] (sysdep_routines): Re-use the contents from
30014 sysdep_calls.
30015 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
30016 defined in sysdep_calls and replace by the respective m_* names.
30017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
30018 (compat_symbol): Undefine to avoid duplicated compat symbols in
30019 libc.
30020
5bcdb315
JM
300212017-09-15 Joseph Myers <joseph@codesourcery.com>
30022
30023 * math/s_fmaf.c: Include <libm-alias-float.h>.
30024 (fmaf): Define using libm_alias_float.
30025 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
30026 (acosf): Define using libm_alias_float.
30027 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
30028 (acoshf): Define using libm_alias_float.
30029 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
30030 (asinf): Define using libm_alias_float.
30031 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
30032 (atan2f): Define using libm_alias_float.
30033 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
30034 (atanhf): Define using libm_alias_float.
30035 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
30036 (coshf): Define using libm_alias_float.
30037 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
30038 (exp10f): Define using libm_alias_float.
30039 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
30040 (fmodf): Define using libm_alias_float.
30041 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
30042 (hypotf): Define using libm_alias_float.
30043 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
30044 (j0f): Define using libm_alias_float.
30045 (y0f): Likewise.
30046 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
30047 (j1f): Define using libm_alias_float.
30048 (y1f): Likewise.
30049 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
30050 (jnf): Define using libm_alias_float.
30051 (ynf): Likewise.
30052 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
30053 (log10f): Define using libm_alias_float.
30054 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
30055 (log2f): Define using libm_alias_float.
30056 * math/w_logf_compat.c: Include <libm-alias-float.h>.
30057 (logf): Define using libm_alias_float.
30058 * math/w_powf_compat.c: Include <libm-alias-float.h>.
30059 (powf): Define using libm_alias_float.
30060 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
30061 (remainderf): Define using libm_alias_float.
30062 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
30063 (sinhf): Define using libm_alias_float.
30064 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
30065 (sqrtf): Define using libm_alias_float.
30066 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
30067 (tgammaf): Define using libm_alias_float.
30068
01f28812
JM
300692017-09-14 Joseph Myers <joseph@codesourcery.com>
30070
30071 * include/math.h (roundeven): Change hidden_proto call to
30072 __roundeven.
30073 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
30074 alias.
30075 [NO_LONG_DOUBLE] (__j0l): New strong alias.
30076 (y0): Rename to __y0 and define as weak alias.
30077 [NO_LONG_DOUBLE] (__y0l): New strong alias.
30078 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
30079 alias.
30080 (y0f): Rename to __y0f and define as weak alias.
30081 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
30082 alias.
30083 [NO_LONG_DOUBLE] (__j1l): New strong alias.
30084 (y1): Rename to __y1 and define as weak alias.
30085 [NO_LONG_DOUBLE] (__y1l): New strong alias.
30086 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
30087 alias.
30088 (y1f): Rename to __y1f and define as weak alias.
30089 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
30090 alias.
30091 [NO_LONG_DOUBLE] (__jnl): New strong alias.
30092 (yn): Rename to __yn and define as weak alias.
30093 [NO_LONG_DOUBLE] (__ynl): New strong alias.
30094 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
30095 alias.
30096 (ynf): Rename to __ynf and define as weak alias.
30097 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
30098 (fromfp): Define as weak alias.
30099 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
30100 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
30101 (fromfpx): Define as weak alias.
30102 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
30103 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
30104 __getpayload and define as weak alias.
30105 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
30106 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
30107 __roundeven and define as weak alias.
30108 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
30109 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
30110 __setpayload.
30111 (setpayload): Define as weak alias.
30112 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
30113 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
30114 __setpayloadsig.
30115 (setpayloadsig): Define as weak alias.
30116 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
30117 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
30118 __totalorder and define as weak alias.
30119 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
30120 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
30121 to __totalordermag and define as weak alias.
30122 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
30123 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
30124 (ufromfp): Define as weak alias.
30125 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
30126 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
30127 __ufromfpx.
30128 (ufromfpx): Define as weak alias.
30129 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
30130 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
30131 Rename to __getpayload and define as weak alias.
30132 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
30133 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
30134 Rename to __roundeven and define as weak alias.
30135 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
30136 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
30137 Rename to __totalorder and define as weak alias.
30138 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
30139 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
30140 (totalordermag): Rename to __totalordermag and define as weak
30141 alias.
30142 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
30143 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
30144 macro.
30145 (__roundevenl): Likewise.
30146 (__totalorderl): Likewise.
30147 (__totalordermagl): Likewise
30148 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
30149 __fromfpf128.
30150 (fromfpf128): Define as weak alias.
30151 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
30152 __fromfpxf128.
30153 (fromfpxf128): Define as weak alias.
30154 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
30155 __setpayloadf128.
30156 (setpayloadf128): Define as weak alias.
30157 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
30158 __setpayloadsigf128.
30159 (setpayloadsigf128): Define as weak alias.
30160 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
30161 __ufromfpf128.
30162 (ufromfpf128): Define as weak alias.
30163 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
30164 __ufromfpxf128.
30165 (ufromfpxf128): Define as weak alias.
30166 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
30167 (fromfpf): Define as weak alias.
30168 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
30169 __fromfpxf.
30170 (fromfpxf): Define as weak alias.
30171 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
30172 __getpayloadf and define as weak alias.
30173 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
30174 __roundevenf and define as weak alias.
30175 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
30176 __setpayloadf.
30177 (setpayloadf): Define as weak alias.
30178 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
30179 __setpayloadsigf.
30180 (setpayloadsigf): Define as weak alias.
30181 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
30182 __totalorderf and define as weak alias.
30183 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
30184 Rename to __totalordermagf and define as weak alias.
30185 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
30186 __ufromfpf.
30187 (ufromfpf): Define as weak alias.
30188 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
30189 __ufromfpxf.
30190 (ufromfpxf): Define as weak alias.
30191 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
30192 __fromfpl.
30193 (fromfpl): Define as weak alias.
30194 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
30195 __fromfpxl.
30196 (fromfpxl): Define as weak alias.
30197 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
30198 to __getpayloadl and define as weak alias.
30199 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
30200 __roundevenl and define as weak alias.
30201 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
30202 __setpayloadl.
30203 (setpayloadl): Define as weak alias.
30204 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
30205 __setpayloadsigl.
30206 (setpayloadsigl): Define as weak alias.
30207 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
30208 to __totalorderl and define as weak alias.
30209 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
30210 Rename to __totalordermagl and define as weak alias.
30211 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
30212 __ufromfpl.
30213 (ufromfpl): Define as weak alias.
30214 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
30215 __ufromfpxl.
30216 (ufromfpxl): Define as weak alias.
30217 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
30218 __fromfpl.
30219 (fromfpl): Define as weak alias.
30220 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
30221 __fromfpxl.
30222 (fromfpxl): Define as weak alias.
30223 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
30224 Rename to __getpayloadl and define as weak alias.
30225 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
30226 to __roundevenl and define as weak alias. Call __roundeven
30227 instead of roundeven.
30228 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
30229 __setpayloadl.
30230 (setpayloadl): Define as weak alias.
30231 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
30232 __setpayloadsigl.
30233 (setpayloadsigl): Define as weak alias.
30234 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
30235 Rename to __totalorderl and define as weak alias.
30236 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
30237 Rename to __totalordermagl and define as weak alias.
30238 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
30239 __ufromfpl.
30240 (ufromfpl): Define as weak alias.
30241 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
30242 __ufromfpxl.
30243 (ufromfpxl): Define as weak alias.
30244 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
30245 __fromfpl.
30246 (fromfpl): Define as weak alias.
30247 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
30248 __fromfpxl.
30249 (fromfpxl): Define as weak alias.
30250 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
30251 __getpayloadl and define as weak alias.
30252 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
30253 __roundevenl and define as weak alias.
30254 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
30255 __setpayloadl.
30256 (setpayloadl): Define as weak alias.
30257 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
30258 __setpayloadsigl.
30259 (setpayloadsigl): Define as weak alias.
30260 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
30261 __totalorderl and define as weak alias.
30262 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
30263 Rename to __totalordermagl and define as weak alias.
30264 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
30265 __ufromfpl.
30266 (ufromfpl): Define as weak alias.
30267 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
30268 __ufromfpxl.
30269 (ufromfpxl): Define as weak alias.
30270
29c933fb
SP
302712017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
30272
503c92c3
SP
30273 * benchtests/bench-string.h (realloc_bufs): New function.
30274 (test_init): Call it.
30275 * benchtests/bench-memset-large.c (do_test): Likewise.
30276 * benchtests/bench-memset.c (do_test): Likewise.
30277
29c933fb
SP
30278 * benchtests/bench-memset-large.c: Print output in JSON
30279 format.
30280 * benchtests/bench-memset.c: Likewise.
30281
799c8d69
MF
302822017-09-14 Mike FABIAN <mfabian@redhat.com>
30283
30284 [BZ #21084]
30285 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
30286 * iconvdata/Makefile: Add IBM858.
30287 * iconvdata/gconv-modules: Likewise.
30288 * iconvdata/tst-tables.sh: Likewise.
30289 * iconvdata/ibm858.c: New file.
30290 * localedata/charmaps/IBM858: Likewise.
30291
c207f7ce 302922017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
fcc82c06
AK
30293
30294 [BZ #22023]
30295 * locales/niu_NZ (LC_TIME): copy "niu_NU".
30296 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
30297
f28a0926
AK
302982017-09-14 Mike FABIAN <mfabian@redhat.com>
30299
30300 [BZ #22112]
30301 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
30302 and add tel_int_fmt.
30303
02093e62
JM
303042017-09-14 Joseph Myers <joseph@codesourcery.com>
30305
30306 * sysdeps/generic/libm-alias-float128.h: New file.
30307 * sysdeps/generic/math-type-macros-float128.h: Include
30308 <libm-alias-float128.h>.
30309 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
30310
1aae75ef
JM
303112017-09-13 Joseph Myers <joseph@codesourcery.com>
30312
30313 * sysdeps/generic/libm-alias-ldouble.h: New file.
30314 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
30315 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
30316 * sysdeps/generic/math-type-macros-ldouble.h: Include
30317 <libm-alias-ldouble.h>.
30318 [!declare_mgen_alias] (declare_mgen_alias): Define to use
30319 libm_alias_ldouble.
30320
bcea7ad6
SN
303212017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
30322
30323 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
30324 * math/w_exp_compat.c: ... here.
30325 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
30326 * math/w_expf_compat.c: ... here.
30327 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
30328 * math/w_expl_compat.c: ... here.
30329 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
30330 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
30331 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
30332 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
30333
0fc56478
JM
303342017-09-13 Joseph Myers <joseph@codesourcery.com>
30335
30336 * math/w_scalbln_template.c (strong_alias): Do not undefine and
30337 redefine.
30338 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
30339 macro.
30340 (ldexpl): Only define as compat symbol for libc, not libm.
30341 (scalbnl): Define as compat symbol for libc here.
30342 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
30343 define for [IS_IN (libc)].
30344 (__ldexpl_2): Remove alias.
30345 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
30346 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
30347 name in long_double_symbol call.
30348 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
30349 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
30350 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
30351 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
30352 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
30353 Remove macro.
30354 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
30355 Define as compat symbol.
30356
3ca622e4
AZ
303572017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30358
30359 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
30360 * sysdeps/unix/sysv/linux/alpha/Makefile
30361 [$(subdir) = csu] (sysdep_routines): Remove rule.
30362
620ff9ee
JM
303632017-09-13 Joseph Myers <joseph@codesourcery.com>
30364
30365 * sysdeps/generic/libm-alias-double.h: New file.
30366 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
30367 * sysdeps/generic/math-type-macros-double.h: Include
30368 <libm-alias-double.h>.
30369 [declare_mgen_alias] (declare_mgen_alias): Define to use
30370 libm_alias_double.
30371 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
30372 (M_LIBM_NEED_COMPAT): Remove macro.
30373 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
30374 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
30375 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
30376 code.
30377 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30378 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30379 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30380 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30381 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30382 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30383 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30384 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30385 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30386 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30387 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30388 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30389 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30390 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30391 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30392 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30393 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30394 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30395 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30396 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30397 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30398 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30399 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30400 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30401 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30402 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30403 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30404 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
30405 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
30406 macro.
30407 (declare_mgen_alias): New macro.
30408 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
30409 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
30410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
30411 (M_LIBM_NEED_COMPAT): Remove macro.
30412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
30413 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
30414 <first-versions.h>.
30415 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
30416 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
30417
a891caff
JM
304182017-09-12 Joseph Myers <joseph@codesourcery.com>
30419
30420 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
30421 (declare_mgen_alias_2): Remove.
30422 * sysdeps/generic/math-type-macros-double.h
30423 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
30424 Likewise.
30425 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
30426 alias.
30427 (ldexp): Define with declare_mgen_alias.
30428 (scalbn): Likewise.
30429
a1a78204
SE
304302017-09-12 Steve Ellcey <sellcey@cavium.com>
30431
30432 * grp/initgroups.c: Include config.h.
30433 (DEFAULT_CONFIG): New macro.
30434 (internal_getgrouplist): Use DEFAULT_CONFIG.
30435 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30436 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
30437 (DEFAULT_DEFCONFIG): New macro.
30438 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
30439 * nss/grp-lookup.c: Include config.h
30440 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
30441 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
30442 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
30443 * manual/nss.texi: Update default values section.
30444
ef8adeb0
L
304452017-09-12 H.J. Lu <hongjiu.lu@intel.com>
30446
30447 [BZ #21967]
30448 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
30449 New.
30450 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
30451 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30452 Handle MathVec_Prefer_No_AVX512.
30453 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
30454 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
30455 is set.
30456
a166531f
ST
304572017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
30458
30459 * posix/sched_primax.c (__sched_get_priority_max): Add
30460 libc_hidden_def.
30461 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
30462 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
30463 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
30464 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
30465 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
30466 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
30467 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
30468 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
30469 Add aliases.
30470
4b7d1efb
JM
304712017-09-11 Joseph Myers <joseph@codesourcery.com>
30472
30473 * sysdeps/generic/libm-alias-float.h: New file.
30474 * sysdeps/generic/math-type-macros-float.h: Include
30475 <libm-alias-float.h>.
30476 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
30477
45ff3463
L
304782017-09-11 H.J. Lu <hongjiu.lu@intel.com>
30479
30480 [BZ #22093]
30481 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
30482 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
30483 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
30484 (HWCAP_IMPORTANT): Likewise.
30485 (HWCAP_X86_64): New enum.
30486 (HWCAP_X86_AVX512_1): Updated.
30487 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
30488 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
30489 (modules-names): Add x86_64/tst-x86_64mod-1.
30490 (LDFLAGS-tst-x86_64mod-1.so): New.
30491 ($(objpfx)tst-x86_64-1): Likewise.
30492 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
30493 (tst-x86_64-1-clean): Likewise.
30494 * sysdeps/x86_64/tst-x86_64-1.c: New file.
30495 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
30496
891abfd3
SP
304972017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
30498
30499 * po/sv.po: Update translations.
30500 * po/fr.po: Likewise.
30501
00c3da43
ST
305022017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30503
30504 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
30505 seconds.
3bdfd9fb
ST
30506 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
30507 seconds.
65b22ebc 30508 * elf/rtld-Rules: Fix $(error) use.
00c3da43 30509
96480903
MF
305102017-09-09 Mike FABIAN <mfabian@redhat.com>
30511
30512 [BZ #14925]
30513 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
30514 * locale/iso-639.def: Change “Bengali” to “Bangla”.
30515 * localedata/locales/bn_BD: “Bengali” was still used in some
30516 comments. Change it to “Bangla”.
30517
4c03a696
MT
305182017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
30519
30520 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
30521
9c9ec581
SE
305222017-09-08 Steve Ellcey <sellcey@cavium.com>
30523
30524 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
30525 thunderx2t99p1 to list of cpu names.
30526 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
30527 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
30528
f00bce74
SE
305292017-09-08 Steve Ellcey <sellcey@cavium.com>
30530
30531 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
30532 Use strcmp instead of tunable_is_name.
30533
27342d17
JM
305342017-09-08 Joseph Myers <joseph@codesourcery.com>
30535
af1b7c8c
JM
30536 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30537 (F_GET_RW_HINT): New macro.
30538 [__USE_GNU] (F_SET_RW_HINT): Likewise.
30539 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
30540 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
30541 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
30542 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
30543 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
30544 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
30545 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
30546 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
30547
27342d17
JM
30548 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30549 (F_ADD_SEALS): New macro.
30550 [__USE_GNU] (F_GET_SEALS): Likewise.
30551 [__USE_GNU] (F_SEAL_SEAL): Likewise.
30552 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
30553 [__USE_GNU] (F_SEAL_GROW): Likewise.
30554 [__USE_GNU] (F_SEAL_WRITE): Likewise.
30555
c66c9082
AZ
305562017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30557
07b4f49d
AZ
30558 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
30559 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
30560 * posix/glob_internal.h (__glob_pattern_type):
30561 * posix/glob.c (glob):
30562 * posix/glob_pattern_p.c (__glob_pattern_p):
30563 Use them.
30564
116f1c64
AZ
30565 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
30566 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
30567 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
30568 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
30569 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
30570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
30571 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
30572 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
30573 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
30574 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30575 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
30576 * sysdeps/wordsize-64/glob.c: Likewise.
30577 * sysdeps/wordsize-64/glob64.c: Likewise.
30578 * sysdeps/wordsize-64/globfree.c: Likewise.
30579 * sysdeps/wordsize-64/globfree64.c: Likewise.
30580 * sysdeps/unix/sysv/linux/glob.c: New file.
30581 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
30582 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
30583 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
30584 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
30585 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
30586 adds !GLOB_NO_OLD_VERSION as an extra condition.
30587 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
30588 using relative path instead of absolute one.
30589 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
30590 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30591 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30592 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
30593 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
30594 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
30595
ffca8901
AZ
30596 [BZ #1062]
30597 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
30598 (glob): Use the same scratch buffer for both getlogin_r and
30599 getpwnam_r. Don’t require preallocation of the login name. This
30600 simplifies storage allocation, and corrects the handling of
30601 long login names.
30602
5a79f975
AZ
30603 [BZ #1062]
30604 * posix/glob.c (glob): Port recent patches to platforms
30605 lacking getpwnam_r.
30606 (glob): Fix longstanding misuse of errno after getpwnam_r, which
30607 returns an error number rather than setting errno.
30608
e00f2425
AZ
30609 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
30610 instead of GCC extension.
30611 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
30612 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
30613 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
30614
5554304f
AZ
30615 [BZ #866]
30616 [BZ #1062]
30617 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
30618 * posix/bug-glob1.c: Remove file.
30619 * posix/tst-glob_symlinks.c: New file.
30620 * posix/glob.c (__lstat64): New macro.
30621 (is_dir): New function.
30622 (glob, glob_in_dir): Match symlinks even if they are dangling.
30623 (link_stat, link_exists_p): Remove. All uses removed.
30624
686f2ea1
AZ
30625 [BZ #1062]
30626 [BZ #19971]
30627 * posix/glob.c (struct readdir_result): Remove skip_entry member.
30628 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
30629 All uses removed.
30630
c66c9082 30631 [BZ #1062]
914c9994 30632 CVE-2017-15671
c66c9082
AZ
30633 * posix/Makefile (routines): Add globfree, globfree64, and
30634 glob_pattern_p.
30635 * posix/flexmember.h: New file.
30636 * posix/glob_internal.h: Likewise.
30637 * posix/glob_pattern_p.c: Likewise.
30638 * posix/globfree.c: Likewise.
30639 * posix/globfree64.c: Likewise.
30640 * sysdeps/gnu/globfree64.c: Likewise.
30641 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
30642 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
30643 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
30644 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
30645 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
30646 * sysdeps/wordsize-64/globfree.c: Likewise.
30647 * sysdeps/wordsize-64/globfree64.c: Likewise.
30648 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
30649 [NDEBUG): Remove comments.
30650 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
30651 (dirent_type): New type. Use uint_fast8_t not
30652 uint8_t, as C99 does not require uint8_t.
30653 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
30654 (struct readdir_result): Use dirent_type. Do not define skip_entry
30655 unless it is needed; this saves a byte on platforms lacking d_ino.
30656 (readdir_result_type, readdir_result_skip_entry):
30657 New functions, replacing ...
30658 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
6b5c8607 30659 these functions, which were removed. This makes the callers
c66c9082
AZ
30660 easier to read. All callers changed.
30661 (D_INO_TO_RESULT): Now empty if there is no d_ino.
30662 (size_add_wrapv, glob_use_alloca): New static functions.
30663 (glob, glob_in_dir): Check for size_t overflow in several places,
30664 and fix some size_t checks that were not quite right.
30665 Remove old code using SHELL since Bash no longer
30666 uses this.
30667 (glob, prefix_array): Separate MS code better.
30668 (glob_in_dir): Remove old Amiga and VMS code.
30669 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
30670 separate files.
30671 (glob_in_dir): Do not rely on undefined behavior in accessing
30672 struct members beyond their bounds. Use a flexible array member
30673 instead
30674 (link_stat): Rename from link_exists2_p and return -1/0 instead of
30675 0/1. Caller changed.
30676 (glob): Fix memory leaks.
30677 * posix/glob64 (globfree64): Move to separate file.
30678 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
30679 (globfree64): Remove hidden alias.
30680 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
30681 oldglob.
30682 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
30683 separate file.
30684 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
30685 define.
30686 Move compat code to separate file.
30687 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
30688 separate file.
30689
78bfa877
L
306902017-09-07 H.J. Lu <hongjiu.lu@intel.com>
30691
30692 * resolv/tst-resolv-qtypes.c (domain): Changed to
30693 "const char domain[] =".
30694
05f0011f
JM
306952017-09-07 Joseph Myers <joseph@codesourcery.com>
30696
85bec0f2
JM
30697 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
30698 version to 3.1.6.
30699
5c23ee6e
JM
30700 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
30701 (TCP_MD5SIG_EXT): Likewise.
30702 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
30703 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
30704 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
30705
05f0011f
JM
30706 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
30707
7c9c5be9
MF
307082017-09-07 Mike FABIAN <mfabian@redhat.com>
30709
30710 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
30711
c207f7ce 307122017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
ae214523
AK
30713
30714 [BZ #22100]
30715 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
30716
507fe027
ST
307172017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
30718
30719 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
30720 before assuming that the file is empty. Avoid testing buffer content
30721 when nread == 0.
30722
65687ac7
AZ
307232017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30724
7bbbb4b9 30725 [BZ #18858]
65687ac7
AZ
30726 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
30727 Remove define.
30728 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
30729 Likewise.
30730 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
30731 Likewise.
30732 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
30733 Likewise.
30734 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
30735 Likewise.
30736 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
30737 Likewise.
30738 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
30739 Likewise.
30740
ab5ac271
FW
307412017-09-06 Florian Weimer <fweimer@redhat.com>
30742
30743 * malloc/dynarray_emplace_enlarge.c
30744 (__libc_dynarray_emplace_enlarge): Add missing else.
30745
a8304730
FW
307462017-09-06 Florian Weimer <fweimer@redhat.com>
30747
30748 [BZ #22096]
30749 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
30750 case of failure to obtain the global conf object.
30751
5670c4ab
FW
307522017-09-06 Florian Weimer <fweimer@redhat.com>
30753
30754 [BZ #22095]
30755 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
30756 dynarray allocation failure.
30757
c77eb969
FW
307582017-09-06 Florian Weimer <fweimer@redhat.com>
30759
30760 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
30761 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
30762 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
30763 New functions.
30764 (response): Call them. Add 'p', '6' flag processing.
30765 (test_reverse): New function.
30766 (test_get2_any): Call it.
30767 (test_no_inet6): Add 'p' test.
30768 (test_inet6): Likewise.
30769
5e9c4d17
FW
307702017-09-06 Florian Weimer <fweimer@redhat.com>
30771
30772 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
30773 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
30774 the QNAME.
30775 (test_gai): Adjust query names. Add additional tests.
30776 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
30777 test_get2. Adjust query names. Add additional tests.
30778 (test_no_inet6): New function, extracted from threadfunc.
30779 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
30780 Add additional tests.
30781
2ae5be04
MF
307822017-09-06 Mike FABIAN <mfabian@redhat.com>
30783
30784 [BZ #22070]
30785 * localedata/unicode-gen/utf8_gen.py: Set the width for
30786 characters with Prepended_Concatenation_Mark property to 1
30787 * localedata/charmaps/UTF-8: Updated using the improved script.
30788
af83ed5c
MF
307892017-09-06 Mike FABIAN <mfabian@redhat.com>
30790
30791 [BZ #21750]
30792 * localedata/unicode-gen/utf8_gen.py: Improve the script to
30793 use the range notation for all ranges of neighbouring characters
30794 with the same width.
30795
4f3647e4
JM
307962017-09-05 Joseph Myers <joseph@codesourcery.com>
30797
30798 * sysdeps/generic/math-type-macros-double.h: Include
30799 <math-svid-compat.h>.
30800 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30801 * sysdeps/generic/math-type-macros-float.h: Include
30802 <math-svid-compat.h>.
30803 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30804 * sysdeps/generic/math-type-macros-ldouble.h: Include
30805 <math-svid-compat.h>.
30806 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30807 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
30808 condition.
30809 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
30810 * math/w_acosf_compat.c: Likewise.
30811 * math/w_acosh_compat.c: Likewise.
30812 * math/w_acoshf_compat.c: Likewise.
30813 * math/w_acoshl_compat.c: Likewise.
30814 * math/w_acosl_compat.c: Likewise.
30815 * math/w_asin_compat.c: Likewise.
30816 * math/w_asinf_compat.c: Likewise.
30817 * math/w_asinl_compat.c: Likewise.
30818 * math/w_atan2_compat.c: Likewise.
30819 * math/w_atan2f_compat.c: Likewise.
30820 * math/w_atan2l_compat.c: Likewise.
30821 * math/w_atanh_compat.c: Likewise.
30822 * math/w_atanhf_compat.c: Likewise.
30823 * math/w_atanhl_compat.c: Likewise.
30824 * math/w_cosh_compat.c: Likewise.
30825 * math/w_coshf_compat.c: Likewise.
30826 * math/w_coshl_compat.c: Likewise.
30827 * math/w_exp10_compat.c: Likewise.
30828 * math/w_exp10f_compat.c: Likewise.
30829 * math/w_exp10l_compat.c: Likewise.
30830 * math/w_exp2_compat.c: Likewise.
30831 * math/w_exp2f_compat.c: Likewise.
30832 * math/w_exp2l_compat.c: Likewise.
30833 * math/w_fmod_compat.c: Likewise.
30834 * math/w_fmodf_compat.c: Likewise.
30835 * math/w_fmodl_compat.c: Likewise.
30836 * math/w_hypot_compat.c: Likewise.
30837 * math/w_hypotf_compat.c: Likewise.
30838 * math/w_hypotl_compat.c: Likewise.
30839 * math/w_j0_compat.c: Likewise.
30840 * math/w_j0f_compat.c: Likewise.
30841 * math/w_j0l_compat.c: Likewise.
30842 * math/w_j1_compat.c: Likewise.
30843 * math/w_j1f_compat.c: Likewise.
30844 * math/w_j1l_compat.c: Likewise.
30845 * math/w_jn_compat.c: Likewise.
30846 * math/w_jnf_compat.c: Likewise.
30847 * math/w_jnl_compat.c: Likewise.
30848 * math/w_lgamma_r_compat.c: Likewise.
30849 * math/w_lgammaf_r_compat.c: Likewise.
30850 * math/w_lgammal_r_compat.c: Likewise.
30851 * math/w_log10_compat.c: Likewise.
30852 * math/w_log10f_compat.c: Likewise.
30853 * math/w_log10l_compat.c: Likewise.
30854 * math/w_log2_compat.c: Likewise.
30855 * math/w_log2f_compat.c: Likewise.
30856 * math/w_log2l_compat.c: Likewise.
30857 * math/w_log_compat.c: Likewise.
30858 * math/w_logf_compat.c: Likewise.
30859 * math/w_logl_compat.c: Likewise.
30860 * math/w_pow_compat.c: Likewise.
30861 * math/w_powf_compat.c: Likewise.
30862 * math/w_powl_compat.c: Likewise.
30863 * math/w_remainder_compat.c: Likewise.
30864 * math/w_remainderf_compat.c: Likewise.
30865 * math/w_remainderl_compat.c: Likewise.
30866 * math/w_sinh_compat.c: Likewise.
30867 * math/w_sinhf_compat.c: Likewise.
30868 * math/w_sinhl_compat.c: Likewise.
30869 * math/w_sqrt_compat.c: Likewise.
30870 * math/w_sqrtf_compat.c: Likewise.
30871 * math/w_sqrtl_compat.c: Likewise.
30872 * math/w_tgamma_compat.c: Likewise.
30873 * math/w_tgammaf_compat.c: Likewise.
30874 * math/w_tgammal_compat.c: Likewise.
30875 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
30876 [LIBM_SVID_COMPAT].
30877 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
30878 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
30879 [LIBM_SVID_COMPAT].
30880 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
30881 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
30882 [LIBM_SVID_COMPAT].
30883 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
30884 * sysdeps/i386/fpu/w_sqrt.c: New file.
30885 * sysdeps/ia64/fpu/w_acos.c: Likewise.
30886 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
30887 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
30888 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
30889 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
30890 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
30891 * sysdeps/ia64/fpu/w_asin.c: Likewise.
30892 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
30893 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
30894 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
30895 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
30896 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
30897 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
30898 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
30899 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
30900 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
30901 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
30902 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
30903 * sysdeps/ia64/fpu/w_exp.c: Likewise.
30904 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
30905 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
30906 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
30907 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
30908 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
30909 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
30910 * sysdeps/ia64/fpu/w_expf.c: Likewise.
30911 * sysdeps/ia64/fpu/w_expl.c: Likewise.
30912 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
30913 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
30914 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
30915 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
30916 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
30917 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
30918 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
30919 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
30920 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
30921 * sysdeps/ia64/fpu/w_log.c: Likewise.
30922 * sysdeps/ia64/fpu/w_log10.c: Likewise.
30923 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
30924 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
30925 * sysdeps/ia64/fpu/w_log2.c: Likewise.
30926 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
30927 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
30928 * sysdeps/ia64/fpu/w_logf.c: Likewise.
30929 * sysdeps/ia64/fpu/w_logl.c: Likewise.
30930 * sysdeps/ia64/fpu/w_pow.c: Likewise.
30931 * sysdeps/ia64/fpu/w_powf.c: Likewise.
30932 * sysdeps/ia64/fpu/w_powl.c: Likewise.
30933 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
30934 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
30935 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
30936 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
30937 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
30938 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
30939 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
30940 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
30941 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
30942 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
30943 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
30944 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
30945 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
30946 [LIBM_SVID_COMPAT].
30947 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
30948 * sysdeps/ieee754/k_standard.c: Likewise.
30949 * sysdeps/ieee754/k_standardf.c: Likewise.
30950 * sysdeps/ieee754/k_standardl.c: Likewise.
30951 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
30952 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
30953 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
30954 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
30955 long_double_symbol call on [LIBM_SVID_COMPAT].
30956 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
30957 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
30958 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
30959 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
30960 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
30961 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
30962 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
30963 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
30964 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
30965 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
30966 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
30967 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
30968 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
30969 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
30970 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
30971 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
30972 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
30973 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
30974 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
30975 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
30976 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
30977 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
30978
05b38d64
SE
309792017-09-05 Steve Ellcey <sellcey@cavium.com>
30980
30981 * include/shlib-compat.h (TEST_COMPAT): New Macro.
30982 * malloc/tst-mallocstate.c: Convert from test-skeleton
30983 to test-driver. Ifdef code using TEST_COMPAT macro.
30984 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
30985 * math/test-matherr.c: Likewise.
30986
99d67918
JM
309872017-09-05 Joseph Myers <joseph@codesourcery.com>
30988
30989 [BZ #22086]
30990 * debug/pcprofiledump.c (main): Use byte-swapped mask when
30991 comparing word with byte-swapped constant.
30992
c207f7ce 309932017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
3f802aeb
MF
30994
30995 [BZ #20498]
30996 * locale/iso-639.def: add Miskito.
30997 * localedata/SUPPORTED: Add miq_NI/UTF-8.
30998 * localedata/locales/miq_NI: New file.
30999
0a587a8a
L
310002017-09-04 H.J. Lu <hongjiu.lu@intel.com>
31001
31002 [BZ #18822]
31003 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
31004 (__mkdir): Likewise.
31005 * io/chmod.c (__chmod): Add libc_hidden_def.
31006 * io/mkdir.c (__mkdir): Likewise.
31007 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
31008 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
31009 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
31010 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
31011
f3a129b8
JM
310122017-09-04 Joseph Myers <joseph@codesourcery.com>
31013
1650e192
JM
31014 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
31015 version to 4.13.
31016
f3a129b8
JM
31017 [BZ #22082]
31018 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
31019 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
31020
b38042f5
FW
310212017-09-04 Florian Weimer <fweimer@redhat.com>
31022
31023 * math/math.h: Issue warning if log is defined.
31024
059b6404
JM
310252017-09-04 Joseph Myers <joseph@codesourcery.com>
31026
31027 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
31028 kernel version to 4.13.
31029
b794e16b
ST
310302017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
31031
31032 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
06cf9d31
ST
31033 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
31034 parameter.
01969395
ST
31035 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
31036 just <bits/types.h>.
dd2b31de 31037 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
ed95bf56 31038 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
dd2b31de 31039 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
ed95bf56 31040 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
2263ca7c
ST
31041 * misc/preadv2.c: Include <errno.h>.
31042 * misc/preadv64v2.c: Include <errno.h>.
31043 * misc/pwritev2.c: Include <errno.h>.
31044 * misc/pwritev64v2.c: Include <errno.h>.
31045 * sysdeps/posix/preadv2.c: Include <errno.h>.
31046 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
31047 Fix <unistd.h> inclusion.
31048 * sysdeps/posix/pwritev2.c: Include <errno.h>.
31049 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
cae3d712
ST
31050 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
31051 __strtoul_internal): New functions.
127e7773
ST
31052 * sysdeps/posix/pause.c: Include <sigsetops.h>.
31053 * sysdeps/posix/system.c: Include <sigsetops.h>.
f85958a7
ST
31054 * sysdeps/mach/hurd/i386/Makefile
31055 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
31056 [$(subdir) = csu] (sysdep-only-routines): Likewise.
31057 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1946d950
ST
31058 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
31059 __feraiseexcept_renamed to feraiseexcept instead of
31060 __GI_feraiseexcept.
56bf5497 31061 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
2ce1f9ef 31062 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
492cbbed
ST
31063 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
31064 RWF_NOWAIT): Define to 0 if undefined already.
31065 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
31066 boils down to 0.
6547ec0a
ST
31067 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
31068 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
b794e16b 31069
5a80d39d
JM
310702017-09-01 Joseph Myers <joseph@codesourcery.com>
31071
31072 * manual/math.texi (pow10): Do not document.
31073 (pow10f): Likewise.
31074 (pow10l): Likewise.
31075 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
31076 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
31077 * math/libm-test-exp10.inc (pow10_test): Remove.
31078 (do_test): Do not call pow10.
31079 * math/w_exp10_compat.c (pow10): Make into compat symbol.
31080 [NO_LONG_DOUBLE] (pow10l): Likewise.
31081 * math/w_exp10f_compat.c (pow10f): Likewise.
31082 * math/w_exp10l_compat.c (pow10l): Likewise.
31083 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
31084 (pow10): Make into compat symbol.
31085 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
31086 (pow10f): Make into compat symbol.
31087 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
31088 (pow10l): Make into compat symbol.
31089 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
31090 pow10.
31091 (CFLAGS-nldbl-pow10.c): Remove variable..
31092 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
31093 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
31094 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
31095 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
31096 Undefine and redefine.
31097 (pow10l): Make into compat symbol.
31098 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
31099 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
31100 * sysdeps/arm/libm-test-ulps: Likewise.
31101 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
31102 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
31103 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
31104 * sysdeps/microblaze/libm-test-ulps: Likewise.
31105 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
31106 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31107 * sysdeps/nios2/libm-test-ulps: Likewise.
31108 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31109 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
31110 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31111 * sysdeps/sh/libm-test-ulps: Likewise.
31112 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31113 * sysdeps/tile/libm-test-ulps: Likewise.
31114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31115
3824fc38
PP
311162017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31117
31118 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
31119
b3008279
L
311202017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31121
31122 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
31123 "../ChangeLog.old/ChangeLog.8".
31124 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
31125 "../ChangeLog.old/ChangeLog.14".
31126
136fa185
L
311272017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31128
31129 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
31130 Threads Library.
31131
c18d50a2
JM
311322017-09-01 Joseph Myers <joseph@codesourcery.com>
31133
31134 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
31135
bedbd859
L
311362017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31137
31138 * csu/version.c (banner): Remove "by Roland McGrath et al.".
31139 * nptl/Banner: Remove "by Ulrich Drepper et al.".
31140
50c66c7a
PP
311412017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31142
31143 * stdlib/tst-atexit-common.c (do_test): Test support for at least
31144 32 atexit handlers.
31145
a617bd11
ZW
311462017-09-01 Zack Weinberg <zackw@panix.com>
31147
31148 * math/math.h (HUGE_VAL): Improve commentary.
31149
e0d2eb5a
AZ
311502017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31151 Andreas Schwab <schwab@suse.de>
31152
31153 [BZ #21530]
31154 * include/stdio.h (__gen_tempfd): New function.
31155 * stdio-common/Makefile (routines): Add gentempfd.
31156 * stdio-common/gentempfd.c: New file.
31157 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
31158 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
31159 unnamed file first.
31160
f4a6be25
FW
311612017-09-01 Florian Weimer <fweimer@redhat.com>
31162
31163 [BZ #21915]
31164 [BZ #21922]
31165 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
31166 result to determine success or failure, not the errno value.
31167 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
31168 (tst-nss-files-hosts-erange): Link with -ldl.
31169 * nss/tst-nss-files-hosts-erange.c: New file.
31170 * nss/tst-resolv-basic.c (response): Handle nodata.example.
31171 (do_test): Add NO_DATA tests.
31172 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
31173 (do_test): Call it.
31174
5f8340f5
FW
311752017-09-01 Florian Weimer <fweimer@redhat.com>
31176
31177 [BZ #21922]
31178 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
31179 coming from gethostbyname2_r.
31180
65329bd2
FW
311812017-09-01 Florian Weimer <fweimer@redhat.com>
31182
31183 * support/namespace.h (struct support_chroot_configuration): Add
31184 hosts, host_conf.
31185 (struct support_chroot): Add path_hosts, path_host_conf.
31186 * support/support_chroot.c (write_file): New function.
31187 (support_chroot_create): Call it to process /etc/resolv.conf,
31188 /etc/hosts, /etc/host.conf.
31189 (support_chroot_free): Update.
31190
a2881ef0
FW
311912017-09-01 Florian Weimer <fweimer@redhat.com>
31192
31193 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
31194 status indicates it is set.
31195
ad816a5e
FW
311962017-09-01 Florian Weimer <fweimer@redhat.com>
31197
63b52889 31198 [BZ #20532]
ad816a5e
FW
31199 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
31200 function lookup failures more reliable.
31201
53250a21
FW
312022017-09-01 Florian Weimer <fweimer@redhat.com>
31203
31204 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
31205 (getcanonname): Likewise.
31206 (gaih_inet): Likewise.
31207
924b121c
FW
312082017-09-01 Florian Weimer <fweimer@redhat.com>
31209
31210 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
31211 (getcanonname): Likewise.
31212 (gaih_inet): Likewise.
31213
d9ff799a 312142017-08-31 Steve Ellcey <sellcey@cavium.com>
6b5c8607 31215 Richard Henderson <rth@twiddle.net>
d9ff799a
SE
31216
31217 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
31218 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
31219 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
31220 (IREG_SIZE, OREG_SIZE): New macros.
31221 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
31222 (IREG_SIZE, OREG_SIZE): New macros.
31223 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
31224 (IREG_SIZE): New macro.
31225 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
31226 (IREG_SIZE): New macro.
31227 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
31228 New includes.
31229 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
31230 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
31231 (__CONCATX): Handle exceptions correctly on large values that may
31232 set FE_INVALID.
31233 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
31234 Initialize if not already set.
b39d961c 31235 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
d9ff799a 31236
102dde84
AZ
312372017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31238
31239 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
31240 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
31241 Likewise.
31242 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
31243 Likewise.
31244 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
31245 Likewise.
31246 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
31247 Likewise.
31248 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
31249 Likewise.
31250 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
31251 Likewise.
31252 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
31253 Likewise.
31254 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
31255 (NO_CANCELLATION): Likewise.
31256 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
31257 Likewise.
31258 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
31259 Likewise.
31260 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
31261 Likewise.
31262 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
31263 (NO_CANCELLATION): Likewise.
31264 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
31265 (NO_CANCELLATION): Likewise.
31266 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
31267 Likewise
31268 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
31269 Likewise.
31270 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
31271 Likewise.
31272 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
31273 Likewise.
31274 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
31275 hidden prototype.
31276 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
31277 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
31278
9eee633b
SE
312792017-08-31 Steve Ellcey <sellcey@cavium.com>
31280
31281 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
31282 in resolver call.
31283
65284eb7
FW
312842017-08-31 Florian Weimer <fweimer@redhat.com>
31285
31286 * include/libc-symbols.h (internal_function): Remove.
31287
41ad5ca6
FW
312882017-08-31 Florian Weimer <fweimer@redhat.com>
31289
31290 * stdlib/fmtmsg.c (internal_addseverity): Remove
31291 internal_function.
31292
2fa6d086
FW
312932017-08-31 Florian Weimer <fweimer@redhat.com>
31294
31295 * stdio-common/printf_fp.c (group_number): Remove
31296 internal_function.
31297 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
31298
b41bd5bc
FW
312992017-08-31 Florian Weimer <fweimer@redhat.com>
31300
31301 * posix/fnmatch.c (internal_function): Remove definition.
31302 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
31303 * posix/regcomp.c (peek_token, init_word_char)
31304 (duplicate_node_closure, fetch_token, peek_token)
31305 (peek_token_bracket, build_range_exp, build_collating_symbol):
31306 Likewise.
31307 * posix/regex_internal.c (re_string_construct_common)
31308 (create_ci_newstate, create_cd_newstate, re_string_allocate)
31309 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
31310 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
31311 (re_string_translate_buffer, re_string_reconstruct)
31312 (re_string_peek_byte_case, re_string_fetch_byte_case)
31313 (re_string_destruct, re_string_context_at, re_node_set_alloc)
31314 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
31315 (re_node_set_add_intersect, re_node_set_init_union)
31316 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
31317 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
31318 (re_dfa_add_node, calc_state_hash, re_acquire_state)
31319 (re_acquire_state_context): Likewise.
31320 * posix/regex_internal.h (internal_function): Remove definition.
31321 (re_string_realloc_buffers, build_wcs_buffer)
31322 (build_wcs_upper_buffer, build_upper_buffer)
31323 (re_string_translate_buffer, re_string_context_at)
31324 (re_string_char_size_at, re_string_wchar_at)
31325 (re_string_elem_size_at): Likewise.
31326 * posix/regexec.c (match_ctx_init, match_ctx_clean)
31327 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
31328 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
31329 (re_search_internal, re_search_2_stub, re_search_stub)
31330 (re_copy_regs, prune_impossible_nodes, check_matching)
31331 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
31332 (free_fail_stack_return, sift_states_iter_mb)
31333 (sift_states_backward, build_sifted_states)
31334 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
31335 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
31336 (check_subexp_limits, sift_states_bkref, merge_state_array)
31337 (find_recover_state, transit_state, merge_state_with_log)
31338 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
31339 (transit_state_mb, transit_state_bkref, get_subexp)
31340 (get_subexp_sub, find_subexp_node, check_arrival)
31341 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
31342 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
31343 (check_node_accept_bytes, find_collation_sequence_value)
31344 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
31345 (acquire_init_state_context, check_halt_node_context)
31346 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
31347 (sub_epsilon_src_nodes): Likewise.
31348 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
31349 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
31350 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
31351 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
31352 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
31353 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
31354 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
31355 * sysdeps/posix/ttyname.c (getttyname): Likewise.
31356 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
31357 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
31358 (PREADV): Likewise.
31359 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
31360 (PREADV): Likewise.
31361 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
31362 (PWRITEV): Likewise.
31363 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
31364 (PWRITEV): Likewise.
31365 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
31366 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
31367
83b09837
FW
313682017-08-31 Florian Weimer <fweimer@redhat.com>
31369
31370 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
31371 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
31372 Remove internal_function.
31373 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
31374 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
31375 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
31376 (__deallocate_stack, __libc_pthread_init)
31377 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
31378 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
31379 (__libc_disable_asynccancel, __librt_disable_asynccancel):
31380 Likewise.
31381 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
31382 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
31383 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
31384 Likewise.
31385 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
31386 (__pthread_mutex_unlock_usercnt): Likewise.
31387
116ac301
FW
313882017-08-31 Florian Weimer <fweimer@redhat.com>
31389
31390 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
31391 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
31392 (fts_safe_changedir): Remove internal_function.
31393 * io/ftw.c (internal_function): Remove definition.
31394 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
31395
9da93bd7
FW
313962017-08-31 Florian Weimer <fweimer@redhat.com>
31397
31398 * inet/deadline.c (__deadline_current_time)
31399 (__deadline_from_timeval, __deadline_to_ms): Remove
31400 internal_function.
31401 * inet/getnameinfo.c (nrl_domainname): Likewise.
31402 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
31403 * inet/inet6_option.c (add_pad): Likewise.
31404 * inet/net-internal.h (__deadline_current_time)
31405 (__deadline_from_timeval, __deadline_to_ms): Likewise.
31406 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
31407 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
31408 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
31409
a60eca2e
JM
314102017-08-31 Joseph Myers <joseph@codesourcery.com>
31411
c0c49d60
JM
31412 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
31413 include <bits/nan.h>.
31414 * math/Makefile (headers): Remove bits/nan.h.
31415 * bits/nan.h: Remove.
31416 * sysdeps/ieee754/bits/nan.h: Likewise.
31417 * sysdeps/mips/bits/nan.h: Likewise.
31418
5ef1b213
JM
31419 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
31420 not include <bits/inf.h>.
31421 * math/Makefile (headers): Remove bits/inf.h.
31422 * bits/inf.h: Remove.
31423 * sysdeps/ieee754/bits/inf.h: Likewise.
31424
a60eca2e
JM
31425 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
31426 bits/huge_vall.h or bits/huge_val_flt128.h.
31427 (HUGE_VAL): Define directly here.
31428 [__USE_ISOC99] (HUGE_VALF): Likewise.
31429 [__USE_ISOC99] (HUGE_VALL): Likewise.
31430 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31431 (HUGE_VAL_F128): Likewise.
31432 * math/Makefile (headers): Remove bits/huge_val.h,
31433 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
31434 * bits/huge_val.h: Remove.
31435 * bits/huge_val_flt128.h: Likewise.
31436 * bits/huge_valf.h: Likewise.
31437 * bits/huge_vall.h: Likewise.
31438 * sysdeps/ia64/bits/huge_vall.h: Likewise.
31439 * sysdeps/ieee754/bits/huge_val.h: Likewise.
31440 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
31441 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
31442 * sysdeps/sh/bits/huge_val.h: Likewise.
31443 * sysdeps/sparc/bits/huge_vall.h: Likewise.
31444 * sysdeps/x86/bits/huge_vall.h: Likewise.
31445
17e00cc6
FW
314462017-08-31 Florian Weimer <fweimer@redhat.com>
31447
31448 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
31449 internal_function.
31450 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
31451 Likewise.
31452 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
31453 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
31454 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
31455 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
31456 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31457 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
31458 * elf/dl-libc.c (dlerror_run): Likewise.
31459 * elf/dl-load.c (add_name_to_object, decompose_rpath)
31460 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
31461 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
31462 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
31463 Likewise.
31464 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
31465 (_dl_higher_prime_number, _dl_strtoul): Likewise.
31466 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
31467 * elf/dl-profile.c (_dl_start_profile): Likewise.
31468 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
31469 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
31470 Likewise.
31471 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
31472 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
31473 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
31474 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
31475 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
31476 (_dl_allocate_tls_storage): Likewise.
31477 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
31478 (_dl_check_all_versions): Likewise.
31479 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
31480 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
31481 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
31482 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31483 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
31484 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
31485 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
31486 internal_function from __dl_start.
31487 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
31488 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
31489 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
31490 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
31491 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
31492 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
31493 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
31494 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
31495 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
31496 (_dl_next_ld_env_entry, _dl_important_hwcaps)
31497 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
31498 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
31499 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
31500 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
31501 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
31502 Likewise.
31503 (struct rtld_global_ro): Remove internal_function from the
31504 _dl_lookup_symbol_x member.
31505 (_dl_symbol_value): Remove. No longer defined anywhere.
31506 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
31507 internal_function.
31508 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31509 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
31510 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
31511 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
31512 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
31513 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
31514 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
31515 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
31516 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
31517 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
31518 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31519 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
31520
8d2f9410
FW
315212017-08-31 Florian Weimer <fweimer@redhat.com>
31522
31523 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
31524 Remove internal_function.
31525 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
31526 Likewise.
31527 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
31528 Likewise.
31529
86e4919f
FW
315302017-08-31 Florian Weimer <fweimer@redhat.com>
31531
31532 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
31533 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
31534 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
31535
59bd52b0
FW
315362017-08-31 Florian Weimer <fweimer@redhat.com>
31537
31538 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
31539 (__gai_enqueue_request): Remove internal_function.
31540 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
31541 (__gai_remove_request, __gai_notify, __gai_notify_only)
31542 (__gai_sigqueue): Likewise.
31543 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
31544 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
31545 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
31546 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31547 Likewise.
31548
fc3d9497
FW
315492017-08-31 Florian Weimer <fweimer@redhat.com>
31550
31551 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
31552 * include/dirent.h (__opendirat, __getdents, __getdents64)
31553 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
31554 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
31555 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31556 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
31557 Likewise.
31558 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
31559
18c54fac
FW
315602017-08-31 Florian Weimer <fweimer@redhat.com>
31561
31562 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
31563 internal_function.
31564 (GETCWD_RETURN_TYPE): Likewise.
31565
7e01f080
FW
315662017-08-31 Florian Weimer <fweimer@redhat.com>
31567
31568 * include/time.h (__tz_compute, __strptime_internal): Remove
31569 internal_function.
31570 * time/strptime_l.c (__strptime_internal): Likewise.
31571 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
31572
d7ccc6c9
FW
315732017-08-31 Florian Weimer <fweimer@redhat.com>
31574
31575 * iconv/gconv.c (__gconv): Remove internal_function.
31576 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
31577 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
31578 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
31579 (__gconv_release_cache): Likewise.
31580 * iconv/gconv_close.c (__gconv_close): Likewise.
31581 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
31582 (read_conf_file, __gconv_get_path): Likewise.
31583 * iconv/gconv_db.c (derivation_lookup, add_derivation)
31584 (__gconv_release_step, gen_steps, increment_counter)
31585 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
31586 (__gconv_close_transform, free_modules_db): Likewise.
31587 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
31588 Likewise.
31589 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
31590 (__gconv_find_transform, __gconv_lookup_cache)
31591 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
31592 (__gconv_close_transform, __gconv_release_cache)
31593 (__gconv_loaded_object, __gconv_release_shlib)
31594 (__gconv_compare_alias): Likewise.
31595 * iconv/gconv_open.c (__gconv_open): Likewise.
31596 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
31597 * iconv/iconvconfig.c (add_module): Likewise.
31598 * intl/dcigettext.c (plural_lookup, guess_category_value)
31599 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
31600 * intl/eval-plural.h (plural_eval): Likewise.
31601 * intl/finddomain.c (_nl_find_domain): Likewise.
31602 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
31603 (_nl_load_domain, _nl_find_msg): Likewise.
31604 (internal_function): Remove definition.
31605 * intl/loadinfo.h (internal_function): Likewise.
31606 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
31607 internal_function.
31608 * intl/localealias.c (internal_function): Remove definition.
31609 (read_alias_file): Remove internal_function.
31610 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
31611 * intl/plural-exp.h (internal_function): Remove definition.
31612 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
31613 internal_function.
31614 * intl/plural.c: Regenerate.
31615 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
31616 * locale/coll-lookup.c (__collidx_table_lookup)
31617 (__collseq_table_lookup): Likewise.
31618 * locale/coll-lookup.h (__collidx_table_lookup)
31619 (__collseq_table_lookup): Likewise.
31620 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
31621 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31622 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
31623 (_nl_unload_locale): Likewise.
31624 * locale/localeinfo.h (struct __locale_data): Remove
31625 internal_function from cleanup member.
31626 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
31627 (_nl_remove_locale, _nl_load_locale_from_archive)
31628 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
31629 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
31630 (_nl_cleanup_time): Remove internal_function.
31631 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
31632 (_nl_parse_alt_digit): Likewise.
31633 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
31634 (_nl_select_era_entry): Likewise.
31635 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
31636 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
31637 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
7e01f080
FW
31638 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
31639 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
d7ccc6c9 31640
dab0eece
FW
316412017-08-31 Florian Weimer <fweimer@redhat.com>
31642
31643 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
31644 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
31645 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
31646 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
31647 Likewise.
31648 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
31649 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
31650 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
31651 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
31652 Likewise.
31653 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
31654
ab5bf7cf
FW
316552017-08-31 Florian Weimer <fweimer@redhat.com>
31656
31657 * misc/getttyent.c (skip, value): Remove internal_function.
31658 * misc/syslog.c (openlog_internal): Likewise.
31659 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
31660
75b3047e
FW
316612017-08-31 Florian Weimer <fweimer@redhat.com>
31662
31663 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
31664 (__nss_rewrite_field): Remove internal_function.
31665 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31666 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
31667 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
31668 * nss/nsswitch.c (nss_parse_file, nss_getline)
31669 (nss_parse_service_list, nss_new_service): Likewise.
31670 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
31671 * nss/valid_field.c (__nss_valid_field): Likewise.
31672 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
31673
0c71122c
FW
316742017-08-31 Florian Weimer <fweimer@redhat.com>
31675
31676 * malloc/arena.c (__malloc_fork_lock_parent)
31677 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
31678 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
31679 internal_function from defintions.
31680 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
31681 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
31682 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
31683 internal_function from declarations.
31684 * malloc/malloc.c (internal_function): Do not define.
31685 (mem2mem_check): Remove internal_function from declaration.
31686 (munmap_chunk, mremap_chunk): Remove internal_function.
31687 * malloc/mtrace.c (tr_where): Likewise.
31688
ca4ec803
FW
316892017-08-31 Florian Weimer <fweimer@redhat.com>
31690
31691 * include/rpc/pmap_clnt.h (__get_socket): Remove
31692 internal_function.
31693 * sunrpc/auth_des.c (synchronize): Likewise.
31694 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
31695 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
31696 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
31697 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
31698 (key_call): Likewise.
31699 * sunrpc/pm_getport.c (__get_socket): Likewise.
31700 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
31701 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
31702 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
31703 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
31704 (invalidate): Likewise.
31705 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
31706 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
31707 (set_input_fragment, get_input_bytes): Likewise.
31708
24cffce7
FW
317092017-08-31 Florian Weimer <fweimer@redhat.com>
31710
31711 * malloc/malloc.c (_int_free): Remove locked variable and related
31712 asserts.
31713
ecd0747d
L
317142017-08-31 H.J. Lu <hongjiu.lu@intel.com>
31715
31716 [BZ #22051]
31717 * Makerules (build-module-helper-objlist): Filter out
31718 $(elf-objpfx)sofini.os.
31719 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
31720 needed.
31721
5f0704b6
FW
317222017-08-31 Florian Weimer <fweimer@redhat.com>
31723
31724 * libio/fcloseall.c: Assume weak_alias is defined.
31725 * libio/feof.c: Likewise.
31726 * libio/fileno.c: Likewise.
31727 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
31728 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
31729 definitions.
31730 (_IO_file_open): Call __open directly.
31731 (_IO_new_file_sync): Assume ESPIPE is defined.
31732 (_IO_file_seekoff_maybe_mmap): Call __read directly.
31733 (_IO_new_file_write): Call __write directly.
31734 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
31735 * libio/ftello64.c (__ftello64): Assume EIO is defined.
31736 * libio/genops.c: Assume _LIBC is defined.
31737 (save_for_backup): Remove internal_function.
31738 * libio/getc.c: Assume weak_alias is defined.
31739 * libio/getwc.c: Likewise.
31740 * libio/iofclose.c: Assume _LIBC is defined.
31741 * libio/iofdopen.c: Likewise.
31742 (_IO_fcntl): Remove macro definition.
31743 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
31744 Call __fcntl directly.
31745 * libio/iofflush.c: Assume weak_alias is defined.
31746 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
31747 defined.
31748 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
31749 * libio/iofgets.c: Likewise.
31750 * libio/iofopen.c: Assume _LIBC is defined.
31751 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
31752 * libio/iofputs.c: Assume weak_alias is defined.
31753 * libio/iofread.c: Likewise.
31754 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
31755 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
31756 * libio/ioftell.c: Assume weak_alias is defined.
31757 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
31758 * libio/iofwide.c: Assume _LIBC is defined.
31759 (_IO_fwide): Drop SHARED conditional because it is implied by
31760 SHLIB_COMPAT.
31761 * libio/iofwrite.c: Assume weak_alias is defined.
31762 * libio/iogetdelim.c: Likewise.
31763 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
31764 * libio/iogetwline.c (wmemcpy): Remove macro definition.
31765 (_IO_getwline): Call __wmemcpy directly.
31766 * libio/iopopen.c: Assume _LIBC is defined.
31767 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
31768 (_IO_close): Remove macro definitions.
31769 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
31770 _exit directly.
31771 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
31772 directly.
31773 * libio/ioputs.c: Assume weak_alias is defined.
31774 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
31775 * libio/iosetbuffer.c: Assume weak_alias is defined.
31776 * libio/iosetvbuf.c: Likewise.
31777 * libio/ioungetc.c: Likewise.
31778 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
31779 libc_hidden_def, libc_hidden_weak, NULL are defined.
31780 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
31781 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
31782 defined.
31783 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
31784 definitions.
31785 (_IO_old_file_init_internal): Drop SHARED conditional because it
31786 is implied by SHLIB_COMPAT.
31787 (_IO_old_file_fopen): Call __open directly.
31788 (_IO_old_file_sync): Assume ESPIPE is defined.
31789 (_IO_old_file_write): Call __write directly.
31790 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
31791 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
31792 Call __fcntl directly.
31793 * libio/oldiofgetpos.c: Assume weak_alias is defined.
31794 (_IO_old_fgetpos): Assume EIO is defined.
31795 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
31796 (_IO_old_fgetpos64): Assume EIO is defined.
31797 * libio/oldiofsetpos.c: Assume weak_alias is defined.
31798 (_IO_old_fsetpos): Assume EIO is defined.
31799 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
31800 (_IO_old_fsetpos64): Assume EIO is defined.
31801 * libio/oldiopopen.c: Assume _LIBC is defined.
31802 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
31803 (_IO_close): Remove macro definitions.
31804 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
31805 directly.
31806 (_IO_old_proc_close): Call __close, __waitpid directly.
31807 * libio/put.c: Assume weak_alias is defined.
31808 * libio/stdfiles.c: Assume _LIBC is defined.
31809 * libio/stdio.c: Likewise.
31810 * libio/wfileops.c: Likewise.
31811 (_IO_wfile_sync): Assume ESPIPE is defined.
31812 * libio/wgenops.c: Assume _LIBC is defined.
31813 (save_for_wbackup): Remove internal_function.
31814
5129873a
FW
318152017-08-31 Florian Weimer <fweimer@redhat.com>
31816
31817 * malloc/malloc.c (top_check): Change return type to void. Remove
31818 internal_function.
31819 * malloc/hooks.c (top_check): Likewise.
31820 (malloc_check, realloc_check, memalign_check): Adjust.
31821
4fa9b3bf
JM
318222017-08-30 Joseph Myers <joseph@codesourcery.com>
31823
31824 [BZ #21457]
31825 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
31826 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
31827 sigcontext and namespace requirements.
31828 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
31829 * sysdeps/m68k/sys/ucontext.h: Likewise.
31830 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
31831 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
31832 <bits/sigcontext.h>.
31833 (__ctx): Define earlier.
31834 (mcontext_t): Define structure contents rather than using struct
31835 sigcontext.
31836 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
31837 __glibc_reserved1 instead of __reserved.
31838 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
31839 <bits/sigcontext.h>.
31840 (__ctx): Define earlier.
31841 (mcontext_t): Define structure contents rather than using struct
31842 sigcontext.
31843 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
31844 mcontext_t instead of struct sigcontext.
31845 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
31846 <bits/sigcontext.h>.
31847 (__ctx): Define earlier.
31848 (mcontext_t): Define structure contents rather than using struct
31849 sigcontext.
31850 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
31851 <bits/sigcontext.h>.
31852 (__ctx): Define earlier.
31853 (mcontext_t): Define structure contents rather than using struct
31854 sigcontext.
31855 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
31856 mcontext_t instead of struct sigcontext.
31857 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
31858 mcontext_t instead of struct sigcontext.
31859 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
31860 <bits/sigcontext.h>.
31861 (__ctx): New macro.
31862 (struct __ia64_fpreg_mcontext): New type.
31863 (mcontext_t): Define structure contents rather than using struct
31864 sigcontext.
31865 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
31866 (uc_sigmask): Define using __ctx.
31867 (uc_stack): Likewise.
31868 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
31869 <bits/sigcontext.h>.
31870 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31871 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
31872 <bits/sigcontext.h>.
31873 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
31874 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
31875 <bits/sigcontext.h>.
31876 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
31877 <bits/sigcontext.h>.
31878 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
31879 <bits/sigcontext.h>.
31880 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
31881 <bits/sigcontext.h>.
31882 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
31883 <bits/sigcontext.h>.
31884 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
31885 <bits/sigcontext.h>.
31886 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
31887 <bits/sigcontext.h>.
31888 (__ctx): Define earlier.
31889 (mcontext_t): Define structure contents rather than using struct
31890 sigcontext.
31891 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
31892 <bits/sigcontext.h>. Include <bits/types.h>.
31893 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
31894 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
31895 (test-xfail-XPG42/ucontext.h/conform): Likewise.
31896 (test-xfail-UNIX98/signal.h/conform): Likewise.
31897 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
31898 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
31899 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
31900 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
31901 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
31902 (test-xfail-POSIX2008/signal.h/conform): Likewise.
31903 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
31904 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
31905 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
31906
5898f454
FW
319072017-08-30 Florian Weimer <fweimer@redhat.com>
31908
31909 * malloc/dynarray_emplace_enlarge.c
31910 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
31911 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
31912 * malloc/tst-dynarray.c (test_long_overflow): New function.
31913 (do_test): Call it.
31914
a9da0bb2
FW
319152017-08-30 Florian Weimer <fweimer@redhat.com>
31916
31917 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
31918 (set_arena_corrupt): Remove definitions.
31919 (mtrim): Do not check for corrupt arena.
31920 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
31921 Likewise.
31922
ac3ed168
FW
319232017-08-30 Florian Weimer <fweimer@redhat.com>
31924
31925 [BZ #21754]
31926 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
31927 check_action.
31928 (ptmalloc_init): Do not set or use check_action.
31929 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
31930 call to malloc_printerr. Remove return statement.
31931 (free_check): Likewise. Remove arena unlock.
31932 (top_check): Update comment. Adjust call to malloc_printerr.
31933 Remove heap repair code.
31934 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
31935 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
31936 (sysmalloc): Adjust call to malloc_printerr.
31937 (munmap_chunk, __libc_realloc): Likewise. Remove return
31938 statement.
31939 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
31940 Remove errout label and corresponding gotos.
31941 (_int_free): Likewise. Remove arena unlock.
31942 (do_set_mallopt_check): Do not set check_action.
31943 (malloc_printerr): Adjust parameter list. Do not mark arena as
31944 corrupt.
31945 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
31946 comment.
31947 * manual/probes.texi (Memory Allocation Probes): Remove
31948 memory_mallopt_check_action.
31949
44bcba80
SE
319502017-08-30 Steve Ellcey <sellcey@cavium.com>
31951
31952 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
31953 Use pointer to uint64_t instead of long int for sp.
31954
ec2c1fce
FW
319552017-08-30 Florian Weimer <fweimer@redhat.com>
31956
31957 [BZ #21754]
31958 * malloc/malloc.c (malloc_printerr): Always terminate the process,
31959 without printing a backtrace. Do not leak any information in the
31960 error message.
31961 * manual/memory.texi (Heap Consistency Checking): Update.
31962 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
31963
9ce673b6
FW
319642017-08-30 Florian Weimer <fweimer@redhat.com>
31965
31966 Do not scale NPTL tests with available number of CPUs.
31967 * nptl/tst-cond16.c (count): Set to constant value of 8.
31968 * nptl/tst-cond18.c (count): Likewise.
31969
2f1aef19
JM
319702017-08-29 Joseph Myers <joseph@codesourcery.com>
31971
31972 [BZ #22035]
31973 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
31974 Define to take a second argument that is a macro that
31975 concatentates a suffix, not the suffix itself.
31976 (__CONCAT_d): New macro.
31977 (__CONCAT_f): Likewise.
31978 (__CONCAT_l): Likewise.
31979
8325b477
PP
319802017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
31981
31982 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
31983 by child.
31984
319cbbf6
AZ
319852017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31986 Aurelien Jarno <aurelien@aurel32.net>
31987 Maciej W. Rozycki <macro@imgtec.com>
31988
31989 [BZ #21956]
31990 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
31991 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
31992 `mips16-syscall6' and `mips16-syscall7'.
31993 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
31994 (CFLAGS-mips16-syscall7.c): Remove.
31995 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
31996 Remove `__mips16_syscall5', `__mips16_syscall6' and
31997 `__mips16_syscall7'.
31998 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
31999 (__mips16_syscall0): Rename `__mips16_syscall_return' to
32000 `__mips_syscall_return'.
32001 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
32002 (__mips16_syscall1): Likewise.
32003 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
32004 (__mips16_syscall2): Likewise.
32005 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
32006 (__mips16_syscall3): Likewise.
32007 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
32008 (__mips16_syscall4): Likewise.
32009 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
32010 Remove.
32011 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
32012 Remove.
32013 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
32014 Remove.
32015 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
32016 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
32017 `__mips16_syscall5'. Remove prototype.
32018 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
32019 `__mips16_syscall6'. Remove prototype.
32020 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
32021 `__mips16_syscall7'. Remove prototype.
32022 (__nomips16, __mips16_syscall_return): Move to...
32023 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
32024 (__nomips16, __mips_syscall_return): ... here.
32025 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
32026 `__mips16_syscall_return' to `__mips_syscall_return'.
32027 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
32028 `internal_syscall##nr'.
32029 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
32030 `internal_syscall##nr'.
32031 (FORCE_FRAME_POINTER): Remove.
32032 (__mips_syscall5): New prototype.
32033 (internal_syscall5): Rewrite to call `__mips_syscall5'.
32034 (__mips_syscall6): New prototype.
32035 (internal_syscall6): Rewrite to call `__mips_syscall6'.
32036 (__mips_syscall7): New prototype.
32037 (internal_syscall7): Rewrite to call `__mips_syscall7'.
32038 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
32039 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
32040 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
32041 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
32042 (sysdep_routines): Add libc-do-syscall.
32043 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
32044 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
32045
01b87c65
AZ
320462017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32047
32048 [BZ #21672]
32049 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
32050 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
32051 (advise_stack_range): New function.
32052 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
32053 stack non required to advise_stack_range at allocatestack.c
32054
16f138a4
SN
320552017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32056
32057 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
32058
251bccfa
FW
320592017-08-29 Florian Weimer <fweimer@redhat.com>
32060
32061 [BZ #22026]
32062 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
32063 __end_fct. Mangle __end_fct after setting it to NULL.
32064 * iconv/Makefile (tests): Add tst-gconv-init-failure.
32065 (modules-names, modules-names-tests): Add
32066 tst-gconv-init-failure-mod.
32067 (gconv-modules): New target.
32068 (tst-gconv-init-failure-mod.so): Link against libsupport.
32069 (tst-gconv-init-failure): Depend on gconv-modules,
32070 tst-gconv-init-failure-mod.so.
32071 * iconv/tst-gconv-init-failure-mod.c: New file.
32072 * iconv/tst-gconv-init-failure.c: Likewise.
32073 * iconv/test-gconv-modules: Likewise.
32074
e7c18b9d
FW
320752017-08-29 Florian Weimer <fweimer@redhat.com>
32076
32077 [BZ #22025]
32078 * iconv/gconv_db.c (free_derivation): Remove redundant
32079 parentheses.
32080 (gen_steps): Unconditionally mangle __btowc_fct after
32081 initialization.
32082 (increment_counter): Likewise. Do not call init_fct for internal
32083 modules.
32084
7daada03
JM
320852017-08-29 Joseph Myers <joseph@codesourcery.com>
32086
32087 [BZ #22028]
32088 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
32089 (_MSUF_): Remove macro.
32090 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
32091 Likewise.
32092 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
32093 (__REDIRFROM_X): New macro.
32094 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
32095 Likewise.
32096 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
32097 (__REDIRTO_X): Likewise.
32098 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
32099 arguments.
32100 (__MATH_REDIRCALL_2): Likewise.
32101 (__MATH_REDIRCALL_INTERNAL): Likewise.
32102 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
32103 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
32104 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
32105 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
32106 * math/test-finite-macros.c: New file.
32107 * math/Makefile (tests): Add test-finite-macros.
32108 (CFLAGS-test-finite-macros.c): New variable.
32109
1cf1232c
PF
321102017-08-29 Patsy Franklin <pfrankli@redhat.com>
32111 Jeff Law <law@redhat.com>
32112
32113 [BZ #22025]
32114 Mangle NULL pointers in iconv/gconv.
32115 * iconv/gconv_cache.c (find_module): Demangle init_fct before
32116 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
32117 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
32118 is non-NULL before demangling the end_fct. Check for NULL
32119 end_fct after demangling.
32120 (__gconv_release_step): Demangle the end_fct before checking
32121 it for NULL. Remove assert on __shlibc_handle != NULL.
32122 (gen_steps): Don't check btowc_fct for NULL before mangling.
32123 Demangle init_fct before checking for NULL.
32124 (increment_counter): Likewise.
32125 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
32126 end_fct for NULL before mangling.
32127 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
32128 for NULL.
32129
c207f7ce 321302017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
f8de9568
AK
32131
32132 [BZ #21971]
32133 * locale/iso-639.def: add Morisyen.
32134
42496114
GG
321352017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32136
32137 [BZ #21930]
32138 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
32139 (iszero): New C++ implementation that does not use
32140 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
32141 signaling nans are enabled, since __builtin_types_compatible_p
32142 is a C-only feature.
32143 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
32144 defined, include ieee754_float128.h for access to the union and
32145 member ieee854_float128.ieee.
32146 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
32147 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
32148 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
32149 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
32150 options of test-math-zero on powerpc64le.
32151
5e2bc4ff
L
321522017-08-28 H.J. Lu <hongjiu.lu@intel.com>
32153
32154 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
32155 Change double to float.
32156
a48c0fb4
JM
321572017-08-28 Joseph Myers <joseph@codesourcery.com>
32158
32159 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
32160 unconditional.
32161 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
32162 conditional code; define contents only for [LIBM_SVID_COMPAT].
32163
ee17d4e9
FW
321642017-08-28 Florian Weimer <fweimer@redhat.com>
32165
32166 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
32167 (abi-lp64_be-options): Remove.
32168 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
32169 (abi-hard-options): Likewise.
32170 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
32171 (abi-o32_hard-options, abi-o32_soft_2008-options)
32172 (abi-o32_hard_2008-options, abi-n32_soft-options)
32173 (abi-n32_hard-options, abi-n32_soft_2008-options)
32174 (abi-n32_hard_2008-options, abi-n64_soft-options)
32175 (abi-n64_hard-options, abi-n64_soft_2008-options)
32176 (abi-n64_hard_2008-options): Likewise.
32177 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
32178 (abi-64-v1-options, abi-64-v2-options): Likewise.
32179 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
32180 (abi-64-options): Likewise.
32181 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
32182 (abi-64-options): Likewise.
32183 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
32184 (abi-64-options): Likewise.
32185 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
32186 (abi-64-options, abi-x32-options): Likewise.
32187
2dba5ce7
FW
321882017-08-28 Florian Weimer <fweimer@redhat.com>
32189
32190 Store supported list of SYS_* system calls in the source tree.
32191 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
32192 (bits/syscall.h): Generate from list file.
32193 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
32194 [$(subdir) = misc] (tests): Add tst-syscall-list.
32195 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
32196 [$(subdir) = misc] (tst-syscall-list-macros.list)
32197 [$(subdir) = misc] (tst-syscall-list-nr.list)
32198 (tst-syscall-list-sys.list): Helper targets for new
32199 tst-syscall-list test.
32200 [$(subdir) = misc] (tst-syscall-list.out): Run test script
32201 tst-syscall-list.sh.
32202 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
32203 target. Do not include bits/syscall.d.
32204 [$(subdir) = misc] (generated): Do not update.
32205 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
32206 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
32207 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
32208 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
32209
5f3b183d
PP
322102017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
32211
32212 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
32213 (tst-cxa_atexit, tst-on_exit): Likewise.
32214 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
32215 tst-cxa_atexit, and tst-on_exit.
32216 * stdlib/tst-atexit-common.c: New file.
32217 * stdlib/tst-atexit.c: New file.
32218 * stdlib/tst-at_quick_exit.c: New file.
32219 * stdlib/tst-cxa_atexit.c: New file.
32220 * stdlib/tst-on_exit.c: New file.
32221
2ef8d469
ST
322222017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
32223
32224 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
97e02ad2
ST
32225 * mach/stack_chk_fail_local.c: New file.
32226 * hurd/stack_chk_fail_local.c: New file.
32227 * mach/Machrules ($(interface-library)-routines): Add
32228 stack_chk_fail_local.
99ee4d26
ST
32229 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
32230 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
32231 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
32232 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
32233 * hurd/Makefile (CFLAGS-hurdstartup.o,
32234 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
2ef8d469 32235
7ab70c98
L
322362017-08-25 H.J. Lu <hongjiu.lu@intel.com>
32237
32238 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
32239 (index_cpu_*, index_arch_*): Removed.
32240
39e7a5a6
SN
322412017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
32242
32243 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
32244 Use uint64_t instead of unsigned long.
32245
bba5c930
JM
322462017-08-25 Joseph Myers <joseph@codesourcery.com>
32247
a6ccdb08
JM
32248 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
32249 [__HAVE_DISTINCT_FLOAT128].
32250
23761119
JM
32251 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
32252 of <bits/math-finite.h>.
32253 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
32254 inclusion of <bits/math-finite.h>.
32255 * math/bits/math-finite.h (__REDIRTO_X): Do not define
32256 conditionally on [__MATH_DECLARING_LDOUBLE && defined
32257 __NO_LONG_DOUBLE_MATH].
32258 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
32259 (__MATH_REDIRCALL_2): Likewise.
32260 (__MATH_REDIRCALL_INTERNAL): Likewise.
32261 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
32262 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
32263 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
32264
bba5c930
JM
32265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
32266 Remove file.
32267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
32268 Likewise.
32269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
32270 Likewise.
32271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
32272 Likewise.
32273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
32274 Likewise.
32275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
32276 Likewise.
32277 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
32278 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
32279 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
32280 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
32281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
32282 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
32283 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
32284 w_sqrtf_compat-ppc32.
32285
3d7b66f6
GG
322862017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32287
32288 * math/math.h [defined __cplusplus] (issignaling): In the long
32289 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
32290 is not defined. Call __issignaling, otherwise.
32291
ebd6f007
AZ
322922017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32293
32294 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
32295 syscall definitions and replace __builtin_expect with __glibc_likely.
32296 * sysdeps/unix/syscall-template.S: Update comment about cancellable
32297 syscall.
6b5c8607 32298 (SYSCALL_CANCELLABLE): Removedefinition
ebd6f007
AZ
32299 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
32300 definition.
32301 (PSEUDO_END): Likewise.
32302 [IS_IN (libpthread)] (CENABLE): Likewise.
32303 [IS_IN (libpthread)] (CDISABLE): Likewise.
32304 [IS_IN (libc)] (CENABLE): Likewise.
32305 [IS_IN (libc)] (CENABLE): Likewise.
32306 [IS_IN (librt)] (CDISABLE): Likewise.
32307 [IS_IN (librt)] (CDISABLE): Likewise.
32308 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32309 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
32310 definition.
32311 (PSEUDO_END): Likewise.
32312 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
32313 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
32314 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
32315 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
32316 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
32317 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
32318 (CENABLE): Likewise.
32319 (CDISABLE): Likewise.
32320 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32321 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
32322 defintion.
32323 (PSEUDO_END): Likewise.
32324 [IS_IN (libpthread)] (CENABLE): Likewise.
32325 [IS_IN (libpthread)] (CDISABLE): Likewise.
32326 [IS_IN (libc)] (CENABLE): Likewise.
32327 [IS_IN (libc)] (CENABLE): Likewise.
32328 [IS_IN (librt)] (CDISABLE): Likewise.
32329 [IS_IN (librt)] (CDISABLE): Likewise.
32330 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32331 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
32332 definition.
32333 (PSEUDO_END): Likewise.
32334 [IS_IN (libpthread)] (CENABLE): Likewise.
32335 [IS_IN (libpthread)] (CDISABLE): Likewise.
32336 [IS_IN (libc)] (CENABLE): Likewise.
32337 [IS_IN (libc)] (CENABLE): Likewise.
32338 [IS_IN (librt)] (CDISABLE): Likewise.
32339 [IS_IN (librt)] (CDISABLE): Likewise.
32340 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32341 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
32342 definition.
32343 (PSEUDO_END): Likewise.
32344 [IS_IN (libpthread)] (CENABLE): Likewise.
32345 [IS_IN (libpthread)] (CDISABLE): Likewise.
32346 [IS_IN (libc)] (CENABLE): Likewise.
32347 [IS_IN (libc)] (CENABLE): Likewise.
32348 [IS_IN (librt)] (CDISABLE): Likewise.
32349 [IS_IN (librt)] (CDISABLE): Likewise.
32350 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32351 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
32352 definition.
32353 (PSEUDO_END): Likewise.
32354 [IS_IN (libpthread)] (CENABLE): Likewise.
32355 [IS_IN (libpthread)] (CDISABLE): Likewise.
32356 [IS_IN (libc)] (CENABLE): Likewise.
32357 [IS_IN (libc)] (CENABLE): Likewise.
32358 [IS_IN (librt)] (CDISABLE): Likewise.
32359 [IS_IN (librt)] (CDISABLE): Likewise.
32360 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32361 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
32362 definition.
32363 (PSEUDO_END): Likewise.
32364 [IS_IN (libpthread)] (CENABLE): Likewise.
32365 [IS_IN (libpthread)] (CDISABLE): Likewise.
32366 [IS_IN (libc)] (CENABLE): Likewise.
32367 [IS_IN (libc)] (CENABLE): Likewise.
32368 [IS_IN (librt)] (CDISABLE): Likewise.
32369 [IS_IN (librt)] (CDISABLE): Likewise.
32370 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32371 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
32372 definition.
32373 (PSEUDO_END): Likewise.
32374 [IS_IN (libpthread)] (CENABLE): Likewise.
32375 [IS_IN (libpthread)] (CDISABLE): Likewise.
32376 [IS_IN (libc)] (CENABLE): Likewise.
32377 [IS_IN (libc)] (CENABLE): Likewise.
32378 [IS_IN (librt)] (CDISABLE): Likewise.
32379 [IS_IN (librt)] (CDISABLE): Likewise.
32380 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32381 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
32382 Remove definition.
32383 (PSEUDO_END): Likewise.
32384 [IS_IN (libpthread)] (CENABLE): Likewise.
32385 [IS_IN (libpthread)] (CDISABLE): Likewise.
32386 [IS_IN (libc)] (CENABLE): Likewise.
32387 [IS_IN (libc)] (CENABLE): Likewise.
32388 [IS_IN (librt)] (CDISABLE): Likewise.
32389 [IS_IN (librt)] (CDISABLE): Likewise.
32390 (SINGLE_THREAD_P): Likewise.
32391 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
32392 definition.
32393 (PSEUDO_END): Likewise.
32394 [IS_IN (libpthread)] (CENABLE): Likewise.
32395 [IS_IN (libpthread)] (CDISABLE): Likewise.
32396 [IS_IN (libc)] (CENABLE): Likewise.
32397 [IS_IN (libc)] (CENABLE): Likewise.
32398 [IS_IN (librt)] (CDISABLE): Likewise.
32399 [IS_IN (librt)] (CDISABLE): Likewise.
32400 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32401 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
32402 definition.
32403 (PSEUDO_END): Likewise.
32404 [IS_IN (libpthread)] (CENABLE): Likewise.
32405 [IS_IN (libpthread)] (CDISABLE): Likewise.
32406 [IS_IN (libc)] (CENABLE): Likewise.
32407 [IS_IN (libc)] (CENABLE): Likewise.
32408 [IS_IN (librt)] (CDISABLE): Likewise.
32409 [IS_IN (librt)] (CDISABLE): Likewise.
32410 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32411 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
32412 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
32413 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
32414 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
32415 definition.
32416 (PSEUDO_END): Likewise.
32417 [IS_IN (libpthread)] (CENABLE): Likewise.
32418 [IS_IN (libpthread)] (CDISABLE): Likewise.
32419 [IS_IN (libc)] (CENABLE): Likewise.
32420 [IS_IN (libc)] (CENABLE): Likewise.
32421 [IS_IN (librt)] (CDISABLE): Likewise.
32422 [IS_IN (librt)] (CDISABLE): Likewise.
32423 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32424 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
32425 definition.
32426 (PSEUDO_END): Likewise.
32427 [IS_IN (libpthread)] (CENABLE): Likewise.
32428 [IS_IN (libpthread)] (CDISABLE): Likewise.
32429 [IS_IN (libc)] (CENABLE): Likewise.
32430 [IS_IN (libc)] (CENABLE): Likewise.
32431 [IS_IN (librt)] (CDISABLE): Likewise.
32432 [IS_IN (librt)] (CDISABLE): Likewise.
32433 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32434 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
32435 definition.
32436 (PSEUDO_END): Likewise.
32437 [IS_IN (libpthread)] (CENABLE): Likewise.
32438 [IS_IN (libpthread)] (CDISABLE): Likewise.
32439 [IS_IN (libc)] (CENABLE): Likewise.
32440 [IS_IN (libc)] (CENABLE): Likewise.
32441 [IS_IN (librt)] (CDISABLE): Likewise.
32442 [IS_IN (librt)] (CDISABLE): Likewise.
32443 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32444 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
32445 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32446 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
32447 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
32448 definition.
32449 (PSEUDO_END): Likewise.
32450 [IS_IN (libpthread)] (CENABLE): Likewise.
32451 [IS_IN (libpthread)] (CDISABLE): Likewise.
32452 [IS_IN (libc)] (CENABLE): Likewise.
32453 [IS_IN (libc)] (CENABLE): Likewise.
32454 [IS_IN (librt)] (CDISABLE): Likewise.
32455 [IS_IN (librt)] (CDISABLE): Likewise.
32456 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32457 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
32458 definition.
32459 (PSEUDO_END): Likewise.
32460 [IS_IN (libpthread)] (CENABLE): Likewise.
32461 [IS_IN (libpthread)] (CDISABLE): Likewise.
32462 [IS_IN (libc)] (CENABLE): Likewise.
32463 [IS_IN (libc)] (CENABLE): Likewise.
32464 [IS_IN (librt)] (CDISABLE): Likewise.
32465 [IS_IN (librt)] (CDISABLE): Likewise.
32466 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32467
8aa48656
SN
324682017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
32469
32470 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
32471
fcaaca41
L
324722017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32473
32474 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32475
376b40a2
L
324762017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32477
32478 [BZ #21982]
32479 * string/stratcliff.c (do_test): Declare size, nchars, inner,
32480 middle and outer with size_t instead of int. Repleace %d and
32481 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
32482 "MAX (outer, nchars - 64)" to support unsigned outer and
32483 nchars. Also exit loop when outer == 0.
32484
2b0b9a1c
AZ
324852017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32486
32487 * include/fcntl.h (__fcntl_nocancel): Remove definition.
32488 * include/signal.h (__sigsuspend_nocancel): Likewise.
32489 * include/time.h (__nanosleep_nocancel): Likewise.
32490 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
32491 * login/utmp_file.c: Include non cancellable syscall header.
32492 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
32493 prototype.
32494
b9eaca8f
L
324952017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32496
32497 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
32498 .byte sequences with AVX512F instructions.
32499 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
32500 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
32501 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
32502 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
32503 Likewise.
32504 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
32505 Likewise.
32506
5a706f64
SE
325072017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
32508 Steve Ellcey <sellcey@cavium.com>
32509
32510 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
32511 Use PTR_REG macro in cmp instruction.
32512
b513da7e
GG
325132017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32514
32515 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
32516 Change the return type of the ifunc resolver to match the return
32517 type of the target function.
32518
78ca091c
AZ
325192017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32520
b70b6026
AZ
32521 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
32522 (preadv64): Likewise.
32523 (pwrite64(: Likewise.
32524 (pwritev64): Likewise.
32525
78ca091c
AZ
32526 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
32527 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
32528 (LOAD_ARGS_0): Likewise.
32529 (LOAD_ARGS_1): Likewise.
32530 (LOAD_ARGS_2): Likewise.
32531 (LOAD_ARGS_3): Likewise.
32532 (LOAD_ARGS_4): Likewise.
32533 (LOAD_ARGS_5): Likewise.
32534 (LOAD_ARGS_6): Likewise.
32535 (LOAD_REGS_0): Likewise.
32536 (LOAD_REGS_1): Likewise.
32537 (LOAD_REGS_2): Likewise.
32538 (LOAD_REGS_3): Likewise.
32539 (LOAD_REGS_4): Likewise.
32540 (LOAD_REGS_5): Likewise.
32541 (LOAD_REGS_6): Likewise.
32542 (ASM_ARGS_0): Likewise.
32543 (ASM_ARGS_1): Likewise.
32544 (ASM_ARGS_2): Likewise.
32545 (ASM_ARGS_3): Likewise.
32546 (ASM_ARGS_4): Likewise.
32547 (ASM_ARGS_5): Likewise.
32548 (ASM_ARGS_6): Likewise.
32549 (LOAD_ARGS_TYPES_1): Likewise.
32550 (LOAD_ARGS_TYPES_2): Likewise.
32551 (LOAD_ARGS_TYPES_3): Likewise.
32552 (LOAD_ARGS_TYPES_4): Likewise.
32553 (LOAD_ARGS_TYPES_5): Likewise.
32554 (LOAD_ARGS_TYPES_6): Likewise.
32555 (LOAD_REGS_TYPES_1): Likewise.
32556 (LOAD_REGS_TYPES_2): Likewise.
32557 (LOAD_REGS_TYPES_3): Likewise.
32558 (LOAD_REGS_TYPES_4): Likewise.
32559 (LOAD_REGS_TYPES_5): Likewise.
32560 (LOAD_REGS_TYPES_6): Likewise.
32561 (TYPEFY): New define.
32562 (ARGIFY): Likewise.
32563 (internal_syscall0): Likewise.
32564 (internal_syscall1): Likewise.
32565 (internal_syscall2): Likewise.
32566 (internal_syscall3): Likewise.
32567 (internal_syscall4): Likewise.
32568 (internal_syscall5): Likewise.
32569 (internal_syscall6): Likewise.
32570 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
32571 (INTERNAL_SYSCALL_NCS): Remove define.
32572 (internal_syscall1): Add define.
32573
453a493d
GG
325742017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32575
32576 * math/w_remainder_compat.c: Remove duplicate inclusion of
32577 math-svid-compat.h.
32578 * math/w_remainderf_compat.c: Likewise.
32579 * math/w_remainderl_compat.c: Likewise.
32580
f2f048a5
GG
325812017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32582
32583 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32584
d9bef9c0
JM
325852017-08-22 Joseph Myers <joseph@codesourcery.com>
32586
32587 [BZ #21684]
32588 * math/tgmath.h (__floating_type): Simplify definitions.
32589 (__real_integer_type): New macro.
32590 (__complex_integer_type): Likewise.
32591 (__expr_is_real): Likewise.
32592 (__tgmath_real_type_sub): Update comment to describe handling of
32593 complex types.
32594 (__tgmath_complex_type_sub): New macro.
32595 (__tgmath_complex_type): Likewise.
32596 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32597 (__TGMATH_CF128): Use __expr_is_real.
32598 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
32599 __expr_is_real.
32600 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32601 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
32602 * math/gen-tgmath-tests.py (Type.create_type): Create complex
32603 integer types.
32604
08d6eb46
AZ
326052017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32606
988f991b
AZ
32607 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
32608 macro.
32609 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
32610 alias.
32611 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
32612 Likewise.
32613
6f33fd04
AZ
32614 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
32615 nanosleep_not_cancel with __nanosleep_nocancel.
32616 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
32617 (__nanosleep_nocancel): New macro.
32618 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
32619 function.
32620 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
32621 macro.
32622 (__nanosleep_nocancel): New prototype.
32623
08d6eb46
AZ
32624 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
32625 pause_not_cancel with __pause_nocancel.
32626 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
32627 (__pause_nocancel): New macro.
32628 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
32629 macro.
32630 (__pause_nocancel): New prototype.
32631 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
32632
ee4e992e
MS
326332017-08-22 Martin Sebor <msebor@redhat.com>
32634
32635 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
32636 to return a pointer to the same type as the target function.
32637
20962acb
L
326382017-08-22 H.J. Lu <hongjiu.lu@intel.com>
32639
32640 [BZ #18822]
32641 [BZ #21986]
32642 * include/printf.h (__printf_fphex): Add attribute_hidden.
32643 (__guess_grouping): New prototype.
32644 * stdio-common/printf_fp.c (__guess_grouping): Removed.
32645 * stdio-common/reg-printf.c (__register_printf_specifier): Add
32646 libc_hidden_proto and libc_hidden_def.
32647 * stdlib/strfmon_l.c (__guess_grouping): Removed.
32648 (__vstrfmon_l): Remove the third argument passed to
32649 __guess_grouping.
32650
a16e8bc0
GG
326512017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32652
32653 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
32654 definition for issignaling that does not rely on __MATH_TG,
32655 since __MATH_TG uses __builtin_types_compatible_p, which is only
32656 available in C mode.
32657 (CFLAGS-test-math-issignaling.cc): New variable.
32658 * math/Makefile [CXX] (tests): Add test-math-issignaling.
32659 * math/test-math-issignaling.cc: New test for C++ implementation
32660 of type-generic issignaling.
32661 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
32662 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
32663 options of test-math-issignaling on powerpc64le.
32664
8d2ec553
L
326652017-08-22 H.J. Lu <hongjiu.lu@intel.com>
32666
32667 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32668 building libc.a.
32669 (hidden_proto): Likewise.
32670 (hidden_tls_proto): Likewise.
32671 (__hidden_proto): Likewise.
32672
a4d57b79
FW
326732017-08-22 Florian Weimer <fweimer@redhat.com>
32674
32675 math: Statically link tests of internal functionality.
32676 * math/Makefile (tests): Remove atest-exp, atest-sincos,
32677 atest-exp2.
32678 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
32679 (gmp-objs): Remove assignment.
32680 (atest-exp, atest-sincos, atest-exp2): Remove targets.
32681
75dfe623
JM
326822017-08-22 Joseph Myers <joseph@codesourcery.com>
32683
80f91666
JM
32684 [BZ #21987]
32685 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
32686 and copy to ...
32687 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
32688 ... here.
32689 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
32690 ... and here.
32691
75dfe623
JM
32692 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
32693 variable definitions above inclusion of ../Rules.
32694
ea99fcd0
JM
326952017-08-21 Joseph Myers <joseph@codesourcery.com>
32696
32697 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
32698 case calling __builtin_unreachable.
32699
19926de9
AZ
327002017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32701
a8410a5f
AZ
32702 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
32703 __waitpid_nocancel.
32704 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
32705 (__waitpid_nocancel): New macro.
32706 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
32707 macro.
32708 (__waitpid_nocancel): Replace macro with a function.
32709 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
32710 function.
32711
7369800c
AZ
32712 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
32713 __fcntl_nocancel.
32714 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
32715 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
32716
19926de9
AZ
32717 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
32718 __writev_nocancel_nostatus.
32719 (write_call_graph): Likewise.
32720 (write_bb_counts): Likewise.
32721 * resolv/herror.c (herror): Likewise.
32722 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
32723 macro.
32724 (__writev_nocancel_nostatus): New macro.
32725 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
32726 Remove macro.
32727 (__writev_nocancel_nostatus): New function.
32728
813378e9
JM
327292017-08-21 Joseph Myers <joseph@codesourcery.com>
32730
df1deda6
JM
32731 Revert:
32732 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32733
32734 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32735 building libc.a.
32736 (hidden_proto): Likewise.
32737 (hidden_tls_proto): Likewise.
32738 (__hidden_proto): Likewise.
32739
831bbd55
JM
32740 [BZ #21973]
32741 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
32742 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
32743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
32744 Likewise.
32745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
32746 Likewise.
32747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
32748 Likewise.
32749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
32750 Likewise.
32751 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
32752 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
32753 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
32754 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
32755 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
32756 GLIBC_2.0 sqrtl symbol.
32757
813378e9
JM
32758 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
32759 [__USE_MISC] (_LIB_VERSION): Likewise.
32760 [__USE_MISC] (struct exception): Likewise.
32761 [__USE_MISC] (matherr): Likewise.
32762 [__USE_MISC] (DOMAIN): Likewise.
32763 [__USE_MISC] (SING): Likewise.
32764 [__USE_MISC] (OVERFLOW): Likewise.
32765 [__USE_MISC] (UNDERFLOW): Likewise.
32766 [__USE_MISC] (TLOSS): Likewise.
32767 [__USE_MISC] (PLOSS): Likewise.
32768 [__USE_MISC] (HUGE): Likewise.
32769 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
32770 * math/math-svid-compat.h: New file.
32771 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
32772 and matherrl.
32773 * include/math.h [!_ISOMAC] (__matherr): Remove.
32774 * manual/arith.texi (FP Exceptions): Do not document matherr.
32775 * math/Makefile (tests): Change test-matherr to test-matherr-3.
32776 (tests-internal): New variable.
32777 (install-lib): Do not add libieee.a.
32778 (non-lib.a): Likewise.
32779 (extra-objs): Do not add libieee.a and ieee-math.o.
32780 (CPPFLAGS-s_lib_version.c): Remove variable.
32781 ($(objpfx)libieee.a): Remove rule.
32782 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
32783 * math/ieee-math.c: Remove.
32784 * math/libm-test-support.c (matherr): Remove.
32785 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
32786 and license notices. Include <math-svid-compat.h> and
32787 <shlib-compat.h>.
32788 (matherr): Undefine as macro. Use compat_symbol_reference.
32789 (_LIB_VERSION): Likewise.
32790 * math/test-matherr-2.c: New file.
32791 * math/test-matherr-3.c: Likewise.
32792 * sysdeps/generic/math_private.h (__kernel_standard): Remove
32793 declaration.
32794 (__kernel_standard_f): Likewise.
32795 (__kernel_standard_l): Likewise.
32796 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
32797 <math_private.h>. Include <math-svid-compat.h>.
32798 (_LIB_VERSION): Undefine as macro.
32799 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
32800 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
32801 [LIBM_SVID_COMPAT], use compat_symbol.
32802 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
32803 <math_private.h>. Include <math-svid-compat.h>.
32804 (matherr): Undefine as macro.
32805 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
32806 compat_symbol.
32807 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
32808 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
32809 compat_symbol_reference.
32810 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
32811 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
32812 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
32813 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
32814 (MATHERR_D): Remove declaration.
32815 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
32816 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
32817 [LIBM_BUILD] (pmatherrf): Likewise.
32818 [LIBM_BUILD] (pmatherr): Likewise.
32819 [LIBM_BUILD] (pmatherrl): Likewise.
32820 (DOMAIN): Likewise.
32821 (SING): Likewise.
32822 (OVERFLOW): Likewise.
32823 (UNDERFLOW): Likewise.
32824 (TLOSS): Likewise.
32825 (PLOSS): Likewise.
32826 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
32827 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
32828 compat_symbol.
32829 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
32830 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
32831 compat_symbol.
32832 * math/lgamma-compat.h: Include <math-svid-compat.h>.
32833 * math/w_acos_compat.c: Likewise.
32834 * math/w_acosf_compat.c: Likewise.
32835 * math/w_acosh_compat.c: Likewise.
32836 * math/w_acoshf_compat.c: Likewise.
32837 * math/w_acoshl_compat.c: Likewise.
32838 * math/w_acosl_compat.c: Likewise.
32839 * math/w_asin_compat.c: Likewise.
32840 * math/w_asinf_compat.c: Likewise.
32841 * math/w_asinl_compat.c: Likewise.
32842 * math/w_atan2_compat.c: Likewise.
32843 * math/w_atan2f_compat.c: Likewise.
32844 * math/w_atan2l_compat.c: Likewise.
32845 * math/w_atanh_compat.c: Likewise.
32846 * math/w_atanhf_compat.c: Likewise.
32847 * math/w_atanhl_compat.c: Likewise.
32848 * math/w_cosh_compat.c: Likewise.
32849 * math/w_coshf_compat.c: Likewise.
32850 * math/w_coshl_compat.c: Likewise.
32851 * math/w_exp10_compat.c: Likewise.
32852 * math/w_exp10f_compat.c: Likewise.
32853 * math/w_exp10l_compat.c: Likewise.
32854 * math/w_exp2_compat.c: Likewise.
32855 * math/w_exp2f_compat.c: Likewise.
32856 * math/w_exp2l_compat.c: Likewise.
32857 * math/w_fmod_compat.c: Likewise.
32858 * math/w_fmodf_compat.c: Likewise.
32859 * math/w_fmodl_compat.c: Likewise.
32860 * math/w_hypot_compat.c: Likewise.
32861 * math/w_hypotf_compat.c: Likewise.
32862 * math/w_hypotl_compat.c: Likewise.
32863 * math/w_j0_compat.c: Likewise.
32864 * math/w_j0f_compat.c: Likewise.
32865 * math/w_j0l_compat.c: Likewise.
32866 * math/w_j1_compat.c: Likewise.
32867 * math/w_j1f_compat.c: Likewise.
32868 * math/w_j1l_compat.c: Likewise.
32869 * math/w_jn_compat.c: Likewise.
32870 * math/w_jnf_compat.c: Likewise.
32871 * math/w_jnl_compat.c: Likewise.
32872 * math/w_lgamma_main.c: Likewise.
32873 * math/w_lgamma_r_compat.c: Likewise.
32874 * math/w_lgammaf_main.c: Likewise.
32875 * math/w_lgammaf_r_compat.c: Likewise.
32876 * math/w_lgammal_main.c: Likewise.
32877 * math/w_lgammal_r_compat.c: Likewise.
32878 * math/w_log10_compat.c: Likewise.
32879 * math/w_log10f_compat.c: Likewise.
32880 * math/w_log10l_compat.c: Likewise.
32881 * math/w_log2_compat.c: Likewise.
32882 * math/w_log2f_compat.c: Likewise.
32883 * math/w_log2l_compat.c: Likewise.
32884 * math/w_log_compat.c: Likewise.
32885 * math/w_logf_compat.c: Likewise.
32886 * math/w_logl_compat.c: Likewise.
32887 * math/w_pow_compat.c: Likewise.
32888 * math/w_powf_compat.c: Likewise.
32889 * math/w_powl_compat.c: Likewise.
32890 * math/w_remainder_compat.c: Likewise.
32891 * math/w_remainderf_compat.c: Likewise.
32892 * math/w_remainderl_compat.c: Likewise.
32893 * math/w_scalb_compat.c: Likewise.
32894 * math/w_scalbf_compat.c: Likewise.
32895 * math/w_scalbl_compat.c: Likewise.
32896 * math/w_sinh_compat.c: Likewise.
32897 * math/w_sinhf_compat.c: Likewise.
32898 * math/w_sinhl_compat.c: Likewise.
32899 * math/w_sqrt_compat.c: Likewise.
32900 * math/w_sqrtf_compat.c: Likewise.
32901 * math/w_sqrtl_compat.c: Likewise.
32902 * math/w_tgamma_compat.c: Likewise.
32903 * math/w_tgammaf_compat.c: Likewise.
32904 * math/w_tgammal_compat.c: Likewise.
32905 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
32906 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
32907 * sysdeps/ieee754/k_standard.c: Likewise.
32908 * sysdeps/ieee754/k_standardf.c: Likewise.
32909 * sysdeps/ieee754/k_standardl.c: Likewise.
32910 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
32911 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
32912 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
32913 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
32914 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
32915 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
32916 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
32917 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
32918 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
32919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
32920 Likewise.
32921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
32922 Likewise.
32923 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
32924 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
32925 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
32926 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
32927
4504783c
FW
329282017-08-21 Florian Weimer <fweimer@redhat.com>
32929
32930 [BZ #21864]
32931 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
32932 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
32933 Move before inclusion of ../Rules.
32934
b5889d25
FW
329352017-08-21 Florian Weimer <fweimer@redhat.com>
32936
32937 [BZ #21972]
32938 * assert/assert.h (assert): Use static_cast (bool) for C++.
32939 Use the ternary operator in the warning branch for GNU C.
32940 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
32941 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
32942 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
32943 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
32944 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
32945
41e673c1
L
329462017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32947
32948 [BZ #18822]
32949 * sysdeps/unix/sysv/linux/x86_64/init-first.c
32950 (__syscall_clock_gettime): Add attribute_hidden.
32951 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
32952 (__start_context): Likewise.
32953
568ff429
L
329542017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32955
32956 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32957 building libc.a.
32958 (hidden_proto): Likewise.
32959 (hidden_tls_proto): Likewise.
32960 (__hidden_proto): Likewise.
32961
7c41b4a1
L
329622017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32963
32964 * include/libc-symbols.h (attribute_hidden): Enable hidden
32965 visibility in libc.a compiled with PIE.
32966
483d7068
L
329672017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32968
32969 [BZ #18822]
32970 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
32971 Add attribute_hidden.
32972
329732017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32974
32975 [BZ #21864]
32976 * Makerules (all-nonlib): Add $(others-extras).
32977 * catgets/Makefile (others-extras): New.
32978 * elf/Makefile (others-extras): Likewise.
32979 * nss/Makefile (others-extras): Likewise.
32980
54e4b8f2
L
329812017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32982
32983 [BZ #18822]
32984 * csu/libc-start.c (__libc_multiple_libcs): Removed.
32985 * elf/dl-open.c: Include <libc-internal.h>.
32986 (__libc_multiple_libcs): Removed.
32987 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
32988 <hp-timing.h>.
32989 * include/libc-internal.h (__libc_multiple_libcs): New.
32990 * misc/sbrk.c: Include <libc-internal.h>.
32991 (__libc_multiple_libcs): Removed.
32992
1dbbb1ec
L
329932017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32994
32995 [BZ #18822]
32996 * grp/initgroups.c (__nss_group_database): Removed.
32997 (__nss_initgroups_database): Likewise.
32998 * nscd/gai.c (__nss_hosts_database): Likewise.
32999 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
33000 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
33001 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
33002 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
33003 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
33004 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
33005 attribute_hidden.
33006 * nss/nsswitch.c (__nss_database_custom): Define only if
33007 USE_NSCD is defined.
33008 (__nss_configure_lookup): Use __nss_database_custom only if
33009 USE_NSCD is defined.
33010 * nss/nsswitch.h (__nss_database_custom): Declare only if
33011 USE_NSCD is defined. Add attribute_hidden.
33012 (__nss_setent): Add attribute_hidden.
33013 (__nss_endent): Likewise.
33014 (__nss_getent_r): Likewise.
33015 (__nss_getent): Likewise.
33016 (DEFINE_DATABASE): Declare __nss_##arg##_database.
33017
2585d7b8
L
330182017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33019
33020 [BZ #18822]
33021 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
33022 libc_hidden_proto and libc_hidden_def.
33023
c8dfa99c
L
330242017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33025
33026 [BZ #18822]
33027 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
33028 Add libc_hidden_proto.
33029 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
33030 Add libc_hidden_def.
33031
7ed87317
L
330322017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33033
33034 [BZ #21974]
33035 * gmon/Makefile (routines): Remove bb_init_func and
33036 bb_exit_func.
33037 (elide-routines.os): Removed.
9476b904
L
33038 * gmon/bb_exit_func.c: Likewise.
33039 * gmon/bb_init_func.c: Likewise.
7ed87317
L
33040 * include/sys/gmon.h (__bb): Likewise.
33041 (__bb_init_func): Likewise.
33042 (__bb_exit_func): Likewise.
91695eb1 33043 * sysdeps/alpha/bb_init_func.S: Likewise.
7ed87317 33044
94e6ba15
L
330452017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33046
33047 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
33048 * include/setjmp.h (____longjmp_chk): Here. Add
33049 attribute_hidden.
33050
7550717e
L
330512017-08-19 H.J. Lu <hongjiu.lu@intel.com>
33052
33053 [BZ #18822]
33054 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
33055 attribute_hidden.
33056 (__strspn_sse2): Likewise.
33057
0bb2fabc
AZ
330582017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33059
c181840c
AZ
33060 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
33061 (close_not_cancel_no_status): Likewise.
33062 (__close_nocancel): New macro.
33063 (__close_nocancel_nostatus): Likewise.
33064 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
33065 macro.
33066 (close_not_cancel): Likewise.
33067 (close_not_cancel_no_status): Likewise.
33068 (__close_nocancel): New prototype.
33069 (__close_nocancel_nostatus): New function.
33070 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
33071 * catgets/open_catalog.c (__open_catalog): Replace
33072 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
33073 * gmon/gmon.c (write_gmon): Likewise.
33074 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
33075 * intl/loadmsgcat.c (close): Likewise.
33076 * io/ftw.c (open_dir_stream): Likewise.
33077 (ftw_startup): Likewise.
33078 * libio/fileops.c (_IO_file_open): Likewise.
33079 (_IO_file_close_mmap): Likewise.
33080 (_IO_file_close): Likewise.
33081 * libio/iopopen.c (_IO_dup2): Likewise.
33082 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33083 * locale/loadlocale.c (_nl_load_locale): Likewise.
33084 * login/utmp_file.c (pututline_file): Likewise.
33085 (endutent_file): Likewise.
33086 * misc/daemon.c (daemon): Likewise.
33087 * nscd/nscd_getai.c (__nscd_getai): Likewise.
33088 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
33089 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
33090 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
33091 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33092 * nscd/nscd_helper.c (open_socket): Likewise.
33093 (__nscd_open_socket): Likewise.
33094 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
33095 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
33096 (__nscd_innetgr): Likewise.
33097 * nss/nss_db/db-open.c (internal_setent): Likewise.
33098 * resolv/res-close.c (__res_iclose): Likewise.
33099 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
33100 * sysdeps/posix/closedir.c (__closedir): Likewise.
33101 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
33102 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33103 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
33104 (opendir_tail): Likewise.
33105 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33106 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
33107 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
33108 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
33109 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33110 (gethostid): Likewise.
33111 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33112 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33113 Likewise.
33114 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33115 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
33116 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33117 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33118 Likewise.
33119 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
33120 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
33121 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33122 Likewise.
33123 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
33124 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33125 Likewise.
33126 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33127 Likewise.
33128 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
33129 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33130 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33131 __close_nocancel.
33132
0bb2fabc
AZ
33133 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
33134 (openat_not_cancel_3): Likewise.
33135 (openat64_not_cancel_3): Likewise).
33136 (openat_not_cancel_3): Likewise).
33137 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
33138 macro.
33139 (openat_not_cancel_3): Likewise.
33140 (openat64_not_cancel): Likewise.
33141 (openat64_not_cancel_3): Likewise.
33142 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
33143 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
33144 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
33145 __open{64}_nocancel.
33146 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33147 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33148 * sysdeps/posix/opendir.c (__opendirat): Likewise.
33149
65a086db
L
331502017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33151
33152 [BZ #18822]
33153 * include/argz.h (__argz_create_sep): New function prototype.
33154 (__argz_append): Likewise.
33155 (__argz_add): Likewise.
33156 (__argz_add_sep): Likewise.
33157 (__argz_delete): Likewise.
33158 (__argz_insert): Likewise.
33159 (__argz_replace): Likewise.
33160 * string/argz.h (__argz_create_sep): Removed.
33161 (__argz_append): Likewise.
33162 (__argz_add): Likewise.
33163 (__argz_add_sep): Likewise.
33164 (__argz_delete): Likewise.
33165 (__argz_insert): Likewise.
33166 (__argz_replace): Likewise.
33167
62753d2c
L
331682017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33169
33170 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
33171 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
33172 (GNU_PROPERTY_STACK_SIZE): Likewie.
33173 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
33174 (GNU_PROPERTY_LOPROC): Likewise.
33175 (GNU_PROPERTY_HIPROC): Likewise.
33176 (GNU_PROPERTY_LOUSER): Likewise.
33177 (GNU_PROPERTY_HIUSER): Likewise.
33178 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
33179 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
33180 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
33181 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
33182 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
33183 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
33184 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
33185 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
33186 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
33187 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
33188 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
33189 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
33190 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
33191 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
33192 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
33193 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
33194 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
33195 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
33196 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
33197 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
33198 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
33199 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
33200 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
33201
6913ad65
GG
332022017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33203
33204 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
33205 in C++ mode.
33206
47a67213
GG
332072017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33208
33209 [BZ #21930]
33210 * math/math.h (isinf): Check if in C or C++ mode before using
33211 __builtin_types_compatible_p, since this is a C mode feature.
33212
a748eb31
AZ
332132017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33214
c647fb88
AZ
33215 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
33216 (__write_nocancel): New macro.
33217 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
33218 Rewrite as a function prototype.
33219 (write_not_cancel): Remove macro.
33220 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
33221 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
33222 (write_gmon): Likewise.
33223 * libio/fileops.c (_IO_new_file_write): Likewise.
33224 * login/utmp_file.c (pututline_file): Likewise.
33225 (updwtmp_file): Likewise.
33226 * stdio-common/psiginfo.c (psiginfo): Likewise.
33227 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33228 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33229 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33230 Likewise.
33231 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33232 Likewise.
33233
a748eb31
AZ
33234 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
33235 (__read_nocancel): New macro.
33236 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33237 __read_nocancel.
33238 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
33239 macro.
33240 (__read_nocancel): New prototype.
33241 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
33242 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
33243 with __read_nocancel.
33244 * intl/loadmsgcat.c (read): Likewise.
33245 * libio/fileops.c (_IO_file_read): Likewise.
33246 * locale/loadlocale.c (_nl_load_locale): Likewise.
33247 * login/utmp_file.c (getutent_r_file): Likewise.
33248 (internal_getut_r): Likewise.
33249 (getutline_r_file): Likewise.
33250 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
33251 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
33252 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33253 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33254 Likewise.
33255 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
33256 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33257 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33258 Likewise.
33259 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33260 Likewise.
33261 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33262 Likewise.
33263 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33264 Likewise.
33265 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33266
098b9dd4
L
332672017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33268
33269 [BZ #21966]
33270 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
33271 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
33272 usable.
33273
a3fe6a20
DD
332742017-08-17 DJ Delorie <dj@redhat.com>
33275
33276 * bug17079.c: Update to new test harness.
33277 * test-digits-dots.c: Likewise.
33278 * test-netdb.c: Likewise.
33279 * tst-field.c: Likewise.
33280 * tst-nss-getpwent.c: Likewise.
33281 * tst-nss-static.c: Likewise.
33282 * tst-nss-test1.c: Likewise.
33283 * tst-nss-test2.c: Likewise.
33284 * tst-nss-test3.c: Likewise.
33285 * tst-nss-test4.c: Likewise.
33286 * tst-nss-test5.c: Likewise.
33287
c2284574
AZ
332882017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33289
33290 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
33291 (open_not_cancel_2): Likewise.
33292 (open_nocancel): New macro.
33293 (open64_nocancel): Likewise.
33294 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
33295 (open_not_cancel_2): Likewise.
33296 (__open_nocancel): New prototype.
33297 (__open64_nocancel): Likewise.
33298 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33299 __open_nocancel.
33300 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
33301 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
33302 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
33303 with __open_nocancel.
33304 * csu/check_fds.c (check_one_fd): Likewise.
33305 * gmon/gmon.c (write_gmon): Likewise.
33306 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
33307 * intl/loadmsgcat.c (open): Likewise.
33308 * libio/fileops.c (_IO_file_open): Likewise.
33309 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33310 * locale/loadlocale.c (_nl_load_locale): Likewise.
33311 * login/utmp_file.c (setutent_file): Likewise.
33312 * misc/daemon.c (daemon): Likewise.
33313 * nss/nss_db/db-open.c (internal_setent): Likewise.
33314 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33315 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
33316 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
33317 (__opendir): Likewise.
33318 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33319 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
33320 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33321 (gethostid): Likewise.
33322 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33323 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33324 Likewise.
33325 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33326 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
33327 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33328 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33329 Likewise.
33330 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33331 Likewise.
33332 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33333 Likewise.
33334 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
33335 Likewise.
33336 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33337 Likewise.
33338 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33339 Likewise.
33340 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
33341 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33342
d4505b89
WD
333432017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
33344
33345 * benchtests/bench-skeleton.c (main): Add support for
33346 latency benchmarking.
33347 * benchtests/scripts/bench.py: Add support for latency benchmarking.
33348
34d6a3cb
L
333492017-08-17 H.J. Lu <hongjiu.lu@intel.com>
33350
33351 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
33352 the startup object.
33353
038d1caf
FW
333542017-08-17 Florian Weimer <fweimer@redhat.com>
33355
33356 * include/sys/socket.h (__opensock): Remove internal_function.
33357 * socket/opensock.c (__opensock): Likewise.
33358 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
33359
67f0aff0
JM
333602017-08-16 Joseph Myers <joseph@codesourcery.com>
33361
33362 [BZ #21944]
33363 * signal/bits/types/__sigval_t.h: New file.
33364 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
33365 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
33366 and define sigval_t using __sigval_t.
33367 * include/bits/types/__sigval_t.h: New file.
33368 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
33369 instead of <bits/types/__sigval_t.h>.
33370 (struct sigevent): Use __sigval_t instead of sigval_t.
33371 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
33372 instead of <bits/types/__sigval_t.h>.
33373 (siginfo_t): Use __sigval_t instead of sigval_t.
33374 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
33375 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
33376 (struct sigevent): Use __sigval_t instead of sigval_t.
33377 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
33378 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
33379 (siginfo_t): Use __sigval_t instead of sigval_t.
33380 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
33381
87e7bf4d
L
333822017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33383
33384 * NEWS: Remove "[Add new features here]" for 2.27.
33385
5047057f
JM
333862017-08-16 Joseph Myers <joseph@codesourcery.com>
33387
33388 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
33389 libc.so.
33390
20c7b195
L
333912017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33392
33393 * NEWS: Mention x86-64 FMA optimization.
33394
24a2e658
L
333952017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33396
33397 [BZ #21912]
33398 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33399 Add e_expf-fma.
33400 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
33401 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
33402 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
33403
eedca977
AS
334042017-08-16 Andreas Schwab <schwab@suse.de>
33405
403143e1
FW
33406 [BZ #16750]
33407 CVE-2009-5064
eedca977
AS
33408 * elf/ldd.bash.in: Never run file directly.
33409
f59f7adb
L
334102017-08-15 H.J. Lu <hongjiu.lu@intel.com>
33411
33412 [BZ #21955]
33413 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
33414 (L(SP_INF_0)): Likewise.
33415
6b11a6ad
FW
334162017-08-15 Florian Weimer <fweimer@redhat.com>
33417
33418 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
33419 run-built-tests.
33420
bbf5c438
FW
334212017-08-15 Florian Weimer <fweimer@redhat.com>
33422
33423 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
33424 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
33425 BROKEN_THREAD_SIGNALS code.
33426 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
33427 request_list): Remove caller_pid member used for
33428 BROKEN_THREAD_SIGNALS.
33429 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
33430 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
33431 Remove BROKEN_THREAD_SIGNALS support.
33432 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
33433 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
33434
6014c65d
FW
334352017-08-15 Florian Weimer <fweimer@redhat.com>
33436
33437 * gmon/Makefile (tests): Add tst-gmon.
33438 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
33439 Set.
33440 (tests-special): Add tst-gmon-prof.out.
33441 (tst-gmon.out): Depend on clean-tst-gmon-data.
33442 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
33443 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
33444 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
33445 startup object.
33446 * aclocal.m4 (GPROF): Set and substitute.
33447 * config.amke.in (GPROF): Set.
33448 * configure: Regenerate.
33449
ee72219a
GR
334502017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
33451
33452 * elf/elf.h A (NT_PPC_TAR): New macro.
33453 (NT_PPC_PPR): Likewise.
33454 (NT_PPC_DSCR): Likewise.
33455 (NT_PPC_EBB): Likewise.
33456 (NT_PPC_PMU): Likewise.
33457 (NT_PPC_TM_CGPR): Likewise.
33458 (NT_PPC_TM_CFPR): Likewise.
33459 (NT_PPC_TM_CVMX): Likewise.
33460 (NT_PPC_TM_CVSX): Likewise.
33461 (NT_PPC_TM_SPR): Likewise.
33462 (NT_PPC_TM_CTAR): Likewise.
33463 (NT_PPC_TM_CPPR): Likewise.
33464 (NT_PPC_TM_CDSCR): Likewise.
33465
4ebf934e
FW
334662017-08-15 Florian Weimer <fweimer@redhat.com>
33467
33468 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
33469 regparm (2) instead of internal_function.
33470 (_MCOUNT_DECL): Adjust.
33471
e9f57484
SL
334722017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
33473
33474 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
33475 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
33476
88ff4d55
JM
334772017-08-14 Joseph Myers <joseph@codesourcery.com>
33478
33479 * conform/data/sys/wait.h-data (si_value): Do not expect for
33480 XPG42.
33481
c88ffc23
FW
334822017-08-14 Florian Weimer <fweimer@redhat.com>
33483
33484 [BZ #21962]
33485 NSS: Create stubs for accidentally exported lookup functions.
33486 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
33487 Remove declaration.
33488 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
33489 (ether_hostton): Call __nss_ethers_lookup2 instead.
33490 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
33491 (ether_ntohost): Call __nss_ethers_lookup2 instead.
33492 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
33493 (setup): Call __nss_netgroup_lookup2 instead.
33494 * nss/Makefile (routines): Add compat-lookup.
33495 * nss/Versions (GLIBC_2.27): Add symbol version.
33496 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
33497 (DB_COMPAT_FCT): Remove.
33498 * nss/compat-lookup.c: New file.
33499 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
33500 from databases.def.
33501 * nss/service-lookup.c (NO_COMPAT): Remove definition.
33502 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
33503 (netname2user): Call __nss_publickey_lookup2 instead.
33504 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
33505 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
33506 instead.
33507
35a29136 335082017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1f14d0c3
AZ
33509 Sergei Trofimovich <slyfox@inbox.ru>
33510
33511 [BZ #21908]
33512 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
33513 Rename to MMAP2_PAGE_UNIT.
33514 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
33515 __OFF_T_MATCHES_OFF64_T is not defined.
33516 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
33517 uint64_t.
33518 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
33519 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
33520
fbdc1e3e
FW
335212017-08-14 Florian Weimer <fweimer@redhat.com>
33522
33523 i386: Do not set internal_function.
33524 * config.h.in (USE_REGPARMS, internal_function): Remove.
33525 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
33526 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
33527
b3f85fd2
FW
335282017-08-14 Florian Weimer <fweimer@redhat.com>
33529
33530 * elf/dl-init.c (_dl_init): Remove internal_function.
33531 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
33532 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
33533
630bf491
FW
335342017-08-14 Florian Weimer <fweimer@redhat.com>
33535
33536 * elf/rtld.c (_dl_start): Remove internal_function.
33537 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
33538 _dl_start.
33539
9fa7449b
FW
335402017-08-14 Florian Weimer <fweimer@redhat.com>
33541
33542 * elf/dl-fini.c (_dl_fini): Remove internal_function
33543 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
33544
73322d5f
L
335452017-08-14 H.J. Lu <hongjiu.lu@intel.com>
33546
d863cd71 33547 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
73322d5f
L
33548 (bit_cpu_SHSTK): Likewise.
33549 (index_cpu_IBT): Likewise.
33550 (index_cpu_SHSTK): Likewise.
33551 (reg_IBT): Likewise.
33552 (reg_SHSTK): Likewise.
33553 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
33554 Handle index_cpu_IBT and index_cpu_SHSTK.
33555
dbc303ef
MF
335562017-08-14 Mike FABIAN <mfabian@redhat.com>
33557
33558 [BZ #19982]
33559 * po/fr.po: Fix spelling mistake.
33560
3012cfb0
FW
335612017-08-13 Florian Weimer <fweimer@redhat.com>
33562
33563 * elf/dl-addr.c (_dl_addr): Remove internal_function.
33564 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
33565 (_dl_catch_error, _dl_receive_error): Likewise.
33566 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
33567 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
33568 (_dl_deallocate_tls): Likewise.
33569 * include/dlfcn.h (_dl_addr): Likewise.
33570 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
33571 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
33572 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
33573 Likewise.
33574
52bcdf26
FW
335752017-08-13 Florian Weimer <fweimer@redhat.com>
33576
33577 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
33578 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
33579 internal_function.
33580 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
33581
e1d2ae8d
FW
335822017-08-13 Florian Weimer <fweimer@redhat.com>
33583
33584 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
33585 internal_function.
33586 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
33587 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
33588 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
33589 internal_function from _dl_make_stack_executable_hook member.
33590 (_dl_make_stack_executable): Remove internal_function.
33591 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
33592 Likewise.
33593 * sysdeps/unix/sysv/linux/dl-execstack.c
33594 (_dl_make_stack_executable): Likewise.
33595
c4ce0382
FW
335962017-08-13 Florian Weimer <fweimer@redhat.com>
33597
33598 * sysdeps/unix/sysv/linux/netlinkaccess.h
33599 (__netlink_assert_response): Remove internal_function.
33600 * sysdeps/unix/sysv/linux/netlink_assert_response.c
33601 (__netlink_assert_response): Likewise.
33602
c4d767f7
FW
336032017-08-13 Florian Weimer <fweimer@redhat.com>
33604
33605 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
33606 internal_function.
33607 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
33608
b2297409
FW
336092017-08-13 Florian Weimer <fweimer@redhat.com>
33610
33611 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
33612 internal_function.
33613 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
33614 * inet/netgroup.h (__internal_setnetgrent)
33615 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
33616 * inet/getnetgrent_r.c (__internal_setnetgrent)
33617 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
33618 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
33619 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
33620 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
33621 * nss/nsswitch.h (db_lookup_function): Likewise.
33622
1b0bfc69
FW
336232017-08-13 Florian Weimer <fweimer@redhat.com>
33624
33625 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
33626 Remove internal_function.
33627 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
33628 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
33629 message argument on the stack.
33630 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
33631 Likeweise.
33632
a6bd8722
MF
336332017-08-12 Mike FABIAN <mfabian@redhat.com>
33634
33635 Adapt test case data to the changes in the thousands
33636 separators.
33637
33638 [BZ #20756]
33639 * localedata/tst-langinfo.sh: Adapt test case data.
33640 * stdlib/tst-strfmon_l.c: Likewise.
33641 * stdlib/tst-strtod4.c: Likewise.
33642 * stdlib/tst-strtod5i.c: Likewise.
33643
8b2c63e4
FW
336442017-08-11 Florian Weimer <fweimer@redhat.com>
33645
33646 [BZ #21242]
33647 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
33648 Suppress pedantic warning resulting from statement expression.
33649 (__ASSERT_FUNCTION): Add missing __extension__.
33650
61c98291
SP
336512017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
33652
86c6519e
SP
33653 * benchtests/bench-memmove-large.c: Print output in JSON
33654 format.
33655 * benchtests/bench-memmove.c: Likewise.
33656
61c98291
SP
33657 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
33658 * benchtests/bench-memchr.c (do_one_test): Likewise.
33659 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
33660 * benchtests/bench-memcpy.c (do_one_test): Likewise.
33661 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
33662 * benchtests/bench-memmove.c (do_one_test): Likewise.
33663 * benchtests/bench-memset-large.c (do_one_test): Likewise.
33664 * benchtests/bench-memset.c (do_one_test): Likewise.
33665 * benchtests/bench-string.h (test_init): Remove memsets.
33666
925733a9
RJ
336672017-08-10 Rical Jasan <ricaljasan@pacific.net>
33668
33669 * manual/lang.texi
33670 (Computing the Width of an Integer Data Type): Rename section to
33671 "Width of an Integer Type". Remove inaccurate statement regarding
33672 lack of C language facilities for determining width of integer
33673 types, and reorder content to improve flow and context of
33674 discussion.
33675
4fcdfbfc
RJ
336762017-08-10 Rical Jasan <ricaljasan@pacific.net>
33677
33678 * lang.texi (va_copy): Change standard from ISO to C99.
33679 (__va_copy): Add standard and header annotation.
33680 Update description for clarity of origins and current use.
33681
4d98ace9
GG
336822017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33683
33684 [BZ #21941]
33685 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
33686 xssqrtqp requires operands to be in Vector Registers
33687 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
33688 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
33689 (__ieee754_sqrtf128): Likewise.
33690
92236903
WD
336912017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
33692
33693 * sysdeps/aarch64/memcmp.S (memcmp):
33694 Rewrite of optimized memcmp.
33695
2449ae7b
FW
336962017-08-10 Florian Weimer <fweimer@redhat.com>
33697
33698 Introduce ld.so exceptions.
33699 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
33700 (_dl_exception_create, _dl_exception_create_format)
33701 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
33702 (_dl_catch_exception): Declare.
33703 (_dl_catch_error): Update comment.
33704 * elf/dl-error-skeleton.c (struct catch): Replace objname,
33705 errstring, malloced members with exception member.
33706 (_dl_out_of_memory): Remove.
33707 (fatal_error): New function, extracted from _dl_signal_error.
33708 (_dl_signal_exception, _dl_signal_cexception): New functions.
33709 (_dl_signal_error): Call _dl_exception_create to allocate an
33710 exception object.
33711 (_dl_catch_exception): New function, based on _dl_catch_error.
33712 (_dl_catch_error): Implement using _dl_catch_exception.
33713 * elf/dl-exception.c: New file.
33714 * elf/Makefile (dl-routines): Add dl-exception.
33715 (elide-routines.os): Likewise.
33716 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
33717 _dl_exception_create_format, _dl_exception_free.
33718 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
33719 _dl_signal_exception.
33720 * elf/dl-lookup.c (make_string): Remove.
33721 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
33722 _dl_signal_cexception, _dl_exception_free.
33723 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
33724 _dl_signal_exception.
33725 * elf/dl-sym.c (do_sym): Likewise.
33726 * elf/dl-version.c (make_string): Remove.
33727 (match_symbol): Use _dl_exception_create_format,
33728 _dl_signal_cexception, _dl_exception_free.
33729 (_dl_check_map_versions): Likewise.
33730 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
33731 _dl_catch_exception.
33732 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
33733 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
33734 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
33735 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
33736 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
33737 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
33738 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
33739 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
33740 Likewise.
33741 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
33742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
33743 (ld.so): Likewise.
33744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
33745 (ld.so): Likewise.
33746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
33747 Likewise.
33748 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
33749 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
33750 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
33751 Likewise.
33752 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
33753 Likewise.
33754 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
33755
f87cc2bf
FW
337562017-08-10 Florian Weimer <fweimer@redhat.com>
33757
33758 * inet/net-internal.h (__inet6_scopeid_pton): Remove
33759 attribute_hidden, internal_function.
33760 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
33761 internal_function.
33762
eac43cbb
FW
337632017-08-10 Florian Weimer <fweimer@redhat.com>
33764
33765 * malloc/malloc.c (get_max_fast): Reimplement as an inline
33766 function which calls __builtin_unreachable.
33767
bd80111e
MF
337682017-08-10 Mike FABIAN <mfabian@redhat.com>
33769
33770 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
33771 Indian monetary formatting
33772 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
33773 test cases.
33774
60e2846e
DL
337752017-08-09 Dmitry V. Levin <ldv@altlinux.org>
33776
68dc02d1
DL
33777 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
33778 Fix typo in comment.
33779
60e2846e
DL
33780 [BZ #21928]
33781 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
33782 PTRACE_SEIZE_DEVEL): Remove.
33783 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
33784 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33785 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33786 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33787 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33788
3d452dab
JM
337892017-08-09 Joseph Myers <joseph@codesourcery.com>
33790
24d9f53a
JM
33791 * posix/bits/types.h (__qaddr_t): Remove.
33792
3d452dab
JM
33793 [BZ #21457]
33794 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
33795 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33796 __glibc_reserved1.
33797 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
33798 (ucontext_t): Use __ctx with uc_flags.
33799 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
33800 (__ctxt): Likewise.
33801 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33802 __glibc_reserved1.
33803 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
33804 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33805 __glibc_reserved1.
33806 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
33807 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33808 __glibc_reserved1.
33809 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
33810 macro.
33811 (ucontext_t): Use __ctx with uc_flags.
33812 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
33813 (ucontext_t): Use __ctx with uc_flags.
33814 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
33815 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
33816 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
33817 (ucontext_t): Use __ctx with uc_flags.
33818 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
33819 undefine further down.
33820 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33821 __glibc_reserved1.
33822 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
33823 undefine further down.
33824 (ucontext_t): Use __ctx with uc_flags.
33825 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
33826 undefine further down.
33827 (ucontext_t): Use __ctx with uc_flags.
33828 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
33829 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
33830 Rename uc_pad to __glibc_reserved1.
33831 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
33832 undefine further down.
33833 (ucontext_t): Use __ctx with uc_flags.
33834 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
33835 further down.
33836 (ucontext_t): Use __ctx with uc_flags.
33837 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
33838 __ctx with uc_flags.
33839 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
33840 (ucontext_t): Use __ctx with uc_flags.
33841 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
33842 __ctx with uc_flags.
33843
30161498
FW
338442017-08-09 Florian Weimer <fweimer@redhat.com>
33845
33846 [BZ #21932]
33847 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
33848 before early return.
33849
5797b410
AS
338502017-08-09 Andreas Schwab <schwab@suse.de>
33851
139237a4 33852 [BZ #21041]
5797b410
AS
33853 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
33854 renamed alias.
33855
139237a4 33856 [BZ #21041]
40c06a3d
AS
33857 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
33858 tst-compat-forwarder.
33859 (modules-names): Add tst-compat-forwarder-mod.
33860 ($(objpfx)tst-compat-forwarder): Depend on
33861 $(objpfx)tst-compat-forwarder-mod.so.
33862 * nptl/tst-compat-forwarder.c: New file.
33863 * nptl/tst-compat-forwarder-mod.c: New file.
33864
36ada5f6
SP
338652017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
33866
0e02b510
SP
33867 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
33868 comments.
33869
36ada5f6
SP
33870 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
33871 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
33872 memcpy_falkor.
33873 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
33874 Bump.
33875 (__libc_ifunc_impl_list): Add __memcpy_falkor.
33876 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
33877 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
33878 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
33879 Add falkor.
33880 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
33881 New macro.
33882
9995c839
AZ
338832017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33884
33885 [BZ #759]
33886 * manual/setjmp.texi (getcontex): Document uc_stack value
33887 compatibility differences.
33888
f17a4233
JM
338892017-08-08 Joseph Myers <joseph@codesourcery.com>
33890
33891 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
33892 (old_malloc_hook): Likewise.
33893 (old_memalign_hook): Likewise.
33894 (old_realloc_hook): Likewise.
33895 (struct hdr): Likewise.
33896 (flood): Likewise.
33897 (freehook): Likewise.
33898 (mallochook): Likewise.
33899 (memalignhook): Likewise.
33900 (reallochook): Likewise.
33901 (mprobe): Likewise.
33902 * malloc/mtrace.c (mallwatch): Likewise.
33903 (tr_old_free_hook): Likewise.
33904 (tr_old_malloc_hook): Likewise.
33905 (tr_old_realloc_hook): Likewise.
33906 (tr_old_memalign_hook): Likewise.
33907 (tr_where): Likewise.
33908 (lock_and_info): Likewise.
33909 (tr_freehook): Likewise.
33910 (tr_mallochook): Likewise.
33911 (tr_reallochook): Likewise.
33912 (tr_memalignhook): Likewise.
33913 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
33914 * misc/mmap.c (__mmap): Likewise.
33915 * misc/mmap64.c (__mmap64): Likewise.
33916 * misc/mprotect.c (__mprotect): Likewise.
33917 * misc/msync.c (msync): Likewise.
33918 * misc/munmap.c (__munmap): Likewise.
33919 * posix/posix_madvise.c (posix_madvise): Likewise.
33920 * socket/send.c (__send): Likewise.
33921 * socket/sendto.c (__sendto): Likewise.
33922 * socket/setsockopt.c (__setsockopt): Likewise.
33923 * string/memcmp.c (__ptr_t): Remove macro.
33924 (MEMCMP): Use void * instead of ptr_t.
33925 * string/memrchr.c (__ptr_t): Remove macro.
33926 (__memrchr): Use void * instead of ptr_t.
33927 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
33928 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
33929 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
33930 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
33931 * sysdeps/mach/msync.c (msync): Likewise.
33932 * sysdeps/mach/munmap.c (__munmap): Likewise.
33933 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
33934 Likewise.
33935 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33936 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
33937 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
33938 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
33939 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
33940 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
33941 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
33942 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
33943 Likewise.
33944 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
33945 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
33946 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
33947 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
33948 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
33949 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
33950 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
33951 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
33952 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
33953 Likewise.
33954 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
33955 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
33956 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
33957 (MEMCMP): Use void * instead of ptr_t.
33958 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
33959 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
33960
0df595b2
FW
339612017-08-08 Florian Weimer <fweimer@redhat.com>
33962
33963 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
33964 return statement.
33965
086df229
L
339662017-08-08 H.J. Lu <hongjiu.lu@intel.com>
33967
33968 [BZ #21913]
33969 * csu/libc-tls.c: Include <startup.h> first.
33970 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
33971 * elf/dl-tunables.c: Include <startup.h> first.
33972 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
33973 * sysdeps/generic/startup.h: New file.
33974 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
33975 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
33976 (I386_USE_SYSENTER): New. Defined to 0.
33977
fc5ad702
AS
339782017-08-08 Andreas Schwab <schwab@suse.de>
33979
33980 [BZ #21041]
33981 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
33982 * nptl/pt-system.c (system): Likewise.
33983
852d6312
AZ
339842017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33985
33986 [BZ #21780]
33987 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
33988 EOPNOTSUPP.
33989 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
33990 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
33991 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
33992 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
33993 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
33994 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
33995 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
33996
8b164787
JM
339972017-08-07 Joseph Myers <joseph@codesourcery.com>
33998
cd65836b
JM
33999 [BZ #21899]
34000 * bits/sigaction.h (struct sigaction): Define sa_handler and
34001 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
34002 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34003 [__USE_XOPEN_EXTENDED].
34004 (SA_RESTART): Likewise.
34005 (SA_NODEFER): Likewise.
34006 (SA_RESETHAND): Likewise.
34007 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
34008 (struct sigaction): Define sa_handler and sa_sigaction using union
34009 also for [__USE_XOPEN_EXTENDED].
34010 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34011 [__USE_XOPEN_EXTENDED].
34012 (SA_RESTART): Likewise.
34013 (SA_NODEFER): Likewise.
34014 (SA_RESETHAND): Likewise.
34015 * sysdeps/unix/sysv/linux/bits/sigaction.h
34016 (struct sigaction): Define sa_handler and sa_sigaction using union
34017 also for [__USE_XOPEN_EXTENDED].
34018 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34019 [__USE_XOPEN_EXTENDED].
34020 (SA_RESTART): Likewise.
34021 (SA_NODEFER): Likewise.
34022 (SA_RESETHAND): Likewise.
34023 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
34024 (struct sigaction): Define sa_handler and sa_sigaction using union
34025 also for [__USE_XOPEN_EXTENDED].
34026 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34027 [__USE_XOPEN_EXTENDED].
34028 (SA_RESTART): Likewise.
34029 (SA_NODEFER): Likewise.
34030 (SA_RESETHAND): Likewise.
34031 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
34032 (struct sigaction): Define sa_handler and sa_sigaction using union
34033 also for [__USE_XOPEN_EXTENDED].
34034 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34035 [__USE_XOPEN_EXTENDED].
34036 (SA_RESTART): Likewise.
34037 (SA_NODEFER): Likewise.
34038 (SA_RESETHAND): Likewise.
34039 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
34040 (struct sigaction): Define sa_handler and sa_sigaction using union
34041 also for [__USE_XOPEN_EXTENDED].
34042 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34043 [__USE_XOPEN_EXTENDED].
34044 (SA_RESTART): Likewise.
34045 (SA_NODEFER): Likewise.
34046 (SA_RESETHAND): Likewise.
34047 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
34048 (struct sigaction): Define sa_handler and sa_sigaction using union
34049 also for [__USE_XOPEN_EXTENDED].
34050 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34051 [__USE_XOPEN_EXTENDED].
34052 (SA_RESTART): Likewise.
34053 (SA_NODEFER): Likewise.
34054 (SA_RESETHAND): Likewise.
34055 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
34056 (struct sigaction): Define sa_handler and sa_sigaction using union
34057 also for [__USE_XOPEN_EXTENDED].
34058 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34059 [__USE_XOPEN_EXTENDED].
34060 (SA_RESTART): Likewise.
34061 (SA_NODEFER): Likewise. Define directly rather than as alias.
34062 (SA_RESETHAND): Likewise.
34063 (SA_INTERRUPT): Define only for [__USE_MISC].
34064 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
34065 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
34066 [__USE_MISC].
34067 (SA_STACK): Define only for [__USE_MISC].
34068 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
34069 (struct sigaction): Define sa_handler and sa_sigaction using union
34070 also for [__USE_XOPEN_EXTENDED].
34071 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34072 [__USE_XOPEN_EXTENDED].
34073 (SA_RESTART): Likewise.
34074 (SA_NODEFER): Likewise.
34075 (SA_RESETHAND): Likewise.
34076 (SA_NOPTRACE): Define only for [__USE_MISC].
34077
d9fee042
JM
34078 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
34079 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
34080 (struct catalog_info): Likewise.
34081 * inet/htontest.c (lo): Likewise.
34082 (foo): Likewise.
34083 * inet/inet_lnaof.c (inet_lnaof): Likewise.
34084 * inet/inet_net.c (inet_network): Likewise.
34085 * inet/inet_netof.c (inet_netof): Likewise.
34086 * inet/rcmd.c (__ivaliduser): Likewise.
34087 (iruserok): Likewise.
34088 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
34089 * locale/programs/locale-spec.c (locale_special): Likewise.
34090 * nis/nis_findserv.c (struct findserv_req): Likewise.
34091 (__nis_findfastest_with_timeout): Likewise.
34092 * nss/test-netdb.c (test_network): Likewise.
34093 * resolv/inet_neta.c (inet_neta): Likewise.
34094 * resolv/ns_date.c (ns_datetosecs): Likewise.
34095 (SECS_PER_DAY): Likewise.
34096 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
34097 Likewise.
34098 * resolv/res_comp.c (__putlong): Likewise.
34099 (__putshort): Likewise.
34100 (_getlong): Likewise.
34101 (_getshort): Likewise.
34102 * resolv/res_debug.c (p_time): Likewise.
34103 (precsize_ntoa): Likewise.
34104 (precsize_aton): Likewise.
34105 (latlon2ul): Likewise.
34106 (loc_aton): Likewise.
34107 (loc_ntoa): Likewise.
34108 * resolv/res_hconf.c (struct netaddr): Likewise.
34109 (_res_hconf_reorder_addrs): Likewise.
34110 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
34111 (clnttcp_control): Likewise.
34112 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
34113 (clntudp_control): Likewise.
34114 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
34115 (clntunix_control): Likewise.
34116 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
34117 * sunrpc/rpc/auth.h (union des_block): Likewise.
34118 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
34119 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
34120 (xdrrec_create): Likewise.
34121 (xdrrec_endofrecord): Likewise.
34122 (flush_out): Likewise.
34123 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
34124 (xdrstdio_putlong): Likewise.
34125 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
34126 Likewise.
34127
8b164787
JM
34128 * misc/sys/cdefs.h (__long_double_t): Remove.
34129 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
34130 instead of __long_double_t,
34131 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
34132
7ee38e60
SP
341332017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
34134
dd3e86ad
SP
34135 * benchtests/scripts/compare_strings.py: Avoid display error when
34136 running on a text terminal.
34137
b115e819
SP
34138 * benchtests/scripts/compare_strings.py (main): Add an
34139 optional -base option.
34140 (process_results): New argument base_func.
34141
7ee38e60
SP
34142 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
34143 hardcoding memcpy.
34144 * benchtests/bench-memcpy-large.c (test_name): Likewise.
34145 * benchtests/bench-memcpy-random.c (test_name): Likewise.
34146
d5afb385
AS
341472017-08-07 Andreas Schwab <schwab@suse.de>
34148
34149 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
34150 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
34151 * intl/Makefile ($(objpfx)tst-gettext.out)
34152 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
34153 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
34154 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
34155 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
34156 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
34157 * posix/Makefile ($(objpfx)globtest.out)
34158 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
34159 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
34160 ($(objpfx)tst-printf.out): Likewise.
34161 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
34162 ($(objpfx)tst-setcontext3.out): Likewise.
34163
57a72fa3
L
341642017-08-07 H.J. Lu <hongjiu.lu@intel.com>
34165
34166 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34167 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
34168 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
34169 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
34170 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
34171 and mptan-fma.
34172 (CFLAGS-doasin-fma.c): New.
34173 (CFLAGS-dosincos-fma.c): Likewise.
34174 (CFLAGS-e_asin-fma.c): Likewise.
34175 (CFLAGS-e_atan2-fma.c): Likewise.
34176 (CFLAGS-e_exp-fma.c): Likewise.
34177 (CFLAGS-e_log-fma.c): Likewise.
34178 (CFLAGS-e_pow-fma.c): Likewise.
34179 (CFLAGS-halfulp-fma.c): Likewise.
34180 (CFLAGS-mpa-fma.c): Likewise.
34181 (CFLAGS-mpatan-fma.c): Likewise.
34182 (CFLAGS-mpatan2-fma.c): Likewise.
34183 (CFLAGS-mpexp-fma.c): Likewise.
34184 (CFLAGS-mplog-fma.c): Likewise.
34185 (CFLAGS-mpsqrt-fma.c): Likewise.
34186 (CFLAGS-mptan-fma.c): Likewise.
34187 (CFLAGS-s_atan-fma.c): Likewise.
34188 (CFLAGS-sincos32-fma.c): Likewise.
34189 (CFLAGS-slowexp-fma.c): Likewise.
34190 (CFLAGS-slowpow-fma.c): Likewise.
34191 (CFLAGS-s_sin-fma.c): Likewise.
34192 (CFLAGS-s_tan-fma.c): Likewise.
34193 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
34194 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
34195 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
34196 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
34197 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
34198 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
34199 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
34200 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
34201 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
34202 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
34203 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
34204 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
34205 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
34206 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
34207 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
34208 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
34209 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
34210 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
34211 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
34212 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
34213 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
34214 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
34215 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
34216 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
34217 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
34218 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34219 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34220 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
34221 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34222 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34223 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34224
219dd320
JM
342252017-08-04 Joseph Myers <joseph@codesourcery.com>
34226
34227 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
34228 (min_of_type_f): New macro.
34229 (min_of_type_): Likewise.
34230 (min_of_type_l): Likewise.
34231 (min_of_type_f128): Likewise.
34232 (min_of_type): Define using __MATH_TG and taking an expression
34233 argument.
34234 (math_check_force_underflow): Pass expression instead of type to
34235 min_of_type.
34236 (math_check_force_underflow_nonneg): Likewise.
34237
64d4dea6
L
342382017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34239
34240 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
34241 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
34242 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
34243
973da22a
L
342442017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34245
34246 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34247 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
34248 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
34249 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
34250 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
34251 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
34252 memcpy_chk-nonshared, mempcpy_chk-nonshared,
34253 memmove_chk-nonshared and memset_chk-nonshared
34254 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
34255 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
34256 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
34257 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
34258 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
34259 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
34260 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
34261 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
34262 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
34263 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
34264 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
34265 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
34266 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
34267 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
34268 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
34269 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
34270 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
34271 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
34272 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
34273 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
34274 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
34275 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
34276 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
34277 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
34278 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
34279 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
34280 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
34281 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
34282 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
34283 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
34284 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
34285 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
34286 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
34287 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
34288 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
34289 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
34290 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
34291 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
34292 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
34293 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
34294 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
34295 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
34296 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
34297 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
34298 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
34299 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
34300 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
34301 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
34302 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
34303 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
34304 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
34305 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
34306 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
34307 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
34308 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
34309 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
34310 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
34311 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
34312 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
34313 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
34314 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
34315 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
34316 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
34317 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
34318 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
34319 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
34320 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
34321 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
34322 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
34323 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
34324 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
34325 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34326 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34327 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34328 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34329 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34330 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34331 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34332 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34333 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34334 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34335 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34336 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34337 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34338 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
34339 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
34340 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34341 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
34342 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34343 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34344 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34345 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34346 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34347 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34348 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
34349 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
34350 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
34351 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
34352 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34353 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
34354 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34355 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34356 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34357 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34358 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34359 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34360 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34361 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34362
8537e0f6
L
343632017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34364
34365 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
34366 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
34367 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
34368 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
34369 svml_d_log2_core-sse2, svml_d_log4_core-sse,
34370 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
34371 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
34372 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
34373 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
34374 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
34375 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
34376 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
34377 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
34378 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
34379 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
34380 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
34381 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
34382 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
34383 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
34384 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
34385 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
34386 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
34387 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
34388 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
34389 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
34390 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
34391 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
34392 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
34393 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
34394 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
34395 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
34396 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
34397 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
34398 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
34399 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
34400 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
34401 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
34402 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
34403 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
34404 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
34405 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
34406 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
34407 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
34408 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
34409 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
34410 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
34411 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
34412 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
34413 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
34414 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
34415 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
34416 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
34417 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
34418 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
34419 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
34420 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
34421 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
34422 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
34423 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
34424 ...
34425 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
34426 Don't include <sysdep.h> nor <init-arch.h>.
34427 (_ZGVbN2v_cos): Removed.
34428 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
34429 ...
34430 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
34431 Don't include <sysdep.h> nor <init-arch.h>.
34432 (_ZGVdN4v_cos): Removed.
34433 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
34434 ...
34435 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
34436 Don't include <sysdep.h> nor <init-arch.h>.
34437 (_ZGVeN8v_cos): Removed.
34438 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
34439 ...
34440 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
34441 Don't include <sysdep.h> nor <init-arch.h>.
34442 (_ZGVbN2v_exp): Removed.
34443 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
34444 ...
34445 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
34446 Don't include <sysdep.h> nor <init-arch.h>.
34447 (_ZGVdN4v_exp): Removed.
34448 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
34449 ...
34450 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
34451 Don't include <sysdep.h> nor <init-arch.h>.
34452 (_ZGVeN8v_exp): Removed.
34453 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
34454 ...
34455 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
34456 Don't include <sysdep.h> nor <init-arch.h>.
34457 (_ZGVbN2v_log): Removed.
34458 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
34459 ...
34460 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
34461 Don't include <sysdep.h> nor <init-arch.h>.
34462 (_ZGVdN4v_log): Removed.
34463 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
34464 ...
34465 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
34466 Don't include <sysdep.h> nor <init-arch.h>.
34467 (_ZGVeN8v_log): Removed.
34468 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
34469 ...
34470 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
34471 Don't include <sysdep.h> nor <init-arch.h>.
34472 (_ZGVbN2vv_pow): Removed.
34473 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
34474 ...
34475 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
34476 Don't include <sysdep.h> nor <init-arch.h>.
34477 (_ZGVdN4vv_pow): Removed.
34478 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
34479 ...
34480 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
34481 Don't include <sysdep.h> nor <init-arch.h>.
34482 (_ZGVeN8vv_pow): Removed.
34483 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
34484 ...
34485 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
34486 Don't include <sysdep.h> nor <init-arch.h>.
34487 (_ZGVbN2v_sin): Removed.
34488 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
34489 ...
34490 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
34491 Don't include <sysdep.h> nor <init-arch.h>.
34492 (_ZGVbN4v_sin): Removed.
34493 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
34494 ...
34495 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
34496 Don't include <sysdep.h> nor <init-arch.h>.
34497 (_ZGVbN8v_sin): Removed.
34498 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
34499 ...
34500 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
34501 Don't include <sysdep.h> nor <init-arch.h>.
34502 (_ZGVbN2vvv_sincos): Removed.
34503 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
34504 ...
34505 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
34506 Don't include <sysdep.h> nor <init-arch.h>.
34507 (_ZGVdN4vvv_sincos): Removed.
34508 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
34509 ...
34510 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
34511 Don't include <sysdep.h> nor <init-arch.h>.
34512 (_ZGVeN8vvv_sincos): Removed.
34513 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
34514 ...
34515 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
34516 Don't include <sysdep.h> nor <init-arch.h>.
34517 (_ZGVeN16v_cosf): Removed.
34518 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
34519 ...
34520 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
34521 Don't include <sysdep.h> nor <init-arch.h>.
34522 (_ZGVbN4v_cosf): Removed.
34523 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
34524 ...
34525 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
34526 Don't include <sysdep.h> nor <init-arch.h>.
34527 (_ZGVdN8v_cosf): Removed.
34528 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
34529 ...
34530 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
34531 Don't include <sysdep.h> nor <init-arch.h>.
34532 (_ZGVeN16v_expf): Removed.
34533 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
34534 ...
34535 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
34536 Don't include <sysdep.h> nor <init-arch.h>.
34537 (_ZGVbN4v_expf): Removed.
34538 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
34539 ...
34540 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
34541 Don't include <sysdep.h> nor <init-arch.h>.
34542 (_ZGVdN8v_expf): Removed.
34543 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
34544 ...
34545 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
34546 Don't include <sysdep.h> nor <init-arch.h>.
34547 (_ZGVeN16v_logf): Removed.
34548 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
34549 ...
34550 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
34551 Don't include <sysdep.h> nor <init-arch.h>.
34552 (_ZGVbN4v_logf): Removed.
34553 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
34554 ...
34555 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
34556 Don't include <sysdep.h> nor <init-arch.h>.
34557 (_ZGVdN8v_logf): Removed.
34558 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
34559 ...
34560 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
34561 Don't include <sysdep.h> nor <init-arch.h>.
34562 (_ZGVeN16vv_powf): Removed.
34563 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
34564 ...
34565 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
34566 Don't include <sysdep.h> nor <init-arch.h>.
34567 (_ZGVbN4vv_powf): Removed.
34568 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
34569 ...
34570 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
34571 Don't include <sysdep.h> nor <init-arch.h>.
34572 (_ZGVdN8vv_powf): Removed.
34573 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
34574 ...
34575 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
34576 Don't include <sysdep.h> nor <init-arch.h>.
34577 (_ZGVeN16vvv_sincosf): Removed.
34578 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
34579 ...
34580 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
34581 Don't include <sysdep.h> nor <init-arch.h>.
34582 (_ZGVbN4vvv_sincosf): Removed.
34583 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
34584 ...
34585 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
34586 Don't include <sysdep.h> nor <init-arch.h>.
34587 (_ZGVdN8vvv_sincosf): Removed.
34588 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
34589 ...
34590 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
34591 Don't include <sysdep.h> nor <init-arch.h>.
34592 (_ZGVeN16v_sinf): Removed.
34593 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
34594 ...
34595 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
34596 Don't include <sysdep.h> nor <init-arch.h>.
34597 (_ZGVbN4v_sinf): Removed.
34598 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
34599 ...
34600 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
34601 Don't include <sysdep.h> nor <init-arch.h>.
34602 (_ZGVdN8v_sinf): Removed.
34603
10a87ca4
L
346042017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34605
34606 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34607 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
34608 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
34609 s_rint-sse4_1 and s_rintf-sse4_1.
34610 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
34611 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
34612 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
34613 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
34614 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
34615 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
34616 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
34617 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
34618 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
34619 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
34620 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
34621 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34622 (__ceil): Removed.
34623 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
34624 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
34625 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34626 (__ceilf): Removed.
34627 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
34628 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
34629 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34630 (__floor): Removed.
34631 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
34632 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
34633 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34634 (__floorf): Removed.
34635 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
34636 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
34637 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34638 (__nearbyint): Removed.
34639 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
34640 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
34641 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34642 (__nearbyintf): Removed.
34643 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
34644 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
34645 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34646 (__rint): Removed.
34647 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
34648 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
34649 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34650 (__rintf): Removed.
34651
1e8e527d
L
346522017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34653
34654 * sysdeps/i386/start.S (_start): Check Check PIC instead of
34655 SHARED. Avoid dynamic relocation against main in static PIE.
34656
e13daad7
L
346572017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34658
34659 [BZ #21815]
34660 * elf/Makefile (CFLAGS-tst-prelink.c): New.
34661 (LDFLAGS-tst-prelink): Likewise.
34662
627c69c8
L
346632017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34664
34665 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
34666 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
34667 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
34668 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
34669 (INTERNAL_SYSCALL_NCS): Likewise.
34670 (LOADARGS_1): Likewise.
34671 (LOADARGS_5): Likewise.
34672 (RESTOREARGS_1): Likewise.
34673 (RESTOREARGS_5): Likewise.
34674
fc11ff8d
L
346752017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34676
34677 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
34678 (MEMPCPY_SYMBOL): Likewise.
34679 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
34680 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
34681 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
34682 in libc.a.
34683 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34684 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
34685 Likewise.
34686 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
34687 (__hidden_ver1): Don't use in libc.a.
34688 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
34689 (__mempcpy): Don't create a weak alias in libc.a.
34690 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
34691 libc.a.
34692 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
34693 (__hidden_ver1): Don't use in libc.a.
34694
19f1a11e
L
346952017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34696
34697 * config.make.in (have-insert): New.
34698 * configure.ac (libc_cv_insert): New. Set to yes if linker
34699 supports INSERT in linker script.
34700 (AC_SUBST(libc_cv_insert): New.
34701 * configure: Regenerated.
34702 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
34703 if $(have-insert) == yes.
34704
3093fd5e
L
347052017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34706
34707 * elf/Makefile (tests): Add vismain only if
34708 $(have-protected-data) == yes.
34709 (tests-pie): Likewise.
34710
d2cf37c0
L
347112017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34712
34713 [BZ #21871]
34714 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
34715 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
34716
c8a0e6ec
L
347172017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34718
34719 [BZ #21790]
34720 * sysdeps/i386/i586/memset.S
34721 (__memset_zero_constant_len_parameter): Removed.
34722 * sysdeps/i386/i686/memset.S
34723 (__memset_zero_constant_len_parameter): Likewise.
34724 * sysdeps/i386/i686/multiarch/memset_chk.S
34725 (__memset_zero_constant_len_parameter): Likewise.
34726 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
34727 Likewise.
34728
2b34e271
AJ
347292017-08-03 Aurelien Jarno <aurelien@aurel32.net>
34730
34731 * stdlib/getentropy.c (getentropy): Change return type to int.
34732
144bdab0
AJ
347332017-08-03 Aurelien Jarno <aurelien@aurel32.net>
34734
34735 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
34736
24ab7723
JM
347372017-08-03 Joseph Myers <joseph@codesourcery.com>
34738
34739 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
34740 u_intN_t.
34741 * math/s_nexttowardf.c (__nexttowardf): Likewise.
34742 * sysdeps/generic/math_private.h (ieee_double_shape_type):
34743 Likewise.
34744 (ieee_float_shape_type): Likewise.
34745 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
34746 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
34747 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
34748 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34749 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
34750 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
34751 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
34752 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
34753 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
34754 Likewise.
34755 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
34756 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
34757 (__ieee754_yn): Likewise.
34758 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
34759 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
34760 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
34761 Likewise.
34762 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
34763 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
34764 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
34765 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
34766 (__erfc): Likewise.
34767 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
34768 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
34769 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
34770 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
34771 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
34772 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
34773 Likewise.
34774 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
34775 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
34776 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
34777 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
34778 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
34779 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
34780 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
34781 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
34782 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
34783 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
34784 (__issignaling): Likewise.
34785 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
34786 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
34787 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
34788 Likewise.
34789 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
34790 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
34791 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
34792 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
34793 Likewise.
34794 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
34795 Likewise.
34796 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
34797 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
34798 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
34799 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
34800 (__erfcf): Likewise.
34801 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
34802 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
34803 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
34804 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
34805 Likewise.
34806 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
34807 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
34808 Likewise.
34809 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
34810 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
34811 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
34812 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
34813 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
34814 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
34815 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
34816 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
34817 Likewise.
34818 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
34819 Likewise.
34820 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
34821 Likewise.
34822 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
34823 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
34824 Likewise.
34825 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
34826 Likewise.
34827 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34828 (__ieee754_ynl): Likewise.
34829 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
34830 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
34831 Likewise.
34832 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
34833 Likewise.
34834 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
34835 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
34836 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34837 Likewise.
34838 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
34839 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
34840 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
34841 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
34842 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
34843 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
34844 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
34845 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
34846 Likewise.
34847 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
34848 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
34849 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
34850 Likewise.
34851 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
34852 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
34853 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
34854 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
34855 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
34856 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
34857 Likewise.
34858 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
34859 Likewise.
34860 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34861 Likewise.
34862 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34863 Likewise.
34864 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
34865 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
34866 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34867 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
34868 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
34869 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
34870 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
34871 Likewise.
34872 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
34873 Likewise.
34874 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
34875 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34876 Likewise.
34877 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
34878 (__ieee754_remainderl): Likewise.
34879 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34880 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34881 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
34882 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
34883 Likewise.
34884 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
34885 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34886 Likewise.
34887 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
34888 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
34889 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
34890 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
34891 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
34892 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
34893 Likewise.
34894 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
34895 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
34896 (__ieee754_y0l): Likewise.
34897 (pzero): Likewise.
34898 (qzero): Likewise.
34899 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
34900 (__ieee754_y1l): Likewise.
34901 (pone): Likewise.
34902 (qone): Likewise.
34903 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34904 (__ieee754_ynl): Likewise.
34905 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
34906 (__ieee754_lgammal_r): Likewise.
34907 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
34908 Likewise.
34909 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
34910 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
34911 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
34912 (__erfcl): Likewise.
34913 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
34914 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
34915 Likewise.
34916 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
34917 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
34918 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
34919 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
34920 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
34921 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34922 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34923 Likewise.
34924 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
34925 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
34926 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
34927 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
34928 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34929 Likewise.
34930 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
34931 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
34932 Likewise.
34933 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
34934 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
34935 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
34936 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
34937 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
34938
964263bb
FW
349392017-08-03 Florian Weimer <fweimer@redhat.com>
34940
34941 [BZ #21885]
34942 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
34943 on memory allocation failure.
34944
e98c925f
AM
349452017-08-03 Alan Modra <amodra@gmail.com>
34946
34947 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
34948 tst-tlsopt-powerpc.c with function name change and no test harness.
34949 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
34950 Call tls_get_addr_opt_test.
34951 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
34952 (modules-names): Add mod-tlsopt-powerpc.
34953 (mod-tlsopt-powerpc.so-no-z-defs): Define.
34954 (tst-tlsopt-powerpc): Depend on .so.
34955 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
34956 define. Expand use in TLS_GD and TLS_LD.
34957
8ee1abdb
ST
349582017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
34959
34960 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
34961 function.
3da5756e 34962 * sysdeps/posix/shm_open.c: Include <pthread.h>.
8ee1abdb 34963
42df8d59
JM
349642017-08-02 Joseph Myers <joseph@codesourcery.com>
34965
34966 [BZ #21686]
34967 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
34968 comparing size with that of double.
34969 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
34970 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
34971 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
34972 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
34973 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34974 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
34975 unsigned __int128 types.
34976
b7f95f49
SE
349772017-08-02 Steve Ellcey <sellcey@cavium.com>
34978
34979 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
34980 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
34981 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
34982 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
34983 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
34984
5b736bc9
L
349852017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34986
34987 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
34988
dfc93c41
L
349892017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34990
34991 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
34992 of SHARED.
34993 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
34994 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34995 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34996 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34997 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34998 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34999 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35000
2fee621d
JM
350012017-08-02 Joseph Myers <joseph@codesourcery.com>
35002
35003 [BZ #21685]
35004 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
35005 bit-field expressions passed to sizeof or typeof.
35006 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35007 (__TGMATH_F128): Likewise.
35008 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35009 (__TGMATH_CF128): Likewise.
35010 (__TGMATH_UNARY_REAL_ONLY): Likewise.
35011 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
35012 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
35013 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
35014 (__TGMATH_BINARY_REAL_ONLY): Likewise.
35015 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
35016 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
35017 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
35018 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
35019 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
35020 (__TGMATH_UNARY_REAL_IMAG): Likewise.
35021 (__TGMATH_UNARY_IMAG): Likewise.
35022 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
35023 (__TGMATH_BINARY_REAL_IMAG): Likewise.
35024 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
35025 type.
35026 (define_vars_for_type): Handle bit_field type specially.
35027 (Tests.__init__): Declare structure with bit-field element.
35028
b358255f
L
350292017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35030
35031 [BZ #21791]
35032 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
35033 (MEMCPY_CHK): Define only if SHARED is defined.
35034 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
35035 Likewise.
35036 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
35037 Likewise.
edf66db1
SP
35038
35039See ChangeLog.18 for earlier changes.