]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Improve performance of strstr
[thirdparty/glibc.git] / ChangeLog
CommitLineData
5e0a7ecb
WD
12019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
2
3 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
4 warning.
5 (two_way_long_needle): Block inlining.
6 * string/strstr.c (strstr2): Add new function.
7 (strstr3): Likewise.
8 (STRSTR): Completely rewrite strstr to improve performance.
9
80b2bfb5
WD
102019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
11
12 * benchtests/bench-strstr.c (test_hard_needle): New function.
13
e6e24243
JM
142019-06-10 Joseph Myers <joseph@codesourcery.com>
15
16 * malloc/tst-calloc.c: Include <libc-diag.h>.
17 (null_test): Ignore -Wunused-result around calls to calloc.
18 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
19 (do_test): Ignore -Wunused-result around call to malloc.
20
51ea67d5
FW
212019-06-07 Florian Weimer <fweimer@redhat.com>
22
23 Linux: Add getdents64 system call.
24 * include/dirnent.h (getdents): Add comment and change buffer
25 argument type to void *.
26 (getdents64): Likewise. Add hidden prototype.
27 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
28 getdents64.
29 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
30 Add tst-getdents64.
31 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
32 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
33 argument type to void *.
34 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
35 Add hidden definition and getdents64 alias.
36 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
37 Likewise.
38 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
39 * manual/filesys.texi (Accessing Directories): Add Low-level
40 Directory Access node reference.
41 (Opening a Directory): Cross-reference it.
42 (Low-level Directory Access): New node.
43 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
44 getdents64.
45 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
46 Likewise.
47 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
48 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
49 Likewise.
50 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
51 Likewise.
52 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
53 Likewise.
54 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
55 Likewise.
56 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
57 Likewise.
58 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
59 Likewise.
60 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
61 Likewise.
62 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
63 (GLIBC_2.30): Likewise.
64 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
65 (GLIBC_2.30): Likewise.
66 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
67 (GLIBC_2.30): Likewise.
68 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
69 (GLIBC_2.30): Likewise.
70 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
71 Likewise.
72 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
73 (GLIBC_2.30): Likewise.
74 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
75 (GLIBC_2.30): Likewise.
76 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
77 (GLIBC_2.30): Likewise.
78 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
79 (GLIBC_2.30): Likewise.
80 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
81 Likewise.
82 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
83 Likewise.
84 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
85 Likewise.
86 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
87 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
88 Likewise.
89 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
90 Likewise.
91 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
92 Likewise.
93 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
94 Likewise.
95
de751ebc
PC
962019-06-06 Paul A. Clarke <pc@us.ibm.com>
97
98 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
99 (__FPU_MFFS): New.
100 (__FPU_MFFSL): New.
101 (_FPU_GET_RC): New.
102 (_FPU_GETCW): Use __FPU_MFFS().
103 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
104
28dd3939
FW
1052019-06-06 Florian Weimer <fweimer@redhat.com>
106
107 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
108 internal GCC preprocessor identifier __has_include__.
109
0158473d
PC
1102019-06-05 Paul A. Clarke <pc@us.ibm.com>
111
112 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
113 with call to equivalent function.
114
e863dbf6
FW
1152019-06-04 Florian Weimer <fweimer@redhat.com>
116
117 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
118 (do_release_shlib): Adjust for __twalk_r.
119 (__gconv_release_shlib): Call __twalk_r.
120
4802be92
AS
1212019-06-04 Andreas Schwab <schwab@suse.de>
122
123 [BZ #18830]
124 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
125 no irreversible characters occurred.
126 * iconv/gconv_simple.c (internal_ucs4_loop)
127 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
128 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
129 (ucs4_internal_loop_single, internal_ucs4le_loop)
130 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
131 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
132 (ucs4le_internal_loop_single): Add const to outend.
133 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
134 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
135 * iconv/Makefile (tests): Add tst-iconv7.
136 * iconv/tst-iconv7.c: New file.
137
dc91a19e
JM
1382019-06-03 Joseph Myers <joseph@codesourcery.com>
139
140 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
141
6a1a9a49 1422019-06-01 Florian Weimer <fweimer@redhat.com>
6b33f373
FW
143
144 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
145 * sysdeps/unix/sysv/linux/arm/Makefile
146 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
147 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
148 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
149 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
150 compatibility symbols.
151
0bb8f8c7
FW
1522019-05-31 Florian Weimer <fweimer@redhat.com>
153
154 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
155 system calls for the arm architecture: breakpoint, get_tls,
156 set_tls, usr26, usr32.
157
9250e661
GG
1582019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
159
160 * sysdeps/powerpc/Makefile
161 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
162 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
163 Declare '.machine power7' to get support for ldbrx.
164 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
165 directive based on the directory of the file.
166 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
167 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
168 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
169 '.machine' directive.
170 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
171 (VADDUQM_V7_V8): Remove.
172 (__STRCASECMP): Replace macros with actual instructions.
173 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
174 '.machine' directive.
175 (VCLZD_V8_v7): Remove.
176 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
177
fbd6c928
AZ
1782019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
179
180 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
181 Remove file.
182 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
183
e47308c9
AZ
1842019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
185
186 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
187 NEARBYINT handling.
188 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
189 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
190 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
191 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
192 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
193 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
194
157cda1f 1952019-05-28 mansayk <6688000@gmail.com>
196
197 [BZ #24370]
198 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
199
182a3746 2002019-05-28 mansayk <6688000@gmail.com>
201
202 [BZ #24369]
203 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
204 (abmon): Likewise, but remove the trailing dots.
205
c6df1ce3
JM
2062019-05-28 Joseph Myers <joseph@codesourcery.com>
207
208 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
209
85188d82
FW
2102019-05-27 Florian Weimer <fweimer@redhat.com>
211
212 * nptl/nptl-init.c: Add comment.
213
5c23c821
FW
2142019-05-24 Florian Weimer <fweimer@redhat.com>
215
216 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
217 struct in_addr/struct in6_addr alignment.
218
bee1f2c4
JM
2192019-05-23 Joseph Myers <joseph@codesourcery.com>
220
221 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
222 (F_SEAL_FUTURE_WRITE): New macro.
223
481c30cb
AH
2242019-05-23 Alexandra Hajkova <ahajkova@redhat.com>
225
226 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
227 * elf/tst-ldconfig-bad-aux-cache.c: New file.
228 * elf/tst-ldconfig_aux-cache.root: New directory.
229 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
230 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
231 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
232
cb755eed
ZW
2332019-05-22 Zack Weinberg <zackw@panix.com>
234
235 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
236 host type.
237 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
238 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
239
240 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
243 Delete.
244
245 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
246 Issue an #error if used with a compiler in SPE-float mode.
247 * sysdeps/powerpc/powerpc32/__longjmp_common.S
248 * sysdeps/powerpc/powerpc32/setjmp_common.S
249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
255 Remove code to preserve SPE register state.
256
257 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
258 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
259 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
260 Remove __SPE__ ifndefs.
261
46ae0732
WD
2622019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
263
264 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
265 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
266 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
267 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
268 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
269 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
270 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
271 (INNER_LOOP_ITERS_MEDIUM): New define.
272 (INNER_LOOP_ITERS_SMALL): New define.
273 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
274 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
275 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
276 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
277 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
278
004e52fe
AZ
2792019-05-21 Adhemeval Zanella <adhemerval.zanella@linaro.org>
280
281 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
282 New define.
283 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
284 (SEMTIMEDOP_IPC_ARGS): Likewise.
285
c9c15ac3
FW
2862019-05-21 Florian Weimer <fweimer@redhat.com>
287
288 [BZ #24584]
289 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
290 before updating __counter field and release it afterwards. Add
291 overflow check.
292 * iconv/gconv.h (struct __gconv_step): Mention synchronization
293 requirement for __counter member.
294
7e740ab2
FW
2952019-05-21 Florian Weimer <fweimer@redhat.com>
296
297 [BZ #24583]
298 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
299 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
300 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
301 instead of __gconv_release_step.
302 * libio/Makefile (tests): Add tst-wfile-gconv.
303 (tests-container): Add tst-wfile-ascii.
304 (tst-wfile-gconv-ENV): Enable mtrace.
305 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
306 (tests-special): Add tst-wfile-gconv-mem.out.
307 (tst-wfile-gconv.out): Depend on locales.
308 (tst-wfile-gconv-mem.out): Add mtrace rule.
309 * libio/tst-wfile-ascii.c: New file.
310 * libio/tst-wfile-gconv.c: Likewise.
311
09e1b0e3
FW
3122019-05-20 Florian Weimer <fweimer@redhat.com>
313
314 [BZ #24588]
315 libio: Remove codecvt vtable.
316 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
317 __libio_codecvt.
318 * libio/iofgetpos.c (_IO_new_fgetpos): Call
319 __libio_codecvt_encoding.
320 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
321 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
322 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
323 * libio/iofwide.c (__libio_codecvt): Remove variable.
324 (_IO_fwide): Do not copy __libio_codecvt.
325 (__libio_codecvt_out): Rename from do_out and export.
326 (do_unshift): Remove function.
327 (__libio_codecvt_in): Rename from do_in and export.
328 (__libio_codecvt_encoding): Rename from do_encoding and export.
329 (do_always_noconv): Remove function.
330 (__libio_codecvt_length): Rename from do_length and export.
331 (do_max_length): Remove function.
332 * libio/libio.h (enum __codecvt_result): Remove definition; moved
333 to libioP.h.
334 (struct _IO_codecvt): Remove fields __codecvt_destr,
335 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
336 __codecvt_do_encoding, __codecvt_do_always_noconv,
337 __codecvt_do_length, __codecvt_do_max_length.
338 * libio/libioP.h (enum __codecvt_result): Define; moved from
339 libio.h.
340 (__libio_codecvt_out, __libio_codecvt_in)
341 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
342 functions.
343 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
344 (_IO_wfile_underflow): Call __libio_codecvt_in.
345 (_IO_wfile_underflow): Likewise.
346 (_IO_wfile_underflow_mmap): Likewise.
347 (_IO_wfile_sync): Call __libio_codecvt_encoding,
348 __libio_codecvt_length.
349 (adjust_wide_data): Call __libio_codecvt_encoding,
350 __libio_codecvt_in.
351 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
352 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
353 __libio_codecvt_length.
354
75c51570
FW
3552019-05-20 Florian Weimer <fweimer@redhat.com>
356
357 * support/support.h (support_sbindir_prefix): Declare.
358 (support_install_rootsbindir): Update comment.
359 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
360 * support/support_paths.c (support_sbindir_prefix): Define.
361
ff6bec7d
MC
3622019-05-20 Mike Crowe <mac@mcrowe.com>
363
b62bb3bc
MC
364 * support/timespec.c: Add backslash to correct newline in failure
365 message.
366
ff6bec7d
MC
367 * support/timespec.h: Correct confusing comment.
368
dfba907f
AZ
3692019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
370
236c18e5
AZ
371 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
372 define.
373 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
374 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
375 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
376 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
377
dfba907f
AZ
378 [BZ #24570]
379 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
380 usage.
381
13886008
JM
3822019-05-20 Joseph Myers <joseph@codesourcery.com>
383
384 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
385 (NT_ARM_PACG_KEYS): Likewise.
386
1f50f2ad
WD
3872019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
388
389 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
390 (tcache_put): Remove redundant assert.
391 (tcache_get): Remove redundant asserts.
392 (__libc_malloc): Check tcache count is not zero.
393 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
394
fef7c63c
FW
3952019-05-17 Florian Weimer <fweimer@redhat.com>
396
397 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
398
5f161b23
JM
3992019-05-16 Joseph Myers <joseph@codesourcery.com>
400
401 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
402 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
403 0x050100].
404 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
405 Likewise.
406 * sysdeps/unix/sysv/linux/sh/kernel-features.h
407 (__ASSUME_STATX): Likewise.
408
ec255a97
FW
4092019-05-16 Florian Weimer <fweimer@redhat.com>
410
411 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
412 flags argument.
413 (LINE_PARSER): Do not map IPv4 addresses.
414 (internal_nis_gethostent_r): Remove flags argument. Adjust call
415 to parse_line.
416 (_nss_nis_gethostent_r): Always pass AF_INET to
417 internal_nis_gethostent_r.
418 (internal_gethostbyname2_r): Remove flags argument. Adjust call
419 to parse_line.
420 (_nss_nis_gethostbyname2_r): Adjust call to
421 internal_nis_gethostent_r.
422 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
423 call to internal_nis_gethostent_r.
424 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
425 from parse_line.
426 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
427 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
428 Remove flags argument. Do not map IPv4 addresses.
429 (internal_nisplus_gethostent_r): Adjust call to
430 _nss_nisplus_parse_hostent.
431 (internal_gethostbyname2_r): Remove flags argument. Adjust call
432 to _nss_nisplus_parse_hostent.
433 (_nss_nisplus_gethostbyname2_r): Adjust call to
434 internal_gethostbyname2_r.
435 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
436 Adjust call to internal_gethostbyname2_r.
437 (_nss_nisplus_gethostbyaddr_r): Adjust call to
438 _nss_nisplus_parse_hostent.
439 (_nss_nisplus_gethostbyname4_r): Adjust call to
440 internal_gethostbyname2_r.
441
9c02d078
FW
4422019-05-16 Florian Weimer <fweimer@redhat.com>
443
444 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
445 Remove flags.
446 (LINE_PARSER): Remove address mapping.
447 (EXTRA_ARGS_VALUE): Remove flags argument.
448 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
449 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
450 gethostbyname3_multi.
451 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
452 _nss_files_gethostbyname3_r.
453 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
454
85b0e1e8
FW
4552019-05-16 Florian Weimer <fweimer@redhat.com>
456
457 * support/support_test_compare_blob.c (report_blob): Report
458 incorrect NULL blobs.
459
11b451c8
MW
4602019-05-15 Mark Wielaard <mark@klomp.org>
461
462 [BZ# 24476]
463 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
464 __libc_once_get (once) and static_buf == NULL.
465 (__dlerror): Check we have a valid key, set result to static_buf
466 otherwise.
467
32ff3975
AS
4682019-05-15 Andreas Schwab <schwab@suse.de>
469
470 [BZ #20568]
471 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
472 __codecvt_do_length.
473 * libio/Makefile (tests): Add tst-wfile-sync.
474 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
475 * libio/tst-wfile-sync.c: New file.
476 * libio/tst-wfile-sync.input: New file.
477
a9368c34
FW
4782019-05-15 Florian Weimer <fweimer@redhat.com>
479
480 nss: Turn __nss_database_lookup into a compatibility symbol.
481 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
482 __nss_database_lookup.
483 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
484 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
485 __nss_database_lookup.
486 (__nss_next): Move to …
487 * nss/compat-lookup.c (nss_next): … here. Change it to fail
488 unconditionally.
489 (__nss_database_lookup): New function.
490 * nss/Versions (GLIBC_2.0): Update comment.
491 (GLIBC_PRIVATE): Export __nss_database_lookup2.
492 * grp/initgroups.c (internal_getgrouplist): Call
493 __nss_database_lookup2 instead of __nss_database_lookup.
494 * nscd/aicache.c (addhstaiX): Likewise.
495 * nscd/initgrcache.c (addinitgroupsX): Likewise.
496 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
497 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
498 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
499 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
500 Likewise.
501 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
502 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
503 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
504
d50f0918 5052019-05-15 Alexandra Hajkova <ahajkova@redhat.com>
32ff3975 506
d50f0918
AH
507 * support/support.h (support_install_rootsbindir): New variable.
508 * support/support_paths.c: Likewise.
509 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
510
7ac6fad9
FW
5112019-05-15 Florian Weimer <fweimer@redhat.com>
512
513 * iconv/gconv.h (__gconv_transliterate): Move declaration …
514 * iconv/gconv_int.h (__gconv_transliterate): … here.
515 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
516 * iconv/skeleton.c: Likewise.
517
04b261bd
FW
5182019-05-14 Florian Weimer <fweimer@redhat.com>
519
520 Linux: Add the tgkill function.
521 * bits/signal_ext.h: New file.
522 * manual/signal.texi (Signaling Another Process): Document tgkill.
523 * signal/Makefile (headers): Add bits/signal_ext.h.
524 * signal/signal.h: Include <bits/signal_ext.h>.
525 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
526 (tst-tgkill): Link with libpthread.
527 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
528 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
529 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
530 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
531 tgkill.
532 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
533 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
534 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
535 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
536 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
537 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
538 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
539 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
540 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
541 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
542 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
543 Likewise.
544 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
545 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
546 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
548 Likewise.
549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
550 Likewise.
551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
552 Likewise.
553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
554 Likewise.
555 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
556 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
557 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
558 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
559 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
560 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
561 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
562 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
563
6807f47b
CD
5642019-05-14 Carlos O'Donell <carlos@redhat.com>
565
566 * manual/search.texi (Tree Search Function): Adjust twalk_r
567 documentation.
568
fdb8a0be
AZ
5692019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
570
da2b83ef
AZ
571 [BZ #24544]
572 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
573 pre-defined value.
574
c7ac9caa
AZ
575 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
576 * support/support.h (support_bindir_prefix): New variable.
577 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
578
91f043ae
AZ
579 * config.make.in (bindir): New variable.
580
c50e1c26
AZ
581 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
582 (lll_trylock): Call __lll_trylock.
583 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
584 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
585 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
586 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
587 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
588 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
589 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
590 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
591 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
592 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
593 lowlevellock-futex.h.
594
959aff9f
AZ
595 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
596 initialization for LLL_LOCK_INITIALIZER different than 0.
597 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
598 Assume LLL_LOCK_INITIALIZER being 0.
599 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
600 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
601 Likewise.
602 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
603 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
604
d7e4c642
AZ
605 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
606 Optimize futex call and add systemtap probe.
607
fdb8a0be
AZ
608 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
609 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
610 __libc_disable_asynccancel, __librt_enable_asynccancel,
611 __libc_disable_asynccancel, __librt_enable_asynccancel,
612 __librt_disable_asynccancel): Move to ...
613 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
614 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
615 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
616 * sysdeps/generic/single-thread.h: New file.
617 * sysdeps/unix/sysdep.h: Include single-thread.h.
618 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
619 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
620
f6efec90
MF
6212019-05-08 Mike FABIAN <mfabian@redhat.com>
622
623 [BZ #24535]
624 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
625 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
626 Unicode 12.1.0.
627 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
628 * localedata/unicode-gen/PropList.txt: Likewise.
629 * localedata/unicode-gen/UnicodeData.txt: Likewise.
630 * localedata/charmaps/UTF-8: Regenerate.
631 * localedata/locales/i18n_ctype: Likewise.
632 * localedata/locales/tr_TR: Likewise.
633 * localedata/locales/translit_circle: Likewise.
634 * localedata/locales/translit_cjk_compat: Likewise.
635 * localedata/locales/translit_combining: Likewise.
636 * localedata/locales/translit_compat: Likewise.
637 * localedata/locales/translit_font: Likewise.
638 * localedata/locales/translit_fraction: Likewise.
639
5ad533e8
WD
6402019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
641
642 [BZ #24531]
643 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
644 (do_set_tcache_count): Only update if count is small enough.
645 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
646
4aee85f9
FW
6472019-05-10 Florian Weimer <fweimer@redhat.com>
648
649 * nptl/sem_close.c (struct walk_closure): Define.
650 (walker): Adjust for __twalk_r.
651 (sem_close): Call __twalk_r.
652
eb669ff5
AZ
6532019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
654
655 * support/timespec.c (test_timespec_before_impl,
656 test_timespec_equal_or_after_impl): print timespec member as intmax_t
657 insted of long int.
658
51983996
MC
6592019-05-09 Mike Crowe <mac@mcrowe.com>
660
44ac6ee9
MC
661 * nptl/tst-abstime.c: Use libsupport.
662
495514ee
MC
663 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
664 small bug where only tv.tv_usec was checked which could cause an
665 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
666 than a second.
667
668 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
669 libsupport.
670
40d0816f
MC
671 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
672 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
673
d8e0b901
MC
674 * nptl/tst-cond11.c: Use libsupport.
675
51983996
MC
676 * support/timespec.h: New file. Provide timespec helper functions
677 along with macros in the style of those in check.h.
678 * support/timespec.c: New file. Implement check functions declared
679 in support/timespec.h.
680 * support/timespec-add.c: New file from gnulib containing
681 timespec_add implementation that handles overflow.
682 * support/timespec-sub.c: New file from gnulib containing
683 timespec_sub implementation that handles overflow.
684 * support/README: Mention timespec.h.
685
18aa51ee
SN
6862019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
687
688 [BZ #24537]
689 * nptl/Makefile: Move tst-eintr1 to xtests.
690
252296c6
AZ
6912019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
692
ae45cf84
AZ
693 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
694 TRUNC handling.
695 (round_mode): Add definition for TRUNC.
696 * sysdeps/powerpc/fpu/s_trunc.c: New file.
697 * sysdeps/powerpc/fpu/s_truncf.c: New file.
698 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
699 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
700 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
701 Likewise.
702 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
703 Likewise.
704 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
705 Likewise.
706 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
707 Likewise.
708 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
709 file.
710 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
711 Likewise.
712 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
713 Likewise.
714 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
715 Likewise.
716 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
717 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
718 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
719 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
720 s_truncf-power5+, and s_truncf-ppc64.
721 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
722 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
723 file.
724 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
725 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
726 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
727 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
728 file.
729 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
730 Likewise.
731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
732 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
733 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
734 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
735 s_truncf-power5+, and s_truncf-ppc64.
736 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
737 file.
738 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
739 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
740 Likewise.
741 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
742 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
743 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
744 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
745 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
746
a1cb1888
AZ
747 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
748 ROUND handling.
749 (round_mode): Add definition for ROUND.
750 (round_to_integer_float): Likewise.
751 * sysdeps/powerpc/fpu/s_round.c: New file.
752 * sysdeps/powerpc/fpu/s_roundf.c: New file.
753 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
754 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
755 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
756 Likewise.
757 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
758 Likewise.
759 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
760 Likewise.
761 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
762 Likewise.
763 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
764 file.
765 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
766 Likewise.
767 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
768 Likewise.
769 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
770 Likewise.
771 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
772 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
773 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
774 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
775 s_roundf-power5+, and s_roundf-ppc64.
776 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
777 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
778 file.
779 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
781 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
782 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
783 file.
784 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
785 Likewise.
786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
787 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
788 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
789 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
790 s_roundf-power5+, and s_roundf-ppc64.
791 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
792 file.
793 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
794 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
795 Likewise.
796 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
797 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
798 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
799 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
800 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
801
252296c6
AZ
802 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
803 Add FLOOR option.
804 (round_mode): Add definition for FLOOR.
805 * sysdeps/powerpc/fpu/s_floor.c: New file.
806 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
807 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
808 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
810 Remove file.
811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
812 Likewise
813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
814 Likewise.
815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
816 Likewise.
817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
818 New file.
819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
820 Likewise.
821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
822 Likewise.
823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
824 Likewise.
825 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
826 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
827 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
828 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
829 s_floorf-power5+, and s_floorf-ppc64.
830 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
831 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
832 file.
833 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
835 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
836 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
837 file.
838 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
839 Likewise.
840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
841 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
842 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
843 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
844 s_floorf-power5+, and s_floorf-ppc64.
845 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
846 file.
847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
848 file.
849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
850 Likewise.
851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
852 Likewise.
853 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
854 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
855 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
856 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
857
33647a72
MC
8582019-05-08 Mike Crowe <mac@mcrowe.com>
859
860 * support/xclock_gettime.c (xclock_gettime): New file. Provide
861 clock_gettime wrapper for use in tests that fails the test rather
862 than returning failure.
863
864 * support/xtime.h: New file to declare xclock_gettime.
865
866 * support/Makefile: Add xclock_gettime.c.
867
868 * support/README: Mention xtime.h.
869
b2f601ba
FW
8702019-05-08 Florian Weimer <fweimer@redhat.com>
871
872 malloc/tst-mallocfork2: Use process-shared barriers.
873 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
874 (signal_count, sigusr1_sender_pid): Remove.
875 (iterations): Define constant.
876 (shared): New variable.
877 (sigusr1_received): Update comment.
878 (sigusr1_handler): Do not send SIGSTOP to the sender process.
879 (signal_sender): Optional use barriers to avoid sending signals
880 during irrelevant times.
881 (do_it): Initialize variable shared. Use xfork for error
882 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
883 the iteration count, independent of signal delivery. Check for
884 deadlocks in fork. Introduce barriers for reducing signal
885 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
886 replaced by the barriers. Count signals during fork/free/malloc
887 and report them.
888 * malloc/Makefile (tst-mallocfork): Link with libpthread.
889
c4a392cf
JM
8902019-05-07 Joseph Myers <joseph@codesourcery.com>
891
7621676f
JM
892 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
893 version to 5.1.
894 (clock_adjtime64) New syscall.
895 (clock_getres_time64) Likewise.
896 (clock_gettime64) Likewise.
897 (clock_nanosleep_time64) Likewise.
898 (clock_settime64) Likewise.
899 (futex_time64) Likewise.
900 (io_pgetevents_time64) Likewise.
901 (io_uring_enter) Likewise.
902 (io_uring_register) Likewise.
903 (io_uring_setup) Likewise.
904 (mq_timedreceive_time64) Likewise.
905 (mq_timedsend_time64) Likewise.
906 (pidfd_send_signal) Likewise.
907 (ppoll_time64) Likewise.
908 (pselect6_time64) Likewise.
909 (recvmmsg_time64) Likewise.
910 (rt_sigtimedwait_time64) Likewise.
911 (sched_rr_get_interval_time64) Likewise.
912 (semtimedop_time64) Likewise.
913 (timer_gettime64) Likewise.
914 (timer_settime64) Likewise.
915 (timerfd_gettime64) Likewise.
916 (timerfd_settime64) Likewise.
917 (utimensat_time64) Likewise.
918
c4a392cf
JM
919 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
920 version to 9 branch.
921
32e902a9
AY
9222019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
923
924 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
925 __memmove_thunderx2 to the list of implementations
926 * sysdeps/aarch64/multiarch/memmove.c: Likewise
927 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
928 (__memmove_thunderx2): Rewritten using SIMD ld/st
929 (__memcpy_thunderx2): Fixed handling overlapping cases.
930 Used ldp/stp instead of ldr/str if possible. Made loops
931 tails branchless.
932
ac3da35d
FW
9332019-05-03 Florian Weimer <fweimer@redhat.com>
934
935 * misc/tst-tsearch.c (walk_tree): Add more error checking.
936
b2af6fb2
AZ
9372019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
938
7dfde28a 939 [BZ #24506]
b2af6fb2
AZ
940 * elf/tst-pldd.c (in_str_list): New function.
941 (do_test): Add default names for ld and libc as one option.
942
7b807a35
FW
9432019-05-02 Florian Weimer <fweimer@redhat.com>
944
945 misc: Add twalk_r function.
946 * include/search.h (__twalk_r): Declare.
947 * manual/examples/twalk.c: New file.
948 * manual/search.texi (Tree Search Function): Document twalk_r.
949 * misc/Versions (2.30): Export twalk_r.
950 (GLIBC_PRIVATE): Export __twalk_r.
951 * misc/search.h [__USE_GNU] (twalk_r): Declare.
952 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
953 (twalk_r): Add weak alias.
954 * misc/tst-tsearch.c (struct walk_trace_element): Define.
955 (walk_trace): New variable.
956 (struct twalk_with_twalk_r_closure): Define.
957 (twalk_with_twalk_r_action): New function.
958 (twalk_with_twalk_r): Likewise.
959 (walk_action): Call walk_trace_add.
960 (walk_tree_with): Rename from walk_tree. Add walk argument.
961 (walk_tree): New function.
962 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
963 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
964 Likewise.
965 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
966 Likewise.
967 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
968 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
969 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
970 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
971 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
972 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
973 Likewise.
974 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
975 Likewise.
976 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
977 Likewise.
978 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
979 (GLIBC_2.30): Likewise.
980 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
981 (GLIBC_2.30): Likewise.
982 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
983 (GLIBC_2.30): Likewise.
984 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
985 (GLIBC_2.30): Likewise.
986 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
987 Likewise.
988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
989 (GLIBC_2.30): Likewise.
990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
991 (GLIBC_2.30): Likewise.
992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
993 (GLIBC_2.30): Likewise.
994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
995 (GLIBC_2.30): Likewise.
996 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
997 Likewise.
998 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
999 Likewise.
1000 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
1001 Likewise.
1002 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
1003 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
1004 Likewise.
1005 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
1006 Likewise.
1007 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
1008 Likewise.
1009 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
1010 Likewise.
1011
20aa5819
PE
10122019-04-30 Paul Eggert <eggert@cs.ucla.edu>
1013
1014 Make mktime etc. compatible with __time64_t
1015 Keep these functions compatible with Gnulib while adding
1016 __time64_t support. The basic idea is to move private API
1017 declarations from include/time.h to time/mktime-internal.h, since
1018 the former file cannot easily be shared with Gnulib whereas the
1019 latter can.
1020 Also, do some other minor cleanup while in the neighborhood.
1021 * include/time.h: Include stdbool.h, time/mktime-internal.h.
1022 (__mktime_internal): Move this prototype to time/mktime-internal.h,
1023 since Gnulib needs it.
1024 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
1025 Move these macros to time/mktime-internal.h, since Gnulib needs them.
1026 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
1027 (in_time_t_range): New static function.
1028 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
1029 so that glibc users are not tempted to use __time64_t.
1030 * time/mktime-internal.h: Rewrite so that it does both glibc
1031 and Gnulib work. Include time.h if not _LIBC.
1032 (mktime_offset_t) [!_LIBC]: Define for gnulib.
1033 (__time64_t): New type or macro, moved here from
1034 posix/bits/types.h.
1035 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
1036 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
1037 from include/time.h.
1038 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
1039 New macros, taken from GNulib.
1040 (__mktime_internal): New prototype, moved here from include/time.h.
1041 * time/mktime.c (mktime_min, mktime_max, convert_time)
1042 (ranged_convert, __mktime_internal, __mktime64):
1043 * time/timegm.c (__timegm64):
1044 Use __time64_t, not time_t.
1045 * time/mktime.c: Stop worrying about whether time_t is floating-point.
1046 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
1047 Rename from mktime.
1048 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
1049 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
1050 for libc_hidden_def.
1051 Include errno.h.
1052 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
1053 Rename from timegm.
1054 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
1055
87c266d7
MR
10562019-04-30 Maciej W. Rozycki <macro@wdc.com>
1057
1058 [BZ #19444]
1059 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
1060 from `-Wmaybe-uninitialized'.
1061 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
1062
c4c0848b
AZ
10632019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1064
6cac323c
AZ
1065 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
1066 function.
1067 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
1068 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
1069 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
1070 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
1071 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
1072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1073 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
1074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1075 Remove file.
1076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
1077 Likewise.
1078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1079 Likewise.
1080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
1081 Likewise.
1082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
1083 New file.
1084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
1085 Likewise.
1086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
1087 Likewise.
1088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
1089 Likewise.
1090 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
1091 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
1092 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
1093 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
1094 Likewise.
1095 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
1096 Likewise.
1097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
1098 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
1099 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
1100 file.
1101 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
1102 Likewise.
1103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
1104 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
1105 * here.
1106 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1107 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
1108 s_ceilf-power5+, and s_ceilf-ppc64.
1109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
1110 file.
1111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
1112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
1113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
1114 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
1115 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
1116 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
1117 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
1118
c4c0848b
AZ
1119 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
1120 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
1121 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
1122
f492fc99
YD
11232019-04-29 Yann Droneaud <ydroneaud@opteya.com>
1124
1125 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
1126 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
1127 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
1128 (sem_getvalue): Likewise.
1129
c57afec0
FW
11302019-04-26 Florian Weimer <fweimer@redhat.com>
1131
1132 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
1133 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
1134
a8ff215e
FW
11352019-04-26 Florian Weimer <fweimer@redhat.com>
1136
1137 Makeconfig: Move -Wl,-rpath-link options before library references.
1138 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
1139 (link-libc): Remove $(link-libc-rpath-link).
1140
11412019-04-25 Florian Weimer <fweimer@redhat.com>
1142
1143 * Makeconfig (+link-pie-before-libc): Remove $(CC).
1144 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
1145 (+link-static-before-libc): Remove $(CC).
1146 (+link-static, +link-static-tests): Add $(CC).
1147 (+link-before-libc): Remove $(CC).
1148 (+link, +link-pie, +link-pie-printers): Add $(CC).
1149
e30fb31c
FW
11502019-04-26 Florian Weimer <fweimer@redhat.com>
1151
1152 * Makeconfig (+link-pie-before-libc): Remove $(CC).
1153 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
1154 (+link-static-before-libc): Remove $(CC).
1155 (+link-static, +link-static-tests): Add $(CC).
1156 (+link-before-libc): Remove $(CC).
1157 (+link, +link-pie, +link-pie-printers): Add $(CC).
1158
deacca00
DA
11592019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
1160
1161 [BZ#24484]
1162 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
1163
b5ffdc48
FW
11642019-04-25 Florian Weimer <fweimer@redhat.com>
1165
1166 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
1167 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
1168 (bench-link-targets): New variable.
1169 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
1170
94a4e9e4
FW
11712019-04-25 Florian Weimer <fweimer@redhat.com>
1172
1173 Also enable BIND_NOW for programs if --enable-bind-now.
1174 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
1175 (+link-pie): Use $(link-extra-flags).
1176 (+link-static): Likewise.
1177 [! $(build-pie-default)] (+link): Likewise.
1178 * manual/install.texi (Configuring and compiling): Update
1179 --enable-bind-now description.
1180 * INSTALL: Regenerated.
1181
fe92a91f
WD
11822019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
1183
1184 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
1185 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
1186
f9b645b4
MF
11872019-04-24 Mike Frysinger <vapier@gentoo.org>
1188
1189 [BZ #18465]
1190 * malloc/Makefile (others): Add memusagestat.
1191 ($(objpfx)memusagestat): Delete rule.
1192 (LDLIBS-memusagestat): New variable.
1193
439bf534
FW
11942019-04-24 Florian Weimer <fweimer@redhat.com>
1195
1196 * locale/Makefile (tests-special): Guard setting by
1197 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
1198 to run while cross-compiling.
1199
1a4c2735
AZ
12002019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1201
1202 [BZ #18035]
1203 * elf/Makefile (tests-container): Add tst-pldd.
1204 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
1205 (E(find_maps)): Avoid use alloca, use default read file operations
1206 instead of explicit LFS names, and fix infinite loop.
1207 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
1208 (get_process_info): Use _Static_assert instead of assert, use default
1209 directory operations instead of explicit LFS names, and free some
1210 leadek pointers.
1211 * elf/tst-pldd.c: New file.
1212
2d398aa2
L
12132019-04-23 H.J. Lu <hongjiu.lu@intel.com>
1214
1215 * malloc/arena.c (do_set_mallopt_check): Removed.
1216
e485b2b6
FW
12172019-04-23 Florian Weimer <fweimer@redhat.com>
1218
1219 locale: Add LOCPATH diagnostics to the locale program.
1220 * locale/programs/locale.c (setlocale_failed): New variable.
1221 (try_setlocale): New function.
1222 (quote_string): Likewise.
1223 (setlocale_diagnostics): Likewise.
1224 (main): Call try_setlocale instead of setlocale. Call
1225 setlocale_diagnostics.
1226 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
1227 (tst-locale-locpath.out): New target.
1228 * locale/tst-locale-locpath.sh: New file.
1229
25f7a3c9
AZ
12302019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1231
1232 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
1233 to 2.30 notes.
1234
9bf8e29c
AZ
12352019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1236
1237 [BZ #23741]
1238 * malloc/hooks.c (malloc_check, realloc_check): Use
1239 __builtin_add_overflow on overflow check and adapt to
1240 checked_request2size change.
1241 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
1242 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
1243 allocation size to PTRDIFF_MAX.
1244 (REQUEST_OUT_OF_RANGE): Remove macro.
1245 (checked_request2size): Change to inline function and limit maximum
1246 requested size to PTRDIFF_MAX.
1247 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
1248 maximum allocation size to PTRDIFF_MAX.
1249 (_mid_memalign): Use _int_memalign call for overflow check.
1250 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
1251 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
1252 limit maximum requested size to PTRDIFF_MAX.
1253 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
1254 valloc, pvalloc): Add __attribute_alloc_size__.
1255 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
1256 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
1257 larger than PTRDIFF_MAX.
1258 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
1259 around tests of malloc with negative sizes.
1260 * malloc/tst-posix_memalign.c (do_test): Likewise.
1261 * malloc/tst-pvalloc.c (do_test): Likewise.
1262 * malloc/tst-valloc.c (do_test): Likewise.
1263 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
1264 with resulting size allocation larger than PTRDIFF_MAX with
1265 reallocarray_nowarn.
1266 (reallocarray_nowarn): New function.
1267 * NEWS: Mention the malloc function semantic change.
1268
0e169691
AZ
12692019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1270
52faba65
AZ
1271 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
1272 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
1273
3a16dd78
AZ
1274 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
1275 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
1276 * sysdeps/powerpc/fpu/s_fma.c: New file.
1277 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
1278
1dac8bd6
AZ
1279 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
1280 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
1281
a3ae315a
AZ
1282 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
1283 the magic flag store.
1284 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
1285 Likewise.
1286 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
1287 Likewise.
1288 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
1289 Remove rt_sigreturn call.
1290
ffe8a9a8
AZ
1291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1292 Remove rt_sigreturn call.
1293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1294 Likewise.
1295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
1296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1297
0e169691
AZ
1298 * support/Makefile (libsupport-routines): Add support_subprocess,
1299 xposix_spawn, xposix_spawn_file_actions_addclose, and
1300 xposix_spawn_file_actions_adddup2.
1301 (tst-support_capture_subprocess-ARGS): New rule.
1302 * support/capture_subprocess.h (support_capture_subprogram): New
1303 prototype.
1304 * support/support_capture_subprocess.c (support_capture_subprocess):
1305 Refactor to use support_subprocess and support_capture_poll.
1306 (support_capture_subprogram): New function.
1307 * support/tst-support_capture_subprocess.c (write_mode_to_str,
1308 str_to_write_mode, test_common, parse_int, handle_restart,
1309 do_subprocess, do_subprogram, do_multiple_tests): New functions.
1310 (do_test): Add support_capture_subprogram tests.
1311 * support/subprocess.h: New file.
1312 * support/support_subprocess.c: Likewise.
1313 * support/xposix_spawn.c: Likewise.
1314 * support/xposix_spawn_file_actions_addclose.c: Likewise.
1315 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
1316 * support/xspawn.h: Likewise.
1317
bae8cf0e
MG
13182019-04-17 Mike Gerow <gerow@google.com>
1319
1320 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
1321 groups limit.
1322
e3f454ba
FW
13232019-04-11 Florian Weimer <fweimer@redhat.com>
1324
1325 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
1326 domain with empty string.
1327 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1328
32d85c11
FW
13292019-04-11 Florian Weimer <fweimer@redhat.com>
1330
1331 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
1332 comment.
1333 (alloc_buffer_next): Change return type to non-const. Update
1334 comment.
1335
221710af
FW
13362019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
1337
1338 * manual/time.texi (Formatting Calendar Time): Add missing percent
1339 sign to conversion specifier.
1340
e621246e
CD
13412019-04-09 Carlos O'Donell <carlos@redhat.com>
1342 Kwok Cheung Yeung <kcy@codesourcery.com>
1343
1344 [BZ #16573]
1345 * malloc/mtrace.c: Define prototypes for all hooks.
1346 (set_default_hooks): New function.
1347 (set_trace_hooks): Likewise.
1348 (save_default_hooks): Likewise.
1349 (tr_freehook): Use new s*_hooks functions.
1350 (tr_mallochook): Likewise.
1351 (tr_reallochook): Likewise.
1352 (tr_memalignhook): Likewise.
1353 (mtrace): Likewise.
1354 (muntrace): Likewise.
1355
648279f4
WD
13562019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1357
1358 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
1359 (generic_stpcpy): New function.
1360 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
1361 (generic_stpncpy): New function.
1362 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
1363 (generic_strcat): New function.
1364 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
1365 (generic_strcpy): New function.
1366 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
1367 (STUPID_STRNCAT): Remove function.
1368 (generic_strncat): New function.
1369 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
1370 (STUPID_STRNCPY): Remove function.
1371 (generic_strncpy): New function.
1372 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
1373 (generic_strnlen): New function.
1374 (memchr_strnlen): New function.
1375 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
1376 (memchr_strlen): Likewise.
1377
93eebae5
WD
13782019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1379
1380 * benchtests/bench-strstr.c (input): Add realistic input text.
1381 (stupid_strstr): Remove function.
1382 (basic_strstr): Add function.
1383 (twoway_strstr): Add function.
1384 (do_one_test): Add result checking.
1385 (do_test): Use new input text. Remove accidental early matches.
1386 (test_main): Improve range of tests, reduce unaligned cases.
1387
a173d09f
WD
13882019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1389
1390 * benchtests/bench-memmem.c (simple_memmem): Remove function.
1391 (basic_memmem): Add function.
1392 (twoway_memmem): Add function.
1393
6103c0a8
WD
13942019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1395
1396 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
1397 * benchtests/bench-malloc-thread.c: Likewise.
1398 * benchtests/bench-skeleton.c: Likewise.
1399 * benchtests/bench-strtod.c: Likewise.
1400 * benchtests/bench-timing.h: Likewise.
1401
33322186
FW
14022019-04-08 Florian Weimer <fweimer@redhat.com>
1403
1404 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
1405 definitions.
1406 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
1407 RES_INSECURE2 security checks.
1408 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
1409 RES_INSECURE2 handling.
1410
3f8b44be
FW
14112019-04-08 Florian Weimer <fweimer@redhat.com>
1412
1413 resolv: Remove support for RES_USE_INET6 and the inet6 option.
1414 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
1415 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
1416 GETHOSTBYNAME.
1417 * resolv/Makefile (tests): Remove tst-res_use_inet6.
1418 (tests-internal): Update justification for tst-resolv-res_init,
1419 tst-resolv-res_init-thread.
1420 (tst-res_use_inet6): Remove target.
1421 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
1422 * resolv/res_debug.c (p_option): Remove "inet6" support.
1423 * resolv/res_init.c (res_setoptions): Likewise.
1424 * resolv/res_use_inet6.h: Remove file.
1425 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
1426 definition.
1427 (res_use_inet6): Always return false.
1428 * resolv/resolv.h (RES_USE_INET6): Remove definition.
1429 * resolv/resolv_context.h: Adjust file comment.
1430 (struct resolv_context): Update comment on __next field.
1431 (__resolv_context_put): Update comment.
1432 * resolv/tst-res_use_inet6.c: Remove file.
1433 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
1434 "inet6" support.
1435 (test_cases): Adjust test case.
1436 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
1437 (thread_byname2_af_inet6): Use old byname_inet6 code.
1438 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
1439 (gai): Remove do_inet6 argument.
1440 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
1441 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
1442 (thread_gai_unspec_inet6): Remove functions.
1443 (do_test): Adjust thread_funcs.
1444 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
1445 RES_USE_INET6 flag.
1446 (gaih_inet): Do not disable RES_USE_INET6 flag.
1447
6b5c8607 14482019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
94e358f6
AY
1449
1450 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
1451 and remove redundant code.
1452
e3fd0b0e
AZ
14532019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1454
f82ed45d
AZ
1455 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
1456 New rule.
1457 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
1458 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
1459 Likewise.
1460 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
1461 Likewise.
1462 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
1463 Likewise.
1464 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
1465 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
1466 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
1467 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
1468 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
1469 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
1470 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1471 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
1472 wcsrchr-power7.
1473 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
1474 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1475 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1476 Remove wcsrchr optimizations.
1477 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1478
662c2cc4
AZ
1479 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
1480 the loop unroll.
1481
421e3005
AZ
1482 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
1483 New rule.
1484 * sysdeps/powerpc/power6/wcschr.c: Remove file.
1485 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
1486 Likewise.
1487 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
1488 Likewise.
1489 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
1490 Likewise.
1491 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
1492 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
1493 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
1494 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
1495 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1496 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
1497 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1498 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
1499 wcschr-power7.
1500 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
1501 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1502 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1503 Remove wcschr optimizations.
1504 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1505
7ba0100c
AZ
1506 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
1507 the loop unroll.
1508
447a1306
AZ
1509 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
1510 New rule.
1511 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
1512 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
1513 Likewise.
1514 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
1515 Likewise.
1516 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
1517 Likewise.
1518 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
1519 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
1520 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
1521 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
1522 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1523 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
1524 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1525 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
1526 wcscpy-power7.
1527 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
1528 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1529 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1530 Remove wcscpy optimizations.
1531 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1532
e3fd0b0e
AZ
1533 * include/loop_unroll.h: New file.
1534 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
1535 besides generic implementation.
1536
8260f236
DD
15372019-04-03 DJ Delorie <dj@redhat.com>
1538
1539 * time/tst-strftime3.c (tm_to_printed): Disable warning about
1540 snprintf truncating output.
1541
0bd545ee
DD
15422019-04-02 DJ Delorie <dj@redhat.com>
1543
1544 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
1545 warning.
1546
466afec3
TS
15472019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1548
1549 [BZ #22964]
1550 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
1551 era.
1552 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
1553 (mkreftable): Add rules for the new Japanese era and the new dates.
1554
2f1d6155
TS
15552019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1556 Rafal Luzynski <digitalfreak@lingonborough.com>
1557
1558 * time/tst-strftime2.c (date_t): Explicitly define the type.
1559 (dates): Use natural month and year numbers to express a date.
1560 (is_before): New function to compare dates.
1561 (mkreftable): Minor improvements to simplify maintenance.
1562 (do_test): Reflect the changes in dates array.
1563
84aea169
TS
1564 [BZ #24293]
1565 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
1566 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
1567 * time/tst-strftime2.c (locales): Likewise.
1568 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
1569 2010-04-01, and 2011-04-01.
1570 (mkreftable): Add rules for the new locales and the new dates.
1571
62449176
CD
15722019-04-01 Carlos O'Donell <carlos@redhat.com>
1573
1574 * localedata/locales/ja_JP: Add comments to era entries.
1575
e0e4c321
DD
15762019-04-01 DJ Delorie <dj@redhat.com>
1577
1578 [BZ #24394]
1579 * time/strptime_l.c (%Ey): Fix fencepost error.
1580 * time/tst-strftime3.c: New.
1581 * time/Makefile (tests): Add tst-strftime3.
1582
6b5c8607 15832019-04-01 Uros Bizjak <ubizjak@gmail.com>
993e3107
UB
1584
1585 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
1586 conditional branch to DIVBYZERO. Fix unwind info.
1587 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
1588 excb after conditional branch to $powerof2. Add missing unop
1589 instructions and .align directives and reorder instructions to
1590 match __divqu.
1591
d5ecee82
RH
15922019-04-01 Richard Henderson <rth@twiddle.net>
1593
1594 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
1595 Do not redefine.
1596 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
1597 Do not redefine.
1598
656dd306
MR
15992019-03-30 Maciej W. Rozycki <macro@wdc.com>
1600
1601 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
1602 $libc_cv_riscv_float_abi in `test' invocation.
1603 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
1604
10cce669
PC
16052019-03-29 Paul A. Clarke <pc@us.ibm.com>
1606
1607 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
1608 asm with builtin.
1609 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
1610 Likewise.
1611 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1612 (_GET_SI_FPSCR): Likewise.
1613 (_SET_SI_FPSCR): Likewise.
1614
5e67e4bf 16152019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4997e8f3
AZ
1616
1617 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
1618 clang 2.8.
1619 (signbit): Use builtin for clang 3.3.
1620 (isinf): Use builtin for clang 3.7.
1621
01963891
AZ
16222019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1623
1624 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
1625
67112f7a
AH
16262019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
1627
1628 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
1629 quote in printf.
1630
7a773abf
MC
16312019-03-25 Mike Crowe <mac@mcrowe.com>
1632
82849fde
MC
1633 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
1634 pthread_rwlock_timedrdlock with calls to
1635 pthread_rwlock_timedwrlock to ensure that the latter is tested
1636 too. Use new function name in diagnostic messages too.
1637
7a773abf
MC
1638 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
1639 (do_test) Use libsupport test macros rather than hand-coded
1640 conditionals and error messages. Ensure that sem_init returns zero
1641 rather than not -1. Use <support/test-driver.c> rather than
1642 test-skeleton.c.
1643
1644 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
1645 test macros rather than hand-coded conditionals and error messages.
1646 Use <support/test-driver.c> rather than test-skeleton.c.
1647
9ac2de69
JM
16482019-03-25 Joseph Myers <joseph@codesourcery.com>
1649
d7563e62
JM
1650 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
1651
9ac2de69
JM
1652 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
1653 (NT_MIPS_MSA): Likewise.
1654
38cc11da
AZ
16552019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1656
7621e38b
WD
1657 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
1658 * benchtests/README: Update description.
1659 * benchtests/bench-timing.h: Default to hp-timing.
1660 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
1661 HP_TIMING_PRINT): Remove.
1662 (HP_TIMING_NOW): Add generic implementation.
1663 (hp_timing_t): Change to uint64_t.
1664
1e372ded
AZ
1665 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
1666 HP_TIMING_INLINE.
1667 * nptl/descr.h: Likewise.
1668 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
1669 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
1670 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
1671 Abstract hp-timing usage with RTLD_* macros.
1672 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
1673 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
1674 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
1675 HP_TIMING_NONAVAIL): Likewise.
1676 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
1677 Likewise.
1678 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
1679 HP_SMALL_TIMING_AVAIL): Likewise.
1680 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
1681 HP_SMALL_TIMING_AVAIL): Likewise.
1682 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
1683 HP_SMALL_TIMING_AVAIL): Likewise.
1684 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
1685 HP_SMALL_TIMING_AVAIL): Likewise.
1686 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
1687 Likewise.
1688 * sysdeps/generic/hp-timing-common.h: Update comment with
1689 HP_TIMING_AVAIL removal.
1690
359653aa
AZ
1691 * include/random-bits.h: New file.
1692 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
1693 (__res_context_mkquery): Remove usage hp-timing usage and replace with
1694 random_bits.
1695 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
1696 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
1697 Likewise.
1698
6e8ba7fd
AZ
1699 * include/libc-internal.h (__get_clockfreq): Remove prototype.
1700 * rt/Makefile (clock-routines): Remove get_clockfreq.
1701 * rt/get_clockfreq.c: Remove file.
1702 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
1703 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
1704 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
1705 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
1706 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
1707
77b6f553
AZ
1708 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
1709 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
1710 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
1711 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
1712 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
1713
38cc11da
AZ
1714 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
1715 pthread_clock_settime.
1716 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
1717 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
1718 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
1719 * elf/rtld.c (_dl_start_final): Likewise.
1720 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
1721 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
1722 Remove.
1723 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
1724 (_dl_cpuclock_offset): Remove.
1725 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
1726 cpuclock_offset_ununsed.
1727 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
1728 cpuclock_offset set.
1729 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
1730 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1731 * nptl/pthread_clock_gettime.c: Remove file.
1732 * nptl/pthread_clock_settime.c: Likewise.
1733 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
1734 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
1735 and CLOCK_PROCESS_CPUTIME_ID support.
1736 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
1737 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
1738 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
1739 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
1740 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
1741 Likewise.
1742 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
1743
421749d6
SL
17442019-03-22 Stefan Liebler <stli@linux.ibm.com>
1745
1746 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
1747 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
1748 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
1749 New defines.
1750 * sysdeps/s390/memmem-arch13.S: New file.
1751 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
1752 if it is only used as fallback.
1753 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
1754 * sysdeps/s390/multiarch/ifunc-impl-list.c
1755 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
1756
6f47401b
SL
17572019-03-22 Stefan Liebler <stli@linux.ibm.com>
1758
1759 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
1760 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
1761 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
1762 New defines.
1763 * sysdeps/s390/multiarch/ifunc-impl-list.c
1764 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
1765 * sysdeps/s390/strstr-arch13.S: New file.
1766 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
1767 if it is only used as fallback.
1768 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
1769
96fbb9a3
SL
17702019-03-22 Stefan Liebler <stli@linux.ibm.com>
1771
1772 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
1773 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
1774 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
1775 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
1776 ifunc selector.
1777 * sysdeps/s390/multiarch/ifunc-impl-list.c
1778 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
1779 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
1780 S390_IS_ARCH13_MIE3): New defines.
1781
a899a551
SL
17822019-03-22 Stefan Liebler <stli@linux.ibm.com>
1783
1784 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
1785 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
1786 * sysdeps/s390/configure.ac: Add checks for arch13 support.
1787 * sysdeps/s390/configure: Regenerated.
1788
1a7df49c
SL
17892019-03-22 Stefan Liebler <stli@linux.ibm.com>
1790
1791 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
1792 Add vxe2, vxp, dflt, sort flags.
1793 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
1794 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
1795 capabilities.
1796 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
1797 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
1798 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
1799 HWCAP_S390_DFLT): Define.
1800
5e67e4bf 18012019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5abcddd7
GG
1802
1803 [BZ #24372]
1804 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
1805 of compiler warning.
1806 * locale/programs/ld-collate.c (collate_output): Likewise.
1807
ac64195c
DD
18082019-03-21 DJ Delorie <dj@redhat.com>
1809
1810 [BZ #24372]
1811 * iconv/iconvconfig.c (write_output): Replace floating point math
1812 with integer math to avoid imprecise results.
1813 * locale/programs/ld-collate.c (collate_output): Likewise.
1814
61f5e947
SL
18152019-03-21 Stefan Liebler <stli@linux.ibm.com>
1816
1817 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
1818 Add HWCAP_S390_VX and HWCAP_S390_VXE.
1819
57ada43c 18202019-03-20 mansayk <6688000@gmail.com>
1821
1822 [BZ #24296]
1823 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
1824 (abday): Likewise, but remove the trailing dots.
1825
a2e57f89
JM
18262019-03-19 Joseph Myers <joseph@codesourcery.com>
1827
1828 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
1829 macro.
1830 (HWCAP_PACA): Likewise.
1831 (HWCAP_PACG): Likewise.
1832 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
1833 Increase to 32.
1834 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
1835
e87d8ada
ST
18362019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1837
1838 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
1839 should be handled.
1840
477e739b
JM
18412019-03-15 Joseph Myers <joseph@codesourcery.com>
1842
1843 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1844 version to 5.0.
1845 (old_getpagesize): New syscall.
1846
238d60a1
FY
18472019-03-15 Felix Yan <felixonmars@archlinux.org>
1848
1849 [BZ #24293]
1850 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
1851 * localedata/locales/cmn_TW (era): Likewise.
1852 * localedata/locales/hak_TW (era): Likewise.
1853 * localedata/locales/lzh_TW (era): Likewise.
1854 * localedata/locales/nan_TW (era): Likewise.
1855
5dde9ef7
DD
18562019-03-14 Adam Maris <amaris@redhat.com>
1857
1858 * malloc/malloc.c (_int_malloc): Check for large bin list
1859 corruption when inserting unsorted chunk.
1860
a0a0dc83
FW
18612019-03-14 Florian Weimer <fweimer@redhat.com>
1862
1863 Remove obsolete, never-implemented XSI STREAMS declarations.
1864 * manual/terminal.texi (Allocation): Remove portability note and
1865 adjust example.
1866 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
1867 _SC_STREAMS.
1868 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
1869 * sysdeps/unix/inet/Subdirs (streams): Remove.
1870 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
1871 (conformtest-headers-UNIX98): Likewise.
1872 (conformtest-headers-XOPEN2K): Likewise.
1873 (conformtest-headers-POSIX2008): Likewise.
1874 * posix/compat-streams.c: New file.
1875 * posix/Makefile (routines): Add it.
1876 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
1877 getpmsg, isastream, putmsg, putpmsg.
1878 (GLIBC_2.30): New section.
1879 * bits/stropts.h: Remove file.
1880 * bits/xtitypes.h: Likewise.
1881 * conform/data/stropts.h-data: Likewise.
1882 * include/stropts.h: Likewise.
1883 * include/sys/stropts.h: Likewise.
1884 * include/xtitypes.h: Likewise.
1885 * streams/Makefile: Likewise.
1886 * streams/fattach.c: Likewise.
1887 * streams/fdetach.c: Likewise.
1888 * streams/getmsg.c: Likewise.
1889 * streams/getpmsg.c: Likewise.
1890 * streams/isastream.c: Likewise.
1891 * streams/putmsg.c: Likewise.
1892 * streams/putpmsg.c: Likewise.
1893 * streams/stropts.h: Likewise.
1894 * streams/sys/stropts.h: Likewise.
1895 * sysdeps/ia64/bits/xtitypes.h: Likewise.
1896 * sysdeps/s390/bits/xtitypes.h: Likewise.
1897 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
1898 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
1899 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
1900 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
1901 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
1902 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
1903 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
1904 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
1905 * sysdeps/x86/bits/xtitypes.h: Likewise.
1906
081bdf94
FW
19072019-03-14 Florian Weimer <fweimer@redhat.com>
1908
1909 * nss/tst-nss-files-alias-truncated.c (do_test): Load
1910 libnss_files.
1911 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
1912 but not with libnss_files.
1913 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
1914
97f8225d
ZW
19152019-03-14 Zack Weinberg <zackw@panix.com>
1916
1917 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
1918 Specify encoding="utf-8" when opening headers to check.
1919
0c1041ee
JM
19202019-03-13 Joseph Myers <joseph@codesourcery.com>
1921
1922 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1923 version to 5.0.
1924 (Context.checkout_tar): Handle variable major version for Linux
1925 kernel.
1926
043440e7
FW
19272019-03-13 Florian Weimer <fweimer@redhat.com>
1928
1929 [BZ #24047]
1930 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
1931
29218b26
ZW
19322019-03-13 Zack Weinberg <zackw@panix.com>
1933
1934 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
1935 Move to stdlib.
1936 * include/inttypes.h: Adjust to match.
1937 * include/stdint.h: New wrapper.
1938
711a322a
ZW
19392019-03-13 Zack Weinberg <zackw@panix.com>
1940
1941 * scripts/check-obsolete-constructs.py: New test script.
1942 * scripts/check-installed-headers.sh: Remove tests for
1943 obsolete typedefs, superseded by check-obsolete-constructs.py.
1944 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
1945 as a special test. Update commentary.
1946 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
1947 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
1948 Update commentary.
1949 * posix/sys/types.h (__u_intN_t): Remove.
1950 (u_int8_t): Typedef using __uint8_t.
1951 (u_int16_t): Typedef using __uint16_t.
1952 (u_int32_t): Typedef using __uint32_t.
1953 (u_int64_t): Typedef using __uint64_t.
1954
7c651308
SL
19552019-03-13 Stefan Liebler <stli@linux.ibm.com>
1956
1957 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
1958 call _dl_procinfo.
1959 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
1960 Ignore types other than AT_HWCAP.
1961 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
1962 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
1963 Likewise.
1964 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
1965 in the case of falling back to generic output mechanism.
1966 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
1967 Likewise.
1968
38b52865
FW
19692019-03-12 Florian Weimer <fweimer@redhat.com>
1970
1971 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
1972
08504de7
FW
19732019-03-12 Florian Weimer <fweimer@redhat.com>
1974
1975 [BZ #24047]
1976 resolv: Enable full ICMP errors for UDP DNS sockets
1977 * resolv/res_enable_icmp.c: New file.
1978 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
1979 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
1980 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
1981 socket.
1982
5fbcd763
MH
19832019-03-11 Mao Han <han_mao@c-sky.com>
1984
1985 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
1986 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
1987
c4e5f34b
MH
19882019-03-11 Mao Han <han_mao@c-sky.com>
1989
1990 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
1991 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
1992 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
1993
827e30f3
MH
19942019-03-11 Mao Han <han_mao@c-sky.com>
1995
1996 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
1997 directly.
1998 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
1999 definition.
2000
6229c9bf
MH
20012019-03-11 Mao Han <han_mao@c-sky.com>
2002
2003 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
2004 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
2005 in mcontext_t
2006
86bdd49d
MF
20072019-03-08 Mike FABIAN <mfabian@redhat.com>
2008
2009 [BZ #24307]
2010 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
2011 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
2012 Unicode 12.0.0.
2013 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
2014 * localedata/unicode-gen/PropList.txt: Likewise.
2015 * localedata/unicode-gen/UnicodeData.txt: Likewise.
2016 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
2017 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
2018 * localedata/charmaps/UTF-8: Regenerate.
2019 * localedata/locales/i18n_ctype: Likewise.
2020 * localedata/locales/tr_TR: Likewise.
2021 * localedata/locales/translit_circle: Likewise.
2022 * localedata/locales/translit_cjk_compat: Likewise.
2023 * localedata/locales/translit_combining: Likewise.
2024 * localedata/locales/translit_compat: Likewise.
2025 * localedata/locales/translit_font: Likewise.
2026 * localedata/locales/translit_fraction: Likewise.
2027
c5f65462
JM
20282019-03-07 Joseph Myers <joseph@codesourcery.com>
2029
2030 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
2031 than after operators.
2032 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
2033 (setitimer_locked): Likewise.
2034 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
2035 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
2036 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
2037 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
2038 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
2039 (PPC_CPU_SUPPORTED): Likewise.
2040 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
2041 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
2042 (stat_overflow): Likewise.
2043 (statfs_overflow): Likewise.
2044 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
2045 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
2046 (eq_ttyname_r): Likewise.
2047 (run_chroot_tests): Likewise.
2048
27a2f2f3
FW
20492019-03-07 Florian Weimer <fweimer@redhat.com>
2050
2051 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
2052 header check.
2053
ae514971 20542019-03-07 Martin Liska <mliska@suse.cz>
2055
2056 * math/Makefile: Change location where math-vector-fortran.h is
2057 installed.
2058 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
2059 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
2060 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
2061 * scripts/check-installed-headers.sh: Skip Fortran header files.
2062 * scripts/check-wrapper-headers.py: Likewise.
2063
0ddb7ea8
AZ
20642019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2065
2066 * nptl/nptl-init.c (__have_futex_clock_realtime,
2067 __have_futex_clock_realtime): Remove definition.
2068 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
2069 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
2070 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
2071 __ASSUME_FUTEX_CLOCK_REALTIME support.
2072 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
2073 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2074 * sysdeps/unix/sysv/linux/kernel-features.h
2075 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
2076 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
2077 Adjust comment.
2078
590675c0
GG
20792019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2080
2081 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
2082 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
2083 __GI___wcscpy and wcscpy.
2084
de71ee7b
FW
20852019-03-04 Florian Weimer <fweimer@redhat.com>
2086
2087 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
2088 declaration.
2089 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
2090 defined.
2091
ce6ddae0
SL
20922019-03-04 Stefan Liebler <stli@linux.ibm.com>
2093
2094 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
2095 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2096
31efface
TS
20972019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
2098
2099 [BZ #24162]
2100 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
2101 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
2102
f0eaf862
GG
21032019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2104
2105 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
2106 tests.
2107 (do_test): Likewise.
2108 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
2109 (do_test_call_varg): Likewise.
2110 (do_test_call_rarg): Likewise.
2111 * sysdeps/ieee754/ldbl-opt/Makefile
2112 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
2113 tst-nldbl-error.
2114 ($(objpfx)tst-nldbl-warn.c): New rule.
2115 ($(objpfx)tst-nldbl-error.c): Likewise.
2116 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
2117 New variables.
2118
d11086a9
GG
21192019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2120
2121 [BZ #23984]
2122 * include/bits/error-ldbl.h: New file.
2123 * include/error.h: Include stdarg.h. Declare internal functions
2124 __error_internal and __error_at_line_internal.
2125 * misc/Makefile (headers): Add bits/error-ldbl.h.
2126 * misc/bits/error-ldbl.h: New file.
2127 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
2128 avoid the inclusion of bits/error.h.
2129 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
2130 and __nldbl_error_at_line.
2131 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
2132 (__nldbl_error, __ndlbl_error_at_line): New functions.
2133 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
2134 Redirect error and error_at_line.
2135 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2137 Likewise.
2138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2139 Likewise.
2140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2141 Likewise.
2142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2143 Likewise.
2144 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2145 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2146 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2147
90188e7d
GG
21482019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2149
2150 [BZ #23984]
2151 * include/bits/err-ldbl.h: New file.
2152 * include/err.h: Add prototypes for the internal functions:
2153 __vwarnx_internal and __vwarn_internal.
2154 * misc/Makefile (headers): Add bits/err-ldbl.h.
2155 * misc/bits/err-ldbl.h: New file.
2156 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
2157 defined, i.e.: when -mlong-double-64 is in use.
2158 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
2159 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
2160 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
2161 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
2162 (VA_CALL): New macro.
2163 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
2164 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
2165 functions.
2166 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
2167 declare prototypes for the new functions.
2168 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2170 Likewise.
2171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2172 Likewise.
2173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2174 Likewise.
2175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2176 Likewise.
2177 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2178 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2179 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2180
ea2d89d0
GG
21812019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2182
2183 * sysdeps/ieee754/ldbl-opt/Makefile
2184 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
2185 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
2186 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
2187
6e1f6440
GG
21882019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2189
2190 [BZ #23983]
2191 * argp/Makefile (headers): Add bits/argp-ldbl.h.
2192 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
2193 * argp/bits/argp-ldbl.h: New file.
2194 * include/argp.h: Include stdarg.h. Add prototypes for internal
2195 functions: __argp_error_internal and __argp_failure_internal.
2196 * include/bits/argp-ldbl.h: New file.
2197 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
2198 __nldbl_argp_error and __nldbl_argp_failure.
2199 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
2200 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
2201 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
2202 Redirect argp_error and argp_failure calls.
2203 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2205 Likewise.
2206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2207 Likewise.
2208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2209 Likewise.
2210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2211 Likewise.
2212 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2213 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2214 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2215
c259196b
FW
22162019-03-01 Florian Weimer <fweimer@redhat.com>
2217
2218 [BZ #20419]
2219 * elf/tst-big-note-lib.S: Create a syntactically valid note.
2220 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
2221 code, to avoid creating an ABI tag note.
2222 (modules-names-nobuild): Add tst-big-note-lib.
2223
928b305d
SL
22242019-03-01 Stefan Liebler <stli@linux.ibm.com>
2225
2226 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
2227 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
2228
36f30c10
FW
22292019-03-01 Florian Weimer <fweimer@redhat.com>
2230
2231 [BZ #20271]
2232 * sysdeps/unix/sysv/linux/netlink_assert_response.c
2233 (__netlink_assert_response): Add additional missing newlines.
2234
462e83a4
JM
22352019-02-28 Joseph Myers <joseph@codesourcery.com>
2236
2237 * sysdeps/powerpc/powerpc32/dl-machine.c
2238 (__elf_machine_fixup_plt): Use space before '('.
2239 (__process_machine_rela): Likewise.
2240 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
2241 Likewise.
2242 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
2243 Likewise.
2244 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
2245 Likewise.
2246 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
2247 (pattern): Likewise.
2248 (delta): Likewise.
2249 (check_result): Likewise.
2250 (check_excepts): Likewise.
2251 (check_op): Likewise.
2252 (fail_xr): Likewise.
2253 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
2254 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
2255 (SCNHSZ): Likewise.
2256 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
2257 Likewise.
2258 (ARGS): Likewise.
2259 (__makecontext): Likewise.
2260 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
2261 Likewise.
2262
cc3e573c
FW
22632019-02-28 Florian Weimer <fweimer@redhat.com>
2264
2265 [BZ #23937]
2266 elf: Add test with a local IFUNC resolver.
2267 * elf/ifuncmain9.c: New file.
2268 * elf/ifuncmain9pic.c: Likewise.
2269 * elf/ifuncmain9picstatic.c: Likewise.
2270 * elf/ifuncmain9pie.c: Likewise.
2271 * elf/ifuncmain9static.c: Likewise.
2272 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
2273 ifuncmain9static, ifuncmain9picstatic.
2274 * elf/Makefile [multi-arch && build-shared] (tests-internal):
2275 Add ifuncmain9, ifuncmain9pic.
2276 * elf/Makefile [multi-arch && build-shared && have-fpie]
2277 (ifunc-pie-tests): Add ifuncmain9pie.
2278 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
2279 (CFLAGS-ifuncmain9picstatic.c): Likewise.
2280 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
2281
92ad88fe
L
22822019-02-27 H.J. Lu <hongjiu.lu@intel.com>
2283
2284 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
2285 * configure: Regenerated.
2286 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
2287
6bd4d02e
AZ
22882019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2289
2290 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
2291 symbol as __wcspcy instead of wcscpy.
2292
1b218417
ST
22932019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2294
2295 * include/stdio.h (__renameat2): New hidden prototype.
2296 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
2297 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
2298 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
2299 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
2300
c4f50205
JM
23012019-02-27 Joseph Myers <joseph@codesourcery.com>
2302
f627dd4d
JM
2303 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
2304 if statement.
2305
c4f50205
JM
2306 * benchtests/bench-strcpy.c (do_test): Use space before '('.
2307 * benchtests/bench-string.h (cmdline_process_function): Likewise.
2308 * benchtests/bench-strlen.c (do_test): Likewise.
2309 (test_main): Likewise.
2310 * catgets/gencat.c (read_old): Likewise.
2311 * elf/cache.c (load_aux_cache): Likewise.
2312 * iconvdata/bug-iconv8.c (do_test): Likewise.
2313 * math/test-tgmath-ret.c (do_test): Likewise.
2314 * nis/nis_call.c (rec_dirsearch): Likewise.
2315 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2316 * nptl/tst-audit-threads.c (do_test): Likewise.
2317 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
2318 * nss/nss_test1.c (init): Likewise.
2319 * nss/test-netdb.c (test_hosts): Likewise.
2320 * posix/execvpe.c (maybe_script_execute): Likewise.
2321 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
2322 * stdio-common/tst-printf.c (do_test): Likewise.
2323 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
2324 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
2325 * stdlib/qsort.c (STACK_SIZE): Likewise.
2326 * stdlib/test-canon.c (do_test): Likewise.
2327 * stdlib/tst-swapcontext1.c (do_test): Likewise.
2328 * string/memcmp.c (OPSIZ): Likewise.
2329 * string/test-strcpy.c (do_test): Likewise.
2330 (do_random_tests): Likewise.
2331 * string/test-strlen.c (do_test): Likewise.
2332 (test_main): Likewise.
2333 * string/test-strrchr.c (do_test): Likewise.
2334 (do_random_tests): Likewise.
2335 * string/tester.c (test_memrchr): Likewise.
2336 (test_memchr): Likewise.
2337 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
2338 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
2339 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
2340 (read_encoded_value_with_base): Likewise.
2341 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
2342 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
2343 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
2344 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
2345 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
2346 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
2347 Likewise.
2348 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
2349 Likewise.
2350 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
2351 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
2352 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
2353 Likewise.
2354 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
2355 Likewise.
2356 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
2357 Likewise.
2358 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
2359 Likewise.
2360 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
2361 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
2362 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2363 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
2364 * time/test_time.c (main): Likewise.
2365
7b3fb620
AZ
23662019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2367
457208b1
AZ
2368 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
2369
30a7e208
AZ
2370 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
2371 wmemcpy.
2372
ddf21ec7
AZ
2373 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
2374 wmemcpy.
2375
4d801563
AZ
2376 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
2377
81a14439
AZ
2378 * include/wchar.h (__wcscpy): New prototype.
2379 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
2380 (__wcscpy): Route internal symbol to generic implementation.
2381 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
2382 Add internal __wcscpy alias.
2383 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
2384 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
2385 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
2386 * wcsmbs/wcscpy.c (wcscpy): Add
2387 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
2388 use generic implementation.
2389 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
2390
39ef0744
AZ
2391 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
2392 wmemset.
2393
7b3fb620
AZ
2394 * sysdeps/m68k/wcpcpy.c: Remove file.
2395 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
2396
e0cb7b61
JM
23972019-02-26 Joseph Myers <joseph@codesourcery.com>
2398
aa0e4663
JM
2399 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
2400 than after operators.
2401 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
2402 * sysdeps/mach/hurd/getcwd.c
2403 (__hurd_canonicalize_directory_name_internal): Likewise.
2404 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
2405 (pthread_mutex_consistent): Likewise.
2406 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
2407 Likewise.
2408 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
2409 (__pthread_mutex_transfer_np): Likewise.
2410 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
2411 (__pthread_mutex_unlock): Likewise.
2412 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
2413 (mtx_owned_p): Likewise.
2414 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
2415 (pthread_mutexattr_getrobust): Likewise.
2416 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
2417 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
2418 Likewise.
2419 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2420 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
2421 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
2422 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
2423 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
2424 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2425 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
2426 Likewise.
2427 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
2428 Likewise.
2429 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
2430 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
2431 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
2432 (____longjmp_chk): Likewise.
2433 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
2434 Likewise.
2435 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2436 (INTERNAL_SYSCALL): Likewise.
2437 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2438 (INTERNAL_SYSCALL): Likewise.
2439 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2440 (__get_clockfreq_via_cpuinfo): Likewise.
2441
e0cb7b61
JM
2442 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
2443 comments.
2444 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
2445 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
2446 (WORD_COPY_BWD): Likewise.
2447 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2448 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2449 Likewise.
2450 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
2451 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
2452 comment.
2453 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
2454
a04549c1
JM
24552019-02-25 Joseph Myers <joseph@codesourcery.com>
2456
2457 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
2458 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
2459 rather than after operators.
2460 * elf/cache.c (print_cache): Likewise.
2461 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
2462 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
2463 * hurd/hurdinit.c (_hurd_setproc): Likewise.
2464 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
2465 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
2466 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
2467 (reauth_proc): Likewise.
2468 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
2469 (__file_name_split_at): Likewise.
2470 (__directory_name_split_at): Likewise.
2471 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
2472 * hurd/port2fd.c (_hurd_port2fd): Likewise.
2473 * iconv/gconv_dl.c (do_print): Likewise.
2474 * inet/netinet/in.h (struct sockaddr_in): Likewise.
2475 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
2476 * locale/setlocale.c (new_composite_name): Likewise.
2477 * malloc/memusagestat.c (main): Likewise.
2478 * misc/fstab.c (fstab_convert): Likewise.
2479 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
2480 Likewise.
2481 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
2482 (getgrent_next_file): Likewise.
2483 (internal_getgrnam_r): Likewise.
2484 (internal_getgrgid_r): Likewise.
2485 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
2486 Likewise.
2487 (internal_getgrent_r): Likewise.
2488 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
2489 (getpwent_next_nss): Likewise.
2490 (getpwent_next_file): Likewise.
2491 (internal_getpwnam_r): Likewise.
2492 (internal_getpwuid_r): Likewise.
2493 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
2494 Likewise.
2495 (getspent_next_nss): Likewise.
2496 (internal_getspnam_r): Likewise.
2497 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
2498 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
2499 * string/strchr.c (STRCHR): Likewise.
2500 * string/strchrnul.c (STRCHRNUL): Likewise.
2501 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
2502 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2503 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
2504 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
2505 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
2506 Likewise.
2507 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
2508 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
2509 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
2510 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
2511 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
2512 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
2513 (open_file): Likewise.
2514 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
2515 (pthread_mutexattr_setprotocol): Likewise.
2516 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2517 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
2518 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
2519 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
2520 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
2521 Likewise.
2522 (elf_machine_rela): Likewise.
2523 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2524 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2525 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
2526 * sysdeps/posix/rename.c (rename): Likewise.
2527 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
2528 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
2529 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
2530 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
2531 * sysdeps/unix/grantpt.c (grantpt): Likewise.
2532 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
2533 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
2534 Likewise.
2535 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
2536 Likewise.
2537 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
2538 * time/tzfile.c (__tzfile_compute): Likewise.
2539
34a5a146
JM
25402019-02-22 Joseph Myers <joseph@codesourcery.com>
2541
2542 * benchtests/bench-memmem.c (simple_memmem): Break lines before
2543 rather than after operators.
2544 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
2545 * crypt/md5.c (md5_finish_ctx): Likewise.
2546 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
2547 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
2548 * elf/cache.c (load_aux_cache): Likewise.
2549 * elf/dl-load.c (open_verify): Likewise.
2550 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
2551 * elf/readelflib.c (process_elf_file): Likewise.
2552 * elf/rtld.c (dl_main): Likewise.
2553 * elf/sprof.c (generate_call_graph): Likewise.
2554 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
2555 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
2556 * hurd/dtable.c (reauth_dtable): Likewise.
2557 * hurd/getdport.c (__getdport): Likewise.
2558 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
2559 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
2560 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
2561 Likewise.
2562 * hurd/hurdioctl.c (fioctl): Likewise.
2563 * hurd/hurdselect.c (_hurd_select): Likewise.
2564 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
2565 (STOPSIGS): Likewise.
2566 * hurd/hurdstartup.c (_hurd_startup): Likewise.
2567 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
2568 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
2569 * hurd/msgportdemux.c (msgport_server): Likewise.
2570 * hurd/setauth.c (_hurd_setauth): Likewise.
2571 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
2572 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
2573 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
2574 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
2575 * login/tst-utmp.c (do_check): Likewise.
2576 (simulate_login): Likewise.
2577 * mach/lowlevellock.h (lll_lock): Likewise.
2578 (lll_trylock): Likewise.
2579 * math/test-fenv.c (ALL_EXC): Likewise.
2580 * math/test-fenvinline.c (ALL_EXC): Likewise.
2581 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
2582 * nis/nis_call.c (__do_niscall3): Likewise.
2583 * nis/nis_callback.c (cb_prog_1): Likewise.
2584 * nis/nis_defaults.c (searchaccess): Likewise.
2585 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2586 * nis/nis_ismember.c (internal_ismember): Likewise.
2587 * nis/nis_local_names.c (nis_local_principal): Likewise.
2588 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
2589 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
2590 Likewise.
2591 * nis/ypclnt.c (yp_match): Likewise.
2592 (yp_first): Likewise.
2593 (yp_next): Likewise.
2594 (yp_master): Likewise.
2595 (yp_order): Likewise.
2596 * nscd/hstcache.c (cache_addhst): Likewise.
2597 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2598 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
2599 (internal_getpwuid_r): Likewise.
2600 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
2601 * posix/glob.h (__GLOB_FLAGS): Likewise.
2602 * posix/regcomp.c (peek_token): Likewise.
2603 (peek_token_bracket): Likewise.
2604 (parse_expression): Likewise.
2605 * posix/regexec.c (sift_states_iter_mb): Likewise.
2606 (check_node_accept_bytes): Likewise.
2607 * posix/tst-spawn3.c (do_test): Likewise.
2608 * posix/wordexp-test.c (testit): Likewise.
2609 * posix/wordexp.c (parse_tilde): Likewise.
2610 (exec_comm): Likewise.
2611 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
2612 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
2613 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
2614 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
2615 * stdio-common/tst-fileno.c (do_test): Likewise.
2616 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
2617 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
2618 * stdlib/strtod_l.c (round_and_return): Likewise.
2619 (____STRTOF_INTERNAL): Likewise.
2620 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
2621 * string/strcspn.c (STRCSPN): Likewise.
2622 * string/test-memmem.c (simple_memmem): Likewise.
2623 * termios/tcsetattr.c (tcsetattr): Likewise.
2624 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
2625 * time/asctime.c (asctime_internal): Likewise.
2626 * time/strptime_l.c (__strptime_internal): Likewise.
2627 * time/sys/time.h (timercmp): Likewise.
2628 * time/tzfile.c (__tzfile_compute): Likewise.
2629
b0b50fe0
PF
26302019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
2631
b39d961c
TS
2632 [BZ #21915]
2633 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
b0b50fe0 2634
f43b8dd5
GG
26352019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2636
2637 * argp/argp-help.c (__argp_error_internal): New function,
2638 renamed from __argp_error, but that takes a 'mode_flags'
2639 parameter to control the format of long double parameters.
2640 (__argp_error): Converted into a call __argp_error_internal.
2641 (__argp_failure_internal): New function, renamed from
2642 __argp_failure, but that takes a 'mode_flags' parameter.
2643 (__argp_failure): Converted into a call __argp_failure_internal.
2644 * misc/err.c (__vwarnx_internal): New function, renamed from
2645 vwarnx, but that takes a 'mode_flags' parameter.
2646 (vwarnx): Converted into a call to __vwarnx_internal.
2647 (__vwarn_internal): New function, renamed from vwarn, but that
2648 takes a 'mode_flags' parameter.
2649 (vwarn): Converted into a call to __vwarn_internal.
2650 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
2651 call to __vfxprintf with 'mode_flags'.
2652 (__error_internal): New function, renamed from error, but that
2653 takes a 'mode_flags' parameter.
2654 (error): Converted into a call to __error_internal.
2655 (__error_at_line_internal): New function, renamed from
2656 error_at_line, but that takes a 'mode_flags' parameter.
2657 (error_at_line): Converted into a call to
2658 __error_at_line_internal.
2659 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
2660 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
2661 Likewise.
2662
dc0afac3 26632019-02-20 Martin Liska <mliska@suse.cz>
2664
2665 * math/Makefile: Install math-vector-fortran.h.
2666 * bits/math-vector-fortran.h: New file.
2667 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
2668
4a2dd41c
GG
26692019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2670
2671 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
2672 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
2673
04de9302
WS
26742019-02-19 Wolfram Sang <wsa@the-dreams.de>
2675
2676 * nptl/pthread_mutex_trylock.c: Fix comment.
2677
b026ce1e
CD
26782019-02-19 Carlos O'Donell <carlos@redhat.com>
2679
2680 * nptl/pthread_tryjoin.c: Fix comment.
2681
8c9289b6
JM
26822019-02-18 Joseph Myers <joseph@codesourcery.com>
2683
2684 [BZ #24231]
2685 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
2686 after R_SPARC_H34 case.
2687
308e022f
FW
26882019-02-18 Florian Weimer <fweimer@redhat.com>
2689
2690 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
2691 (getanswer): Do not call Dprintf.
2692 (res_gethostbyname2_context): Likewise.
2693 (res_gethostbyaddr_context): Likewise.
2694
a5406364
FW
26952019-02-18 Florian Weimer <fweimer@redhat.com>
2696
2697 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
2698 declaration.
2699 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
2700 Remove definitions.
2701 * libio/stdfiles.c: Update comment.
2702 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
2703 set _IO_stdin, _IO_stdout, _IO_stderr.
2704 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
2705 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
2706 inline function.
2707 (_IO_deallocate_file): New inline function.
2708 * libio/iolibio.h (_IO_vprintf): Remove definition.
2709 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
2710 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
2711 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
2712 _IO_legacy_file.
2713 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
2714 __builtin_expect. Use _IO_legacy_file.
2715
6c29942c
SL
27162019-02-18 Stefan Liebler <stli@linux.ibm.com>
2717
2718 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
2719 Initialize ctid with a known value and remove update of ctid
2720 after clone.
2721 (wait_tid): Adjust arguments and call futex_wait with ctid_val
2722 as assumed current value of ctid_ptr.
2723
225d9445 27242019-02-16 Florian Weimer <fweimer@redhat.com>
ad18dade
FW
2725
2726 Check that non-sysdeps headers have wrapper headers.
2727 * scripts/check-wrapper-headers.py: New file.
2728 * Makefile (tests-special): Add check-wrapper-headers.out.
2729 (check-wrapper-headers.out): New target.
2730 * Rules (tests-special): Add check-wrapper-headers.out.
2731 (check-wrapper-headers.out): New target.
2732
225d9445 27332019-02-16 Florian Weimer <fweimer@redhat.com>
ebd32784
FW
2734
2735 Add missing header wrappers under include/.
2736 * include/ar.h: New file.
2737 * include/bits/mqueue2.h: Likewise.
2738 * include/bits/stdio.h: Likewise.
2739 * include/bits/stdio2.h: Likewise.
2740 * include/fstab.h: Likewise.
2741 * include/fts.h: Likewise.
2742 * include/lastlog.h: Likewise.
2743 * include/netinet/icmp6.h: Likewise.
2744 * include/netinet/igmp.h: Likewise.
2745 * include/netinet/ip6.h: Likewise.
2746 * include/re_comp.h: Likewise.
2747 * include/regexp.h: Likewise.
2748 * include/rpcsvc/bootparam.h: Likewise.
2749 * include/rpcsvc/yp_prot.h: Likewise.
2750 * include/sys/random.h: Likewise.
2751 * include/sys/stropts.h: Likewise.
2752 * include/sys/ttychars.h: Likewise.
2753 * include/sys/vfs.h: Likewise.
2754 * include/wait.h: Likewise.
2755
225d9445 27562019-02-16 Florian Weimer <fweimer@redhat.com>
a198d37a
FW
2757
2758 * nptl_db/proc_service.h: Move to ...
2759 * sysdeps/nptl/proc_service.h: ... here.
2760 * nptl_db/thread_db.h: Move to ...
2761 * sysdeps/nptl/thread_db.h: ... here.
2762 * nptl/descr.h: Include <thread_db.h>.
2763
e442e40d
AZ
27642019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2765
2766 * io/Makefile (tests): Add tst-lockf.
2767 * io/lockf.c (lockf): Use __fcntl and only define for
2768 !__OFF_T_MATCHES_OFF64_T.
2769 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
2770 __OFF_T_MATCHES_OFF64_T case.
2771 * io/tst-lockf.c: New file.
2772 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
2773 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
2774 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
2775 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
2776 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
2777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
2778 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
2779 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
2780 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
2781
bc10e22c
FW
27822019-02-15 Florian Weimer <fweimer@redhat.com>
2783
2784 [BZ #24211]
2785 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
2786 pd->result after the thread descriptor has been freed.
2787
365f05c7
JM
27882019-02-15 Joseph Myers <joseph@codesourcery.com>
2789
8a11f970
JM
2790 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
2791 from function return type.
2792
365f05c7
JM
2793 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
2794
6b5c8607 27952019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
56a731d4
JK
2796
2797 * scripts/test_printers_common.py: Set TERM to a known harmless
2798 value.
2799
712182c8
JM
28002019-02-14 Joseph Myers <joseph@codesourcery.com>
2801
2802 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
2803 (xdr_u_int): Likewise.
2804 (xdr_enum): Likewise.
2805 (xdr_bytes): Reword fall-through comment.
2806 (xdr_string): Likewise.
2807
eb76e5b4
AZ
28082019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2809
2810 [BZ #2421]
2811 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
2812 (tests): Add tst-join8 tst-join9.
2813 * nptl/lll_timedwait_tid.c: Remove file.
2814 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
2815 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
2816 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
2817 * nptl/pthread_join_common.c (timedwait_tid): New function.
2818 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
2819 is set.
2820 * nptl/tst-join5.c (thread_join): New function.
2821 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
2822 check.
2823 * nptl/tst-join8.c: New file.
2824 * nptl/tst-join9.c: Likewise.
2825 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
2826 lll_futex_timed_wait_cancel): Add generic macros.
2827 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
2828 Remove definitions.
2829 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2830 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2831 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2832 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
2833 Remove function.
2834 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
2835 Likewise.
2836 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2837 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
2838 (lll_futex_timed_wait_cancel): New macro.
2839
3904fd85
WD
28402019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
2841
2842 * benchtests/Makefile: Add malloc-simple benchmark.
2843 * benchtests/bench-malloc-simple.c: New benchmark.
2844
24ca04fe
SP
28452019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
2846
2847 * benchtests/bench-memmove.c (do_one_test): Remove unused
2848 ORIG_SRC.
2849 (do_test): Adjust.
2850 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
2851 ORIG_SRC.
2852 (do_test): Adjust.
2853
85bd1ddb
JW
28542019-01-13 Jim Wilson <jimw@sifive.com>
2855
2856 [BZ #24040]
2857 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
2858 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
2859 (func): New.
2860 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
2861 call func directly.
2862 * nptl/Makefile (tests): Add tst-unwind-thread.
2863 (CFLAGS-tst-unwind-thread.c): Define.
2864 * nptl/tst-unwind-thread.c: New file.
2865 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
2866 as undefined.
2867
86140c62
JM
28682019-02-13 Joseph Myers <joseph@codesourcery.com>
2869
10756268
JM
2870 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
2871 comment wording.
2872 * nis/nis_call.c (__do_niscall3): Likewise.
2873
05383720
JM
2874 * catgets/gencat.c (normalize_line): Use braces around empty
2875 'else' body.
2876 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2877 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
2878 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
2879 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
2880 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
2881 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
2882 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
2883 definition.
2884
86140c62
JM
2885 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
2886 execlp returns.
2887
16f87cfd
WD
28882019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
2889
2890 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
2891 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
2892 * benchtests/bench-strchr.c (stupid_strchr): Remove.
2893 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
2894 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
2895 * benchtests/bench-strlen.c (builtin_strlen): Remove.
2896 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
2897 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
2898 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
2899 * benchtests/bench-strspn.c (stupid_strspn): Remove.
2900 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
2901 * benchtests/bench-bcopy.c: Delete file.
2902 * benchtests/bench-bzero.c: Likewise.
2903 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
2904 (simple_memccpy): Remove.
2905 (generic_memccpy): Add function.
2906 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
2907 * benchtests/bench-memmove.c (simple_bcopy): Remove.
2908 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
2909 (generic_mempcpy): Add new function.
2910 * benchtests/bench-memset.c (simple_bzero): Remove.
2911 (builtin_bzero): Remove.
2912 (builtin_memset): Remove.
2913 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
2914 (generic_rawmemchr): Add new function.
2915
0c6d82e9
FW
29162019-02-12 Florian Weimer <fweimer@redhat.com>
2917
2918 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
2919
b3fbfe81
AZ
29202019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2921
2922 [BZ #24122]
2923 * elf/Makefile (tests): Add tst-audit13.
2924 (modules-names): Add tst-audit13mod1.
2925 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
2926 rule.
2927 * elf/tst-audit13.c: New file.
2928 * elf/tst-audit13mod1.c: Likewise.
2929
3b856d09
FW
29302019-02-12 Florian Weimer <fweimer@redhat.com>
2931
2932 [BZ #24122]
2933 * elf/rtld.c (unload_audit_module): New function.
2934 (report_audit_module_load_error): Likewise.
2935 (load_audit_module): Likewise. Extracted from dl_main. Call
2936 _dl_close if the laversion symbol cannot be found. Use early
2937 returns for error handling. Add malloc error check. Check for a
2938 zero return value from la_version. Remove spurious comment about
2939 static TLS initialization. Remove useless casts.
2940 (notify_audit_modules_of_loaded_object): New function. Extracted
2941 from dl_main.
2942 (load_audit_module): Likewise.
2943 (dl_main): Call load_audit_modules.
2944
32db86d5
JM
29452019-02-12 Joseph Myers <joseph@codesourcery.com>
2946
2947 * elf/dl-exception.c (_dl_exception_create_format): Add
2948 fall-through comments.
2949 * elf/ldconfig.c (parse_conf_include): Likewise.
2950 * elf/rtld.c (print_statistics): Likewise.
2951 * locale/programs/charmap.c (parse_charmap): Likewise.
2952 * misc/mntent_r.c (__getmntent_r): Likewise.
2953 * posix/wordexp.c (parse_arith): Likewise.
2954 (parse_backtick): Likewise.
2955 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
2956 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
2957 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2958
a51bc4fe
PC
29592019-02-11 Paul A. Clarke <pc@us.ibm.com>
2960
2961 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
2962 Use float instead of double.
2963
fb25b135
TS
29642019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
2965
2966 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
2967
32ea7299
JM
29682019-02-08 Joseph Myers <joseph@codesourcery.com>
2969
2970 * sysdeps/powerpc/bits/mathinline.h: Remove.
2971
eef4d4f8
FW
29722019-02-08 Florian Weimer <fweimer@redhat.com>
2973
2974 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
2975 * math/bits/math-finite.h: Move to ...
2976 * bits/math-finite.h: ... here.
2977
fdfbd47d
FW
29782019-02-08 Florian Weimer <fweimer@redhat.com>
2979
2980 * sysdeps/generic/bits/unistd_ext.h: Move to ...
2981 * bits/unistd_ext.h: here.
2982
11eb21c4
PF
29832019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
2984
2985 [BZ #21915]
2986 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
2987 * nss/tst-nss-files-hosts-long.c: New file.
2988 * nss/tst-nss-files-hosts-long.root: New directory.
2989 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
2990 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
2991
e47d82c9
FW
29922019-02-08 Florian Weimer <fweimer@redhat.com>
2993
2994 * include/bits/unistd_ext.h: Remove file.
2995 * posix/bits/unistd_ext.h: Move to ...
2996 * sysdeps/generic/bits/unistd_ext.h: ... here.
2997
8f89ab21
FW
29982019-02-08 Florian Weimer <fweimer@redhat.com>
2999
3000 * include/bits/unistd_ext.h: New file.
3001
144a794e
TS
30022019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
3003
3004 * time/tst-strftime2.c: Use array_length macros instead of magic
3005 numbers.
3006
669ff911
FW
30072019-02-08 Florian Weimer <fweimer@redhat.com>
3008
3009 [BZ #24161]
3010 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
3011 argument.
3012 * nptl/register-atfork.c (__run_fork_handlers): Only perform
3013 locking if the new do_locking argument is true.
3014 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
3015 __run_fork_handlers.
3016
d0bd87d4 30172019-02-08 Florian Weimer <fweimer@redhat.com>
1d0fc213
FW
3018
3019 [BZ #6399]
3020 Linux: Add gettid system call wrapper.
3021 * posix/Makefile (headers): Add bits/unistd_ext.h.
3022 * posix/bits/unistd_ext.h: New file.
3023 * posix/unistd.h: Include it.
3024 * manual/process.texi (Process Identification): Document gettid.
3025 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
3026 tst-gettid, tst-gettid-kill.
3027 (tst-gettid): Link with $(shared-thread-library).
3028 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
3029 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
3030 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
3031 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
3032 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
3033 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
3034 Add gettid.
3035 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
3036 Likewise.
3037 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
3038 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
3039 Likewise.
3040 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
3041 Likewise.
3042 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
3043 Likewise.
3044 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
3045 Likewise.
3046 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
3047 Likewise.
3048 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
3049 Likewise.
3050 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
3051 Likewise.
3052 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3053 (GLIBC_2.30): Likewise.
3054 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3055 (GLIBC_2.30): Likewise.
3056 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3057 (GLIBC_2.30): Likewise.
3058 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3059 (GLIBC_2.30): Likewise.
3060 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
3061 Likewise.
3062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3063 (GLIBC_2.30): Likewise.
3064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3065 (GLIBC_2.30): Likewise.
3066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
3067 (GLIBC_2.30): Likewise.
3068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
3069 (GLIBC_2.30): Likewise.
3070 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
3071 Likewise.
3072 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
3073 Likewise.
3074 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
3075 Likewise.
3076 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
3077 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
3078 Likewise.
3079 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
3080 Likewise.
3081 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
3082 Likewise.
3083 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
3084 Likewise.
3085 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
3086
225d9445 30872019-02-08 Florian Weimer <fweimer@redhat.com>
f289e656
FW
3088
3089 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
3090 compatibility symbols.
3091
823624bd
SL
30922019-02-07 Stefan Liebler <stli@linux.ibm.com>
3093
3094 [BZ #24180]
3095 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3096 Add compiler barriers and comments.
3097
8311c83f
FW
30982019-02-07 Florian Weimer <fweimer@redhat.com>
3099
3100 * include/array_length.h (array_length): Do not use a statement
3101 expression and _Static_assert, so that array_length can be used at
3102 file scope and as a constant expression.
3103
94b63e66
FW
31042019-02-07 Florian Weimer <fweimer@redhat.com>
3105
3106 * support/xdlfcn.h (xdlmopen): Declare.
3107 * support/xdlmopen.c: New file.
3108 * support/Makefile (libsupport-routines): Add xdlmopen.
3109
c2d8f0b7
JM
31102019-02-06 Joseph Myers <joseph@codesourcery.com>
3111
3112 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
3113 before return type, without separate inline.
3114 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
3115 * elf/dl-tunables.h (tunable_is_name): Likewise.
3116 * malloc/malloc.c (do_set_trim_threshold): Likewise.
3117 (do_set_top_pad): Likewise.
3118 (do_set_mmap_threshold): Likewise.
3119 (do_set_mmaps_max): Likewise.
3120 (do_set_mallopt_check): Likewise.
3121 (do_set_perturb_byte): Likewise.
3122 (do_set_arena_test): Likewise.
3123 (do_set_arena_max): Likewise.
3124 (do_set_tcache_max): Likewise.
3125 (do_set_tcache_count): Likewise.
3126 (do_set_tcache_unsorted_limit): Likewise.
3127 * nis/nis_subr.c (count_dots): Likewise.
3128 * nptl/allocatestack.c (advise_stack_range): Likewise.
3129 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
3130 (do_sin): Likewise.
3131 (reduce_sincos): Likewise.
3132 (do_sincos): Likewise.
3133 * sysdeps/unix/sysv/linux/x86/elision-conf.c
3134 (do_set_elision_enable): Likewise.
3135 (TUNABLE_CALLBACK_FNDECL): Likewise.
3136
3b935595
FW
31372019-02-06 Florian Weimer <fweimer@redhat.com>
3138
3139 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
3140 (xdlsym): Use dlerror to detect a NULL symbol.
3141
b4333340
FW
31422019-02-06 Florian Weimer <fweimer@redhat.com>
3143
3144 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
3145 <stap-probe.h>.
3146 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3147
b6d8a999
SL
31482019-02-06 Stefan Liebler <stli@linux.ibm.com>
3149
3150 * libio/tst-bz24153.c (wide): Use wide char format specifier.
3151
94eeeec0
SL
31522019-02-06 Stefan Liebler <stli@linux.ibm.com>
3153
3154 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
3155 __wmemcmp and weak alias to wmemcmp.
3156
bc79db3f
SL
31572019-02-06 Stefan Liebler <stli@linux.ibm.com>
3158
3159 [BZ #23403]
3160 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
3161 TLS_TCB_AT_TP tls variant.
3162 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
3163 Add alignment checks.
3164 * support/Makefile (libsupport-routines): Add xposix_memalign and
3165 xpthread_setstack.
3166 * support/support.h: Add xposix_memalign.
3167 * support/xthread.h: Add xpthread_attr_setstack.
3168 * support/xposix_memalign.c: New File.
3169 * support/xpthread_attr_setstack.c: Likewise.
3170
f1ac7455
FW
31712019-02-05 Florian Weimer <fweimer@redhat.com>
3172
3173 [BZ #24164]
3174 arm: Use "nr" constraint for Systemtap probes, to avoid the
3175 compiler using memory operands for constants, due to the "o"
3176 alternative in the default "nor" constraint.
3177 * include/stap-probe.h [USE_STAP_PROBE]: Include
3178 <stap-probe-machine.h>
3179 * sysdeps/generic/stap-probe-machine.h: New file.
3180 * sysdeps/arm/stap-probe-machine.h: Likewise.
3181
7a0dcfc6
JM
31822019-02-04 Joseph Myers <joseph@codesourcery.com>
3183
77dc0d86
JM
3184 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
3185 with 0, not tcache->entries[tc_idx].
3186
7a0dcfc6
JM
3187 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
3188 once.
3189
65f7767a
AS
31902019-02-04 Andreas Schwab <schwab@suse.de>
3191
3192 [BZ #16976]
3193 [BZ #17396]
3194 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
3195 looking up collating elements match against (wide) character
3196 sequence instead of name. Correct alignment adjustment.
3197 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
3198 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
3199 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
3200 (LOCALES): Add cs_CZ.ISO-8859-2.
3201 * posix/tst-fnmatch4.c: New file.
3202 * posix/tst-fnmatch5.c: New file.
3203 * include/wchar.h (__wmemcmp): Declare.
3204 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
3205 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
3206 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
3207 * sysdeps/s390/wmemcmp.c: Likewise.
3208
3f635fb4
L
32092019-02-04 H.J. Lu <hongjiu.lu@intel.com>
3210
3211 [BZ #24155]
3212 CVE-2019-7309
3213 * NEWS: Updated for CVE-2019-7309.
3214 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
3215 upper 32 bits of RDX register for x32. Use unsigned Jcc
3216 instructions, instead of signed.
3217 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
3218 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
3219
2ab5741b
FW
32202019-02-04 Florian Weimer <fweimer@redhat.com>
3221
3222 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
3223 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
3224 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
3225 Likewise.
3226 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
3227 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
3228 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
3229 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
3230 Likewise.
3231 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
3232 Likewise.
3233 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
3234 Likewise.
3235 (posix_spawn_file_actions_addopen): Likewise.
3236 (posix_spawn_file_actions_addclose): Likewise.
3237 (posix_spawn_file_actions_adddup2): Likewise.
3238 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
3239 qualifiers.
3240 (posix_spawn_file_actions_addfchdir_np): Likewise.
3241
8692ebdb
DN
32422019-02-04 David Newall <glibc@davidnewall.com>
3243
3244 elf: Implement --preload option for the dynamic linker.
3245 * elf/rtld.c (preloadarg): New variable.
3246 (handle_preload_list): Pass through “where” argument to
3247 do_preload.
3248 (dl_main): Handle "--preload" and add second call to
3249 handle_preload_list.
3250 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
3251 (tst-rtld-preload-OBJS): Set variable.
3252 (tst-rtld-preload.out): New target.
3253 * elf/tst-rtld-preload.sh: New file.
3254
5e10136b
MM
32552019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
3256
3257 * Makefile (testrun.sh): Exit in case of incorrect argument.
3258
221baae0
FW
32592019-02-04 Florian Weimer <fweimer@redhat.com>
3260
3261 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
3262 alignment gaps.
3263
b8c72381
FW
32642019-02-03 Florian Weimer <fweimer@redhat.com>
3265
3266 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
3267 implicit overflow checks.
3268
11f382ee
AJ
32692019-02-03 Aurelien Jarno <aurelien@aurel32.net>
3270
3271 * stdlib/isomac.c: Include <unistd.h>.
3272
77c7d55e
FW
32732019-02-03 Florian Weimer <fweimer@redhat.com>
3274
3275 * include/time.h (__tzfile_default): Use int, not long int, for
3276 the GMT offsets.
3277 * time/tzfile.c (struct ttinfo): Change type of the offset member
3278 to int.
3279 (__tzfile_read): Remove useless cast.
3280 (__tzfile_default): Adjust prototype.
3281 * time/tzset.c (tz_rule): Change type of the offset member to int.
3282 (parse_offset): Change the type of the sign variable to int.
3283
ee9941f9
FW
32842019-02-03 Florian Weimer <fweimer@redhat.com>
3285
3286 [BZ #24153]
3287 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
3288 * libio/getchar.c (getchar): Likewise.
3289 * libio/getchar_u.c (getchar_unlocked): Likewise.
3290 * libio/getwchar.c (getwchar): Likewise.
3291 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3292 * libio/iogets.c (_IO_gets): Likewise.
3293 * libio/vscanf.c (_IO_vscanf): Likewise.
3294 * libio/vwscanf.c (__vwscanf): Likewise.
3295 * libio/tst-bz24153.c: New file.
3296 * libio/Makefile (tests): Add it.
3297
c70824b9
FW
32982019-02-02 Florian Weimer <fweimer@redhat.com>
3299
3300 [BZ #14829]
3301 * manual/resource.texi (Basic Scheduling Functions): Add
3302 portability note. Change process to task throughout the section.
3303 Remove incorrect comment about sched_yield as it affects
3304 tasks/threads, not entire processes.
3305 * sysdeps/unix/sysv/linux/bits/posix_opt.h
3306 (_POSIX_PRIORITY_SCHEDULING): Update comment.
3307
4dcbbc3b
JM
33082019-02-01 Joseph Myers <joseph@codesourcery.com>
3309
3310 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
3311 * configure: Regenerated.
3312 * manual/install.texi (Tools for Compilation): Update minimum GCC
3313 version.
3314 * INSTALL: Regenerated.
3315
6175507c
FW
33162019-02-01 Florian Weimer <fweimer@redhat.com>
3317
3318 * support/support_test_compare_string.c
3319 (support_test_compare_string): Use "string" in error message.
3320 * support/tst-test_compare_string.c (do_test): Adjust.
3321
baef1943
FW
33222019-02-01 Florian Weimer <fweimer@redhat.com>
3323
3324 * support/support_format_address_family.c
3325 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
3326
395599f0
FW
33272019-02-01 Florian Weimer <fweimer@redhat.com>
3328
3329 * manual/socket.texi (Internet Address Formats): Clarify the byte
3330 order of struct sockaddr_in, struct sockaddr_in6. Document
3331 sin6_flowinfo and sin6_scope_id.
3332
b06f4c00
WD
33332019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
3334
3335 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
3336 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
3337 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
3338 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
3339 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
3340 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
3341
83d1cc42
FX
33422019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3343
3344 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
3345 [!MEMCHR](MEMCHR): Set to __memchr.
3346 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
3347 Add memchr_generic and memchr_nosimd.
3348 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
3349 (__libc_ifunc_impl_list): Add memchr ifuncs.
3350 * sysdeps/aarch64/multiarch/memchr.c: New file.
3351 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
3352 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
3353
c7d3890f
FX
33542019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3355
3356 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
3357 Add memset_emag.
3358 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
3359 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
3360 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
3361 Add IS_EMAG check for ifunc dispatch.
3362 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
3363 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
3364
07c3d1ec
FX
33652019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3366
3367 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
3368 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3369 Add emag.
3370 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
3371 New macro.
3372
114f792e
SL
33732019-02-01 Stefan Liebler <stli@linux.ibm.com>
3374
3375 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
3376
d5627550
VG
33772019-01-31 Vineet Gupta <vgupta@synopsys.com>
3378
3379 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
3380 syscall-template file.
3381
5fc9ed4c
CD
33822019-01-31 Carlos O'Donell <carlos@redhat.com>
3383 Torvald Riegel <triegel@redhat.com>
3384 Rik Prohaska <prohaska7@gmail.com>
3385
3386 [BZ# 23844]
3387 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
3388 tst-rwlock-trywrlock-stall.
3389 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3390 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
3391 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
3392 Set __wrphase_fute to 1 only if we started the write phase.
3393 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
3394 * nptl/tst-rwlock-trywrlock-stall.c: New file.
3395 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
3396 * support/xpthread_rwlock_destroy.c: New file.
3397 * support/xthread.h: Declare xpthread_rwlock_destroy.
3398
932329a5
JM
33992019-02-01 Joseph Myers <joseph@codesourcery.com>
3400
3401 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
3402 version to 4.0.2.
3403
5f10701f
PP
34042019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3405
3406 [BZ #24051]
3407 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
3408 * libio/fileops.c (_IO_new_file_underflow): Likewise
3409 * libio/wfileops.c (_IO_wfile_underflow): Likewise
3410 * libio/putchar.c (putchar): Likewise.
3411 * libio/putchar_u.c (putchar_unlocked): Likewise.
3412 * libio/putwchar.c (putchar): Likewise.
3413 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
3414 * libio/tst-bz24051.c: New test.
3415 * libio/Makefile (tests): Add tst-bz24051
3416
583dd860
PE
34172019-01-31 Paul Eggert <eggert@cs.ucla.edu>
3418
b626c5aa 3419 CVE-2019-9169
583dd860
PE
3420 regex: fix read overrun [BZ #24114]
3421 Problem found by AddressSanitizer, reported by Hongxu Chen in:
3422 https://debbugs.gnu.org/34140
3423 * posix/regexec.c (proceed_next_node):
3424 Do not read past end of input buffer.
3425
2bac7daa
FW
34262019-01-31 Florian Weimer <fweimer@redhat.com>
3427
3428 [BZ #24059]
3429 * nss/nss_files/files-alias.c (get_next_alias): Handle
3430 continuation line without newline at the end.
3431 * nss/tst-nss-files-alias-truncated.c: New file.
3432 * nss/Makefile [$(build-shared)] (tests): Add
3433 tst-nss-files-alias-truncated.
3434 (tst-nss-files-alias-truncated): Link with libnss_files.so.
3435 * support/namespace.h (struct support_chroot_configuration): Add
3436 aliases member.
3437 (struct support_chroot): Add path_aliases member.
3438 * support/support_chroot.c (support_chroot_create): Handle
3439 aliases.
3440 (support_chroot_free): Free path_aliases.
3441
330c9d0d
SP
34422019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
3443
de44ab67
SP
3444 * version.h (RELEASE): Set to "development".
3445 (VERSION): Set to "2.29.9000".
3446 * NEWS: Add section for 2.30.
3447
56c86f5d
SP
3448 * version.h (RELEASE): Set to "stable".
3449 (VERSION): Set to "2.29".
3450 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
3451
330c9d0d
SP
3452 * NEWS: Add the list of bugs fixed in 2.29.
3453 * manual/contrib.texi: Update contributors list with some more
3454 names.
3455 * manual/install.texi: Update latest versions of packages
3456 tested.
3457 * INSTALL: Regenerated.
3458
e1e47c91
SP
34592019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
3460
3461 * po/be.po: Update translations.
3462 * po/bg.po: Likewise.
3463 * po/ca.po: Likewise.
3464 * po/cs.po: Likewise.
3465 * po/da.po: Likewise.
3466 * po/de.po: Likewise.
3467 * po/el.po: Likewise.
3468 * po/eo.po: Likewise.
3469 * po/es.po: Likewise.
3470 * po/fi.po: Likewise.
3471 * po/fr.po: Likewise.
3472 * po/gl.po: Likewise.
3473 * po/hr.po: Likewise.
3474 * po/hu.po: Likewise.
3475 * po/ia.po: Likewise.
3476 * po/id.po: Likewise.
3477 * po/it.po: Likewise.
3478 * po/ja.po: Likewise.
3479 * po/ko.po: Likewise.
3480 * po/lt.po: Likewise.
3481 * po/nb.po: Likewise.
3482 * po/nl.po: Likewise.
3483 * po/pl.po: Likewise.
3484 * po/pt_BR.po: Likewise.
3485 * po/ru.po: Likewise.
3486 * po/rw.po: Likewise.
3487 * po/sk.po: Likewise.
3488 * po/sl.po: Likewise.
3489 * po/sv.po: Likewise.
3490 * po/tr.po: Likewise.
3491 * po/uk.po: Likewise.
3492 * po/vi.po: Likewise.
3493 * po/zh_CN.po: Likewise.
3494 * po/zh_TW.po: Likewise.
3495
8d016826
UB
34962019-01-24 Uroš Bizjak <ubizjak@gmail.com>
3497
3498 [BZ #24130]
3499 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
3500 of $f3 register on $y_is_neg path.
3501
a0bb5abd
ST
35022019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
3503
b96e22d0 3504 [BZ #24110]
a0bb5abd
ST
3505 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
3506 sigaltstack.ss_flags.
3507
b22eed37
TS
35082019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
3509
3510 [BZ #23758]
3511 * manual/time.texi (strftime): Document "%Ey".
3512 * time/strftime_l.c (__strftime_internal): Set the default width
3513 padding with zero of "%Ey" to 2.
3514
32f600a2
TS
3515 [BZ #24096]
3516 * manual/time.texi (strftime): Document "%EC" and "%EY".
3517 * time/Makefile (tests): Add tst-strftime2.
3518 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
3519 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
3520 override padding for "%Ey".
3521 If an optional flag ('_' or '-') is specified to "%EY", interpret the
3522 "%Ey" in the subformat as if decorated with that flag.
3523 * time/tst-strftime2.c: New file.
3524
8e889c5d
AZ
35252019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3526
3367acdb
AZ
3527 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
3528 are not defined.
3529
8e889c5d
AZ
3530 [BZ #24122]
3531 * elf/Makefile (tests): Add tst-audit13.
3532 (modules-names): Add tst-audit13mod1.
3533 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
3534 rule.
3535 * elf/rtld.c (dl_main): Handle invalid audit module version.
3536 * elf/tst-audit13.c: New file.
3537 * elf/tst-audit13mod1.c: Likewise.
3538
a95dc01c
ST
35392019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
3540
3541 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
3542 returned by __hurd_at_flags.
ee4d7902
ST
3543 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
3544 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
3545 directly instead of __hurd_file_name_lookup.
a95dc01c 3546
712f1167
JM
35472019-01-21 Joseph Myers <joseph@codesourcery.com>
3548
3549 * scripts/build-many-glibcs.py (Context.checkout): Default
3550 binutils version to 2.32 branch.
3551
108bc404
FW
35522019-01-21 Florian Weimer <fweimer@redhat.com>
3553
3554 [BZ #20018]
3555 CVE-2016-10739
3556 resolv: Reject trailing characters in host names
3557 * include/arpa/inet.h (__inet_aton_exact): Declare.
3558 (inet_aton): Remove hidden prototype. No longer used internally.
3559 * nscd/gai.c (__inet_aton): Do not define.
3560 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
3561 * nss/digits_dots.c (__inet_aton): Likewise.
3562 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
3563 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
3564 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
3565 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
3566 (tst-resolv-trailing): Likewise.
3567 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
3568 libc.
3569 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
3570 Make static. Add endp parameter.
3571 (__inet_aton_exact): New function.
3572 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
3573 (__inet_addr): Call inet_aton_end.
3574 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
3575 not just IPv6. Call __inet_aton_exact.
3576 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
3577 (tests): Make const. Add additional test cases with trailing
3578 characters.
3579 (do_test): Use array_length.
3580 * resolv/tst-inet_aton_exact.c: New file.
3581 * resolv/tst-resolv-trailing.c: Likewise.
3582 * resolv/tst-resolv-nondecimal.c: Likewise.
3583 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
3584
5165de69
L
35852019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3586
3587 [BZ# 24097]
3588 CVE-2019-6488
3589 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
3590 Clear the upper 32 bits of RSI register.
3591 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
3592 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
3593 and tst-size_t-wcsnlen.
3594 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
3595 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
3596
c7c54f65
L
35972019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3598
3599 [BZ# 24097]
3600 CVE-2019-6488
3601 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
3602 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3603 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3604 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
3605 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
3606
ee915088
L
36072019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3608
3609 [BZ# 24097]
3610 CVE-2019-6488
3611 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
3612 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3613 * sysdeps/x86_64/strcmp.S: Likewise.
3614 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
3615 tst-size_t-strncmp and tst-size_t-wcsncmp.
3616 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
3617 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
3618 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
3619
82d0b4a4
L
36202019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3621
3622 [BZ# 24097]
3623 CVE-2019-6488
3624 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
3625 RDX_LP for length. Clear the upper 32 bits of RDX register.
3626 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
3627 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
3628 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
3629 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
3630
ecd8b842
L
36312019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3632
3633 [BZ# 24097]
3634 CVE-2019-6488
3635 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
3636 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
3637 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
3638 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
3639
231c5676
L
36402019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3641
3642 [BZ# 24097]
3643 CVE-2019-6488
3644 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
3645 length. Clear the upper 32 bits of RDX register.
3646 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3647 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
3648 Likewise.
3649 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
3650 Likewise.
3651 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
3652 tst-size_t-wmemchr.
3653 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
3654
b304fc20
L
36552019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3656
3657 [BZ# 24097]
3658 CVE-2019-6488
3659 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
3660 length. Clear the upper 32 bits of RDX register.
3661 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3662 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3663 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
3664 tst-size_t-wmemcmp.
3665 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
3666 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
3667
97700a34
L
36682019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3669
3670 [BZ# 24097]
3671 CVE-2019-6488
3672 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
3673 upper 32 bits of RDX register.
3674 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
3675 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
3676 tst-size_t-wmemchr.
3677 * sysdeps/x86_64/x32/test-size_t.h: New file.
3678 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
3679 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
3680
6ca53a24
FW
36812019-01-18 Florian Weimer <fweimer@redhat.com>
3682
3683 [BZ #24112]
3684 resolv: Do not send queries for non-host-names in nss_dns.
3685 * resolv/nss_dns/dns-host.c (check_name): New function.
3686 (_nss_dns_gethostbyname2_r): Use it.
3687 (_nss_dns_gethostbyname_r): Likewise.
3688 (_nss_dns_gethostbyname4_r): Likewise.
3689
5e30b8ef
FW
36902019-01-21 Florian Weimer <fweimer@redhat.com>
3691
3692 * resolv/inet_addr.c: Reformat to GNU style.
3693 (__inet_addr, __inet_aton): Update comment.
3694
71effcea
FW
36952019-01-18 Florian Weimer <fweimer@redhat.com>
3696
3697 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
3698 ("malloc: Use current (C11-style) atomics for fastbin access").
3699 This commit introduces a substantial performance regression on
3700 POWER and Aarch64.
3701 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
3702 (REMOVE_FB): Define.
3703 (_int_malloc): Use it and reindent.
3704 (_int_free): Use CAS loop with
3705 catomic_compare_and_exchange_val_rel.
3706 (malloc_consolidate): Use atomic_exchange_acq.
3707
3708
562f4362
L
37092019-01-18 H.J. Lu <hongjiu.lu@intel.com>
3710
3711 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
3712 -Wl,-z,now.
3713 (LDFLAGS-tst-minsigstksz-2): Likewise.
3714 (LDFLAGS-tst-minsigstksz-3): Likewise.
3715 (LDFLAGS-tst-minsigstksz-3a): Likewise.
3716 (LDFLAGS-tst-minsigstksz-4): Likewise.
3717
80dfa298
TS
37182019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
3719
3720 * manual/time.texi (strftime): Fix the wording to "alternative" rather
3721 than "alternate".
3722
008b598e
PC
37232019-01-16 Paul A. Clarke <pc@us.ibm.com>
3724
3725 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
3726
fbbc9a4e
ZW
37272019-01-16 Zack Weinberg <zackw@panix.com>
3728
6b5c8607
TS
3729 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
3730 (xget_sigstack_location): New test support functions.
3731 * support/xsigstack.c: New file, implementing them.
3732 * support/tst-xsigstack.c: New test for them.
3733 * support/Makefile: Update.
fbbc9a4e 3734
6b5c8607
TS
3735 * signal/tst-minsigstksz-1.c
3736 * signal/tst-minsigstksz-2.c
3737 * signal/tst-minsigstksz-3.c
3738 * signal/tst-minsigstksz-3a.c
3739 * signal/tst-minsigstksz-4.c: New tests.
3740 * signal/Makefile: Run them.
fbbc9a4e 3741
5f1135e4
SP
37422019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
3743
3744 * po/libc.pot: Regenerate.
3745
ecdacd34
TMQMF
37462019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3747
3748 * math/libm-test-fma.inc (fma_test_data): Set
3749 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
3750
56054664
RA
37512019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
3752
3753 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
3754 (do_test): Changed __vector __int128_t to __vector unsigned int.
3755
1a153e47
LS
37562019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3757
3758 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3759 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
3760 stpcpy-avx2 and stpncpy-avx2.
3761 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
3762 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
3763 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
3764 and __stpncpy_avx2.
3765 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
3766 ifunc-strcpy.h}: rename header for a more generic name.
3767 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
3768 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
3769 AVX unaligned load is fast and vzeroupper is preferred.
3770 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
3771 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
3772 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
3773 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
3774 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
3775 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
3776
a1b02ae7
DL
37772019-01-12 Dmitry V. Levin <ldv@altlinux.org>
3778
3779 * argp/argp-help.c: Fix typo in comment.
3780 * misc/sys/cdefs.h: Likewise.
3781 * posix/regexec.c (sift_states_iter_mb): Likewise.
3782 * socket/sockatmark.c: Likewise.
3783 * socket/sys/socket.h: Likewise.
3784 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
3785 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
3786 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
3787 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3788 * sysdeps/unix/sockatmark.c: Likewise.
3789 * time/strptime_l.c: Likewise.
3790
5cbbf01e
TS
37912019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
3792
3793 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
3794 missing space after the cast of "_NL_CURRENT".
3795
0bc9bdf1
RA
37962019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
3797
3798 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
3799 ifdef to fix read of VSCR.
3800 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
3801 tst-ucontext-ppc64-vscr.c to test list.
3802 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
3803
5494af04
AH
38042019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
3805
3806 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
3807 fall-through.
3808
e17f63ff
JW
38092019-01-09 Jim Wilson <jimw@sifive.com>
3810
3811 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
3812
02f440c1
WD
38132019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
3814
3815 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
3816 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
3817 __memcpy_falkor for ares.
3818 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
3819 Add new define.
3820 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3821 Add ares cpu.
3822
69da3c9e
L
38232019-01-07 H.J. Lu <hongjiu.lu@intel.com>
3824
3825 [BZ #24066]
3826 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
3827 4_FP_W_TYPEs are used for IEEE quad precision.
3828 * soft-fp/extendhftf2.c: Likewise.
3829 * soft-fp/extendsftf2.c: Likewise.
3830 * soft-fp/extendxftf2.c: Likewise.
3831 * soft-fp/trunctfdf2.c: Likewise.
3832 * soft-fp/trunctfhf2.c: Likewise.
3833 * soft-fp/trunctfsf2.c: Likewise.
3834 * soft-fp/trunctfxf2.c: Likewise.
3835 * sysdeps/alpha/ots_cvttx.c: Likewise.
3836 * sysdeps/alpha/ots_cvtxt.c: Likewise.
3837 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
3838 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
3839 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
3840 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
3841 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
3842 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
3843 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
3844 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
3845 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
3846 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
3847 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
3848 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
3849 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
3850 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
3851 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
3852 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
3853
2ef42716
AJ
38542019-01-07 Aurelien Jarno <aurelien@aurel32.net>
3855
3856 [BZ #24024]
3857 * Makeconfig: Build libm with -fno-math-errno but build the remaining
3858 code with -fmath-errno.
3859 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
3860 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
3861 * string/test-strerror-errno.c: New file.
3862
7395f3a0
AJ
38632019-01-07 Aurelien Jarno <aurelien@aurel32.net>
3864
3865 [BZ #24046]
3866 * localedata/locales/en_US (date_fmt): Add, set to
3867 "%a %d %b %Y %r %Z".
3868
010fe231
FW
38692019-01-07 Florian Weimer <fweimer@redhat.com>
3870
3871 [BZ #24063]
3872 * manual/arith.texi (Math Error Reporting): Use @code{errno}
3873 instead of @var{errno}.
3874 (Parsing of Integers): Likewise.
3875 (Parsing of Floats): Likewise.
3876 * manual/filesys.texi (Working with Directory Trees): Likewise.
3877 (Temporary Files): Likewise.
3878 * manual/job.texi (Terminal Access Functions): Likewise.
3879 * manual/llio.texi (Synchronizing I/O): Likewise.
3880 * manual/math.texi (SVID Random): Likewise.
3881 * manual/message.texi (The catgets Functions): Likewise.
3882 (Translation with gettext): Likewise.
3883 (Locating gettext catalog): Likewise.
3884 (Charset conversion in gettext): Likewise.
3885 * manual/nss.texi (NSS Module Function Internals): Likewise.
3886 * manual/search.texi (Hash Search Function): Likewise.
3887 * manual/setjmp.texi (System V contexts): Likewise.
3888 * manual/time.texi (Sleeping): Likewise.
3889 * manual/users.texi (Lookup User): Likewise.
3890 (Lookup Group): Likewise.
3891
b79dc8d0
AZ
38922019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3893
3894 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
3895 fix typo.
3896
890461fe 38972019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
27c5e756
MJ
3898
3899 [BZ #19444]
3900 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
3901 __builtin_unreachable for default case in switch.
3902 (__ieee754_yn): Likewise.
3903 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3904 (__ieee754_ynl): Likewise.
3905 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3906 (__ieee754_ynl): Likewise.
3907 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3908 (__ieee754_ynl): Likewise.
3909
8b18d418
SN
39102019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
3911
3912 * manual/maint.texi: Use @{ and @}.
3913
4392898d
FW
39142019-01-04 Florian Weimer <fweimer@redhat.com>
3915
3916 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
3917 function.
3918 (do_in_chroot_1): Call it.
3919 (run_chroot_tests):
3920 Improve error reporting in case it is not possible to create a
3921 collision for the PTY name required by the test.
3922
17cc27d5
AZ
39232019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3924
ce7eb0e9
AZ
3925 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
3926 lll_wait_tid with timeout.
3927 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
3928 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
3929 futex_reltimed_wait_cancelable for cancelabla mode.
3930 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
3931 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
3932 macros.
3933 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
3934 * sysdeps/posix/waitid.c (__sigwait): Likewise.
3935 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
3936 SYSCALL_CANCEL_NCS): New macro.
3937 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
3938 (lll_timedwait_tid): Remove macro.
3939 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
3940 Likewise.
3941 (lll_timedwait_tid): Likewise.
3942 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
3943 Likewise.
3944 (lll_timedwait_tid): Likewise.
3945 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
3946 Likewise.
3947 (lll_timedwait_tid): Likewise.
3948 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
3949 Use INTERNAL_SYSCALL_CANCEL.
3950 * sysdeps/unix/sysv/linux/futex-internal.h
3951 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
3952 instead of __pthread_{enable,disable}_asynccancel.
3953 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
3954 (lll_futex_wait_cancel): New macro.
3955
0b13e255
AZ
3956 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
3957 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
3958
85c828a4
AZ
3959 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
3960 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
3961
d0d7f85f
AZ
3962 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
3963 in backtrace analysis.
3964 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
3965 side-effects.
3966 (tf_send): Likewise.
3967
17cc27d5
AZ
3968 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
3969 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
3970 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
3971 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
3972 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
3973 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
3974 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
3975 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
3976 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
3977 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
3978 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
3979 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
3980 Likewise.
3981 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
3982 tst-cancel-wrappers.sh.
3983 (generated): Remove tst-cancel-wrappers.out.
3984 (tst-cancel-wrappers.out): Remove rule.
3985 * nptl/tst-cancel-wrappers.sh: Remove file.
3986
7d7af8f1
SN
39872019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
3988
3989 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
3990 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
3991 Update.
3992
805334b2
AZ
39932019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3994
3995 [BZ #23640]
3996 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
3997 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
3998 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
3999 close-on-exec reset for adddup2 file action.
4000 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
4001
03992356
ZW
40022019-01-03 Zack Weinberg <zackw@panix.com>
4003
4004 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
4005 parameter. Only use deprecated scanf when __USE_GNU is defined
4006 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
4007 than 201103L, whichever is relevant for the language being compiled.
4008
4009 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
4010 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
4011 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
4012 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
4013 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
4014
4015 * libio/iovsscanf.c
4016 * libio/fwscanf.c
4017 * libio/iovswscanf.c
4018 * libio/swscanf.c
4019 * libio/vscanf.c
4020 * libio/vwscanf.c
4021 * libio/wscanf.c
4022 * stdio-common/fscanf.c
4023 * stdio-common/scanf.c
4024 * stdio-common/vfscanf.c
4025 * stdio-common/vfwscanf.c
4026 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4027 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
4028 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
4029 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
4030 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
4031 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
4032 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
4033 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
4034 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
4035 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
4036 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
4037 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
4038 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
4039 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
4040 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
4041
4042 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
4043 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
4044 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
4045 not sscanf.
4046 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
4047 with a preprocessor macro.
4048
4049 * stdio-common/bug21.c, stdio-common/scanf14.c:
4050 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
4051 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
4052 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
4053 to xscanf, xfscanf, xsscanf.
4054
4055 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
4056 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
4057 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
4058 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
4059 xfscanf, xsscanf.
4060 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
4061 override feature selection macros or provide definitions of u_char etc.
4062 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
4063 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
4064 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
4065 with -std=gnu89.
4066
8083afa5
AZ
40672019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4068
6f343c1f
AZ
4069 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4070 bits/termios-misc.h.
4071 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
4072 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4073 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4074 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4075 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
4076 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
4077
51f4beb0
AZ
4078 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
4079 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
4080 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
4081 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
4082 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
4083 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
4084 termios-misc.h.
4085 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
4086 (sysdep_headers): Add termios-misc.h.
4087
f69c5cb2
AZ
4088 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
4089 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4090 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4091
3aa4a07e
AZ
4092 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4093 termios-tcflow.h.
4094 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
4095 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
4096 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
4097 TCSAFLUSH): Move to termios-tcflow.h.
4098 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4099 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4100 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4101 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4102
22679ddf
AZ
4103 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4104 termios-c_lflag.h.
4105 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
4106 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
4107 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
4108 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
4109 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
4110 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
4111 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
4112 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
4113 Likewise.
4114 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4115 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4116 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4117 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4118
72eb6ecc
AZ
4119 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4120 termios-c_cflag.h.
4121 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
4122 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
4123 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
4124 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
4125 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
4126 termios-c_cflag.h.
4127 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4128 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4129 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4130 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4131
9c5d0d02
AZ
4132 [BZ #23783]
4133 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4134 termios-baud.h.
4135 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
4136 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
4137 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
4138 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
4139 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
4140 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
4141 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
4142 __MAX_BAUD): Move to termios-baud.h.
4143 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
4144 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
4145 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4146 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4147 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4148
7b832018
AZ
4149 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
4150 termios-c_oflag.h.
4151 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
4152 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
4153 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
4154 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
4155 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
4156 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
4157 termios-c_oflag.h.
4158 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
4159 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
4160 FFR1): Likewise.
4161 [USE_MISC] (XTABS): Likewise.
4162 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4163 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4164 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4165 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
4166
3127003e
AZ
4167 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
4168 termios-c_iflag.h.
4169 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
4170 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
4171 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
4172 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
4173 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
4174 IUTF8): Move to termios-c_iflag.h.
4175 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4176 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4177 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4178 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4179
48c1dd96
AZ
4180 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
4181 termios-cc.h.
4182 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
4183 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
4184 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
4185 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
4186 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
4187 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
4188 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
4189 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
4190 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4191 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4192 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4193 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4194
e5a50db3
AZ
4195 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
4196 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
4197 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
4198 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
4199 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4200 termios-struct.h.
4201 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
4202 termios-struct.h.
4203 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
4204 Likewise.
4205 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
4206 Likewise.
4207 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
4208 Likewise.
4209 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
4210 Likewise.
4211 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
4212 _HAVE_C_OSPEED): Define.
4213 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
4214 _HAVE_C_OSPEED): Likewise.
4215 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
4216 _HAVE_C_OSPEED): Likewise.
4217 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
4218 (cfsetospeed): Check for define value instead of existence.
4219 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
4220 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
4221 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
4222 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
4223 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
4224
8083afa5
AZ
4225 [BZ #17783]
4226 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
4227 Define.
4228 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
4229 (TIOCSER_TEMT): Likewise.
4230 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
4231 (TEOCSER_TEMT): Likewise.
4232
4d7d7dc6
P
42332019-01-02 PanderMusubi <pander@users.sourceforge.net>
4234
4235 [BZ #24011]
4236 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
4237
8e291a29
JM
42382019-01-02 Joseph Myers <joseph@codesourcery.com>
4239
4240 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
4241
55137f7d
ST
42422019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
4243
4244 * sysdeps/htl/pt-barrierattr-setpshared.c
4245 (pthread_barrierattr_setpshared): Add stub warning.
4246 * sysdeps/htl/pt-condattr-setpshared.c
4247 (pthread_condattr_setpshared): Likewise.
4248 * sysdeps/htl/pt-mutexattr-setpshared.c
4249 (pthread_mutexattr_setpshared): Likewise.
4250 * sysdeps/htl/pt-rwlockattr-setpshared.c
4251 (pthread_rwlockattr_setpshared): Likewise.
4252 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
4253 (pthread_mutexattr_setpshared): Likewise.
4254
2ce09e01
JM
42552019-01-02 Joseph Myers <joseph@codesourcery.com>
4256
acb55dcb
JM
4257 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
4258 constants to match with Linux 4.20.
4259
2ce09e01
JM
4260 * sysdeps/mips/mips32/libm-test-ulps: Update.
4261 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4262
fe20bb1d
AJ
42632019-01-02 Aurelien Jarno <aurelien@aurel32.net>
4264
4265 [BZ #24034]
4266 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
4267 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
4268 than __typeof (...) for the a_ptr variable.
4269
2d9837c1
GG
42702019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4271
4272 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
4273 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
4274 * libio/Makefile (tests): Add tst-sprintf-ub and
4275 tst-sprintf-chk-ub.
4276 (CFLAGS-tst-sprintf-ub.c): New variable.
4277 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
4278 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
4279 destination buffer and check for overflows in fortified mode.
4280 * libio/libioP.h (PRINTF_CHK): New macro.
4281 * libio/tst-sprintf-chk-ub.c: New file.
4282 * libio/tst-sprintf-ub.c: Likewise.
4283
d5c6df0b 42842019-01-02 Florian Weimer <fweimer@redhat.com>
8c1aafc1
FW
4285
4286 [BZ #24018]
4287 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
4288 failure.
4289
66081e38
FW
42902019-01-02 Florian Weimer <fweimer@redhat.com>
4291
4292 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
4293
04277e02
JM
42942019-01-01 Joseph Myers <joseph@codesourcery.com>
4295
6ef3d225
JM
4296 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
4297 macro.
4298
e3d4e292
JM
4299 * sysdeps/unix/sysv/linux/netpacket/packet.h
4300 (PACKET_IGNORE_OUTGOING): New macro.
4301
f4507797
JM
4302 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
4303 macro.
4304
47ad5e1a
JM
4305 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4306 version to 4.20.
4307 (riscv_flush_icache): New syscall.
4308
7628a1b0
JM
4309 * manual/texinfo.tex: Update to version 2018-12-28.17 with
4310 trailing whitespace removed.
4311 * scripts/config.guess: Update to version 2019-01-01.
4312 * scripts/config.sub: Update to version 2019-01-01.
4313 * scripts/move-if-change: Update from gnulib.
4314
c9123888
JM
4315 * NEWS: Update copyright dates.
4316 * catgets/gencat.c (print_version): Likewise.
4317 * csu/version.c (banner): Likewise.
4318 * debug/catchsegv.sh: Likewise.
4319 * debug/pcprofiledump.c (print_version): Likewise.
4320 * debug/xtrace.sh (do_version): Likewise.
4321 * elf/ldconfig.c (print_version): Likewise.
4322 * elf/ldd.bash.in: Likewise.
4323 * elf/pldd.c (print_version): Likewise.
4324 * elf/sotruss.sh: Likewise.
4325 * elf/sprof.c (print_version): Likewise.
4326 * iconv/iconv_prog.c (print_version): Likewise.
4327 * iconv/iconvconfig.c (print_version): Likewise.
4328 * locale/programs/locale.c (print_version): Likewise.
4329 * locale/programs/localedef.c (print_version): Likewise.
4330 * login/programs/pt_chown.c (print_version): Likewise.
4331 * malloc/memusage.sh (do_version): Likewise.
4332 * malloc/memusagestat.c (print_version): Likewise.
4333 * malloc/mtrace.pl: Likewise.
4334 * manual/libc.texinfo: Likewise.
4335 * nptl/version.c (banner): Likewise.
4336 * nscd/nscd.c (print_version): Likewise.
4337 * nss/getent.c (print_version): Likewise.
4338 * nss/makedb.c (print_version): Likewise.
4339 * posix/getconf.c (main): Likewise.
4340 * scripts/test-installation.pl: Likewise.
4341 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
4342
04277e02
JM
4343 * All files with FSF copyright notices: Update copyright dates
4344 using scripts/update-copyrights.
4345 * locale/programs/charmap-kw.h: Regenerated.
4346 * locale/programs/locfile-kw.h: Likewise.
4347
e740e5b1
JM
43482018-12-31 Joseph Myers <joseph@codesourcery.com>
4349
4350 * timezone/zdump.c: Update from tzcode 2018i.
4351 * timezone/zic.c: Likewise.
4352
9b7f98b3
PE
43532018-12-31 Paul Eggert <eggert@cs.ucla.edu>
4354
4355 regex: improve Gnulib port to AIX
4356 From the glibc point of view, this removes duplicate macro
4357 definitions and is obviously safe.
4358 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
4359 * posix/regex_internal.h:
4360 (__attribute__, __attribute_warn_unused_result__):
4361 Remove; already defined elsewhere.
4362
b50dd3bc
FW
43632018-12-31 Florian Weimer <fw@deneb.enyo.de>
4364
4365 [BZ #24027]
4366 * malloc/malloc.c (_int_realloc): Always call memcpy for the
4367 copying operation. (ncopies had the wrong type, resulting in an
4368 integer wraparound and too few elements being copied.)
4369
0b9c8490
L
43702018-12-31 H.J. Lu <hongjiu.lu@intel.com>
4371
4372 [BZ #24022]
4373 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
4374 <asm/syscalls.h> exists with __has_include__ before including it.
4375
01047fa6
JM
43762018-12-31 Joseph Myers <joseph@codesourcery.com>
4377
4378 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4379 version to 4.20.
4380
6b5c8607 43812018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
065957a3
JW
4382
4383 * hurd/lookup-retry: Include <unistd.h>.
4384 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
4385 Release it on return. Handle "pid" magical lookup retry.
4386
989182c4
RL
43872018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
4388
4389 [BZ #10496]
4390 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
4391 (t_fmt_ampm): Likewise.
4392 * localedata/locales/aa_ER (t_fmt): Likewise.
4393 (t_fmt_ampm): Likewise.
4394 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
4395 (t_fmt_ampm): Likewise.
4396 * localedata/locales/aa_ET (t_fmt): Likewise.
4397 (t_fmt_ampm): Likewise.
4398 * localedata/locales/am_ET (t_fmt): Likewise.
4399 (t_fmt_ampm): Likewise.
4400 * localedata/locales/byn_ER (t_fmt): Likewise.
4401 (t_fmt_ampm): Likewise.
4402 * localedata/locales/om_ET (t_fmt): Likewise.
4403 (t_fmt_ampm): Likewise.
4404 * localedata/locales/sid_ET (t_fmt): Likewise.
4405 (t_fmt_ampm): Likewise.
4406 * localedata/locales/so_DJ (t_fmt): Likewise.
4407 (t_fmt_ampm): Likewise.
4408 * localedata/locales/so_ET (t_fmt): Likewise.
4409 (t_fmt_ampm): Likewise.
4410 * localedata/locales/so_SO (t_fmt): Likewise.
4411 (t_fmt_ampm): Likewise.
4412 * localedata/locales/ti_ER (t_fmt): Likewise.
4413 (t_fmt_ampm): Likewise.
4414 * localedata/locales/ti_ET (t_fmt): Likewise.
4415 (t_fmt_ampm): Likewise.
4416 * localedata/locales/tig_ER (t_fmt): Likewise.
4417 (t_fmt_ampm): Likewise.
4418 * localedata/locales/wal_ET (t_fmt): Likewise.
4419 (t_fmt_ampm): Likewise.
4420
4421 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
4422 * localedata/locales/ar_IN (t_fmt): Likewise.
4423 * localedata/locales/bhb_IN (t_fmt): Likewise.
4424 * localedata/locales/bho_IN (t_fmt): Likewise.
4425 * localedata/locales/bi_VU (t_fmt): Likewise.
4426 * localedata/locales/bn_BD (t_fmt): Likewise.
4427 * localedata/locales/bn_IN (t_fmt): Likewise.
4428 * localedata/locales/brx_IN (t_fmt): Likewise.
4429 * localedata/locales/doi_IN (t_fmt): Likewise.
4430 * localedata/locales/en_HK (t_fmt): Likewise.
4431 (t_fmt_ampm): Likewise.
4432 * localedata/locales/en_IN (t_fmt): Likewise.
4433 * localedata/locales/en_PH (t_fmt): Likewise.
4434 * localedata/locales/gu_IN (t_fmt): Likewise.
4435 * localedata/locales/hi_IN (t_fmt): Likewise.
4436 * localedata/locales/hif_FJ (t_fmt): Likewise.
4437 * localedata/locales/hne_IN (t_fmt): Likewise.
4438 * localedata/locales/kn_IN (t_fmt): Likewise.
4439 * localedata/locales/kok_IN (t_fmt): Likewise.
4440 * localedata/locales/ks_IN (t_fmt): Likewise.
4441 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
4442 * localedata/locales/mag_IN (t_fmt): Likewise.
4443 * localedata/locales/mai_IN (t_fmt): Likewise.
4444 * localedata/locales/mjw_IN (t_fmt): Likewise.
4445 * localedata/locales/ml_IN (t_fmt): Likewise.
4446 * localedata/locales/mni_IN (t_fmt): Likewise.
4447 * localedata/locales/mr_IN (t_fmt): Likewise.
4448 * localedata/locales/ms_MY (t_fmt): Likewise.
4449 * localedata/locales/pa_IN (t_fmt): Likewise.
4450 * localedata/locales/raj_IN (t_fmt): Likewise.
4451 * localedata/locales/sa_IN (t_fmt): Likewise.
4452 * localedata/locales/sat_IN (t_fmt): Likewise.
4453 * localedata/locales/sd_IN (t_fmt): Likewise.
4454 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
4455 * localedata/locales/tcy_IN (t_fmt): Likewise.
4456 * localedata/locales/the_NP (t_fmt): Likewise.
4457 * localedata/locales/to_TO (t_fmt): Likewise.
4458 * localedata/locales/ur_IN (t_fmt): Likewise.
4459
4460 * localedata/locales/hif_FJ (d_t_fmt): Set to
4461 "%A %d %b %Y %I:%M:%S %p".
4462 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
4463
4464 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
4465 * localedata/locales/ar_BH (t_fmt): Likewise.
4466 * localedata/locales/ar_DZ (t_fmt): Likewise.
4467 * localedata/locales/ar_EG (t_fmt): Likewise.
4468 * localedata/locales/ar_IQ (t_fmt): Likewise.
4469 * localedata/locales/ar_JO (t_fmt): Likewise.
4470 * localedata/locales/ar_KW (t_fmt): Likewise.
4471 * localedata/locales/ar_LB (t_fmt): Likewise.
4472 * localedata/locales/ar_LY (t_fmt): Likewise.
4473 * localedata/locales/ar_OM (t_fmt): Likewise.
4474 * localedata/locales/ar_QA (t_fmt): Likewise.
4475 * localedata/locales/ar_SD (t_fmt): Likewise.
4476 * localedata/locales/ar_SS (t_fmt): Likewise.
4477 * localedata/locales/ar_SY (t_fmt): Likewise.
4478 * localedata/locales/ar_TN (t_fmt): Likewise.
4479 * localedata/locales/ar_YE (t_fmt): Likewise.
4480
4481 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
4482 (t_fmt_ampm): Likewise.
4483 * localedata/locales/gez_ET (t_fmt): Likewise.
4484 (t_fmt_ampm): Likewise.
4485
4486 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
4487 (t_fmt_ampm): Likewise.
4488 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
4489
4490 * localedata/locales/zh_HK (t_fmt):
4491 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
4492
4493 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
4494 because this locale does not use the 12-hour clock.
4495 (t_fmt): Set to "%Z %H:%M:%S".
4496 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
4497
4498 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
4499 because this locale does not use the 12-hour clock.
4500 (t_fmt): Set to "%H:%M:%S %Z".
4501 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
4502
4503 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
4504 because this locale does not use the 12-hour clock.
4505 (t_fmt): Set to "%T".
4506 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
4507 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
4508
4509 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
4510 because this locale does not use the 12-hour clock.
4511 (t_fmt): Set to "%H:%M:%S %Z".
4512 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
4513
4514 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
4515 because this locale does not use the 12-hour clock.
4516 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
4517 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
4518
27841a7d
RL
45192018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
4520
4521 [BZ #10496]
4522 [BZ #23724]
4523 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
4524 (t_fmt_ampm): Likewise.
4525 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
4526 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
4527 (d_fmt): Set to "%-d.%-m.%y".
4528
0253580a
AZ
45292018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4530
4531 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
4532 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
4533 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
4534 Likewise.
4535 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
4536 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
4537 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
4538 function.
4539 * support/blob_repeat.c (check_mul_overflow_size_t,
4540 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
4541
09104e5b
AJ
45422018-12-28 Aurelien Jarno <aurelien@aurel32.net>
4543
4544 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
4545
c0feb731
PE
45462018-12-27 Paul Eggert <eggert@cs.ucla.edu>
4547
4548 regex: simplify Gnulib port
4549 This simplifies the code, by removing stuff intended for porting
4550 to Gnulib but no longer needed there.
4551 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
4552 uses of libc_hidden_def, weak_alias.
4553 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
4554 _Restrict_ except for public-facing headers.
4555 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
4556 Remove; already defined elsewhere.
4557 * posix/regex.c, posix/regex_internal.h:
4558 Use __GNUC_PREREQ instead of rolling our own.
4559 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
4560
5289f1f5
WD
45612018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
4562
4563 * benchtests/bench-strlen.c (generic_strlen): New function.
6b5c8607 4564 (memchr_strlen): New function.
5289f1f5 4565
ba4b8fab
L
45662018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4567
4568 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
4569 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
4570 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
4571
9412979a
L
45722018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4573
4574 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4575
8700a785
L
45762018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4577
4578 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
4579 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
4580 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
4581 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
4582 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
4583 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
4584 <sysdeps/ieee754/flt-32/s_sincosf.c>.
4585
57b3ff8e
JM
45862018-12-21 Joseph Myers <joseph@codesourcery.com>
4587
4588 [BZ #24023]
4589 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
4590 PLT reference in libc.so.
4591 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
4592 _Q_lltoq and _Q_qtod PLT references in libc.so.
4593
90d3320d
WD
45942018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
4595
4596 * benchtests/bench-memchr.c: Cleanup defines.
4597 * benchtests/bench-memcmp.c: Likewise.
4598 * benchtests/bench-memset.c: Likewise.
4599 * benchtests/bench-memset-large.c: Likewise.
4600 * benchtests/bench-memset-walk.c: Likewise.
4601 * benchtests/bench-stpcpy.c: Likewise.
4602 * benchtests/bench-stpncpy.c: Likewise.
4603 * benchtests/bench-strcat.c: Likewise.
4604 * benchtests/bench-strchr.c: Likewise.
4605 * benchtests/bench-strcmp.c: Likewise.
4606 * benchtests/bench-strcpy.c: Likewise.
4607 * benchtests/bench-strcspn.c: Likewise.
4608 * benchtests/bench-string.h: Likewise.
4609 * benchtests/bench-strlen.c: Likewise.
4610 * benchtests/bench-strncat.c: Likewise.
4611 * benchtests/bench-strncmp.c: Likewise.
4612 * benchtests/bench-strncpy.c: Likewise.
4613 * benchtests/bench-strnlen.c: Likewise.
4614 * benchtests/bench-strpbrk.c: Likewise.
4615 * benchtests/bench-strrchr.c: Likewise.
4616 * benchtests/bench-strspn.c: Likewise.
4617
192963be
JM
46182018-12-21 Joseph Myers <joseph@codesourcery.com>
4619
5d025ea6
JM
4620 * stdlib/longlong.h: Update from GCC.
4621
192963be
JM
4622 [BZ #23993]
4623 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
4624 * configure: Regenerated.
4625 * manual/install.texi (Tools for Compilation): Update minimum GCC
4626 version.
4627 * INSTALL: Regenerated.
4628
6b5c8607 46292018-12-21 Istvan Kurucsai <pistukem@gmail.com>
c0e82f11
IK
4630
4631 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
4632
6b5c8607 46332018-12-20 Istvan Kurucsai <pistukem@gmail.com>
ebe544bf
IK
4634
4635 * malloc/malloc.c (mremap_chunk): Additional checks.
4636
5f72b005
MH
46372018-12-21 Mao Han <han_mao@c-sky.com>
4638
4639 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
4640 * scripts/build-many-glibcs.py: Add C-SKY targets.
4641 * sysdeps/csky/Implies: New file.
4642 * sysdeps/csky/Makefile: Likewise.
4643 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
4644 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
4645 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
4646 * sysdeps/csky/abiv2/memcmp.S: Likewise.
4647 * sysdeps/csky/abiv2/memcpy.S: Likewise.
4648 * sysdeps/csky/abiv2/memmove.S: Likewise.
4649 * sysdeps/csky/abiv2/memset.S: Likewise.
4650 * sysdeps/csky/abiv2/setjmp.S: Likewise.
4651 * sysdeps/csky/abiv2/start.S: Likewise.
4652 * sysdeps/csky/abiv2/strcmp.S: Likewise.
4653 * sysdeps/csky/abiv2/strcpy.S: Likewise.
4654 * sysdeps/csky/abiv2/strlen.S: Likewise.
4655 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
4656 * sysdeps/csky/abort-instr.h: Likewise.
4657 * sysdeps/csky/atomic-machine.h: Likewise.
4658 * sysdeps/csky/bits/endian.h: Likewise.
4659 * sysdeps/csky/bits/fenv.h: Likewise.
4660 * sysdeps/csky/bits/link.h: Likewise.
4661 * sysdeps/csky/bits/setjmp.h: Likewise.
4662 * sysdeps/csky/bsd-_setjmp.S: Likewise.
4663 * sysdeps/csky/bsd-setjmp.S: Likewise.
4664 * sysdeps/csky/configure: Likewise.
4665 * sysdeps/csky/configure.ac: Likewise.
4666 * sysdeps/csky/dl-machine.h: Likewise.
4667 * sysdeps/csky/dl-procinfo.c: Likewise.
4668 * sysdeps/csky/dl-procinfo.h: Likewise.
4669 * sysdeps/csky/dl-sysdep.h: Likewise.
4670 * sysdeps/csky/dl-tls.h: Likewise.
4671 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
4672 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
4673 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
4674 * sysdeps/csky/fpu/fegetenv.c: Likewise.
4675 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
4676 * sysdeps/csky/fpu/fegetmode.c: Likewise.
4677 * sysdeps/csky/fpu/fegetround.c: Likewise.
4678 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
4679 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
4680 * sysdeps/csky/fpu/fenv_private.h: Likewise.
4681 * sysdeps/csky/fpu/fesetenv.c: Likewise.
4682 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
4683 * sysdeps/csky/fpu/fesetmode.c: Likewise.
4684 * sysdeps/csky/fpu/fesetround.c: Likewise.
4685 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
4686 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
4687 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
4688 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
4689 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
4690 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
4691 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
4692 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
4693 * sysdeps/csky/fpu_control.h: Likewise.
4694 * sysdeps/csky/gccframe.h: Likewise.
4695 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
4696 * sysdeps/csky/ldsodefs.h: Likewise.
4697 * sysdeps/csky/libc-tls.c: Likewise.
4698 * sysdeps/csky/linkmap.h: Likewise.
4699 * sysdeps/csky/machine-gmon.h: Likewise.
4700 * sysdeps/csky/memusage.h: Likewise.
4701 * sysdeps/csky/nofpu/Implies: Likewise.
4702 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
4703 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
4704 * sysdeps/csky/nptl/Makefile: Likewise.
4705 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
4706 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
4707 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
4708 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
4709 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
4710 * sysdeps/csky/nptl/tls.h: Likewise.
4711 * sysdeps/csky/preconfigure: Likewise.
4712 * sysdeps/csky/sfp-machine.h: Likewise.
4713 * sysdeps/csky/sotruss-lib.c: Likewise.
4714 * sysdeps/csky/stackinfo.h: Likewise.
4715 * sysdeps/csky/sysdep.h: Likewise.
4716 * sysdeps/csky/tininess.h: Likewise.
4717 * sysdeps/csky/tst-audit.h: Likewise.
4718 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
4719 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
4720 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
4721 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
4722 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
4723 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
4724 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
4725 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
4726 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
4727 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
4728 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
4729 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
4730 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
4731 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
4732 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
4733 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
4734 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
4735 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
4736 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
4737 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
4738 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
4739 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
4740 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
4741 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
4742 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
4743 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
4744 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
4745 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
4746 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
4747 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
4748 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
4749 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
4750 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
4751 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
4752 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
4753 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
4754 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
4755 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
4756 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
4757 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
4758 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
4759 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
4760 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
4761 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
4762
6b5c8607 47632018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
ac253355
AA
4764
4765 * include/time.h (__difftime64): Add.
4766 * time/difftime.c (subtract): convert to 64-bit time.
4767 * time/difftime.c (__difftime64): Add.
4768 * time/difftime.c (__difftime): Wrap around __difftime64.
4769
ab416931
L
47702018-12-20 H.J. Lu <hongjiu.lu@intel.com>
4771
4772 * manual/examples/add.c: Remove redundant "if not".
4773 * manual/examples/argp-ex1.c: Likewise.
4774 * manual/examples/argp-ex2.c: Likewise.
4775 * manual/examples/argp-ex3.c: Likewise.
4776 * manual/examples/argp-ex4.c: Likewise.
4777 * manual/examples/atexit.c: Likewise.
4778 * manual/examples/db.c: Likewise.
4779 * manual/examples/dir.c: Likewise.
4780 * manual/examples/dir2.c: Likewise.
4781 * manual/examples/execinfo.c: Likewise.
4782 * manual/examples/filecli.c: Likewise.
4783 * manual/examples/filesrv.c: Likewise.
4784 * manual/examples/fmtmsgexpl.c: Likewise.
4785 * manual/examples/genpass.c: Likewise.
4786 * manual/examples/inetcli.c: Likewise.
4787 * manual/examples/inetsrv.c: Likewise.
4788 * manual/examples/isockad.c: Likewise.
4789 * manual/examples/longopt.c: Likewise.
4790 * manual/examples/memopen.c: Likewise.
4791 * manual/examples/memstrm.c: Likewise.
4792 * manual/examples/mkdirent.c: Likewise.
4793 * manual/examples/mkfsock.c: Likewise.
4794 * manual/examples/mkisock.c: Likewise.
4795 * manual/examples/mygetpass.c: Likewise.
4796 * manual/examples/pipe.c: Likewise.
4797 * manual/examples/popen.c: Likewise.
4798 * manual/examples/rprintf.c: Likewise.
4799 * manual/examples/search.c: Likewise.
4800 * manual/examples/select.c: Likewise.
4801 * manual/examples/setjmp.c: Likewise.
4802 * manual/examples/sigh1.c: Likewise.
4803 * manual/examples/sigusr.c: Likewise.
4804 * manual/examples/stpcpy.c: Likewise.
4805 * manual/examples/strdupa.c: Likewise.
4806 * manual/examples/strftim.c: Likewise.
4807 * manual/examples/subopt.c: Likewise.
4808 * manual/examples/swapcontext.c: Likewise.
4809 * manual/examples/termios.c: Likewise.
4810 * manual/examples/testopt.c: Likewise.
4811 * manual/examples/testpass.c: Likewise.
4812 * manual/examples/timeval_subtract.c: Likewise.
4813
515f463f
JM
48142018-12-19 Joseph Myers <joseph@codesourcery.com>
4815
da75c1b1
JM
4816 * sysdeps/x86/fpu/math_private.h: New file.
4817 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
4818
515f463f
JM
4819 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
4820 definition.
4821 (cosh): Likewise.
4822 (tanh): Likewise.
4823
1616d034
TMQMF
48242018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4825
4826 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
4827 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
4828 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
4829 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
4830 fields.
4831 (_dl_show_auxv): Give a special treatment to
4832 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
4833 and AT_L3_CACHEGEOMETRY.
4834 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
4835 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
4836 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
4837 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
4838
61595e3d
AS
48392018-12-19 Andreas Schwab <schwab@suse.de>
4840
4841 * nscd/connections.c (check_use): Don't abort on invalid len.
4842
bbb7dc84
ST
48432018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
4844
4845 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
4846 values in the 64bit value cases.
4847
6b5c8607 48482018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
64c2277d 4849
c4c2836a
AA
4850 * include/time.h
4851 (__ctime64_r): Add.
4852 * time/ctime_r.c
4853 (__ctime64_r): Add.
4854 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
4855
7755e504
AA
4856 * include/time.h
4857 (__ctime64): Add.
4858 * time/gmtime.c
4859 (__ctime64): Add.
4860 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
4861
a1d346ce
AA
4862 * include/time.h
4863 (__gmtime64_r): Add.
4864 * time/gmtime.c
4865 (__gmtime64_r): Add.
4866 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
4867
131db8b0
AA
4868 * include/time.h
4869 (__gmtime64): Add.
4870 * time/gmtime.c
4871 (__gmtime64): Add.
4872 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
4873
64c2277d
AA
4874 * include/time.h
4875 (__localtime64_r): Add.
4876 * time/localtime.c
4877 (__localtime64_r): Add.
4878 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
4879
56b98bf1
AZ
48802018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4881
64dd7a16
AZ
4882 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
4883 kernel_sigction definition.
4884
8b1d5da5
AZ
4885 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
4886
f9eabb19
AZ
4887 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
4888
56b98bf1
AZ
4889 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
4890 __syscall_rt_sigaction.
4891 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
4892 (kernel_sigaction): Use Linux generic defintion.
4893 (STUB): Define.
4894 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
4895 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
4896 (__syscall_rt_sigaction): Remove implementation.
4897 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
4898 hidden.
4899 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
4900 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
4901 INTERNAL_SYSCALL): Remove definitions.
4902 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
4903 action and signal set size.
4904 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
4905 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
4906
43a45c2d
AZ
49072018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4908 James Clarke <jrtc27@jrtc27.com>
4909
dfa6216f 4910 [BZ #23967]
43a45c2d
AZ
4911 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
4912 Define if SA_RESTORER is defined.
4913 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
4914 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
4915 already defined.
4916 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
4917 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
4918 definitions.
4919 (HAS_SA_RESTORER): Define.
4920 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
4921 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
4922 (HAS_SA_RESTORER): Define.
4923 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
4924 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
4925 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
4926 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
4927 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4928
646ce7e0
JM
49292018-12-18 Joseph Myers <joseph@codesourcery.com>
4930
4931 * sysdeps/unix/sysv/linux/kernel-features.h
4932 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
4933 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4934 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
4935 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4936 (__ASSUME_ST_INO_64_BIT): Likewise.
4937 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
4938 <kernel-features.h>.
4939 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4940 Remove conditional code.
4941 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
4942 <kernel-features.h>.
4943 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4944 Remove conditional code.
4945 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
4946 <kernel-features.h>.
4947 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4948 Remove conditional code.
4949 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
4950 <kernel-features.h>.
4951 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
4952 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
4953
80190d2b
SL
49542018-12-18 Stefan Liebler <stli@linux.ibm.com>
4955
4956 * sysdeps/s390/multiarch/ifunc-resolve.h
4957 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
4958 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
4959 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
4960 Delete macro definition.
4961 (s390_libc_ifunc_init): Rename to
4962 s390_libc_ifunc_expr_stfle_init.
4963 * sysdeps/s390/bzero: Use
4964 s390_libc_ifunc_expr_stfle_init instead of
4965 s390_libc_ifunc_init.
4966 * sysdeps/s390/memcmp.c: Likewise.
4967 * sysdeps/s390/memcpy.c: Likewise.
4968 * sysdeps/s390/mempcpy.c: Likewise.
4969 * sysdeps/s390/memset.c: Likewise.
4970
12f0dcb8
SL
49712018-12-18 Stefan Liebler <stli@linux.ibm.com>
4972
4973 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
4974 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
4975
25654a8c
SL
49762018-12-18 Stefan Liebler <stli@linux.ibm.com>
4977
4978 * sysdeps/s390/multiarch/Makefile
4979 (sysdep_routines): Remove wmemcmp variants.
4980 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
4981 * sysdeps/s390/multiarch/ifunc-impl-list.c
4982 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
4983 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
4984 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
4985 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
4986 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
4987 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
4988 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
4989 * sysdeps/s390/ifunc-wmemcmp.h: New file.
4990
d2a7436c
SL
49912018-12-18 Stefan Liebler <stli@linux.ibm.com>
4992
4993 * sysdeps/s390/multiarch/Makefile
4994 (sysdep_routines): Remove wmemset variants.
4995 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
4996 * sysdeps/s390/multiarch/ifunc-impl-list.c
4997 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
4998 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
4999 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
5000 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
5001 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
5002 * sysdeps/s390/multiarch/wmemset.c: Move to ...
5003 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
5004 * sysdeps/s390/ifunc-wmemset.h: New file.
5005
c62534ae
SL
50062018-12-18 Stefan Liebler <stli@linux.ibm.com>
5007
5008 * sysdeps/s390/multiarch/Makefile
5009 (sysdep_routines): Remove wmemchr variants.
5010 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
5011 * sysdeps/s390/multiarch/ifunc-impl-list.c
5012 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
5013 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
5014 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
5015 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
5016 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
5017 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
5018 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
5019 * sysdeps/s390/ifunc-wmemchr.h: New file.
5020
79b44cf6
SL
50212018-12-18 Stefan Liebler <stli@linux.ibm.com>
5022
5023 * sysdeps/s390/multiarch/Makefile
5024 (sysdep_routines): Remove wcscspn variants.
5025 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
5026 * sysdeps/s390/multiarch/ifunc-impl-list.c
5027 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
5028 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
5029 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
5030 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
5031 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
5032 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
5033 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
5034 * sysdeps/s390/ifunc-wcscspn.h: New file.
5035
8e87c1f6
SL
50362018-12-18 Stefan Liebler <stli@linux.ibm.com>
5037
5038 * sysdeps/s390/multiarch/Makefile
5039 (sysdep_routines): Remove wcspbrk variants.
5040 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
5041 * sysdeps/s390/multiarch/ifunc-impl-list.c
5042 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
5043 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
5044 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
5045 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
5046 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
5047 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
5048 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
5049 * sysdeps/s390/ifunc-wcspbrk.h: New file.
5050
8507e831
SL
50512018-12-18 Stefan Liebler <stli@linux.ibm.com>
5052
5053 * sysdeps/s390/multiarch/Makefile
5054 (sysdep_routines): Remove wcsspn variants.
5055 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
5056 * sysdeps/s390/multiarch/ifunc-impl-list.c
5057 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
5058 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
5059 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
5060 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
5061 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
5062 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
5063 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
5064 * sysdeps/s390/ifunc-wcsspn.h: New file.
5065
4753713a
SL
50662018-12-18 Stefan Liebler <stli@linux.ibm.com>
5067
5068 * sysdeps/s390/multiarch/Makefile
5069 (sysdep_routines): Remove wcsrchr variants.
5070 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
5071 * sysdeps/s390/multiarch/ifunc-impl-list.c
5072 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
5073 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
5074 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
5075 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
5076 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
5077 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
5078 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
5079 * sysdeps/s390/ifunc-wcsrchr.h: New file.
5080
c09c1b6f
SL
50812018-12-18 Stefan Liebler <stli@linux.ibm.com>
5082
5083 * sysdeps/s390/multiarch/Makefile
5084 (sysdep_routines): Remove wcschrnul variants.
5085 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
5086 * sysdeps/s390/multiarch/ifunc-impl-list.c
5087 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
5088 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
5089 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
5090 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
5091 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
5092 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
5093 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
5094 * sysdeps/s390/ifunc-wcschrnul.h: New file.
5095
cf3ccc31
SL
50962018-12-18 Stefan Liebler <stli@linux.ibm.com>
5097
5098 * sysdeps/s390/multiarch/Makefile
5099 (sysdep_routines): Remove wcschr variants.
5100 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
5101 * sysdeps/s390/multiarch/ifunc-impl-list.c
5102 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
5103 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
5104 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
5105 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
5106 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
5107 * sysdeps/s390/multiarch/wcschr.c: Move to ...
5108 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
5109 * sysdeps/s390/ifunc-wcschr.h: New file.
5110
e9873e1d
SL
51112018-12-18 Stefan Liebler <stli@linux.ibm.com>
5112
5113 * sysdeps/s390/multiarch/Makefile
5114 (sysdep_routines): Remove wcsncmp variants.
5115 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
5116 * sysdeps/s390/multiarch/ifunc-impl-list.c
5117 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
5118 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
5119 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
5120 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
5121 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
5122 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
5123 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
5124 * sysdeps/s390/ifunc-wcsncmp.h: New file.
5125
3459e23d
SL
51262018-12-18 Stefan Liebler <stli@linux.ibm.com>
5127
5128 * sysdeps/s390/multiarch/Makefile
5129 (sysdep_routines): Remove wcscmp variants.
5130 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
5131 * sysdeps/s390/multiarch/ifunc-impl-list.c
5132 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
5133 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
5134 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
5135 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
5136 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
5137 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
5138 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
5139 * sysdeps/s390/ifunc-wcscmp.h: New file.
5140
814a76e1
SL
51412018-12-18 Stefan Liebler <stli@linux.ibm.com>
5142
5143 * sysdeps/s390/multiarch/Makefile
5144 (sysdep_routines): Remove wcsncat variants.
5145 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
5146 * sysdeps/s390/multiarch/ifunc-impl-list.c
5147 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
5148 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
5149 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
5150 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
5151 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
5152 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
5153 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
5154 * sysdeps/s390/ifunc-wcsncat.h: New file.
5155
3389cae4
SL
51562018-12-18 Stefan Liebler <stli@linux.ibm.com>
5157
5158 * sysdeps/s390/multiarch/Makefile
5159 (sysdep_routines): Remove wcscat variants.
5160 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
5161 * sysdeps/s390/multiarch/ifunc-impl-list.c
5162 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
5163 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
5164 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
5165 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
5166 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
5167 * sysdeps/s390/multiarch/wcscat.c: Move to ...
5168 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
5169 * sysdeps/s390/ifunc-wcscat.h: New file.
5170
c3081bcb
SL
51712018-12-18 Stefan Liebler <stli@linux.ibm.com>
5172
5173 * sysdeps/s390/multiarch/Makefile
5174 (sysdep_routines): Remove wcpncpy variants.
5175 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
5176 * sysdeps/s390/multiarch/ifunc-impl-list.c
5177 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
5178 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
5179 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
5180 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
5181 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
5182 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
5183 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
5184 * sysdeps/s390/ifunc-wcpncpy.h: New file.
5185
0966dd86
SL
51862018-12-18 Stefan Liebler <stli@linux.ibm.com>
5187
5188 * sysdeps/s390/multiarch/Makefile
5189 (sysdep_routines): Remove wcsncpy variants.
5190 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
5191 * sysdeps/s390/multiarch/ifunc-impl-list.c
5192 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
5193 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
5194 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
5195 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
5196 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
5197 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
5198 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
5199 * sysdeps/s390/ifunc-wcsncpy.h: New file.
5200
0582e428
SL
52012018-12-18 Stefan Liebler <stli@linux.ibm.com>
5202
5203 * sysdeps/s390/multiarch/Makefile
5204 (sysdep_routines): Remove wcpcpy variants.
5205 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
5206 * sysdeps/s390/multiarch/ifunc-impl-list.c
5207 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
5208 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
5209 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
5210 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
5211 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
5212 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
5213 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
5214 * sysdeps/s390/ifunc-wcpcpy.h: New file.
5215
804f2e5c
SL
52162018-12-18 Stefan Liebler <stli@linux.ibm.com>
5217
5218 * sysdeps/s390/multiarch/Makefile
5219 (sysdep_routines): Remove wcscpy variants.
5220 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
5221 * sysdeps/s390/multiarch/ifunc-impl-list.c
5222 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
5223 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
5224 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
5225 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
5226 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
5227 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
5228 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
5229 * sysdeps/s390/ifunc-wcscpy.h: New file.
5230
c7e7cd26
SL
52312018-12-18 Stefan Liebler <stli@linux.ibm.com>
5232
5233 * sysdeps/s390/multiarch/Makefile
5234 (sysdep_routines): Remove wcsnlen variants.
5235 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
5236 * sysdeps/s390/multiarch/ifunc-impl-list.c
5237 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
5238 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
5239 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
5240 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
5241 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
5242 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
5243 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
5244 * sysdeps/s390/ifunc-wcsnlen.h: New file.
5245
2e02d0b7
SL
52462018-12-18 Stefan Liebler <stli@linux.ibm.com>
5247
5248 * sysdeps/s390/multiarch/Makefile
5249 (sysdep_routines): Remove wcslen variants.
5250 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
5251 * sysdeps/s390/multiarch/ifunc-impl-list.c
5252 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
5253 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
5254 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
5255 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
5256 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
5257 * sysdeps/s390/multiarch/wcslen.c: Move to ...
5258 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
5259 * sysdeps/s390/ifunc-wcslen.h: New file.
5260
89bfcbdf
SL
52612018-12-18 Stefan Liebler <stli@linux.ibm.com>
5262
5263 * sysdeps/s390/multiarch/Makefile
5264 (sysdep_routines): Remove memrchr variants.
5265 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
5266 * sysdeps/s390/multiarch/ifunc-impl-list.c
5267 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
5268 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
5269 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
5270 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
5271 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
5272 * sysdeps/s390/multiarch/memrchr.c: Move to ...
5273 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
5274 * sysdeps/s390/ifunc-memrchr.h: New file.
5275
196655ba
SL
52762018-12-18 Stefan Liebler <stli@linux.ibm.com>
5277
5278 * sysdeps/s390/multiarch/Makefile
5279 (sysdep_routines): Remove memccpy variants.
5280 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
5281 * sysdeps/s390/multiarch/ifunc-impl-list.c
5282 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
5283 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
5284 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
5285 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
5286 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
5287 * sysdeps/s390/multiarch/memccpy.c: Move to ...
5288 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
5289 * sysdeps/s390/ifunc-memccpy.h: New file.
5290
4c7b3cec
SL
52912018-12-18 Stefan Liebler <stli@linux.ibm.com>
5292
5293 * sysdeps/s390/multiarch/Makefile
5294 (sysdep_routines): Remove rawmemchr variants.
5295 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
5296 * sysdeps/s390/multiarch/ifunc-impl-list.c
5297 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
5298 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
5299 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
5300 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
5301 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
5302 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
5303 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
5304 * sysdeps/s390/ifunc-rawmemchr.h: New file.
5305
581a051c
SL
53062018-12-18 Stefan Liebler <stli@linux.ibm.com>
5307
5308 * sysdeps/s390/multiarch/Makefile
5309 (sysdep_routines): Remove memchr variants.
5310 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
5311 * sysdeps/s390/multiarch/ifunc-impl-list.c
5312 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
5313 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
5314 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
5315 * sysdeps/s390/multiarch/memchr.c: Move to ...
5316 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
5317 * sysdeps/s390/ifunc-memchr.h: New file.
5318 * sysdeps/s390/s390-64/memchr.S: Move to ...
5319 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
5320 for 31/64bit and ifunc handling.
5321 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
5322 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
5323 * sysdeps/s390/s390-32/memchr.S: Likewise.
5324
5d2ec20a
SL
53252018-12-18 Stefan Liebler <stli@linux.ibm.com>
5326
5327 * sysdeps/s390/multiarch/Makefile
5328 (sysdep_routines): Remove strcspn variants.
5329 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
5330 * sysdeps/s390/multiarch/ifunc-impl-list.c
5331 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
5332 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
5333 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
5334 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
5335 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
5336 * sysdeps/s390/multiarch/strcspn.c: Move to ...
5337 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
5338 * sysdeps/s390/ifunc-strcspn.h: New file.
5339
572cca93
SL
53402018-12-18 Stefan Liebler <stli@linux.ibm.com>
5341
5342 * sysdeps/s390/multiarch/Makefile
5343 (sysdep_routines): Remove strpbrk variants.
5344 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
5345 * sysdeps/s390/multiarch/ifunc-impl-list.c
5346 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
5347 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
5348 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
5349 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
5350 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
5351 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
5352 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
5353 * sysdeps/s390/ifunc-strpbrk.h: New file.
5354
483fc569
SL
53552018-12-18 Stefan Liebler <stli@linux.ibm.com>
5356
5357 * sysdeps/s390/multiarch/Makefile
5358 (sysdep_routines): Remove strspn variants.
5359 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
5360 * sysdeps/s390/multiarch/ifunc-impl-list.c
5361 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
5362 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
5363 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
5364 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
5365 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
5366 * sysdeps/s390/multiarch/strspn.c: Move to ...
5367 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
5368 * sysdeps/s390/ifunc-strspn.h: New file.
5369
26ea8760
SL
53702018-12-18 Stefan Liebler <stli@linux.ibm.com>
5371
5372 * sysdeps/s390/multiarch/Makefile
5373 (sysdep_routines): Remove strrchr variants.
5374 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
5375 * sysdeps/s390/multiarch/ifunc-impl-list.c
5376 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
5377 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
5378 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
5379 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
5380 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
5381 * sysdeps/s390/multiarch/strrchr.c: Move to ...
5382 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
5383 * sysdeps/s390/ifunc-strrchr.h: New file.
5384
a1361e65
SL
53852018-12-18 Stefan Liebler <stli@linux.ibm.com>
5386
5387 * sysdeps/s390/multiarch/Makefile
5388 (sysdep_routines): Remove strchrnul variants.
5389 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
5390 * sysdeps/s390/multiarch/ifunc-impl-list.c
5391 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
5392 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
5393 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
5394 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
5395 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
5396 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
5397 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
5398 * sysdeps/s390/ifunc-strchrnul.h: New file.
5399
32f12653
SL
54002018-12-18 Stefan Liebler <stli@linux.ibm.com>
5401
5402 * sysdeps/s390/multiarch/Makefile
5403 (sysdep_routines): Remove strchr variants.
5404 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
5405 * sysdeps/s390/multiarch/ifunc-impl-list.c
5406 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
5407 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
5408 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
5409 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
5410 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
5411 * sysdeps/s390/multiarch/strchr.c: Move to ...
5412 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
5413 * sysdeps/s390/ifunc-strchr.h: New file.
5414
316b8842
SL
54152018-12-18 Stefan Liebler <stli@linux.ibm.com>
5416
5417 * sysdeps/s390/multiarch/Makefile
5418 (sysdep_routines): Remove strncmp variants.
5419 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
5420 * sysdeps/s390/multiarch/ifunc-impl-list.c
5421 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
5422 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
5423 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
5424 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
5425 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
5426 * sysdeps/s390/multiarch/strncmp.c: Move to ...
5427 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
5428 * sysdeps/s390/ifunc-strncmp.h: New file.
5429
cdab85fe
SL
54302018-12-18 Stefan Liebler <stli@linux.ibm.com>
5431
5432 * sysdeps/s390/multiarch/Makefile
5433 (sysdep_routines): Remove strcmp variants.
5434 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
5435 * sysdeps/s390/multiarch/ifunc-impl-list.c
5436 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
5437 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
5438 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
5439 * sysdeps/s390/multiarch/strcmp.c: Move to ...
5440 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
5441 * sysdeps/s390/ifunc-strcmp.h: New file.
5442 * sysdeps/s390/s390-64/strcmp.S: Move to ...
5443 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
5444 for 31/64bit and ifunc handling.
5445 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
5446 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
5447 * sysdeps/s390/s390-32/strcmp.S: Likewise.
5448
b9353351
SL
54492018-12-18 Stefan Liebler <stli@linux.ibm.com>
5450
5451 * sysdeps/s390/multiarch/Makefile
5452 (sysdep_routines): Remove strncat variants.
5453 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
5454 * sysdeps/s390/multiarch/ifunc-impl-list.c
5455 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
5456 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
5457 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
5458 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
5459 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
5460 * sysdeps/s390/multiarch/strncat.c: Move to ...
5461 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
5462 * sysdeps/s390/ifunc-strncat.h: New file.
5463
8e5a0afb
SL
54642018-12-18 Stefan Liebler <stli@linux.ibm.com>
5465
5466 * sysdeps/s390/multiarch/Makefile
5467 (sysdep_routines): Remove strcat variants.
5468 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
5469 * sysdeps/s390/multiarch/ifunc-impl-list.c
5470 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
5471 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
5472 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
5473 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
5474 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
5475 * sysdeps/s390/multiarch/strcat.c: Move to ...
5476 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
5477 * sysdeps/s390/ifunc-strcat.h: New file.
5478
25218822
SL
54792018-12-18 Stefan Liebler <stli@linux.ibm.com>
5480
5481 * sysdeps/s390/multiarch/Makefile
5482 (sysdep_routines): Remove stpncpy variants.
5483 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
5484 * sysdeps/s390/multiarch/ifunc-impl-list.c
5485 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
5486 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
5487 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
5488 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
5489 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
5490 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
5491 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
5492 * sysdeps/s390/ifunc-stpncpy.h: New file.
5493
d1bdbf38
SL
54942018-12-18 Stefan Liebler <stli@linux.ibm.com>
5495
5496 * sysdeps/s390/multiarch/Makefile
5497 (sysdep_routines): Remove strncpy variants.
5498 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
5499 * sysdeps/s390/multiarch/ifunc-impl-list.c
5500 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
5501 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
5502 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
5503 * sysdeps/s390/multiarch/strncpy.c: Move to ...
5504 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
5505 * sysdeps/s390/ifunc-strncpy.h: New file.
5506 * sysdeps/s390/s390-64/strncpy.S: Move to ...
5507 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
5508 and adjust ifunc handling.
5509 * sysdeps/s390/s390-32/strncpy.S: Move to ...
5510 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
5511 and adjust ifunc handling.
5512 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
5513 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
5514
97044931
SL
55152018-12-18 Stefan Liebler <stli@linux.ibm.com>
5516
5517 * sysdeps/s390/multiarch/Makefile
5518 (sysdep_routines): Remove stpcpy variants.
5519 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
5520 * sysdeps/s390/multiarch/ifunc-impl-list.c
5521 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
5522 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
5523 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
5524 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
5525 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
5526 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
5527 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
5528 * sysdeps/s390/ifunc-stpcpy.h: New file.
5529
914a4e05
SL
55302018-12-18 Stefan Liebler <stli@linux.ibm.com>
5531
5532 * sysdeps/s390/multiarch/Makefile
5533 (sysdep_routines): Remove strcpy variants.
5534 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
5535 * sysdeps/s390/multiarch/ifunc-impl-list.c
5536 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
5537 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
5538 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
5539 * sysdeps/s390/multiarch/strcpy.c: Move to ...
5540 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
5541 * sysdeps/s390/ifunc-strcpy.h: New file.
5542 * sysdeps/s390/s390-64/strcpy.S: Move to ...
5543 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
5544 for 31/64bit and ifunc handling.
5545 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
5546 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
5547 * sysdeps/s390/s390-32/strcpy.S: Likewise.
5548
de10e44d
SL
55492018-12-18 Stefan Liebler <stli@linux.ibm.com>
5550
5551 * sysdeps/s390/multiarch/Makefile
5552 (sysdep_routines): Remove strnlen variants.
5553 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
5554 * sysdeps/s390/multiarch/ifunc-impl-list.c
5555 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
5556 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
5557 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
5558 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
5559 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
5560 * sysdeps/s390/multiarch/strnlen.c: Move to ...
5561 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
5562 * sysdeps/s390/ifunc-strnlen.h: New file.
5563
ff3ca374
SL
55642018-12-18 Stefan Liebler <stli@linux.ibm.com>
5565
5566 * sysdeps/s390/multiarch/Makefile
5567 (sysdep_routines): Remove strlen variants.
5568 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
5569 * sysdeps/s390/multiarch/ifunc-impl-list.c
5570 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
5571 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
5572 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
5573 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
5574 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
5575 * sysdeps/s390/multiarch/strlen.c: Move to ...
5576 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
5577 * sysdeps/s390/ifunc-strlen.h: New file.
5578
d2c4c403
SL
55792018-12-18 Stefan Liebler <stli@linux.ibm.com>
5580
5581 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
5582 * sysdeps/s390/multiarch/ifunc-impl-list.c
5583 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
5584 * sysdeps/s390/ifunc-memmem.h: New file.
5585 * sysdeps/s390/memmem.c: Likewise.
5586 * sysdeps/s390/memmem-c.c: Likewise.
5587 * sysdeps/s390/memmem-vx.c: Likewise.
5588
8c25dddd
SL
55892018-12-18 Stefan Liebler <stli@linux.ibm.com>
5590
5591 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
5592 * sysdeps/s390/multiarch/ifunc-impl-list.c
5593 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
5594 * sysdeps/s390/ifunc-strstr.h: New file.
5595 * sysdeps/s390/strstr.c: Likewise.
5596 * sysdeps/s390/strstr-c.c: Likewise.
5597 * sysdeps/s390/strstr-vx.c: Likewise.
5598
cdd927d9
SL
55992018-12-18 Stefan Liebler <stli@linux.ibm.com>
5600
5601 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
5602 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
5603 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
5604 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
5605 New defines.
5606 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
5607 * sysdeps/s390/memmove-c.c: New file.
5608 * sysdeps/s390/memmove.c: Likewise.
5609 * sysdeps/s390/multiarch/ifunc-impl-list.c
5610 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
5611
2ee1bc57
SL
56122018-12-18 Stefan Liebler <stli@linux.ibm.com>
5613
5614 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
5615 * sysdeps/s390/configure.ac: Add check for z13 support.
5616 * sysdeps/s390/configure: Regenerated.
5617
d097d976
SL
56182018-12-18 Stefan Liebler <stli@linux.ibm.com>
5619
5620 * sysdeps/s390/memcopy.h: New file.
5621
e099aab0
SL
56222018-12-18 Stefan Liebler <stli@linux.ibm.com>
5623
5624 * sysdeps/s390/s390-32/bcopy.S: Remove.
5625 * sysdeps/s390/s390-64/bcopy.S: Likewise.
5626
18eb862d
SL
56272018-12-18 Stefan Liebler <stli@linux.ibm.com>
5628
5629 * sysdeps/s390/ifunc-memcpy.h: New File.
5630 * sysdeps/s390/memcpy.S: Move to ...
5631 * sysdeps/s390/memcpy-z900.S ... here.
5632 Move implementations from memcpy-s390x.s to here.
5633 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
5634 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5635 Remove memcpy/mempcpy variants.
5636 * sysdeps/s390/Makefile (sysdep_routines):
5637 Add memcpy/mempcpy variants.
5638 * sysdeps/s390/multiarch/ifunc-impl-list.c
5639 (__libc_ifunc_impl_list): Adjust ifunc variants for
5640 memcpy and mempcpy.
5641 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
5642 to ...
5643 * sysdeps/s390/memcpy.c: ... here.
5644 Adjust ifunc variants for memcpy.
5645 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
5646 * sysdeps/s390/mempcpy.c: ... here.
5647 Adjust ifunc variants for mempcpy.
5648 * sysdeps/s390/mempcpy.S: Delete file.
5649
df3eb8de
SL
56502018-12-18 Stefan Liebler <stli@linux.ibm.com>
5651
5652 * sysdeps/s390/s390-64/memcpy.S: Move to ...
5653 * sysdeps/s390/memcpy.S: ... here.
5654 Adjust to be usable for 31/64bit.
5655 * sysdeps/s390/s390-32/memcpy.S: Delete File.
5656 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
5657 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
5658 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5659 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
5660 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
5661 Adjust to be usable for 31/64bit.
5662 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
5663 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
5664 * sysdeps/s390/multiarch/memcpy.c: ... here.
5665 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
5666
b7e024a8
SL
56672018-12-18 Stefan Liebler <stli@linux.ibm.com>
5668
5669 * sysdeps/s390/ifunc-memcmp.h: New File.
5670 * sysdeps/s390/memcmp.S: Move to ...
5671 * sysdeps/s390/memcmp-z900.S ... here.
5672 Move implementations from memcmp-s390x.s to here.
5673 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
5674 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5675 Remove memcmp variants.
5676 * sysdeps/s390/Makefile (sysdep_routines):
5677 Add memcmp variants.
5678 * sysdeps/s390/multiarch/ifunc-impl-list.c
5679 (__libc_ifunc_impl_list): Adjust ifunc variants for
5680 memcmp.
5681 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
5682 to ...
5683 * sysdeps/s390/memcmp.c: ... here.
5684 Adjust ifunc variants for memcmp.
5685
6c6b8c74
SL
56862018-12-18 Stefan Liebler <stli@linux.ibm.com>
5687
5688 * sysdeps/s390/s390-64/memcmp.S: Move to ...
5689 * sysdeps/s390/memcmp.S: ... here.
5690 Adjust to be usable for 31/64bit.
5691 * sysdeps/s390/s390-32/memcmp.S: Delete File.
5692 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
5693 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
5694 Remove memcmp.
5695 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5696 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
5697 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
5698 Adjust to be usable for 31/64bit.
5699 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
5700 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
5701 * sysdeps/s390/multiarch/memcmp.c: ... here.
5702 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
5703
07be3928
SL
57042018-12-18 Stefan Liebler <stli@linux.ibm.com>
5705
5706 * sysdeps/s390/s390-32/bzero.S: Delete file.
5707 * sysdeps/s390/s390-64/bzero.S: Likewise.
5708 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
5709 * sysdeps/s390/bzero.c: New file.
5710 * sysdeps/s390/memset-z900.S: Add bzero entry points.
5711 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
5712 * sysdeps/s390/multiarch/ifunc-impl-list.c
5713 (__libc_ifunc_impl_list): Add bzero ifunc variants.
5714
712a254a
SL
57152018-12-18 Stefan Liebler <stli@linux.ibm.com>
5716
5717 * sysdeps/s390/ifunc-memset.h: New File.
5718 * sysdeps/s390/memset.S: Move to ...
5719 * sysdeps/s390/memset-z900.S ... here.
5720 Move implementations from memset-s390x.s to here.
5721 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
5722 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5723 Remove memset variants.
5724 * sysdeps/s390/Makefile (sysdep_routines):
5725 Add memset variants.
5726 * sysdeps/s390/multiarch/ifunc-impl-list.c
5727 (__libc_ifunc_impl_list): Adjust ifunc variants for
5728 memset.
5729 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
5730 to ...
5731 * sysdeps/s390/memset.c: ... here.
5732 Adjust ifunc variants for memset.
5733
5f1743d1
SL
57342018-12-18 Stefan Liebler <stli@linux.ibm.com>
5735
5736 * sysdeps/s390/s390-64/memset.S: Move to ...
5737 * sysdeps/s390/memset.S: ... here.
5738 Adjust to be usable for 31/64bit.
5739 * sysdeps/s390/s390-32/memset.S: Delete File.
5740 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
5741 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
5742 Remove memset.
5743 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5744 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
5745 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
5746 Adjust to be usable for 31/64bit.
5747 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
5748 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
5749 * sysdeps/s390/multiarch/memset.c: ... here.
5750 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
5751
e8023f26
SL
57522018-12-18 Stefan Liebler <stli@linux.ibm.com>
5753
5754 * sysdeps/s390/multiarch/ifunc-resolve.h
5755 (s390_libc_ifunc_init, s390_libc_ifunc,
5756 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
5757
b8686c0d
SL
57582018-12-18 Stefan Liebler <stli@linux.ibm.com>
5759
5760 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
5761 * sysdeps/s390/configure.ac: Add check for z10 support.
5762 * sysdeps/s390/configure: Regenerated.
5763
cd815050
L
57642018-12-18 H.J. Lu <hongjiu.lu@intel.com>
5765
5766 * sysdeps/i386/atomic-machine.h: Merged with ...
5767 * sysdeps/x86_64/atomic-machine.h: To ...
5768 * sysdeps/x86/atomic-machine.h: This. New file.
5769
053c52b1
FW
57702018-12-18 Florian Weimer <fweimer@redhat.com>
5771
5772 Rewrite locale/gen-translit.pl in Python.
5773 * locale/Makefile (generated): Add C-translit.h.
5774 (before-compile): Add $(objpfx)C-translit.h.
5775 (C-translit.h): Move to $(objpfx). Create target directory.
5776 Build using Python script.
5777 * locale/gen-translit.py: New file.
5778 * locale/gen-translit.pl: Remove file.
5779 * locale/C-translit.h.in: Change comment character to '#' for
5780 easier parsing without a C preprocessor.
5781 * locale/C-translit.h: Remove generated file.
5782 * manual/install.texi (Tools for Compilation): Do not mention
5783 C-translit.h.
5784 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
5785 Remove locale/C-translit.h.
5786 * scripts/update-copyrights: Likewise.
5787 * INSTALL: Regenerate.
5788
40e6c1ec
FW
57892018-12-18 Florian Weimer <fweimer@redhat.com>
5790
5791 [BZ #23995]
5792 * localedata/locales/bi_VU: Remove executable bit from file.
5793
6b5c8607 57942018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
6e15f3e2
AA
5795
5796 * include/time.h
5797 (__localtime64): Add.
5798 * manual/maint.texi: Document Y2038 symbol handling.
5799 * time/localtime.c
5800 (__localtime64): Add.
bfb79db4 5801 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
6e15f3e2 5802
df648905
JM
58032018-12-17 Joseph Myers <joseph@codesourcery.com>
5804
551e81d9
JM
5805 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
5806 Do not clobber r12.
5807
df648905
JM
5808 * scripts/glibcextract.py (compare_macro_consts): Take parameters
5809 to allow extra macros from first or second sources.
5810 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
5811 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5812 (tests-special): Add $(objpfx)tst-mman-consts.out.
5813 ($(objpfx)tst-mman-consts.out): New makefile target.
5814
6bbfc5c0
MH
58152018-12-17 Mao Han <han_mao@c-sky.com>
5816
5817 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
5818 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
5819 without stat64 system call support.
5820 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
5821 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
5822 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
5823 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
5824 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
5825 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
5826 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
5827 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
5828 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
5829 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
5830 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
5831
ef202e53
PE
58322018-12-15 Paul Eggert <eggert@cs.ucla.edu>
5833
5834 regex: fix storage-exhaustion error
5835 [BZ #18040]
5836 * posix/regexec.c (get_subexp):
5837 Do not continue if storage is exhausted.
5838
077caf61
AG
58392018-12-15 Assaf Gordon <assafgordon@gmail.com>
5840
5841 regex: fix heap-use-after-free error
5842 [BZ #18040]
5843 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
5844 https://debbugs.gnu.org/32592
5845 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
5846 call extend_buffers which reallocates the re_string_t internal buffer.
5847 Local variable 'buf' was not updated in such case, resulting in
5848 use-after-free.
5849 * posix/regexec.c (get_subexp): Update 'buf' after call to
5850 get_subexp_sub.
5851
0c1719e6
FW
58522018-12-15 Florian Weimer <fweimer@redhat.com>
5853
5854 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
5855 (minimum_stride_size): Use it.
5856 (support_blob_repeat_allocate): Likewise.
5857
033a2c0a
JM
58582018-12-14 Joseph Myers <joseph@codesourcery.com>
5859
5860 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
5861 definition.
5862 (acosh): Likewise.
5863 (atanh): Likewise.
5864
e361dc04
FW
58652018-12-14 Florian Weimer <fweimer@redhat.com>
5866
5867 * manual/process.texi (Process Creation Concepts): Remove
5868 documentation of process (ID) lifetime. List more process
5869 creation functions. Reference Process Identification section.
5870 (Process Identification): Add information about process ID
5871 lifetime. Describe Linux thread/task IDs.
5872 * manual/signal.texi (Signaling Another Process): Mention that the
5873 signal is always sent to the process.
5874
bd51ff5e
GG
58752018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5876
5877 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
5878 and tst-ldbl-efgcvt.
5879 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
5880 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
5881 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
5882 (fcvt_tests, output_error, output_r_error, do_test): Use the
5883 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
5884 select the type of floating-point variables and arguments; to
5885 produce extra tests for double and conversion specifiers for
5886 printf; and to set the names of called functions.
5887 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
5888 in tst-efgcvt-template.c.
5889 * misc/tst-ldbl-efgcvt.c: Likewise.
5890
268bb71e
SL
58912018-12-14 Stefan Liebler <stli@linux.ibm.com>
5892
5893 * nss/Makefile (tst-nss-test3.out): New rule.
5894
db6df070
JM
58952018-12-13 Joseph Myers <joseph@codesourcery.com>
5896
5897 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
5898 clobber sp.
5899
ade8b817
CD
59002018-12-13 fanjinke <fanjinke@hygon.cn>
5901
5902 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
5903 "HygonGenuine".
5904
3d265911
AS
59052018-12-13 Andreas Schwab <schwab@suse.de>
5906
f21e8f8c 5907 [BZ #23861]
3d265911 5908 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
f21e8f8c
AS
5909 (__pthread_rwlock_rdlock_full): Update expected value for
5910 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
5911 * nptl/tst-rwlock-pwn.c: New file.
5912 * nptl/Makefile (tests): Add tst-rwlock-pwn.
3d265911 5913
bf8ae8c0
JM
59142018-12-12 Joseph Myers <joseph@codesourcery.com>
5915
5916 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
5917 definition.
5918
de099757
LS
59192018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5920
5921 * benchtests/scripts/compare_bench.py (do_compare): write to
5922 stderr in casestat is not present.
5923 * benchtests/scripts/compare_bench.py (plot_graphs): write to
5924 stderr in case timings field is not present. Also string showing
5925 the output filename goes into the stderr.
5926
1990185f
LS
59272018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5928
5929 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
5930 and ZeroDivisorError exceptions.
5931 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
5932 argument to loop through user provided statistics.
5933 * benchtests/scripts/compare_bench.py (main): Include the --stats
5934 argument.
5935
587426d4
LS
59362018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5937
5938 * benchtests/scripts/compare_bench.py (compare_runs): Continue
5939 instead of return.
5940
46703efa
FW
59412018-12-12 Florian Weimer <fweimer@redhat.com>
5942
5943 * sysdeps/posix/timespec_get.c: Add missing “any later version”
5944 clause to copyright header.
5945
1d880d4a
TMQMF
59462018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5947
5948 [BZ #23614]
5949 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
5950 registers saved in the stack frame.
5951 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
5952 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
5953
1a502f52
GG
59542018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5955
5956 * include/bits/monetary-ldbl.h: New file.
5957 * include/bits/printf-ldbl.h: Likewise.
5958 * include/bits/stdio-ldbl.h: Likewise.
5959 * include/bits/stdlib-ldbl.h: Likewise.
5960 * include/bits/syslog-ldbl.h: Likewise.
5961 * include/bits/wchar-ldbl.h: Likewise.
5962
df682d1d
GG
59632018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5964
5965 * libio/libio.h: Remove redirection for _IO_vfprintf.
5966
c2c082c1
AS
59672018-12-11 Andreas Schwab <schwab@suse.de>
5968
5969 * Makerules: Remove all references to abilist-pattern.
5970 (update-all-abi): Simplify find expression.
5971
505b5b29
SN
59722018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
5973
5974 [BZ #23961]
5975 * math/auto-libm-test-in: Add new test case.
5976 * math/auto-libm-test-out-pow: Regenerated.
5977 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
5978
304c61a2
DD
59792018-12-10 DJ Delorie <dj@redhat.com>
5980
5981 [BZ #23948]
5982 * support/test-container.c: Move postclean step to before we
5983 change namespaces.
5984
a8110b72
JM
59852018-12-10 Joseph Myers <joseph@codesourcery.com>
5986
cb7be159
JM
5987 * scripts/gen-as-const.py (main): Handle --python option.
5988 * scripts/gen-py-const.awk: Remove.
5989 * Makerules (py-const-script): Use gen-as-const.py.
5990 ($(py-const)): Likewise.
5991 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
5992 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
5993 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
5994 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
5995 ~PTHREAD_MUTEX_NO_ELISION_NP.
5996 * manual/README.pretty-printers: Update reference to
5997 gen-py-const.awk.
5998
a8110b72
JM
5999 * scripts/glibcextract.py: New file.
6000 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
6001 or tempfile. Import glibcexctract.
6002 (compute_c_consts): Remove. Moved to glibcextract.py.
6003 (gen_test): Update reference to compute_c_consts.
6004 (main): Likewise.
6005 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
6006 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
6007 * sysdeps/unix/sysv/linux/Makefile
6008 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
6009 Redirect stderr as well as stdout.
6010
f9ba9eb8
RÁE
60112018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
6012
6013 [BZ #19767]
6014 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
b39d961c
TS
6015 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
6016 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
f9ba9eb8 6017 ALWAYS_USE_VSYSCALL.
b39d961c 6018 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
f9ba9eb8
RÁE
6019 ALWAYS_USE_VSYSCALL.
6020 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
6021 ALWAYS_USE_VSYSCALL.
6022
8d20a2f4
FW
60232018-12-10 Florian Weimer <fweimer@redhat.com>
6024
6025 [BZ #23972]
6026 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
6027 offset instead of count for clarity. Fix typo in comment.
6028 (__old_getdents64): Keep track of previous offset. Use it to call
6029 handle_overflow.
6030 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
6031 that d_off is never zero.
6032
80472e2f
AS
60332018-12-10 Andreas Schwab <schwab@suse.de>
6034
6035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
6036 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
6037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
6038 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
6039 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
6040
0afcb29d
JM
60412018-12-10 Joseph Myers <joseph@codesourcery.com>
6042
6043 * timezone/private.h: Update from tzcode 2018g.
6044 * timezone/tzfile.h: Likewise.
6045 * timezone/tzselect.ksh: Likewise.
6046 * timezone/zdump.c: Likewise.
6047 * timezone/zic.c: Likewise.
6048
b93f4052
PP
60492018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6050
6051 [BZ #23490]
6052 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
6053 (do_test): Adjust buffer size and fix format.
6054
7c9a7c68
DD
60552018-12-07 DJ Delorie <dj@redhat.com>
6056
6057 [BZ #23907]
6058 * malloc/tst-tcfree3.c: New.
6059 * malloc/Makefile: Add it.
6060
37caec3a
L
60612018-12-07 H.J. Lu <hongjiu.lu@intel.com>
6062
6063 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
6064
10446f5d
GG
60652018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6066
6067 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
6068 used as a mask for the mode argument of __vfscanf_internal and
6069 __vfwscanf_internal.
6070 * stdio-common/vfscanf-internal.c
6071 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
6072 (__strtof128_internal): Define to __wcstof128_internal.
6073 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
6074 __strtof128_internal or __wcstof128_internal when the format of
6075 long double is the same as _Float128.
6076
45f33aac
ST
60772018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
6078
6079 * include/unistd.h (__confstr): Add prototype and hidden prototype.
6080 * posix/confstr.c (confstr): Rename to __confstr.
6081 (__confstr): Add hidden def.
6082 (confstr): Add weak alias for __confstr.
6083 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
6084 confstr.
6085
a092ca94
L
60862018-12-07 H.J. Lu <hongjiu.lu@intel.com>
6087
6088 * NEWS: Mention getcpu.
6089 * include/sched.h (__getcpu): New libc_hidden_proto.
6090 * manual/resource.texi: Document getcpu.
6091 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
6092 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
6093 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
6094 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6095 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6096 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6097 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6098 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6099 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6100 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6101 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6102 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6103 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
6104 Likewise.
6105 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6106 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6107 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6109 Likewise.
6110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6111 Likewise.
6112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
6113 Likewise.
6114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
6115 Likewise.
6116 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
6117 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6118 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6119 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6120 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6121 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6122 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6123 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6124 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
6125 * sysdeps/unix/sysv/linux/getcpu.c: New file.
6126 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
6127 Also check getcpu.
6128
7c857b6f
ST
61292018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
6130
6131 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
6132 functions.
6133 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
6134
3a3fb755
FW
61352018-12-07 Florian Weimer <fweimer@redhat.com>
6136
6137 [BZ #17405]
6138 * posix/Makefile (routines): Add spawn_faction_addfchdir.
6139 * posix/Versions (GLIBC_2.29): Export
6140 posix_spawn_file_actions_addfchdir_np.
6141 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
6142 * posix/spawn_faction_destroy.c
6143 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
6144 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
6145 and the field action.fchdir_action.
6146 * posix/tst-spawn-chdir.c (add_chdir): New function.
6147 (do_test): Add do_fchdir loop. Call add_chdir.
6148 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
6149 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6150 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
6151 posix_spawn_file_actions_addfchdir_np.
6152 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
6153 Likewise.
6154 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
6155 Likewise.
6156 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
6157 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
6158 Likewise.
6159 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
6160 Likewise.
6161 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
6162 Likewise.
6163 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
6164 Likewise.
6165 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
6166 Likewise.
6167 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
6168 Likewise.
6169 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6170 (GLIBC_2.29): Likewise.
6171 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6172 (GLIBC_2.29): Likewise.
6173 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6174 (GLIBC_2.29): Likewise.
6175 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6176 (GLIBC_2.29): Likewise.
6177 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
6178 Likewise.
6179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6180 (GLIBC_2.29): Likewise.
6181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6182 (GLIBC_2.29): Likewise.
6183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6184 (GLIBC_2.29): Likewise.
6185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6186 (GLIBC_2.29): Likewise.
6187 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
6188 Likewise.
6189 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
6190 Likewise.
6191 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
6192 Likewise.
6193 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
6194 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
6195 Likewise.
6196 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
6197 Likewise.
6198 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
6199 Likewise.
6200 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
6201 Likewise.
6202
c37cd439
JM
62032018-12-06 Joseph Myers <joseph@codesourcery.com>
6204
6205 * manual/texinfo.tex: Update to version 2018-09-21.20 with
6206 trailing whitespace removed.
6207 * scripts/config.guess: Update to version 2018-11-28.
6208 * scripts/config.sub: Update to version 2018-11-28.
6209 * scripts/install-sh: Update to version 2018-03-11.20.
6210 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
6211 * scripts/move-if-change: Update to version 2018-03-07 03:47.
6212
899478c2
FW
62132018-12-07 Florian Weimer <fweimer@redhat.com>
6214
6215 [BZ #23927]
6216 CVE-2018-19591
6217 * inet/tst-if_index-long.c: New file.
6218 * inet/Makefile (tests): Add tst-if_index-long.
6219
f255336a
FW
62202018-12-07 Florian Weimer <fweimer@redhat.com>
6221
6222 * support/check.h (support_record_failure_is_failed): Declare.
6223 * support/descriptors.h: New file.
6224 * support/support_descriptors.c: Likewise.
6225 * support/tst-support_descriptors.c: Likewise.
6226 * support/support_record_failure.c
6227 (support_record_failure_is_failed): New function.
6228 * support/Makefile (libsupport-routines): Add support_descriptors.
6229 (tests): Add tst-support_descriptors.
6230
35caceb1
ZW
62312018-12-05 Zack Weinberg <zackw@panix.com>
6232 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6233
6234 * stdio-common/vfprintf-internal.c
6235 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
6236 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
6237 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
6238 and __no_long_double.
6239 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
6240 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
6241 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
6242 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
6243 and __nldbl_*syslog* functions.
6244 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
6245 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
6246 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
6247 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
6248 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
6249 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
6250 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
6251 (__nldbl_vwprintf, __nldbl_wprintf):
6252 Directly call the appropriate __v*printf_internal routine, passing
6253 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
6254 variable names.
6255 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
6256 (__nldbl___printf_chk, __nldbl___snprintf_chk)
6257 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
6258 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
6259 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
6260 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
6261 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
6262 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
6263 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
6264 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
6265 Likewise, and also pass PRINTF_FORTIFY when appropriate.
6266 (__nldbl_syslog, __nldbl_vsyslog):
6267 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
6268 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
6269 appropriate.
6270 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
6271 appropriate.
6272
4e2f43f8
ZW
62732018-12-05 Zack Weinberg <zackw@panix.com>
6274 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6275
6276 [BZ #11319]
6277 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
6278 Moved here from debug/vsprintf_chk.c.
6279 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
6280 and completion logic for the strfile to match exactly what
6281 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
6282 _IO_str_init_static_internal instead of maxlen-1.
6283 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
6284 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
6285 __vsprintf_internal.
6286
6287 * debug/vsprintf_chk.c (__vsprintf_chk)
6288 * debug/sprintf_chk.c (__sprintf_chk):
6289 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
6290 'flags' argument is positive, and slen as maxlen. No need to lock
6291 the FILE and/or construct a temporary FILE. Minimize and normalize
6292 header inclusions and variable names. Do not libc_hidden_def anything.
6293
6294 * debug/asprintf_chk.c (__asprintf_chk)
6295 * debug/dprintf_chk.c (__dprintf_chk)
6296 * debug/fprintf_chk.c (__fprintf_chk)
6297 * debug/fwprintf_chk.c (__fwprintf_chk)
6298 * debug/printf_chk.c (__printf_chk)
6299 * debug/snprintf_chk.c (__snprintf_chk)
6300 * debug/swprintf_chk.c (__swprintf_chk)
6301 * debug/vasprintf_chk.c (__vasprintf_chk)
6302 * debug/vdprintf_chk.c (__vdprintf_chk)
6303 * debug/vfprintf_chk.c (__vfprintf_chk)
6304 * debug/vfwprintf_chk.c (__vfwprintf_chk)
6305 * debug/vprintf_chk.c (__vprintf_chk)
6306 * debug/vsnprintf_chk.c (__vsnprintf_chk)
6307 * debug/vswprintf_chk.c (__vswprintf_chk)
6308 * debug/vwprintf_chk.c (__vwprintf_chk)
6309 * debug/wprintf_chk.c (__wprintf_chk):
6310 Directly call the corresponding vxxprintf_internal function, passing
6311 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
6312 the FILE and/or construct a temporary FILE. Minimize and normalize
6313 header inclusions and variable names. Do not libc_hidden_def anything.
6314
6315 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
6316 __obstack_vprintf_internal.
6317 (__obstack_vprintf_chk): Convert into a wrapper that calls
6318 __obstack_vprintf_internal (these two functions already had the
6319 same code) and move to new file...
6320 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
6321 file.
6322 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
6323 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
6324 * debug/Makefile (routines): Add vobprintf_chk.
6325
6326 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
6327 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
6328 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
6329 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
6330 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
6331 (__nldbl___obstack_vfprintf_chk):
6332 Directly call the corresponding vxxprintf_internal function,
6333 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
6334 duplicate comparison of slen with 0 or maxlen from the corresponding
6335 non-__nldbl function.
6336
6337 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
6338 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
6339 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
6340 Remove libc_hidden_proto.
6341
6342 * stdio-common/vfprintf-internal.c
6343 (__vfprintf_internal, __vfwprintf_internal):
6344 Do not check _IO_FLAGS2_FORTIFY.
6345 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
6346 * libio/libioP.h: Update prototype of __vsprintf_internal and add
6347 a comment explaining why it has the maxlen argument.
6348 (_IO_acquire_lock_clear_flags2_fct): Remove.
6349 (_IO_acquire_lock_clear_flags2): Remove.
6350 (_IO_release_lock): Remove conditional statement which will
6351 now never execute.
6352 (_IO_acquire_lock): Remove variable which is now unused.
6353 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
6354 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
6355
6356 * stdio-common/Makefile (tests): Add tst-bz11319 and
6357 tst-bz11319-fortify2.
6358 (CFLAGS-tst-bz11319-fortify2.c): New macro.
6359 * stdio-common/tst-bz11319-fortify2.c: New file.
6360 * stdio-common/tst-bz11319.c: Likewise.
6361
124fc732
ZW
63622018-12-05 Zack Weinberg <zackw@panix.com>
6363 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6364
6365 * misc/syslog.c: Include libioP.h, not iolibio.h.
6366 (__vsyslog_internal): New function with the former body of
6367 __vsyslog_chk; takes mode_flags argument same as
6368 __v*printf_internal. Call __vfprintf_internal directly.
6369
6370 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
6371 Remove libc_hidden_def.
6372 (__syslog, __syslog_chk): Use __vsyslog_internal.
6373 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
6374
6375 * include/sys/syslog.h: Add multiple inclusion guard.
6376 Add prototype for __vsyslog_internal.
6377 Remove declaration and libc_hidden_proto for __vsyslog_chk.
6378
6379 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
6380 Use __vsyslog_internal.
6381
698fb75b
ZW
63822018-12-05 Zack Weinberg <zackw@panix.com>
6383 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6384
6385 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
6386 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
6387 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
6388 New functions.
6389 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
6390 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
6391
6392 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
6393 Include wctype.h here if COMPILE_WPRINTF is defined.
6394 Define __vfprintf_internal or __vfwprintf_internal, depending
6395 on COMPILE_WPRINTF.
6396 Temporarily, on entry to this function, update mode_flags
6397 according to the environmental settings corresponding to
6398 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
6399 Throughout, check mode_flags instead of __ldbl_is_dbl and
6400 _IO_FLAGS2_FORTIFY on the destination FILE.
6401 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
6402 Include vfprintf-internal.c. Don't include wctype.h.
6403 * stdio-common/vfprintf.c: New file. Just define __vfprintf
6404 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
6405 and vfprintf.
6406 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
6407 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
6408 and vfwprintf.
6409 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
6410
6411 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
6412 and add mode_flags argument; use __vfprintf_internal.
6413 (__vdprintf): New function. Alias vdprintf to this.
6414 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
6415 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
6416 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
6417 (__obstack_printf): Use __obstack_printf_internal.
6418 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
6419 public aliases __vsnprintf and vsnprintf.
6420 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
6421 called internally.
6422 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
6423 public aliases _IO_vsprintf and vsprintf.
6424 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
6425 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
6426 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
6427 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
6428 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
6429
6430 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
6431 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
6432 * stdio-common/fprintf.c, stdio-common/fxprintf.c
6433 * stdio-common/printf.c: Use __vfprintf_internal.
6434
6435 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
6436 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
6437 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
6438
6439 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
6440 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
6441 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
6442 __vfwprintf_internal.
6443
6444 * libio/libio.h: Remove libc_hidden_proto and declaration for
6445 _IO_vfprintf.
6446 Remove declaration of _IO_vfwprintf.
6447 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
6448 _IO_vsprintf.
6449 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
6450 _IO_obstack_printf.
6451 * include/stdio.h: Add prototype for __vasprintf.
6452 (__vsnprintf): Remove declaration, because there are no more
6453 internal calls.
6454 * include/wchar.h (__vfwprintf, __vswprintf): Remove
6455 declaration, because there are no more internal calls.
6456
6457 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
6458 __vsnprintf_internal, instead of _IO_vsnprintf.
6459 * argp/argp-help.c (__argp_error, __argp_failure): Use
6460 __vasprintf_internal, instead of _IO_vasprintf.
6461 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
6462 redefine, because there are no more internal calls.
6463
d91798b3
ZW
64642018-12-05 Zack Weinberg <zackw@panix.com>
6465 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6466
6467 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
6468 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
6469 Include libio/strfile.h instead of libioP.h.
6470 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
6471 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
6472 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
6473 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
6474 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
6475 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
6476 necessary. Do not set __no_long_double. Normalize variable names.
6477 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
6478 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
6479 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
6480 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
6481 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
6482 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
6483 Call __vfscanf_internal / __vfwscanf_internal directly, passing
6484 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
6485 Do not set __no_long_double. Normalize variable names.
6486
b87eb3f8
ZW
64872018-12-05 Zack Weinberg <zackw@panix.com>
6488 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6489
6490 * stdio-common/isoc99_scanf.c
6491 * stdio-common/isoc99_fscanf.c
6492 * stdio-common/isoc99_sscanf.c
6493 * stdio-common/isoc99_vscanf.c
6494 * stdio-common/isoc99_vfscanf.c
6495 * stdio-common/isoc99_vsscanf.c
6496 * wcsmbs/isoc99_wscanf.c
6497 * wcsmbs/isoc99_fwscanf.c
6498 * wcsmbs/isoc99_swscanf.c
6499 * wcsmbs/isoc99_vwscanf.c
6500 * wcsmbs/isoc99_vfwscanf.c
6501 * wcsmbs/isoc99_vswscanf.c:
6502 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
6503 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
6504 No need to lock and unlock the FILE passed to that function.
6505
6506 * stdio-common/vfscanf-internal.c
6507 (__vfscanf_internal, __vfwscanf_internal):
6508 Don't look at _IO_FLAGS2_SCANF_STD.
6509 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
6510 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
6511 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
6512
349718d4
ZW
65132018-12-05 Zack Weinberg <zackw@panix.com>
6514 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6515
6516 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
6517 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
6518 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
6519 * libio/strfile.h: Add multiple inclusion guard.
6520 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
6521
6522 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
6523 consistency with the other version of this file.
6524 (ldbl_compat_symbol): New macro.
6525 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
6526 New macro.
6527
6528 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
6529 Define __vfscanf_internal or __vfwscanf_internal, depending on
6530 COMPILE_WSCANF; don't define any other public symbols.
6531 Remove errval and code to set errp.
6532 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
6533 as the mode_flags argument.
6534 (encode_error, conv_error, input_error): Don't set errval.
6535 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
6536 Include vfscanf-internal.c.
6537 * stdio-common/vfscanf.c: New file defining the public entry
6538 point vfscanf, which calls __vfscanf_internal.
6539 * stdio-common/vfwscanf.c: New file defining the public entry
6540 point vfwscanf, which calls __vfwscanf_internal.
6541
6542 * stdio-common/iovfscanf.c: New file.
6543 * stdio-common/iovfwscanf.c: Likewise.
6544
6545 * stdio-common/Makefile (routines): Add vfscanf-internal,
6546 vfwscanf-internal, iovfscanf, iovfwscanf.
6547 * stdio-common/Versions: Mention GLIBC_2.29, so that
6548 it can be used in SHLIB_COMPAT expressions.
6549 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
6550 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
6551 Call __vfscanf_internal, instead of _IO_vfscanf.
6552 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
6553 _IO_vfscanf.
6554 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
6555 _IO_vfwscanf.
6556
6557 * libio/iovsscanf.c: Clean up includes, when possible. Use
6558 _IO_strfile_read or _IO_strfile_readw, when needed. Call
6559 __vfscanf_internal or __vfwscanf_internal directly.
6560 * libio/iovswscanf.c: Likewise.
6561 * libio/swscanf.c: Likewise.
6562 * libio/vscanf.c: Likewise.
6563 * libio/vwscanf.c: Likewise.
6564 * libio/wscanf.c: Likewise.
6565 * stdio-common/isoc99_fscanf.c: Likewise.
6566 * stdio-common/isoc99_scanf.c: Likewise.
6567 * stdio-common/isoc99_sscanf.c: Likewise.
6568 * stdio-common/isoc99_vfscanf.c: Likewise.
6569 * stdio-common/isoc99_vscanf.c: Likewise.
6570 * stdio-common/isoc99_vsscanf.c: Likewise.
6571 * stdio-common/scanf.c: Likewise.
6572 * stdio-common/sscanf.c: Likewise.
6573 * wcsmbs/isoc99_fwscanf.c: Likewise.
6574 * wcsmbs/isoc99_swscanf.c: Likewise.
6575 * wcsmbs/isoc99_vfwscanf.c: Likewise.
6576 * wcsmbs/isoc99_vswscanf.c: Likewise.
6577 * wcsmbs/isoc99_vwscanf.c: Likewise.
6578 * wcsmbs/isoc99_wscanf.c: Likewise.
6579
6b5c8607 65802018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
72b8692d
AA
6581
6582 * include/time.h
6583 (__tz_compute): Replace time_t with __time64_t.
6584 (__tz_convert): Replace time_t* with __time64_t.
6585 (__offtime): Replace time_t* with __time64_t.
6586 * time/gmtime.c
6587 (__gmtime_r): Adjust call to __tz_convert.
6588 (gmtime): Likewise.
6589 * time/localtime.c
6590 (__localtime_r): Likewise.
6591 (localtime): Likewise.
6592 * time/offtime.c: Replace time_t with __time64_t.
6593 * time/tzset.c: Likewise.
6594
bd598da9
JM
65952018-12-04 Joseph Myers <joseph@codesourcery.com>
6596
6597 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
6598 dynamic linker unless [$(run-built-tests) = yes].
6599
b2e93de0
DD
66002018-12-03 DJ Delorie <dj@delorie.com>
6601
6602 * support/test-container.c (check_for_unshare_hints): New.
6603 (main): Call it if unshare fails. Add support for "su" scriptlet
6604 command.
6605
477a02f6
JM
66062018-12-03 Joseph Myers <joseph@codesourcery.com>
6607
6608 * scripts/gen-as-const.py (compute_c_consts): Take an argument
6609 'START' to indicate that start text should be output.
6610 (gen_test): Likewise.
6611 (main): Generate 'START' for first symbol or '--' line, or at end
6612 of input if not previously generated.
6613
6af956e5
RÁE
66142018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
6615
6616 [BZ #19767]
6617 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
6618 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
6619 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
6620 ALWAYS_USE_VSYSCALL.
6621
f5ec0ea9
AZ
66222018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6623
6624 [BZ #23913]
6625 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
6626 new_argv by one.
6627
8cebd4ff
CD
66282018-12-03 Carlos O'Donell <carlos@redhat.com>
6629
6630 [BZ #23923]
6631 * locale/programs/localedef.c: Declare boolean hard_links default true.
6632 (options): Add --no-hard-links option.
6633 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
6634 * locale/programs/localedef.h: Declare prototype for hard_links.
6635 * locale/programs/locfile.c (write_locale_data): Don't use hard
6636 links if hard_links is false.
6637
c22e4c2a
L
66382018-12-03 H.J. Lu <hongjiu.lu@intel.com>
6639
6640 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
6641 cpu_features_basic.
6642 (__cache_sysconf): Likewise.
6643 (init_cacheinfo): Likewise.
6644 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
6645 populate COMMON_CPUID_INDEX_80000007 and
6646 COMMON_CPUID_INDEX_80000008.
6647 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
6648 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
6649 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
6650 (init_cpu_features): Use _Static_assert on
6651 index_arch_Fast_Unaligned_Load.
6652 __get_cpuid_registers and __get_arch_feature. Updated for
6653 cpu_features_basic. Set stepping in cpu_features.
6654 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
6655 (FEATURE_INDEX_2): New.
6656 (FEATURE_INDEX_MAX): Changed to enum.
6657 (COMMON_CPUID_INDEX_D_ECX_1): New.
6658 (COMMON_CPUID_INDEX_80000007): Likewise.
6659 (COMMON_CPUID_INDEX_80000008): Likewise.
6660 (cpuid_registers): Likewise.
6661 (cpu_features_basic): Likewise.
6662 (CPU_FEATURE_USABLE): Likewise.
6663 (bit_arch_XXX_Usable): Likewise.
6664 (cpu_features): Use cpuid_registers and cpu_features_basic.
6665 (bit_arch_XXX): Reweritten.
6666 (bit_cpu_XXX): Likewise.
6667 (index_cpu_XXX): Likewise.
6668 (reg_XXX): Likewise.
6669 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
6670 <support/check.h>.
6671 (CHECK_CPU_FEATURE): New.
6672 (CHECK_CPU_FEATURE_USABLE): Likewise.
6673 (cpu_kinds): Likewise.
6674 (do_test): Print vendor, family, model and stepping. Check
6675 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
6676 (TEST_FUNCTION): Removed.
6677 Include <support/test-driver.c> instead of
6678 "../../test-skeleton.c".
6679 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
6680 Check POPCNT instead of POPCOUNT.
6681 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
6682
7b36d26b
ST
66832018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
6684
6685 * scripts/gen-as-const.py (main): Avoid emitting empty line when
6686 there is no element in `consts'.
6687
02cd5c1a
FW
66882018-12-01 Florian Weimer <fweimer@redhat.com>
6689
6690 * support/support_capture_subprocess.c
6691 (support_capture_subprocess): Check that pipe descriptors have
6692 expected values. Close original pipe descriptors in subprocess.
6693
fc493bc9
ST
66942018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
6695
6696 [BZ #23032]
6697 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
6698 attr with __pthread_default_barrierattr.
6699 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
6700 attr with __pthread_default_condattr.
6701 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
6702 attr with __pthread_default_mutexattr.
6703 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
6704 attr with __pthread_default_rwlockattr.
6705
6310e6be
KW
67062018-12-01 Kemi Wang <kemi.wang@intel.com>
6707
6708 * manual/tunables.texi (POSIX Thread Tunables): New node.
6709 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
6710 * nptl/nptl-init.c: Include pthread_mutex_conf.h
6711 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
6712 __pthread_tunables_init.
6713 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
6714 (max_adaptive_count): Define.
6715 * nptl/pthread_mutex_conf.c: New file.
6716 * nptl/pthread_mutex_conf.h: New file.
6717 * sysdeps/generic/adaptive_spin_count.h: New file.
6718 * sysdeps/nptl/dl-tunables.list: New file.
6719 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
6720 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
6721 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
6722 Likewise.
6723
8e67b39e
PP
67242018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
6725
6726 [BZ #20544]
6727 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
6728 * stdlib/on_exit.c (__on_exit): Likewise.
6729 * stdlib/Makefile (tests): Add tst-bz20544.
6730 * stdlib/tst-bz20544.c: New test.
6731
15b8d67e
RÁE
67322018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
6733
6734 [BZ #19767]
6735 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
6736 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
6737 New.
6738
5e63c240
FW
67392018-11-30 Florian Weimer <fweimer@redhat.com>
6740
6741 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
6742 Extend error logging.
6743 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
6744 symbol.
6745
71058602 67462018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14d0e87d 6747
5fb7fc96
AZ
6748 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
6749 __sigismember instead of sigismember.
6750 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
6751 cancel_handler): New definitions.
6752 (do_system): Use posix_spawn instead of fork and execl and remove
6753 reentracy code.
6754 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
6755 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
6756 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
6757 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
6758 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
6759 * sysdeps/unix/sysv/linux/system.c: Likewise.
6760
14d0e87d
AZ
6761 [BZ #22834]
6762 [BZ #17490]
6763 * NEWS: Add new semantic for atfork with popen and system.
6764 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
6765 fork and execl.
6766
e5d262ef
TMQMF
67672018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6768
6769 [BZ #23690]
6770 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
6771 modification order when accessing reloc_result->addr.
6772 * include/link.h (reloc_result): Add field init.
6773 * nptl/Makefile (tests): Add tst-audit-threads.
6774 (modules-names): Add tst-audit-threads-mod1 and
6775 tst-audit-threads-mod2.
6776 Add rules to build tst-audit-threads.
6777 * nptl/tst-audit-threads-mod1.c: New file.
6778 * nptl/tst-audit-threads-mod2.c: Likewise.
6779 * nptl/tst-audit-threads.c: Likewise.
6780 * nptl/tst-audit-threads.h: Likewise.
6781
7e1d4240
JM
67822018-11-30 Joseph Myers <joseph@codesourcery.com>
6783
6784 * scripts/gen-as-const.py: New file.
6785 * scripts/gen-as-const.awk: Remove.
6786 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
6787 gen-as-const.py.
6788 ($(objpfx)test-as-const-%.c): Likewise.
6789
ce7387cc
L
67902018-11-29 H.J. Lu <hongjiu.lu@intel.com>
6791
6792 * elf/dl-exception.c: Include <_itoa.h>.
6793
c6a5bdc1
ST
67942018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
6795
6796 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
6797 returned by __f_setlk.
6798
a5275ba5
L
67992018-11-29 H.J. Lu <hongjiu.lu@intel.com>
6800 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6801
6802 * elf/Makefile (tests-internal): Add tst-create_format1.
6803 * elf/dl-exception.c (_dl_exception_create_format): Support
6804 %x, %lx and %zx.
6805 * elf/tst-create_format1.c: New file.
6806
3a67e81d
CAC
68072018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
6808
6809 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
6810 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
6811 gnulib.)
6812 * argp/argp-help.c (__argp_failure): Likewise.
6813
4975f0c3
MH
68142018-11-29 Mao Han <han_mao@c-sky.com>
6815
6816 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
6817 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
6818 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
6819 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
6820 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
6821 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
6822 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
6823 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
6824 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
6825 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
6826 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
6827 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
6828 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
6829 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
6830 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
6831 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
6832 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
6833 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
6834 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
6835 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
6836 (R_CKCORE_TLS_TPOFF32): New defines.
6837
250102c8
FW
68382018-11-29 Florian Weimer <fweimer@redhat.com>
6839
6840 * posix/Makefile (before-compile): Remove testcases.h and
6841 ptestcases.h.
6842 (generated): Add testcases.h and ptestcases.h.
6843 (testcases.h, ptestcases.h): Move to $(objpfx).
6844 (runtests.o): Add dependency on testcases.h.
6845 (runptests.o): Add dependency on ptestcases.h.
6846 * posix/testcases.h, posix/ptestcases.h: Remove files.
6847 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
6848 not touch posix/testcases.h and posix/ptestcases.h.
6849
96cd0558
FW
68502018-11-28 Florian Weimer <fweimer@redhat.com>
6851
6852 support: Add signal support to support_capture_subprocess_check.
6853 * support/capture_subprocess.h (support_capture_subprocess_check):
6854 Adjust comment and rename parameter.
6855 * support/support_capture_subprocess_check.c
6856 (print_actual_status): New function.
6857 (support_capture_subprocess_check): Support negative
6858 status_or_signal. Call print_actual_status.
6859 * support/tst-support_capture_subprocess.c (do_test): Call
6860 support_capture_subprocess_check.
6861 * libio/tst-vtables-common.c (termination_status)
6862 (init_termination_status): Remove.
6863 (check_for_termination): Adjust support_capture_subprocess_check
6864 call.
6865 (do_test): Remove call to init_termination_status.
6866
530504e3
JM
68672018-11-28 Joseph Myers <joseph@codesourcery.com>
6868
6869 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
6870 source directory instead of a copy.
6871 (CommandList.create_copy_dir): Remove.
6872
9a0b6970
SL
68732018-11-28 Stefan Liebler <stli@linux.ibm.com>
6874
6875 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6876
47d8d9a2
FW
68772018-11-28 Florian Weimer <fweimer@redhat.com>
6878
6879 * support/support.h (support_quote_string): Do not use str
6880 parameter name.
6881
b473b7d8
JM
68822018-11-27 Joseph Myers <joseph@codesourcery.com>
6883
6884 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
6885 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
6886
c74a91de
FW
68872018-11-27 Florian Weimer <fweimer@redhat.com>
6888
6889 * support/support.h (support_quote_string): Declare.
6890 * support/support_quote_string.c: New file.
6891 * support/tst-support_quote_string.c: Likewise.
6892 * support/Makefile (libsupport-routines): Add
6893 support_quote_string.
6894 (tests): Add tst-support_quote_string.
6895
d527c860
FW
68962018-11-27 Florian Weimer <fweimer@redhat.com>
6897
6898 [BZ #23927]
6899 CVE-2018-19591
6900 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
6901 descriptor leak in case of ENODEV error.
6902
979cfed0
RÁE
69032018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
6904
6905 [BZ #19767]
6906 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
6907 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
6908 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
6909
ce035c6e
CD
69102018-11-26 Carlos O'Donell <carlos@redhat.com>
6911
6912 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
6913 Error for unknown lines.
6914
2bd0bfcc
JM
69152018-11-26 Joseph Myers <joseph@codesourcery.com>
6916
6917 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
6918 Touch additional files.
6919
affec03b
FW
69202018-11-26 Florian Weimer <fweimer@redhat.com>
6921
6922 [BZ #23907]
6923 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
6924 double-frees.
6925
8ae74ead
RÁE
69262018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
6927
6928 [BZ #19767]
6929 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
6930 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
6931 SHARED. Include sysdep.h.
6932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
6933 ALWAYS_USE_VSYSCALL.
6934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
6935 ALWAYS_USE_VSYSCALL.
6936
1e8bdc3a
RÁE
69372018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
6938
6939 [BZ #19767]
6940 * nptl/Makefile (tests-static): Add tst-cond11-static.
6941 (tests): Likewise.
6942 * nptl/tst-cond11-static.c: New File.
6943 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
6944 tst-affinity-static.
6945 (tests): Likewise.
6946 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
6947 instead of SHARED.
6948 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
6949 (USE_VSYSCALL): Likewise.
6950 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
6951 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
6952 instead of SHARED.
6953 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
6954 SHARED.
6955 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
6956 New.
6957
1283c478
JM
69582018-11-23 Joseph Myers <joseph@codesourcery.com>
6959
6960 [BZ #23915]
6961 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6962 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
6963 Undefine.
6964
c089fd80
L
69652018-11-23 H.J. Lu <hongjiu.lu@intel.com>
6966
6967 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
6968 (tst-cet-legacy-1a-ARGS): New.
6969 ($(objpfx)tst-cet-legacy-1a): New target.
6970 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
6971
cc6c89fa
JM
69722018-11-22 Joseph Myers <joseph@codesourcery.com>
6973
95edd05c
JM
6974 * conform/conformtest.py (CompileSubTest.__init__): Set
6975 self.run_early to False.
6976 (ExecuteSubTest.__init__): Likewise.
6977 (HeaderTests.run): Try running all non-optional, non-XFAILed
6978 compilation tests in a single execution of the compiler.
6979
cc6c89fa
JM
6980 * conform/conformtest.py (CompileSubTest): New class.
6981 (ExecuteSubTest): Likewise.
6982 (ElementTest.run): Rename to gen_subtests. Append tests to
6983 self.subtests instead of running them.
6984 (ConstantTest.run): Likewise.
6985 (SymbolTest.run): Likewise.
6986 (TypeTest.run): Likewise.
6987 (TagTest.run): Likewise.
6988 (FunctionTest.run): Likewise.
6989 (VariableTest.run): Likewise.
6990 (MacroFunctionTest.run): Likewise.
6991 (MacroStrTest.run): Likewise.
6992 (HeaderTests.handle_test_line): Generate subtests for tests.
6993 (HeaderTests.run): Run subtests for tests.
6994
a502c529
SN
69952018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6996
6997 * math/Versions (GLIBC_2.29): Add pow.
6998 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
6999 symbol.
7000 * math/w_pow.c: New file.
7001 * sysdeps/i386/fpu/w_pow.c: New file.
7002 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
7003 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
7004 and add necessary aliases.
7005 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
7006 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
7007 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7008 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7009 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7010 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7011 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7012 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7013 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7014 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7015 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7016 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7017 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7018 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7019 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7024 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7025 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7026 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7027 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7028 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7029 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7030 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7031 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
7032 __pow.
7033 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
7034 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
7035 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
7036
718d6542
SN
70372018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7038
7039 * math/Versions (GLIBC_2.29): Add log2.
7040 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
7041 symbol.
7042 * math/w_log2.c: New file.
7043 * sysdeps/i386/fpu/w_log2.c: New file.
7044 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
7045 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
7046 and add necessary aliases.
7047 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
7048 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
7049 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7050 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7051 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7052 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7053 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7054 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7055 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7056 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7057 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7058 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7059 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7060 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7061 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7066 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7067 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7068 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7069 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7070 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7071 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7072 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7073
f29b7c49
SN
70742018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7075
7076 * math/Versions (GLIBC_2.29): Add log.
7077 * math/w_log_compat.c (__log_compat): Change to versioned compat
7078 symbol.
7079 * math/w_log.c: New file.
7080 * sysdeps/i386/fpu/w_log.c: New file.
7081 * sysdeps/ia64/fpu/e_log.S: Update.
7082 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
7083 and add necessary aliases.
7084 * sysdeps/ieee754/dbl-64/w_log.c: New file.
7085 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
7086 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7087 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7088 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7089 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7090 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7091 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7092 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7093 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7094 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7095 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7096 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7097 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7098 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7103 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7104 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7105 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7106 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7107 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7108 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7109 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7110 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
7111 __log.
7112 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
7113 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
7114 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
7115 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
7116
c20a1056
SN
71172018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7118
7119 * math/Versions (GLIBC_2.29): Add exp and exp2.
7120 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
7121 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
7122 * math/w_exp_compat.c (__exp_compat): Likewise.
7123 * math/w_exp.c: New file.
7124 * math/w_exp2.c: New file.
7125 * sysdeps/i386/fpu/w_exp.c: New file.
7126 * sysdeps/i386/fpu/w_exp2.c: New file.
7127 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
7128 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
7129 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
7130 and add necessary aliases.
7131 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
7132 and add necessary aliases.
7133 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
7134 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
7135 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
7136 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
7137 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7138 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7139 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7140 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7141 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7142 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7143 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7144 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7145 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7146 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7147 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7148 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7149 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7154 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7155 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7156 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7157 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7158 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7159 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7160 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7161 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
7162 (__ieee754_exp): Rename to __exp.
7163 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
7164 (__ieee754_exp): Rename to __exp.
7165 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
7166 (__ieee754_exp): Rename to __exp.
7167 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
7168 __exp.
7169 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
7170
bcdaad21
DD
71712018-11-20 DJ Delorie <dj@redhat.com>
7172
7173 * malloc/malloc.c (tcache_entry): Add key field.
7174 (tcache_put): Set it.
7175 (tcache_get): Likewise.
7176 (_int_free): Check for double free in tcache.
7177 * malloc/tst-tcfree1.c: New.
7178 * malloc/tst-tcfree2.c: New.
7179 * malloc/Makefile: Run the new tests.
7180 * manual/probes.texi: Document memory_tcache_double_free probe.
7181
7182 * dlfcn/dlerror.c (check_free): Prevent double frees.
7183
5770c0ad
WD
71842018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
7185
7186 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
7187
9a62a939
JM
71882018-11-20 Joseph Myers <joseph@codesourcery.com>
7189
7190 * conform/conformtest.py (ElementTest.run): Use unique identifiers
7191 in tests. Use names for format arguments.
7192 (ConstantTest.run): Likewise.
7193 (SymbolTest.run): Likewise.
7194 (TypeTest.run): Likewise.
7195 (TagTest.run): Likewise.
7196 (FunctionTest.run): Likewise.
7197 (VariableTest.run): Likewise.
7198 (MacroFunctionTest.run): Likewise.
7199 (MacroStrTest.run): Likewise.
7200 (HeaderTests.__init__): Set self.num_tests.
7201 (HeaderTests.handle_test_line): Set test.num. Increment
7202 self.num_tests.
7203
b15b1a95
ST
72042018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
7205
7206 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
7207 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
7208 SEEK_SET.
7209
0c7f97ae
MH
72102018-11-19 Mao Han <han_mao@c-sky.com>
7211
7212 * scripts/config.guess: Update to version 2018-08-29.
7213 * scripts/config.sub: Update to version 2018-08-29.
7214
35e3fbc4
FW
72152018-11-19 Florian Weimer <fweimer@redhat.com>
7216
7217 support: Print timestamps in timeout handler.
7218 * support/support_test_main.c (print_timestamp): New function.
7219 (signal_handler): Use it to print the termination time and the
7220 time of the last write to standard output.
7221
c75772e3
ZW
72222018-11-16 Zack Weinberg <zackw@panix.com>
7223 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7224
7225 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
7226 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
7227 argument.
7228 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
7229 and add flags argument. Check flags instead of __ldbl_is_dbl when
7230 deciding whether to set is_long_double.
7231 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
7232 passing zero for flags argument.
7233 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
7234
7235 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7236 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
7237 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
7238 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
7239 variable names. Remove libc_hidden_def/libc_hidden_proto from
7240 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
7241 longer called from within the library.
7242 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
7243 for __nldbl___vstrfmon_l, declare it explicitly.
7244
7245 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
7246
346ef23f
ST
72472018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
7248
7249 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
7250 macros
7251 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
7252 F_SETLK64, F_SETLKW64, respectively.
7253 * sysdeps/mach/hurd/f_setlk.c: New file.
7254 * sysdeps/mach/hurd/f_setlk.h: New file.
7255 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
7256 f_setlk.
7257 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
7258 (__libc_fcntl): Move non-flock operations to...
7259 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
7260 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
7261
de20b81a
PE
72622018-11-15 Paul Eggert <eggert@cs.ucla.edu>
7263
5d8af156
PE
7264 mktime: DEBUG_MKTIME cleanup
7265 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
7266 And it’s no longer needed now that glibc and Gnulib both have
7267 their own testing mechanisms for mktime.
7268 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
7269
86aece3b
PE
7270 mktime: fix non-EOVERFLOW errno handling
7271 [BZ#23789]
7272 mktime was not properly reporting failures when the underlying
7273 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
7274 them like EOVERFLOW failures, and set errno to EOVERFLOW.
7275 The problem could happen on non-glibc platforms, with Gnulib.
7276 * time/mktime.c (guess_time_tm): Remove, replacing with ...
7277 (tm_diff): ... this simpler function, which does not change errno.
7278 All callers changed to deal with errno themselves.
7279 (ranged_convert, __mktime_internal): Return failure immediately if
7280 the underlying function reports any failure other than EOVERFLOW.
7281 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
7282 gap code fails.
7283
f6b3331b
PE
7284 mktime: fix bug with Y2038 DST transition
7285 [BZ#23789]
7286 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
7287 mishandle a DST transition that jumps over the Y2038 boundary.
7288 No such DST transitions are known so this is only a theoretical
7289 bug, but we might as well do things right.
7290
efbdddc3
PE
7291 mktime: make more room for overflow
7292 [BZ#23789]
7293 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
7294 This is so that we can add tm_diff results to a previous guess,
7295 which will be useful in a later patch.
7296
6c90d759
PE
7297 mktime: simplify offset guess
7298 [BZ#23789]
7299 * time/mktime.c (__mktime_internal): Omit excess precision.
7300
32c12f3f
PE
7301 mktime: new test for mktime failure
7302 [BZ#23789]
7303 Based on a test suggested by Albert Aribaud in:
7304 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
7305 * time/Makefile (tests): Add bug-mktime4.
7306 * time/bug-mktime4.c: New file.
7307
de20b81a
PE
7308 mktime: fix EOVERFLOW bug
7309 [BZ#23789]
7310 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
7311 Include libc-config.h, not config.h, for __set_errno.
7312 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
7313
8c6c3fb0
ST
73142018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
7315
7316 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
7317 __attribute_copy__ to copy attributes from name. Drop static qualifier
7318 to avoid warnings about leaf attribute not having effect on static
7319 functions.
7320
6923f6db
FW
73212018-11-13 Florian Weimer <fweimer@redhat.com>
7322
7323 * malloc/malloc.c (fastbin_push_entry): New function.
7324 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
7325 (REMOVE_FB): Remove macro.
7326 (_int_malloc): Use fastbin_pop_entry and reindent.
7327 (_int_free): Use fastbin_push_entry.
7328 (malloc_consolidate): Use atomic_exchange_acquire.
7329
53f5c659
JM
73302018-11-13 Joseph Myers <joseph@codesourcery.com>
7331
0c096dcf
JM
7332 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
7333 alias attribute, not with strong_alias.
7334
9c4b457e
JM
7335 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
7336 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
7337 with additional parameter thread.
7338 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
7339 in terms of __hidden_ver2.
7340 (hidden_tls_def): New macro.
7341 (libc_hidden_tls_def): Likewise.
7342 (rtld_hidden_tls_def): Likewise.
7343 (libm_hidden_tls_def): Likewise.
7344 (libmvec_hidden_tls_def): Likewise.
7345 (libresolv_hidden_tls_def): Likewise.
7346 (librt_hidden_tls_def): Likewise.
7347 (libdl_hidden_tls_def): Likewise.
7348 (libnss_files_hidden_tls_def): Likewise.
7349 (libnsl_hidden_tls_def): Likewise.
7350 (libnss_nisplus_hidden_tls_def): Likewise.
7351 (libutil_hidden_tls_def): Likewise.
7352 (libutil_hidden_tls_def): Likweise.
7353 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
7354 libc_hidden_tls_def.
7355 (__sim_disabled_exceptions_thread): Likewise.
7356 (__sim_round_mode_thread): Likewise.
7357
53f5c659
JM
7358 * sysdeps/sparc/sparc-ifunc.h [SHARED]
7359 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
7360 copy attributes from name.
7361
092dfde6
JM
73622018-11-12 Joseph Myers <joseph@codesourcery.com>
7363
f578f97b
JM
7364 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
7365 Use __attribute_copy__ to copy attributes from name.
7366
9a7c643a
JM
7367 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
7368 with __hidden_ver1 call.
7369 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
7370 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
7371 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
7372 (__cosf): Do not declare here.
7373 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
7374 (__sincosf): Do not declare here.
7375 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
7376 (__sinf): Do not declare here.
7377
092dfde6
JM
7378 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
7379 (__BIG_ENDIAN): Likewise.
7380 (__BYTE_ORDER): Likewise.
7381 (strong_alias): Likewise.
7382 (_strong_alias): Likewise.
7383
1ecba1fa
FW
73842018-11-12 Florian Weimer <fweimer@redhat.com>
7385
7386 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
7387 function. Move after the definition of in_smallbin_range. Do not
7388 use __builtin_expect for paths that lead to a noreturn function.
7389 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
7390 because it is unclear whether this is in fact an unlikely
7391 condition.
7392 (_int_malloc, _int_free): Adjust.
7393 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
7394 variables.
7395 * malloc/arena.c (heap_trim): Likewise.
7396
434c34bd
ST
73972018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7398
7399 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
7400 it, free it if needed.
7401 (reauthenticate): Test and use ccwdir.
7402 (child_init_port): In non-resetids case, test and use ccwdir.
7403 (child_chdir): New nested function to set ccwdir.
7fa495cd
ST
7404 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
7405 * hurd/hurd/port.h (_hurd_port_move): New function.
7406 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
7407 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
88b26b7e
ST
7408 * hurd/Versions (_hurd_port_move): Export function.
7409 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
7410 symbol.
58bb655a
ST
7411 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
7412 of dtablesize for allocating dtable_cloexec.
434c34bd 7413
1626a1cf
MS
74142018-11-09 Martin Sebor <msebor@redhat.com>
7415
7416 * include/libc-symbols.h (__attribute_copy__): Define macro unless
7417 it's already defined.
7418 (_strong_alias): Use __attribute_copy__.
7419 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
7420 * misc/sys/cdefs.h (__attribute_copy__): New macro.
7421 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
7422 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
7423 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
7424 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
7425 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
7426 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
7427 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
7428 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
7429 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
7430 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
7431 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
7432 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
7433 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
7434 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
7435 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
7436 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
7437 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
7438
968ed530
GG
74392018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7440
7441 * misc/tst-efgcvt.c: Include support/check.h and
7442 support/test-driver.c. Do not include test-skeleton.c.
7443 (error_count): Remove.
7444 (output_error): Replace increments to error_count with calls to
7445 support_record_failure.
7446 (output_r_error): Likewise.
7447 (special): Likewise.
7448 (do_test): Unconditionally return zero.
7449 (TEST_FUNCTION): Remove.
7450
c3ec0972
JM
74512018-11-09 Joseph Myers <joseph@codesourcery.com>
7452
91faaa93
JM
7453 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
7454 not $(@D)/scratch.
7455 ($(linknamespace-header-tests)): Likewise.
7456
c3ec0972
JM
7457 * conform/conformtest.py: New file.
7458 * conform/conformtest.pl: Remove.
7459 * conform/GlibcConform.pm: Likewise.
7460 * conform/glibcconform.py (KEYWORDS_C90): New constant.
7461 (KEYWORDS_C99): Likewise.
7462 (KEYWORDS): Likewise.
7463 * conform/Makefile ($(conformtest-header-tests)): Use
7464 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
7465 option. Use --header instead of --headers.
7466 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
7467 function entries.
7468 * conform/data/spawn.h-data: Likewise.
7469 * conform/data/fcntl.h-data (openat): Add space after function
7470 name.
7471 * conform/data/wchar.h-data (wcscasecmp): Likewise.
7472 (wcscasecmp_l): Likewise.
7473 * conform/data/termios.h-data (c_cc): Add space after element
7474 name.
7475
43257c33
GG
74762018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7477
7478 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
7479 instead of manually comparing and reporting mismatching strings.
7480 * misc/tst-ldbl-error.c (do_one_test): Likewise.
7481 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
7482
e5de3b5b
JM
74832018-11-08 Joseph Myers <joseph@codesourcery.com>
7484
7485 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
7486 __ASSUME_SOCKETCALL.
7487 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7488 (__ASSUME_SOCKETCALL): Remove.
7489 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7490 (__ASSUME_SOCKETCALL): Likewise.
7491 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7492 (__ASSUME_SOCKETCALL): Likewise.
7493 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7494 (__ASSUME_SOCKETCALL): Likewise.
7495 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7496 (__ASSUME_SOCKETCALL): Likewise.
7497 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7498 (__ASSUME_SOCKETCALL): Likewise.
7499 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7500 (__ASSUME_SOCKETCALL): Likewise.
7501
d524fa6c
L
75022018-11-08 H.J. Lu <hongjiu.lu@intel.com>
7503
7504 [BZ #23509]
7505 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
7506 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
7507 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
7508 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
7509 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
7510 lc_unknown.
7511
ac806026
AH
75122018-11-08 Alexandra Hájková <ahajkova@redhat.com>
7513
7514 [BZ #17630]
7515 * resolv/tst-resolv-network.c: Add test for getnetbyname.
7516
596cc360
JM
75172018-11-07 Joseph Myers <joseph@codesourcery.com>
7518
7519 [BZ #23867]
7520 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7521 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
7522 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7523 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
7524
00c86a37
AZ
75252018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7526
7527 * support/support_test_compare_string.c
7528 (support_test_compare_string): Fix printf format.
7529
1df872fd
FW
75302018-11-07 Florian Weimer <fweimer@redhat.com>
7531
7532 Implement TEST_COMPARE_STRING.
7533 * support/check.h (TEST_COMPARE_STRING): Define.
7534 (support_test_compare_string): Declare.
7535 * support/Makefile (libsupport-routines): Add
7536 support_test_compare_string.
7537 (tests): Add tst-test_compare_string.
7538 * support/support_test_compare_string.c: New file.
7539 * support/tst-test_compare_string.c: Likewise.
7540
295132ff
AS
75412018-11-07 Andreas Schwab <schwab@suse.de>
7542
7543 [BZ #23864]
7544 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
7545 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
7546 Undef.
7547
e143ceba
JM
75482018-11-06 Joseph Myers <joseph@codesourcery.com>
7549
7550 [BZ #23862]
7551 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7552 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
7553 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
7554 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
7555 Likewise.
7556
4a938cb2
FW
75572018-11-06 Florian Weimer <fweimer@redhat.com>
7558
7559 [BZ #17405]
7560 * posix/Makefile (routines): Add spawn_faction_addchdir.
7561 (tests): Add tst-spawn-chdir.
7562 * posix/Versions (GLIBC_2.29): Add
7563 posix_spawn_file_actions_addchdir_np.
7564 * posix/spawn_faction_addchdir.c: New file.
7565 * posix/spawn_faction_destroy.c
7566 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
7567 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
7568 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
7569 chdir_action.
7570 * posix/tst-spawn-chdir.c: New file.
7571 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
7572 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
7573 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
7574 posix_spawn_file_actions_addchdir_np.
7575 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
7576 Likewise.
7577 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
7578 Likewise.
7579 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
7580 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
7581 Likewise.
7582 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
7583 Likewise.
7584 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
7585 Likewise.
7586 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
7587 Likewise.
7588 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
7589 Likewise.
7590 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
7591 Likewise.
7592 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7593 (GLIBC_2.29): Likewise.
7594 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7595 (GLIBC_2.29): Likewise.
7596 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7597 (GLIBC_2.29): Likewise.
7598 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7599 (GLIBC_2.29): Likewise.
7600 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
7601 Likewise.
7602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7603 (GLIBC_2.29): Likewise.
7604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7605 (GLIBC_2.29): Likewise.
7606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7607 (GLIBC_2.29): Likewise.
7608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7609 (GLIBC_2.29): Likewise.
7610 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
7611 Likewise.
7612 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
7613 Likewise.
7614 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
7615 Likewise.
7616 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
7617 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
7618 Likewise.
7619 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
7620 Likewise.
7621 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
7622 Likewise.
7623 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
7624 Likewise.
7625
7597b0c7
GG
76262018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7627
7628 * misc/Makefile (tests): Add tst-ldbl-error.
7629 * misc/tst-ldbl-error.c: New file.
7630
9771e6cb
GG
76312018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7632
7633 * misc/Makefile (tests): Add tst-ldbl-warn.
7634 * misc/tst-ldbl-warn.c: New file.
7635
2c03961f
GG
76362018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7637
7638 * argp/Makefile (tests): Add tst-ldbl-argp.
7639 * argp/tst-ldbl-argp.c: New file.
7640
6d6ee046
AS
76412018-11-05 Arjun Shankar <arjun@redhat.com>
7642
7643 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
7644 __gconv_path_elem and call __gconv_get_path unconditionally.
7645
bd3b0fba
AS
76462018-11-05 Andreas Schwab <schwab@suse.de>
7647
7648 [BZ #22927]
7649 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
7650 creating the first helper thread failed.
7651
2e96e980
ST
76522018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
7653
7654 * sysdeps/mach/hurd/msync.c: New file.
7655
6e36266c
FW
76562018-11-02 Florian Weimer <fweimer@redhat.com>
7657
7658 * support/shell-container.c (copy_func): Call
7659 support_copy_file_range instead of copy_file_range to support
7660 cross-device copies.
7661
599f7bee
FW
76622018-11-02 Florian Weimer <fweimer@redhat.com>
7663
7664 * support/test-container.c: Include <libc-pointer-arith.h> for
7665 ALIGN_UP.
7666
ff48ea67
ZL
76672018-11-01 Zong Li <zong@andestech.com>
7668
af1d5782
ZL
7669 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
7670 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
7671 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
7672 (__FP_FRAC_SET_8): Add implementation for RV32 use.
7673
ff48ea67
ZL
7674 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
7675 variable to avoid overlap arguments.
7676
daea71c2
JM
76772018-11-01 Joseph Myers <joseph@codesourcery.com>
7678
eac4405a
JM
7679 * posix/bug-regex22.c (main): Use puts with distinct error
7680 messages for unexpected success of re_compile_pattern, not printf
7681 with NULL argument to %s.
7682
6f30e59f
JM
7683 * stdio-common/bug22.c: Include <libc-diag.h>.
7684 (do_test): Disable -Wformat-overflow= warnings around fprintf
7685 calls outputting more than INT_MAX characters.
7686 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
7687 around printf call with NULL %s argument.
7688
daea71c2
JM
7689 [BZ #23848]
7690 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
7691 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
7692 Undefine.
7693 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7694 (__ASSUME_RECVMSG_SYSCALL): Likewise.
7695 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7696 (__ASSUME_SENDTO_SYSCALL): Likewise.
7697 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7698 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
7699 [!__arch64__].
7700 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7701 (__ASSUME_CONNECT_SYSCALL): Likewise.
7702 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7703 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7704 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
7705 Define.
7706 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
7707 Likewise.
7708 [__LINUX_KERNEL_VERSION >= 0x040400]
7709 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7710 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
7711 Remove.
7712 (listen): Likewise.
7713 (setsockopt): Likewise.
7714
8e3c00db
FN
77152018-11-01 Fredrik Noring <noring@nocrew.org>
7716
7717 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
7718 with the ISA override.
7719
9c3dbdbe
RAE
77202018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
7721
7722 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
7723 #endif.
7724
e3a88b3e
ST
77252018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
7726
a67377e7 7727 * manual/errno.texi (EIEIO): Document how translators should
e3a88b3e 7728 translate the error message.
a67377e7
ST
7729 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
7730 printing trailing whitespaces refused by git.
7731 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
7732 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fc783076 7733 * hurd/Makefile (user-interfaces): Add pci.
e3a88b3e 7734
3ca235ed
JM
77352018-10-30 Joseph Myers <joseph@codesourcery.com>
7736
7737 * conform/linknamespace.py: New file.
7738 * conform/linknamespace.pl: Remove file.
7739 * conform/Makefile ($(linknamespace-header-tests)): Use
7740 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
7741 option.
7742
60708030
FW
77432018-10-30 Florian Weimer <fweimer@redhat.com>
7744
7745 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
7746 memory leaks.
7747
a91e9301
FW
77482018-10-30 Florian Weimer <fweimer@redhat.com>
7749
7750 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
7751
07da99aa
FW
77522018-10-30 Florian Weimer <fweimer@redhat.com>
7753
7754 * stdlib/tst-strtod-overflow.c (do_test): Switch to
7755 support_blob_repeat.
7756
f5e7e959
FW
77572018-10-30 Florian Weimer <fweimer@redhat.com>
7758
7759 Avoid spurious test failures in stdlib/test-bz22786.
7760 * support/Makefile (libsupport-routines): Add blob_repeat.
7761 (tests): Add tst-support_blob_repeat.
7762 * support/blob_repeat.h: New file.
7763 * support/blob_repeat.c: Likewise.
7764 * support/tst-support_blob_repeat.c: Likewise.
7765 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
7766 support_blob_repeat_allocate.
7767
2dd12baa
AS
77682018-10-30 Andreas Schwab <schwab@suse.de>
7769
7770 [BZ #23125]
7771 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
7772 Don't use tail call.
7773 * elf/tst-unwind-main.c: New file.
7774 * elf/Makefile (tests): Add tst-unwind-main.
7775 (CFLAGS-tst-unwind-main.c): Define.
7776
6b5c8607 77772018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
fec8bb7c
SAA
7778
7779 [BZ #23791]
7780 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
7781 n_cs_precedes to 0.
7782 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
7783
c6982f7e
JM
77842018-10-29 Joseph Myers <joseph@codesourcery.com>
7785
954cf3c2
JM
7786 * conform/glibcconform.py: Do not import shutil.
7787 (list_exported_functions): Use tempfile.TemporaryDirectory instead
7788 of mkdtemp.
7789
c6982f7e
JM
7790 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
7791 critic_missing for versions before 3.4.
7792 * configure: Regenerated.
7793 * manual/install.texi (Tools for Compilation): Document
7794 requirement for Python to build glibc.
7795 * INSTALL: Regenerated.
7796 * Rules [PYTHON]: Make code unconditional.
7797 * benchtests/Makefile [PYTHON]: Likewise.
7798 * conform/Makefile [PYTHON]: Likewise.
7799 * manual/Makefile [PYTHON]: Likewise.
7800 * math/Makefile [PYTHON]: Likewise.
7801
46a7f24c
ST
78022018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7803
7804 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
2d0d1d38 7805 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
b6e7c449 7806 answer to interrupt_operation, return EIEIO instead of EINTR.
5c81be53
ST
7807 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
7808 _hurd_intr_rpc_msg_about_to global point to start of controlled
7809 assembly snippet. Make it check canceled flag.
7810 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
7811 the _hurd_intr_rpc_msg_about_to point.
7812 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
7813 issue, remove cancel flag check.
46a7f24c 7814
e5b8756d
JM
78152018-10-26 Joseph Myers <joseph@codesourcery.com>
7816
7817 * scripts/build-many-glibcs.py: Remove compatibility for missing
7818 os.cpu_count and re.fullmatch.
7819
ba5b14c7
SN
78202018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
7821
7822 [BZ #23822]
7823 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
7824 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
7825 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
7826
fe61f17c
JM
78272018-10-25 Joseph Myers <joseph@codesourcery.com>
7828
7829 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
7830 macro.
7831
7c5e34d7
FW
78322018-10-25 Florian Weimer <fweimer@redhat.com>
7833
7834 [BZ #23562]
7835 [BZ #23821]
7836 XFAIL siginfo_t si_band conform test on sparc64.
7837 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
7838 (__SI_BAND_TYPE): Only override long int default type on sparc64.
7839 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
7840 (conformtest-xfail-conds): Add sparc64-linux.
7841 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
7842 sparc64.
7843 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
7844
5b784e88
JM
78452018-10-25 Joseph Myers <joseph@codesourcery.com>
7846
7847 * elf/elf.h (NT_MIPS_DSP): New macro.
7848 (NT_MIPS_FP_MODE): Likewise.
7849
41432ebe
ZL
78502018-10-25 Zong Li <zong@andestech.com>
7851
7852 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
7853 name by adding the file extension (.so).
7854
d026efea
ST
78552018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
7856
7857 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
7858 (test-xfail-ISO11/threads.h/linknamespace,
7859 test-xfail-ISO11/threads.h/conform): Add.
7860
b71ac2b9
JM
78612018-10-24 Joseph Myers <joseph@codesourcery.com>
7862
7863 * math/gen-libm-test.py: Import os.
7864 (ALL_FLOATS_MANUAL): New constant.
7865 (ALL_FLOATS_SUFFIX): Likewise.
7866 (Ulps.all_functions): New function.
7867 (real_all_ulps): Likewise.
7868 (generate_err_table_sub): Likewise.
7869 (generate_err_table): Likewise.
7870 (main): Handle -s and -m options.
7871 * manual/libm-err-tab.pl: Remove.
7872 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
7873 instead of libm-err-tab.pl.
7874 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
7875 != no].
7876 * manual/install.texi (Tools for Compilation): Document
7877 requirement for Python to build manual.
7878 * INSTALL: Regenerated.
7879
6b5c8607 78802018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
d51f99ce
AA
7881
7882 * bits/time64.h: New file.
7883 * include/time.h: Replace internal_time_t with __time64_t.
7884 * posix/bits/types (__time64_t): Add.
7885 * stdlib/Makefile: Add bits/time64.h to includes.
7886 * time/tzfile.c: Replace internal_time_t with __time64_t.
7887
97d91fcc 78882018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2a973ab7
AZ
7889
7890 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
7891 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
7892 __posix_spawn_file_actions_init, __posix_spawnattr_init,
7893 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
7894 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
7895 prototype.
7896 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
7897 * posix/spawn_faction_addclose.c
7898 (__posix_spawn_file_actions_addclose): Add hidden definition.
7899 * posix/spawn_faction_adddup2.c
7900 (__posix_spawn_file_actions_adddup2): Likewise.
7901 * posix/spawn_faction_destroy.c
7902 (__posix_spawn_file_actions_destroy): Likewise.
7903 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
7904 Likewise.
7905 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
7906 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
7907 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
7908 Likewise.
7909 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
7910 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
7911 Likewise.
7912
2954daf0
AS
79132018-10-24 Andreas Schwab <schwab@suse.de>
7914
7915 [BZ #18093]
7916 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
7917 format cache.
7918 * elf/cache.c (print_cache): Likewise.
7919
6b5c8607 79202018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
a27a4f47
AA
7921
7922 * bits/timesize.h: New file.
7923 * stdlib/Makefile (headers): Add bits/timesize.h.
7924 * sysdeps/unix/sysv/linux/bits/msq-pad.h
7925 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
7926 * sysdeps/unix/sysv/linux/bits/sem-pad.h
7927 (__SEM_PAD_AFTER_TIME): Likewise.
7928 * sysdeps/unix/sysv/linux/bits/shm-pad.h
7929 (__SHM_PAD_AFTER_TIME): Likewise.
7930 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
7931 (__MSQ_PAD_BEFORE_TIME): Likewise.
7932 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
7933 (__SEM_PAD_BEFORE_TIME): Likewise.
7934 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
7935 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
7936 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
b39d961c
TS
7937 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
7938 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
7939 (__MSQ_PAD_BEFORE_TIME): Likewise.
a27a4f47
AA
7940 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
7941 (__SEM_PAD_BEFORE_TIME): Likewise.
7942 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
7943 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
7944 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
7945 (__MSQ_PAD_BEFORE_TIME): Likewise.
7946 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
7947 (__SEM_PAD_BEFORE_TIME): Likewise.
7948 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
7949 (__SHM_PAD_BEFORE_TIME): Likewise.
7950 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
7951 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
7952 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
7953
7cc65773
L
79542018-10-24 H.J. Lu <hongjiu.lu@intel.com>
7955
7956 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
7957 USE_RDTSCP is defined.
7958 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
7959 USE_RDTSCP is defined.
7960
c3d8dc45
AZ
79612018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7962
18ad0de6
AZ
7963 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
7964 defined.
7965
c3d8dc45
AZ
7966 [BZ #23709]
7967 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
7968 independently of other flags.
7969
f1034472
FW
79702018-10-23 Florian Weimer <fweimer@redhat.com>
7971
7972 * time/tst-mktime2.c (N_STRINGS): Remove.
7973 (set_timezone): New function.
7974 (spring_forward_gap): Call it. Use FAIL_EXIT1.
7975 (mktime_test1): Report localtime failure and check errno value.
7976 Use TEST_COMPARE.
7977 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
7978 (do_test): Remove alarm call. Use set_timezone and array_length.
7979
367d7cc2
AS
79802018-10-23 Andreas Schwab <schwab@suse.de>
7981
7982 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
7983 (__start_context): Use END instead of PSEUDO_END.
7984
be8ff03f
JM
79852018-10-22 Joseph Myers <joseph@codesourcery.com>
7986
029ad711
JM
7987 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7988 version to 4.19.
7989
8190520f
JM
7990 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7991 version to 4.19.
7992
be8ff03f
JM
7993 [BZ #23793]
7994 * wcsmbs/c32rtomb.c: New file.
7995 * wcsmbs/mbrtoc32.c: Likewise.
7996 * wcsmbs/tst-c32-state.c: Likewise.
7997 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
7998 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
7999 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
8000 (tests): Add tst-c32-state.
8001 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
8002 $(gen-locales).
8003
2dd8e58c
L
80042018-10-21 H.J. Lu <hongjiu.lu@intel.com>
8005
8006 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
8007 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
8008
d0a74159
JM
80092018-10-19 Joseph Myers <joseph@codesourcery.com>
8010
8011 [BZ #23794]
8012 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
8013 pair and return 0 in that case, and use saved character to
8014 interpret following character.
8015 * wcsmbs/tst-c16-surrogate.c: New file.
8016 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
8017 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
8018 Depend on $(gen-locales)
8019
f997b4be
IYM
80202018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
8021
8022 [BZ #23562]
8023 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
8024 (struct siginfo_t): Use correct type for si_band.
8025
53b2bb87
FW
80262018-10-19 Florian Weimer <fweimer@redhat.com>
8027
8028 [BZ #23689]
8029 * resource/bits/types/struct_rusage.h (struct rusage): Update
8030 comment on struct. Remove extraneous field comment.
8031
0a271c8f
DM
80322018-10-18 David S. Miller <davem@davemloft.net>
8033
94a3a27f
DM
8034 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
8035 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
8036 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
8037 sysdep_routines in subdir elf.
8038 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
8039 version for __vdso_clock_gettime.
8040 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
8041 Define.
8042 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
8043 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
8044
0a271c8f
DM
8045 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
8046
72771e53
L
80472018-10-17 H.J. Lu <hongjiu.lu@intel.com>
8048
8049 * sysdeps/i386/init-arch.h: Removed.
8050 * sysdeps/i386/i586/init-arch.h: Likewise.
8051 * sysdeps/i386/i686/init-arch.h: Likewise.
8052 * sysdeps/i386/i686/hp-timing.h: Likewise.
8053 * sysdeps/x86_64/hp-timing.h: Likewise.
8054 * sysdeps/i386/isa.h: New file.
8055 * sysdeps/i386/i586/isa.h: Likewise.
8056 * sysdeps/i386/i686/isa.h: Likewise.
8057 * sysdeps/x86_64/isa.h: Likewise.
8058 * sysdeps/x86/hp-timing.h: New file.
8059 * sysdeps/x86/init-arch.h: Include <isa.h>.
8060
c2b7ccad
JM
80612018-10-17 Joseph Myers <joseph@codesourcery.com>
8062
8063 * math/libm-test-pow.inc (pow_test_data): Do not allow
8064 divide-by-zero exception for pow(+/- 0, -Inf).
8065
26756e57
ZW
80662018-10-17 Zack Weinberg <zackw@panix.com>
8067
8068 * manual/job.texi (Job Control is Optional): Remove node, as
8069 job control has not been optional in quite some time.
8070 (Job Control): Mention briefly that systems older than
8071 POSIX.1-2001 might not support job control.
8072 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
8073 defined on systems conforming to POSIX.1-2001.
8074
c5288d37
AS
80752018-10-17 Arjun Shankar <arjun@redhat.com>
8076
8077 [BZ #22062]
8078 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
8079 indentation.
8080 * (__gconv_read_conf): Mark function static.
8081 * (once): New static variable.
8082 * (__gconv_load_conf): New function.
8083 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
8084 * iconv/gconv_db.c (once): Remove static variable.
8085 * (__gconv_compare_alias): Use __gconv_load_conf instead of
8086 __gconv_read_conf.
8087 * (__gconv_find_transform): Likewise.
8088 * iconv/tst-iconv-mt.c: New test.
8089 * iconv/Makefile: Add tst-iconv_mt.
8090
8c8d2a8a
JM
80912018-10-17 Joseph Myers <joseph@codesourcery.com>
8092
8093 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
729f3402
JM
8094 bits/shm-pad.h.
8095 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
8096 (shmatt_t): Define as __syscall_ulong_t.
8097 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
8098 and [__SHM_PAD_AFTER_TIME].
8099 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
8100 Define shm_segsz and associated padding based on
8101 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
8102 Use __syscall_ulong_t instead of unsigned long int.
8103 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
8104 unsigned long int.
8105 [__USE_MISC] (struct shm_info): Likewise.
8106 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
8107 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
8108 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
8109 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
8110 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
8111 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
8112 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
8113 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
8114 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8115 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8116 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8117
8118 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8c8d2a8a
JM
8119 bits/shmlba.h.
8120 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
8121 (SHMLBA): Remove macro.
8122 (__getpagesize): Remove function declaration.
8123 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
8124 <bits/shmlba.h>.
8125 (SHMLBA): Remove macro.
8126 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
8127 <bits/shmlba.h>.
8128 (SHMLBA): Remove macro.
8129 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
8130 <bits/shmlba.h>.
8131 (SHMLBA): Remove macro.
8132 (__getpagesize): Remove function declaration.
8133 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
8134 <bits/shmlba.h>.
8135 (SHMLBA): Remove macro.
8136 (__getshmlba): Remove function declaration.
8137 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
8138 (SHMLBA): Remove macro.
8139 (__getpagesize): Remove function declaration.
8140 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
8141 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
8142 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8143 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
8144 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
8145 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
8146 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
8147 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
8148 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
8149 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
8150
403b4feb
SL
81512018-10-17 Stefan Liebler <stli@linux.ibm.com>
8152
8153 [BZ #23275]
8154 * nptl/tst-mutex10.c: New File.
8155 * nptl/Makefile (tests): Add tst-mutex10.
8156 (tst-mutex10-ENV): New variable.
8157 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
8158 Ensure that elision path is used if elision is available.
8159 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
8160 Likewise.
8161 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
8162 Likewise.
8163 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
8164 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
8165 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
8166 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
8167 Likewise.
8168 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
8169 (__pthread_mutex_cond_lock_adjust): Likewise.
8170 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
8171 Likewise.
8172 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
8173 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
8174 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8175 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
8176 Add comments.
8177 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
8178 Use atomic_load_relaxed and atomic_store_relaxed.
8179 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
8180 Use atomic_store_relaxed.
8181
ce5a7de6
AS
81822018-10-17 Andreas Schwab <schwab@suse.de>
8183
8184 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
8185 * crypt/badsalttest.c (TIMEOUT): Likewise.
8186 * crypt/sha256c-test.c (TIMEOUT): Likewise.
8187 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
8188 * io/test-lfs.c (TIMEOUT): Likewise.
8189 * libio/tst-atime.c (TIMEOUT): Likewise.
8190 * localedata/tst-leaks.c (TIMEOUT): Likewise.
8191 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
8192 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
8193 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
8194 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
8195 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
8196 * nptl/tst-cond11.c (TIMEOUT): Likewise.
8197 * nptl/tst-cond14.c (TIMEOUT): Likewise.
8198 * nptl/tst-cond15.c (TIMEOUT): Likewise.
8199 * nptl/tst-cond24.c (TIMEOUT): Likewise.
8200 * nptl/tst-cond25.c (TIMEOUT): Likewise.
8201 * nptl/tst-kill2.c (TIMEOUT): Likewise.
8202 * nptl/tst-kill3.c (TIMEOUT): Likewise.
8203 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
8204 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
8205 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
8206 * nptl/tst-once2.c (TIMEOUT): Likewise.
8207 * nptl/tst-once3.c (TIMEOUT): Likewise.
8208 * nptl/tst-once4.c (TIMEOUT): Likewise.
8209 * nptl/tst-robust8.c (TIMEOUT): Likewise.
8210 * nptl/tst-robust9.c (TIMEOUT): Likewise.
8211 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
8212 * nptl/tst-sem14.c (TIMEOUT): Likewise.
8213 * nptl/tst-sem6.c (TIMEOUT): Likewise.
8214 * nptl/tst-signal3.c (TIMEOUT): Likewise.
8215 * nptl/tst-spin4.c (TIMEOUT): Likewise.
8216 * nptl/tst-tls3.c (TIMEOUT): Likewise.
8217 * nptl/tst-tls4.c (TIMEOUT): Likewise.
8218 * posix/tst-chmod.c (TIMEOUT): Likewise.
8219 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
8220 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
8221 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
8222 * posix/tst-regex2.c (TIMEOUT): Likewise.
8223 * posix/tst-waitid.c (TIMEOUT): Likewise.
8224 * rt/tst-aio.c (TIMEOUT): Likewise.
8225 * rt/tst-aio10.c (TIMEOUT): Likewise.
8226 * rt/tst-aio4.c (TIMEOUT): Likewise.
8227 * rt/tst-aio5.c (TIMEOUT): Likewise.
8228 * rt/tst-aio6.c (TIMEOUT): Likewise.
8229 * rt/tst-aio64.c (TIMEOUT): Likewise.
8230 * rt/tst-aio7.c (TIMEOUT): Likewise.
8231 * rt/tst-aio9.c (TIMEOUT): Likewise.
8232 * rt/tst-clock.c (TIMEOUT): Likewise.
8233 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
8234 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
8235 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
8236 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
8237 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
8238 * rt/tst-timer4.c (TIMEOUT): Likewise.
8239 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
8240 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
8241 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
8242 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
8243 * time/tst-ftime.c (TIMEOUT): Likewise.
8244 * timezone/tst-tzset.c (TIMEOUT): Likewise.
8245
6b5c8607 82462018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
75c1aee5
AY
8247
8248 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
8249 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
8250 for thunderX2.
8251
bcdb1bfa
JM
82522018-10-15 Joseph Myers <joseph@codesourcery.com>
8253
8254 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8255 bits/sem-pad.h.
8256 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
8257 instead of <bits/wordsize.h>.
8258 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
8259 and [__SEM_PAD_AFTER_TIME].
8260 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
8261 __syscall_ulong_t instead of unsigned long int.
8262 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
8263 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
8264 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
8265 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
8266 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
8267 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
8268 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
8269 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
8270 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8271 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8272 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8273
f4efbdfb
PE
82742018-10-14 Paul Eggert <eggert@cs.ucla.edu>
8275
620a5d4c
PE
8276 regex: simplify by using intprops.h
8277 [BZ#23744]
8278 * posix/regex_internal.h [_LIBC]: Include intprops.h.
8279 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
8280 intprops.h defines them.
8281
f4efbdfb
PE
8282 regex: __builtin_expect → __glibc_unlikely
8283 [BZ#23744]
8284 This refactoring was prompted by a problem when the regex code is
8285 used as part of Gnulib and when the builder’s compiler does not grok
8286 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
8287 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
8288 Although this refactoring does not fix the problem directly,
8289 we might as well have Gawk use the now-preferred glibc style for when
8290 __builtin_expect is unavailable.
8291 * posix/regex_internal.h (BE): Remove.
8292 All uses replaced by __glibc_unlikely or __glibc_likely.
8293
9f9feb6d
JM
82942018-10-11 Joseph Myers <joseph@codesourcery.com>
8295
8296 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8297 bits/msq-pad.h.
8298 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
8299 instead of <bits/wordsize.h>.
8300 (msgqnum_t): Define as __syscall_ulong_t.
8301 (msglen_t): Likewise.
8302 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
8303 and [__MSQ_PAD_AFTER_TIME].
8304 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
8305 __syscall_ulong_t instead of unsigned long int.
8306 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
8307 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
8308 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
8309 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
8310 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
8311 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
8312 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
8313 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
8314 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8315 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8316 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8317
b9c0f6c1
JM
83182018-10-10 Joseph Myers <joseph@codesourcery.com>
8319
2a4b25fa
JM
8320 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
8321 (struct shmid_ds): Condition padding after time fields on
8322 [__WORDSIZE == 32].
8323 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
8324 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
8325 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8326
19e62f26
JM
8327 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
8328 (struct semid_ds): Condition padding after time fields on
8329 [__WORDSIZE == 32].
8330 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
8331 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
8332 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
8333 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8334
b9c0f6c1
JM
8335 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
8336 (struct msqid_ds): Condition padding after time fields on
8337 [__WORDSIZE == 32].
8338 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
8339 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
8340 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
8341 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8342
97785a61
SN
83432018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
8344
8345 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
8346
ed643089
SN
83472018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
8348
8349 * libio/tst-readline.c (TIMEOUT): Define.
8350
5a580643
PE
83512018-10-08 Paul Eggert <eggert@cs.ucla.edu>
8352
8353 mktime fix for Gnulib + coreutils
8354 [BZ#23745]
8355 This fix affects only Gnulib. Problem discovered when
8356 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
8357 * time/mktime.c:
8358 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
8359 Do not define since it is not used. Defining an unused static
8360 function prompts a warning from GCC when Coreutils is configured
8361 with --enable-gcc-warnings.
8362
c892ae04
LS
83632018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8364
8365 * benchtests/scripts/compare_bench.py (main): set float type on
8366 threshold argument.
8367
a68ec8ea
RL
83682018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
8369
8370 [BZ #23740]
8371 * localedata/locales/kl_GL (mon): Update, the relative case.
8372 (alt_mon): Add, fill with month names in the nominative case.
8373 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
8374 (d_fmt): Set to "%b %d %Y".
8375
a1987621
JM
83762018-10-04 Joseph Myers <joseph@codesourcery.com>
8377
47c49251
JM
8378 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
8379 <bits/mman-linux.h>.
8380 (PROT_READ): Don't define here.
8381 (PROT_WRITE): Likewise.
8382 (PROT_EXEC): Likewise.
8383 (PROT_NONE): Likewise.
8384 (PROT_GROWSDOWN): Likewise.
8385 (PROT_GROWSUP): Likewise.
8386 (MAP_SHARED): Likewise.
8387 (MAP_PRIVATE): Likewise.
8388 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
8389 [__USE_MISC] (MAP_FILE): Likewise.
8390 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
8391 [__USE_MISC] (MAP_ANON): Likewise.
8392 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
8393 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
8394 (MCL_CURRENT): Likewise.
8395 (MCL_FUTURE): Likewise.
8396 (MCL_ONFAULT): Likewise.
8397 [__USE_MISC] (MADV_NORMAL): Likewise.
8398 [__USE_MISC] (MADV_RANDOM): Likewise.
8399 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
8400 [__USE_MISC] (MADV_WILLNEED): Likewise.
8401 [__USE_MISC] (MADV_DONTNEED): Likewise.
8402 [__USE_MISC] (MADV_FREE): Likewise.
8403 [__USE_MISC] (MADV_REMOVE): Likewise.
8404 [__USE_MISC] (MADV_DONTFORK): Likewise.
8405 [__USE_MISC] (MADV_DOFORK): Likewise.
8406 [__USE_MISC] (MADV_HWPOISON): Likewise.
8407 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
8408 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
8409 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
8410 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
8411 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
8412 (__MAP_ANONYMOUS): New macro.
8413 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
8414 <bits/mman-linux.h> inclusion.
8415 (MAP_FIXED): Likewise.
8416 (MS_SYNC): Likewise.
8417 (MS_ASYNC): Likewise.
8418 (MS_INVALIDATE): Likewise.
8419 [__USE_MISC] (MADV_MERGEABLE): Likewise.
8420 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
8421 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
8422 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
8423 [__USE_MISC] (MADV_DONTDUMP): Likewise.
8424 [__USE_MISC] (MADV_DODUMP): Likewise.
8425 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
8426 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
8427
a1987621
JM
8428 [BZ #23735]
8429 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
8430 Define.
8431 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
8432 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
8433 Add test-nldbl-redirect.
8434 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
8435 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
8436 $(objpfx)libnldbl_nonshared.a.
8437
e7624d70
SL
84382018-10-04 Stefan Liebler <stli@linux.ibm.com>
8439
8440 * support/support.h (support_objdir_elf_ldso): New variable.
8441 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
8442 * support/Makefile (CFLAGS-support_paths.c): Add definition
8443 for OBJDIR_ELF_LDSO_PATH.
8444 * support/test-container.c (main): Search for the ld.so
8445 which is also used by the testsuite.
8446
dae3ed95
RL
84472018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
8448
8449 [BZ #20209]
8450 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
8451 should be "sap" rather than "sab".
8452 (day): Fix spelling of Sunday, should be "sapaat" rather than
8453 "sabaat".
8454
f346b5b3
JM
84552018-10-02 Joseph Myers <joseph@codesourcery.com>
8456
8457 * math/libm-test-fma.inc (fma_test_data): Add more tests.
8458
4a06ceea
MJ
84592018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
8460
8461 [BZ #19444]
8462 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
8463 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
8464 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
8465
a06fc4a5
AZ
84662018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8467
8468 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
8469
a1ccc065
L
84702018-10-02 H.J. Lu <hongjiu.lu@intel.com>
8471
8472 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
8473 Add -mrtm.
8474 (CFLAGS-elision-unlock.c): Likewise.
8475 (CFLAGS-elision-timed.c): Likewise.
8476 (CFLAGS-elision-trylock.c): Likewise.
8477 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
8478
0b727ed4
AZ
84792018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8480
8481 [BZ #21037]
8482 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
8483 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
8484 new fd_to_filename interface.
8485 * libio/freopen64.c (freopen64): Likewise.
8486 * libio/tst-memstream.h: New file.
8487 * libio/tst-memstream4.c: Likewise.
8488 * libio/tst-wmemstream4.c: Likewise.
8489 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
8490 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
8491 and remove internal dynamic allocation.
8492
d0e91e8c
JM
84932018-10-01 Joseph Myers <joseph@codesourcery.com>
8494
8495 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
8496 (MREMAP_MAYMOVE): Do not define here.
8497 [__USE_GNU] (MREMAP_FIXED): Likewise.
8498 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
8499 (MREMAP_MAYMOVE): Define here instead.
8500 [__USE_GNU] (MREMAP_FIXED): Likewise.
8501 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
8502 (MREMAP_MAYMOVE): Remove.
8503 [__USE_GNU] (MREMAP_FIXED): Likewise.
8504
c52944e8
JM
85052018-09-28 Joseph Myers <joseph@codesourcery.com>
8506
8507 * math/fromfp.h: Do not include <math_private.h>.
8508 * math/s_cacosh_template.c: Likewise.
8509 * math/s_casin_template.c: Likewise.
8510 * math/s_casinh_template.c: Likewise.
8511 * math/s_ccos_template.c: Likewise.
8512 * math/s_cproj_template.c: Likewise.
8513 * math/s_fdim_template.c: Likewise.
8514 * math/s_fmaxmag_template.c: Likewise.
8515 * math/s_fminmag_template.c: Likewise.
8516 * math/s_iseqsig_template.c: Likewise.
8517 * math/s_ldexp_template.c: Likewise.
8518 * math/s_nextdown_template.c: Likewise.
8519 * math/w_log1p_template.c: Likewise.
8520 * math/w_scalbln_template.c: Likewise.
8521 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
8522 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
8523 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
8524 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
8525 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
8526 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
8527 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
8528 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
8529 * sysdeps/i386/fpu/s_atanl.c: Likewise.
8530 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
8531 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
8532 * sysdeps/i386/fpu/s_fdim.c: Likewise.
8533 * sysdeps/i386/fpu/s_logbl.c: Likewise.
8534 * sysdeps/i386/fpu/s_rintl.c: Likewise.
8535 * sysdeps/i386/fpu/s_significandl.c: Likewise.
8536 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
8537 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
8538 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8539 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8540 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
8541 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8542 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8543 * sysdeps/ieee754/k_standardf.c: Likewise.
8544 * sysdeps/ieee754/k_standardl.c: Likewise.
8545 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8546 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
8547 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
8548 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
8549 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
8550 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
8551 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8552 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8553 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8554 * sysdeps/ieee754/s_signgam.c: Likewise.
8555 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
8556 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
8557 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
8558 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8559 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
8560 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
8561 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8562 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
8563 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8564 * sysdeps/riscv/rvd/s_finite.c: Likewise.
8565 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
8566 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
8567 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
8568 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
8569 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
8570 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
8571 * sysdeps/riscv/rvf/fegetround.c: Likewise.
8572 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
8573 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
8574 * sysdeps/riscv/rvf/fesetround.c: Likewise.
8575 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
8576 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
8577 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
8578 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8579 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
8580 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
8581 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
8582 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
8583 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
8584 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
8585 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
8586 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
8587 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
8588 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
8589 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8590 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8591 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
8592 <math_private.h>.
8593 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
8594
7b1f9406
L
85952018-09-28 H.J. Lu <hongjiu.lu@intel.com>
8596
8597 [BZ #23716]
8598 * sysdeps/i386/dl-cet.c: Removed.
8599 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
8600 prototype.
8601 (_dl_runtime_profile_shstk): Likewise.
8602 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
8603 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
8604
7a16bdbb
AZ
86052018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8606
8607 [BZ #23579]
8608 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
8609 do_test_with_invalid_iov): New tests.
8610 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
8611 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
8612 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
8613 errno is ENOSYS.
8614 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
8615 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
8616 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
8617
9755bc46
JM
86182018-09-27 Joseph Myers <joseph@codesourcery.com>
8619
81dca813
JM
8620 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8621 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
8622 (MATH_REDIRECT_BINARY_ARGS): New macro.
8623 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8624 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
8625 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
8626 header inclusion.
8627 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
8628 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8629 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
8630 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8631 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8632 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8633 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
8635 Likewise.
8636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
8637 Likewise.
8638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
8639 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
8640 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
8641 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
8642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
8643 Likewise.
8644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
8645 Likewise.
8646 * sysdeps/generic/math_private_calls.h
8647 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
8648 Do not declare and define as an inline function.
8649 * math/divtc3.c (__divtc3): Use copysign functions instead of
8650 __copysign variants.
8651 * math/multc3.c (__multc3): Likewise.
8652 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
8653 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
8654 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8655 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
8656 Likewise.
8657 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8658 (__ieee754_yn): Likewise.
8659 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8660 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
8661 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
8662 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8663 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
8664 (__sin): Likewise.
8665 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
8666 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8667 Likewise.
8668 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8669 Likewise.
8670 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8671 Likewise.
8672 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8673 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8674 Likewise.
8675 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8676 (__ieee754_ynf): Likewise.
8677 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
8678 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8679 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
8680 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8681 Likewise.
8682 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8683 (__ieee754_ynl): Likewise.
8684 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8685 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
8686 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8687 Likewise.
8688 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8689 (__ieee754_ynl): Likewise.
8690 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
8691 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8692 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8693 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8694 Likewise.
8695 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8696 (__ieee754_ynl)
8697 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
8698 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8699 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
8700 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8701 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8702
9755bc46
JM
8703 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8704 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
8705 using MATH_REDIRECT.
8706 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
8707 header inclusion.
8708 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
8709 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8710 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8711 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
8712 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8713 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8714 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
8716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
8717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
8718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
8719 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8720 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8721 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8722 (round): Redirect to __round.
8723 (__roundl): Call round instead of __round.
8724 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
8725 Remove macro.
8726 [_ARCH_PWR5X] (__roundf): Likewise.
8727 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
8728 functions instead of __round variants.
8729 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
8730 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
8731 Likewise.
8732 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
8733 Likewise.
8734 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
8735 Likewise.
8736 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
8737 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
8738 __lroundl.
8739 (__ieee754_expl): Call roundl instead of __roundl.
8740
f841c97e
AS
87412018-09-27 Andreas Schwab <schwab@suse.de>
8742
8743 [BZ #23717]
8744 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
8745 (do_test): Make st1 static.
8746
6ca8284e
AS
87472018-09-26 Andreas Schwab <schwab@suse.de>
8748
8749 [BZ #23707]
8750 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
8751 * elf/Makefile (tests): Add tst-unwind-ctor.
8752 (modules-names): Add tst-unwind-ctor-lib.
8753 ($(objpfx)tst-unwind-ctor): Depend on
8754 $(objpfx)tst-unwind-ctor-lib.so.
8755
61d8b5fe
JM
87562018-09-26 Joseph Myers <joseph@codesourcery.com>
8757
8758 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
8759 file. Most contents moved from ....
8760 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
8761 and include <bits/mman-map-flags-generic.h>.
8762 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8763 (sysdep_headers): Add bits/mman-map-flags-generic.h.
8764 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
8765 <bits/mman-map-flags-generic.h>.
8766 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
8767 macros defined in <bits/mman-map-flags-generic.h>.
8768 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
8769 <bits/mman-map-flags-generic.h>.
8770 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
8771 defined in <bits/mman-map-flags-generic.h>.
8772
46341286
AS
87732018-09-26 Andreas Schwab <schwab@suse.de>
8774
8775 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
8776 output.
8777
b5c45e83
AZ
87782018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
8779 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8780 Fangrui Song <maskray@google.com>
8781
8782 [BZ #20480]
8783 * config.make.in (have-textrel_ifunc): New define.
8784 * configure.ac: Add check if linker supports textrel relocation with
8785 ifunc.
8786 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
8787 tst-ifunc-textrel.
8788 (CFLAGS-tst-ifunc-textrel.c): New rule.
8789 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
8790 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
8791 * elf/tst-ifunc-textrel.c: New file.
8792
8ea4d2b7
JM
87932018-09-25 Joseph Myers <joseph@codesourcery.com>
8794
d62f9ec0
JM
8795 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
8796 <bits/procfs-prregset.h>.
8797 (prgregset_t): Define using __prgregset_t.
8798 (prfpregset_t): Define using __prfpregset_t.
8799 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8800 (sysdep_headers): Add bits/procfs-prregset.h.
8801 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
8802 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
8803 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
8804 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
8805
d0d8eb43
JM
8806 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
8807 <bits/procfs-id.h> and <bits/procfs-extra.h>.
8808 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
8809 pr_uid and pr_gid.
8810 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8811 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
8812 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
8813 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
8814 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
8815 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
8816 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
8817 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
8818 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
8819 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
8820 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
8821 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
8822 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
8823 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
8824 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
8825 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
8826 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
8827 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
8828 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
8829 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
8830 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
8831 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
8832 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8833 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
8834
8ea4d2b7
JM
8835 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
8836 AArch64 version. Include <bits/procfs.h>.
8837 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8838 (sysdep_headers): Add bits/procfs.h.
8839 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
8840 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
8841 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
8842 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
8843 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
8844 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
8845 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
8846 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
8847 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
8848 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
8849 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
8850 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
8851 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
8852 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
8853 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
8854 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8855 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
8856
c7027166
AZ
88572018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8858
8859 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
8860 Use libsupport.
8861
335a3b0a
AS
88622018-09-25 Arjun Shankar <arjun@redhat.com>
8863
8864 * iconv/gconv_int.h (__gconv_path_elem): Remove.
8865 (__gconv_max_path_elem_len): Likewise.
8866 (__gconv_nmodules): Likewise.
8867 (__gconv_get_path): Likewise.
8868 (path_elem): Move to ...
8869 * iconv/gconv_conf.c: ... here.
8870 (__gconv_get_path): Mark function static.
8871 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
8872 * iconv/gconv_open.c: ... here.
8873
462d348c
AS
88742018-09-24 Andreas Schwab <schwab@suse.de>
8875
8876 * scripts/haveversions.awk: New file.
8877 * Makerules ($(common-objpfx)Versions.def)
8878 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
8879 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
8880 Move rules ...
8881 * Makeconfig ($(common-objpfx)Versions.def)
8882 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
8883 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
8884 ... here.
8885 ($(common-objpfx)Versions.mk): New rule. Include it.
8886 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
8887 Emit error if build-obsolete-nsl = yes.
8888 * manual/install.texi (Configuring and compiling): Describe
8889 --enable-obsolete-nsl as unavaiable after version 2.28.
8890 * INSTALL: Regenerate.
8891
f0458cf4
AZ
88922018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8893
8894 * NEWS: Add note about new TLE support on powerpc64le.
8895 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
8896 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
8897 __ununsed1.
8898 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
8899 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
8900 * sysdeps/powerpc/powerpc32/sysdep.h,
8901 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
8902 ABORT_TRANSACTION): Remove macros.
8903 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
8904 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
8905 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
8906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
8907 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8908 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
8909 usage.
8910 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
8911
434d45fd
RL
89122018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
8913
8914 [BZ #10425]
8915 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
8916 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
8917 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
8918 which is the same as in it_IT.
8919 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
8920 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
8921
d90c9b1a
JM
89222018-09-20 Joseph Myers <joseph@codesourcery.com>
8923
7abf97be
JM
8924 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8925 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
8926 using MATH_REDIRECT.
8927 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
8928 header inclusion.
8929 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
8930 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8931 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
8932 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8933 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8934 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
8936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
8937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
8938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
8939 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8940 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8941 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
8942 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
8943 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
8944 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
8945 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
8946 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8947 (ceil): Redirect to __ceil.
8948 (floor): Redirect to __floor.
8949 (trunc): Redirect to __trunc.
8950 (__truncl): Call trunc instead of __trunc.
8951 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
8952 Remove macro.
8953 [_ARCH_PWR5X] (__truncf): Likewise.
8954 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
8955 trunc functions instead of __trunc variants.
8956 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8957 Likewise.
8958 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8959 Likewise.
8960 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8961 Likewise.
8962 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8963 Likewise.
8964
d90c9b1a
JM
8965 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
8966 [__i586__ || __pentium__].
8967 [__i486__]: Handle explicitly.
8968 (HAS_CPUID): Define to 1 if above macros are undefined.
8969 (HAS_I586): Likewise.
8970 (HAS_I686): Likewise.
8971
db9a8ad4
FW
89722018-09-20 Florian Weimer <fweimer@redhat.com>
8973
8974 * misc/tst-gethostid.c: New file.
8975 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
8976 (tst-gethostid): Link with -ldl.
8977
1214ba06
MY
89782018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
8979
8980 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
8981 value from gethostbyname_r.
8982
791b350d
CD
89832018-09-19 Carlos O'Donell <carlos@redhat.com>
8984
8985 * stdlib/tst-setcontext9.c (f1): Rename to...
8986 (f1a): ... this.
8987 (f1b): New function implementing lower half of f1 in alternate stack.
8988
8e6fd2bd
PE
89892018-09-19 Paul Eggert <eggert@cs.ucla.edu>
8990
e1080e7e
PE
8991 Fix mktime localtime offset confusion
8992 [BZ #23603]
8993 * include/time.h (__mktime_internal): The localtime offset is now
8994 of type long int instead of time_t. This is the longstanding type
8995 in glibc, and it is more than enough to represent difference
8996 between localtime and gmtime even if it is 32 bits and time_t is
8997 64. Changing it now will let us avoid an unnecessary change when
8998 time_t is widened to 64 bits on 32-bit platforms.
8999 * time/mktime-internal.h (mktime_offset_t): Now long int.
9000
8e6fd2bd
PE
9001 Merge mktime, timegm from upstream Gnulib
9002 [BZ #23603][BZ #16346]
9003 This fixes some obscure problems with integer overflow.
9004 Although it looks scary, it is almost all a byte-for-byte copy
9005 from Gnulib, and the Gnulib code has been tested reasonably well.
9006 * include/intprops.h: New file, copied from Gnulib.
9007 * include/verify.h, time/mktime-internal.h:
9008 New tiny files, simplified from Gnulib.
9009 * time/mktime.c: Copy from Gnulib. This has the following changes:
9010 Do not include config.h if DEBUG_MKTIME is nonzero.
9011 Include stdbool.h, intprops.h, verify.h.
9012 Include string.h only if needed.
9013 Include stdlib.h on MS-Windows.
9014 Include mktime-internal.h.
9015 (DEBUG_MKTIME): Default to 0, and simplify later uses.
9016 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
9017 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
9018 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
9019 simplify later conditionals; default the others to zero. Use
9020 these conditionals to express only the code needed on the current
9021 platform. In uses of these conditionals, explicitly spell out how
9022 _LIBC affects things, so it’s easier to review from a glibc
9023 viewpoint.
9024 (WRAPV): Remove; no longer needed now that we have
9025 systematic overflow checking.
9026 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
9027 compartmentalize tzset issues. Move system-dependent tzsettish
9028 code here from mktime.
9029 (verify): Remove; now done by verify.h. All uses changed.
9030 (long_int): Use a more-conservative definition, to avoid
9031 integer overflow.
9032 (SHR): Remove, replacing with ...
9033 (shr): New function, which means we needn’t worry about side
9034 effects in args, and conversion analysis is simpler.
9035 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
9036 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
9037 (time_t_avg, time_t_add_ok): Remove.
9038 (mktime_min, mktime_max): New constants.
9039 (leapyear, isdst_differ): Use bool for booleans.
9040 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
9041 Use long_int, not time_t, for mktime differences.
9042 (long_int_avg): New function, replacing time_t_avg.
9043 INT_ADD_WRAPV replaces time_t_add_ok.
9044 (guess_time_tm): 6th arg is now long_int, not time_t const *.
9045 All uses changed.
9046 (convert_time): New function.
9047 (ranged_convert): Use it.
9048 (__mktime_internal): Last arg now points to mktime_offset_t, not
9049 time_t. All uses changed. This is a no-op on glibc, where
9050 mktime_offset_t is always time_t. Use int, not time_t, for UTC
9051 offset guess. Directly check for integer overflow instead of
9052 using a heuristic that works only 99.9...% of the time.
9053 Access *OFFSET only once, to avoid an unlikely race if the
9054 compiler delays a load and if this cascades into a signed integer
9055 overflow.
9056 (mktime): Move tzsettish code to my_tzset, and move
9057 localtime_offset to within mktime so that it doesn’t
9058 need a separate ifdef.
9059 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
9060 instead of localtime.
9061 * time/timegm.c: Copy from Gnulib. This has the following changes:
9062 Include mktime-internal.h.
9063 [!_LIBC]: Include config.h and time.h. Do not include
9064 timegm.h or time_r.h. Make __mktime_internal a macro,
9065 and include mktime-internal.h to get its declaration.
9066 (timegm): Temporary is now mktime_offset_t, not time_t.
9067 This affects only Gnulib.
9068
83a552b0
WD
90692018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
9070
9071 [BZ #23637]
9072 * string/test-strstr.c (pr23637): New function.
9073 (test_main): Add tests with longer needles.
9074 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
9075 * string/strstr.c (AVAILABLE): Likewise.
9076
d7347278
SN
90772018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
9078
9079 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
9080
424c4f60
SN
90812018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
9082
9083 * NEWS: Mention pow improvements.
9084 * math/Makefile (type-double-routines): Add e_pow_log_data.
9085 * sysdeps/generic/math_private.h (__exp1): Remove.
9086 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
9087 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
9088 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
9089 contraction.
9090 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
9091 (exp_inline): Remove.
9092 (__ieee754_exp): Only single double input is handled.
9093 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
9094 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
9095 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
9096 (__pow_log_data): Define.
9097 * sysdeps/ieee754/dbl-64/upow.h: Remove.
9098 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
9099 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
9100 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
9101 contraction.
9102 (CFLAGS-e_pow-fma4.c): Likewise.
9103
e4e4fde5
PE
91042018-09-18 Paul Eggert <eggert@cs.ucla.edu>
9105
dab9c348
PE
9106 Simplify tzfile fstat failure code
9107 [BZ #21716]
9108 * time/tzfile.c (__tzfile_read): Simplify slightly.
9109
e4e4fde5
PE
9110 Fix tzfile low-memory assertion failure
9111 [BZ #21716]
9112 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
9113 when registering time zone abbreviations.
9114
50bc59ca
JM
91152018-09-18 Joseph Myers <joseph@codesourcery.com>
9116
d3a43e49
JM
9117 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
9118 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
9119 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
9120 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
9121 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
9122 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
9123 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
9124 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9125 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9126
50bc59ca
JM
9127 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
9128 __ceil.
9129 (__ceill): Call ceil instead of __ceil.
9130 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
9131 __floor.
9132 (__floorl): Call floor instead of __floor.
9133
89983cb3
JM
91342018-09-17 Joseph Myers <joseph@codesourcery.com>
9135
71223ef9
JM
9136 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9137 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
9138 using MATH_REDIRECT.
9139 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
9140 header inclusion.
9141 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
9142 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9143 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9144 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
9145 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9146 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9147 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9148 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
9149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
9150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
9151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
9152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
9153 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9154 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9155 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
9156 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
9157 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
9158 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
9159 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
9160 Remove macro.
9161 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
9162 functions instead of __ceil variants.
9163 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
9164 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
9165 Likewise.
9166 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
9167 Likewise.
9168 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
9169 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
9170 Likewise.
9171 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9172 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9173
89983cb3
JM
9174 [BZ #21286]
9175 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
9176 constant.
9177 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
9178 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
9179 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
9180 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
9181 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
9182 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
9183 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
9184 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
9185 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
9186 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
9187 (ILL_BADIADDR): Remove constant.
9188 (TRAP_BRANCH): Likewise.
9189 (TRAP_HWBKPT): Likewise.
9190
e44acb20
JM
91912018-09-14 Joseph Myers <joseph@codesourcery.com>
9192
3f7f1d18
JM
9193 [BZ #23656]
9194 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
9195 Remove [_MIPS_SIM = _ABIN32] conditional case.
9196 (struct elf_prpsinfo): Likewise.
9197
d59f3e5e
JM
9198 [BZ #23649]
9199 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
9200 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
9201 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
9202 Likewise.
9203 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
9204 elf_prpsinfo): Likewise.
9205 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
9206 elf_prpsinfo): Likewise.
9207 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
9208 Likewise.
9209
f29b6f17
JM
9210 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9211 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
9212 using MATH_REDIRECT.
9213 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
9214 header inclusion.
9215 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
9216 * sysdeps/alpha/fpu/s_rint.c: Likewise.
9217 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
9218 * sysdeps/i386/fpu/s_rintl.c: Likewise.
9219 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9220 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9221 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
9222 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9223 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9224 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9225 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
9226 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
9227 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
9228 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
9229 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
9230 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9231 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9232 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
9233 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
9234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
9235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
9236 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
9237 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
9238 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
9239 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
9240 * sysdeps/x86_64/fpu/math_private.h: Remove file.
9241 * math/e_scalb.c (invalid_fn): Use rint functions instead of
9242 __rint variants.
9243 * math/e_scalbf.c (invalid_fn): Likewise.
9244 * math/e_scalbl.c (invalid_fn): Likewise.
9245 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
9246 Likewise.
9247 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9248 Likewise.
9249 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
9250 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
9251 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9252 Likewise.
9253 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9254 Likewise.
9255 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9256 Likewise.
9257 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
9258 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
9259
e44acb20
JM
9260 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9261 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
9262 New macro.
9263 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9264 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
9265 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9266 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
9267 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9268 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
9269 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9270 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
9271 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9272 && !NO_MATH_REDIRECT] (floor): Likewise.
9273 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
9274 header inclusion.
9275 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
9276 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9277 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9278 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
9279 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9280 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9281 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9282 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
9283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
9284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
9285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
9286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
9287 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9288 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9289 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
9290 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
9291 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
9292 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
9293 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
9294 Remove macro.
9295 [_ARCH_PWR5X] (__floorf): Likewise.
9296 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
9297 inline function.
9298 [__SSE4_1__] (__floorf): Likewise.
9299 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
9300 instead of __floor variants.
9301 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
9302 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
9303 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
9304 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
9305 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
9306 * math/w_tgamma_compat.c (__tgamma): Likewise.
9307 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
9308 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
9309 * math/w_tgammal_compat.c (__tgammal): Likewise.
9310 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
9311 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
9312 Likewise.
9313 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
9314 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
9315 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
9316 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9317 Likewise.
9318 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
9319 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
9320 Likewise.
9321 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
9322 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
9323 Likewise.
9324 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9325 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
9326 Likewise.
9327 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9328 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
9329 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
9330 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
9331 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9332 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9333
221e4bab
JM
93342018-09-12 Joseph Myers <joseph@codesourcery.com>
9335
9336 * elf/Makefile (modules-names-tests): New variable.
9337
3e08ff54
SN
93382018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
9339
9340 * NEWS: Mention log2 improvements.
9341 * math/Makefile (type-double-routines): Add e_log2_data.
9342 * sysdeps/i386/fpu/e_log2_data.c: New file.
9343 * sysdeps/ia64/fpu/e_log2_data.c: New file.
9344 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
9345 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
9346 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
9347 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
9348 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
9349
f41b0a43
SN
93502018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
9351
9352 * NEWS: Mention log improvement.
9353 * math/Makefile (type-double-routines): Add e_log_data.
9354 * sysdeps/i386/fpu/e_log_data.c: New file.
9355 * sysdeps/ia64/fpu/e_log_data.c: New file.
9356 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
9357 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
9358 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
9359 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
9360 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
9361 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
9362
5a274db4
L
93632018-09-12 H.J. Lu <hongjiu.lu@intel.com>
9364 Xuepeng Guo <xuepeng.guo@intel.com>
9365
9366 [BZ #23606]
9367 * sysdeps/i386/start.S: Include <sysdep.h>
9368 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
9369 enabled. Add cfi_undefined (eip).
9370
b1176270
JM
93712018-09-11 Joseph Myers <joseph@codesourcery.com>
9372
4e7fbdd7
JM
9373 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
9374 (MOVQ): Likewise.
9375 (EXTRACT_WORDS64): Likewise.
9376 (INSERT_WORDS64): Likewise.
9377 (GET_FLOAT_WORD): Likewise.
9378 (SET_FLOAT_WORD): Likewise.
9379
b1176270
JM
9380 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
9381 argument.
9382 (Config.build_gcc): Use --disable-libsanitizer for first GCC
9383 build, but not for second build if --full-gcc. Use
9384 --enable-languages=all for second build if --full-gcc.
9385 (get_parser): Add --full-gcc option.
9386 (main): Update call to Context.
9387
527f355e
RL
93882018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
9389
9390 [BZ #10797]
9391 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
9392 Single Quotation Mark).
9393 (thousands_sep): Likewise.
9394 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
9395 * localedata/locales/it_IT (thousands_sep): Use ".".
9396 (grouping): Use "3;3".
9397
7244f13d
JM
93982018-09-10 Joseph Myers <joseph@codesourcery.com>
9399
9400 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
9401 x86_64 and i686 configs using --enable-obsolete-rpc
9402 --enable-obsolete-nsl.
9403
38245425
SL
94042018-09-06 Stefan Liebler <stli@linux.ibm.com>
9405
9406 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9407
28669f86
SL
94082018-09-06 Stefan Liebler <stli@linux.ibm.com>
9409
9410 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
9411 Increment size of new_argv by one.
9412
a33650d1
RL
94132018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
9414
9415 [BZ #17426]
9416 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
9417 * localedata/locales/ar_IN (d_fmt): Likewise.
9418 * localedata/locales/bhb_IN (d_fmt): Likewise.
9419 * localedata/locales/bho_IN (d_fmt): Likewise.
9420 * localedata/locales/bn_BD (d_fmt): Likewise.
9421 * localedata/locales/bn_IN (d_fmt): Likewise.
9422 * localedata/locales/doi_IN (d_fmt): Likewise.
9423 * localedata/locales/gu_IN (d_fmt): Likewise.
9424 * localedata/locales/hi_IN (d_fmt): Likewise.
9425 * localedata/locales/hne_IN (d_fmt): Likewise.
9426 * localedata/locales/kn_IN (d_fmt): Likewise.
9427 * localedata/locales/mag_IN (d_fmt): Likewise.
9428 * localedata/locales/mai_IN (d_fmt): Likewise.
9429 * localedata/locales/mjw_IN (d_fmt): Likewise.
9430 * localedata/locales/ml_IN (d_fmt): Likewise.
9431 * localedata/locales/mni_IN (d_fmt): Likewise.
9432 * localedata/locales/mr_IN (d_fmt): Likewise.
9433 * localedata/locales/pa_IN (d_fmt): Likewise.
9434 * localedata/locales/raj_IN (d_fmt): Likewise.
9435 * localedata/locales/sat_IN (d_fmt): Likewise.
9436 * localedata/locales/sd_IN (d_fmt): Likewise.
9437 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
9438 * localedata/locales/ta_IN (d_fmt): Likewise.
9439 * localedata/locales/ta_LK (d_fmt): Likewise.
9440 * localedata/locales/tcy_IN (d_fmt): Likewise.
9441 * localedata/locales/ur_IN (d_fmt): Likewise.
9442
9443 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
9444 * localedata/locales/ks_IN (d_fmt): Likewise.
9445 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
9446
9447 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
9448 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
9449 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
9450 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
9451
d114e6a7
SN
94522018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
9453
9454 * NEWS: Mention exp and exp2 improvements.
9455 * math/Makefile (libm-support): Remove t_exp.
9456 (type-double-routines): Add math_err and e_exp_data.
9457 * sysdeps/aarch64/libm-test-ulps: Update.
9458 * sysdeps/arm/libm-test-ulps: Update.
9459 * sysdeps/i386/fpu/e_exp_data.c: New file.
9460 * sysdeps/i386/fpu/math_err.c: New file.
9461 * sysdeps/i386/fpu/t_exp.c: Remove.
9462 * sysdeps/ia64/fpu/e_exp_data.c: New file.
9463 * sysdeps/ia64/fpu/math_err.c: New file.
9464 * sysdeps/ia64/fpu/t_exp.c: Remove.
9465 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
9466 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
9467 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
9468 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
9469 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
9470 * sysdeps/ieee754/dbl-64/math_config.h: New file.
9471 * sysdeps/ieee754/dbl-64/math_err.c: New file.
9472 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
9473 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
9474 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
9475 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
9476 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
9477 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
9478 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
9479 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9480 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9481
b9d8c474
JM
94822018-09-05 Joseph Myers <joseph@codesourcery.com>
9483
b7cdc2ae
JM
9484 * sysdeps/alpha/fpu/math_private.h: Remove.
9485
b9d8c474
JM
9486 * sysdeps/generic/math_private.h
9487 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
9488 Move this inline function ....
9489 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
9490 * include/math.h [!_ISOMAC]: To here....
9491
418d99e6
JM
94922018-09-04 Joseph Myers <joseph@codesourcery.com>
9493
9494 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
9495 code ....
9496 [!FE_HAVE_ROUNDING_MODES]: And this code ....
9497 * include/fenv.h [!_ISOMAC]: ... to here.
9498 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
9499 (feraiseexcept): Likewise.
9500 * math/fromfp.h: Do not include <fenv_private.h>.
9501 * math/s_cexp_template.c: Likewise.
9502 * math/s_csin_template.c: Likewise.
9503 * math/s_csinh_template.c: Likewise.
9504 * math/s_ctan_template.c: Likewise.
9505 * math/s_ctanh_template.c: Likewise.
9506 * math/s_iseqsig_template.c: Likewise.
9507 * math/w_acos_compat.c: Likewise.
9508 * math/w_acosf_compat.c: Likewise.
9509 * math/w_acosl_compat.c: Likewise.
9510 * math/w_asin_compat.c: Likewise.
9511 * math/w_asinf_compat.c: Likewise.
9512 * math/w_asinl_compat.c: Likewise.
9513 * math/w_j0_compat.c: Likewise.
9514 * math/w_j0f_compat.c: Likewise.
9515 * math/w_j0l_compat.c: Likewise.
9516 * math/w_j1_compat.c: Likewise.
9517 * math/w_j1f_compat.c: Likewise.
9518 * math/w_j1l_compat.c: Likewise.
9519 * math/w_jn_compat.c: Likewise.
9520 * math/w_jnf_compat.c: Likewise.
9521 * math/w_log10_compat.c: Likewise.
9522 * math/w_log10f_compat.c: Likewise.
9523 * math/w_log10l_compat.c: Likewise.
9524 * math/w_log2_compat.c: Likewise.
9525 * math/w_log2f_compat.c: Likewise.
9526 * math/w_log2l_compat.c: Likewise.
9527 * math/w_log_compat.c: Likewise.
9528 * math/w_logf_compat.c: Likewise.
9529 * math/w_logl_compat.c: Likewise.
9530 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9531 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9532 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9533 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9534 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9535 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9536 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9537 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9538 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9539 * sysdeps/ieee754/k_standardl.c: Likewise.
9540 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9541 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9542 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9543 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9544 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9545 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9546 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9547 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9548 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9549 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9550 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9551 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9552 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9553 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9554 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9555 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9556 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9557 * math/w_ilogb_template.c: Include <fenv.h> instead of
9558 <fenv_private.h>.
9559 * math/w_llogb_template.c: Likewise.
9560 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9561 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9562
70e2ba33
JM
95632018-09-03 Joseph Myers <joseph@codesourcery.com>
9564
9565 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
9566 * math/fromfp.h: Include <fenv_private.h>.
9567 * math/math-narrow.h: Likewise.
9568 * math/s_cexp_template.c: Likewise.
9569 * math/s_csin_template.c: Likewise.
9570 * math/s_csinh_template.c: Likewise.
9571 * math/s_ctan_template.c: Likewise.
9572 * math/s_ctanh_template.c: Likewise.
9573 * math/s_iseqsig_template.c: Likewise.
9574 * math/w_acos_compat.c: Likewise.
9575 * math/w_acosf_compat.c: Likewise.
9576 * math/w_acosl_compat.c: Likewise.
9577 * math/w_asin_compat.c: Likewise.
9578 * math/w_asinf_compat.c: Likewise.
9579 * math/w_asinl_compat.c: Likewise.
9580 * math/w_ilogb_template.c: Likewise.
9581 * math/w_j0_compat.c: Likewise.
9582 * math/w_j0f_compat.c: Likewise.
9583 * math/w_j0l_compat.c: Likewise.
9584 * math/w_j1_compat.c: Likewise.
9585 * math/w_j1f_compat.c: Likewise.
9586 * math/w_j1l_compat.c: Likewise.
9587 * math/w_jn_compat.c: Likewise.
9588 * math/w_jnf_compat.c: Likewise.
9589 * math/w_llogb_template.c: Likewise.
9590 * math/w_log10_compat.c: Likewise.
9591 * math/w_log10f_compat.c: Likewise.
9592 * math/w_log10l_compat.c: Likewise.
9593 * math/w_log2_compat.c: Likewise.
9594 * math/w_log2f_compat.c: Likewise.
9595 * math/w_log2l_compat.c: Likewise.
9596 * math/w_log_compat.c: Likewise.
9597 * math/w_logf_compat.c: Likewise.
9598 * math/w_logl_compat.c: Likewise.
9599 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
9600 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
9601 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
9602 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
9603 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9604 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9605 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9606 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9607 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9608 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9609 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9610 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9611 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
9612 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
9613 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9614 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
9615 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9616 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9617 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9618 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9619 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9620 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9621 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9622 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9623 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9624 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9625 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9626 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
9627 * sysdeps/ieee754/float128/float128_private.h: Likewise.
9628 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9629 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9630 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9631 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
9632 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9633 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9634 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9635 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9636 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9637 * sysdeps/ieee754/k_standardl.c: Likewise.
9638 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9639 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9640 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9641 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9642 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9643 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
9644 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9645 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9646 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9647 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9648 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9649 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9650 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9651 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9652 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9653 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
9654 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9655 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
9656 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9657 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9658 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9659 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9660 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9661 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9662 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9663 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9664 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9665 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9666 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
9667 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9668 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9669 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9670 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9671 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9672 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9673 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
9674 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9675 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9676 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9677 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9678 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
9679 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
9680 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
9681 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9682 * sysdeps/riscv/rvd/s_finite.c: Likewise.
9683 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
9684 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
9685 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
9686 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
9687 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
9688 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
9689 * sysdeps/riscv/rvf/fegetround.c: Likewise.
9690 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
9691 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
9692 * sysdeps/riscv/rvf/fesetround.c: Likewise.
9693 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
9694 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
9695 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
9696 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9697 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
9698 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9699 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
9700 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
9701 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
9702 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
9703 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
9704 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
9705 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
9706 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
9707 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
9708 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9709
a6e8926f
PP
97102018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9711
9712 [BZ #20271]
9713 * include/stdio.h (__libc_fatal): Mention newline in comment.
9714 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
9715 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
9716 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9717 * nss/nsswitch.c (__nss_next2): Likewise.
9718 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
9719 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
9720 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
9721 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9722 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
9723 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
9724 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
9725 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
9726 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
9727 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
9728 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
9729 * sysdeps/unix/sysv/linux/netlink_assert_response.c
9730 (__netlink_assert_response): Likewise.
9731
2bbd06bc
JM
97322018-08-31 Joseph Myers <joseph@codesourcery.com>
9733
9734 * conform/glibcconform.py: New file.
9735 * conform/list-header-symbols.py: Likewise.
9736 * conform/list-header-symbols.pl: Remove.
9737 * conform/Makefile (tests-special): Only add linknamespace tests
9738 if [PYTHON].
9739 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
9740
81b9d87b
L
97412018-08-31 H.J. Lu <hongjiu.lu@intel.com>
9742
9743 [BZ #23597]
9744 * support/Makefile (libsupport-routines): Add
9745 support_copy_file_range and xcopy_file_range.
9746 * support/support.h: Include <sys/types.h>.
9747 (support_copy_file_range): New prototype.
9748 * support/support_copy_file_range.c: New file. Copied and
9749 modified from io/copy_file_range-compat.c.
9750 * support/test-container.c (copy_one_file): Call xcopy_file_rang
9751 instead of copy_file_range.
9752 * support/xcopy_file_range.c: New file.
9753 * support/xunistd.h (xcopy_file_range): New prototype.
9754
d330f31a
CD
97552018-08-30 Carlos O'Donell <carlos@redhat.com>
9756
9757 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
9758 xpthread_create and xpthread_join.
9759
2bda273a
FW
97602018-08-30 Florian Weimer <fweimer@redhat.com>
9761
9762 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
9763
3bad2358
SL
97642018-08-30 Stefan Liebler <stli@linux.ibm.com>
9765
9766 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
9767 if malloc fails.
9768
09c12efc
JM
97692018-08-29 Joseph Myers <joseph@codesourcery.com>
9770
9771 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
9772 and minus_oflow as non-finite.
9773
ff6b2450
JM
97742018-08-28 Joseph Myers <joseph@codesourcery.com>
9775
9776 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
9777 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
9778 moved to fenv_private.h except for ...
9779 (TOINT_INTRINSICS): Kept in math_private.h.
9780 (roundtoint): Likewise.
9781 (converttoint): Likewise.
9782 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
9783 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9784 * sysdeps/arm/math_private.h: Remove.
9785 * sysdeps/generic/fenv_private.h: New file. Contents moved from
9786 ....
9787 * sysdeps/generic/math_private.h: ... this file. Include
9788 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
9789 Include <fenv_private.h>. Remove functions and macros moved to
9790 fenv_private.h.
9791 * sysdeps/i386/fpu/math_private.h: Remove.
9792 * sysdeps/mips/math_private.h: Move to ....
9793 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
9794 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
9795 [__mips_hard_float] conditional. Include next <fenv_private.h>.
9796 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
9797 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9798 * sysdeps/powerpc/fpu/math_private.h: Do not include
9799 <fenv_private.h>.
9800 * sysdeps/riscv/rvf/math_private.h: Move to ....
9801 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
9802 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
9803 <fenv_private.h>.
9804 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
9805 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9806 * sysdeps/sparc/fpu/math_private.h: Remove.
9807 * sysdeps/i386/fpu/fenv_private.h: Move to ....
9808 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
9809 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
9810 <fenv_private.h>.
9811 * sysdeps/x86_64/fpu/math_private.h: Do not include
9812 <sysdeps/i386/fpu/fenv_private.h>.
9813
761404b7
FW
98142018-08-28 Florian Weimer <fweimer@redhat.com>
9815
9816 [BZ #23578]
9817 * posix/tst-regcomp-truncated.c: New file.
9818 * posix/Makefile (tests): Add it.
9819 (tst-regcomp-truncated.out): Depend on generated locales.
9820
d6c44c3d
FW
98212018-08-28 Florian Weimer <fweimer@redhat.com>
9822
9823 * support/test-container.c (main): Treat unshare failure with
9824 EPERM as an unsupported test.
9825
745664bd
FW
98262018-08-28 Florian Weimer <fweimer@redhat.com>
9827
9828 [BZ #23520]
9829 nscd: Fix use-after-free in addgetnetgrentX and its callers.
9830 * nscd/netgroupcache.c
9831 (addgetnetgrentX): Add tofreep parameter. Do not free
9832 heap-allocated buffer.
9833 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
9834 (addgetnetgrentX_ignore): New function.
9835 (addgetnetgrent): Call it.
9836 (readdgetnetgrent): Likewise.
9837
c8dd67e7
RS
98382018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9839
9840 * string/memmem.c: Use memcmp for first match.
9841
5abedf97
RL
98422018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
9843
9844 [BZ #17426]
9845 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
9846
86de0499
DD
98472018-08-27 DJ Delorie <dj@redhat.com>
9848
9849 * support/Makefile (others): Don't list programs explicitly as a
9850 dependency of "others".
9851
c3ab2110
JM
98522018-08-27 Joseph Myers <joseph@codesourcery.com>
9853
9854 * sysdeps/generic/math-tests-trap-force.h: New file.
9855 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
9856 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
9857 * sysdeps/powerpc/math-tests.h: Remove file.
9858 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
9859
6b5c8607
TS
98602018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
9861 Torvald Riegel <triegel@redhat.com>
99ea93ca
MK
9862
9863 [BZ #23538]
9864 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
9865 Update r to include the set wake-request flag if waiters are
9866 remaining after spinning.
9867
4061791f
JM
98682018-08-27 Joseph Myers <joseph@codesourcery.com>
9869
9870 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
9871
bc680b33
PE
98722018-08-25 Paul Eggert <eggert@cs.ucla.edu>
9873
761404b7 9874 [BZ #23578]
bc680b33
PE
9875 regex: fix uninitialized memory access
9876 I introduced this bug into gnulib in commit
9877 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
9878 eventually it was merged into glibc. The bug was found by
9879 project-repo <bugs@feusi.co> and reported here:
9880 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
9881 Diagnosis and draft fix reported by Assaf Gordon here:
9882 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
9883 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
9884 * posix/regex_internal.c (build_wcs_upper_buffer):
9885 Fix bug when mbrtowc returns 0.
9886
02458a52
CD
98872018-08-24 Carlos O'Donell <carlos@redhat.com>
9888
9889 * po/be.po: Update translation.
9890
acc2842a
DD
98912018-08-24 DJ Delorie <dj@delorie.com>
9892
9893 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
9894 $(libunwind).
9895
6c3a8a9d
PP
98962018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9897
b39d961c
TS
9898 [BZ #23400]
9899 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
9900 create temporary files in source tree.
6c3a8a9d 9901
895ef79e
JM
99022018-08-24 Joseph Myers <joseph@codesourcery.com>
9903
9904 * sysdeps/generic/math-tests-trap.h: New file.
9905 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
9906 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
9907 * sysdeps/aarch64/math-tests.h: Remove file.
9908 * sysdeps/arm/math-tests.h: Likewise.
9909 * sysdeps/riscv/math-tests.h: Likewise.
9910 * sysdeps/aarch64/math-tests-trap.h: New file.
9911 * sysdeps/arm/math-tests-trap.h: Likewise.
9912 * sysdeps/riscv/math-tests-trap.h: Likewise.
9913
ca3aac57
WD
99142018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
9915
9916 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
9917 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
9918 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
9919 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
9920 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
9921 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
9922 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9923 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
9924 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
9925 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9926 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9927 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9928 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9929 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
9930 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
9931 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
9932 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9933 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9934
60bcac09
JM
99352018-08-23 Joseph Myers <joseph@codesourcery.com>
9936
9937 * sysdeps/generic/math-tests-exceptions.h: New file.
9938 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
9939 (EXCEPTION_TESTS_float): Do not define here.
9940 (EXCEPTION_TESTS_double): Likewise.
9941 (EXCEPTION_TESTS_long_double): Likewise.
9942 (EXCEPTION_TESTS_float128): Likewise.
9943 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
9944 Likewise.
9945 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
9946 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
9947 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
9948 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
9949 * sysdeps/mips/math-tests.h: Likewise.
9950 * sysdeps/nios2/math-tests.h: Likewise.
9951 * sysdeps/riscv/math-tests.h [!__riscv_flen]
9952 (EXCEPTION_TESTS_float): Do not define here.
9953 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
9954 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
9955 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
9956
3bded567
WD
99572018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
9958
9959 * NEWS: Move optimized sinf entry to 2.29.
9960
900fb446
WD
99612018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
9962
9963 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
9964
561b0bec
DD
99652018-08-22 DJ Delorie <dj@redhat.com>
9966
9967 * Makefile (testroot.pristine): New rules to initialize the
9968 test-in-container "testroot".
9969 * Makerules (all-testsuite): Add tests-container.
9970 * Rules (tests-expected): Add tests-container.
9971 (binaries-all-tests): Likewise.
9972 (tests-container): New, run these tests in the testroot container.
9973 * support/Makefile (others): Add *-container, support_paths.c,
9974 xmkdirp, and links-dso-program.
9975 * support/links-dso-program-c.c: New.
9976 * support/links-dso-program.cc: New.
9977 * support/test-container.c: New.
9978 * support/shell-container.c: New.
9979 * support/echo-container.c: New.
9980 * support/true-container.c: New.
9981 * support/xmkdirp.c: New.
9982 * support/xsymlink.c: New.
9983 * support/support_paths.c: New.
9984 * support/support.h: Add support paths prototypes.
9985 * support/xunistd.h: Add xmkdirp () and xsymlink ().
9986
9987 * nss/tst-nss-test3.c: Convert to test-in-container.
9988 * nss/tst-nss-test3.root/: New.
9989
b35d3509
PE
99902018-08-22 Paul Eggert <eggert@cs.ucla.edu>
9991
9992 regex: port Gnulib code to z/OS POSIX environment
9993 Problem reported by Arnold Robbins in:
9994 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
9995 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
9996 Undef.
9997
16a25138
JM
99982018-08-22 Joseph Myers <joseph@codesourcery.com>
9999
debc4c98
JM
10000 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
10001 (ROUNDING_TESTS_double): Remove.
10002 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
10003 (ROUNDING_TESTS_double): Remove.
10004 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
10005 (ROUNDING_TESTS_double): Remove.
10006 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
10007 (ROUNDING_TESTS_float): Remove.
10008 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
10009 (ROUNDING_TESTS_float): Remove.
10010 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
10011 (ROUNDING_TESTS_float): Remove.
10012 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
10013 !TEST_MATHVEC here.
10014 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10015 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10016
16a25138
JM
10017 * sysdeps/generic/math-tests-rounding.h: New file.
10018 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
10019 (ROUNDING_TESTS_float): Do not define here.
10020 (ROUNDING_TESTS_double): Likewise.
10021 (ROUNDING_TESTS_long_double): Likewise.
10022 (ROUNDING_TESTS_float128): Likewise.
10023 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
10024 (ROUNDING_TESTS_double): Undefine before defining.
10025 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
10026 (ROUNDING_TESTS_double): Undefine before defining.
10027 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
10028 (ROUNDING_TESTS_double): Undefine before defining.
10029 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
10030 (ROUNDING_TESTS_float): Undefine before defining.
10031 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
10032 (ROUNDING_TESTS_float): Undefine before defining.
10033 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
10034 (ROUNDING_TESTS_float): Undefine before defining.
10035 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
10036 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
10037 not define here.
10038 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
10039 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
10040 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
10041 * sysdeps/riscv/math-tests.h [!__riscv_flen]
10042 (ROUNDING_TESTS_float): Do not define here.
10043 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
10044 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
10045 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
10046 (ROUNDING_TESTS_float): Likewise.
10047 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
10048 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
10049 * sysdeps/mips/math-tests.h [__mips_soft_float]
10050 (ROUNDING_TESTS_float): Likewise.
10051 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
10052 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
10053 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
10054 (ROUNDING_TESTS_double): Likewise.
10055 (ROUNDING_TESTS_long_double): Likewise.
10056
38b0593e
TK
100572018-08-21 Tobias Klauser <tklauser@distanz.ch>
10058
10059 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
10060 (PF_XDP): New macro.
10061 (AF_XDP): New macro.
10062 (SOL_XDP): New macro.
10063
5cd7dbde
JM
100642018-08-21 Joseph Myers <joseph@codesourcery.com>
10065
10066 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
10067 (TCP_INQ): Likewise.
10068 (TCP_CM_INQ): Likewise.
10069 (TCP_REPAIR_ON): Likewise.
10070 (TCP_REPAIR_OFF): Likewise.
10071 (TCP_REPAIR_OFF_NO_WP): Likewise.
10072 (struct tcp_zerocopy_receive): New type.
10073
aa42b3db
FW
100742018-08-21 Florian Weimer <fweimer@redhat.com>
10075
10076 * support/support.h (support_descriptor_supports_holes): Declare.
10077 * support/Makefile (libsupport-routines): Add
10078 support_descriptor_supports_holes.
10079 * support/support_descriptor_supports_holes.c: New file.
10080 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
10081 and stop testing if holes are not supported.
10082 * io/test-lfs.c (do_prepare): Likewise.
10083 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
10084 Likewise.
10085 * timezone/tst-tzset.c (create_tz_file): Likewise.
10086 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
10087 variable.
10088 (do_prepare): Set it.
10089 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
10090
c7627f41
FW
100912018-08-21 Florian Weimer <fweimer@redhat.com>
10092
10093 [BZ #17248]
10094 * Makeconfig (+cflags): Do not sort (and deduplicate).
10095
ef939d92
FW
100962018-08-21 Florian Weimer <fweimer@redhat.com>
10097
10098 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
10099 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
10100
88ffb39d
FW
101012018-08-20 Florian Weimer <fweimer@redhat.com>
10102
10103 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
10104 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
10105
17419540
JM
101062018-08-20 Joseph Myers <joseph@codesourcery.com>
10107
e6edd40d
JM
10108 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
10109 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
10110 and ssi_arch members.
10111
17419540
JM
10112 * elf/elf.c (NT_VMCOREDD): New macro.
10113 (AT_MINSIGSTKSZ): Likewise.
10114
fa78896b
RS
101152018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10116
10117 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
10118 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
10119 s_cosf-ppc64 and s_cosf-power8.
10120 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
10121 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10122 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10123 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
10124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
10125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
10126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
10127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
10128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
10129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
10130 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
10131 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
10132
86a6c75a
FW
101332018-08-17 Florian Weimer <fweimer@redhat.com>
10134
10135 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10136
35cfefd9
FW
101372018-08-17 Istvan Kurucsai <pistukem@gmail.com>
10138
10139 * malloc/malloc.c (_int_malloc): Additional binning code checks.
10140
6413fcde
FW
101412018-08-16 Florian Weimer <fweimer@redhat.com>
10142
10143 * configure.ac: Add --with-nonshared-cflags option.
10144 * config.make.in (extra-nonshared-cflags): Set variable.
10145 * Makeconfig (CFLAGS-.oS): Use it.
10146 * manual/install.texi (Configuring and compiling): Document
10147 --with-nonshared-cflags.
10148 * configure: Regenerate.
10149 * INSTALL: Likewise.
10150
93a2584c
FW
101512018-08-16 Florian Weimer <fweimer@redhat.com>
10152
10153 * Makeconfig (ASFLAGS): Always append required assembler flags.
10154
f6f275d2 101552018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
d6db68e6
ME
10156
10157 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
10158 (malloc_consolidate): Likewise.
10159
30a17d8c
PC
101602018-08-16 Pochang Chen <johnchen902@gmail.com>
10161
10162 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
10163
953a5a4a
SP
101642018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
10165
34f86d61
SP
10166 * benchtests/bench-strlen.c (do_test): Allocate buffers before
10167 every strlen call.
10168
953a5a4a
SP
10169 * benchtests/bench-strlen.c: Print performance numbers in json.
10170
7793ad7a
RS
101712018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10172
10173 * sysdeps/powerpc/powerpc64/multiarch/Makefile
10174 (sysdep_routines): Build strcmp-power9 and strncmp-power9
10175 only for little endian.
10176 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10177 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
10178 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
10179 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
10180 Add check for little endian.
10181 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
10182 (__strcmp_power9): Add check for little endian.
10183 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
10184 Add check for little endian.
10185 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
10186 (__strncmp_power9): Add check for little endian.
10187 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
10188 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
10189 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
10190 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
10191 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
10192
436e4d5b
SP
101932018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
10194
10195 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
10196 [!STRLEN](STRLEN): Set to __strlen.
10197 * sysdeps/aarch64/multiarch/strlen.c: New file.
10198 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
10199 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
10200 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
10201 (__libc_ifunc_impl_list): Add strlen.
10202 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
10203 strlen_generic and strlen_asimd.
10204
126c4e3f
WD
102052018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
10206
10207 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
10208 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
10209 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
10210
49acec17
WD
102112018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
10212
10213 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
10214
fdb16de3
FW
102152018-08-14 Florian Weimer <fweimer@redhat.com>
10216
10217 [BZ #23519]
10218 * include/stdio.h (__vfxprintf): Declare.
10219 * stdio-common/fxprintf.c (__vfxprintf): New function.
10220 (__fxprintf): Call it.
10221 * misc/err.c (convert_and_print): Remove function.
10222 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
10223 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
10224 * misc/Makefile (tests): Add tst-warn-wide.
10225 * misc/tst-warn-wide.c: New file.
10226
599cf397
WD
102272018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
10228 Szabolcs Nagy <szabolcs.nagy@arm.com>
10229
10230 * NEWS: Mention sinf, cosf, sincosf.
10231 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
10232 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
10233 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
10234 constants rather than including generic sincosf.h.
10235 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
10236 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
10237 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
10238 (reduced_cos): Remove.
10239 (sinf_poly): New function.
10240 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
10241
e95c6f61
FW
102422018-08-14 Florian Weimer <fweimer@redhat.com>
10243
10244 [BZ #23521]
10245 [BZ #23522]
10246 * nss/nss_files/files-alias.c (get_next_alias): During :include:
10247 processing, bail out if no room, and close the stream before
10248 returning ERANGE.
10249 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
10250 (tst-nss-files-alias-leak): Link with libdl.
10251 (tst-nss-files-alias-leak.out): Depend on nss_files.
10252
10253 * nss/tst-nss-files-alias-leak.c: New file.
10254
2d7acfac
FW
102552018-08-14 Florian Weimer <fweimer@redhat.com>
10256
10257 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
10258 server_user, stat_user.
10259
f3cd0904
JM
102602018-08-13 Joseph Myers <joseph@codesourcery.com>
10261
17b26500
JM
10262 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10263 version to 4.18.
10264 (io_pgetevents): New syscall.
10265 (rseq): Likewise.
10266
3c1622eb
JM
10267 * manual/install.texi (Configuring and compiling): Do not list
10268 tools used for testing pretty printers here.
10269 (Tools for Compilation): List Python, PExpect and GDB here.
10270 Update descriptions of uses of Perl and Python.
10271 * INSTALL: Regenerate.
10272
f3cd0904
JM
10273 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10274 version to 4.18.
10275
b7b52b9d
FW
102762018-08-13 Florian Weimer <fweimer@redhat.com>
10277
10278 * misc/error.c (error): Add missing va_end call.
10279 (error_at_line): Likewise.
10280
01780188
FW
102812018-08-13 Florian Weimer <fweimer@redhat.com>
10282
10283 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
10284
44727aec
SP
102852018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10286
8cac1f26
SP
10287 * benchtests/scripts/benchout.schema.json (properties): Add
10288 new properties.
10289
44727aec
SP
10290 * benchtests/bench-skeleton.c (main): Add duration and
10291 iterations attributes.
10292
c77bf91b
PE
102932018-08-10 Paul Eggert <eggert@cs.ucla.edu>
10294
10295 regex: Gnulib unibyte RRI uses bytes not chars
10296 Adjust the non-glibc code to agree with what Gawk needs for
10297 rational range interpretation (RRI) for regular expression ranges.
10298 In unibyte locales, Gawk wants ranges to use the underlying byte
10299 rather than the character code point. This change does not affect
10300 glibc proper.
10301 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
10302 In unibyte locales, use the byte value rather than
10303 running it through btowc.
10304
2ce7ba7d
JM
103052018-08-10 Joseph Myers <joseph@codesourcery.com>
10306
10307 * sysdeps/generic/math-tests-snan.h: New file.
10308 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
10309 (SNAN_TESTS_float): Do not define here.
10310 (SNAN_TESTS_double): Likewise.
10311 (SNAN_TESTS_long_double): Likewise.
10312 (SNAN_TESTS_float128): Likewise.
10313 * sysdeps/i386/fpu/math-tests-snan.h: New file.
10314 * sysdeps/i386/fpu/math-tests.h: Remove file.
10315 * sysdeps/ia64/math-tests-snan.h: New file.
10316 * sysdeps/ia64/math-tests.h: Remove file.
10317 * sysdeps/x86/math-tests.h: Likewise.
10318 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
10319
ea5c662c
WD
103202018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
10321 Szabolcs Nagy <szabolcs.nagy@arm.com>
10322
10323 * math/Makefile: Add s_sincosf_data.c.
10324 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
10325 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
10326 (sincosf_poly): Likewise.
10327 (reduce_small): Likewise.
10328 (reduce_large): Likewise.
10329 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
10330 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
10331 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
10332 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
10333
43cfdf8f
SN
103342018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
10335 Szabolcs Nagy <szabolcs.nagy@arm.com>
10336
10337 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
10338 (converttoint): Use lround.
10339 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
10340 document the semantics when TOINT_INTRINSICS is set.
10341 (converttoint): Likewise.
10342 (TOINT_RINT): Remove.
10343 (TOINT_SHIFT): Remove.
10344 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
10345 path.
10346
69065288
FW
103472018-08-10 Florian Weimer <fweimer@redhat.com>
10348
10349 [BZ #23497]
10350 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
10351 function.
10352 (__old_getdents64): Use getdents64. Convert entries without
10353 moving them.
10354 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
10355 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
10356 tst-readdir64-compat.
10357
8f135efc
IL
103582018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10359
10360 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
10361 Fix unwind.
10362
71c01af5
IL
103632018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10364
10365 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
10366 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
10367 code to s390x-mcount.h and #include it.
10368 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
10369 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
10370 (__fentry__): Add.
10371
8d997d22
IL
103722018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10373
10374 * stdlib/Versions: Remove __fentry__.
10375 * sysdeps/i386/Versions: Add __fentry__.
10376 * sysdeps/x86_64/Versions: Add __fentry__.
10377
69e2444a
IL
103782018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10379
10380 * sysdeps/s390/Makefile: Register the new tests.
10381 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
10382 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
10383 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
10384 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
10385 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
10386 * sysdeps/s390/tst-dl-runtime.c: New file.
10387
bde6320f
IL
103882018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10389
10390 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10391 Do not clobber R0.
10392
5755f5e4
IL
103932018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10394
10395 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
10396 Do not clobber R0.
10397
c8ad8522
IL
103982018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10399
10400 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10401 Do not clobber R0.
10402
b215eee1
IL
104032018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10404
10405 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10406 Do not clobber R0.
10407
329c6fec
IL
104082018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10409
10410 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10411 Use symbolic offsets for stack variables.
10412
0fb7afa2
IL
104132018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10414
10415 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
10416 Use symbolic offsets for stack variables.
10417
6954059a
IL
104182018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10419
10420 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10421 Use symbolic offsets for stack variables.
10422
c7099673
IL
104232018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10424
10425 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10426 Use symbolic offsets for stack variables.
10427
2813e41e
JM
104282018-08-09 Joseph Myers <joseph@codesourcery.com>
10429
10430 * math/gen-libm-test.py: New file.
10431 * math/gen-libm-test.pl: Remove.
10432 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
10433 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
10434 gen-libm-test.pl.
10435 ($(libm-test-c-noauto-obj)): Likewise.
10436 ($(libm-test-c-auto-obj)): Likewise.
10437 ($(libm-test-c-narrow-obj)): Likewise.
10438 (regen-ulps): Likewise.
10439 * math/README.libm-test: Update references to gen-libm-test.pl.
10440 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
10441 referencing gen-libm-test.pl.
10442 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
10443 * math/libm-test-support.c: Likewise.
10444 * math/libm-test-support.h: Likewise.
10445 * sysdeps/generic/libm-test-ulps: Likewise.
10446
be64b194
SP
104472018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
10448
10449 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
10450 Fix value.
10451
140137fb
JM
104522018-08-08 Joseph Myers <joseph@codesourcery.com>
10453
10454 * math/libm-test-nextdown.inc (do_test): Move comment to ....
10455 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
10456
b5403eca
ST
104572018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
10458
10459 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
10460 symbols.
8ac0f9e6
ST
10461 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
10462 __pthread_setspecific): Add hidden proto.
10463 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
10464 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
b5403eca 10465
014efdd7
SP
104662018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
10467
10468 * benchtests/bench-string.h (buf1_size, buf2_size): New
10469 variables.
10470 (init_sizes): New function.
10471 (test_init): Use it.
10472 (alloc_buf, exit_error): New functions.
10473 (alloc_bufs): Use ALLOC_BUF.
10474 (realloc_bufs): Remove.
10475 * benchtests/bench-memcmp.c (do_test): Adjust.
10476 * benchtests/bench-memset-large.c (do_test): Likewise.
10477 * benchtests/bench-memset-walk.c (do_test): Likewise.
10478 * benchtests/bench-memset.c (do_test): Likewise.
10479 * benchtests/bench-strncmp.c (do_test): Likewise.
10480
92a4cba7
AS
104812018-08-06 Andreas Schwab <schwab@suse.de>
10482
10483 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
10484 of CONST_THREAD_AREA.
10485
fb4c32ae
L
104862018-08-06 H.J. Lu <hongjiu.lu@intel.com>
10487
10488 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
10489 (STATE_SAVE_MASK): Likewise.
10490 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
10491 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
10492 (STATE_SAVE_MASK): Likewise.
10493 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
10494 instead of <cpu-features.h>.
10495
bf418187
DD
104962018-08-03 DJ Delorie <dj@redhat.com>
10497
10498 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
e5721f45 10499 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
bf418187 10500
bb17621a
DD
10501 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
10502
ea705eb5
JM
105032018-08-03 Joseph Myers <joseph@codesourcery.com>
10504
10505 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
10506 after TEST_* calls.
10507 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
10508 * math/libm-test-logb.inc (logb_test_data): Likewise.
10509
284f42bc
WD
105102018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
10511
10512 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
10513 * string/strstr.c (AVAILABLE): Likewise.
10514
430388d5
L
105152018-08-03 H.J. Lu <hongjiu.lu@intel.com>
10516
10517 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
10518 <init-arch.h>.
10519 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
10520 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
10521 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
10522
c5760aa9
CD
105232018-08-03 Carlos O'Donell <carlos@redhat.com>
10524
10525 * po/be.po: Update translation.
10526
6b535b84
CD
10527 * po/be.po: Update translation.
10528
ae67f2e5
L
105292018-08-03 H.J. Lu <hongjiu.lu@intel.com>
10530
10531 * sysdeps/x86/cpu-features-offsets.sym
10532 (rtld_global_ro_offsetof): Removed.
10533 (CPU_FEATURES_SIZE): Likewise.
10534 (CPUID_OFFSET): Likewise.
10535 (CPUID_SIZE): Likewise.
10536 (CPUID_EAX_OFFSET): Likewise.
10537 (CPUID_EBX_OFFSET): Likewise.
10538 (CPUID_ECX_OFFSET): Likewise.
10539 (CPUID_EDX_OFFSET): Likewise.
10540 (FAMILY_OFFSET): Likewise.
10541 (MODEL_OFFSET): Likewise.
10542 (FEATURE_OFFSET): Likewise.
10543 (FEATURE_SIZ): Likewise.
10544 (COMMON_CPUID_INDEX_1): Likewise.
10545 (COMMON_CPUID_INDEX_7): Likewise.
10546 (FEATURE_INDEX_1): Likewise.
10547 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
10548
6b5c8607 105492018-08-02 Carlos O'Donell <carlos@redhat.com>
08a5ee14
CD
10550
10551 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
10552 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
10553 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
10554 (install-locales): Depend on install-locale-archive.
10555 (install-locale-archive): Define.
7b7adbd8 10556 (install-locale-files): Define.
08a5ee14
CD
10557 (build-one-locale): Define macro.
10558 * manual/install.texi (Running make install): Document.
10559 * manual/INSTALL: Regenerate.
10560
525691bd
SP
105612018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
10562
d67d634b
SP
10563 * benchtests/scripts/compare_strings.py: Import traceback.
10564 (parse_file): Pretty-print error.
10565
525691bd
SP
10566 * NEWS: Mention the change.
10567 * elf/dl-tunables.list: Rename tune namespace to cpu.
10568 * sysdeps/powerpc/dl-tunables.list: Likewise.
10569 * sysdeps/x86/dl-tunables.list: Likewise.
10570 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
10571 cpu.name.
10572 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
10573 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
10574 * manual/README.tunables: Likewise.
10575 * manual/tunables.texi: Likewise.
10576 * sysdeps/powerpc/cpu-features.c: Likewise.
10577 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
10578 (init_cpu_features): Likewise.
10579 * sysdeps/x86/cpu-features.c: Likewise.
10580 * sysdeps/x86/cpu-features.h: Likewise.
10581 * sysdeps/x86/cpu-tunables.c: Likewise.
10582 * sysdeps/x86_64/Makefile: Likewise.
10583 * sysdeps/x86/dl-cet.c: Likewise.
10584
506d7fb1
JM
105852018-08-02 Joseph Myers <joseph@codesourcery.com>
10586
10587 [BZ #23479]
10588 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
10589 [__mips_hard_float].
10590 (FE_UNDERFLOW): Likewise.
10591 (FE_OVERFLOW): Likewise.
10592 (FE_DIVBYZERO): Likewise.
10593 (FE_INVALID): Likewise.
10594 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
10595 (FE_TOWARDZERO): Define only if [__mips_hard_float].
10596 (FE_UPWARD): Likewise.
10597 (FE_DOWNWARD): Likewise.
10598 (__FE_UNDEFINED): Define if [!__mips_hard_float]
10599 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
10600 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
10601 [__mips_hard_float].
10602 (FP_ROUNDMODE): Likewise.
10603 (FP_RND_NEAREST): Likewise.
10604 (FP_RND_ZERO): Likewise.
10605 (FP_RND_PINF): Likewise.
10606 (FP_RND_MINF): Likewise.
10607 (FP_EX_INVALID): Likewise.
10608 (FP_EX_OVERFLOW): Likewise.
10609 (FP_EX_UNDERFLOW): Likewise.
10610 (FP_EX_DIVZERO): Likewise.
10611 (FP_EX_INEXACT): Likewise.
10612 (FP_INIT_ROUNDMODE): Likewise.
10613 * sysdeps/mips/nofpu/fesetenv.c: New file.
10614 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
10615
f6dcefbe
JM
106162018-08-01 Joseph Myers <joseph@codesourcery.com>
10617
10618 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
10619 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
10620 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
10621 conditional on [FE_UPWARD].
10622
fa67ba06
PE
106232018-08-01 Paul Eggert <eggert@cs.ucla.edu>
10624
10625 regex: fix memory leak in Gnulib
10626 Problem and fix reported by Assaf Gordon in:
10627 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
10628 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
10629 range_ends members too, as they are defined in 'struct
10630 re_charset_t' even if not _LIBC. This affects only Gnulib.
10631
82c80ac2
L
106322018-08-01 H.J. Lu <hongjiu.lu@intel.com>
10633
10634 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
10635 ...
10636 (get_common_indices): This.
10637 (init_cpu_features): Updated.
10638
c0e7e2c1
JM
106392018-08-01 Joseph Myers <joseph@codesourcery.com>
10640
46f8cf57
JM
10641 * sysdeps/generic/math-tests-snan-payload.h: New file.
10642 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
10643 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
10644 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
10645 * sysdeps/generic/math-tests.h: Include
10646 <math-tests-snan-payload.h>.
10647 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
10648 * sysdeps/hppa/math-tests.h: Remove file.
10649 * sysdeps/mips/math-tests.h [!__mips_nan2008]
10650 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
10651 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
10652 Likewise.
10653
c0e7e2c1
JM
10654 * sysdeps/generic/math-tests-snan-cast.h: New file.
10655 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
10656 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
10657 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
10658 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
10659
74939c83
CD
106602018-08-01 Carlos O'Donel <carlos@redhat.com>
10661
b029723b
CD
10662 * version.h (RELEASE): Set to "development".
10663 (VERSION): Set to "2.28.9000".
10664 * NEWS (2.29): New section.
10665
3c03baca
CD
10666 * version.h (RELEASE): Set to "stable".
10667 (VERSION): Set to "2.28".
10668 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
10669 * NEWS: Add the list of bugs fixed in 2.28.
10670
74939c83
CD
10671 * po/ca.po: Update to latest version.
10672 * po/cs.po: Likewise
10673 * po/da.po: Likewise
10674 * po/el.po: Likewise
10675 * po/eo.po: Likewise
10676 * po/es.po: Likewise
10677 * po/fi.po: Likewise
10678 * po/fr.po: Likewise
10679 * po/gl.po: Likewise
10680 * po/hu.po: Likewise
10681 * po/ia.po: Likewise
10682 * po/id.po: Likewise
10683 * po/it.po: Likewise
10684 * po/ja.po: Likewise
10685 * po/ko.po: Likewise
10686 * po/lt.po: Likewise
10687 * po/nb.po: Likewise
10688 * po/nl.po: Likewise
10689 * po/pt_BR.po: Likewise
10690 * po/ru.po: Likewise
10691 * po/rw.po: Likewise
10692 * po/sk.po: Likewise
10693 * po/sl.po: Likewise
10694 * po/tr.po: Likewise
10695 * po/zh_CN.po: Likewise
10696 * po/zh_TW.po: Likewise
10697
d4b54bdf
ST
106982018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10699
10700 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
10701 initialization...
10702 (init): ... before initializing libpthread.
10703
42fc12ef
ST
10704 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
10705 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
10706 (__mach_setup_tls): ... new function.
10707 (mach_setup_tls): New alias.
10708 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
10709 __mach_setup_thread.
10710 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
10711 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
10712 * mach/Versions [libc] (mach_setup_tls): Add symbol.
10713 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
10714
6cca855e
CD
107152018-07-31 Carlos O'Donell <carlos@redhat.com>
10716
f650932b
CD
10717 * manual/install.texi: Update versions.
10718 * INSTALL: Regenerate.
10719
6cca855e
CD
10720 * manual/contrib.texi (Contributors): Update contributions.
10721
07fdea47
CD
107222018-07-31 Carlos O'Donell <carlos@redhat.com>
10723
10724 * po/be.po: Update translations.
10725
63d5fad4
AZ
107262018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10727
10728 * sysdeps/sh/libm-test-ulps: Update.
10729
1ff712a6
CD
107302018-07-30 Carlos O'Donell <carlos@redhat.com>
10731
10732 * po/bg.po: Update translations.
10733 * po/de.po: Likewise.
10734 * po/hr.po: Likewise.
10735 * po/pt_BR.po: Likewise.
10736 * po/sv.po: Likewise.
10737 * po/vi.po: Likewise.
10738
98864ed0
L
107392018-07-30 H.J. Lu <hongjiu.lu@intel.com>
10740
10741 [BZ #23467]
10742 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
10743 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
10744 (CFLAGS-tst-cet-property-1.o): New.
10745 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
10746 ($(objpfx)tst-cet-property-2): Likewise.
10747 ($(objpfx)tst-cet-property-2.out): Likewise.
10748 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
10749 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
10750 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
10751 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
10752 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
10753
c92a00d8
L
107542018-07-30 H.J. Lu <hongjiu.lu@intel.com>
10755
10756 [BZ #23458]
10757 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
10758
99bc6241
ST
107592018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
10760
10761 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
10762 __sbrk): Do not set attribute_hidden.
af86087f 10763 * sysdeps/mach/hurd/not-errno.h: New file.
99bc6241
ST
10764 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
10765 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
10766
bcb1c4af
CD
107672018-07-27 Carlos O'Donell <carlos@redhat.com>
10768
10769 * po/uk.po: Update translations.
10770 * po/cs.po: Likewise.
10771 * po/pl.po: Likewise.
10772
4591b7db
L
107732018-07-27 H.J. Lu <hongjiu.lu@intel.com>
10774
10775 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
10776 parse beyond the note end.
10777
2c6da2f4
AZ
107782018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10779
10780 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
10781 kernel does not support OFD locks.
10782 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
10783
20365a31
ST
107842018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
10785
10786 * sysdeps/mach/hurd/Versions (libc): Make __access and
10787 __access_noerrno external so they can override the ld symbols.
10788 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
10789 __writev, __open64, __access_noerrno extern so they can be overrided.
10790 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
10791 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
10792
cb1a43db
CD
107932018-07-26 Carlos O'Donell <carlos@redhat.com>
10794
10795 * po/libc.pot: Regenerate.
10796
74759ae5
JM
107972018-07-26 Joseph Myers <joseph@codesourcery.com>
10798
10799 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
10800
da80612d
L
108012018-07-26 H.J. Lu <hongjiu.lu@intel.com>
10802
10803 [BZ #23459]
10804 * sysdeps/x86/cpu-features.c (get_extended_indices): New
10805 function.
10806 (init_cpu_features): Call get_extended_indices for both Intel
10807 and AMD CPUs.
10808 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
10809 Remove "for AMD" comment.
10810
65d87ade
L
108112018-07-26 H.J. Lu <hongjiu.lu@intel.com>
10812
10813 [BZ # 23456]
10814 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
10815 COMMON_CPUID_INDEX_80000001.
10816
c9dc4d51
SL
108172018-07-26 Stefan Liebler <stli@linux.ibm.com>
10818
10819 * string/tst-xbzero-opt.c (use_test_buffer): New function.
10820 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
10821
cfba5dbb
FW
108222018-07-26 Florian Weimer <fweimer@redhat.com>
10823
10824 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
10825 aliases for symbols not in the implementation namespace.
10826
6b5c8607 108272018-07-25 Carlos O'Donell <carlos@redhat.com>
7cd7d36f
CD
10828
10829 [BZ #23393]
10830 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
10831 lowercase in LATIN script.
10832 * localedata/Makefile (test-input): Add en_US.UTF-8.
10833 * localedata/en_US.UTF-8.in: New file.
10834 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
10835 and restore old tests.
10836 * posix/tst-regexloc.c (do_test): Add back range expression test.
10837
3fb455b3
L
108382018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10839
10840 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
10841
d6499b70
AZ
108422018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10843
10844 * nptl/threads.h: Move to ...
10845 * sysdeps/nptl/threads.h: ... here.
10846 * sysdeps/hurd/stdc-predef.h: New file.
10847
08ac6bed
L
108482018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10849
10850 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
10851 tst-cet-setcontext-1 if CET is enabled.
10852 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
10853 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
10854
9faaf938
AZ
108552018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10856
10857 * include/threads.h: Move to ...
10858 * sysdeps/nptl/threads.h: ... here.
10859 * sysdeps/htl/threads.h: New file.
10860 * conform/Makefile (linknamespace-libs-ISO11): Use
10861 static-thread-library instead of linking libpthread.
10862 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
10863
d6b8f847
FW
108642018-07-25 Florian Weimer <fweimer@redhat.com>
10865
10866 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
10867 nanoseconds into seconds.
10868 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
10869 (do_test): Likewise.
10870 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
10871 (do_test): Likewise. Avoid nanosecond overflow and spurious
10872 timeouts due to system load.
10873 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
10874 (child_wait): Increment it.
10875 (do_test): Wait as long as necessary until all expected threads
10876 have arrived.
10877
25123a1c
L
108782018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
10879 H.J. Lu <hongjiu.lu@intel.com>
10880
10881 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
10882 __ssp.
10883 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
10884 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
10885 (__push___start_context): New.
10886 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
10887 <asm/prctl.h>.
10888 (__getcontext): Record the current shadow stack base. Save the
10889 caller's shadow stack pointer and base.
10890 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
10891 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
10892 (__push___start_context): New prototype.
10893 (__makecontext): Call __push___start_context to allocate a new
10894 shadow stack, push __start_context onto the new stack as well
10895 as the new shadow stack.
10896 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
10897 <asm/prctl.h>.
10898 (__setcontext): Restore the target shadow stack.
10899 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
10900 <asm/prctl.h>.
10901 (__swapcontext): Record the current shadow stack base. Save
10902 the caller's shadow stack pointer and base. Restore the target
10903 shadow stack.
10904 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
10905 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
10906 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
10907
375a4844
L
109082018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10909
10910 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
10911 tst-setcontext8 and tst-setcontext9.
10912 * stdlib/tst-setcontext6.c: New file.
10913 * stdlib/tst-setcontext7.c: Likewise.
10914 * stdlib/tst-setcontext8.c: Likewise.
10915 * stdlib/tst-setcontext9.c: Likewise.
10916
bd4f7903
L
109172018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10918
10919 * stdlib/Makefile ((tests): Add tst-setcontext5.
10920 * stdlib/tst-setcontext5.c: New file.
10921
7e28f203
L
109222018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10923
10924 * stdlib/Makefile (tests): Add tst-setcontext4.
10925 * stdlib/tst-setcontext4.c: New file.
10926
8516ad2d
L
109272018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10928
10929 * stdlib/Makefile (tests): Add tst-swapcontext1.
10930 * stdlib/tst-swapcontext1.c: New test.
10931
fddcd003
L
109322018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10933
10934 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
10935 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
10936 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
10937 and tst-cet-legacy-4c.
10938 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
10939 and tst-cet-legacy-mod-4.
10940 (CFLAGS-tst-cet-legacy-2.c): New.
10941 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
10942 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
10943 (CFLAGS-tst-cet-legacy-3.c): Likewise.
10944 (CFLAGS-tst-cet-legacy-4.c): Likewise.
10945 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
10946 ($(objpfx)tst-cet-legacy-1): Likewise.
10947 ($(objpfx)tst-cet-legacy-2): Likewise.
10948 ($(objpfx)tst-cet-legacy-2.out): Likewise.
10949 ($(objpfx)tst-cet-legacy-2a): Likewise.
10950 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
10951 ($(objpfx)tst-cet-legacy-4): Likewise.
10952 ($(objpfx)tst-cet-legacy-4.out): Likewise.
10953 ($(objpfx)tst-cet-legacy-4a): Likewise.
10954 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
10955 (tst-cet-legacy-4a-ENV): Likewise.
10956 ($(objpfx)tst-cet-legacy-4b): Likewise.
10957 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
10958 (tst-cet-legacy-4b-ENV): Likewise.
10959 ($(objpfx)tst-cet-legacy-4c): Likewise.
10960 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
10961 (tst-cet-legacy-4c-ENV): Likewise.
10962 * sysdeps/x86/tst-cet-legacy-1.c: New file.
10963 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
10964 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
10965 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
10966 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
10967 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
10968 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
10969 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
10970 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
10971 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
10972 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
10973
9aa3113a
L
109742018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10975
10976 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
10977 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
10978 with ssp_base.
10979 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
10980 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
10981 with ssp_base.
10982
9c79cec8
AS
109832018-07-25 Andreas Schwab <schwab@suse.de>
10984
10985 [BZ #23442]
10986 * locale/weightwc.h (findidx): Handle the case where usrc is a
10987 prefix of cp but one character too short.
10988
969c3355
AZ
109892018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10990
10991 * NEWS: Add ISO C threads addition.
10992
e0f9c462
FW
109932018-07-24 Florian Weimer <fweimer@redhat.com>
10994
10995 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10996 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
10997 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
10998 4.13.
10999
394df381
L
110002018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11001
11002 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
11003 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
11004 <sys/prctl.h> and <asm/prctl.h>.
11005 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
11006 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
11007 and <asm/prctl.h>.
11008 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
11009 ARCH_CET_LEGACY_BITMAP.
11010 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
11011 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
11012 * sysdeps/x86/libc-start.c: Include <startup.h>.
11013
46545530
FW
110142018-07-24 Florian Weimer <fweimer@redhat.com>
11015
11016 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
11017 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
11018
6b5c8607 110192018-07-24 Rical Jasan <rj@2c3t.io>
9d0a979e 11020 Adhemerval Zanella <adhemerval.zanella@linaro.org>
0a07288b
AZ
11021 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
11022
11023 [BZ #14092]
9d0a979e
RJ
11024 * manual/debug.texi: Update adjacent chapter name.
11025 * manual/probes.texi: Likewise.
11026 * manual/threads.texi (ISO C Threads): New section.
11027 (POSIX Threads): Convert to a section.
11028
110292018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11030 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
11031
11032 [BZ# 14092]
0a07288b
AZ
11033 * nptl/Makefile (tests): Add new test files.
11034 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
11035 * nptl/tst-cnd-basic.c: Likewise.
11036 * nptl/tst-cnd-broadcast.c: Likewise.
11037 * nptl/tst-cnd-timedwait.c: Likewise.
11038 * nptl/tst-mtx-basic.c: Likewise.
11039 * nptl/tst-mtx-recursive.c: Likewise.
11040 * nptl/tst-mtx-timedlock.c: Likewise.
11041 * nptl/tst-mtx-trylock.c: Likewise.
11042 * nptl/tst-thrd-basic.c: Likewise.
11043 * nptl/tst-thrd-detach.c: Likewise.
11044 * nptl/tst-thrd-sleep.c: Likewise.
11045 * nptl/tst-tss-basic.c: Likewise.
11046
ce7528f6
AZ
110472018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11048
c6dd669b
AZ
11049 [BZ #14092]
11050 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
11051 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
11052 symbols.
11053 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11054 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11055 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11056 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11057 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11058 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11059 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11060 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11061 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11062 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11063 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11064 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11066 Likewise.
11067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11068 Likewise.
11069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
11070 Likewise.
11071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11072 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11073 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11074 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11075 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11076 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11077 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11078 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11079 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11080 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
11081 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
11082 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
11083 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
11084 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
11085 Likewise.
11086 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
11087 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
11088 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
11089 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
11090 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
11091 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
11092 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
11093 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
11094 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
11095 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
11096 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
11097 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
11098 ikewise.
11099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
11100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11101 Likewise.
11102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11103 Likewise.
11104 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
11105 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
11106 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
11107 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
11108 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
11109 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
11110 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
11111 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
11112
78d40132
AZ
11113 [BZ #14092]
11114 * conform/data/threads.h-data (thread_local): New macro.
11115 (TSS_DTOR_ITERATIONS): Likewise.
11116 (tss_t): New type.
11117 (tss_dtor_t): Likewise.
11118 (tss_create): New function.
11119 (tss_get): Likewise.
11120 (tss_set): Likewise.
11121 (tss_delete): Likewise.
11122 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
11123 tss_get, and tss_set objects.
11124 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
11125 * nptl/tss_create.c: New file.
11126 * nptl/tss_delete.c: Likewise.
11127 * nptl/tss_get.c: Likewise.
11128 * nptl/tss_set.c: Likewise.
11129 * sysdeps/nptl/threads.h (thread_local): New define.
11130 (TSS_DTOR_ITERATIONS): Likewise.
11131 (tss_t): New typedef.
11132 (tss_dtor_t): Likewise.
11133 (tss_create): New prototype.
11134 (tss_get): Likewise.
11135 (tss_set): Likewise.
11136 (tss_delete): Likewise.
11137
918311a3
AZ
11138 [BZ #14092]
11139 * conform/data/threads.h-data (cnd_t): New type.
11140 (cnd_init): New function.
11141 (cnd_signal): Likewise.
11142 (cnd_broadcast): Likewise.
11143 (cnd_wait): Likewise.
11144 (cnd_timedwait): Likewise.
11145 (cnd_destroy): Likewise.
11146 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
11147 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
11148 object.
11149 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
11150 * nptl/cnd_broadcast.c: New file.
11151 * nptl/cnd_destroy.c: Likewise.
11152 * nptl/cnd_init.c: Likewise.
11153 * nptl/cnd_signal.c: Likewise.
11154 * nptl/cnd_timedwait.c: Likewise.
11155 * nptl/cnd_wait.c: Likewise.
11156 * sysdeps/nptl/threads.h (cnd_t): New type.
11157 (cnd_init): New prototype.
11158 (cnd_signa): Likewise.
11159 (cnd_broadcast): Likewise.
11160 (cnd_wait): Likewise.
11161 (cnd_timedwait): Likewise.
11162 (cnd_destroy): Likewise.
11163
3c20a679
AZ
11164 [BZ #14092]
11165 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
11166 (once_flag): New type.
11167 (call_once): New function.
11168 * nptl/Makefile (libpthread-routines): Add call_once object.
11169 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
11170 * nptl/call_once.c: New file.
11171 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
11172 (once_flag): New type.
11173 (call_once): New prototype.
11174
18d59c1b
AZ
11175 [BZ #14092]
11176 * conform/data/threads.h-data (mtx_plain): New constant.
11177 (mtx_recursive): Likewise.
11178 (mtx_timed): Likewise.
11179 (mtx_t): New type.
11180 (mtx_init): New function.
11181 (mtx_lock): Likewise.
11182 (mtx_timedlock): Likewise.
11183 (mtx_trylock): Likewise.
11184 (mtx_unlock): Likewise.
11185 (mtx_destroy): Likewise.
11186 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
11187 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
11188 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
11189 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
11190 * nptl/mtx_destroy.c: New file.
11191 * nptl/mtx_init.c: Likewise.
11192 * nptl/mtx_lock.c: Likewise.
11193 * nptl/mtx_timedlock.c: Likewise.
11194 * nptl/mtx_trylock.c: Likewise.
11195 * nptl/mtx_unlock.c: Likewise.
11196 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
11197 (mtx_recursive): Likewise.
11198 (mtx_timed): Likewise.
11199 (mtx_t): New type.
11200 (mtx_init): New prototype.
11201 (mtx_lock): Likewise.
11202 (mtx_timedlock): Likewise.
11203 (mtx_trylock): Likewise.
11204 (mtx_unlock): Likewise.
11205 (mtx_destroy): Likewise.
11206
ce7528f6
AZ
11207 [BZ #14092]
11208 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
11209 (linknamespace-libs-ISO11): Add libpthread.a.
11210 * conform/data/threads.h-data: New file: add C11 thrd_* types and
11211 functions.
11212 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
11213 * nptl/Makefile (headers): Add threads.h.
11214 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
11215 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
11216 thrd_yield.
11217 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
11218 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
11219 thrd_join, thrd_sleep, and thrd_yield symbols.
11220 * nptl/descr.h (struct pthread): Add c11 field.
11221 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
11222 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
11223 routine with expected function prototype.
11224 (__pthread_create_2_1): Add C11 threads check based on attribute
11225 value.
11226 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
11227 * nptl/thrd_create.c: New file.
11228 * nptl/thrd_current.c: Likewise.
11229 * nptl/thrd_detach.c: Likewise.
11230 * nptl/thrd_equal.c: Likewise.
11231 * nptl/thrd_exit.c: Likewise.
11232 * nptl/thrd_join.c: Likewise.
11233 * nptl/thrd_priv.h: Likewise.
11234 * nptl/thrd_sleep.c: Likewise.
11235 * nptl/thrd_yield.c: Likewise.
11236 * include/threads.h: Likewise.
11237
e27f41ba
L
112382018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11239
11240 * bits/indirect-return.h: New file.
11241 * misc/sys/cdefs.h (__glibc_has_attribute): New.
11242 * sysdeps/x86/bits/indirect-return.h: Likewise.
11243 * stdlib/Makefile (headers): Add bits/indirect-return.h.
11244 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
11245 (swapcontext): Add __INDIRECT_RETURN.
11246 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
11247 (prepare_test_buffer): Use it.
11248
21526a50
AS
112492018-07-24 Andreas Schwab <schwab@suse.de>
11250
11251 [BZ #23448]
11252 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
11253 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
11254
3650e1d9
L
112552018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11256
11257 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
11258 Redefine if shadow stack is enabled.
11259 (SYSCALL_ERROR_LABEL): Likewise.
11260 (__vfork): Pop shadow stack and jump back to to caller directly
11261 when shadow stack is in use.
11262 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
11263 Redefine if shadow stack is enabled.
11264 (SYSCALL_ERROR_LABEL): Likewise.
11265 (__vfork): Pop shadow stack and jump back to to caller directly
11266 when shadow stack is in use.
11267
ca027e0f
L
112682018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11269
11270 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
11271 enabled.
11272 (foo): Likewise.
11273 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
11274 (foo): Likewise.
11275
b99f1c95
JM
112762018-07-20 Joseph Myers <joseph@codesourcery.com>
11277
11278 * scripts/build-many-glibcs.py (Context.checkout): Default
11279 binutils version to 2.31 branch.
11280
c8fabb84
ZL
112812018-07-20 Zong Li <zong@andestech.com>
11282
11283 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
11284 URL of gcc's tarball.
11285
786658a0
FW
112862018-07-20 Florian Weimer <fweimer@redhat.com>
11287
11288 [BZ #23396]
11289 * posix/regcomp.c (build_equiv_class): When comparing weights, do
11290 not compare an extra byte after the end of the weights.
11291
46f2474e
ST
112922018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
11293
11294 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
11295 to 1.
8ba1520e
ST
11296 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
11297 hidden prototypes.
11298 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
11299 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
2d5c41de
ST
11300 * scripts/check-execstack.awk: Consider `xfail' variable containing a
11301 list of libraries whose stack executability is expected.
11302 * elf/Makefile ($(objpfx)check-execstack.out): Pass
11303 $(check-execstack-xfail) to check-execstack.awk through `xfail'
11304 variable.
11305 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
11306 libc.so libpthread.so.
46f2474e 11307
60088242
TS
113082018-07-20 Thomas Schwinge <tschwinge@gnu.org>
11309
11310 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
11311 SOCK_NONBLOCK.
75d5e4a0
TS
11312 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
11313 and SOCK_NONBLOCK.
de195be0
TS
11314 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
11315 implement __pipe2.
11316 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
60088242 11317
1cf4ae7f
LS
113182018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11319
11320 * benchtests/scripts/compare_bench.py (__main__): use the argparse
11321 library to improve command line parsing.
11322 (__main__): make schema file as optional parameter (--schema),
11323 defaulting to benchtests/scripts/benchout.schema.json.
11324 (main): move out of the parsing stuff to __main_  and leave it
11325 only as caller of main comparison functions.
11326
e84bd851
L
113272018-07-19 H.J. Lu <hongjiu.lu@intel.com>
11328
11329 * NEWS: Add a note for Intel CET status.
11330 * manual/install.texi: Likewise.
11331 * INSTALL: Regenerated.
11332
df467d22
QP
113332018-07-18 Quentin PAGÈS <provaires@quentino.fr>
11334
11335 [BZ #23140]
11336 * localedata/locales/oc_FR (mon): Rename to...
11337 (alt_mon): This, then update October (typo fix).
11338 (mon): New content (genitive case, month names preceded by
11339 "de" or "d’").
11340
11341 [BZ #23422]
11342 * localedata/locales/oc_FR (abday): Update all items.
11343 (day): Update Wednesday and Saturday (typo fixes).
11344 (abmon): Update all items, except May.
11345 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
11346 (LC_IDENTIFICATION): Bump the revision number and date.
11347 Keep the "category" entries in alphabetic order.
11348 (LC_ADDRESS): Remove no longer needed comment.
11349 (LC_COLLATE): Use “copy "ca_ES"”.
11350 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
11351 "name_mrs".
11352
5c112f1b
JM
113532018-07-18 Joseph Myers <joseph@codesourcery.com>
11354
11355 * grp/tst_fgetgrent.c: Include <unistd.h>.
11356 (main): Use mkstemp instead of tmpnam.
11357 * io/test-utime.c (main): Likewise.
11358 * posix/annexc.c (macrofile): Change to modifiable array.
11359 (main): Remove macrofile here.
11360 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
11361 macrofile here.
11362 (check_header): Do not remove macrofile here.
11363 * posix/bug-getopt1.c: Include <stdlib.h>.
11364 (do_test): Use mkstemp instead of tmpnam.
11365 * posix/bug-getopt2.c: Include <stdlib.h>.
11366 (do_test): Use mkstemp instead of tmpnam.
11367 * posix/bug-getopt3.c: Include <stdlib.h>.
11368 (do_test): Use mkstemp instead of tmpnam.
11369 * posix/bug-getopt4.c: Include <stdlib.h>.
11370 (do_test): Use mkstemp instead of tmpnam.
11371 * posix/bug-getopt5.c: Include <stdlib.h>.
11372 (do_test): Use mkstemp instead of tmpnam.
11373 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
11374 (main): Use mkstemp instead of tmpnam.
11375 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
11376 (main): Use mkstemp instead of tmpnam.
11377 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
11378 (main): use mkstemp instead of tmpnam.
11379 * stdlib/isomac.c (macrofile): Change to modifiable array.
11380 (main): Remove macrofile here.
11381 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
11382 macrofile here.
11383 (check_header): Do not remove macrofile here.
11384
6d90776d
L
113852018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11386
11387 * manual/tunables.texi: Document glibc.tune.x86_ibt and
11388 glibc.tune.x86_shstk.
11389
e6c69509
L
113902018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11391
11392 * NEWS: Mention --enable-cet.
11393 * manual/install.texi: Document --enable-cet.
11394 * INSTALL: Regenerated.
11395
e2d40a88
L
113962018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11397
11398 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
11399 Add _CET_NOTRACK before indirect jump to jump table.
11400
77a8ae09
L
114012018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11402
11403 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
11404 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11405 to jump table.
11406
90d15dc5
L
114072018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11408
11409 * sysdeps/i386/i686/multiarch/strcat-sse2.S
11410 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11411 to jump table.
11412
f1574581
L
114132018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11414
11415 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
11416 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11417 to jump table.
11418
7fb61336
L
114192018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11420
11421 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
11422 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11423 to jump table.
11424
0a899af0
L
114252018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11426
11427 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
11428 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11429 to jump table.
11430 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
11431
177824e2
L
114322018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11433
11434 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
11435 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11436 to jump table.
11437
00e7b76a
L
114382018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11439
11440 * sysdeps/i386/i686/multiarch/memset-sse2.S
11441 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11442 to jump table.
11443
7e119cd5
L
114442018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11445
11446 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
11447 indirect jump to jump table.
11448
03aaf49b
L
114492018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11450
11451 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
11452 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11453 to jump table.
11454 (MEMCPY): Likewise.
11455
811e9e52
L
114562018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11457
11458 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
11459 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11460 to jump table.
11461 (MEMCPY): Likewise.
11462
8817df42
L
114632018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11464
11465 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
11466 _CET_NOTRACK before indirect jump to jump table.
11467
921595d1
L
114682018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11469
11470 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
11471 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11472 to jump table.
11473
4ef60d95
L
114742018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11475
11476 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
11477 indirect jump to jump table.
11478
61c4aad7
VT
114792018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
11480
11481 [BZ #22241]
11482 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
11483 (LOCALES): Likewise.
11484 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
11485 * localedata/locales/sah_RU: New file.
11486 * localedata/sah_RU.UTF-8.in: New file.
11487
be9ccd27
L
114882018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11489
11490 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
11491 "sysdep.h".
11492 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
11493 _CET_ENDBR to indirect jump targets and adjust jump destination
11494 for _CET_ENDBR.
11495 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
11496 "sysdep.h".
11497 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
11498 _CET_ENDBR to indirect jump targets and adjust jump destination
11499 for _CET_ENDBR.
11500 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
11501 "sysdep.h".
11502 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
11503 _CET_ENDBR to indirect jump targets and adjust jump destination
11504 for _CET_ENDBR.
11505
5efc6777
L
115062018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11507
11508 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
11509 _CET_ENDBR.
11510
562837c0
L
115112018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11512
11513 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
11514 _CET_ENDBR.
11515 (_dl_tlsdesc_undefweak): Likewise.
11516 (_dl_tlsdesc_dynamic): Likewise.
11517 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
11518 (_dl_tlsdesc_resolve_rel): Likewise.
11519 (_dl_tlsdesc_resolve_rela): Likewise.
11520 (_dl_tlsdesc_resolve_hold): Likewise.
11521 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
11522 (_dl_tlsdesc_undefweak): Likewise.
11523 (_dl_tlsdesc_dynamic): Likewise.
11524 (_dl_tlsdesc_resolve_rela): Likewise.
11525 (_dl_tlsdesc_resolve_hold): Likewise.
11526
124bcde6
L
115272018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11528
11529 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
11530 (_fini): Likewise.
11531 * sysdeps/x86_64/crti.S (_init): Likewise.
11532 (_fini): Likewise.
11533
9145f033
RL
115342018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
11535
11536 [BZ #23140]
11537 * localedata/locales/os_RU (mon): Rename to...
11538 (alt_mon): This.
11539 (mon): Import from CLDR (genitive case).
11540
ba2ea23d
L
115412018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11542
11543 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
11544 cet-tunables.h> when CET is enabled.
11545
f753fa7d
L
115462018-07-16 H.J. Lu <hongjiu.lu@intel.com>
11547
6b5c8607 11548 [BZ #21598]
f753fa7d
L
11549 * configure.ac: Add --enable-cet.
11550 * configure: Regenerated.
11551 * elf/Makefille (all-built-dso): Add a comment.
11552 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
11553 Include <dl-prop.h>.
11554 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
11555 segment.
11556 * elf/dl-open.c: Include <dl-prop.h>.
11557 (dl_open_worker): Call _dl_open_check.
11558 * elf/rtld.c: Include <dl-prop.h>.
11559 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
11560 _rtld_main_check.
11561 * sysdeps/generic/dl-prop.h: New file.
11562 * sysdeps/i386/dl-cet.c: Likewise.
11563 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
11564 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
11565 * sysdeps/x86/cet-tunables.h: Likewise.
11566 * sysdeps/x86/check-cet.awk: Likewise.
11567 * sysdeps/x86/configure: Likewise.
11568 * sysdeps/x86/configure.ac: Likewise.
11569 * sysdeps/x86/dl-cet.c: Likewise.
11570 * sysdeps/x86/dl-procruntime.c: Likewise.
11571 * sysdeps/x86/dl-prop.h: Likewise.
11572 * sysdeps/x86/libc-start.h: Likewise.
11573 * sysdeps/x86/link_map.h: Likewise.
11574 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
11575 _CET_ENDBR.
11576 (_dl_runtime_profile): Likewise.
11577 (_dl_runtime_resolve_shstk): New.
11578 (_dl_runtime_profile_shstk): Likewise.
11579 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
11580 if CET is enabled.
11581 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
11582 (CFLAGS-.os): Likewise.
11583 (CFLAGS-.op): Likewise.
11584 (CFLAGS-.oS): Likewise.
11585 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
11586 is enabled.
11587 (tests-special): Add $(objpfx)check-cet.out.
11588 (cet-built-dso): New.
11589 (+$(cet-built-dso:=.note)): Likewise.
11590 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
11591 ($(objpfx)check-cet.out): New.
11592 (generated): Add check-cet.out.
11593 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
11594 <cet-tunables.h>.
11595 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
11596 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
11597 (init_cpu_features): Call get_cet_status to check CET status
11598 and update dl_x86_feature_1 with CET status. Call
11599 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
11600 (set_x86_shstk). Disable and lock CET in libc.a.
11601 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
11602 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
11603 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
11604 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
11605 (_CET_ENDBR): Define if not defined.
11606 (ENTRY): Add _CET_ENDBR.
11607 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
11608 x86_shstk.
11609 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
11610 _CET_ENDBR.
11611 (_dl_runtime_profile): Likewise.
11612
52b2a80f
RA
116132018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
11614
11615 [BZ #21895]
11616 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
11617 restore r2 on longjmp.
11618 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
11619 test list.
11620 Added rules to build test tst-setjmp-bug21895-static.
11621 Added module setjmp-bug21895 and rules to build a shared object from it.
11622 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
11623 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
11624
3ae725df
WD
116252018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
11626
11627 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
11628 * benchtests/bench-strstr.c: Likewise.
11629 * string/memmem.c (FASTSEARCH): Define.
11630 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
11631 Add support for FASTSEARCH.
11632 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
11633 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
11634 (FASTSEARCH): Define.
11635 * string/test-strcasestr.c: Rename __strnlen to strnlen.
11636 * string/test-strstr.c: Likewise.
11637
31e422ca
L
116382018-07-15 H.J. Lu <hongjiu.lu@intel.com>
11639
11640 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
11641 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
11642
faaee1f0
L
116432018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
11644 H.J. Lu <hongjiu.lu@intel.com>
11645
11646 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
11647 (__longjmp): Restore shadow stack pointer if shadow stack is
11648 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
11649 isn't defined for __longjmp_cancel.
11650 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
11651 (_setjmp): Save shadow stack pointer if shadow stack is enabled
11652 and SHADOW_STACK_POINTER_OFFSET is defined.
11653 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
11654 (setjmp): Save shadow stack pointer if shadow stack is enabled
11655 and SHADOW_STACK_POINTER_OFFSET is defined.
11656 * sysdeps/i386/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 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
11660 <jmp_buf-ssp.h>.
11661 (____longjmp_chk): Restore shadow stack pointer if shadow stack
11662 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11663 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
11664 Remove jmp_buf-ssp.sym.
11665 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
11666 <jmp_buf-ssp.h>.
11667 (____longjmp_chk): Restore shadow stack pointer if shadow stack
11668 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11669 * sysdeps/x86/Makefile (gen-as-const-headers): Add
11670 jmp_buf-ssp.sym.
11671 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
11672 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
11673 (__longjmp): Restore shadow stack pointer if shadow stack is
11674 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
11675 isn't defined for __longjmp_cancel.
11676 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
11677 (__sigsetjmp): Save shadow stack pointer if shadow stack is
11678 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11679
ebff9c5c
L
116802018-07-14 H.J. Lu <hongjiu.lu@intel.com>
11681
11682 [BZ #22563]
11683 * nptl/pthread_create.c: Include <tls-setup.h>.
11684 (__pthread_create_2_1): Call tls_setup_tcbhead.
11685 * sysdeps/generic/tls-setup.h: New file.
11686 * sysdeps/x86/nptl/tls-setup.h: Likewise.
11687 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
11688 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
11689 Likewise.
11690 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
11691 to feature_1.
11692 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
11693 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
11694 (X86_FEATURE_1_SHSTK): Likewise.
11695 (CET_ENABLED): Likewise.
11696 (IBT_ENABLED): Likewise.
11697 (SHSTK_ENABLED): Likewise.
11698
0a83bad2
RL
116992018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
11700
11701 [BZ #23208]
11702 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
11703 (LOCALES): Likewise.
11704 * localedata/dsb_DE.UTF-8.in: New file.
11705 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
11706
046bfed9
FW
117072018-07-12 Florian Weimer <fweimer@redhat.com>
11708
11709 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
11710 __mprotect, not mprotect.
11711
93304f5f
FW
117122018-07-11 Florian Weimer <fweimer@redhat.com>
11713
11714 * io/Makefile (headers): Add bits/statx.h.
11715
4beefeeb
MF
117162018-07-10 Mike FABIAN <mfabian@redhat.com>
11717
11718 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
11719 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
11720 and headers.
11721 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
11722 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
11723 for utf8_gen.py
11724
fd70af45
FW
117252018-07-10 Florian Weimer <fweimer@redhat.com>
11726
11727 * io/Makefile (routines): Add statx.
11728 (tests-internal): Add tst-statx.
11729 * io/Versions (GLIBC_2.28): Export statx.
11730 * io/bits/statx.h: New file.
11731 * io/sys/stat.h [__USE_GNU]: Include it.
11732 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
11733 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
11734 Define.
11735 * io/statx.c: New file.
11736 * io/statx_generic.: Likewise.
11737 * io/tst-statx.: Likewise.
11738 * include/bits/statx.h: Likewise.
11739 * sysdeps/unix/sysv/linux/kernel-features.h
11740 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
11741 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11742 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
11743 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
11744 Undefine.
11745 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11746 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
11747 * sysdeps/unix/sysv/linux/statx.c: New file.
11748 * manual/filesys.texi: Note that statx is undocumented.
11749 * sysdeps/**/libc*.abilist: Update.
11750
b444e8f7
AZ
117512018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11752
11753 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
11754 a kernel issue which lead to test failure in some cases.
11755
7b2f4ced
FW
117562018-07-10 Florian Weimer <fweimer@redhat.com>
11757
11758 [BZ #23036]
11759 * posix/regexec.c (check_node_accept_bytes): When comparing
11760 weights, do not compare an extra byte after the end of the
11761 weights.
11762
4fa34da6
FW
117632018-07-10 Florian Weimer <fweimer@redhat.com>
11764
11765 * libio/readline.c: Fix copyright year.
11766 * libio/tst-readline.c Likewise.
11767 * nss/tst-nss-files-hosts-getent.c: Likewise.
11768
916124ed
FW
117692018-07-06 Florian Weimer <fweimer@redhat.com>
11770
11771 [BZ #18991]
11772 * nss/nss_files/files-XXX.c (internal_getent): Use
11773 __libc_readline_unlocked. Seek back to the start of the line if
11774 parsing failes with ERANGE.
11775 (get_contents_ret, get_contents): Remove.
11776 * nss/tst-nss-files-hosts-getent.c: New file.
11777 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
11778 (tst-nss-files-hosts-getent): Link with -ldl.
11779
3f5e3f5d
FW
117802018-07-06 Florian Weimer <fweimer@redhat.com>
11781
11782 * include/stdio.h (__libc_readline_unlocked): Declare.
11783 (__ftello64, __fseeko64): Declare aliases.
11784 * libio/readline.c: New file.
11785 * libio/tst-readline.c: Likewise.
11786 (routines): Add readline.
11787 (tests-internal): Add tst-readlime.
11788 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
11789 __libc_readline_unlocked.
11790 * libio/fseeko.c (__fseeko): Rename from fseeko.
11791 (fseeko): Add alias.
11792 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
11793 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
11794 (fseeko64): Add alias.
11795 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
11796 * libio/ftello64.c (__ftello64): Rename from ftello64.
11797 (ftello64): Add alias.
11798
397c54c1
SN
117992018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
11800
11801 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
11802 HWCAP_ATOMICS.
11803
d0cd7980
SN
118042018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
11805
11806 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
11807 Use dl_hwcap without masking.
11808 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
11809 Remove HWCAP_CPUID.
11810
ddb3c626
FW
118112018-07-06 Florian Weimer <fweimer@redhat.com>
11812
11813 * conform/conformtest.pl (checknamespace): Escape literal braces
11814 in regular expressions.
11815
bce5911b
AP
118162018-07-06 Amit Pawar <amit.pawar@amd.com>
11817
11818 * sysdeps/x86/cpu-features.c (get_common_indeces):
11819 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
11820 * sysdeps/x86/cpu-features.c (init_cpu_features):
11821 AVX_Fast_Unaligned_Load is disabled for Excavator core.
11822
3a885c1f
FW
118232018-07-05 Florian Weimer <fweimer@redhat.com>
11824
11825 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
11826 protector.
11827 (CFLAGS-elf-init.oS): Likewise.
11828
38cade0c
FW
118292018-07-05 Florian Weimer <fweimer@redhat.com>
11830 Carlos O'Donell <carlos@redhat.com>
11831
11832 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
11833 $(no-stack-protector). stack_chk_fail_local.c can be compiled
11834 with stack protector enabled because there is no risk of infinite
11835 recursion.
11836
9449a295
MR
118372018-07-05 Maciej W. Rozycki <macro@mips.com>
11838
11839 [BZ #19818]
11840 [BZ #23307]
11841 * libc-abis (ABSOLUTE): New ABI.
11842 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
11843 * NEWS: Mention the new ABI.
11844
d6da5cb6
FW
118452018-07-05 Florian Weimer <fweimer@redhat.com>
11846
11847 [BZ # 17662]
11848 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
11849 (RENAME_WHITEOUT): Define.
11850 [__USE_GNU] (renameat2): Declare.
11851 * stdio-common/Makefile (routines): Add renameat2.
11852 (tests): Add tst-renameat2.
11853 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
11854 * stdio-common/renameat2.c: New file.
11855 * stdio-common/tst-renameat2.c: Likewise.
11856 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
11857 * manual/filesys.texi (Temporary Files): Note that renameat2 is
11858 undocumented.
11859 * sysdeps/unix/sysv/linux/kernel-features.h
11860 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
11861 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11862 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
11863 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11864 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
11865 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11866 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
11867 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11868 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
11869 * include/stdio.h (__renameat): Add alias for renameat.
11870 * stdio-common/renameat.c (__renameat): Rename from renameat.
11871 Add hidden definition and alias.
11872 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
11873 * sysdeps/mach/hurd/renameat.c: Likewise.
11874 * sysdeps/**/libc*.abilist: Add renameat2.
11875
1002d708
AZ
118762018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11877
11878 * posix/bug-regex33.c: Fix build after regex sync.
11879
34fdb893
CD
118802018-07-04 Carlos O'Donell <carlos@redhat.com>
11881
11882 [BZ #23164]
11883 * localedata/tst-langinfo-setlocale.c: New file.
11884 * localedata/tst-langinfo-setlocale-static.c: New file.
11885 * localedata/tst-langinfo-newlocale.c: New file.
11886 * localedata/tst-langinfo-newlocale-static.c: New file.
11887 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
11888 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
11889 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
11890 (tests-static): Remove tst-langinfo-static. Add
11891 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
11892 (tests-special): Remove $(objpfx)tst-langinfo.out,
11893 $(objpfx)tst-langinfo-static.out. Add
11894 $(objpfx)tst-langinfo-setlocale.out,
11895 $(objpfx)tst-langinfo-newlocale.out,
11896 $(objpfx)tst-langinfo-setlocale-static.out,
11897 $(objpfx)tst-langinfo-newlocale-static.out.
11898 ($(objpfx)tst-langinfo.out): Remove.
11899 ($(objpfx)tst-langinfo-static.out): Remove.
11900 ($(objpfx)tst-langinfo-newlocale.out): New target.
11901 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
11902 (test-xfail-tst-langinfo-newlocale-static): Add.
11903 ($(objpfx)tst-langinfo-setlocale.out): New target.
11904 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
11905 * localedata/tst-langinfo.c: Call test_locale.
11906 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
11907 data.
11908
f2873d2d
FW
119092018-07-04 Florian Weimer <fweimer@redhat.com>
11910
11911 testrun.sh: Implement --tool=strace, --tool=valgrind
11912 * Makefile (testrun-script): Define variable.
11913 (testrun.sh): Use variable.
11914 * manual/install.texi (Tools for Compilation): make 4.0 or later
11915 is required.
11916 * configure.ac: Check for make 4.0 or later.
11917 * INSTALL: Regenerate.
11918 * configure: Likewise.
11919
eb04c213
AZ
119202018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11921
11922 [BZ #23233]
11923 [BZ #21163]
11924 [BZ #18986]
11925 [BZ #13762]
11926 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
11927 * posix/PCRE.tests: Remove invalid test.
11928 * posix/bug-regex28.c: Fix expected values for used syntax.
11929 * posix/bug-regex37.c: New file.
11930 * posix/bug-regex38.c: Likewise.
11931 * posix/regcomp.c: Sync with gnulib.
11932 * posix/regex.c: Likewise.
11933 * posix/regex.h: Likewise.
11934 * posix/regex_internal.c: Likewise.
11935 * posix/regex_internal.h: Likewise.
11936 * posix/regexec.c: Likewise.
11937
b11643c2
MF
119382018-06-26 Mike FABIAN <mfabian@redhat.com>
11939
11940 [BZ #23308]
11941 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
11942 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
11943 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
11944 * localedata/unicode-gen/PropList.txt: likewise.
11945 * localedata/unicode-gen/UnicodeData.txt: likewise.
11946 * localedata/charmaps/UTF-8: Regenerate.
11947 * localedata/locales/i18n_ctype: likewise.
11948 * localedata/locales/tr_TR: likewise.
11949 * localedata/locales/translit_circle: likewise.
11950 * localedata/locales/translit_cjk_compat: likewise.
11951 * localedata/locales/translit_combining: likewise.
11952 * localedata/locales/translit_compat: likewise.
11953 * localedata/locales/translit_font: likewise.
11954 * localedata/locales/translit_fraction: likewise.
11955
5a357506
FW
119562018-07-03 Florian Weimer <fweimer@redhat.com>
11957
11958 [BZ #23363]
11959 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
11960 * stdio-common/tst-printf.sh: Adjust expected output.
11961 * LICENSES: Update.
11962
7279af00
AZ
119632018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11964
11965 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
11966 symbol.
11967
b7b88cea
GG
119682018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11969
11970 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
11971 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
11972 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
11973 * stdio-common/tst-printfsz-islongdouble.c: New file.
11974 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
11975 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
11976 [subdir == stdio-common] (routines): Add ieee128-printf_size.
11977 [subdir == stdio-common] (tests-internal): Add
11978 test-printf-size-ieee128, and test-printf-size-ibm128.
11979 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
11980 (CFLAGS-test-printf-size-ibm128.c): New variables.
11981 [subdir == stdio-common] (tests-special): Add
11982 $(objpfx)test-printf-size-ieee128.out and
11983 $(objpfx)test-printf-size-ibm128.out.
11984 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
11985 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
11986 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
11987 __printf_sizeieee128.
11988 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
11989 New file.
11990 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
11991 Likewise.
11992 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
11993 Likewise.
11994
2b445206
SN
119952018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
11996
11997 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
11998 (exp2f_inline): Likewise.
11999 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
12000 (__math_uflowf): Likewise.
12001 (__math_may_uflowf): Likewise.
12002 (__math_divzerof): Likewise.
12003 (__math_invalidf): Likewise.
12004 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
12005 (__math_oflowf): Likewise.
12006 (__math_uflowf): Likewise.
12007 (__math_may_uflowf): Likewise.
12008 (__math_divzerof): Likewise.
12009 (__math_invalidf): Likewise.
12010
2827ab99
CD
120112018-06-29 DJ Delorie <dj@redhat.com>
12012 Carlos O'Donell <carlos@redhat.com>
12013
12014 [BZ #23329]
12015 * include/libc-symbols.h: Comment the freeres framework.
12016 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
12017 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
12018 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
12019 * dlfcn/dlerror.c: Include libc-symbols.h
12020 (__dlerror_main_freeres): New function.
12021 * dlfcn/dlfreeres.c: New file.
12022 * dlfcn/sdlfreeres.c: New file.
12023 * include/dlfcn.h: Declare __dlerror_main_freeres.
12024 * malloc/set-freeres.c: Declare __libdl_freeres, and
12025 __libpthread_freeres.
12026 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
12027 the releavant libraries are loaded.
12028 * malloc/thread-freeres.c: Add comments.
12029 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
12030 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
12031 * nptl/allocatestack.c (__nptl_free_stacks): New function.
12032 (__free_stacks): Rename to...
12033 (free_stacks): ...this. Mark static.
12034 (queue_stack): Call free_stacks.
12035 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
12036 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
12037 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
12038 ptr_freeres element from struct.
12039 (pthread_functions): Remove .ptr_freeres from struct initializer.
12040 [SHARED] (nptl_freeres): Remove.
12041 * nptl/nptlfreeres.c: New file.
12042 * nptl/pthreadP.h
12043 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
12044 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
12045 attribute_hidden.
12046 (__free_stacks): Rename to...
12047 (__nptl_stacks_freeres): ...this.
12048 (__shm_directory_freeres): Declare.
12049 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
12050 (__nptl_unwind_freeres): ...this.
12051 * resolv/res-close.c: Add comment.
12052 * resolv/resolv_conf.c: Include libc-symbols.h.
12053 * string/strerror_l.c: Include libc-symbols.h.
12054 * sunrpc/rpc_thread.c: Include libc-symbols.h.
12055 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
12056 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
12057 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
12058
37d3d244
RS
120592018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12060
12061 * stdlib/tst-strfmon_l.c: Add tests for long double.
12062
a1e0c5fa
MW
120632018-06-29 Michael Wolf <milupo@sorbzilla.de>
12064
12065 [BZ #23208]
12066 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
12067 * localedata/locales/dsb_DE: New file.
12068
2e0c5de6
RL
120692018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
12070
12071 [BZ #23140]
12072 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
12073 genitive case).
12074 (alt_mon): New entry, import from CLDR (nominative case).
12075
cdb52c71
SL
120762018-06-29 Sylvain Lesage <severo@rednegra.net>
12077
12078 [BZ #22996]
12079 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
12080
ce76a5cb
SP
120812018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
12082
0aec4c1d
SP
12083 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
12084 Use vector registers.
12085
ce76a5cb
SP
12086 * sysdeps/aarch64/multiarch/memmove_falkor.S
12087 (__memcpy_falkor): Use vector registers.
12088
7e8989d0
MS
120892018-06-29 Martin Sebor <msebor@redhat.com>
12090
12091 * manual/stdio.texi (Customizing Printf): Mention interaction
12092 with GCC built-ins.
12093
bac15a72
MR
120942018-06-29 Maciej W. Rozycki <macro@mips.com>
12095
12096 [BZ #23307]
12097 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
12098 `st_value' is 0 if `st_shndx' is SHN_ABS.
12099 * elf/tst-absolute-zero.c: New file.
12100 * elf/tst-absolute-zero-lib.c: New file.
12101 * elf/tst-absolute-zero-lib.lds: New file.
12102 * elf/Makefile (tests): Add `tst-absolute-zero'.
12103 (modules-names): Add `tst-absolute-zero-lib'.
12104 (LDLIBS-tst-absolute-zero-lib.so): New variable.
12105 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
12106 ($(objpfx)tst-absolute-zero: New dependency.
12107
e69d994a
ZW
121082018-06-29 Zack Weinberg <zackw@panix.com>
12109
12110 * configure.ac: New command-line option --disable-crypt.
12111 Force --disable-nss-crypt when --disable-crypt is given, with a
12112 warning if it was explicitly enabled.
12113 * configure: Regenerate.
12114 * config.make.in: New boolean substitution variable $(build-crypt).
12115 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
12116 when $(build-crypt).
12117 * manual/install.texi: Document --disable-crypt.
12118 * INSTALL: Regenerate.
12119
12120 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
12121 which is never set.
12122 * conform/Makefile: Only include libcrypt.a in
12123 linknamespace-libs-xsi and linknamespace-libs-XPG4
12124 when $(build-crypt).
12125 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
12126 USE_CRYPT to 1 when $(build-crypt).
12127 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
12128 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
12129 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
12130
841785ba
ZW
121312018-06-29 Zack Weinberg <zackw@panix.com>
12132
12133 * crypt/crypt.h, posix/unistd.h: Update comments and
12134 prototypes for crypt and crypt_r.
12135
12136 * manual/crypt.texi (Cryptographic Functions): New initial
12137 exposition.
12138 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
12139 (Unpredictable Bytes): Improve initial exposition. Clarify error
12140 behavior of getentropy and getrandom.
12141 * manual/examples/genpass.c: Generate a salt using getentropy
12142 instead of the current time. Use hash $5$ (SHA-2-256).
12143 * manual/examples/testpass.c: Demonstrate validation against
12144 hashes generated with three different one-way functions.
12145
12146 * manual/intro.texi: crypt.texi does not need an overview
12147 anymore.
12148
12149 * manual/nss.texi, manual/memory.texi, manual/socket.texi
12150 * manual/terminal.texi: Consistently refer to "passphrases"
12151 * instead of "passwords", and to the "user database" instead
12152 * of the "password database".
12153 * manual/users.texi: Similarly. Add notes about how actual
12154 passphrase hashes are now stored in the shadow database.
12155 Remove 20-year-old junk todo note.
12156
6ab902e4
ZW
121572018-06-29 Zack Weinberg <zackw@panix.com>
12158
12159 * manual/crypt.texi: Use a normal top-level @node declaration.
12160 Move most of the introductory text to the 'crypt' section.
12161 Move the example programs below the @deftypefun for 'crypt_r'.
12162 Move the 'getpass' section...
12163 * manual/terminal.texi: ...here.
12164
b10a0acc
ZW
121652018-06-29 Zack Weinberg <zackw@panix.com>
12166 Florian Weimer <fweimer@redhat.com>
12167
12168 * posix/unistd.h: Do not declare encrypt.
12169 (_XOPEN_CRYPT): Remove macro definition.
12170 (crypt): Declare only for _USE_MISC.
12171 * stdlib/stdlib.h: Do not declare setkey.
12172 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
12173 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
12174
12175 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
12176 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
12177 into compat symbols. Don't define initial_perm if it's not
12178 going to be used.
12179 * crypt/cert.c: Link explicitly with the expected versions for
12180 setkey and encrypt. If they are not available at all, mark
12181 the test as unsupported.
12182
12183 * sunrpc/des_crypt.c: Unconditionally block linkage with
12184 cbc_crypt and ecb_crypt for new binaries.
12185 * sunrpc/des_soft.c: Unconditionally block linkage with
12186 des_setparity for new binaries.
12187
12188 * manual/crypt.texi: Remove the entire "DES Encryption"
12189 section. Also remove the paragraph talking about FIPS 140-2
12190 from the introduction.
12191 * manual/string.texi (strfry, memfrob): Revise. Recommend use
12192 of libgcrypt for "real" encryption, not DES.
12193 * manual/conf.texi (Constants for Sysconf): Mention that
12194 _XOPEN_CRYPT is no longer impelemented.
12195
12196 * conform/data/unistd.h-data: Remove crypt function declaration.
12197
524d796d
FW
121982018-06-29 Florian Weimer <fweimer@redhat.com>
12199
12200 [BZ #23351]
12201 * malloc/hooks.c: Update comments on restoring of dumped heaps.
12202 (disallow_malloc_check): Remove variable.
12203 (__malloc_check_init): Adjust.
12204 (malloc_set_state): Update comment.
12205 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
12206 declarations.
12207
339124ab
RL
122082018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
12209
12210 [BZ #23140]
12211 * localedata/locales/ast_ES (mon): Rename to...
12212 (alt_mon): This.
12213 (mon): Import from CLDR (genitive case).
12214
c1f86a33
DA
122152018-06-29 Daniel Alvarez <dalvarez@redhat.com>
12216 Jakub Sitnicki <jkbs@redhat.com>
12217
12218 [BZ #21812]
12219 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
12220 on NLM_F_DUMP_INTR.
12221
0b11b649
SN
122222018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
12223
12224 * manual/llio.texi: Remove spurious space.
12225
c1c2848b
FW
122262018-06-28 Florian Weimer <fweimer@redhat.com>
12227
12228 [BZ #23349]
12229 * time/bits/types/struct_timespec.h: Change header inclusion guard to
12230 _STRUCT_TIMESPEC.
12231
86a0f561
RS
122322018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12233
12234 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
6b5c8607 12235 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
86a0f561
RS
12236 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
12237 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
12238 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
12239 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
12240 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
12241
780684eb
MR
122422018-06-27 Maciej W. Rozycki <macro@mips.com>
12243
12244 [BZ #23266]
12245 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
12246 Copy and null-terminate entries that are not terminated, in
12247 addition to empty ones.
12248
c49e1822
FW
122492018-06-27 Florian Weimer <fweimer@redhat.com>
12250
12251 [BZ #18023]
b39d961c
TS
12252 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
12253 (extend_alloca_account): Remove.
c49e1822
FW
12254 * manual/stdio.texi (Variable Arguments Output): Update comment.
12255
a833e627
JM
122562018-06-27 Joseph Myers <joseph@codesourcery.com>
12257
12258 * nptl/sockperf.c: Remove file.
12259
92d6aa85
FW
122602018-06-27 Florian Weimer <fweimer@redhat.com>
12261
12262 [BZ #18023]
12263 * elf/dl-deps.c (_dl_map_object_deps): Use struct
12264 scratch_buffer instead of extend_alloca.
12265
890c2ced
FW
122662018-06-27 Florian Weimer <fweimer@redhat.com>
12267
12268 [BZ #18023]
12269 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
12270 scratch_buffer instead of extend_alloca. Update comments.
12271
4272059d
FW
122722018-06-27 Florian Weimer <fweimer@redhat.com>
12273
12274 [BZ #18023]
12275 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
12276 instead of extend_alloca.
12277
27f10a09
JM
122782018-06-26 Joseph Myers <joseph@codesourcery.com>
12279
12280 [BZ #13888]
12281 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
12282 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
12283 /tmp.
12284 * scripts/test-installation.pl: Put temporary files in build
12285 directory, not /tmp.
12286 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
12287 (CFLAGS-bug4.c): Likewise.
12288 (CFLAGS-bug5.c): Likewise.
12289 (CFLAGS-test-fseek.c): Likewise.
12290 (CFLAGS-test-popen.c): Likewise.
12291 (CFLAGS-test_rdwr.c): Likewise.
12292 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
12293 /tmp.
12294 * stdio-common/bug4.c (main): Likewise.
12295 * stdio-common/bug5.c (main): Likewise.
12296 * stdio-common/test-fseek.c (TESTFILE): Likewise.
12297 * stdio-common/test-popen.c (do_test): Likewise.
12298 * stdio-common/test_rdwr.c (main): Likewise.
12299
05598a09
PF
123002018-06-26 Patsy Franklin <pfrankli@redhat.com>
12301
12302 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
12303 (sem_open): Set sem.newsem.pad to zero for valgrind.
12304
06ab719d
AZ
123052018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12306
12307 [BZ #20251]
12308 * NEWS: Mention fcntl64 addition.
12309 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
12310 * login/utmp_file.c: Likewise.
12311 * sysdeps/posix/fdopendir.c: Likewise.
12312 * sysdeps/posix/opendir.c: Likewise.
12313 * sysdeps/unix/pt-fcntl.c: Likewise.
12314 * include/fcntl.h (__libc_fcntl64, __fcntl64,
12315 __fcntl64_nocancel_adjusted): New prototype.
12316 (__fcntl_nocancel_adjusted): Remove prototype.
12317 * io/Makefile (routines): Add fcntl64.
12318 (CFLAGS-fcntl64.c): New rule.
12319 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
12320 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
12321 * io/fcntl.h (fcntl64): Add prototype and redirect if
12322 __USE_FILE_OFFSET64 is defined.
12323 * io/fcntl64.c: New file.
12324 * manual/llio.text: Add a note for which commands fcntl acts a
12325 cancellation point.
12326 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
12327 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
12328 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
12329 New symbols.
12330 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
12331 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
12332 non-LFS case.
12333 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
12334 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
12335 to __fcntl64_nocancel.
12336 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
12337 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
12338 to __fcntl64_nocancel.
12339 * sysdeps/generic/not-cancel.h: Likewise.
12340 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
12341 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
12342 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
12343 (fcntl64): New symbol.
12344 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12345 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12346 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12349 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12350 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12351 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12352 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12353 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12354 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
12355 fcntl64): Likewise.
12356 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12357 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
12358 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12359 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12360 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12361 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12362 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12363 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12364 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12366 Likewise.
12367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12368 Likewise.
12369 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12370 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12371 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12372
124e0258
FW
123732018-06-26 Florian Weimer <fweimer@redhat.com>
12374
12375 Run thread shutdown functions in an explicit order.
12376 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
12377 definition.
12378 (__libc_thread_freeres): Call thread shutdown functions
12379 explicitly.
12380 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
12381 * include/string.h (__strerror_thread_freeres): Declare.
12382 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
12383 arena_thread_freeres. No longer static. Remove thread shutdown
12384 hook registration.
12385 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
12386 Declare.
12387 * resolv/res-close.c (__res_thread_freeres): Renamed from
12388 res_thread_freeres. No longer static. Remove thread shutdown
12389 hook registration.
12390 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
12391 * resolv/resolv_conf.c (freeres): Remove incorrect section
12392 attribute and use libc_freeres_fn.
12393 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
12394 strerror_thread_freeres. No longer static. Remove thread
12395 shutdown hook registration.
12396 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
12397 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
12398 shutdown hook registration.
12399 * Makerules (shlib.lds): Do not provide section boundary symbols
12400 for __libc_thread_subfreeres.
12401 * manual/memory.texi (Basic Allocation): Update comment.
12402
935d920e
FW
124032018-06-26 Florian Weimer <fweimer@redhat.com>
12404
12405 Remove always-defined _RPC_THREAD_SAFE_ macro.
12406 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
12407 Do not define _RPC_THREAD_SAFE_.
12408 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
12409 conditional.
12410 * sunrpc/clnt_perr.c: Likewise.
12411 * sunrpc/clnt_raw.c: Likewise.
12412 * sunrpc/clnt_simp.c: Likewise.
12413 * sunrpc/key_call.c: Likewise.
12414 * sunrpc/rpc_common.c: Likewise.
12415 * sunrpc/rpc_main.c: Likewise.
12416 * sunrpc/rpc_thread.c: Likewise.
12417 * sunrpc/svc.c: Likewise.
12418 * sunrpc/svc_raw.c: Likewise.
12419 * sunrpc/svc_simple.c: Likewise.
12420 * sumrpc/svcauth_des.c: Likewise.
12421
29055464
FW
124222018-06-26 Florian Weimer <fweimer@redhat.com>
12423
12424 * libio/Makefile (tests-internal): Add tst-vtables,
12425 tst-vtables-interposed.
12426 * libio/tst-vtables.c: New file.
12427 * libio/tst-vtables-common.c: Likewise.
12428 * libio/tst-vtables-interposed.c: Likewise.
12429
5c0202af
FW
124302018-06-26 Florian Weimer <fweimer@redhat.com>
12431
12432 * support/support_test_main.c (support_test_main): Only call
12433 setvbuf if not disables.
12434 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
12435 * support/test-driver.h (struct test_config): Add no_setvbuf member.
12436
c402355d
FW
124372018-06-26 Florian Weimer <fweimer@redhat.com>
12438
12439 [BZ #23313]
12440 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
12441
43b1048a
FW
124422018-06-25 Florian Weimer <fweimer@redhat.com>
12443
12444 [BZ #18023]
12445 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12446 Use struct scratch_buffer instead of extend_alloca.
12447
1599ed4e
FW
124482018-06-25 Florian Weimer <fweimer@redhat.com>
12449
12450 [BZ #18023]
12451 * nss/getent.c (initgroups_keys): Use dynarray instead of
12452 extend_alloca.
12453
a26fe163
FW
124542018-06-25 Florian Weimer <fweimer@redhat.com>
12455
12456 [BZ #18023]
12457 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
12458 Use struct scratch_buffer instead of extend_alloca.
12459
90d9d9ce
FW
124602018-06-25 Florian Weimer <fweimer@redhat.com>
12461
12462 [BZ #18023]
12463 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
12464 back to malloc directly, without stack allocations.
12465
6b7b2aba
FW
124662018-06-25 Florian Weimer <fweimer@redhat.com>
12467
12468 [BZ #18023]
12469 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
12470 of extend_alloca.
12471
2f9f0d18
FW
124722018-06-25 Florian Weimer <fweimer@redhat.com>
12473
12474 [BZ #18023]
12475 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
12476 of extend_alloca.
12477 * nscd/hstcache.c (addhstbyX): Likewise.
12478 * nscd/pwdcache.c (addpwbyX): Likewise.
12479 * nscd/servicescache.c (addservbyX): Likewise.
12480
318bad78
FW
124812018-06-25 Florian Weimer <fweimer@redhat.com>
12482
12483 [BZ #18023]
12484 * nscd/connections.c (read_cmdline): New function.
12485 (restart): Use it. Update comment.
12486
189699ab
RL
124872018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
12488
12489 [BZ #23140]
12490 * localedata/locales/csb_PL (mon): Rename to...
12491 (alt_mon): This.
12492 (abmon): Rename to...
12493 (ab_alt_mon): This.
12494 (mon): Add with proper genitive forms, copy from Wikipedia.
12495 (abmon): Likewise.
12496
0ea3f13c
RL
124972018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
12498
12499 [BZ #19485]
12500 * localedata/locales/csb_PL (mon): Fix typos:
12501 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
12502 (yesstr): Add, value is "jo".
12503 (nostr): Add, value is "nié".
12504
d93f4ff1
TMQMF
125052018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12506
12507 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
12508 all log1p and significand functions on m680x0.
12509 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
12510 of s_significand.c..
12511 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
12512 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
12513 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
12514 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
12515 s_log1p.c and include it..
12516
f6299d2a
VC
125172018-06-21 Vincent Chen <vincentc@andestech.com>
12518
12519 * elf/elf.h (R_NDS32_NONE): New define.
12520 (R_NDS32_32_RELA): Likewise.
12521 (R_NDS32_COPY): Likewise.
12522 (R_NDS32_GLOB_DAT): Likewise.
12523 (R_NDS32_JUMP_SLOT): Likewise.
12524 (R_NDS32_RELATIVE): Likewise.
12525 (R_NDS32_TLS_TPOFF): Likewise.
12526 (R_NDS32_TLS_DESC): Likewise.
12527
61ab61c2
MW
125282018-06-21 Mark Wielaard <mark@klomp.org>
12529
12530 * elf/elf.h (R_BPF_MAP_FD): Removed.
12531 (R_BPF_64_64, R_BPF_64_32): New.
12532
f496b28e
FW
125332018-06-21 Florian Weimer <fweimer@redhat.com>
12534
12535 [BZ #23253]
12536 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
12537 Renamed from libc_feholdsetround_ctx.
12538 (default_libc_feresetround_ctx): Renamed from
12539 libc_feresetround_ctx.
12540 (default_libc_feholdsetround_noex_ctx): Renamed from
12541 libc_feholdsetround_noex_ctx.
12542 (default_libc_feresetround_noex_ctx): Renamed from
12543 libc_feresetround_noex_ctx.
12544 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
12545 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
12546 forwardning to the old implementations under the new names.
12547 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
12548 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
12549 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
12550 (libc_feresetround_ctx): Forward to default implements for i386
12551 and MATH_SET_BOTH_ROUNDING_MODES.
12552 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
12553 Add -DMATH_SET_BOTH_ROUNDING_MODES.
12554
1760daad
JM
125552018-06-20 Joseph Myers <joseph@codesourcery.com>
12556
99c7adf9
JM
12557 * string/tst-cmp.c: Include <libc-diag.h>.
12558 (strncmp_max): Disable -Wstringop-overflow= around call to
12559 strncmp.
12560 (strncasecmp_max): Disable -Wstringop-overflow= around call to
12561 strncasecmp.
12562
1760daad
JM
12563 * string/bug-strpbrk1.c: Include <libc-diag.h>.
12564 (main): Disable -Wunused-value around call to strpbrk.
12565 * string/bug-strspn1.c: Include <libc-diag.h>.
12566 (main): Disable -Wunused-value around call to strspn.
12567
209ae17c
TMQMF
125682018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12569 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12570
12571 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
12572 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
12573
badba23c
TMQMF
125742018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12575
5e79e029
TMQMF
12576 * math/Makefile (libm-calls): Move s_significandF to...
12577 (gen-libm-calls): ... here.
12578 * math/s_significand_template.c: New file.
12579 * math/s_significand.c: Removed.
12580 * math/s_significandf.c: Removed.
12581 * math/s_significandl.c: Removed.
12582 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
12583 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
12584
badba23c
TMQMF
12585 * math/e_exp2_template.c (declare_mgen_finite_alias,
12586 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
12587 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
12588 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
12589
2d1c89a5
FW
125902018-06-20 Florian Weimer <fweimer@redhat.com>
12591
12592 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
12593
646c2833
JM
125942018-06-19 Joseph Myers <joseph@codesourcery.com>
12595
12596 [BZ #23280]
12597 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
12598 floating-point number to strtod functions rather than possibly
12599 negating result of those functions.
12600 * stdio-common/tst-scanf-round.c: New file.
12601 * stdio-common/Makefile (tests): Add tst-scanf-round.
12602 ($(objpfx)tst-scanf-round): Depend on $(libm).
12603
c77e4dc0
ST
126042018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
12605
12606 * sysdeps/mach/hurd/localplt.data: Move to...
12607 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
12608 R_386_GLOB_DAT like on Linux i386.
12609
91b2f3e5
JM
126102018-06-18 Joseph Myers <joseph@codesourcery.com>
12611
f2857da7
JM
12612 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
12613 (SHM_STAT_ANY): New macro.
12614 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
12615 (SHM_STAT_ANY): Likewise.
12616 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
12617 (SHM_STAT_ANY): Likewise.
12618 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
12619 (SHM_STAT_ANY): Likewise.
12620 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
12621 (SHM_STAT_ANY): Likewise.
12622 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
12623 (SHM_STAT_ANY): Likewise.
12624 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
12625 (SHM_STAT_ANY): Likewise.
12626 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
12627 (SHM_STAT_ANY): Likewise.
12628 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
12629 (SHM_STAT_ANY): Likewise.
12630 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
12631 (SHM_STAT_ANY): Likewise.
12632 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
12633 (SHM_STAT_ANY): Likewise.
12634 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
12635 (SHM_STAT_ANY): Likewise.
12636
176c7fee
JM
12637 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
12638 (SEM_STAT_ANY): New macro.
12639 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
12640 (SEM_STAT_ANY): Likewise.
12641 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
12642 (SEM_STAT_ANY): Likewise.
12643 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
12644 (SEM_STAT_ANY): Likewise.
12645 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
12646 (SEM_STAT_ANY): Likewise.
12647 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
12648 (SEM_STAT_ANY): Likewise.
12649 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
12650 (SEM_STAT_ANY): Likewise.
12651 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
12652 (SEM_STAT_ANY): Likewise.
12653 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
12654 (SEM_STAT_ANY): Likewise.
12655 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
12656 (SEM_STAT_ANY): Likewise.
12657
86bf0019
JM
12658 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
12659 (MSG_STAT_ANY): New macro.
12660 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
12661 (MSG_STAT_ANY): Likewise.
12662 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
12663 (MSG_STAT_ANY): Likewise.
12664 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
12665 (MSG_STAT_ANY): Likewise.
12666 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
12667 (MSG_STAT_ANY): Likewise.
12668 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
12669 (MSG_STAT_ANY): Likewise.
12670 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
12671 (MSG_STAT_ANY): Likewise.
12672 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
12673 (MSG_STAT_ANY): Likewise.
12674 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
12675 (MSG_STAT_ANY): Likewise.
12676 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
12677 (MSG_STAT_ANY): Likewise.
12678
91b2f3e5
JM
12679 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12680 (MAP_TYPE): Change value to 0x2b.
12681
3fe8fc79
FW
126822018-06-18 Florian Weimer <fweimer@redhat.com>
12683
12684 [BZ #15722]
12685 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
12686 socket with SOCK_CLOEXEC.
12687
809dc95d
JM
126882018-06-18 Joseph Myers <joseph@codesourcery.com>
12689
12690 [BZ #23303]
12691 * sysdeps/powerpc/powerpc64/le/Makefile
12692 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
12693 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
12694 (gnulib-tests): Also add $(f128-loader-link) for
12695 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
12696
298a8b59
ST
126972018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
12698
12699 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
12700 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
12701 of sendfile.
12702 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
12703 (sendfile64): New strong alias.
faf7bbc2
ST
12704 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
12705 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
12706 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
f96a85e0
ST
12707 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
12708 attribute.
12709 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
12710 ___pthread_get_cleanup_stack.
932d05f0 12711 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
c1b7586c
ST
12712 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
12713 * mach/shortcut.awk: Make syscall stubs include
12714 <mach-shortcuts-hidden.h> and add hidden definition.
12715 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
7a646a93
ST
12716 (__mach_msg): Add hidden prototype.
12717 * mach/msg.c: Include <mach.h>.
12718 (__mach_msg): Add hidden definition.
b0344cf5
ST
12719 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
12720 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
12721 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
12722 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
8c9d5342
ST
12723 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
12724 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
4d0ac037
ST
12725 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
12726 prototype and definition.
12727 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
12728 hidden target for _hurd_self_sigstate.
298a8b59 12729
b12c1e79
JM
127302018-06-15 Joseph Myers <joseph@codesourcery.com>
12731
12732 [BZ #23007]
12733 * stdlib/tst-strtod-nan-sign-main.c: New file.
12734 * stdlib/tst-strtod-nan-sign.c: Likewise.
12735 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
12736 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
12737 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
12738 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
12739 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
12740
b0debe14
HB
127412018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
12742
12743 [BZ #23007]
12744 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
12745 appropriate sign.
12746
14beef75
FW
127472018-06-14 Florian Weimer <fweimer@redhat.com>
12748
12749 [BZ #23290]
12750 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
12751 that the result stays within the ISO-8859-1 range.
12752 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
12753 characters are defined in IBM273.
12754
c596630b
ST
127552018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
12756
12757 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
12758 __mach_task_self): Remove attribute_hidden.
12759
35ebb6b0
JM
127602018-06-14 Joseph Myers <joseph@codesourcery.com>
12761
12762 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
12763 ignore -Wrestrict for one test.
12764
3c7b9f1f
SE
127652018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
12766 Szabolcs Nagy <szabolcs.nagy@arm.com>
12767
12768 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
12769
c59ee916
FW
127702018-06-14 Florian Weimer <fweimer@redhat.com>
12771
12772 * scripts/update-abilist.sh: Accept empty list of files to patch.
12773
43b5ff50
ST
127742018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
12775
12776 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
12777 test-xfail-check-abi-libmachuser): Add.
c8c910ed
ST
12778 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
12779 __libc_read and __libc_write to __read and __write.
c8c6e6d6 12780 * sysdeps/hurd/include/hurd/port.h: New file.
126b3ec3
ST
12781 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
12782 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
12783 __thread_switch, __evc_wait): Move declarations to...
12784 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
12785 attribute_hidden.
06d1a826
ST
12786 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
12787 use PLT to call _hurd_self_sigstate.
43b5ff50 12788
fcd6b5ac
JM
127892018-06-13 Joseph Myers <joseph@codesourcery.com>
12790
12791 [BZ #23279]
12792 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
12793 MAX_EXP as overflowing.
12794 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
12795 overflow flag.
12796 (round_str): Output also whether result overflows in each rounding
12797 mode.
12798 * stdlib/tst-strtod-round-data: Add more tests.
12799 * stdlib/tst-strtod-round-data.h: Regenerated.
12800 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
12801 (TEST): Handle extra arguments for overflow flags.
12802 (struct test_overflow): New type.
12803 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
12804 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
12805 (test_in_one_mode): Take argument with overflow information.
12806 (do_test): Update calls to test_in_one_mode.
12807
35df5a77
CD
128082018-06-12 Carlos O'Donell <carlos@redhat.com>
12809
a745c837
CD
12810 * elf/dl-load (_dl_dst_substitute): Correct comment.
12811 (_dl_dst_count): Likewise.
12812
35df5a77
CD
12813 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
12814 lll_futex_timed_wait.
12815
48b12ed5
JM
128162018-06-12 Joseph Myers <joseph@codesourcery.com>
12817
12818 [BZ #23277]
12819 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
12820 attribute.
12821 * math/test-nan-const.c: New file.
12822 * math/Makefile (tests): Add test-nan-const.
12823 (CFLAGS-test-nan-const.c): New variable.
12824
cb8f6aff
L
128252018-06-12 H.J. Lu <hongjiu.lu@intel.com>
12826
12827 * benchtests/scripts/compare_strings.py (process_results): Add
12828 funcs argument. Compare only functions which are selected.
12829 (main): Check if base function is among selected functions.
12830 Pass selected functions to process_results.
12831 (__main__): Add -f/--functions argument.
12832
fc2ba803
HZ
128332018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
12834 Hongbo Zhang <hongbo.zhang@linaro.org>
12835
12836 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
12837 __memcpy_falkor for phecda core.
12838 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
12839 __memmove_falkor for phecda core.
12840 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
12841 __memset_falkor for phecda core.
12842 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
12843 for phecda core.
12844 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
12845 macro to identify phecda core.
12846
5aad5f61
CD
128472018-06-12 Carlos O'Donell <carlos@redhat.com>
12848 Andreas Schwab <schwab@suse.de>
12849 Dmitry V. Levin <ldv@altlinux.org>
6b5c8607 12850 Florian Weimer <fweimer@redhat.com>
5aad5f61
CD
12851
12852 [BZ #23102]
12853 [BZ #21942]
12854 [BZ #18018]
12855 [BZ #23259]
12856 CVE-2011-0536
12857 * elf/dl-dst.h: Remove DL_DST_COUNT.
12858 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
12859 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
12860 (is_dst): Comment. Support ELF gABI.
12861 (_dl_dst_count): Comment. Simplify and count DSTs.
12862 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
12863 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
12864 locals.
12865
329ea513
ZW
128662018-06-12 Zack Weinberg <zackw@panix.com>
12867
12868 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
12869 * sysdeps/unix/sysv/linux/dl-sysdep.c
12870 Include not-cancel.h. Use __close_nocancel instead of __close,
12871 __open64_nocancel instead of __open, __read_nocancel instead of
12872 __libc_read, and __write_nocancel instead of __libc_write.
12873
12874 * csu/check_fds.c (check_one_fd)
12875 * sysdeps/posix/fdopendir.c (__fdopendir)
12876 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
b39d961c 12877 instead of __fcntl and/or __libc_fcntl.
329ea513
ZW
12878
12879 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
12880 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
b39d961c 12881 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
329ea513
ZW
12882 Use __open64_nocancel instead of __open_nocancel.
12883
12884 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
12885 hidden_proto declarations to the end and issue them if either
12886 IS_IN(libc) or IS_IN(rtld).
12887 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
12888 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
12889 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
12890 read_nocancel, waitpid_nocancel, write_nocancel.
12891
b39d961c
TS
12892 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
12893 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
12894 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
329ea513 12895
b39d961c
TS
12896 * nptl/pt-fcntl.c: New file.
12897 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
12898 (libpthread-routines): Add pt-fcntl.
12899 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
12900 (__libc_fcntl): Remove attribute_hidden.
329ea513
ZW
12901 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
12902 __fcntl_nocancel_adjusted, not fcntl_common.
b39d961c 12903 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
329ea513
ZW
12904 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
12905 to fcntl_nocancel.c.
12906 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
12907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
12908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12909 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
12910
12911 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
12912 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
12913 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
12914 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
12915 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
12916 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
12917 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
12918 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
12919 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
12920 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
12921 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
12922 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
12923 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
12924 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
12925 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
12926 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
12927 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
12928 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
12929 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
12930 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
12931
b39d961c
TS
12932 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
12933 libpthread-routines.
12934 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
12935 defines nothing.
329ea513 12936
b39d961c
TS
12937 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
12938 __libc_read, and __write instead of __libc_write. Define
12939 __open64 in addition to __open.
329ea513 12940
0221ce2a
L
129412018-06-12 H.J. Lu <hongjiu.lu@intel.com>
12942
12943 [BZ #23250]
12944 [BZ #10686]
12945 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
12946 to _private_tm[3] and add __glibc_reserved2.
12947 Add _Static_assert of offset of __private_ss == 0x30.
12948 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
12949 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
12950
e826574c
FW
129512018-06-12 Florian Weimer <fweimer@redhat.com>
12952
12953 x86: Make strncmp usable from rtld.
12954 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
12955 __strncmp_ia32 if in libc (and not in rtld).
12956 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
12957 strncmp if not in libc (and not to __strncmp_sse2).
12958
c4ad5782
RL
129592018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
12960
12961 [BZ #23140]
12962 * localedata/locales/gd_GB (mon): Rename to...
12963 (alt_mon): This.
12964 (mon): Import from CLDR (genitive case).
12965 * localedata/locales/hsb_DE (mon): Rename to...
12966 (alt_mon): This.
12967 (mon): Import from CLDR (genitive case).
12968 * localedata/locales/wa_BE (mon): Rename to...
12969 (alt_mon): This.
12970 (mon): Add, fill with the proper genitive forms, but CLDR data
12971 is incomplete; completed according to the comments in this file.
12972 (d_t_fmt): Do not use "di" before the month name, no longer needed.
12973
12974 * localedata/locales/wa_BE (country_name): Reword
12975 "Beljike" -> "Beldjike".
12976
ca121b11
JM
129772018-06-11 Joseph Myers <joseph@codesourcery.com>
12978
12979 [BZ #23272]
12980 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
12981 cases of non-finite arguments.
12982 * math/libm-test-fma.inc (fma_test_data): Add more tests.
12983
2b69fecb
JDA
129842018-06-10 John David Anglin <danglin@gcc.gnu.org>
12985
12986 [BZ #23174]
12987 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
12988
283d9851
AZ
129892018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12990
12991 [BZ #23264]
12992 * include/unistd.h (__execvpex): New prototype.
12993 * posix/Makefile (tests): Add tst-spawn4.
12994 (tests-internal): Add tst-spawn4-compat.
12995 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
12996 * posix/tst-spawn4-compat.c: New file.
12997 * posix/tst-spawn4.c: Likewise.
12998 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
12999 binaries as shell scripts.
13000 * sysdeps/posix/spawni.c (__spawni): Likewise.
13001
67c05796
L
130022018-06-08 H.J. Lu <hongjiu.lu@intel.com>
13003
13004 [BZ #23145]
13005 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
13006 ($(all-built-dso:=.dynsym): New target.
13007 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
13008 ($(objpfx)check-initfini.out): New target.
13009 (generated): Add check-initfini.out.
13010 * scripts/check-initfini.awk: New file.
13011 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
13012 (_fini): Likewise.
13013 * sysdeps/alpha/crti.S (_init): Mark as hidden.
13014 (_fini): Likewise.
13015 * sysdeps/arm/crti.S (_init): Mark as hidden.
13016 (_fini): Likewise.
13017 * sysdeps/hppa/crti.S (_init): Mark as hidden.
13018 (_fini): Likewise.
13019 * sysdeps/i386/crti.S (_init): Mark as hidden.
13020 (_fini): Likewise.
13021 * sysdeps/ia64/crti.S (_init): Mark as hidden.
13022 (_fini): Likewise.
13023 * sysdeps/m68k/crti.S (_init): Mark as hidden.
13024 (_fini): Likewise.
13025 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
13026 (_fini): Likewise.
13027 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
13028 (_fini): Likewise.
13029 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
13030 (_fini): Likewise.
13031 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
13032 (_fini): Likewise.
13033 * sysdeps/nios2/crti.S (_init): Mark as hidden.
13034 (_fini): Likewise.
13035 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
13036 (_fini): Likewise.
13037 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
13038 (_fini): Likewise.
13039 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
13040 (_fini): Likewise.
13041 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
13042 (_fini): Likewise.
13043 * sysdeps/sh/crti.S (_init): Mark as hidden.
13044 (_fini): Likewise.
13045 * sysdeps/sparc/crti.S (_init): Mark as hidden.
13046 (_fini): Likewise.
13047 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
13048 (_fini): Likewise.
13049
1c09524e
TMQMF
130502018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13051
13052 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
13053 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
13054 and TF redirection to KFtype and KF only when the default
13055 long double type is not the IEEE 128-bit floating point type.
13056
0e0577c9
JM
130572018-06-05 Joseph Myers <joseph@codesourcery.com>
13058
0c1c33b2
JM
13059 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
13060 macro.
13061 (HWCAP_USCAT): Likewise.
13062 (HWCAP_ILRCPC): Likewise.
13063 (HWCAP_FLAGM): Likewise.
13064 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
13065 Increase to 28.
13066 (_dl_aarch64_cap_flags): Add new flag names.
13067
bef1cbf4
JM
13068 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
13069 (MAP_FIXED_NOREPLACE): New macro.
13070 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
13071 (MAP_FIXED_NOREPLACE): Likewise.
13072 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
13073 (MAP_FIXED_NOREPLACE): Likewise.
13074 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
13075 (MAP_FIXED_NOREPLACE): Likewise.
13076 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
13077 (MAP_FIXED_NOREPLACE): Likewise.
13078 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
13079 (MAP_FIXED_NOREPLACE): Likewise.
13080 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
13081 (MAP_FIXED_NOREPLACE): Likewise.
13082 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
13083 (MAP_FIXED_NOREPLACE): Likewise.
13084 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
13085 (MAP_FIXED_NOREPLACE): Likewise.
13086 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
13087 (MAP_FIXED_NOREPLACE): Likewise.
13088 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
13089 (MAP_FIXED_NOREPLACE): Likewise.
13090 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
13091 (MAP_FIXED_NOREPLACE): Likewise.
13092 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
13093 (MAP_FIXED_NOREPLACE): Likewise.
13094 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
13095 (MAP_FIXED_NOREPLACE): Likewise.
13096 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
13097 (MAP_FIXED_NOREPLACE): Likewise.
13098
0e0577c9
JM
13099 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13100 version to 4.17.
13101
ab3a0da0
JM
131022018-06-04 Joseph Myers <joseph@codesourcery.com>
13103
13104 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13105 version to 4.17
13106
d2d9dfb6
ST
131072018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13108
13109 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
13110 int.
13111 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
13112
a650b05e
LS
131132018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13114
13115 * benchtests/scripts/compare_string.py: (process_results) Catch
13116 exception in non-existent base_func and catch exception in
13117 non-existent attribute.
13118 (parse_file) Catch exception if input file does not exist.
13119
195abbf4
LS
131202018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13121
13122 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
13123 options to avoid diff calculation and omit header, respectively.
13124 (main): process --no-diff and --no-header
13125
14570163
LS
131262018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13127 H.J. Lu <hongjiu.lu@intel.com>
13128
13129 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13130 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
13131 wcsncmp-sse2.
13132 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13133 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
13134 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
13135 and __wcsncmp_sse2.
13136 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
13137 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
13138 AVX unaligned load is fast and vzeroupper is preferred.
13139 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
13140 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
13141 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
13142 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
13143 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
13144 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
13145 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
13146 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
13147 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
13148 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
13149 is undefined.
13150
e02c026f
FW
131512018-06-01 Florian Weimer <fweimer@redhat.com>
13152
13153 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
13154 configuring with --disable-multi-arch, building with
13155 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
13156 Haswell-era CPU.
13157
d8c19275
FW
131582018-06-01 Florian Weimer <fweimer@redhat.com>
13159
13160 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
13161 results from building with “-march=x86-64 -mtune=generic
13162 -mfpmath=sse” and running on a Haswell-era CPU.
13163
0d2163eb
JM
131642018-06-01 Joseph Myers <joseph@codesourcery.com>
13165
13166 [BZ #18473]
13167 * soft-fp/sqrttf2.c: Remove file.
13168 * soft-fp/sqrtdf2.c: Move to ....
13169 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
13170 <shlib-compat.h>.
13171 (__sqrtdf2): Make conditional on
13172 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
13173 symbol.
13174 * soft-fp/sqrtsf2.c: Move to ....
13175 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
13176 <shlib-compat.h>.
13177 (__sqrtsf2): Make conditional on
13178 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
13179 symbol.
13180 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
13181 (gcc-double-routines): Remove sqrtdf2.
13182 (gcc-quad-routines): Remove sqrttf2.
13183 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
13184 Do not filter out sqrtsf2 and sqrtdf2.
13185 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13186 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
13187
10450210
FW
131882018-06-01 Florian Weimer <fweimer@redhat.com>
13189
13190 * sysdeps/generic/libcidn.abilist: Remove file.
13191
4e8a6346
FW
131922018-06-01 Florian Weimer <fweimer@redhat.com>
13193
13194 [BZ #23236]
13195 * libio/strfile.h (struct _IO_str_fields): Rename members to
13196 discourage their use and add comment.
13197 (_IO_STR_DYNAMIC): Remove unused macro.
13198 * libio/strops.c (_IO_str_init_static_internal): Do not use
13199 callback pointers. Call malloc and free.
13200 (_IO_str_overflow): Do not use callback pointers. Call malloc
13201 and free.
13202 (enlarge_userbuf): Likewise.
13203 (_IO_str_finish): Call free.
13204 * libio/wstrops.c (_IO_wstr_init_static): Initialize
13205 _allocate_buffer_unused.
13206 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
13207 and free.
13208 (enlarge_userbuf): Likewise.
13209 (_IO_wstr_finish): Call free.
13210 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
13211 _allocate_buffer_unused, _free_buffer_unused.
13212 * libio/memstream.c (__open_memstream): Likewise.
13213 * libio/vasprintf.c (_IO_vasprintf): Likewise.
13214 * libio/wmemstream.c (open_wmemstream): Likewise.
13215
50d004c9
PP
132162018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
13217
13218 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
13219 AMD Ryzen 7 1800X.
13220
2c93fce7
RS
132212018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13222
13223 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
13224 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
13225 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
13226 New file.
13227 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
13228 Likewise.
13229 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
13230
0ce2fa69
FW
132312018-05-29 Florian Weimer <fweimer@redhat.com>
13232
13233 * support/Makefile (libsupport-routines): Add
13234 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
13235 xpthread_barrierattr_setpshared.
13236 * support/xpthread_barrierattr_destroy.c: New file.
13237 * support/xpthread_barrierattr_init.c: Likewise.
13238 * support/xpthread_barrierattr_setpshared.c: Likewise.
13239
7f7b5d8d
L
132402018-05-29 H.J. Lu <hongjiu.lu@intel.com>
13241
13242 [BZ #23206]
13243 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
13244 _r_debug and update DT_DEBUG for debugger.
13245
e4890300
FW
132462018-05-29 Florian Weimer <fweimer@redhat.com>
13247
13248 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
13249 (tst-strtod5i.out): Likewise.
13250
2c753f3e
JM
132512018-05-25 Joseph Myers <joseph@codesourcery.com>
13252
b5453d9f
JM
13253 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
13254 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
13255 (sparc64-quad-routines): New variable. Moved from ....
13256 [$(subdir) = soft-fp] (sysdep_routines): Add
13257 $(sparc64-quad-routines). Moved from ....
13258 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
13259 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
13260 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
13261 moved from ....
13262 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
13263 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
13264 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
13265 * sysdeps/sparc/sparc64/qp_add.c: ... here.
13266 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
13267 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
13268 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
13269 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
13270 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
13271 * sysdeps/sparc/sparc64/qp_div.c: ... here.
13272 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
13273 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
13274 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
13275 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
13276 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
13277 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
13278 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
13279 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
13280 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
13281 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
13282 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
13283 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
13284 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
13285 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
13286 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
13287 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
13288 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
13289 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
13290 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
13291 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
13292 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
13293 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
13294 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
13295 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
13296 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
13297 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
13298 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
13299 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
13300 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
13301 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
13302 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
13303 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
13304 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
13305 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
13306 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
13307 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
13308 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
13309 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
13310 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
13311 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
13312 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
13313 * sysdeps/sparc/sparc64/qp_util.c: ... here.
13314 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
13315 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
13316 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
13317 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
13318 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
13319 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
13320
2c753f3e
JM
13321 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
13322 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
13323 (sparc32-quad-routines): New variable. Moved from ....
13324 [$(subdir) = soft-fp] (sysdep_routines): Add
13325 $(sparc32-quad-routines). Moved from ....
13326 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
13327 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
13328 moved from ....
13329 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
13330 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
13331 * sysdeps/sparc/sparc32/q_add.c: ... here.
13332 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
13333 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
13334 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
13335 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
13336 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
13337 * sysdeps/sparc/sparc32/q_div.c: ... here.
13338 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
13339 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
13340 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
13341 * sysdeps/sparc/sparc32/q_feq.c: ... here.
13342 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
13343 * sysdeps/sparc/sparc32/q_fge.c: ... here.
13344 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
13345 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
13346 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
13347 * sysdeps/sparc/sparc32/q_fle.c: ... here.
13348 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
13349 * sysdeps/sparc/sparc32/q_flt.c: ... here.
13350 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
13351 * sysdeps/sparc/sparc32/q_fne.c: ... here.
13352 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
13353 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
13354 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
13355 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
13356 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
13357 * sysdeps/sparc/sparc32/q_mul.c: ... here.
13358 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
13359 * sysdeps/sparc/sparc32/q_neg.c: ... here.
13360 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
13361 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
13362 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
13363 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
13364 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
13365 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
13366 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
13367 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
13368 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
13369 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
13370 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
13371 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
13372 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
13373 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
13374 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
13375 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
13376 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
13377 * sysdeps/sparc/sparc32/q_sub.c: ... here.
13378 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
13379 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
13380 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
13381 * sysdeps/sparc/sparc32/q_util.c: ... here.
13382 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
13383 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
13384 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
13385 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
13386
c1dc1e1b
TMQMF
133872018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13388 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13389
13390 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
13391 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
13392 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
13393 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
13394
14186e8d
JM
133952018-05-24 Joseph Myers <joseph@codesourcery.com>
13396
13397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
13398 powerpc/soft-fp.
13399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13400 Likewise.
13401 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
13402 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
13403
fb0e10b8
GG
134042018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13405
13406 [BZ #23171]
13407 * math/math.h [C++] (iseqsig): Fix parameter type for the long
13408 double version.
13409
1dfeb17e
JM
134102018-05-23 Joseph Myers <joseph@codesourcery.com>
13411
13412 * sysdeps/sh/Implies: Remove sh/soft-fp.
13413 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
13414 * sysdeps/sh/sfp-machine.h: ... here.
13415
727b38df
L
134162018-05-23 H.J. Lu <hongjiu.lu@intel.com>
13417
13418 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13419 (__mempcpy_erms): Skip zero length.
13420 (__memmove_erms): Likewise.
13421 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13422 (__memset_erms): Likewise.
13423
2834fb46
JM
134242018-05-23 Joseph Myers <joseph@codesourcery.com>
13425
13426 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
13427 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
13428 Add functions moved from ....
13429 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
13430 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
13431 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
13432 from ....
13433 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
13434 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
13435 * sysdeps/alpha/e_sqrtl.c: ... here.
13436 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
13437 * sysdeps/alpha/local-soft-fp.h: ... here.
13438 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
13439 * sysdeps/alpha/ots_add.c: ... here.
13440 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
13441 * sysdeps/alpha/ots_cmp.c: ... here.
13442 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
13443 * sysdeps/alpha/ots_cmpe.c: ... here.
13444 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
13445 * sysdeps/alpha/ots_cvtqux.c: ... here.
13446 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
13447 * sysdeps/alpha/ots_cvtqx.c: ... here.
13448 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
13449 * sysdeps/alpha/ots_cvttx.c: ... here.
13450 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
13451 * sysdeps/alpha/ots_cvtxq.c: ... here.
13452 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
13453 * sysdeps/alpha/ots_cvtxt.c: ... here.
13454 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
13455 * sysdeps/alpha/ots_div.c: ... here.
13456 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
13457 * sysdeps/alpha/ots_mul.c: ... here.
13458 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
13459 * sysdeps/alpha/ots_nintxq.c: ... here.
13460 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
13461 * sysdeps/alpha/ots_sub.c: ... here.
13462 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
13463 * sysdeps/alpha/sfp-machine.h: ... here.
13464
7f9f1ecb
FW
134652018-05-23 Florian Weimer <fweimer@redhat.com>
13466
13467 [BZ #19728]
13468 [BZ #19729]
13469 [BZ #22247]
13470 CVE-2016-6261
13471 CVE-2016-6263
13472 CVE-2017-14062
13473 Switch to extern IDNA implementation (libidn2).
13474 * libidn: Remove subdirectory.
13475 * LICENSES: Do not mention licensing conditions for the removed
13476 libidn code.
13477 * config.h.in (HAVE_LIBIDN): Remove.
13478 * include/dlfcn.h (__libc_dlopen): Update comment.
13479 * include/idna.h: Remove file.
13480 * inet/Makefile (routines): Add idna.
13481 (tests-static, tests-internal): Add tst-idna_name_classify.
13482 (LOCALES): Generate locales for tests.
13483 (tst-idna_name_classify.out): Depend on generated locales.
13484 * inet/idna_name_classify.c: New file.
13485 * inet/tst-idna_name_classify.c: Likewise.
13486 * inet/net-internal.h (__idna_to_dns_encoding)
13487 (__idna_from_dns_encoding): Declare.
13488 * inet/net-internal.h (enum idna_name_classification): Define.
13489 (__idna_name_classify): Declare.
13490 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
13491 __idna_from_dns_encoding.
13492 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
13493 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
13494 name as a fallback in case of encoding errors.
13495 (getnameinfo): Use DEPRECATED_NI_IDN.
13496 * inet/idna.c: New file.
13497 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
13498 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
13499 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
13500 (modules-names): Add tst-no-libidn2.
13501 (extra-test-objs): Add tst-no-libidn2.os.
13502 (LDFLAGS-tst-no-libidn2.so): Set soname.
13503 (LOCALES): Set, and generate locales.
13504 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
13505 (tst-resolv-ai_idn-latin1): Likewise.
13506 (tst-resolv-ai_idn-nolibidn2): Likewise.
13507 (tst-resolv-ai_idn.out): Depend on locales.
13508 (tst-resolv-ai_idn-latin1.out): Depend on locales.
13509 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
13510 tst-no-libidn2.so.
13511 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
13512 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
13513 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
13514 * resolv/tst-resolv-ai_idn.c: New file.
13515 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
13516 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
13517 * resolv/tst-no-libidn2.c: Likewise.
13518 * support/support_format_addrinfo.c (format_ai_flags): Do not
13519 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
13520 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
13521 (gaih_inet): Call __idna_to_dns_encoding and
13522 __idna_from_dns_encoding, and use the original (punycode) name if
13523 __idna_from_dns_encoding fails due to an encoding error.
13524 (getaddrinfo): Use DEPRECATED_AI_IDN.
13525 * sysdeps/unix/inet/Subdirs (libidn): Remove.
13526 * sysdeps/unix/inet/configure: Remove file.
13527 * sysdeps/unix/inet/configure.ac: Likewise.
13528
5f7b841d
FW
135292018-05-23 Florian Weimer <fweimer@redhat.com>
13530
13531 Implement allocate_once.
13532 * include/allocate_once.h: New file.
13533 * misc/allocate_once.c: Likewise.
13534 * misc/tst-allocate_once.c: Likewise.
13535 * misc/Makefile (routines): Add allocate_once.
13536 (tests-internal): Add tst-allocate_once.
13537 (generated): Add tst-allocate_once.mtrace,
13538 tst-allocate_once-mem.out.
13539 (tests-special): Add tst-allocate_once-mem.out.
13540 (tst-allocate_once-ENV): Set MALLOC_TRACE.
13541 (tst-allocate_once-mem.out): Call mtrace.
13542 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
13543
ed983107
L
135442018-05-23 H.J. Lu <hongjiu.lu@intel.com>
13545
13546 [BZ #23196]
13547 * string/test-memcpy.c (do_test1): New function.
13548 (test_main): Call it.
13549
9aaaab7c
AS
135502018-05-23 Andreas Schwab <schwab@suse.de>
13551
13552 [BZ #23196]
13553 CVE-2018-11237
13554 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
13555 (L(preloop_large)): Save initial destination pointer in %r11 and
13556 use it instead of %rax after the loop.
13557 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
13558
5c5c0dd7
JM
135592018-05-22 Joseph Myers <joseph@codesourcery.com>
13560
8f145c77
JM
13561 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
13562 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
13563 -I../soft-fp. Moved from ....
13564 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
13565 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
13566 * sysdeps/aarch64/e_sqrtl.c: ... here.
13567 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
13568 * sysdeps/aarch64/sfp-machine.h: ... here.
13569
3d6302a5
JM
13570 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
13571 -Wmaybe-uninitialized around access to fq[0].
13572 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
13573 Likewise.
13574
5c5c0dd7
JM
13575 [BZ #18471]
13576 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
13577 aliases for non-libc case of versioned symbols.
13578 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
13579 (llseek): Define as compat symbol if
13580 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
13581 with link warning.
13582 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
13583 Make into a compat symbol, disabled for minimum symbol version
13584 GLIBC_2.28 and later.
13585 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
13586
ed0d6988
FW
135872018-05-22 Florian Weimer <fweimer@redhat.com>
13588
13589 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
13590 not add -mpreferred-stack-boundary=4.
13591 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
13592 (stack-align-test-flags): Likewise.
13593 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
13594 Likewise.
13595 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
13596 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
13597 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
13598 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
13599 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
13600 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
13601 (CFLAGS-tst-align2.c): Likewise.
13602
e28e9b1e
L
136032018-05-21 H.J. Lu <hongjiu.lu@intel.com>
13604
13605 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
13606 (index_arch_Prefer_FSRM): Likewise.
13607 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
13608 Also check Prefer_FSRM.
13609 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
13610 Also return OPTIMIZE (erms) for Prefer_FSRM.
13611
1af30adc
L
136122018-05-21 H.J. Lu <hongjiu.lu@intel.com>
13613
13614 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
13615 (index_cpu_FSRM): Likewise.
13616 (reg_FSRM): Likewise.
13617
78274dc8
JM
136182018-05-18 Joseph Myers <joseph@codesourcery.com>
13619
7c67e6e8
JM
13620 * math/gen-tgmath-tests.py: Import sys.
13621 (Tests.__init__): Initialize macros_seen.
13622 (Tests.add_tests): Add macro to macros_seen. Only generate tests
13623 if requested to do so for this macro.
13624 (Tests.add_all_tests): Take argument for macro for which to
13625 generate tests.
13626 (Tests.check_macro_list): New function.
13627 (main): Handle check-list argument and argument specifying macro
13628 for which to generate tests.
13629 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
13630 [PYTHON] (tgmath3-macro-tests): Likewise.
13631 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
13632 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
13633 not test-tgmath3.c.
13634 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
13635 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
13636 to CFLAGS.
13637 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
13638 [PYTHON] ($(foreach
13639 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
13640 rule.
13641 [PYTHON] (tests-special): Add
13642 $(objpfx)test-tgmath3-macro-list.out.
13643 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
13644
ebc129fd
JM
13645 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
13646 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
13647 later.
13648
78274dc8
JM
13649 [BZ #22639]
13650 * time/tzset.c (SECSPERDAY): Cast to time_t.
13651 * time/tst-y2039.c: New file.
13652 * time/Makefile (tests): Add tst-y2039.
13653
6f7fdeeb
LS
136542018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13655
13656 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13657 (PREFETCH_ONE_SET): Remove duplicate line.
13658
e363a91c
FW
136592018-05-17 Florian Weimer <fweimer@redhat.com>
13660
13661 * sysdeps/generic/math-type-macros-double.h: Include
13662 <math-nan-payload-double.h> after <libm-alias-double.h>.
13663 * sysdeps/generic/math-type-macros-float.h: Include
13664 <math-nan-payload-float.h> after <libm-alias-float.h>.
13665 * sysdeps/generic/math-type-macros-float128.h: Include
13666 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
13667 * sysdeps/generic/math-type-macros-ldouble.h: Include
13668 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
13669
dae6c43c
AS
136702018-05-17 Andreas Schwab <schwab@suse.de>
13671
13672 * resolv/res_send.c (__res_context_send): Don't set errno when
13673 returing error after malloc failure.
13674
0068c085
L
136752018-05-17 H.J. Lu <hongjiu.lu@intel.com>
13676
13677 * nptl/allocatestack.c (allocate_stack): Remove the
13678 !__ASSUME_PRIVATE_FUTEX paths.
13679 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
13680 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
13681 Likewise.
13682 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
13683 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13684 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13685 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13686 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
13687 !__ASSUME_PRIVATE_FUTEX path.
13688 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
13689 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
13690 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
13691 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
13692 !__ASSUME_PRIVATE_FUTEX macros.
13693 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
13694 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
13695 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
13696 * sysdeps/unix/sysv/linux/kernel-features.h
13697 (__ASSUME_PRIVATE_FUTEX): Removed.
13698
632a6cbe
JM
136992018-05-17 Joseph Myers <joseph@codesourcery.com>
13700
13701 * math/Makefile (libm-narrow-fns): Add div.
13702 (libm-test-funcs-narrow): Likewise.
13703 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
13704 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
13705 * math/gen-auto-libm-tests.c (test_functions): Add div.
13706 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
13707 (NARROW_DIV_ROUND_TO_ODD): Likewise.
13708 (NARROW_DIV_TRIVIAL): Likewise.
13709 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
13710 macro.
13711 (__ddivl): Likewise.
13712 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
13713 ddiv.
13714 (CFLAGS-nldbl-ddiv.c): New variable.
13715 (CFLAGS-nldbl-fdiv.c): Likewise.
13716 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13717 __nldbl_ddivl.
13718 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
13719 prototype.
13720 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
13721 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
13722 * math/auto-libm-test-in: Add tests of div.
13723 * math/auto-libm-test-out-narrow-div: New generated file.
13724 * math/libm-test-narrow-div.inc: New file.
13725 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
13726 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
13727 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
13728 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
13729 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
13730 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
13731 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
13732 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
13733 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
13734 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
13735 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
13736 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
13737 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
13738 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
13739 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
13740 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
13741 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
13742 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
13743 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13744 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13745 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13746 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13747 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13748 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13749 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13750 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13751 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13752 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13753 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13754 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13755 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13756 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13761 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13762 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13763 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13764 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13765 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13766 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13767 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13768 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13769
8c78faa9
AZ
137702018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13771
13772 [BZ #23178]
13773 * nscd/nscd-client.h (sendfileall): Remove prototype.
13774 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
13775 (handle_request): Use writeall instead of sendfileall.
13776 * nscd/aicache.c (addhstaiX): Likewise.
13777 * nscd/grpcache.c (cache_addgr): Likewise.
13778 * nscd/hstcache.c (cache_addhst): Likewise.
13779 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13780 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
13781 * nscd/pwdcache.c (cache_addpw): Likewise.
13782 * nscd/servicescache.c (cache_addserv): Likewise.
13783 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
13784 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
13785 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
13786 Remove define.
13787
04958880
L
137882018-05-16 H.J. Lu <hongjiu.lu@intel.com>
13789
13790 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
13791 Include <string/strncat.c>.
13792 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
13793 alias.
13794 (__GI___strncat): New hidden alias.
13795
c9992d13
JM
137962018-05-16 Joseph Myers <joseph@codesourcery.com>
13797
13798 * sysdeps/mips/mips32/libm-test-ulps: Update.
13799 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13800
2afece36
FW
138012018-05-16 Florian Weimer <fweimer@redhat.com>
13802
13803 * support/Makefile (libsupport-routines): Add support_quote_blob,
13804 support_test_compare_blob.
13805 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
13806 * support/check.h (TEST_COMPARE_BLOB): Define.
13807 (support_test_compare_blob): Declare.
13808 * support/support.h (support_quote_blob): Declare.
13809 * support/support_quote_blob.c: New file.
13810 * support/support_test_compare_blob.c: Likewise.
13811 * support/tst-support_quote_blob.c: Likewise.
13812 * support/tst-test_compare_blob.c: Likewise.
13813
9761bf4d
FW
138142018-05-16 Florian Weimer <fweimer@redhat.com>
13815
13816 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
13817 of <strtod_nan_double.h>.
13818 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
13819 instead of SET_MANTISSA.
13820 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
13821 of include <strtod_nan_float.h>.
13822 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
13823 instead of <strtod_nan_ldouble.h>.
13824 * stdlib/strtod_nan_double.h: Move to ...
13825 * sysdeps/generic/math-nan-payload-double.h: ... here.
13826 (FLOAT): Remove definition.
13827 (SET_MANTISSA): Rename to ...
13828 (SET_NAN_PAYLOAD): ... this.
13829 * stdlib/strtod_nan_float.h: Move to ...
13830 * sysdeps/generic/math-nan-payload-float.h: ... here.
13831 (FLOAT): Remove definition.
13832 (SET_MANTISSA): Rename to ...
13833 (SET_NAN_PAYLOAD): ... this.
13834 * sysdeps/generic/math-type-macros-double.h: Include
13835 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
13836 instead of <math-svid-compat.h>.
13837 * sysdeps/generic/math-type-macros-float.h: Include
13838 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
13839 instead of <math-svid-compat.h>.
13840 * sysdeps/generic/math-type-macros-float128.h: Include
13841 <math-nan-payload-float128.h>.
13842 * sysdeps/generic/math-type-macros-ldouble.h: Include
13843 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
13844 instead of <math-svid-compat.h>.
13845 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
13846 check for definition.
13847 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
13848 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
13849 Include <ieee754_float128.h>.
13850 (FLOAT): Remove definition.
13851 (SET_MANTISSA): Rename to ...
13852 (SET_NAN_PAYLOAD): ... this.
13853 * sysdeps/ieee754/float128/strtof128_nan.c: Include
13854 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
13855 Do not include <float128_private.h>.
13856 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
13857 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
13858 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
13859 (FLOAT): Remove definition.
13860 (SET_MANTISSA): Rename to ...
13861 (SET_NAN_PAYLOAD): ... this.
13862 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
13863 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
13864 (FLOAT): Remove definition.
13865 (SET_MANTISSA): Rename to ...
13866 (SET_NAN_PAYLOAD): ... this.
13867 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
13868 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
13869 (FLOAT): Remove definition.
13870 (SET_MANTISSA): Rename to ...
13871 (SET_NAN_PAYLOAD): ... this.
13872 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
13873 of "../stdlib/strtod_nan_double.h".
13874 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
13875 of "../stdlib/strtod_nan_float.h".
13876 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
13877 instead of "../stdlib/strtod_nan_ldouble.h".
13878 * manual/arith.texi (Parsing of Floats): Adjust comment.
13879
69a01461
JM
138802018-05-16 Joseph Myers <joseph@codesourcery.com>
13881
13882 * math/Makefile (libm-narrow-fns): Add mul.
13883 (libm-test-funcs-narrow): Likewise.
13884 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
13885 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
13886 * math/gen-auto-libm-tests.c (test_functions): Add mul.
13887 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
13888 (NARROW_MUL_ROUND_TO_ODD): Likewise.
13889 (NARROW_MUL_TRIVIAL): Likewise.
13890 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
13891 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
13892 macro.
13893 (__dmull): Likewise.
13894 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
13895 dmul.
13896 (CFLAGS-nldbl-dmul.c): New variable.
13897 (CFLAGS-nldbl-fmul.c): Likewise.
13898 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13899 __nldbl_dmull.
13900 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
13901 prototype.
13902 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
13903 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
13904 * math/auto-libm-test-in: Add tests of mul.
13905 * math/auto-libm-test-out-narrow-mul: New generated file.
13906 * math/libm-test-narrow-mul.inc: New file.
13907 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
13908 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
13909 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
13910 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
13911 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
13912 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
13913 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
13914 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
13915 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
13916 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
13917 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
13918 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
13919 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
13920 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
13921 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
13922 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
13923 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
13924 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
13925 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13926 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13927 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13928 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13929 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13930 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13931 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13932 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13933 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13934 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13935 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13936 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13937 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13938 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13943 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13944 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13945 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13946 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13947 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13948 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13949 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13950 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13951
a15529fd
L
139522018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13953
13954 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
13955 with *%eax in call.
13956
98ee36c7
L
139572018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13958
13959 * sysdeps/i386/ldsodefs.h: Removed.
13960 * sysdeps/x86_64/ldsodefs.h: Moved to ...
13961 * sysdeps/x86/ldsodefs.h: This.
13962 (La_i86_regs): New.
13963 (La_i86_retval): Likewise.
13964 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
13965 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
13966
e322ec32
L
139672018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13968
13969 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
13970 unnecessary testl.
13971
0937e209
AM
139722018-05-13 Alan Modra <amodra@gmail.com>
13973
13974 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
13975 R_PARISC_TLS_DTPOFF32 reloc addend.
13976
5db7d705
TMQMF
139772018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13978
13979 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
13980 * math/math.h: Restrict the prototype definition for the functions
13981 issignaling(_Float128) and iszero(_Float128); and template
13982 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
13983 __HAVE_FLOAT128_UNLIKE_LDBL.
13984 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
13985 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
13986 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
13987 __f128() constants; define the type _Float128 as long double;
13988 and reuse long double in __CFLOAT128.
13989
b4d5b8b0
JM
139902018-05-11 Joseph Myers <joseph@codesourcery.com>
13991
13992 * sysdeps/generic/math_private.h: Do not include
13993 <math-barriers.h>.
13994 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
13995 <math_private.h>.
13996 * math/fromfp.h: Include <math-barriers.h>.
13997 * math/math-narrow.h: Likewise.
13998 * math/s_nextafter.c: Likewise.
13999 * math/s_nexttowardf.c: Likewise.
14000 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
14001 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
14002 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
14003 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
14004 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14005 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14006 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14007 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14008 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14009 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14010 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14011 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14012 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14013 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14014 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
14015 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
14016 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14017 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14018 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
14019 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14020 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14021 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14022 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14023 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14024 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14025 * sysdeps/ieee754/k_standardl.c: Likewise.
14026 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14027 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14028 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14029 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
14030 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14031 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14032 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14033 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14034 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14035 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
14036 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14037 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14038 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14039 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
14040 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14041 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14042 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
14043 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
14044 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14045 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14046 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
14047 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
14048
fc79706a
FW
140492018-05-11 Florian Weimer <fweimer@redhat.com>
14050
14051 Use 64-bit epoch values in the time zone file parser.
14052 * include/time.h (internal_time_t): Define.
14053 (__tzfile_compute): Use it.
14054 * time/tzfile.c (struct leap): Use internal_time_t for epoch
14055 member.
14056 (transitions): Switch to internal_time_t.
14057 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
14058 types.
14059 (__tzfile_compute): Use internal_time_t for timer argument. Check
14060 for truncation before calling __offtime.
14061
89aacb51
FW
140622018-05-11 Florian Weimer <fweimer@redhat.com>
14063
14064 [BZ #23166]
14065 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
14066 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
14067 Likewise.
14068 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
14069 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
14070 export without --enable-obsolete-rpc.
14071 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
14072 symbol. This should not have been exported, ever.
14073
bb066cb8
RL
140742018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
14075
14076 [BZ #23152]
14077 * localedata/locales/gd_GB (abmon): Fix typo in May:
14078 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
14079
70c97f84
SP
140802018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
14081
db725a45
SP
14082 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
14083 Use multiple registers to copy data in loop tail.
14084
70c97f84
SP
14085 * sysdeps/aarch64/multiarch/memmove_falkor.S
14086 (__memmove_falkor): Use multiple registers to move data in
14087 loop tail.
14088
8f5b00d3
JM
140892018-05-10 Joseph Myers <joseph@codesourcery.com>
14090
14091 * math/math-underflow.h: New file.
14092 * sysdeps/generic/math_private.h: Do not include <float.h>.
14093 (fabs_tg): Remove macro. Moved to math-underflow.h.
14094 (min_of_type_f): Likewise.
14095 (min_of_type_): Likewise.
14096 (min_of_type_l): Likewise.
14097 (min_of_type_f128): Likewise.
14098 (min_of_type): Likewise.
14099 (math_check_force_underflow): Likewise.
14100 (math_check_force_underflow_nonneg): Likewise.
14101 (math_check_force_underflow_complex): Likewise.
14102 * math/e_exp2_template.c: Include <math-underflow.h>.
14103 * math/k_casinh_template.c: Likewise.
14104 * math/s_catan_template.c: Likewise.
14105 * math/s_catanh_template.c: Likewise.
14106 * math/s_ccosh_template.c: Likewise.
14107 * math/s_cexp_template.c: Likewise.
14108 * math/s_clog10_template.c: Likewise.
14109 * math/s_clog_template.c: Likewise.
14110 * math/s_csin_template.c: Likewise.
14111 * math/s_csinh_template.c: Likewise.
14112 * math/s_csqrt_template.c: Likewise.
14113 * math/s_ctan_template.c: Likewise.
14114 * math/s_ctanh_template.c: Likewise.
14115 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14116 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14117 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14118 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14119 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14120 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14121 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14122 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14123 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14124 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14125 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14126 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14127 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14128 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14129 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14130 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14131 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14132 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14133 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14134 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14135 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14136 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14137 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14138 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14139 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14140 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14141 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14142 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14143 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14144 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14145 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14146 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14147 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14148 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14149 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14150 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14151 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14152 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14153 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14154 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14155 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14156 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14157 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14158 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14159 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14160 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14161 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14162 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14163 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14164 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14165 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14166 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14167 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14168 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
14169 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14170 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14171 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14172 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14173 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14174 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14175 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14176 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
14177 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14178 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
14179 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14180 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14181 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14182 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14183 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14184 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14185 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14186 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14187 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
14188 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
14189 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14190 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14191 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14192 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14193 * sysdeps/x86/fpu/powl_helper.c: Likewise.
14194 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
14195 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
14196 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
14197 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
14198 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
14199
9ed2e15f
JM
142002018-05-09 Joseph Myers <joseph@codesourcery.com>
14201
14202 * sysdeps/generic/math-barriers.h: New file.
14203 * sysdeps/generic/math_private.h [!math_opt_barrier]
14204 (math_opt_barrier): Move to math-barriers.h.
14205 [!math_opt_barrier] (math_force_eval): Likewise.
14206 * sysdeps/aarch64/fpu/math-barriers.h: New file.
14207 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
14208 math-barriers.h.
14209 (math_force_eval): Likewise.
14210 * sysdeps/alpha/fpu/math-barriers.h: New file.
14211 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
14212 math-barriers.h.
14213 (math_force_eval): Likewise.
14214 * sysdeps/x86/fpu/math-barriers.h: New file.
14215 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
14216 math-barriers.h.
14217 (math_force_eval): Likewise.
14218 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
14219 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
14220 multiple-include guard for rename.
14221 * sysdeps/powerpc/fpu/math-barriers.h: New file.
14222 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
14223 math-barriers.h.
14224 (math_force_eval): Likewise.
14225
5460617d
PP
142262018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
14227
14228 [BZ #22786]
43d4f3d5 14229 CVE-2018-11236
5460617d
PP
14230 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
14231 computation.
14232 * stdlib/Makefile (test-bz22786): New test.
14233 * stdlib/test-bz22786.c: New test.
14234
aaee3cd8
JM
142352018-05-09 Joseph Myers <joseph@codesourcery.com>
14236
14237 * include/math-narrow-eval.h: New file. Contents moved from ....
14238 * sysdeps/generic/math_private.h: ... here.
14239 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
14240 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
14241 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
14242 * stdlib/strtod_l.c: Likewise.
14243 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
14244 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
14245 * sysdeps/i386/fpu/s_fdim.c: Likewise.
14246 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14247 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14248 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14249 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14250 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14251 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14252 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14253 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14254 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
14255 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14256 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
14257 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14258 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14259 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14260 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14261 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14262 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14263 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14264 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14265 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14266 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14267 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
14268 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14269 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14270 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14271 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14272
0555c477
AS
142732018-05-08 Andreas Schwab <schwab@suse.de>
14274
14275 * sysdeps/nptl/internaltypes.h: Fix comment.
14276
50d7d351
L
142772018-05-07 H.J. Lu <hongjiu.lu@intel.com>
14278
14279 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
14280 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
14281 hidden.
14282
543477f7
SP
142832018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
14284
14285 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
14286 of I into loop header.
14287 * benchtests/bench-memmove-walk.c
14288 (test_main): Likewise.
14289
142902018-05-07 Alexandre Oliva <oliva@gnu.org>
ffa81c22
AO
14291
14292 Revert:
14293 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
14294 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
14295
0065aaaa
PP
142962018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14297
14298 [BZ #20419]
14299 * elf/dl-load.c (open_verify): Fix stack overflow.
14300 * elf/Makefile (tst-big-note): New test.
14301 * elf/tst-big-note-lib.S: New.
14302 * elf/tst-big-note.c: New.
14303
b289cd9d
JM
143042018-05-04 Joseph Myers <joseph@codesourcery.com>
14305
14306 * scripts/abilist.awk: Ignore absolute symbols.
14307 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
14308 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
14309 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
14310 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
14311 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
14312 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
14313 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14314 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
14315 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
14316 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
14317 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
14318 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
14319 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
14320 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
14321 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
14322 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
14323 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
14324 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
14325 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14326 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
14327 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
14328 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
14329 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
14330 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
14331 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
14332 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
14333 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
14334 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
14335 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14336 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
14337 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
14338 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14339 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
14340 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
14341 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
14342 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
14343 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
14344 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
14345 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
14346 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
14347 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
14348 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14349 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
14350 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
14351 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14352 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
14353 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
14354 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
14355 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
14356 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
14357 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
14358 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
14359 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
14360 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
14361 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14362 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
14363 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
14364 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14365 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
14366 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
14367 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
14368 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
14369 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
14370 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
14371 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
14372 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
14373 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
14374 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14375 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
14376 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
14377 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14378 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
14379 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
14380 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
14381 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
14382 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
14383 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
14384 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
14385 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
14386 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
14387 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14388 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
14389 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
14390 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14391 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
14392 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
14393 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
14394 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
14395 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
14396 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
14397 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
14398 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
14399 Likewise.
14400 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
14401 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14402 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
14403 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
14404 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14405 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
14406 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
14407 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
14408 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
14409 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
14410 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
14411 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
14412 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
14413 Likewise.
14414 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
14415 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14416 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
14417 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
14418 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14419 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
14420 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
14421 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
14422 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
14423 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
14424 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
14425 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
14426 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
14427 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
14428 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14429 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
14430 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
14431 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14432 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
14433 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
14434 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
14435 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
14436 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
14437 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
14438 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14439 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
14440 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
14441 Likewise.
14442 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
14443 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
14444 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
14445 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
14446 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14447 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
14448 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
14449 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
14450 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
14451 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
14452 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
14453 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
14454 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
14455 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
14456 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
14457 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
14458 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
14459 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
14460 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14461 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
14462 Likewise.
14463 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
14464 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
14465 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
14466 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14467 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
14468 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
14469 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
14470 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
14471 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
14472 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
14473 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14474 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
14475 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
14476 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14477 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
14478 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
14479 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
14480 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
14481 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14482 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
14483 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
14484 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14485 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
14486 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
14487 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
14488 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
14489 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
14490 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
14491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
14492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
14494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
14495 Likewise.
14496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
14497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
14498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
14499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
14500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
14501 Likewise.
14502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
14503 Likewise.
14504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
14505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
14506 Likewise.
14507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
14508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14509 Likewise.
14510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14511 Likewise.
14512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
14513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
14514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
14515 Likewise.
14516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
14517 Likewise.
14518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
14519 Likewise.
14520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
14521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
14524 Likewise.
14525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
14526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
14527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
14528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
14531 Likewise.
14532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
14533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14534 Likewise.
14535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14536 Likewise.
14537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
14538 Likewise.
14539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
14540 Likewise.
14541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
14542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
14543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
14544 Likewise.
14545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
14546 Likewise.
14547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
14548 Likewise.
14549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
14550 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
14551 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
14552 Likewise.
14553 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
14554 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
14555 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
14556 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
14557 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14558 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
14559 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
14560 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
14561 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
14562 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
14563 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
14564 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
14565 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
14566 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
14567 Likewise.
14568 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14569 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
14570 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
14571 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14572 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
14573 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
14574 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
14575 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
14576 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
14577 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
14578 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
14579 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
14580 Likewise.
14581 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14582 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
14583 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
14584 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14585 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
14586 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
14587 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
14588 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
14589 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
14590 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
14591 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
14592 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
14593 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
14594 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14595 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
14596 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
14597 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14598 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
14599 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
14600 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
14601 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
14602 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
14603 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
14604 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
14605 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
14606 Likewise.
14607 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
14608 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14609 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
14610 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
14611 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14612 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
14613 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
14614 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
14615 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
14616 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
14617 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
14618 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
14619 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
14620 Likewise.
14621 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
14622 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14623 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
14624 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
14625 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14626 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
14627 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
14628 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
14629 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
14630 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
14631 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
14632 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
14633 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
14634 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
14635 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14636 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
14637 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
14638 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14639 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
14640 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
14641 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
14642 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
14643 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
14644 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
14645 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
14646 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
14647 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
14648 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
14649 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14650 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
14651 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
14652 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14653 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
14654 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
14655 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
14656 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
14657 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
14658 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
14659
16609018
SL
146602018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
14661
14662 [BZ #23137]
14663 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
14664 Use atomic_load_acquire to load __tid.
14665
556f5c46
L
146662018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14667
14668 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
14669 Restore the pointer into %rdx, after syscall and use %rdx,
14670 instead of %rsi, to restore context.
14671
8b8f32b2
L
146722018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14673
14674 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
14675 Pop the pointer into %rdx after syscall and use %rdx, instead
14676 of %rsi, to restore context.
14677
d6cc1829
L
146782018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14679
14680 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
14681 handlers after setjmp.
14682 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
14683 defined.
14684 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
14685 <libc-pointer-arith.h>.
14686 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
14687 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
14688 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
14689 _JUMP_BUF_SIGSET_BITS_PER_WORD.
14690 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
14691 * sysdeps/x86/__longjmp_cancel.S: New file.
14692 * sysdeps/x86/longjmp.c: Likewise.
14693 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
14694
cf2478d5
AZ
146952018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14696
14697 * NEWS: Add ustat.h deprecation entry.
14698 * bits/ustat.h: Remove file.
14699 * misc/sys/ustat.h: Likewise.
14700 * misc/ustat.h: Likewise.
14701 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
14702 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
14703 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
14704 compatibility mode.
14705 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
14706 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
14707 generic Linux implementation.
14708
dc115e1c
TMQMF
147092018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14710
14711 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
14712 * math/w_expl_compat.c: Likewise.
14713 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
14714
6b5c8607 147152018-04-30 Raymond Nicholson <rain1@airmail.cc>
340d9652
RN
14716
14717 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
14718
c57bf7c1
AZ
147192018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14720
14721 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
14722 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
14723 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
14724 Remove.
14725 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
14726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14727 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14728 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
14729 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
14730 and SYSCALL_LL64.
14731
06135c33
TMQMF
147322018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14733
33927914
TMQMF
14734 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
14735
06135c33
TMQMF
14736 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
14737 * math/w_asin_template.c: Likewise.
14738 * math/w_atanh_template.c: Likewise.
14739
3a33b069
GG
147402018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14741
14742 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
14743 to powerpc/powerpc64/be for big-endian.
14744 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
14745 little-endian.
14746
14747 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
14748 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
14749 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
14750 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
14751 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
14752 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
14753 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
14754 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
14755 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
14756 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
14757 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
14758 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
14759 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
14760 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
14761 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
14762 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
14763 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
14764 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
14765 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
14766 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
14767 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
14768 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
14769 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
14770 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
14771 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
14772 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
14773 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
14774 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
14775 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
14776 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
14777 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
14778 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
14779
14780 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
14781 adjusted to imply powerpc64 and older processors on powerpc64/be.
14782 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
14783 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
14784 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
14785 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
14786 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
14787 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
14788 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
14789 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
14790 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
14791 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
14792 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
14793 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
14794 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
14795 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
14796 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
14797 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
14798 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
14799 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
14800 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
14801 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
14802 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
14803 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
14804 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
14805 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
14806 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
14807 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
14808 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
14809 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
14810 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
14811 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
14812 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
14813
14814 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
14815 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
14816 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
14817 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
14818
14819 * sysdeps/powerpc/powerpc64/be/Implies: New file.
14820 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
14821 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
14822 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
14823
14824 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
14825 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
14826 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
14827 * sysdeps/powerpc/powerpc64le/configure: Likewise.
14828 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
14829 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
14830 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
14831 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
14832 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
14833 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
14834 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
14835
14836 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
14837 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
14838 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
14839 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
14840 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
14841 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
14842 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
14843 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
14844 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
14845 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
14846 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
14847
14848 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
14849 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
14850 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
14851 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
14852 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
14853 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
14854 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
14855 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
14856 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
14857 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
14858 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
14859 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
14860
14861 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
14862 and adjusted to imply olders processors.
14863 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
14864 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
14865 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
14866 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
14867 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
14868 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
14869 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
14870 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
14871 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
14872 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
14873 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
14874
14875 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
14876 powerpc64/le.
14877 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
14878 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
14879
14880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
14881 powerpc64le.
14882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
14883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
14884
14885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
14886 powerpc64/be.
14887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
14888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
14889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
14890
14891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
14892 powerpc64 and adjusted.
14893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
14894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
14895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
14896 Likewise.
14897
a3fb6b6b
JM
148982018-04-27 Joseph Myers <joseph@codesourcery.com>
14899
14900 * sysdeps/tile: Remove.
14901 * sysdeps/unix/sysv/linux/tile: Likewise.
14902 * README (tilegx-*-linux-gnu): Remove from list of supported
14903 configurations.
14904 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
14905 contribution of support for generic Linux kernel syscall
14906 interface.
14907 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
14908 tilegx configurations.
14909 (Config.install_linux_headers): Do not handle tile.
14910 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
14911 in comment.
14912 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
14913 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
14914 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
14915 conditional undefine and redefine.
14916 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
14917 in comment.
14918 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
14919 conditional undefine and redefine.
14920
7a6f7478
AJ
149212018-04-26 Aurelien Jarno <aurelien@aurel32.net>
14922
14923 * signal/tst-sigaction.c: New file to test BZ #23069.
14924 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
14925
81b49e96
TMQMF
149262018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14927
14928 [BZ #22766]
14929 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
14930 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
14931 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
14932 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
14933
7d80f48e
AZ
149342018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14935
14936 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
14937 _DIRENT_MATCHES_DIRENT64 is not defined.
14938 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
14939 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
14940 is defined.
14941 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
14942 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
14943
42a2bf58
JM
149442018-04-25 Joseph Myers <joseph@codesourcery.com>
14945
14946 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
14947 version to GCC 8 branch.
14948
9320ca88
JM
149492018-04-24 Joseph Myers <joseph@codesourcery.com>
14950
5e14bb97
JM
14951 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
14952 (check_no_hidden): Use type of original function when declaring
14953 alias.
14954
9320ca88
JM
14955 * sysdeps/unix/sysv/linux/sys/ptrace.h
14956 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
14957 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
14958 (struct __ptrace_seccomp_metadata): New type.
14959 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
14960 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14961 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
14962 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14963 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
14964 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14965 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
14966 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14967 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
14968 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14969 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
14970 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14971 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
14972 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14973 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
14974 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14975
af7e376b
AZ
149762018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14977
14978 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
14979 defined.
14980 * dirent/versionsort.c (versionsort): Likewise.
14981 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
14982 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
14983 * dirent/versionsort64.c (versionsort64): Likewise.
14984 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
14985 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
14986 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
14987 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
14988 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
14989 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
14990 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
14991 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
14992 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
14993 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
14994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
14995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
14996 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
14997 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
14998
da5e0361
JM
149992018-04-23 Joseph Myers <joseph@codesourcery.com>
15000
15001 * elf/elf.h (NT_PPC_PKEY): New macro.
15002
6b5c8607 150032018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
ea76691a
DSN
15004
15005 [BZ #23094]
15006 * localedata/locales/hr_HR: fix thousands_sep and
15007 mon_thousands_sep
15008
573963e3
JM
150092018-04-20 Joseph Myers <joseph@codesourcery.com>
15010
15011 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
15012 (XTABS): Define to TAB3.
15013
c0123b3b
AZ
150142018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15015
0900a849
AZ
15016 * sysdeps/hppa/fpu/libm-test-ulps: Update.
15017
c0123b3b
AZ
15018 * dirent/scandir-tail-common.c: New file.
15019 * dirent/scandir-tail.c: Use scandir-tail-common.c.
15020 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
15021 * dirent/scandir.c: Use scandir-tail-common.c.
15022 * dirent/scandirat.c: Likewise.
15023 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
15024 * dirent/scandir64.c (scandir64): Always build and alias to scandir
15025 if _DIRENT_MATCHES_DIRENT64 is defined.
15026 * dirent/scandirat64.c (scandirat64): Likewise.
15027 * include/dirent.h (__scandir_tail): Only define iff
15028 _DIRENT_MATCHES_DIRENT64 is not defined.
15029 (__scandir64_tail): Define regardless.
15030 (__scandirat, scandirat64): Remove libc_hidden_proto.
15031 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
15032 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
15033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
15034 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
15035 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15036 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
15037 * sysdeps/unix/sysv/linux/scandir64.c: New file.
15038
458b94f6
JM
150392018-04-20 Joseph Myers <joseph@codesourcery.com>
15040
15041 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
15042 New macro.
15043 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
15044 Increase to 24.
15045 (_dl_aarch64_cap_flags): Add asimdfhm.
15046
9f0437e8
CLT
150472018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
15048
15049 * sysdeps/nios2/libm-test-ulps: Update.
15050
298d0e31
AZ
150512018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15052
50511ca4
AZ
15053 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
15054 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
15055
298d0e31
AZ
15056 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
15057 requirements.
6b5c8607 15058 (_DIRENT_MATCHES_DIRENT64): Undef
298d0e31
AZ
15059 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
15060 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
15061 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
15062 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
15063 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
15064 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
15065 use getdents64 syscalls as base.
15066 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
15067 symbol if required.
15068 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
15069 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
15070 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
15071 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
15072 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
15073 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
15074 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
15075 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
15076 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15077 (__get_clockfreq_via_proc_openprom): Use __getdents64.
15078 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
15079
0085be14
SL
150802018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
15081
15082 * scripts/test_printers_common.py (init_test): Disable lock elision.
15083
da796524
SL
150842018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
15085
15086 * math/test-tgmath.c (count_double, count_float,
15087 count_ldouble, count_cdouble, count_cfloat,
15088 count_cldouble): Use volatile int.
15089
0dd25301
ST
150902018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
15091
15092 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
15093 (conformtest-xfail-conds): Add i386-gnu.
cbc256b1 15094 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
0dd25301
ST
15095 i386-gnu.
15096 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
15097 ipc_perm.cuid, ipc_perm.cgid): Likewise.
15098 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
15099 msqid_ds.msg_lrpid): Likewise.
15100 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
15101 Likewise.
15102 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
15103 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
9d9f8f03
ST
15104 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
15105 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
15106 unsigned int.
15107 (struct statvfs64): Likewise.
f55a4fde
ST
15108 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
15109 Likewise.
77b93390
ST
15110 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
15111 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
15112 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
15113 instead of wait_queue.
15114 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
15115 instead of vm_area_struct.
5cd2931a
ST
15116 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
15117 struct sched_param definition to it.
e60c3f2b
ST
15118 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
15119 * bits/types/struct_sched_param.h: New file.
15120 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
15121 <bits/types/struct_sched_param.h> instead of <sched.h>.
15122 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
5cd2931a
ST
15123 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
15124 generic version but include <bits/pthreadtypes.h> to make struct
15125 sigevent's sigev_notify_attributes field a pthread_attr_t*.
ed370924
ST
15126 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
15127 non-compliant.
a564872d
ST
15128 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
15129 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
15130 [__USE_XOPEN] (OFDEL): New macro.
15131 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
a279b8ed 15132 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
5dbfe13b
ST
15133 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
15134 prototypes.
15135 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
15136 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
81b032c8
ST
15137 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
15138 non-compliant.
15139 * sysdeps/i386/sys/ucontext.h: Likewise.
15140 * sysdeps/m68k/sys/ucontext.h: Likewise.
15141 * sysdeps/mips/sys/ucontext.h: Likewise.
15142 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
f00b62ec
ST
15143 * sysdeps/mach/hurd/i386/Makefile
15144 (test-xfail-POSIX/fcntl.h/conform): Add.
15145 (test-xfail-POSIX/signal.h/conform): Add.
15146 (test-xfail-POSIX/semaphore.h/conform): Add.
15147 (test-xfail-POSIX/regex.h/conform): Add.
15148 (test-xfail-POSIX/aio.h/conform): Add.
15149 (test-xfail-POSIX/mqueue.h/conform): Add.
15150 (test-xfail-POSIX/sys/types.h/conform): Add.
15151 (test-xfail-UNIX98/fcntl.h/conform): Add.
15152 (test-xfail-UNIX98/netdb.h/conform): Add.
15153 (test-xfail-UNIX98/signal.h/conform): Add.
15154 (test-xfail-UNIX98/semaphore.h/conform): Add.
15155 (test-xfail-UNIX98/regex.h/conform): Add.
15156 (test-xfail-UNIX98/aio.h/conform): Add.
15157 (test-xfail-UNIX98/ftw.h/conform): Add.
15158 (test-xfail-UNIX98/mqueue.h/conform): Add.
15159 (test-xfail-UNIX98/netinet/in.h/conform): Add.
15160 (test-xfail-UNIX98/sys/wait.h/conform): Add.
15161 (test-xfail-UNIX98/sys/sem.h/conform): Add.
15162 (test-xfail-UNIX98/sys/uio.h/conform): Add.
15163 (test-xfail-UNIX98/sys/socket.h/conform): Add.
15164 (test-xfail-UNIX98/sys/types.h/conform): Add.
15165 (test-xfail-UNIX98/stdlib.h/conform): Add.
15166 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
15167 (test-xfail-POSIX2008/fcntl.h/conform): Add.
15168 (test-xfail-POSIX2008/netdb.h/conform): Add.
15169 (test-xfail-POSIX2008/signal.h/conform): Add.
15170 (test-xfail-POSIX2008/semaphore.h/conform): Add.
15171 (test-xfail-POSIX2008/regex.h/conform): Add.
15172 (test-xfail-POSIX2008/aio.h/conform): Add.
15173 (test-xfail-POSIX2008/mqueue.h/conform): Add.
15174 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
15175 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
15176 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
15177 (test-xfail-POSIX2008/sys/types.h/conform): Add.
15178 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
15179 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
15180 (test-xfail-XOPEN2K/netdb.h/conform): Add.
15181 (test-xfail-XOPEN2K/signal.h/conform): Add.
15182 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
15183 (test-xfail-XOPEN2K/regex.h/conform): Add.
15184 (test-xfail-XOPEN2K/aio.h/conform): Add.
15185 (test-xfail-XOPEN2K/ftw.h/conform): Add.
15186 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
15187 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
15188 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
15189 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
15190 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
15191 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
15192 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
15193 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
15194 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
15195 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
15196 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
15197 (test-xfail-XOPEN2K8/signal.h/conform): Add.
15198 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
15199 (test-xfail-XOPEN2K8/regex.h/conform): Add.
15200 (test-xfail-XOPEN2K8/aio.h/conform): Add.
15201 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
15202 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
15203 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
15204 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
15205 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
15206 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
15207 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
15208 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
15209 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
15210 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
cbc256b1
ST
15211 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
15212 i386-gnu.
15213 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
15214 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
0dd25301 15215
d6397de3
JM
152162018-04-18 Joseph Myers <joseph@codesourcery.com>
15217
15218 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
15219 --enable-obsolete for powerpc-linux-gnuspe.
15220
8323a902
ST
152212018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15222
3dc0814c 15223 * conform/data/sys/un.h-data: Allow sun_ prefix.
c5896a45 15224 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
d4379e02 15225 prototypes.
c5896a45
ST
15226 * sysdeps/mach/include/mach.h: Likewise.
15227 * sysdeps/mach/include/mach/mig_support.h: Likewise.
15228 * sysdeps/mach/include/mach_error.h: Likewise.
8323a902 15229
743b9c2a
AZ
152302018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15231
15232 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
15233 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
15234 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
15235 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
15236
326e74e7
AS
152372018-04-16 Andreas Schwab <schwab@suse.de>
15238
15239 [BZ #19527]
15240 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
15241
6b5c8607 152422018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
a14d8acd
PM
15243
15244 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
15245 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
15246
a700e7cb
DD
152472018-04-12 DJ Delorie <dj@redhat.com>
15248
15249 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
15250 version to 4.16.
15251
d8abfab7
SL
152522018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
15253
15254 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
15255 (struct kernel_sigaction): Use the same definition on 31bit as is used
15256 on 64bit.
15257
583a27d5
FW
152582018-04-09 Florian Weimer <fweimer@redhat.com>
15259
15260 [BZ #23037]
15261 * resolv/res_send.c (send_dg): Use designated initializers instead
15262 of assignment to zero-initialize other fields of struct mmsghdr.
15263
243f59e5
AZ
152642018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15265
942de61a
AZ
15266 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
15267 __READDIR_ALIAS): Undefine after usage.
15268 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
15269 __READDIR_R_ALIAS): Likewise.
15270 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
15271 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
15272 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
15273 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
15274 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
15275 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
15276 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15277 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15278 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
15279 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
15280 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
15281 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
15282 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15283 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
15284 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
15285 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
15286 * sysdeps/unix/sysv/linux/readdir.c: New file.
15287 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
15288 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
15289 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
15290
243f59e5
AZ
15291 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
15292
690c3475
AS
152932018-04-06 Andreas Schwab <schwab@linux-m68k.org>
15294
15295 * manual/charset.texi (Converting a Character): Fix typo.
15296
6b5c8607 152972018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
b4a5d26d 15298
bbc2062a
AZ
15299 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15300
fa7c6199
AZ
15301 * sysdeps/arm/libm-test-ulps: Update.
15302
b4a5d26d
AZ
15303 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
15304 as base implementation.
15305 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15306 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15307 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15308 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15309 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15310 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
15311 remove unrequired definitions and update comments.
15312 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
15313 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
15314 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
15315 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
15316 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
15317 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
15318 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
15319 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
15320 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
15321 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
15322 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
15323 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15324 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
15325 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
15326 and RESET_SA_RESTORER hooks.
15327
db9e55ff
SL
153282018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
15329
15330 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15331
cf138b0c
FW
153322018-04-05 Florian Weimer <fweimer@redhat.com>
15333
15334 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
15335 integer overflow, memory leak on error, and indeterminate errno
15336 value. Add a null wide character to terminate the result string.
15337 * manual/charset.texi (Converting a Character): Mention embedded
15338 null bytes in the mbrtowc input string. Explain what happens in
15339 the -2 result case. Do not claim that mbrtowc is simple or
15340 obvious to use. Adjust the description of the code example. Use
15341 @code, not @var, for concrete variables.
15342
0f339252
FW
153432018-04-05 Florian Weimer <fweimer@redhat.com>
15344
15345 * manual/examples/mbstouwcs.c: New file.
15346 * manual/charset.texi (Converting a Character): Include it.
15347
e5f9508a
ST
153482018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15349
c120981d
ST
15350 * include/dirent.h (dirfd): Add hidden proto.
15351 * dirent/dirfd.c (dirfd): Add hidden def.
15352 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
15353 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
e5f9508a 15354
b2fd61ca
TMQMF
153552018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15356
15357 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
15358 sin, cos and sincos to 1 ULP.
15359
10a446dd
MR
153602018-04-04 Maciej W. Rozycki <macro@mips.com>
15361
e7feec37
MR
15362 [BZ #19818]
15363 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
15364 symbols.
15365 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
15366 * elf/tst-absolute-sym.c: New file.
15367 * elf/tst-absolute-sym-lib.c: New file.
15368 * elf/tst-absolute-sym-lib.lds: New file.
15369 * elf/Makefile (tests): Add `tst-absolute-sym'.
15370 (modules-names): Add `tst-absolute-sym-lib'.
15371 (LDLIBS-tst-absolute-sym-lib.so): New variable.
15372 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
15373 ($(objpfx)tst-absolute-sym): New dependency.
15374
10a446dd
MR
15375 [BZ #19818]
15376 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
15377 parameter.
15378 (SYMBOL_ADDRESS): New macro.
15379 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
15380 SYMBOL_ADDRESS for symbol address calculation.
15381 * elf/dl-runtime.c (_dl_fixup): Likewise.
15382 (_dl_profile_fixup): Likewise.
15383 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
15384 * elf/rtld.c (dl_main): Likewise.
15385 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
15386 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
15387 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
15388 (elf_machine_rela): Likewise.
15389 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
15390 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
15391 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15392 (elf_machine_rela): Likewise.
15393 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15394 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
15395 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
15396 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
15397 Likewise.
15398 (elf_machine_reloc): Likewise.
15399 (elf_machine_got_rel): Likewise.
15400 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
15401 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
15402 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15403 Likewise.
15404 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15405 Likewise.
15406 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
15407 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15408 Likewise.
15409 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15410 Likewise.
15411 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15412 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15413 Likewise.
15414 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15415 Likewise.
15416 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
15417 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15418
9185f86d
ZW
154192018-04-04 Zack Weinberg <zackw@panix.com>
15420
15421 * sysdeps/generic/internal-signals.h: Include signal.h,
15422 sigsetops.h, and stdbool.h.
15423 (__libc_signal_block_all): Actually block all signals.
15424 (__libc_signal_block_app): Likewise.
15425 (__libc_signal_restore_set): Actually restore the signal mask.
15426
b07367bc
FW
154272018-04-04 Florian Weimer <fweimer@redhat.com>
15428
15429 inet: Actually build and run tst-deadline.
15430 * inet/Makefile (tests-internal): Add tst-deadline and do not
15431 overwrite the variable.
15432 (tests-static-internal): Remove variable.
15433
f2652643
L
154342018-04-03 H.J. Lu <hongjiu.lu@intel.com>
15435
15436 [BZ #22947]
15437 * bits/uio-ext.h (RWF_APPEND): New.
15438 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
15439 * manual/llio.texi: Document RWF_APPEND.
15440 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
15441 (RWF_SUPPORTED): Add RWF_APPEND.
15442
6b5c8607 154432018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
d2dc5467
AZ
15444
15445 [BZ #22391]
15446 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
15447 check for internal nptl signals.
15448 * nptl/sigaction.c (__sigaction): Likewise.
15449 * signal/sigaddset.c (sigaddset): Likewise.
15450 * signal/sigdelset.c (sigdelset): Likewise.
15451 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
15452 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
15453 value.
15454 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
15455 to filter out internal nptl signals.
15456 * signal/tst-sigset.c (do_test): Check ech signal indidually and
15457 also check realtime signals using standard macros.
15458 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
15459 __is_internal_signal, __libc_signal_block_all,
15460 __libc_signal_block_app, __libc_signal_restore_set): New functions.
15461 * sysdeps/nptl/sigfillset.c: Remove file.
15462 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
15463 Change return to bool.
15464 (__clear_internal_signals): Remove SIGTIMER clean since it is
15465 equal to SIGCANEL on Linux.
15466 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
15467 signal set was constructed using standard functions.
15468
511ed56f
ST
154692018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
15470
92846492
ST
15471 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
15472 ifname is too long.
e8ef51b1
ST
15473 * hurd/hurdsig.c (interrupted_reply_port_location): Use
15474 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
ff297b70
ST
15475 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
15476 hidden def.
15477 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
d8440a21
ST
15478 * signal/sigaddset.c: Include <sigsetopts.h>.
15479 * signal/sigdelset.c: Likewise.
511ed56f 15480
e88ecbbf
WD
154812018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15482
15483 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
15484 (__cos): Likewise.
15485 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
15486 logic as sin and cos.
15487
aef3e255
WD
154882018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15489
15490 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
15491 inputs. Return correct sign.
15492 (do_sincos): Remove small input check before do_sin, let do_sin set
15493 the sign.
15494 (__sin): Likewise.
15495 (__cos): Likewise.
15496
72f6e9a3
WD
154972018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15498
15499 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
15500 (do_cos_slow): Likewise.
15501 (do_sin_slow): Likewise.
15502 (reduce_and_compute): Likewise.
15503 (slow): Likewise.
15504 (slow1): Likewise.
15505 (slow2): Likewise.
15506 (sloww): Likewise.
15507 (sloww1): Likewise.
15508 (sloww2): Likewise.
15509 (bslow): Likewise.
15510 (bslow1): Likewise.
15511 (bslow2): Likewise.
15512 (cslow2): Likewise.
15513
64909583
WD
155142018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15515
15516 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
15517 (do_cos): Remove corp parameter and calculations.
15518 (do_sin): Likewise.
15519 (do_sincos): Remove cor variable.
15520 (__sin): Use do_sincos for huge inputs.
15521 (__cos): Likewise.
15522 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
15523 (reduce_and_compute_sincos): Remove unused function.
15524
d9469deb
WD
155252018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15526
15527 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
15528 reduce_sincos, improve accuracy to 136 bits.
15529 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
15530 (__sin): Use improved reduction and simplified do_sincos calculation.
15531 (__cos): Likewise.
15532 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
15533
7a5640f2
WD
155342018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15535
15536 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
15537 (do_sincos_2): Likewise.
15538 (__sin): Remove middle range reduction case.
15539 (__cos): Likewise.
15540 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
15541 reduction case.
15542
19a8b9a3
WD
155432018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15544
15545 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
15546 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
15547 inputs.
15548 (__cos): Likewise.
15549 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
15550
f72aa11d
JM
155512018-04-03 Joseph Myers <joseph@codesourcery.com>
15552
15553 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19a8b9a3 15554 version to 4.16
f72aa11d 15555
8e4754ed
AZ
155562018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15557
15558 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
15559 Remove definitions.
15560 (opendir_oflags): Use O_DIRECTORY regardless.
15561 (__opendir, __opendirat): Remove need_isdir_precheck usage.
15562 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
15563
8e2666ea
ST
155642018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15565
15566 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
15567 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
15568 macros.
15569 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
15570 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
15571 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
15572 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
deed72f6
ST
15573 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
15574 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
8e2666ea 15575
ad2b41bf
ST
15576 * htl/Makefile: Bump licence to LGPL 2.1+.
15577 * htl/alloca_cutoff.c: Likewise.
15578 * htl/cthreads-compat.c: Likewise.
15579 * htl/lockfile.c: Likewise.
15580 * htl/pt-alloc.c: Likewise.
15581 * htl/pt-cancel.c: Likewise.
15582 * htl/pt-cleanup.c: Likewise.
15583 * htl/pt-create.c: Likewise.
15584 * htl/pt-dealloc.c: Likewise.
15585 * htl/pt-detach.c: Likewise.
15586 * htl/pt-exit.c: Likewise.
15587 * htl/pt-getattr.c: Likewise.
15588 * htl/pt-initialize.c: Likewise.
15589 * htl/pt-internal.h: Likewise.
15590 * htl/pt-join.c: Likewise.
15591 * htl/pt-self.c: Likewise.
15592 * htl/pt-setcancelstate.c: Likewise.
15593 * htl/pt-setcanceltype.c: Likewise.
15594 * htl/pt-sigmask.c: Likewise.
15595 * htl/pt-spin-inlines.c: Likewise.
15596 * htl/pt-testcancel.c: Likewise.
15597 * htl/pt-yield.c: Likewise.
15598 * htl/tests/test-1.c: Likewise.
15599 * htl/tests/test-10.c: Likewise.
15600 * htl/tests/test-11.c: Likewise.
15601 * htl/tests/test-12.c: Likewise.
15602 * htl/tests/test-13.c: Likewise.
15603 * htl/tests/test-14.c: Likewise.
15604 * htl/tests/test-15.c: Likewise.
15605 * htl/tests/test-16.c: Likewise.
15606 * htl/tests/test-17.c: Likewise.
15607 * htl/tests/test-2.c: Likewise.
15608 * htl/tests/test-3.c: Likewise.
15609 * htl/tests/test-4.c: Likewise.
15610 * htl/tests/test-5.c: Likewise.
15611 * htl/tests/test-6.c: Likewise.
15612 * htl/tests/test-7.c: Likewise.
15613 * htl/tests/test-8.c: Likewise.
15614 * htl/tests/test-9.c: Likewise.
15615 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
15616 * sysdeps/htl/bits/cancelation.h: Likewise.
15617 * sysdeps/htl/bits/pthread-np.h: Likewise.
15618 * sysdeps/htl/bits/pthread.h: Likewise.
15619 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
15620 * sysdeps/htl/bits/semaphore.h: Likewise.
15621 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
15622 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
15623 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
15624 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
15625 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
15626 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
15627 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
15628 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
15629 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
15630 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
15631 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
15632 * sysdeps/htl/old_pt-atfork.c: Likewise.
15633 * sysdeps/htl/pt-atfork.c: Likewise.
15634 * sysdeps/htl/pt-attr-destroy.c: Likewise.
15635 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
15636 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
15637 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
15638 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
15639 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
15640 * sysdeps/htl/pt-attr-getscope.c: Likewise.
15641 * sysdeps/htl/pt-attr-getstack.c: Likewise.
15642 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
15643 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
15644 * sysdeps/htl/pt-attr-init.c: Likewise.
15645 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
15646 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
15647 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
15648 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
15649 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
15650 * sysdeps/htl/pt-attr-setscope.c: Likewise.
15651 * sysdeps/htl/pt-attr-setstack.c: Likewise.
15652 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
15653 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
15654 * sysdeps/htl/pt-attr.c: Likewise.
15655 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
15656 * sysdeps/htl/pt-barrier-init.c: Likewise.
15657 * sysdeps/htl/pt-barrier-wait.c: Likewise.
15658 * sysdeps/htl/pt-barrier.c: Likewise.
15659 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
15660 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
15661 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
15662 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
15663 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
15664 * sysdeps/htl/pt-cond-destroy.c: Likewise.
15665 * sysdeps/htl/pt-cond-init.c: Likewise.
15666 * sysdeps/htl/pt-cond-signal.c: Likewise.
15667 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
15668 * sysdeps/htl/pt-cond-wait.c: Likewise.
15669 * sysdeps/htl/pt-cond.c: Likewise.
15670 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
15671 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
15672 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
15673 * sysdeps/htl/pt-condattr-init.c: Likewise.
15674 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
15675 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
15676 * sysdeps/htl/pt-destroy-specific.c: Likewise.
15677 * sysdeps/htl/pt-equal.c: Likewise.
15678 * sysdeps/htl/pt-getconcurrency.c: Likewise.
15679 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
15680 * sysdeps/htl/pt-getschedparam.c: Likewise.
15681 * sysdeps/htl/pt-getspecific.c: Likewise.
15682 * sysdeps/htl/pt-init-specific.c: Likewise.
15683 * sysdeps/htl/pt-key-create.c: Likewise.
15684 * sysdeps/htl/pt-key-delete.c: Likewise.
15685 * sysdeps/htl/pt-key.h: Likewise.
15686 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
15687 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
15688 * sysdeps/htl/pt-mutex-init.c: Likewise.
15689 * sysdeps/htl/pt-mutex-lock.c: Likewise.
15690 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
15691 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
15692 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
15693 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
15694 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
15695 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
15696 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
15697 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
15698 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
15699 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
15700 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
15701 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
15702 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
15703 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
15704 * sysdeps/htl/pt-mutexattr.c: Likewise.
15705 * sysdeps/htl/pt-once.c: Likewise.
15706 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
15707 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
15708 * sysdeps/htl/pt-rwlock-init.c: Likewise.
15709 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
15710 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
15711 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
15712 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
15713 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
15714 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
15715 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
15716 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
15717 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
15718 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
15719 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
15720 * sysdeps/htl/pt-setconcurrency.c: Likewise.
15721 * sysdeps/htl/pt-setschedparam.c: Likewise.
15722 * sysdeps/htl/pt-setschedprio.c: Likewise.
15723 * sysdeps/htl/pt-setspecific.c: Likewise.
15724 * sysdeps/htl/pt-spin.c: Likewise.
15725 * sysdeps/htl/pt-startup.c: Likewise.
15726 * sysdeps/htl/pthread.h: Likewise.
15727 * sysdeps/htl/sem-close.c: Likewise.
15728 * sysdeps/htl/sem-destroy.c: Likewise.
15729 * sysdeps/htl/sem-getvalue.c: Likewise.
15730 * sysdeps/htl/sem-init.c: Likewise.
15731 * sysdeps/htl/sem-open.c: Likewise.
15732 * sysdeps/htl/sem-post.c: Likewise.
15733 * sysdeps/htl/sem-timedwait.c: Likewise.
15734 * sysdeps/htl/sem-trywait.c: Likewise.
15735 * sysdeps/htl/sem-unlink.c: Likewise.
15736 * sysdeps/htl/sem-wait.c: Likewise.
15737 * sysdeps/hurd/htl/pt-kill.c: Likewise.
15738 * sysdeps/i386/htl/pt-machdep.h: Likewise.
15739 * sysdeps/mach/htl/pt-block.c: Likewise.
15740 * sysdeps/mach/htl/pt-spin.c: Likewise.
15741 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
15742 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
15743 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
15744 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
15745 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
15746 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
15747 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
15748 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
15749 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
15750 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
15751 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
15752 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
15753 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
15754 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
15755 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
15756 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
15757 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
15758 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
15759 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
15760 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
15761 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
15762 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
15763 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
15764 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
15765 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
15766 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
15767 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
15768 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
15769 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
15770 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
15771 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
15772 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
15773 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
15774 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
15775 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
15776 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
15777 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
15778 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
15779 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
15780 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
15781 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
15782 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
15783 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
15784
fb03b04b
ST
15785 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
15786 * README: Remove the mention of out-of-tree patches needed for
15787 GNU/Hurd.
15788
fa9e1555
ST
15789 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
15790 (UTIME_NOW, UTIME_OMIT): Define macros.
15791
f6fb29d2
ST
15792 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
15793 instead of pthread_detach.
15794 (__cthread_fork): Call __pthread_create instead of pthread_create.
15795 (__cthread_keycreate): Call __pthread_key_create instead of
15796 pthread_key_create.
15797 (__cthread_getspecific): Call __pthread_getspecific instead of
15798 pthread_getspecific.
15799 (__cthread_setspecific): Call __pthread_setspecific instead of
15800 pthread_setspecific.
15801 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
15802 __pthread_mutex_unlock instead of pthread_mutex_lock and
15803 pthread_mutex_unlock.
15804 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
15805 ___pthread_get_cleanup_stack.
15806 (__pthread_get_cleanup_stack): New strong alias.
15807 * htl/pt-create.c: Include <pthreadP.h>.
15808 (entry_point): Call __pthread_exit instead of pthread_exit.
15809 (pthread_create): Rename to __pthread_create.
15810 (pthread_create): New strong alias.
15811 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
15812 (pthread_detach): New strong alias.
15813 (__pthread_detach): Call __pthread_cond_broadcast instead of
15814 pthread_cond_broadcast.
fe9748cc
ST
15815 * htl/pt-exit.c: Include <pthreadP.h>.
15816 (__pthread_exit): Call __pthread_setcancelstate and
15817 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
15818 __pthread_get_cleanup_stack.
f6fb29d2
ST
15819 * htl/pt-testcancel.c: Include <pthreadP.h>.
15820 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
15821 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
15822 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
15823 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
15824 pthread_attr_getstacksize.
15825 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
15826 Rename to __pthread_attr_getstackaddr.
15827 (pthread_attr_getstackaddr): New strong alias.
15828 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
15829 Rename to __pthread_attr_getstacksize.
15830 (pthread_attr_getstacksize): New strong alias.
15831 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
15832 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
15833 (pthread_attr_setstack): New strong alias.
15834 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
15835 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
15836 pthread_attr_getstacksize, pthread_attr_setstacksize and
15837 pthread_attr_setstackaddr.
15838 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
15839 Rename to __pthread_attr_setstackaddr.
15840 (pthread_attr_setstackaddr): New strong alias.
15841 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
15842 Rename to __pthread_attr_setstacksize.
15843 (pthread_attr_setstacksize): New strong alias.
15844 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
15845 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
15846 pthread_exit.
15847 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
15848 (__pthread_key_create): New hidden def.
15849 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
15850 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
15851 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
15852 __pthread_exit, __pthread_key_create, __pthread_getspecific,
15853 __pthread_setspecific, __pthread_setcancelstate,
15854 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
15855 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
15856 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
15857 declarations.
15858 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
15859 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
15860 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
15861 (pthread_attr_setstackaddr): New strong alias.
15862 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
15863 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
15864 (pthread_attr_setstacksize): New strong alias.
15865 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
15866 (call_exit): Call __pthread_exit instead of pthread_exit.
15867 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
15868 (_pthread_mutex_init): New hidden definition.
15869 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
15870 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
15871 instead of pthread_attr_init and pthread_attr_setstack.
15872
dba2bdbe
ST
15873 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
15874 __vm_deallocate instead of vm_allocate and vm_deallocate.
15875 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
15876 setenv.
15877 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
15878 of geteuid.
15879 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
15880 strdup.
15881 * hurd/siginfo.c: Include <libioP.h>.
15882 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
15883 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
15884 munmap.
dba2bdbe
ST
15885 * mach/devstream.c: Include <libioP.h>.
15886 (dealloc_ref): Call __mach_port_deallocate instead of
15887 mach_port_deallocate.
15888 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
15889 Call __mach_port_deallocate instead of mach_port_deallocate.
15890 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
15891 pathconf.
15892 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
15893 munmap.
15894 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
15895 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
15896 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
15897 of munmap.
15898 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
15899 of close.
15900 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
15901 instead of sysconf.
15902 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
15903 __clock_gettime instead of clock_gettime.
15904 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
15905 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
15906 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
15907 * sysdeps/unix/bsd/stty.c (stty): Likewise.
15908 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
15909 tcgetattr.
15910 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
15911 __clock_gettime and __nanosleep instead of clock_gettime and
15912 nanosleep.
7a8f45e3
ST
15913 * hurd/catch-signal.c (hurd_catch_signal): Rename to
15914 __hurd_catch_signal.
15915 (hurd_catch_signal): New strong alias.
15916 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
15917 __hurd_catch_signal instead of hurd_catch_signal.
15918 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
15919 * hurd/hurdexec.c (_hurd_init): Add hidden def.
15920 * hurd/hurdinit.c (_hurd_init): Add hidden def.
15921 * hurd/hurdsig.c: Include <mach/mig_support.h>.
15922 (_hurd_thread_sigstate): Add hidden def.
15923 (_hurd_internal_post_signal): Use __mutex_unlock instead of
15924 mutex_unlock.
15925 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
15926 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
15927 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
15928 __hurd_file_name_path_lookup.
15929 (hurd_file_name_path_lookup): New strong alias.
15930 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
15931 hurd_file_name_path_lookup.
15932 * mach/errstring.c (mach_error_type): Add hidden def.
15933 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
15934 * mach/mutex-init.c (__mutex_init): Add hidden def.
15935 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
15936 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
15937 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
15938 * sysdeps/mach/hurd/getcwd.c
15939 (_hurd_canonicalize_directory_name_internal): Rename to
15940 __hurd_canonicalize_directory_name_internal.
15941 (_hurd_canonicalize_directory_name_internal): New strong alias.
15942 (__canonicalize_directory_name_internal, __getcwd): Call
15943 __hurd_canonicalize_directory_name_internal instead of
15944 _hurd_canonicalize_directory_name_internal.
15945 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
15946 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
15947 hidden defs.
15948 * sysdeps/hurd/include/hurd.h: New file.
15949 * sysdeps/hurd/include/hurd/fd.h: New file.
15950 * sysdeps/hurd/include/hurd/signal.h: New file.
15951 * sysdeps/mach/include/lock-intern.h: New file.
15952 * sysdeps/mach/include/mach.h: New file.
15953 * sysdeps/mach/include/mach/mig_support.h: New file.
15954 * sysdeps/mach/include/mach_error.h: New file.
a758c293
ST
15955 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
15956 prototype.
15957 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
15958 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
15959 _HEADER_H_HIDDEN_DEF macro.
15960 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
15961 _hurd_fd_error_signal): Add hidden prototype.
15962 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
15963 hidden def.
82dbf555
ST
15964 * libio/iolibio.h (_IO_puts): New hidden prototype.
15965 * libio/ioputs.c (_IO_puts): New hidden def.
171488a2
ST
15966 * sysdeps/mach/hurd/localplt.data: New file.
15967
33574c17 159682018-04-02 Agustina Arzille <avarzille@riseup.net>
b39d961c
TS
15969 Amos Jeffries <squid3@treenet.co.nz>
15970 David Michael <fedora.dm0@gmail.com>
15971 Marco Gerards <marco@gnu.org>
15972 Marcus Brinkmann <marcus@gnu.org>
15973 Neal H. Walfield <neal@gnu.org>
15974 Pino Toscano <toscano.pino@tiscali.it>
15975 Richard Braun <rbraun@sceen.net>
15976 Roland McGrath <roland@gnu.org>
15977 Samuel Thibault <samuel.thibault@ens-lyon.org>
15978 Thomas DiModica <ricinwich@yahoo.com>
15979 Thomas Schwinge <tschwinge@gnu.org>
33574c17
ST
15980
15981 * htl: New directory.
15982 * sysdeps/htl: New directory.
15983 * sysdeps/hurd/htl: New directory.
15984 * sysdeps/i386/htl: New directory.
15985 * sysdeps/mach/htl: New directory.
15986 * sysdeps/mach/hurd/htl: New directory.
15987 * sysdeps/mach/hurd/i386/htl: New directory.
15988 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
15989 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
15990 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
15991
03e2aa50
ST
159922018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15993
15994 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
15995 signals in thread created for runing timers.
15996
1aa52ced
FW
159972018-04-01 Florian Weimer <fweimer@redhat.com>
15998
15999 * support/support_format_addrinfo.c (support_format_addrinfo):
16000 Include unknown error number in formatted result.
16001
4d76d3e5
FW
160022018-03-29 Florian Weimer <fweimer@redhat.com>
16003
16004 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
16005 capture SIGBUS.
16006
d39c0a45
AZ
160072018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16008
16009 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
16010 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
16011 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
16012 (__ASSUME_CLONE_BACKWARDS): Define.
16013
cc8a1620
JH
160142018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
16015
57408435 16016 [BZ #23024]
cc8a1620
JH
16017 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
16018 early when linux sentinel value is set.
16019
8bfd94d0
ST
160202018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16021
16022 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
16023
f178e59f
AS
160242018-03-27 Andreas Schwab <schwab@suse.de>
16025
16026 [BZ #23005]
16027 * resolv/res_send.c (__res_context_send): Return ENOMEM if
16028 allocation of private copy of nsaddr_list fails.
16029
5f45f96a
JM
160302018-03-26 Joseph Myers <joseph@codesourcery.com>
16031
16032 [BZ #16552]
16033 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
16034 * sysdeps/unix/sysv/linux/umount.c: ... here.
16035 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
16036 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
16037 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
16038 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
16039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
16040 * sysdeps/unix/sysv/linux/umount.S: Likewise.
16041 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
16042
3dfd23eb
AS
160432018-03-26 Andreas Schwab <schwab@suse.de>
16044
16045 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
16046 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
16047 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
16048 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
16049 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
16050 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
16051 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
16052 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
16053 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
16054 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
16055 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
16056 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
16057 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
16058 (R_RISCV_NUM): Define.
16059
fa97d2ab
ST
160602018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
16061
16062 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
16063 TLS declaration of errno.
37be82a0
ST
16064 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
16065 __libc_setup_tls.
16066 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
16067 (ARCH_SETUP_TLS): Likewise.
16068 * sysdeps/mach/hurd/libc-start.h: New file copied from
16069 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
978a6803
ST
16070 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
16071 instead of __libc_setup_tls.
37be82a0 16072 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
978a6803
ST
16073 __libc_setup_tls before initializing libpthread and running _hurd_init
16074 which starts the signal thread.
16075 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
16076 Declare function.
2d813d7b 16077 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fa97d2ab 16078
b8114edd
L
160792018-03-24 H.J. Lu <hongjiu.lu@intel.com>
16080
16081 [BZ #22998]
16082 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
16083 after it is defined.
16084
cd66c0e5
AS
160852018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
16086 Max Horn <max@quendi.de>
16087
16088 [BZ #22644]
43d4f3d5 16089 CVE-2017-18269
cd66c0e5
AS
16090 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
16091 branch conditions.
16092 * string/test-memmove.c (do_test2): New testcase.
16093
a4406139
JM
160942018-03-22 Joseph Myers <joseph@codesourcery.com>
16095
16096 * sysdeps/generic/frame.h: Remove file.
16097 * sysdeps/arm/frame.h: Likewise.
16098 * sysdeps/hppa/frame.h: Likewise.
16099 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
16100 macro.
16101 (GET_FRAME): Likewise.
16102 (GET_STACK): Likewise.
16103 (CALL_SIGHANDLER): Likewise.
16104 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
16105 Likewise.
16106 (GET_FRAME): Likewise.
16107 (GET_STACK): Likewise.
16108 (CALL_SIGHANDLER): Likewise.
16109 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
16110 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16111 (GET_FRAME): Likewise.
16112 (GET_STACK): Likewise.
16113 (CALL_SIGHANDLER): Likewise.
16114 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
16115 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16116 (GET_FRAME): Likewise.
16117 (GET_STACK): Likewise.
16118 (ADVANCE_STACK_FRAME): Likewise.
16119 (CALL_SIGHANDLER): Likewise.
16120 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
16121 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16122 (GET_FRAME): Likewise.
16123 (GET_STACK): Likewise.
16124 (CALL_SIGHANDLER): Likewise.
16125 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
16126 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16127 (GET_FRAME): Likewise.
16128 (GET_STACK): Likewise.
16129 (CALL_SIGHANDLER): Likewise.
16130 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
16131 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16132 (GET_FRAME): Likewise.
16133 (GET_STACK): Likewise.
16134 (CALL_SIGHANDLER): Likewise.
16135 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
16136 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16137 (GET_FRAME): Likewise.
16138 (GET_STACK): Likewise.
16139 (CALL_SIGHANDLER): Likewise.
16140 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
16141 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16142 (GET_FRAME): Likewise.
16143 (GET_STACK): Likewise.
16144 (CALL_SIGHANDLER): Likewise.
16145 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
16146 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16147 (GET_FRAME): Likewise.
16148 (GET_STACK): Likewise.
16149 (CALL_SIGHANDLER): Likewise.
16150 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
16151 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16152 (GET_FRAME): Likewise.
16153 (GET_STACK): Likewise.
16154 (CALL_SIGHANDLER): Likewise.
16155 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
16156 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16157 (GET_FRAME): Likewise.
16158 (GET_STACK): Likewise.
16159 (CALL_SIGHANDLER): Likewise.
16160 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
16161 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16162 (GET_FRAME): Likewise.
16163 (GET_STACK): Likewise.
16164 (CALL_SIGHANDLER): Likewise.
16165 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
16166 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16167 (FIRST_FRAME_POINTER): Likewise.
16168 (ADVANCE_STACK_FRAME): Likewise.
16169 (GET_STACK): Likewise.
16170 (GET_FRAME): Likewise.
16171 (CALL_SIGHANDLER): Likewise.
16172 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
16173 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16174 (ADVANCE_STACK_FRAME): Likewise.
16175 (GET_STACK): Likewise.
16176 (GET_FRAME): Likewise.
16177 (CALL_SIGHANDLER): Likewise.
16178 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
16179 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16180 (GET_FRAME): Likewise.
16181 (GET_STACK): Likewise.
16182 (CALL_SIGHANDLER): Likewise.
16183 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
16184 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16185 (GET_FRAME): Likewise.
16186 (GET_STACK): Likewise.
16187 (CALL_SIGHANDLER): Likewise.
16188
ffec7b27
JM
161892018-03-21 Joseph Myers <joseph@codesourcery.com>
16190
16191 * sysdeps/x86_64/backtrace.c: Move to ....
16192 * debug/backtrace.c: ... here.
16193 * sysdeps/aarch64/backtrace.c: Remove file.
16194 * sysdeps/alpha/backtrace.c: Likewise.
16195 * sysdeps/hppa/backtrace.c: Likewise.
16196 * sysdeps/ia64/backtrace.c: Likewise.
16197 * sysdeps/mips/backtrace.c: Likewise.
16198 * sysdeps/nios2/backtrace.c: Likewise.
16199 * sysdeps/riscv/backtrace.c: Likewise.
16200 * sysdeps/sh/backtrace.c: Likewise.
16201 * sysdeps/tile/backtrace.c: Likewise.
16202
8a07b0c4
JM
162032018-03-20 Joseph Myers <joseph@codesourcery.com>
16204
d0c5d731
JM
16205 [BZ #22987]
16206 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
16207 function.
16208 (fdimf): Likewise.
16209 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
16210
8a07b0c4
JM
16211 [BZ #17343]
16212 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
16213 possibly overflowing computations.
16214
ceb54b9b
ST
162152018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
16216
16217 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
16218 values from Linux-specific section now that it is in the GNU section.
16219 * sysdeps/gnu/errlist.c: Regenerate.
16220
8d3f9e85
JM
162212018-03-20 Joseph Myers <joseph@codesourcery.com>
16222
16223 * math/Makefile (libm-narrow-fns): Add sub.
16224 (libm-test-funcs-narrow): Likewise.
16225 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
16226 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
16227 * math/gen-auto-libm-tests.c (test_functions): Add sub.
16228 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
16229 (NARROW_SUB_ROUND_TO_ODD): Likewise.
16230 (NARROW_SUB_TRIVIAL): Likewise.
16231 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
16232 macro.
16233 (__dsubl): Likewise.
16234 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
16235 dsub.
16236 (CFLAGS-nldbl-dsub.c): New variable.
16237 (CFLAGS-nldbl-fsub.c): Likewise.
16238 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16239 __nldbl_dsubl.
16240 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
16241 prototype.
16242 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
16243 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
16244 * math/auto-libm-test-in: Add tests of sub.
16245 * math/auto-libm-test-out-narrow-sub: New generated file.
16246 * math/libm-test-narrow-sub.inc: New file.
16247 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
16248 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
16249 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
16250 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
16251 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
16252 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
16253 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
16254 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
16255 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
16256 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
16257 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
16258 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
16259 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
16260 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
16261 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
16262 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
16263 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
16264 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
16265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16266 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16267 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16268 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16269 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16270 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16271 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16272 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16273 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16274 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16275 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16276 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16277 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16278 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16283 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16284 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16285 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16286 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16287 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16288 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16289 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
16290 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
16291 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16292 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16293
d473f015
JM
162942018-03-19 Joseph Myers <joseph@codesourcery.com>
16295
16296 [BZ #20079]
16297 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
16298
fbce6f72
WD
162992018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
16300
16301 * benchtests/bench-timing.h (attribute_hidden): Undefine.
16302
72e7ffc3
RB
163032018-03-18 Richard Braun <rbraun@sceen.net>
16304
16305 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
16306 thread reference.
16307
542c20a1
AA
163082018-03-18 Agustina Arzille <avarzille@riseup.net>
16309
16310 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
16311 (__libc_cleanup_fct): Define function.
16312 (__libc_cleanup_region_start, __libc_cleanup_region_end,
16313 __libc_cleanup_end): Rewrite implementation using
16314 __attribute__ ((__cleanup__)).
16315 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
fb4cc8a0
AA
16316 * hurd/Makefile (routines): Add hurdlock.
16317 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
16318 interface.
16319 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
16320 * hurd/hurdpid.c: Include <lowlevellock.h>
16321 (_S_msg_proc_newids): Use lll_wait to synchronize.
16322 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
16323 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
16324 * mach/Makefile (lock-headers): Remove machine-lock.h.
16325 * mach/lock-intern.h: Include <lowlevellock.h> instead of
16326 <machine-lock.h>.
16327 (__spin_lock_t): New type.
16328 (__SPIN_LOCK_INITIALIZER): New macro.
16329 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
16330 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
16331 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
16332 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
16333 (__mutex_init): Initialize with lll.
16334 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
16335 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
16336 needing lll.
16337 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16338 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
16339 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
16340 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
16341 (__setpgid): Use lll for synchronization.
16342 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
16343 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
16344 instead of <cthreads.h>.
16345 (_IO_lock_inexpensive): New macro
16346 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
16347 (__libc_lock_self0): New declaration.
16348 (__libc_lock_owner_self): New macro.
16349 (__libc_key_t): Remove type.
16350 (_LIBC_LOCK_INITIALIZER): New macro.
16351 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
16352 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
16353 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
16354 __libc_lock_define_initialized_recursive,
16355 __rtld_lock_define_initialized_recursive,
16356 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
16357 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
16358 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
16359 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
16360 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
16361 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
16362 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
16363 New macros.
16364 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
16365 * hurd/hurdlock.c: New file.
16366 * hurd/hurdlock.h: New file.
16367 * mach/lowlevellock.h: New file
542c20a1 16368
9a37922e
ST
163692018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16370
16371 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
489999cc
ST
16372 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
16373 when opening a symlink with O_NOFOLLOW.
72103e73
ST
16374 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
16375 path when flags contains O_NOFOLLOW.
16376 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
16377 if flags contains O_DIRECTORY and the result is a directory.
aa218929
ST
16378 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
16379 oneself when the pointer given in D is nul (as set by ext2fs).
20bc801b
ST
16380 * sysdeps/mach/hurd/mlockall.c: New file.
16381 * sysdeps/mach/hurd/munlockall.c: New file.
9a37922e 16382
34e6a869
ST
163832018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
16384
16385 * hurd/hurdsig.c: Include <pthread.h>.
16386 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
16387 get the signal thread stack layout.
dc33bef3
ST
16388 * hurd/Makefile (headers): Remove threadvar.h.
16389 (inline-headers): Remove threadvar.h.
16390 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
16391 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
16392 __hurd_threadvar_max, __hurd_errno_location.
16393 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
16394 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
16395 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
16396 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
16397 unless TLS is not initialized yet, in which case we do not need a
16398 critical section yet anyway.
16399 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
16400 <machine-sp.h>.
16401 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
16402 declarations.
16403 (__hurd_threadvar_index): Remove enum.
16404 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
16405 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
16406 inlines.
16407 (__hurd_reply_port0): New variable declaration.
16408 (__hurd_local_reply_port): New macro.
16409 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
16410 (interrupted_reply_port_location): Add thread_t parameter. Use it
16411 with THREAD_TCB to access thread-local variables.
16412 (_hurdsig_abort_rpcs): Pass ss->thread to
16413 interrupted_reply_port_location.
16414 (_hurd_internal_post_signal): Likewise.
16415 (_hurdsig_init): Use presence of cthread_fork instead of
16416 __hurd_threadvar_stack_mask to start signal thread by hand.
16417 Remove signal thread threadvar initialization.
16418 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
16419 * hurd/sigunwind.c: Include <hurd/threadvar.h>
16420 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
16421 of threadvar.
16422 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
16423 __libc_lock_self0.
16424 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
16425 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
16426 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
16427 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
16428 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
16429 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
16430 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
16431 define variables.
16432 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
16433 <hurd/threadvar.h>.
16434 [IS_IN(rtld)] (rtld_errno): New variable.
16435 [IS_IN(rtld)] (__errno_location): New weak function.
16436 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
16437 * sysdeps/mach/hurd/errno.c: Remove file.
16438 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
16439 (__fork): Remove THREADVAR_SPACE macro and its use.
16440 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
16441 variable.
16442 (init): Do not initialize threadvar.
16443 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
16444 symbol.
16445 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
16446 __hurd_local_reply_port instead of threadvar.
16447 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
16448 _hurd_sigstate fields.
16449 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
16450 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
16451 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
16452 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
16453 instead of threadvar.
16454 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
16455 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
16456 (use_threadvar, global_reply_port): Remove variables.
16457 (__hurd_reply_port0): New variable.
16458 (__mig_get_reply_port): Use __hurd_local_reply_port and
16459 __hurd_reply_port0 instead of threadvar.
16460 (__mig_dealloc_reply_port): Likewise.
16461 (__mig_init): Do not initialize threadvar.
16462 * sysdeps/mach/hurd/profil.c: Fix comment.
c2fb08c7
ST
16463 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
16464 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
16465 cthread_keycreate, cthread_getspecific, cthread_setspecific to
16466 __cthread_fork, __cthread_detach, __pthread_getattr_np,
16467 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
16468 __cthread_setspecific.
16469 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
16470 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
16471 __cthread_t instead of cthread_fork, cthread_detach,
16472 pthread_getattr_np, pthread_attr_getstack.
16473 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
16474 __cthread_keycreate.
16475 (cthread_getspecific): Rename to __cthread_getspecific.
16476 (cthread_setspecific): Rename to __cthread_setspecific.
16477 (__libc_getspecific): Use __cthread_getspecific instead of
16478 cthread_getspecific.
16479 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
16480 __cthread_keycreate instead of cthread_keycreate.
16481 (__libc_setspecific): Use __cthread_setspecific instead of
16482 cthread_setspecific.
16483 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
16484 Likewise.
dd28d4ba
ST
16485 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
16486 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
16487 testing whether it is defined.
34e6a869 16488
f8baf2a2
ST
164892018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16490
16491 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
16492 Define macro.
16493 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
16494 * sysdeps/mach/i386/thread_state.h
16495 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
16496 i386_THREAD_STATE.
16497 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
16498 i386_THREAD_STATE.
16499 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
16500
16501 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
16502 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
16503
16504 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
16505 macros.
16506 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
16507 descriptor instead of creating a new one.
16508 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
16509
16510 * mach/setup-thread.c: Include <ldsodefs.h>.
16511 (__mach_setup_thread): Call _dl_allocate_tls, pass
16512 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
16513 MACHINE_THREAD_STATE_FLAVOR, before getting
16514 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
16515 MACHINE_THREAD_STATE_FLAVOR with the result.
16516 * hurd/hurdfault.c (_hurdsig_fault_init): Call
16517 MACHINE_THREAD_STATE_FIX_NEW.
16518 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
16519 too. Add original thread parameter.
16520
34ba96b8
JM
165212018-03-16 Joseph Myers <joseph@codesourcery.com>
16522
5d75b75f
JM
16523 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
16524 Remove inline function.
16525
34ba96b8
JM
16526 * sysdeps/i386/fpu/libm-test-ulps: Update.
16527 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
16528
22679b2c
WD
165292018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
16530
16531 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
16532 commit.
16533
c429a8d8
JM
165342018-03-15 Joseph Myers <joseph@codesourcery.com>
16535
16536 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
16537 (__sincos_code): Remove define and undefine.
16538 [__FAST_MATH__] (__sincos): Remove inline function.
16539 [__FAST_MATH__] (__sincosf): Remove inline function.
16540 [__FAST_MATH__] (__sincosl): Remove inline function.
16541 (__atan2l): Remove inline functions.
16542 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
16543 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
16544 function.
16545 (floor): Remove inline function.
16546 (ceil): Likewise.
16547 [__FAST_MATH__] (__ldexp_code): Remove macro.
16548 [__FAST_MATH__] (ldexp): Remove inline function.
16549 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
16550 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
16551 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
16552 [__USE_ISOC99] (__lrint_code): Remove macro.
16553 [__USE_ISOC99] (__llrint_code): Likewise.
16554 [__USE_ISOC99] (lrintf): Remove inline function.
16555 [__USE_ISOC99] (lrint): Likewise.
16556 [__USE_ISOC99] (lrintl): Likewise.
16557 [__USE_ISOC99] (llrint): Likewise.
16558 [__USE_ISOC99] (llrintf): Likewise.
16559 [__USE_ISOC99] (llrintl): Likewise.
16560
700593fd
WD
165612018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16562
16563 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
16564 (__ieee754_sqrtf): Remove.
16565 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
16566 (__ieee754_sqrtf): Remove.
16567 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
16568 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
16569 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
16570 (__ieee754_sqrtf): Remove.
16571 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
16572 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
16573 (sqrtf): Remove.
16574 (sqrtl): Remove.
16575 (__ieee754_sqrt): Remove.
16576 (__ieee754_sqrtf): Remove.
16577 (__ieee754_sqrtl): Remove.
16578 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
16579 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
16580 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
16581 (__ieee754_sqrtf): Remove.
16582 (__ieee754_sqrtl): Remove.
16583
f67a8147
WD
165842018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16585
16586 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
16587 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
16588 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
16589 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
16590 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
16591 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16592 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16593 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
16594 Likewise.
16595 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
16596 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
16597 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
16598 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
16599 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
16600 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
16601 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
16602 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
16603 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
16604 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
16605 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
16606 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
16607 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
16608 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
16609 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
16610 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16611 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16612 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
16613 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
16614 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
16615 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16616 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16617 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
16618 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
16619 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
16620 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
16621 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16622 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16623 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
16624 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
16625 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
16626 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
16627 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
16628 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
16629 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16630 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16631 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
16632 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
16633 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
16634 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
16635
1294b189
WD
166362018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16637
16638 * include/math.h (sqrt): Declare with asm redirect.
16639 (sqrtf): Likewise.
16640 (sqrtl): Likewise.
16641 (sqrtf128): Likewise.
16642 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
16643 nonlib and libnldbl with -fmath-errno.
16644 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
16645 * math/w_sqrt_template.c: Likewise.
16646 * math/w_sqrtf_compat.c: Likewise.
16647 * math/w_sqrtl_compat.c: Likewise.
16648 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
16649 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
16650 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
16651 complex.h.
16652
f1c8185d
WD
166532018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16654
16655 * benchtests/Makefile: Define _ISOMAC.
16656 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
16657 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
16658 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
16659 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
16660 * benchtests/bench-timing.h: Define attribute_hidden.
16661
b47c3e76
SP
166622018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
16663
16664 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
16665 mov + lsr.
16666
807fee29
RL
166672018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16668
16669 [BZ #22963]
16670 * localedata/locales/cs_CZ (mon): Rename to...
16671 (alt_mon): This.
16672 (mon): Import from CLDR (genitive case).
16673
e7155a28
RL
166742018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16675
16676 [BZ #22937]
16677 * localedata/locales/el_CY (abmon): Rename to...
16678 (ab_alt_mon): This.
16679 (abmon): Import from CLDR (abbreviated genitive case).
16680 * localedata/locales/el_GR (abmon): Rename to...
16681 (ab_alt_mon): This.
16682 (abmon): Import from CLDR (abbreviated genitive case).
16683
71d7b121
RL
166842018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16685
16686 [BZ #22932]
16687 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
16688
a00bffe8
RB
166892018-03-15 Robert Buj <robert.buj@gmail.com>
16690
16691 [BZ #22848]
16692 * localedata/locales/ca_ES (abmon): Rename to...
16693 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
16694 (mon): Rename to...
16695 (alt_mon): This.
16696 (abmon): Import from CLDR (genitive case, month names preceded by
16697 "de" or "d’").
16698 (mon): Likewise.
16699 (abday): Synchronize with CLDR.
16700 (d_t_fmt): Likewise.
16701 (d_fmt): Likewise.
16702 (am_pm): Likewise.
16703
16704 (LC_TIME): Improve indentation.
16705 (LC_TELEPHONE): Likewise.
16706 (LC_NAME): Likewise.
16707 (LC_ADDRESS): Likewise.
16708
f9555d73
JM
167092018-03-14 Joseph Myers <joseph@codesourcery.com>
16710
16711 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
16712 (lrintf): Remove definitions used only with old GCC.
16713 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
16714 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
16715 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
16716 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
16717 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
16718 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
16719 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
16720 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
16721 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
16722 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
16723 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
16724 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
16725 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
16726 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
16727 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
16728 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
16729 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
16730 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
16731 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
16732 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
16733 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
16734 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
16735 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
16736 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
16737 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
16738 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
16739 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
16740 [__FAST_MATH__] (__M_SQRT2): Remove macro.
16741
d46f84de
SP
167422018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
16743
16744 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
16745 instruction to unbreak builds with binutils 2.26 and older.
16746
7108f1f9
SP
167472018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
16748
16749 * sysdeps/aarch64/strncmp.S (count): New macro.
16750 (strncmp): Store misaligned length in SRC1 in COUNT.
16751 (mutual_align): Adjust.
16752 (misaligned8): Load dword at a time when it is safe.
16753
2cc7bad0
ZW
167542018-03-12 Zack Weinberg <zackw@panix.com>
16755
16756 [BZ #1190]
16757 [BZ #19476]
16758 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
16759 if the _IO_EOF_SEEN bit is already set; update commentary.
16760 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
16761 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
16762
16763 * support/support_openpty.c, support/tty.h: New files.
16764 * support/Makefile (libsupport-routines): Add support_openpty.
16765
16766 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
16767 New test cases.
16768 * libio/Makefile (tests): Add tst-fgetc-after-eof.
16769 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
16770
778f1974
DL
167712018-03-12 Dmitry V. Levin <ldv@altlinux.org>
16772
16773 * po/pt_BR.po: Update translations.
16774
6b5c8607 167752018-03-12 David Michael <fedora.dm0@gmail.com>
da6d4404
DM
16776
16777 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
16778 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
16779 get a port to the startup server.
16780
d3da750d
ZW
167812018-03-11 Zack Weinberg <zackw@panix.com>
16782
16783 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
16784 before nldbl-compat.h.
16785
054b72cc
ZW
167862018-03-10 Zack Weinberg <zackw@panix.com>
16787
0d13dfa1
ZW
16788 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
16789 math.h or math_private.h.
16790
16791 * sysdeps/alpha/fpu/s_isnan.c
16792 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
16793 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
16794 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
16795 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
16796 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
16797 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
16798 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
16799 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
16800 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
16801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
16802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
16803 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
16804 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
16805 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
16806 Include math_private.h.
16807
16808 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
16809 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
16810 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
16811 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
16812 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
16813 * sysdeps/powerpc/power7/fpu/s_logb.c:
16814 Include math.h and math_private.h.
16815
054b72cc
ZW
16816 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
16817 uses of $at in .set noat / .set at.
16818
6253bacd
L
168192018-03-10 H.J. Lu <hongjiu.lu@intel.com>
16820
16821 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
16822 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
16823 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
16824 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
16825 Likewise.
16826
229855e5
FW
168272018-03-09 Florian Weimer <fweimer@redhat.com>
16828
16829 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
16830 in comment.
16831
9aa5c222
AJ
168322018-03-09 Aurelien Jarno <aurelien@aurel32.net>
16833
16834 [BZ #22919]
16835 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
16836 Add nop before __startcontext, add explaining comments.
16837
3dc21497
AZ
168382018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16839
e921c89e
AZ
16840 [BZ #22926]
16841 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
16842 empty for __SPE__.
16843 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
16844 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
16845 Do not build hardware transactional code for __SPE__.
16846 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
16847 (__lll_trylock_elision): Likewise.
16848 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
16849 (__lll_unlock_elision): Likewise.
16850
d9f26dab 16851 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
3dc21497
AZ
16852 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
16853 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
16854 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
16855 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
16856 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
16857 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
16858 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
16859 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
16860 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
16861 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
16862 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
16863 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
16864 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
16865 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
16866 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
16867 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
16868 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
16869 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
16870 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
16871 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
16872 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16873 (__ASSUME_CLONE_BACKWARDS): Define.
16874 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
16875 __clone2 if __NR_clone2 is defined.
16876 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16877 (__ASSUME_CLONE_BACKWARDS): Likewise.
16878 * sysdeps/unix/sysv/linux/i386/kernel-features.h
16879 (__ASSUME_CLONE_BACKWARDS): Likewise.
16880 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16881 (__ASSUME_CLONE2): Likewise.
16882 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16883 (__ASSUME_CLONE_BACKWARDS3): Likewise.
16884 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
16885 variants and the define architecture can use.
16886 (__ASSUME_CLONE_DEFAULT): Define as default.
16887 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16888 (__ASSUME_CLONE_BACKWARDS): Likewise.
16889 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16890 (__ASSUME_CLONE_BACKWARDS): Likewise.
16891 * sysdeps/unix/sysv/linux/s390/kernel-features.h
16892 (__ASSUME_CLONE_BACKWARDS2): Likewise.
16893
adc95fb0
SP
168942018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
16895
4e54d918
SP
16896 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
16897
30a81dae
SP
16898 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
16899 time.
16900
adc95fb0
SP
16901 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
16902 (do_test_limit): Likewise.
16903
16904 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
16905 for every implementation.
16906 (do_test): Likewise.
16907
16908 * benchtests/bench-strncmp.c: Convert output to json.
16909
4e9066bc
ST
169102018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16911
16912 * io/futimens.c: Add missing start-of-file descriptive comment.
16913 * io/utime.c: Likewise.
16914 * misc/futimesat.c: Likewise.
16915 * misc/utimes.c: Likewise.
16916 * sysdeps/mach/hurd/futimesat.c: Likewise.
16917 * sysdeps/mach/hurd/utimes.c: Likewise.
16918 * sysdeps/posix/utime.c: Likewise.
16919 * sysdeps/posix/utimes.c: Likewise.
16920 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
16921 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
16922 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
16923 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
16924
ec1300cf
ST
169252018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16926
16927 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
16928 hurd_futimes.
16929 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
16930 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
16931 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
16932 (__futimens): Move implementation to...
16933 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
16934 utime_tvalue_from_tspec): ... new helper functions.
16935 (hurd_futimens): New function.
16936 * sysdeps/mach/hurd/futimesat.c: New file.
16937 * sysdeps/mach/hurd/utimensat.c: New file.
16938
bbe762d1
FC
169392018-03-05 Flávio Cruz <flaviocruz@gmail.com>
16940
16941 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
16942 UTIME_OMIT): New macros.
16943 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
16944 before reverting to converting time spec to time value and calling
16945 __file_utimes.
16946 * sysdeps/mach/hurd/utime-helper.c: New file.
16947 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
16948 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
16949 reverting to utime_tvalue_from_tval and __file_utimes.
16950 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
16951 (__lutimes): Just call hurd_futimens after lookup.
16952 * sysdeps/mach/hurd/utimes.c: Likewise.
16953
a1ede3a4
ST
169542018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16955
16956 * bits/sigaction.h: Add include guard.
16957 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
16958 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
16959 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
16960 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
16961 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
16962 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
16963 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
16964 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
16965 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
16966
6900d2ca
JM
169672018-03-05 Joseph Myers <joseph@codesourcery.com>
16968
16969 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
16970 -Wmaybe-uninitialized for -Os.
16971 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
16972 this disabling.
16973
68448be2
AZ
169742018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16975
5226a81f
AZ
16976 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
16977 __INO_T_MATCHES_INO64_T is defined.
16978 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
16979 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
16980 of definition.
16981 * dirent/alphasort64.c: Likewise.
16982 * dirent/scandir.c: Likewise.
16983 * dirent/scandir64-tail.c: Likewise.
16984 * dirent/scandir64.c: Likewise.
16985 * dirent/scandirat.c: Likewise.
16986 * dirent/scandirat64.c: Likewise.
16987 * dirent/versionsort.c: Likewise.
16988 * dirent/versionsort64.c: Likewise.
16989 * include/dirent.h: Likewise.
16990
fbd01e6c
AZ
16991 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
16992 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
16993 for socketpair endpoint.
16994 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
16995 WRITE_BUFFER_SIZE as buffer size for sending socket.
16996 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
16997 issue on system where send is implemented with sendto syscall.
16998 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
16999 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
17000 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
17001 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
17002
68448be2
AZ
17003 [BZ #21269]
17004 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
17005 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
17006 sa_restorer for vDSO case.
17007 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
17008
eb1ca47e
ST
170092018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
17010
17011 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
e30c291a
ST
17012 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
17013 * hurd/hurd/ioctl.h: Include <mach/port.h>
17014 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
f4bff843
ST
17015 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
17016 <mach/mach_types.h> and <mach/message.h>.
430fd945
ST
17017 (headers): Move mach/param.h to bits/mach/param.h.
17018 * sysdeps/mach/i386/mach/param.h: Move file to ...
17019 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
17020 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
17021 of <mach/param.h>.
3403cb7d
ST
17022 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
17023 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
17024 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
48d34cbc
ST
17025 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
17026 trivial, for C++ conformity.
44c6376c 17027 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
95dfdbd2
ST
17028 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
17029 Process mig output through $(migheadersed).
17030 * hurd/Makefile (migheadersed): Define variable.
a726c87a
ST
17031 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
17032 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
17033 headers.
ba89615d
ST
17034 * hurd/hurd.h: Include <bits/types/sigset_t.h>
17035 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
17036 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
17037 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
17038 <bits/types/sigset_t.h>.
17039 [!defined __USE_GNU]: Do not #error out.
17040 (struct hurd_sigstate): Use _NSIG instead of NSIG.
17041 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
17042 Include <stddef.h> and <bits/types/sigset_t.h>
17043 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
17044 instead of sighandler_t.
974393ea
ST
17045 * stdlib/errno.h (error_t): Move definition to...
17046 * bits/types/error_t.h: ... new header.
17047 * stdlib/Makefile (headers): Add bits/types/error_t.h.
17048 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
17049 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
17050 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
17051 * hurd/hurd.h: Include <bits/types/error_t.h>
17052 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
17053 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
17054 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
17055 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
17056 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
17057 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
8d965cde 17058 * sysdeps/mach/hurd/futimens.c: New file.
eb1ca47e 17059
eaf6753f
AS
170602018-03-03 Andreas Schwab <schwab@linux-m68k.org>
17061
17062 [BZ #22918]
17063 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
17064 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
17065 * nscd/gai.c (__nss_hosts_database): Readd definition.
17066 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
17067 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
17068 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
17069
4dc23804
JM
170702018-03-02 Joseph Myers <joseph@codesourcery.com>
17071
17072 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
17073 (ifunc_one): Likewise.
17074
1c81d55f
DD
170752018-03-01 DJ Delorie <dj@delorie.com>
17076
17077 [BZ #22342]
17078 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
17079 key value.
17080
b717c14f
MR
170812018-03-01 Maciej W. Rozycki <macro@mips.com>
17082
17083 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
17084 `match_pid' parameter.
17085 (td_ta_thr_iter): Update accordingly.
17086
1efe1358
FW
170872018-03-01 Florian Weimer <fweimer@redhat.com>
17088
17089 * nptl/Makefile (install-lib-ldscripts): Remove.
17090 (install): Remove rule.
17091 ($(inst_libdir)/libpthread.so): Likewise.
17092
a527f09c
MF
170932018-03-01 Mike FABIAN <mfabian@redhat.com>
17094
17095 [BZ #22896]
17096 * localedata/locales/an_ES: update month and day names,
17097 improve d_fmt, improve postal_fmt, add country_post,
17098 add country_isbn
17099
35d660b0
MF
171002018-03-01 Mike FABIAN <mfabian@redhat.com>
17101
17102 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
17103 Ukrainian instead of Bulgarian.
17104
1a2f44a8
FW
171052018-03-01 Florian Weimer <fweimer@redhat.com>
17106
17107 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
17108 reference.
17109
bd60ce86
FW
171102018-03-01 Florian Weimer <fweimer@redhat.com>
17111
17112 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
17113 * nptl/Makefile (routines): Add pthread_atfork.
17114 (static-only-routines): Set to pthread_atfork.
17115 (libpthread-routines): Remove pthread_atfork.
17116 (libpthread-static-only-routines): Remove.
17117 (install): Update comment.
17118 (libpthread.so): Do not install libpthread_nonshared.a.
17119 (tests): Do not link with libpthread_nonshared.a.
17120 (generated): Remove libpthread_nonshared.a.
17121 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
17122 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
17123 with libpthread_nonshared.a.
17124
000f290f
JM
171252018-02-28 Joseph Myers <joseph@codesourcery.com>
17126
e2bcf6a8
JM
17127 [BZ #22902]
17128 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
17129 (libc_feholdexcept_setroundf128): New macro.
17130 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
17131
000f290f
JM
17132 [BZ #15105]
17133 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
17134 libc_hidden_def.
17135 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
17136 * include/inttypes.h: New file.
17137
02f2fead
JM
171382018-02-27 Joseph Myers <joseph@codesourcery.com>
17139
17140 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
17141 -Os in two more places.
17142
874c56d7
MF
171432018-02-27 Mike FABIAN <mfabian@redhat.com>
17144
17145 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
17146 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
17147 be sorted correctly at the moment because of a bug.
17148
15973854
MF
171492018-02-27 Mike FABIAN <mfabian@redhat.com>
17150
17151 [BZ #22550] - es_ES locale (and other es_* locales): collation should
17152 treat ñ as a primary different character, sync the collation
17153 for Spanish with CLDR.
17154 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
17155 * localedata/Makefile: Add new test files.
17156 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
17157 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
17158 collation order.
17159 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
17160 * localedata/am_ET.UTF-8.in: New test file.
17161 * localedata/az_AZ.UTF-8.in: Likewise.
17162 * localedata/be_BY.UTF-8.in: Likewise.
17163 * localedata/ber_DZ.UTF-8.in: Likewise.
17164 * localedata/ber_MA.UTF-8.in: Likewise.
17165 * localedata/bg_BG.UTF-8.in: Likewise.
17166 * localedata/br_FR.UTF-8.in: Likewise.
17167 * localedata/cmn_TW.UTF-8.in: Likewise.
17168 * localedata/crh_UA.UTF-8.in: Likewise.
17169 * localedata/csb_PL.UTF-8.in: Likewise.
17170 * localedata/cv_RU.UTF-8.in: Likewise.
17171 * localedata/cy_GB.UTF-8.in: Likewise.
17172 * localedata/dz_BT.UTF-8.in: Likewise.
17173 * localedata/eo.UTF-8.in: Likewise.
17174 * localedata/es_ES.UTF-8.in: Likewise.
17175 * localedata/fa_IR.UTF-8.in: Likewise.
17176 * localedata/fi_FI.UTF-8.in: Likewise.
17177 * localedata/fil_PH.UTF-8.in: Likewise.
17178 * localedata/fur_IT.UTF-8.in: Likewise.
17179 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
17180 * localedata/ha_NG.UTF-8.in: Likewise.
17181 * localedata/ig_NG.UTF-8.in: Likewise.
17182 * localedata/ik_CA.UTF-8.in: Likewise.
17183 * localedata/kk_KZ.UTF-8.in: Likewise.
17184 * localedata/ku_TR.UTF-8.in: Likewise.
17185 * localedata/ky_KG.UTF-8.in: Likewise.
17186 * localedata/ln_CD.UTF-8.in: Likewise.
17187 * localedata/mi_NZ.UTF-8.in: Likewise.
17188 * localedata/ml_IN.UTF-8.in: Likewise.
17189 * localedata/mn_MN.UTF-8.in: Likewise.
17190 * localedata/mr_IN.UTF-8.in: Likewise.
17191 * localedata/mt_MT.UTF-8.in: Likewise.
17192 * localedata/nb_NO.UTF-8.in: Likewise.
17193 * localedata/om_KE.UTF-8.in: Likewise.
17194 * localedata/os_RU.UTF-8.in: Likewise.
17195 * localedata/ps_AF.UTF-8.in: Likewise.
17196 * localedata/ro_RO.UTF-8.in: Likewise.
17197 * localedata/ru_RU.UTF-8.in: Likewise.
17198 * localedata/sc_IT.UTF-8.in: Likewise.
17199 * localedata/se_NO.UTF-8.in: Likewise.
17200 * localedata/sq_AL.UTF-8.in: Likewise.
17201 * localedata/sv_SE.UTF-8.in: Likewise.
17202 * localedata/szl_PL.UTF-8.in: Likewise.
17203 * localedata/tg_TJ.UTF-8.in: Likewise.
17204 * localedata/tk_TM.UTF-8.in: Likewise.
17205 * localedata/tt_RU.UTF-8.in: Likewise.
17206 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
17207 * localedata/ug_CN.UTF-8.in: Likewise.
17208 * localedata/uz_UZ.UTF-8.in: Likewise.
17209 * localedata/vi_VN.UTF-8.in: Likewise.
17210 * localedata/yi_US.UTF-8.in: Likewise.
17211 * localedata/yo_NG.UTF-8.in: Likewise.
17212 * localedata/zh_CN.UTF-8.in: Likewise.
17213 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
17214 file and fix bugs in the collation.
17215 * localedata/locales/az_AZ: Likewise.
17216 * localedata/locales/be_BY: Likewise.
17217 * localedata/locales/ber_DZ: Likewise.
17218 * localedata/locales/ber_MA: Likewise.
17219 * localedata/locales/bg_BG: Likewise.
17220 * localedata/locales/br_FR: Likewise.
17221 * localedata/locales/br_FR@euro: Likewise.
17222 * localedata/locales/ca_ES: Likewise.
17223 * localedata/locales/cns11643_stroke: Likewise.
17224 * localedata/locales/crh_UA: Likewise.
17225 * localedata/locales/cs_CZ: Likewise.
17226 * localedata/locales/csb_PL: Likewise.
17227 * localedata/locales/cv_RU: Likewise.
17228 * localedata/locales/cy_GB: Likewise.
17229 * localedata/locales/da_DK: Likewise.
17230 * localedata/locales/dz_BT: Likewise.
17231 * localedata/locales/en_CA: Likewise.
17232 * localedata/locales/eo: Likewise.
17233 * localedata/locales/es_CU: Likewise.
17234 * localedata/locales/es_EC: Likewise.
17235 * localedata/locales/es_ES: Likewise.
17236 * localedata/locales/es_US: Likewise.
17237 * localedata/locales/et_EE: Likewise.
17238 * localedata/locales/fa_IR: Likewise.
17239 * localedata/locales/fi_FI: Likewise.
17240 * localedata/locales/fil_PH: Likewise.
17241 * localedata/locales/fur_IT: Likewise.
17242 * localedata/locales/gez_ER@abegede: Likewise.
17243 * localedata/locales/ha_NG: Likewise.
17244 * localedata/locales/hr_HR: Likewise.
17245 * localedata/locales/hsb_DE: Likewise.
17246 * localedata/locales/hu_HU: Likewise.
17247 * localedata/locales/ig_NG: Likewise.
17248 * localedata/locales/ik_CA: Likewise.
17249 * localedata/locales/is_IS: Likewise.
17250 * localedata/locales/iso14651_t1_pinyin: Likewise.
17251 * localedata/locales/kk_KZ: Likewise.
17252 * localedata/locales/ku_TR: Likewise.
17253 * localedata/locales/ky_KG: Likewise.
17254 * localedata/locales/ln_CD: Likewise.
17255 * localedata/locales/lt_LT: Likewise.
17256 * localedata/locales/lv_LV: Likewise.
17257 * localedata/locales/mi_NZ: Likewise.
17258 * localedata/locales/ml_IN: Likewise.
17259 * localedata/locales/mn_MN: Likewise.
17260 * localedata/locales/mr_IN: Likewise.
17261 * localedata/locales/mt_MT: Likewise.
17262 * localedata/locales/nb_NO: Likewise.
17263 * localedata/locales/om_KE: Likewise.
17264 * localedata/locales/os_RU: Likewise.
17265 * localedata/locales/pl_PL: Likewise.
17266 * localedata/locales/ps_AF: Likewise.
17267 * localedata/locales/ro_RO: Likewise.
17268 * localedata/locales/ru_RU: Likewise.
17269 * localedata/locales/ru_UA: Likewise.
17270 * localedata/locales/sc_IT: Likewise.
17271 * localedata/locales/se_NO: Likewise.
17272 * localedata/locales/si_LK: Likewise.
17273 * localedata/locales/sq_AL: Likewise.
17274 * localedata/locales/sv_FI: Likewise.
17275 * localedata/locales/sv_FI@euro: Likewise.
17276 * localedata/locales/sv_SE: Likewise.
17277 * localedata/locales/szl_PL: Likewise.
17278 * localedata/locales/tg_TJ: Likewise.
17279 * localedata/locales/ti_ER: Likewise.
17280 * localedata/locales/tk_TM: Likewise.
17281 * localedata/locales/tl_PH: Likewise.
17282 * localedata/locales/tr_TR: Likewise.
17283 * localedata/locales/tt_RU: Likewise.
17284 * localedata/locales/tt_RU@iqtelif: Likewise.
17285 * localedata/locales/ug_CN: Likewise.
17286 * localedata/locales/uk_UA: Likewise.
17287 * localedata/locales/uz_UZ: Likewise.
17288 * localedata/locales/uz_UZ@cyrillic: Likewise.
17289 * localedata/locales/vi_VN: Likewise.
17290 * localedata/locales/yi_US: Likewise.
17291 * localedata/locales/yo_NG: Likewise.
17292
ce6636b0
MF
172932018-02-27 Mike FABIAN <mfabian@redhat.com>
17294
17295 * gen-locales.mk: Make test files which contain @ modifiers in their
17296 name work.
17297 * localedata/gen-locale.sh: Likewise.
17298
ac3a3b4b
MF
172992018-02-27 Mike FABIAN <mfabian@redhat.com>
17300
17301 * posix/tst-fnmatch.input: Fix results for range expressions
17302 for non C locales.
17303 * posix/tst-regexloc.c: Do not use a range expression for
17304 de_DE.ISO-8859-1 locale.
17305
770cbe14
MF
173062018-02-27 Mike FABIAN <mfabian@redhat.com>
17307
17308 * posix/bug-regex5.c: Fix test case because with the new
17309 iso14651_t1_common file, the da_DK locale now has 6 collating elements
17310 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
17311 file.
17312
0fc355d9
MF
173132018-02-27 Mike FABIAN <mfabian@redhat.com>
17314
17315 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
17316 downloaded from ISO, the collation order of @-. and space has changed.
17317 Therefore, this test file needed to be adapted.
17318 * localedata/fr_CA.UTF-8.in: Likewise.
17319 * localedata/fr_FR.UTF-8.in: Likewise.
17320 * localedata/uk_UA.UTF-8.in: Likewise.
17321
43f3893f
MF
173222018-02-27 Mike FABIAN <mfabian@redhat.com>
17323
17324 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
17325 order of ȥ in the new iso14651_t1_common file.
17326 * localedata/pl_PL.UTF-8.in: Likewise.
17327
df74ef78
MF
173282018-02-27 Mike FABIAN <mfabian@redhat.com>
17329
17330 * localedata/locales/iso14651_t1_common: Add sections for various
17331 scripts to the iso14651_t1_common file.
17332
d5adfbad
MF
173332018-02-27 Mike FABIAN <mfabian@redhat.com>
17334
17335 * localedata/locales/iso14651_t1_common: Use the code point of a
17336 character in the fourth collation level instead of IGNORE for all
17337 entries which have IGNORE on all 4 levels.
17338
5f5a9610
MF
173392018-02-27 Mike FABIAN <mfabian@redhat.com>
17340
17341 * localedata/locales/iso14651_t1_common: Add some convenient collation
17342 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
17343 rules similar to those in CLDR.
17344
8a97e900
MF
173452018-02-27 Mike FABIAN <mfabian@redhat.com>
17346
17347 * localedata/locales/iso14651_t1_common: The new version of this
17348 file downloaded from ISO contained several syntax errors which
17349 are fixed by this patch.
17350
bbdd2fba
MF
173512018-02-27 Mike FABIAN <mfabian@redhat.com>
17352
17353 * localedata/locales/iso14651_t1_common: replace all <U.....>
17354 with <U000.....> because glibc understands only 4 digit or 8 digit
17355
1569e551
MF
173562018-02-27 Mike FABIAN <mfabian@redhat.com>
17357
17358 * localedata/locales/iso14651_t1_common: Necessary changes
17359 to make the file downloaded from ISO usable by glibc.
17360
9479b6d5
MF
173612018-02-27 Mike FABIAN <mfabian@redhat.com>
17362
17363 [BZ #14095]
17364 * localedata/locales/iso14651_t1_common: Update file to
17365 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
17366
03b540b3
ST
173672018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17368
17369 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
17370 of <nptl/pthreadP.h>
17371 (thread_attr_compare): Move function to...
eb937a52 17372 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
03b540b3 17373 * sysdeps/nptl/timer_routines.h: ... new header.
7211eba6 17374 * sysdeps/mach/hurd/gai_misc.h: New file.
03b540b3 17375
20602c72
JM
173762018-02-26 Joseph Myers <joseph@codesourcery.com>
17377
f54d8f73
JM
17378 * string/strcoll_l.c: Include <libc-diag.h>.
17379 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
17380 declarations of seq1 and seq2.
17381
20602c72
JM
17382 [BZ #15105]
17383 * stdlib/atoi.c (atoi): Use libc_hidden_def.
17384 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
17385
f5f473a9
DL
173862018-02-26 Dmitry V. Levin <ldv@altlinux.org>
17387
17388 [BZ #22433]
17389 [BZ #22807]
17390 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
17391 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
17392 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
17393 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
17394 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
17395 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
17396
398c6fdd
TMQMF
173972018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17398
17399 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
17400 macros used in __ptrace_request.
17401
f5d1f629
L
174022018-02-23 H.J. Lu <hongjiu.lu@intel.com>
17403
17404 [BZ #22792]
17405 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
17406 to $(CC).
17407 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
17408 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
17409 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
17410 <tcb-offsets.h>.
17411
54412d20
JM
174122018-02-23 Joseph Myers <joseph@codesourcery.com>
17413
17414 [BZ #15105]
17415 * ctype/ctype.c (tolower): Use libc_hidden_def.
17416 (toupper): Likewise.
17417 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
17418 [!_ISOMAC] (toupper): Likewise.
17419
81be4b5e
MF
174202018-02-23 Mike FABIAN <mfabian@redhat.com>
17421
17422 * localedata/Makefile: Remove --quiet argument when
17423 installing locales
17424
9d5cfd8e
MF
174252018-02-23 Mike FABIAN <mfabian@redhat.com>
17426
17427 [BZ #17438]
17428 * localedata/locales/pt_BR (LC_TIME): use / instead of -
17429 in d_fmt.
17430 * localedata/locales/pt_PT (LC_TIME): likewise
17431
6c7269f3
MF
174322018-02-23 Mike FABIAN <mfabian@redhat.com>
17433
17434 [BZ #22646]
17435 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
17436 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
17437 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
17438
92aabad9
AZ
174392018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17440
4cdc25a4
AZ
17441 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17442
27761a10
AZ
17443 * nptl/Makefile (routines): Remove unregister-atfork.
17444 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
17445 (fork_handler_alloc): Remove function.
17446 (fork_handlers, fork_handler_init): New variables.
17447 (__fork_lock): Rename to atfork_lock.
17448 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
17449 to use a dynamic array to add/remove atfork handlers.
17450 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17451 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
17452 Remove declaration.
17453 (fork_handler): Remove next, refcntr, and need_signal member.
17454 (__run_fork_handler_type): New enum.
17455 (__run_fork_handlers): New prototype.
17456 * nptl/register-atfork.c: Remove file.
17457 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
17458
92aabad9
AZ
17459 * sysdeps/nptl/nptl-signals.h: Move to ...
17460 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
17461 comments.
17462 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
17463 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
17464 unnecessary check for SIGTIMER.
17465 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
17466 remove unnecessary removal of SIGTIMER.
17467 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
17468 include-signals.h rename.
17469 * nptl/pthreadP.h: Likewise.
17470 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
17471 __is_internal_signal instead of __nptl_is_internal_signal.
17472
6b5c8607 174732018-02-22 Andrew Waterman <andrew@sifive.com>
fdcc6253 17474
7e04eb29 17475 [BZ # 22884]
fdcc6253
AW
17476 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
17477 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
17478 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
17479 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
17480
8090720a
DD
174812018-02-22 DJ Delorie <dj@delorie.com>
17482
17483 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
17484
6ca24c43
SP
174852018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
17486
17487 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
17488 do_misaligned, not misaligned8.
17489
e9537ddd
SE
174902018-02-22 Steve Ellcey <sellcey@cavium.com>
17491
17492 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
17493 Add memcpy_thunderx2.
17494 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
17495 Increment to 4.
17496 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
17497 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
17498 and IS_THUNDERX2PA checks.
17499 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
17500 Use macro to set name appropriately.
17501 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
17502 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
17503 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
17504 New macro.
17505 (IS_THUNDERX2): New macro.
17506
6e336476
SL
175072018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
17508
17509 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17510
34957904
ZW
175112018-02-21 Zack Weinberg <zackw@panix.com>
17512
30bfee26
ZW
17513 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
17514 Define here, unconditionally.
17515 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
17516 * libio/libioP.h: Remove #if 0 blocks.
17517 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
17518 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
17519 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
17520
17521 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
17522 Assume weak_alias is always defined.
17523
17524 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
17525 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
17526 Remove #if 0 and #ifdef TODO blocks.
17527 Assume text_set_element is always defined.
17528
17529 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
17530 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
17531 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
17532
df6c012b
ZW
17533 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
17534 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
17535 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
17536 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
17537 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
17538 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
17539 Reformat bit flags for _flags field to make occupancy clearer.
17540 Update commentary.
17541 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
17542 Keep definitions consistent with those in libio/libio.h.
17543
17544 * libio/libio.h (_IO_file_flags): Remove macro.
17545 All uses changed to _flags.
17546
177aad3f
ZW
17547 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
17548 (__HAVE_COLUMN, _IO_BE): Don't define.
17549 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
17550 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
17551 * libio/libioP.h (EOF): Don't define.
17552 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
17553 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
17554 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
17555 testing _IO_UNIFIED_JUMPTABLES.
17556
9964a145
ZW
17557 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
17558 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
17559 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
17560 (_IO_size_t): Delete; all uses changed to size_t.
17561 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
17562 (_IO_off_t): Delete; all uses changed to off_t.
17563 (_IO_off64_t): Delete; all uses changed to off64_t.
17564 (_IO_pid_t): Delete; all uses changed to pid_t.
17565 (_IO_uid_t): Delete; all uses changed to uid_t.
17566 (_IO_wint_t): Delete; all uses changed to wint_t.
17567 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
17568 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
17569 (_IO_cookie_io_functions_t): Delete; all uses changed to
17570 cookie_io_functions_t.
17571 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
17572 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
17573 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
17574 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
17575
17576 * libio/iofopncook.c: Remove unnecessary forward declarations.
17577 * libio/iolibio.h: Correct outdated commentary.
17578 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
17579 * stdio-common/fxprintf.c (__fxprintf_nocancel):
17580 Remove unnecessary casts.
17581 * stdio-common/getline.c: Use _IO_getdelim directly.
17582 Don't redefine ssize_t.
17583 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
17584 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
17585 Remove outdated comments.
17586 * stdio-common/vfscanf.c: Don't redefine va_list.
17587
34957904
ZW
17588 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
17589 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
17590 Remove preprocessor conditionals on _LIBC and __USE_GNU,
17591 which are always true, and __cplusplus, which is always false.
17592
30ac923d
JM
175932018-02-21 Joseph Myers <joseph@codesourcery.com>
17594
039c721a
JM
17595 [BZ #15105]
17596 [BZ #19463]
17597 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
17598 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
17599 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
17600 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
17601 libc_hidden_proto.
17602 [!_ISOMAC] (putc_unlocked): Likewise.
17603 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
17604 define inline if [__USE_EXTERN_INLINES].
17605 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
17606 putc_unlocked.
17607
30ac923d
JM
17608 [BZ #15105]
17609 [BZ #19463]
17610 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
17611 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
17612 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
17613 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
17614 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
17615 getc_unlocked.
17616 * time/tzfile.c (__tzfile_read): Likewise.
17617
7ec5f946
MF
176182018-02-21 Mike FABIAN <mfabian@redhat.com>
17619
17620 [BZ #22517]
17621 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
17622
0d217f40
RJ
176232018-02-21 Rical Jasan <ricaljasan@pacific.net>
17624
17625 * io/fcntl.h: Fix a typo in a comment.
17626
862b4502
RJ
176272018-02-21 Rical Jasan <ricaljasan@pacific.net>
17628
17629 [BZ #22862]
17630 * include/features.h: Add _ISOC11_SOURCE to test for whether to
17631 define _DEFAULT_SOURCE.
17632 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
17633
999a6dab
FW
176342018-02-21 Florian Weimer <fweimer@redhat.com>
17635
17636 [BZ #20890]
17637 * elf/cache.c (save_cache): Call fsync on temporary file before
17638 renaming it.
17639 (save_aux_cache): Call fdatasync on temporary file before renaming
17640 it.
17641
52a01100
FW
176422018-02-21 Florian Weimer <fweimer@redhat.com>
17643
17644 [BZ #22787]
17645 * include/caller.h: Remove file.
17646 * elf/dl-caller.c: Likewise.
17647 * elf/Makefile (dl-routines): Remove dl-caller.
17648 (shared-only-routines): Do not add dl-caller.
17649 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
17650 __check_caller.
17651 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
17652 member.
17653 (dl_open_worker): Do not call __check_caller.
17654 (_dl_open): Do not set caller_dl_open member.
17655 * elf/rtld.c (_rtld_global_ro): Do not initialize
17656 _dl_check_caller member.
17657 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
17658 _dl_check_caller member.
17659 (_dl_check_caller): Remove declaration.
17660 * sysdeps/unix/sysv/linux/dl-execstack.c
17661 (_dl_make_stack_executable): Do not call __check_caller.
17662
b5bf62e4
ST
176632018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
17664
17665 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
315304d2 17666 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
b5bf62e4 17667
e8d190b9
RJ
176682018-02-20 Rical Jasan <ricaljasan@pacific.net>
17669
17670 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
17671 description.
17672
6a3962c4
RJ
176732018-02-20 Rical Jasan <ricaljasan@pacific.net>
17674
da81ae64 17675 [BZ #16335]
6a3962c4
RJ
17676 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
17677 of 199606L, 200112L, and 200809L.
17678 (_XOPEN_SOURCE): Document special values of 600 and 700.
17679 (_ISOC11_SOURCE): Document macro.
17680 (_ATFILE_SOURCE): Likewise.
17681 (_FORTIFY_SOURCE): Likewise.
17682
ec481ad8
JM
176832018-02-19 Joseph Myers <joseph@codesourcery.com>
17684
17685 [BZ #15105]
17686 [BZ #19463]
17687 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
17688 and define as weak alias of __ferror_unlocked. Use
17689 libc_hidden_weak.
17690 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
17691 libc_hidden_proto.
17692 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
17693 function if [__USE_EXTERN_INLINES].
17694 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
17695 ferror_unlocked.
17696
7d15ef84
RJ
176972018-02-19 Rical Jasan <ricaljasan@pacific.net>
17698
17699 [BZ #6889]
17700 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
17701
f8d79582
AJ
177022018-02-18 Aurelien Jarno <aurelien@aurel32.net>
17703
17704 [BZ #22818]
17705 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
17706 the GLIBC_2.1 version.
17707
56456a2a
AJ
177082018-02-18 Aurelien Jarno <aurelien@aurel32.net>
17709
17710 [BZ #21508]
17711 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
17712 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
17713 intl/tst-gettext-de.po from po/de.po by removing the
17714 POT-Creation-Date line.
17715 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
17716 ../po/de.po.
17717 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
17718 ../po/de.po.
17719
13768813
ST
177202018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
17721
17722 * mach/Makefile (headers): Add mach/param.h.
17723 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
17724 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
dd1efd8c
ST
17725 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
17726 (__ptsname_r): Move implementation to...
17727 (__ptsname_internal): ... new function. Add filling the STP
17728 structure.
13768813 17729
6aca1b61
JDA
177302018-02-17 John David Anglin <danglin@gcc.gnu.org>
17731
17732 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
17733 idouble to 1 ULP.
17734
16efad51
RJ
177352018-02-16 Rical Jasan <ricaljasan@pacific.net>
17736
17737 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
17738 syntax.
17739
87245073
SL
177402018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
17741
17742 * nptl/Makefile (tst-mutex8-ENV): Delete.
17743 * nptl/tst-mutex8.c (check_type):
17744 Add runtime check if mutex will be elided.
17745
7fc03cf3
JM
177462018-02-15 Joseph Myers <joseph@codesourcery.com>
17747
db9881ec
JM
17748 [BZ #20980]
17749 [BZ #21234]
17750 * manual/install.texi (Configuring and compiling): Describe
17751 passing CC and CFLAGS on configure command line, not as
17752 environment variables. Use @code markup on those variables.
17753 Specify what options go in CC and what go in CFLAGS. Note the
17754 requirement to compile with optimization.
17755 * INSTALL: Regenerated.
17756
3785b31c
JM
17757 [BZ #18124]
17758 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
17759 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
17760 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
17761 __sigprocmask instead of sigprocmask.
17762 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
17763 Likewise.
17764 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
17765 __sigsetjmp and sigprocmask.
17766
055ac2a7
JM
17767 [BZ #15105]
17768 * include/argz.h (argz_next): Use libc_hidden_proto.
17769 (__argz_next): Likewise.
17770 * string-argz-next.c (__argz_next): Use libc_hidden_def.
17771 (argz_next): Use libc_hidden_weak.
17772
e4452a2d
JM
17773 [BZ #15105]
17774 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
17775 libc_hidden_proto.
17776 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
17777 libc_hidden_def.
17778
499b3153
JM
17779 [BZ #15105]
17780 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
17781 libc_hidden_proto.
17782 * libio/iofputs.c (fputs): Use libc_hidden_weak.
17783
7fc03cf3
JM
17784 [BZ #15105]
17785 [BZ #19463]
17786 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
17787 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
17788 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
17789 (__feof_unlocked): New declaration, and inline function if
17790 [__USE_EXTERN_INLINES].
17791 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
17792 instead of feof_unlocked.
17793 * intl/localealias.c [_LIBC] (FEOF): Likewise.
17794 * nss/nsswitch.c (nss_parse_file): Likewise.
17795 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
17796 Likewise.
17797 * time/getdate.c (__getdate_r): Likewise.
17798 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
17799 Define as macro to call __feof_unlocked.
17800
0c8a67a5
WD
178012018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
17802
17803 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
17804
610ee1fc
WD
178052018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
17806
17807 * math/Makefile: Remove mpexp.c and mplog.c
17808 * sysdeps/i386/fpu/mpexp.c: Delete file.
17809 * sysdeps/i386/fpu/mplog.c: Likewise.
17810 * sysdeps/ia64/fpu/mpexp.c: Likewise.
17811 * sysdeps/ia64/fpu/mplog.c: Likewise.
17812 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
17813 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
17814 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
17815 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
17816 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
17817 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
17818 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
17819 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
17820 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
17821 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17822 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
17823 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
17824 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17825 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
17826 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
17827 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17828
8e7196c8
SL
178292018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
17830
17831 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17832
4f55ad0b
AZ
178332018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17834
17835 * sysdeps/sh/libm-test-ulps: Update.
17836
261a851c
TMQMF
178372018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17838
17839 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
17840 idouble to 1 ULP.
17841
e16deca6
ZW
178422018-02-12 Zack Weinberg <zackw@panix.com>
17843
17844 [BZ #19239]
17845 * posix/sys/types.h: Don't include sys/sysmacros.h.
17846 * misc/sys/sysmacros.h: Remove the conditional deprecation
17847 warnings for the macros defined by this header.
17848
de800d83
SN
178492018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17850
17851 * manual/probes.texi: Remove slowexp probes.
17852 * math/Makefile: Remove slowexp.
17853 * sysdeps/generic/math_private.h (__slowexp): Remove.
17854 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
17855 document error bounds.
17856 * sysdeps/i386/fpu/slowexp.c: Remove.
17857 * sysdeps/ia64/fpu/slowexp.c: Remove.
17858 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
17859 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
17860 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
17861 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
17862 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
17863 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
17864 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
17865 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
17866 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
17867 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
17868 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
17869
c3d466cb
WD
178702018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
17871
17872 [BZ #13932]
17873 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
17874 * benchtests/pow-inputs: Update comment for slow path cases.
17875 * manual/probes.texi (slowpow_p10): Delete removed probe.
17876 (slowpow_p10): Likewise.
17877 * math/Makefile: Remove halfulp.c and slowpow.c.
17878 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
17879 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
17880 (__halfulp): Remove.
17881 (__slowpow): Remove.
17882 * sysdeps/i386/fpu/halfulp.c: Delete file.
17883 * sysdeps/i386/fpu/slowpow.c: Likewise.
17884 * sysdeps/ia64/fpu/halfulp.c: Likewise.
17885 * sysdeps/ia64/fpu/slowpow.c: Likewise.
17886 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
17887 improve comments and add error analysis.
17888 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
17889 (power1): Remove function:
17890 (log1): Remove error argument, add error analysis.
17891 (my_log2): Remove function.
17892 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
17893 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17894 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
17895 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
17896 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
17897 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
17898 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
17899 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
17900 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
17901 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
17902 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
17903 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17904 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
17905 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17906
7bb087bd
ST
179072018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
17908
17909 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
17910 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
17911
2fd4bbaa
DL
179122018-02-10 Dmitry V. Levin <ldv@altlinux.org>
17913
17914 [BZ #22433]
17915 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
17916 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
17917 and PTRACE_SETHBPREGS.
17918
402ecba4
ZW
179192018-02-10 Zack Weinberg <zackw@panix.com>
17920
17921 [BZ #22830]
17922 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
17923 correctly.
17924 * malloc/tst-malloc-stats-cancellation.c: New test case.
17925 * malloc/Makefile: Add new test case.
17926
4f5b921e
WD
179272018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
17928
17929 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
17930
a85b70db
JM
179312018-02-10 Joseph Myers <joseph@codesourcery.com>
17932
d8742dd8
JM
17933 * math/Makefile (libm-narrow-fns): Add add.
17934 (libm-test-funcs-narrow): Likewise.
17935 * math/Versions (GLIBC_2.28): Add narrowing add functions.
17936 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
17937 * math/gen-auto-libm-tests.c (test_functions): Add add.
17938 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
17939 (NARROW_ADD_ROUND_TO_ODD): Likewise.
17940 (NARROW_ADD_TRIVIAL): Likewise.
17941 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
17942 macro.
17943 (__daddl): Likewise.
17944 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
17945 dadd.
17946 (CFLAGS-nldbl-dadd.c): New variable.
17947 (CFLAGS-nldbl-fadd.c): Likewise.
17948 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17949 __nldbl_daddl.
17950 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
17951 prototype.
17952 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
17953 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
17954 * math/auto-libm-test-in: Add tests of add.
17955 * math/auto-libm-test-out-narrow-add: New generated file.
17956 * math/libm-test-narrow-add.inc: New file.
17957 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
17958 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
17959 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
17960 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
17961 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
17962 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
17963 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
17964 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
17965 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
17966 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
17967 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
17968 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
17969 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
17970 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
17971 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
17972 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
17973 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
17974 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
17975 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17976 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17977 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17978 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17979 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17980 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17981 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17982 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17983 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17984 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17985 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17986 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17987 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17988 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17993 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17994 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17995 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17996 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17997 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17998 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17999 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
18000 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
18001 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18002 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18003
a85b70db
JM
18004 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
18005 (f128-pairs): New variable.
18006 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
18007 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
18008 to CFLAGS.
18009 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
18010 Also make tests add $(f128-loader-link) to gnulib-tests.
18011
6a1ff640
DD
180122018-02-09 DJ Delorie <dj@redhat.com>
18013
18014 [BZ #22827]
18015 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
18016 64-bit ELF type for 64-bit ELF objects.
18017
bfd47587
JM
180182018-02-09 Joseph Myers <joseph@codesourcery.com>
18019
31958338
JM
18020 * math/libm-test-driver.c (snan_tests_arg): New variable.
18021 * math/libm-test-support.h (snan_tests_arg): New declaration.
18022 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
18023
8e554659
JM
18024 * math/Makefile (test-type-pairs): New variable.
18025 (test-type-pairs-f64xf128-yes): Likewise.
18026 (tests): Add test-narrow-macros.
18027 (libm-test-funcs-narrow): New variable.
18028 (libm-test-c-narrow): Likewise.
18029 (generated): Add $(libm-test-c-narrow).
18030 (libm-tests-base-narrow): New variable.
18031 (libm-tests-narrow): Likewise.
18032 (libm-tests): Add $(libm-tests-narrow).
18033 (libm-tests-for-type): Handle $(libm-tests-narrow).
18034 (libm-test-c-narrow-obj): New variable.
18035 ($(libm-test-c-narrow-obj)): New rule.
18036 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
18037 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
18038 $(o-iterator) to set dependencies and CFLAGS.
18039 * math/gen-auto-libm-tests.c: Document use for narrowing
18040 functions.
18041 (output_for_one_input_case): Take argument NARROW.
18042 (generate_output): Likewise. Update call to
18043 output_for_one_input_case.
18044 (main): Take --narrow option. Update call to generate_output.
18045 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
18046 (apply_lit): Update call to _apply_lit.
18047 (apply_arglit): New function.
18048 (parse_args): Handle "a" arguments.
18049 (parse_auto_input): Handle format names using ":".
18050 * math/README.libm-test: Document "a" parameter type.
18051 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
18052 (ARG_TYPE_TRUE_MIN): Likewise.
18053 (ARG_TYPE_MAX): Likwise.
18054 (ARG_MIN_EXP): Likewise.
18055 (ARG_MAX_EXP): Likewise.
18056 (ARG_MANT_DIG): Likewise.
18057 (TEST_COND_arg_ibm128): Likewise.
18058 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
18059 (TEST_COND_arg_fmt): New macro.
18060 (init_max_error): Update prototype.
18061 * math/libm-test-support.c (test_ibm128): New variable.
18062 (init_max_error): Take argument testing_ibm128 and set test_ibm128
18063 instead of using [TEST_COND_ibm128] conditional.
18064 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
18065 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
18066 [TEST_NARROW] (TEST_MSG): New definition.
18067 (arg_plus_zero): New macro.
18068 (arg_minus_zero): Likewise.
18069 (arg_plus_infty): Likewise.
18070 (arg_minus_infty): Likewise.
18071 (arg_qnan_value_pl): Likewise.
18072 (arg_qnan_value): Likewise.
18073 (arg_snan_value_pl): Likewise.
18074 (arg_snan_value): Likewise.
18075 (arg_max_value): Likewise.
18076 (arg_min_value): Likewise.
18077 (arg_min_subnorm_value): Likewise.
18078 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
18079 (RUN_TEST_LOOP_aa_f): New macro.
18080 (TEST_SUFF): New macro.
18081 (TEST_SUFF_STR): Likewise.
18082 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
18083 (TEST_COND_any_ibm128): New macro.
18084 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
18085 this_func. Update call to init_max_error.
18086 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
18087 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
18088 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
18089 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
18090 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
18091 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
18092 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
18093 * math/test-math-scalar.h (TEST_NARROW): Likewise.
18094 * math/test-math-vector.h (TEST_NARROW): Likewise.
18095 * math/test-arg-double.h: New file.
18096 * math/test-arg-float128.h: Likewise.
18097 * math/test-arg-float32x.h: Likewise.
18098 * math/test-arg-float64.h: Likewise.
18099 * math/test-arg-float64x.h: Likewise.
18100 * math/test-arg-ldouble.h: Likewise.
18101 * math/test-math-narrow.h: Likewise.
18102 * math/test-narrow-macros.c: Likewise.
18103 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
18104 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
18105 test-narrow-macros-ldbl-64.
18106 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
18107
63716ab2
JM
18108 * math/bits/mathcalls-narrow.h: New file.
18109 * include/bits/mathcalls-narrow.h: Likewise.
18110 * math/math-narrow.h: Likewise.
18111 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
18112 (__MATHCALL_NARROW_ARGS_2): Likewise.
18113 (__MATHCALL_NARROW_ARGS_3): Likewise.
18114 (__MATHCALL_NARROW_NORMAL): Likewise.
18115 (__MATHCALL_NARROW_REDIR): Likewise.
18116 (__MATHCALL_NARROW): Likewise.
18117 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
18118 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
18119 defined.
18120 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
18121 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
18122 (libm-narrow-fns): New variable.
18123 (libm-narrow-types-basic): Likewise.
18124 (libm-narrow-types-ldouble-yes): Likewise.
18125 (libm-narrow-types-float128-yes): Likewise.
18126 (libm-narrow-types-float128-alias-yes): Likewise.
18127 (libm-narrow-types): Likewise.
18128 (libm-routines): Add narrowing functions.
18129 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
18130 (libc_feholdexcept_setroundf128): New macro.
18131 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
18132 * sysdeps/ieee754/float128/float128_private.h: Include
18133 <math/math-narrow.h>.
18134 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
18135 Undefine and redefine.
18136 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
18137 (libm_alias_float_ldouble): Undefine and redefine.
18138 (libm_alias_double_ldouble): Likewise.
18139
bfd47587
JM
18140 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
18141
3f8d9d58
WD
181422018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
18143
18144 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
18145 FPCR/FPSR.
18146
1f6676d7
RJ
181472018-02-09 Rical Jasan <ricaljasan@pacific.net>
18148
18149 * manual/creature.texi: Convert references to gcc.info to gcc.
18150 * manual/stdio.texi: Likewise.
18151 * manual/string.texi: Likewise.
18152
d80441dd
JM
181532018-02-07 Joseph Myers <joseph@codesourcery.com>
18154
15081be9
JM
18155 [BZ #17979]
18156 * posix/bits/types.h (__int_least8_t): New typedef.
18157 (__uint_least8_t): Likewise.
18158 (__int_least16_t): Likewise.
18159 (__uint_least16_t): Likewise.
18160 (__int_least32_t): Likewise.
18161 (__uint_least32_t): Likewise.
18162 (__int_least64_t): Likewise.
18163 (__uint_least64_t): Likewise.
18164 * sysdeps/generic/stdint.h (int_least8_t): Define using
18165 __int_least8_t.
18166 (int_least16_t): Define using __int_least16_t.
18167 (int_least32_t): Define using __int_least32_t.
18168 (int_least64_t): Define using __int_least64_t.
18169 (uint_least8_t): Define using __uint_least8_t.
18170 (uint_least16_t): Define using __uint_least16_t.
18171 (uint_least32_t): Define using __uint_least32_t.
18172 (uint_least64_t): Define using __uint_least64_t.
18173 * wcsmbs/uchar.h: Include <bits/types.h>.
18174 (char16_t): Define using __uint_least16_t conditional only on
18175 [!__USE_ISOCXX11].
18176 (char32_t): Define using __uint_least32_t conditional only on
18177 [!__USE_ISOCXX11].
18178 * wcsmbs/test-char-types.c: New file.
18179 * wcsmbs/Makefile (tests): Add test-char-types.
18180
d80441dd
JM
18181 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
18182 version to 4.0.1.
18183
6c6c962a
ZW
181842018-02-07 Zack Weinberg <zackw@panix.com>
18185
63fb8f9a
ZW
18186 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
18187 Delete all contents except for definitions of _G_HAVE_MMAP and
18188 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
18189 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
18190 sysdeps/unix/sysv/linux/_G_config.h. Make same content
18191 change as above.
18192
18193 * libio/libio.h: Don't include bits/_G_config.h here.
18194 Include stddef.h with __need_wchar_t defined. Include
18195 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
18196 Define _IO_iconv_t here, directly.
18197 Don't define _IO_HAVE_ST_BLKSIZE.
18198 * libio/libioP.h: Include _G_config.h here. Move include of
18199 shlib-compat.h up with rest of includes. Simplify conditionals
18200 controlling definition of _IO_JUMPS_OFFSET.
18201
18202 * csu/init.c: Remove always-true #if around entire file.
18203 Don't include stdio.h. Set _IO_stdin_used to hardwired
18204 constant 0x20001, and update commentary.
18205 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
18206 Replace all uses of _G_va_list with __gnuc_va_list.
18207 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
18208 instead of #if _IO_HAVE_ST_BLKSIZE.
18209 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
18210 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
18211 not #ifdef.
18212
6c6c962a
ZW
18213 * libio/bits/libio.h: Move back to libio/libio.h and adjust
18214 multiple-include guard to match.
18215 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
18216 into this file.
18217 Remove preprocessor conditionals that are always true and/or
18218 redundant to other preprocessor conditionals in the same nest.
18219 Include shlib-compat.h unconditionally.
18220 Error out if _LIBC is not defined, or if _ISOMAC is defined,
18221 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
18222 defined after including stdio.h.
18223 Use __BEGIN_DECLS/__END_DECLS.
18224
18225 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
18226 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
18227 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
18228
a4fea3f2
ZW
182292018-02-07 Zack Weinberg <zackw@panix.com>
18230
18231 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
18232 New single-type headers split from _G_config.h.
18233 * libio/bits/types/cookie_io_functions_t.h
18234 * libio/bits/types/struct_FILE.h
18235 New single-type headers split from libio.h.
18236
18237 * libio/Makefile: Install the above new headers. Don't install
18238 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
18239 bits/libio-ldbl.h.
18240 * libio/_G_config.h, libio/libio.h: Delete file.
18241
18242 * libio/bits/libio.h: Remove improper-inclusion guard.
18243 Include stdio.h and don't repeat anything that it does.
18244 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
18245 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
18246 __io_read_fn as cookie_read_function_t,
18247 __io_write_fn as cookie_write_function_t,
18248 __io_seek_fn as cookie_seek_function_t,
18249 __io_close_fn as cookie_close_function_t,
18250 and _IO_cookie_io_functions_t as cookie_io_functions_t.
18251 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
18252 here, in the "compatibility defines" section. Remove an #if 0
6c6c962a 18253 block. Use the "body" macros from bits/types/struct_FILE.h to
a4fea3f2
ZW
18254 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
18255 and _IO_ferror_unlocked.
18256 Move prototypes of __uflow and __overflow...
18257
18258 * libio/stdio.h: ...here. Don't include bits/libio.h.
18259 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
6c6c962a 18260 directly from stdarg.h. Include bits/types/__fpos_t.h,
a4fea3f2
ZW
18261 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
18262 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
18263 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
18264 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
18265 cookie_io_functions_t, not _IO_cookie_io_functions_t;
18266 __ssize_t, not _IO_ssize_t. Unconditionally define
18267 BUFSIZ as 8192 and EOF as (-1).
18268
18269 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
18270 macros from bits/types/struct_FILE.h instead of _IO_* macros
18271 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
18272 instead of _IO_ssize_t.
18273 * libio/bits/stdio2.h: Similarly.
18274
18275 * libio/iolibio.h: Add multiple-include guard.
18276 Include bits/libio.h after stdio.h.
18277 * libio/libioP.h: Add multiple-include guard.
18278 Include stdio.h and bits/libio.h before iolibio.h.
18279
6c6c962a 18280 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
a4fea3f2
ZW
18281 * include/bits/types/cookie_io_functions_t.h
18282 * include/bits/types/struct_FILE.h: New wrappers.
18283
18284 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
6c6c962a
ZW
18285 Get definitions of _G_fpos_t and _G_fpos64_t from
18286 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
18287 respectively. Remove improper-inclusion guards.
a4fea3f2 18288
6c6c962a 18289 * conform/data/stdio.h-data: Update expectations of va_list.
a4fea3f2 18290 * scripts/check-installed-headers.sh: Remove special case for
6c6c962a 18291 libio.h and _G_config.h.
a4fea3f2 18292
ce999220
JM
182932018-02-07 Joseph Myers <joseph@codesourcery.com>
18294
8b4a1182
JM
18295 [BZ #15105]
18296 [BZ #19463]
18297 * include/sys/sysmacros.h [!_ISOMAC]
18298 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
18299 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
18300 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
18301 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
18302 libc_hidden_proto.
18303 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
18304 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
18305 Likewise.
18306 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
18307 Undefine and redefine to add use __gnu_dev_ prefix.
18308 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
18309 Likewise.
18310 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
18311 and define as hidden inline function.
18312 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
18313 Likewise.
18314 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
18315 Likewise.
18316 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
18317 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
18318 (gnu_dev_minor): Likewise.
18319 (gnu_dev_makedev): Likewise.
18320 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
18321 makedev.
18322 * posix/wordexp.c (exec_comm_child): Likewise.
18323 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
18324 instead of minor and __gnu_dev_major instead of major.
18325 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
18326 __gnu_dev_major instead of major.
18327 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
18328 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
18329 instead of gnu_dev_minor.
18330 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
18331 (SLAVE_P): Likewise.
18332 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
18333 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
18334 instead of major.
18335
ce999220
JM
18336 [BZ #21313]
18337 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
18338 in another place.
18339 * locale/weightwc.h (findidx): Likewise.
18340
b7c83ca3
WD
183412018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
18342
18343 * manual/probes.texi (slowlog): Delete documentation of removed probe.
18344 (slowlog_inexact): Likewise
18345 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
18346 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
18347
388ff7bd
IG
183482018-02-07 Igor Gnatenko <ignatenko@redhat.com>
18349
18350 [BZ #22797]
18351 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
18352 missing second underscore to parameter name.
18353
663e7d78
JM
183542018-02-06 Joseph Myers <joseph@codesourcery.com>
18355
0d40d0ec
JM
18356 [BZ #14508]
18357 [BZ #15512]
18358 [BZ #17082]
18359 [BZ #20530]
18360 * bits/byteswap.h: Update file comment. Do not include
18361 <bits/byteswap-16.h>.
18362 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
18363 constant.
18364 (__bswap_16): Define as inline function.
18365 (__bswap_constant_32): Reformat definition.
18366 (__bswap_32): Always define as inline function, not macro, using
18367 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
18368 otherwise __bswap_constant_32.
18369 (__bswap_constant_64): Reformat definition. Do not use
18370 __extension__ here.
18371 (__bswap_64): Always define as inline function, not macro. Use
18372 __extension__ on function definition. Use __builtin_bswap64 if
18373 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
18374 * string/test-endian-file-scope.c: New file.
18375 * string/test-endian-sign-conversion.c: Likewise.
18376 * string/Makefile (headers): Remove bits/byteswap-16.h.
18377 (tests): Add test-endian-file-scope and
18378 test-endian-sign-conversion.
18379 (CFLAGS-test-endian-sign-conversion.c): New variable.
18380 * bits/byteswap-16.h: Remove file.
18381 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
18382 * sysdeps/ia64/bits/byteswap.h: Likewise.
18383 * sysdeps/m68k/bits/byteswap.h: Likewise.
18384 * sysdeps/s390/bits/byteswap-16.h: Likewise.
18385 * sysdeps/s390/bits/byteswap.h: Likewise.
18386 * sysdeps/tile/bits/byteswap.h: Likewise.
18387 * sysdeps/x86/bits/byteswap-16.h: Likewise.
18388 * sysdeps/x86/bits/byteswap.h: Likewise.
18389
383e87c9
JM
18390 [BZ #17721]
18391 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
18392 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
18393 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
18394 199901L] (__restrict): Define to restrict.
18395
d92c2759
JM
18396 [BZ #19667]
18397 * string/testcopy.c: Include <support/support.h>. Do not include
18398 <malloc.h>. Use <support/test-driver.c>.
18399 (main): Rename to do_test. Make static. Use xmalloc instead of
18400 malloc.
18401
625fb764
JM
18402 [BZ #13575]
18403 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
18404 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
18405 (SSIZE_MAX): Define to INT_MAX.
18406 * posix/test-ssize-max.c: New file.
18407 * posix/Makefile (tests): Add test-ssize-max.
18408
02325d6c
JM
18409 [BZ #19668]
18410 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
18411 <support/support.h>. Do not include <malloc.h>.
18412 (query_auxv): Use xmalloc instead of malloc.
18413
663e7d78
JM
18414 [BZ #14553]
18415 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
18416 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
18417 instead of loff_t.
18418
6b5c8607 184192018-02-06 Florian Weimer <fweimer@redhat.com>
6d7aa2b5
FW
18420
18421 [BZ #18023]
18422 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18423 Use scratch_buffer instead of extend_alloca.
18424
de6da571
ZW
184252018-02-06 Zack Weinberg <zackw@panix.com>
18426
26c07172
ZW
18427 * libio/stdio.h: Don't define getc or putc as macros.
18428 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
18429 not _IO_getc and _IO_putc.
18430
de6da571
ZW
18431 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
18432 * stdio-common/tstgetln.c: Don't redefine ssize_t.
18433
92669d6e
JM
184342018-02-06 Joseph Myers <joseph@codesourcery.com>
18435
c2b84df9
JM
18436 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
18437 (TCP_FASTOPEN_NO_COOKIE): Likewise.
18438
41376f8c
JM
18439 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
18440
d28bf648
JM
18441 [BZ #14890]
18442 * elf/elf.h (NT_PRFPREG): New macro.
18443 (NT_S390_VXRS_LOW): Likewise.
18444 (NT_S390_VXRS_HIGH): Likewise.
18445 (NT_S390_GS_CB): Likewise.
18446 (NT_S390_GS_BC): Likewise.
18447 (NT_S390_RI_CB): Likewise.
18448
e76def72
JM
18449 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
18450 (MAP_SYNC): New macro.
18451 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
18452 Likewise.
18453 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
18454 (MAP_SYNC): Likewise.
18455 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
18456 (MAP_SYNC): Likewise.
18457 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
18458 (MAP_SYNC): Likewise.
18459 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
18460 (MAP_SYNC): Likewise.
18461 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
18462 (MAP_SYNC): Likewise.
18463 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
18464 (MAP_SYNC): Likewise.
18465 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
18466 Likewise.
18467 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
18468 Likewise.
18469
92669d6e
JM
18470 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
18471 (MAP_SHARED_VALIDATE): New macro.
18472 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
18473 (MAP_SHARED_VALIDATE): Likewise.
18474
6a5cac49
L
184752018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18476
18477 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
18478 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
18479 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
18480
b44e0dfb
L
184812018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18482
18483 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
18484 (DT_NUM): Updated to 35.
18485
f886c16c
L
184862018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18487
18488 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
18489 __builtin_expect with __glibc_likely and __glibc_unlikely.
18490 (elf_machine_rela): Likewise.
18491 (elf_machine_lazy_rel): Likewise.
18492
06fbebff
L
184932018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18494
18495 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
8f4bf93f 18496 __builtin_expect with __glibc_likely and __glibc_unlikely.
06fbebff
L
18497 (elf_machine_lazy_rel): Likewise.
18498
371b220f
L
184992018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18500
18501 [BZ #22638]
18502 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
18503 SHARED.
65805016 18504 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
371b220f 18505
f649a1b8
AS
185062018-02-05 Andreas Schwab <schwab@suse.de>
18507
18508 [BZ #22761]
18509 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
18510 string.
18511
9fdb340e
ST
185122018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18513
18514 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
18515 not check against PTHREAD_STACK_MIN.
18516
09e56b9e
SM
185172018-02-02 Sean McKean <smckean83@gmail.com>
18518
18519 [BZ #22735]
18520 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
18521
d4b4a00a
FW
185222018-02-02 Florian Weimer <fweimer@redhat.com>
18523
18524 [BZ #22753]
18525 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
18526 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
18527 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
18528 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
18529 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
18530 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
18531 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
18532 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
18533 * manual/llio.texi (Scatter-Gather): Mention offset -1.
18534 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
18535 * misc/tst-preadvwritev2.c (do_test): Call it.
18536 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
18537
3dfcbfa1
SP
185382018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
18539
84c94d2f
SP
18540 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
18541
96e6a716
SP
18542 * benchtests/bench-memcmp.c: Print json instead of plain text.
18543
3dfcbfa1
SP
18544 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
18545 every test run.
18546
049375e2
JM
185472018-02-01 Joseph Myers <joseph@codesourcery.com>
18548
39f898c6
JM
18549 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
18550 version to 4.15.
18551 (s390_sthyi): New syscall.
18552
6f9a3dd8
JM
18553 * sysdeps/generic/ldbl-classify-compat.h: New file.
18554 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
18555 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
18556 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
18557 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
18558 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
18559 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
18560 * sysdeps/ieee754/dbl-64/s_finite.c: Include
18561 <ldbl-classify-compat.h>.
18562 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18563 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
18564 <ldbl-classify-compat.h>.
18565 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18566 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
18567 <ldbl-classify-compat.h>.
18568 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18569 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
18570 <ldbl-classify-compat.h>.
18571 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18572 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
18573 <ldbl-classify-compat.h>.
18574 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18575 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
18576 <ldbl-classify-compat.h>.
18577 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18578 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
18579 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
18580 * sysdeps/m68k/coldfire/math_private.h: Remove file.
18581 * sysdeps/microblaze/math_private.h: Likewise.
18582 * sysdeps/nios2/math_private.h: Likewise.
18583 * sysdeps/sh/math_private.h: Likewise.
18584
eb65a3d5
JM
18585 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
18586 * sysdeps/m68k/coldfire/math_private.h: ... here.
18587 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
18588 * sysdeps/tile/math_private.h: Likewise.
18589 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
18590 Remove macro.
18591 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
18592 Likewise.
18593
8a6bb1d0
JM
18594 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
18595 Remove macro.
18596 (libc_fetestexcept): Likewise.
18597 (libc_feupdateenv_test): Likewise.
18598 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
18599 (libc_fetestexcept): Likewise.
18600 (libc_feupdateenv_test): Likewise.
18601 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
18602 (libc_fetestexcept): Likewise.
18603 (libc_feupdateenv_test): Likewise.
18604 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
18605 (libc_fetestexcept): Likewise.
18606 (libc_feupdateenv_test): Likewise.
18607
ae1fcb7b
JM
18608 * sysdeps/generic/math_private.h
18609 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
18610 New inline function.
18611 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
18612 Likewise.
18613
b1c347e2
JM
18614 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
18615 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
18616 * sysdeps/generic/math_private.h
18617 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
18618 inline function.
18619 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
18620 Likewise.
18621 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
18622 Likewise.
18623 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
18624 Likewise.
18625 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
18626 Likewise.
18627 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
18628 Likewise.
18629 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
18630 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
18631 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
18632 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
18633 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
18634 (__fegetenv): Likewise.
18635 (fesetenv): Likewise.
18636 (__fesetenv): Likewise.
18637 (feupdateenv): Likewise.
18638 (__feupdateenv): Likewise.
18639 (fegetround): Likewise.
18640 (__fegetround): Likewise.
18641 (fesetround): Likewise.
18642 (__fesetround): Likewise.
18643
d23a4962
JM
18644 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
18645 (feraiseexcept): New macro.
18646 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
18647 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
18648 Remove macro.
18649 (__feraiseexcept): Likewise.
18650 (feclearexcept): Likewise.
18651 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
18652 (__feraiseexcept): Likewise.
18653 (feclearexcept): Likewise.
18654 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
18655 (__feraiseexcept): Likewise.
18656 (feclearexcept): Likewise.
18657 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
18658 (__feraiseexcept): Likewise.
18659 (feclearexcept): Likewise.
18660 (fetestexcept): Likewise.
18661
5f167950
JM
18662 * sysdeps/m68k/coldfire/math-tests.h: New file.
18663
ccc9035a
JM
18664 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
18665 * sysdeps/m68k/bits/fenv.h: ... here.
18666 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
18667 not define.
18668 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
18669 Likewise.
18670 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
18671 Likewise.
18672 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
18673 Likewise.
18674 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
18675 Likewise.
18676 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
18677 Define to 0.
18678 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
18679 (__FE_UNDEFINED): New enum constant.
18680 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
18681 Do not define.
18682 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
18683 Likewise.
18684 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
18685 Likewise.
18686 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
18687 to match generic bits/fenv.h.
18688 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
18689 Do not define.
18690
049375e2
JM
18691 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
18692 packed on bits.
18693 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
18694 * soft-fp/half.h (union _FP_UNION_H): Likewise.
18695 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
18696 * soft-fp/single.h (union _FP_UNION_S): Likewise.
18697
f1d73681
CD
186982018-02-01 Carlos O'Donell <carlos@redhat.com>
18699 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
18700 Joseph Myers <joseph@codesourcery.com>
18701
18702 [BZ #21314]
18703 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
18704 (__log1p): Disable -Wmaybe-uninitialized for -Os around
18705 computation using c.
18706 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
18707 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
18708 computation using c.
18709
242cbc90
DL
187102018-02-01 Dmitry V. Levin <ldv@altlinux.org>
18711
086ee48e
DL
18712 * version.h (RELEASE): Set to "development".
18713 (VERSION): Set to "2.27.9000".
18714 * NEWS (2.28): New section.
18715
23158b08
DL
18716 * version.h (RELEASE): Set to "stable".
18717 (VERSION): Set to "2.27".
18718 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
18719
242cbc90
DL
18720 * NEWS: Add the list of bugs fixed in 2.27.
18721
673e2305
AZ
187222018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18723
18724 * stdlib/test-atexit-race-common.c (do_test): Check stack size
18725 against PTHREAD_STACK_MIN.
18726
ced64e01
DL
187272018-02-01 Dmitry V. Levin <ldv@altlinux.org>
18728
18729 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
18730 New entries.
18731 (Rafal Luzynski, Andreas Schwab): Update.
18732
c10c9a5e
RL
187332018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
18734
18735 [BZ #10871]
18736 * NEWS: List the languages which actually use the alternative
18737 months feature in this release. Also explain that "alt_mon" and
18738 "ab_alt_mon" are optional.
18739
650ba77a
IM
187402018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
18741
18742 [BZ #22765]
18743 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
18744
93493119
DL
187452018-01-31 Dmitry V. Levin <ldv@altlinux.org>
18746
18747 * manual/install.texi (Tools for Compilation): Update the newest
18748 versions of gcc, binutils, texinfo, gawk, bison, and sed.
18749 * INSTALL: Regenerated.
18750
363e4519 187512018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
407552cf
ST
18752
18753 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
18754 instead of __builtin_expect.
18755
d7536874
FW
187562018-01-30 Florian Weimer <fweimer@redhat.com>
18757
18758 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
18759 data.
18760 * nss/tst-nss-getpwent.c (do_test): Likewise.
18761
9a1b267d
RL
187622018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
18763
18764 [BZ #10871]
18765 * localedata/locales/hr_HR (mon): Rename to...
18766 (alt_mon): This.
18767 (mon): Import from CLDR (genitive case).
18768 (d_t_fmt): Update the comment.
18769
9a179328
AS
187702018-01-29 Andreas Schwab <schwab@linux-m68k.org>
18771
18772 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
18773 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
18774 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
18775
e01e0ddc
ST
187762018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
18777
18778 * mach/Versions: Fix version when __mach_host_self_ was added.
18779 * hurd/Versions: Fix version when _hurd_exec_paths was added.
18780 * sysdeps/mach/hurd/i386/ld.abilist: New file.
18781 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
18782 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
18783 * sysdeps/mach/hurd/i386/libc.abilist: New file.
18784 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
18785 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
18786 * sysdeps/mach/hurd/i386/libm.abilist: New file.
18787 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
18788 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
18789 * sysdeps/mach/hurd/i386/librt.abilist: New file.
18790 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
ba729de6
ST
18791 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
18792 || to respect codestyle.
2aadb705
ST
18793 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
18794 (do_test_bz20181): Rename accordingly.
406e7a0a
ST
18795 * malloc/malloc.c: Include <assert.h>.
18796 (assert): Do not define.
18797 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
99dfbef4
ST
18798 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
18799 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
ac56adbb 18800 * sysdeps/mach/hurd/hp-timing.h: New file.
ef4cf463 18801 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
e01e0ddc 18802
521877e1
PD
188032018-01-29 Darius Rad <darius@bluespec.com>
18804
18805 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
18806
532cf290
PD
188072018-01-29 Palmer Dabbelt <palmer@sifive.com>
18808
18809 * sysdeps/init_array/crti.S (.section .init_array): Add
18810 PREINIT_FUNCTION when defined.
40ca951b 18811 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
4215e276 18812 * config.h.in: Regenerate.
ba9e25a6
PD
18813 * manual/platform.texi: Add RISC-V documenation for
18814 __riscv_flush_icache.
c776fa11
PD
18815 * sysdeps/riscv/__longjmp.S: New file.
18816 * sysdeps/riscv/backtrace.c: Likewise.
18817 * sysdeps/riscv/bits/endian.h: Likewise.
18818 * sysdeps/riscv/bits/setjmp.h: Likewise.
18819 * sysdeps/riscv/bits/wordsize.h: Likewise.
18820 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
18821 * sysdeps/riscv/bsd-setjmp.c: Likewise.
18822 * sysdeps/riscv/dl-trampoline.S: Likewise.
18823 * sysdeps/riscv/gccframe.h: Likewise.
18824 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
18825 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
18826 * sysdeps/riscv/machine-gmon.h: Likewise.
18827 * sysdeps/riscv/memusage.h: Likewise.
18828 * sysdeps/riscv/setjmp.S: Likewise.
18829 * sysdeps/riscv/sys/asm.h: Likewise.
18830 * sysdeps/riscv/tls-macros.h: Likewise.
33712660
PD
18831 * sysdeps/riscv/dl-tls.h: New file.
18832 * sysdeps/riscv/libc-tls.c: Likewise.
18833 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
18834 * sysdeps/riscv/nptl/tls.h: Likewise.
18835 * sysdeps/riscv/stackinfo.h: Likewise.
67236aeb
PD
18836 * sysdeps/riscv/bits/fenv.h: New file.
18837 * sysdeps/riscv/e_sqrtl.c: Likewise.
18838 * sysdeps/riscv/fpu_control.h: Likewise.
18839 * sysdeps/riscv/math-tests.h: Likewise.
18840 * sysdeps/riscv/nofpu/Implies: Likewise.
18841 * sysdeps/riscv/sfp-machine.h: Likewise.
18842 * sysdeps/riscv/tininess.h: Likewise.
b2cb5e02
PD
18843 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
18844 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
18845 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
18846 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
18847 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
18848 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
18849 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
18850 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
18851 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
18852 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
18853 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
18854 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
18855 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
18856 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
18857 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
18858 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
18859 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
18860 * sysdeps/riscv/rvd/s_finite.c: Likewise.
18861 * sysdeps/riscv/rvd/s_fma.c: Likewise.
18862 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
18863 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
18864 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
18865 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
18866 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
18867 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
18868 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
18869 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
18870 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
18871 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
18872 * sysdeps/riscv/rvf/fegetround.c: Likewise.
18873 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
18874 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
18875 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
18876 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
18877 * sysdeps/riscv/rvf/fesetround.c: Likewise.
18878 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
18879 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
18880 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
18881 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
18882 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
18883 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
18884 * sysdeps/riscv/rvf/math_private.h: Likewise.
18885 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
18886 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
18887 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
18888 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
18889 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
18890 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
18891 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
18892 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
18893 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
18894 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
18895 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
18896 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
18897 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
18898 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
18899 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
18900 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
d1c09b24
PD
18901 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
18902 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
18903 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
18904 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
36960f0c
PD
18905 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
18906 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
18907 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
18908 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
18909 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
18910 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
18911 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
18912 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
18913 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
7f33b09c
PD
18914 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
18915 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
18916 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
18917 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
18918 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
18919 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
18920 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
18921 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
18922 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
18923 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
18924 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
18925 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
18926 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
18927 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
18928 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
18929 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
18930 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
18931 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
18932 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
18933 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
18934 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
18935 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
ee53fed9
PD
18936 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
18937 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
18938 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
2268c433
PD
18939 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
18940 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
18941 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
18942 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
18943 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
18944 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
18945 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
18946 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
18947 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
18948 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
18949 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18950 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
18951 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
18952 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
c5061557
PD
18953 * sysdeps/riscv/Implies: New file.
18954 * sysdeps/riscv/Makefile: Likewise.
18955 * sysdeps/riscv/configure: Likewise.
18956 * sysdeps/riscv/configure.ac: Likewise.
18957 * sysdeps/riscv/nptl/Makefile: Likewise.
18958 * sysdeps/riscv/preconfigure: Likewise.
18959 * sysdeps/riscv/rv64/Implies-after: Likewise.
18960 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
18961 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
18962 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
18963 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
18964 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
18965 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
18966 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
18967 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
18968 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
18969 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
18970 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
0fd5d876
PD
18971 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
18972 (Config): Likewise.
532cf290 18973
cdd14619
FW
189742018-01-29 Florian Weimer <fweimer@redhat.com>
18975
18976 [BZ #22701]
18977 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
18978 libnsl_hidden_proto.
18979 * include/rpcsvc/yp.h (yp_xdrall): Declare with
18980 libnsl_hidden_proto.
18981 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
18982 * nis/Makefile (libnsl-routines): Add nss-default only for
18983 build-obsolete-nsl.
18984 * nis/nis_defaults.c (__nis_default_ttl): Add
18985 libnsl_hidden_nolink_def.
18986 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
18987 declaration.
18988 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
18989 * nis/ypclnt.c (yp_maplist): Likewise.
18990
b7ccb5de
RN
189912018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
18992
18993 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18994 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
18995
522623e4
JM
189962018-01-29 Joseph Myers <joseph@codesourcery.com>
18997
e3aa6999
JM
18998 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
18999 clean -dxfq for git updates when replacing sources.
19000
088de7d0
JM
19001 * scripts/build-many-glibcs.py (Config.build_gcc): Use
19002 --disable-libcilkrts unconditionally, not just for the final GCC
19003 build for Hurd.
19004
522623e4
JM
19005 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19006 version to 4.15.
19007
8b406f87
RL
190082018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19009
19010 [BZ #10871]
19011 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
19012 case).
19013
105e90bd
RL
190142018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19015
19016 [BZ #10871]
19017 * localedata/locales/be_BY (mon): Rename to...
19018 (alt_mon): This, then synchronize with CLDR (nominative case).
19019 (abmon): Rename to...
19020 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
19021 (mon): Import from CLDR (genitive case).
19022 (abmon): Likewise.
19023 * localedata/locales/be_BY@latin (mon): Rename to...
19024 (alt_mon): This.
19025 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
19026
19027 * localedata/locales/be_BY@latin (lang_name): Reworded to
19028 "biełaruskaja mova".
19029
561cb414
RL
190302018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19031
19032 [BZ #10871]
19033 * localedata/locales/el_CY (mon): Renamed to...
19034 (alt_mon): This.
19035 (mon): Import from CLDR (genitive case).
19036 * localedata/locales/el_GR: Likewise.
19037
f7bdf30d
RL
190382018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19039
19040 [BZ #10871]
19041 * localedata/locales/ru_RU (mon): Rename to...
19042 (alt_mon): This.
19043 (abmon): Rename to...
19044 (ab_alt_mon): This.
19045 (mon): Import from CLDR (genitive case).
19046 (abmon): Copy from the old content except the 5th month which is
19047 now in the genitive case, even when abbreviated.
19048 * localedata/locales/ru_UA: Likewise.
19049 * time/tst-strptime.c (day_tests): Add an actual example of
19050 a difference between %b and %Ob in Russian.
19051
85285a0c
ST
190522018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
19053
19054 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
da8168df
ST
19055 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
19056 a `c' variable.
3538a4b6 19057 * resolv/res-close.c: Include <stdlib.h>.
b29848b9
ST
19058 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
19059 <sys/wait.h>, <time.h>, <sys/uio.h>.
19060 (NOT_CANCEL_H): Add inclusion guard.
4f66dc23 19061 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
147d1dbb
ST
19062 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
19063 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
19064 return 0.
05ebfe87
ST
19065 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
19066 vm_address_t * to ElfW(Addr) * for dl_main parameter.
61a3a8c6
ST
19067 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
19068 instead of void *.
19069 * sysdeps/pthread/timer_create.c (timer_create): Do not use
19070 timer_ptr2id to cast struct timer_node * to void *.
d4d5b2dd
ST
19071 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
19072 --disable-libcilkrts to gcc configure.
19fd8d0d
ST
19073 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
19074 and make them the default for now.
903d3633
ST
19075 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
19076 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
7dab2d00
ST
19077 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
19078 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
19079 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
19080 MACH_IPC_COMPAT.
06fac9f5
ST
19081 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
19082 __task_terminate would ever return successfully.
f8177753
ST
19083 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
19084 to global scope.
41cdb1eb
ST
19085 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
19086 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
660b7bff
ST
19087 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
19088 critical section to make code simpler and avoid warning.
19089 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
19090 critical section to make code simpler and avoid warning.
844bf921
ST
19091 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
19092 const char * instead of char *.
f8bee46c
ST
19093 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
19094 __hurd_file_name_split, hurd_file_name_split,
19095 __hurd_directory_name_split, hurd_directory_name_split,
19096 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
19097 hurd_file_name_path_lookup): Make lookup function parameter take a
19098 const char *name instead of char *name.
19099 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
19100 __hurd_directory_name_split): Likewise.
19101 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
19102 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
40066975
ST
19103 * sysdeps/mach/hurd/check_native.c: New file.
19104 * sysdeps/mach/hurd/check_pf.c: New file.
7c5b106d
ST
19105 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
19106 (__freeifaddrs): Define macro to freeifaddrs.
5f982b0b
ST
19107 * sysdeps/mach/hurd/libhurduser.abilist: New file.
19108 * sysdeps/mach/libmachuser.abilist: New file.
cef7166a
ST
19109 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
19110 (do_test_bz20181): Rename accordingly.
19111 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
3fc1ecf9
ST
19112 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
19113 <sys/mount.h>.
28f6186f
ST
19114 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
19115 version only if __USE_EXTERN_INLINES is defined.
19116 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
19117 __hurd_sockfail): Likewise.
19118 (_hurd_fd_get): Always declare functions, and provide inline versions
19119 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
19120 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
19121 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
19122 _hurd_port_set): Always declare functions, and provide inline versions
19123 only if __USE_EXTERN_INLINES and _LIBC are defined and
19124 IS_IN(libc).
19125 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
19126 _hurd_critical_section_unlock): Likewise.
19127 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
19128 * __hurd_threadvar_location): Likewise.
19129 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
19130 _hurd_userlink_clear): Likewise.
19131 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
19132 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
19133 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
19134 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
19135 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
19136 __spin_lock_locked): Likewise.
19137 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
19138 __spin_lock_locked): Likewise.
19139 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
19140 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
19141 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
19142 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
19143 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
b1025304
ST
19144 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
19145 _POSIX_NO_TRUNC): Define to 0.
a902a086
ST
19146 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
19147 check size against PTHREAD_STACK_MIN.
625ba81e
ST
19148 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
19149 IS_IN(libpthread)]: Include <sigsetops.h>.
2e52dff4
ST
19150 * mach/Makefile (user-interfaces): Add mach/gnumach.
19151 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
19152 * sysdeps/mach/configure (mach_interface_list): Regenerate.
80463dc6
ST
19153 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
19154 instead of invalid -1.
1f89ac71
ST
19155 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
19156 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
19157 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
19158 <net/ppp_defs.h>.
85285a0c 19159
1fd1e27c 191602018-01-27 Thomas Schwinge <tschwinge@gnu.org>
84814e2a
TS
19161
19162 * hurd/fcntl-internal.h: New file.
19163
3854c5a8
JC
191642018-01-27 James Clarke <jrtc27@jrtc27.com>
19165
7e23a7dd
JC
19166 * sysdeps/hppa/fpu/libm-test-ulps: Update.
19167
3854c5a8
JC
19168 * sysdeps/alpha/fpu/libm-test-ulps: Update.
19169
5503f413
AS
191702018-01-26 Andreas Schwab <schwab@linux-m68k.org>
19171
19172 [BZ #22701]
19173 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
19174 Build only shared objects.
19175
caaf7804
CD
191762018-01-26 Carlos O'Donell <carlos@redhat.com>
19177
19178 * README: Update for hppa.
19179
1cbf818d
PM
191802018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19181
caaf7804
CD
19182 * sysdeps/sparc/fpu/libm-test-ulps: Update
19183 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
1cbf818d 19184
caaf7804 191852018-01-26 Carlos O'Donell <carlos@redhat.com>
2ec0e7ea
CD
19186
19187 Revert:
19188
19189 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19190
19191 [BZ #22563]
19192 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19193 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
19194 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19195 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
19196 to feature_1.
19197
19198 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19199
19200 [BZ #22563]
19201 * bits/types/__cancel_jmp_buf_tag.h: New file.
19202 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
19203 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
19204 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
19205 * nptl/Makefile (headers): Add
19206 bits/types/__cancel_jmp_buf_tag.h.
19207 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
19208 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
19209 * sysdeps/nptl/pthread.h: Include
19210 <bits/types/__cancel_jmp_buf_tag.h>.
19211 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
19212 __cancel_jmp_buf.
19213 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
19214
65f6c94e
RL
192152018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
19216
19217 [BZ #10871]
19218 * localedata/locales/uk_UA (mon): Renamed to...
19219 (alt_mon): This.
19220 (alt_digits): "0" removed and then renamed to...
19221 (mon): This.
19222 (date_fmt): Definition changed not to use the alternative
19223 digits hack.
19224
fb58aac5
PD
192252018-01-25 Palmer Dabbelt <palmer@sifive.com>
19226
19227 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
19228 FLAG_RISCV_FLOAT_ABI_DOUBLE.
19229 * elf/elf.h (EF_RISCV_RVC): New define.
19230 (EF_RISCV_FLOAT_ABI): Likewise.
19231 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
19232 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
19233 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
19234 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
19235 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
19236 define.
19237 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
19238
128c43a2
AS
192392018-01-25 Andreas Schwab <schwab@suse.de>
19240
19241 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
19242 single quotes.
19243 * sysdeps/gnu/configure: Regenerate.
19244 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
19245 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19247 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
19248 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
19249 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
19250 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
19251 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
19252
f9015003
ST
192532018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
19254
48130690 19255 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
47c4b4b0 19256 URL, and run autoconf, make it the default for now.
f9015003 19257
91b2cffa
JM
192582018-01-24 Joseph Myers <joseph@codesourcery.com>
19259
3005b705
JM
19260 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19261 soft-float ColdFire configuration.
19262
69231fab
JM
19263 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
19264 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
19265 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
19266
d4c7e1d0
JM
19267 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
19268 MicroBlaze file.
19269
0cfe5be5
JM
19270 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
19271 ....
19272 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
19273 ... here.
19274 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
19275 New file.
19276
91b2cffa
JM
19277 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
19278 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
19279 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
19280 file.
19281
c739e191
SN
192822018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
19283
19284 [BZ #22742]
19285 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
19286 Rename to __reserved and add comment.
19287 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
19288 Rename to __reserved.
19289
394b5bac
JM
192902018-01-24 Joseph Myers <joseph@codesourcery.com>
19291
19292 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19293 i686-gnu configurations.
19294 (Context.run_builds): Include mig, gnumach and hurd in components
19295 considered.
19296 (Context.checkout): Add mig, gnumach and hurd to components.
19297 (Context.checkout_tar): Add URL mappings for mig, gnumach and
19298 hurd.
19299 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
19300 (Config.build): Install gnumach headers, build mig and install
19301 hurd headers for 'gnu' OS.
19302 (Config.install_gnumach_headers): New function.
19303 (Config.install_hurd_headers): Likewise.
19304 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
19305 when building for 'gnu' OS.
19306
28c3f14f
TK
193072018-01-23 Tobias Klauser <tklauser@distanz.ch>
19308
19309 * manual/tunables.texi (Hardware Capability Tunables): Fix
19310 spelling.
19311
0f5e2da1
RJ
193122018-01-22 Rical Jasan <ricaljasan@pacific.net>
19313
19314 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
19315 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
19316 (ALTMON_11, ALTMON_12): Improve documentation.
19317 * manual/time.texi (strftime): Likewise.
19318
7817b14a
RL
193192018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19320
19321 [BZ #10871]
19322 * localedata/locales/pl_PL: Alternative month names added,
19323 primary month names are genitive now.
19324 * time/tst-strptime.c (day_tests): Actually use a genitive case
19325 of a month name in Polish language.
19326
22390764
RL
193272018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19328
19329 [BZ #10871]
19330 * manual/locale.texi: Document ALTMON_1..12 constants for
19331 nl_langinfo. Specify when to use ALTMON instead of MON.
19332 * manual/time.texi (strftime, strptime): Document GNU extension
19333 permitting O modifier with %B and %b. Specify when to use
19334 %OB instead of %B.
19335
761a585c
RL
193362018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19337
19338 [BZ #10871]
19339 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
19340 names, define them as the same as abbreviated month names explicitly.
19341 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
19342 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
19343 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
19344 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
19345 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
19346 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
19347 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
19348 _NL_WABALTMON_12): New enum constants.
19349 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
19350 wab_alt_mon, and ab_alt_mon_defined members.
19351 (time_output): Output ab_alt_mon and wab_alt_mon members.
19352 (time_read): Read them, initialize them as copies of abmon and wabmon
19353 respectively if they are missing, initialize ab_alt_mon_defined.
19354 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
19355 * locale/programs/locfile-kw.h: Regenerate.
19356 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
19357 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
19358 and ru_RU.UTF-8.
19359 * time/strftime_l.c (a_altmonth, aam_len): New macros.
19360 [!COMPILE_WIDE] (ABALTMON_1): New macro.
19361 (__strftime_internal): Handle %Ob and %Oh formats.
19362 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
19363 (__strptime_internal): Handle %Ob and %Oh formats.
19364 * time/tst-strptime.c (day_tests): Add more tests to parse different
19365 forms of month names including the new %Ob format specifier.
19366
95cb863a
RL
193672018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19368
19369 [BZ #10871]
19370 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
19371 define them as the same as primary full month names explicitly.
19372 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
19373 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
19374 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
19375 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
19376 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
19377 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
19378 _NL_WALTMON_12): New enum constants.
19379 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
19380 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
19381 macros.
19382 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
19383 walt_mon, and alt_mon_defined members.
19384 (time_output): Output alt_mon and walt_mon members.
19385 (time_read): Read them, initialize them as copies of mon and wmon
19386 respectively if they are missing, initialize alt_mon_defined.
19387 * locale/programs/locfile-kw.gperf (alt_mon): Define.
19388 * locale/programs/locfile-kw.h: Regenerate.
19389 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
19390 * localedata/tst-langinfo.c (map): Add tests for the new constants
19391 ALTMON_1 .. ALTMON_12.
19392 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
19393 and pl_PL.UTF-8.
19394 * time/strftime_l.c (f_altmonth): New macro.
19395 (__strftime_internal): Handle %OB format.
19396 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
19397 (__strptime_internal): Handle %OB format.
19398 * time/tst-strptime.c (day_tests): Add tests to parse different forms
19399 of month names including the new %OB format specifier.
19400
4612268a
TMQMF
194012018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19402
19403 [BZ #22685]
19404 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
19405 from ABORT_TRANSACTION.
19406 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
19407 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
19408 ABORT_TRANSACTION_IMPL): Likewise.
19409 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
19410 Linux code, but remove the code that aborts transactions.
19411
64f63cb4
ST
194122018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
19413
19414 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
19415
32ac6e92
RL
194162018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
19417
19418 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
19419 in date: "2004-14-09" should be "2004-09-14".
19420 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
19421 "2003-15-09" should be "2003-09-15".
19422
8e448310
AS
194232018-01-18 Arjun Shankar <arjun@redhat.com>
19424
19425 [BZ #22343]
71aa429b 19426 [BZ #22774]
4590634f 19427 CVE-2018-6485
71aa429b 19428 CVE-2018-6551
8e448310
AS
19429 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
19430 after padding.
19431 (_int_memalign): check for integer overflow before calling
19432 _int_malloc.
19433 * malloc/tst-malloc-too-large.c: New test.
19434 * malloc/Makefile: Add tst-malloc-too-large.
19435
e234d7cb
RL
194362018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
19437
19438 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
19439 in date: "2017-24-07" should be "2017-07-24".
19440 * localedata/locales/mai_IN: Likewise.
19441 * localedata/locales/mai_NP: Likewise.
19442
48b66019
DL
194432018-01-17 Dmitry V. Levin <ldv@altlinux.org>
19444
19445 * po/ru.po: Update translations.
19446
1eeddc58
JM
194472018-01-17 Joseph Myers <joseph@codesourcery.com>
19448
19449 [BZ #22719]
19450 * sysdeps/hppa/backtrace.c: New file.
19451
207a72e2
L
194522018-01-17 H.J. Lu <hongjiu.lu@intel.com>
19453
19454 [BZ #22715]
19455 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
19456 align La_x86_64_retval to VEC_SIZE.
19457
4942c4ea
JM
194582018-01-16 Joseph Myers <joseph@codesourcery.com>
19459
19460 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
19461 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
19462
10d200db
FW
194632018-01-16 Florian Weimer <fweimer@redhat.com>
19464
19465 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
19466 Move tst-thread-exit-clobber ...
19467 [$(CXX)] (tests-unsupported): ... to here.
19468
953c49cc
SN
194692018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
19470
19471 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
19472 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
19473 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
19474 (_dl_aarch64_cap_flags): Update.
19475 (_DL_HWCAP_COUNT): Update.
19476
afce1991
SN
194772018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
19478
19479 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
19480 (_DL_HWCAP_LAST): Remove.
19481 (_DL_HWCAP_COUNT): Move to ...
19482 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
19483 (_DL_HWCAP_COUNT): ... here.
19484
b725132d
FW
194852018-01-16 Florian Weimer <fweimer@redhat.com>
19486
19487 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
19488 mode with GNU extensions.
19489
c9e613a7
AH
194902018-01-15 Alan Hayward <alan.hayward@arm.com>
19491
19492 * elf/elf.h (NT_ARM_SVE): Define.
19493
860b0240
FW
194942018-01-15 Florian Weimer <fweimer@redhat.com>
19495
19496 [BZ #22636]
19497 * nptl/tst-minstack-throw.cc: New file.
19498 * nptl/Makefile (tests): Add tst-minstack-throw.
19499 (LDLIBS-tst-minstack-throw): Link with libstdc++.
19500 [!CXX] (tests-unsupported): Add tst-minstack-throw.
19501
16d0f6ac
JM
195022018-01-15 Joseph Myers <joseph@codesourcery.com>
19503
19504 * scripts/build-many-glibcs.py (Context.checkout): Default
19505 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
19506 version to 1.1.0.
19507
505d3910
CD
195082018-01-13 Carlos O'Donell <carlos@redhat.com>
19509
19510 [BZ #22707]
19511 * elf/elf.h (DF_1_STUB): Define.
19512 (DF_1_PIE): Define.
19513
af1e6be4
TMQMF
195142018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19515
19516 [BZ #22697]
19517 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
19518 Do not add 0.5 to integer or out-of-range arguments.
19519
98d13ce0
DL
195202018-01-12 Dmitry V. Levin <ldv@altlinux.org>
19521
19522 * po/bg.po: Update translations.
19523 * po/cs.po: Likewise.
19524 * po/de.po: Likewise.
19525 * po/ko.po: Likewise.
19526 * po/pl.po: Likewise.
19527 * po/sv.po: Likewise.
19528 * po/uk.po: Likewise.
19529 * po/vi.po: Likewise.
19530
3d1d7928
SN
195312018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
19532
19533 * aarch64/start.S (_start): Use __wrap_main.
19534 (__wrap_main): New local symbol.
19535
52a713fd
DL
195362018-01-12 Dmitry V. Levin <ldv@altlinux.org>
19537
19538 [BZ #22679]
19539 CVE-2018-1000001
19540 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
19541 generic_getcwd if the path returned by getcwd syscall is not absolute.
19542 * io/tst-getcwd-abspath.c: New test.
19543 * io/Makefile (tests): Add tst-getcwd-abspath.
19544
249a5895
IK
195452018-01-12 Istvan Kurucsai <pistukem@gmail.com>
19546
19547 * malloc/malloc.c (malloc_consolidate): Add size check.
19548
1a51e46e
FW
195492018-01-12 Florian Weimer <fweimer@redhat.com>
19550
19551 * support/write_message.c (write_message): Preserve errno.
19552 * support/check.c (print_failure): Likewise.
19553 * support/support_test_verify_impl.c (support_test_verify_impl):
19554 Likewise.
19555 * support/support_test_compare_failure.c
19556 (support_test_compare_failure): Likewise.
19557
9a08a366
FW
195582018-01-12 Florian Weimer <fweimer@redhat.com>
19559
19560 [BZ #22701]
19561 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
19562 Prevent installation of libnsl.so.
19563 (libnsl-inhibit-o): Do not build (or install) static libraries.
19564
80647883 195652018-01-12 Egmont Koblinger <egmont@gmail.com>
f172187b
EK
19566
19567 [BZ #22657]
19568 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
19569 before the day number which may produce a double space.
19570 (date_fmt): Likewise.
19571
c8924f1f
JM
195722018-01-12 Joseph Myers <joseph@codesourcery.com>
19573
19574 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
19575 instead of fegetenv.
19576
da09e6fa
JM
195772018-01-11 Joseph Myers <joseph@codesourcery.com>
19578
19579 [BZ #22702]
19580 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
19581 comment to say exceptions are discarded.
19582 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
19583 __fegetenv.
19584 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
19585 be enabled.
19586
08c6e952
FW
195872018-01-11 Florian Weimer <fweimer@redhat.com>
19588
19589 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
19590 and error message.
19591
d8b77890
FW
195922018-01-11 Florian Weimer <fweimer@redhat.com>
19593
19594 [BZ #22636]
19595 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
19596 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
19597
b303185d
JM
195982018-01-10 Joseph Myers <joseph@codesourcery.com>
19599
19600 [BZ #22693]
19601 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
19602 negative arguments in test for NaN or infinity argument.
19603
ee61d028
DL
196042018-01-10 Dmitry V. Levin <ldv@altlinux.org>
19605
19606 * po/libc.pot: Regenerate.
19607
f993b875
FW
196082018-01-10 Florian Weimer <fweimer@redhat.com>
19609
19610 [BZ #22636]
19611 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
19612 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
19613
09085ede
ST
196142018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19615
19616 * hurd/hurd/fd.h: Include <fcntl.h>
19617 (__hurd_at_flags): New function.
19618 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
19619 with call to __hurd_at_flags.
19620 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
19621 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
19622 __faccessat
19623 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
19624 (__access_noerrno): Use __faccessat_common instead of access_common.
19625 (__access): Likewise.
19626 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
19627 with a call to __faccessat.
19628 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
19629 (__faccessat_common): ... this. Move implementation of __access into it when
19630 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
19631 reauthenticate_cwdir_at helper to implement AT mechanism.
19632 (__faccessat_noerrno): New function, just calls __faccessat_common.
19633 (__faccessat): New function, just calls __faccessat_common.
19634 (faccessat): Define weak alias.
19635
12727488
JM
196362018-01-10 Joseph Myers <joseph@codesourcery.com>
19637
87faac55
JM
19638 [BZ #22691]
19639 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19640 (CFLAGS-s_fmaxmagl.c): New variable.
19641 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
19642
12727488
JM
19643 [BZ #22690]
19644 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
19645 long int for arguments of possibly overflowing addition or
19646 subtraction.
19647 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
19648
e134ca17
JM
196492018-01-09 Joseph Myers <joseph@codesourcery.com>
19650
b2584ac2
JM
19651 [BZ #22688]
19652 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19653 (CFLAGS-e_remainderl.c): New variable.
19654
e134ca17
JM
19655 [BZ #22687]
19656 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
19657 variable.
19658 (CFLAGS-s_cacoshl.c): Likewise.
19659 (CFLAGS-s_casinhl.c): Likewise.
19660 (CFLAGS-s_catanl.c): Likewise.
19661 (CFLAGS-s_catanhl.c): Likewise.
19662 (CFLAGS-s_cexpl.c): Likewise.
19663 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
19664 (CFLAGS-s_csinhl.c): Likewise.
19665 (CFLAGS-s_clogl.c): Likewise.
19666 (CFLAGS-s_clog10l.c): Likewise.
19667 (CFLAGS-s_csinl.c): Likewise.
19668 (CFLAGS-s_csqrtl.c): Likewise.
19669
d31a4a48
ST
196702017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
196712017-01-09 Svante Signell <svante.signell@gmail.com>
311ba8dc
ST
19672
19673 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
19674 (_hurd_exec_paths): New function.
19675 * hurd/hurd.h (_hurd_exec): Deprecate function.
19676 (_hurd_exec_paths): Declare function.
19677 * hurd/Versions: Export _hurd_exec_paths.
19678 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
19679 (__execve): Use __getcwd to build absolute path, and use
19680 _hurd_exec_paths instead of _hurd_exec.
19681 * sysdeps/mach/hurd/spawni.c: Likewise.
19682 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
19683 _hurd_exec.
19684
d7ff3f11
DL
196852018-01-08 Dmitry V. Levin <ldv@altlinux.org>
19686
19687 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
19688 test instead of failing in case of ENOENT returned by posix_openpt.
19689
401311cf
FW
196902018-01-08 Florian Weimer <fweimer@redhat.com>
19691
19692 resolv: Support binary labels in test framework.
19693 * support/resolv_test.c (struct to_be_freed): Remove.
19694 (struct compressed_name): New.
19695 (allocate_compressed_name, ascii_tolower)
19696 (compare_compressed_name): New functions.
19697 (struct resolv_response_builder): Update type of
19698 compression_offsets for use with tsearch. Rempve to_be_freed.
19699 (response_push_pointer_to_free): Remove function.
19700 (resolv_response_add_name): Rewrite using struct compressed_name
19701 and tsearch instead of hsearch_r.
19702 (response_builder_allocate): Remove initialization of
19703 compression_offsets.
19704 (response_builder_free): Update for removal of to_be_freed. Use
19705 tdestroy instead of hdestroy_r.
19706 * resolv/Makefile (tests): Add tst-resolv-binary.
19707 (tst-resolv-binary): Link with -lresolv -lpthread.
19708
2b3aa446
FW
197092018-01-08 Florian Weimer <fweimer@redhat.com>
19710
19711 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
19712 time. Pass positive flag instead of negative flag to
19713 support_test_compare_failure.
19714 (support_test_compare_failure): Change negative parameter to
19715 positive.
19716 * support/support_test_compare_failure.c (report)
19717 (support_test_compare_failure): Likewise.
19718 * support/tst-test_compare.c (return_ssize_t, return_int): New.
19719 (do_test): Check int/size_t, ssize_t/size_t comparisons.
19720
630f4cc3
SN
197212018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
19722
19723 [BZ #22637]
19724 * nptl/descr.h (stackblock, stackblock_size): Update comments.
19725 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
19726 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
19727 stacksize.
19728 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
19729
c70e4e9c
L
197302018-01-08 H.J. Lu <hongjiu.lu@intel.com>
19731
19732 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19733 Add s_sincosf-sse2 and s_sincosf-fma.
19734 (CFLAGS-s_sincosf-fma.c): New.
19735 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
19736 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
19737 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
19738 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
19739 __sincosf is defined.
19740
579396ee
FW
197412018-01-08 Florian Weimer <fweimer@redhat.com>
19742
19743 * nptl/tst-thread-exit-clobber.cc: New file.
19744 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
19745 C++11 mode.
19746 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
19747 (tests): Add tst-thread-exit-clobber.
19748 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
19749
dabd75b6
FW
197502018-01-08 Florian Weimer <fweimer@redhat.com>
19751
19752 * support/check.h (support_static_assert): Define.
19753 (TEST_COMPARE): Use it.
19754
c2e014cc
AJ
197552018-01-07 Aurelien Jarno <aurelien@aurel32.net>
19756
19757 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
19758 [!__RLIM_T_MATCHES_RLIM64_T]
19759 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
19760 __getrlimit64. Add libc_hidden_weak.
19761
31a98837
PD
197622018-01-06 Palmer Dabbelt <palmer@sifive.com>
19763
19764 * elf/elf.h (R_RISCV_NONE): New define.
19765 (R_RISCV_32): Likewise.
19766 (R_RISCV_64): Likewise.
19767 (R_RISCV_RELATIVE): Likewise.
19768 (R_RISCV_COPY): Likewise.
19769 (R_RISCV_JUMP_SLOT): Likewise.
19770 (R_RISCV_TLS_DTPMOD32): Likewise.
19771 (R_RISCV_TLS_DTPMOD64): Likewise.
19772 (R_RISCV_TLS_DTPREL32): Likewise.
19773 (R_RISCV_TLS_DTPREL64): Likewise.
19774 (R_RISCV_TLS_TPREL32): Likewise.
19775 (R_RISCV_TLS_TPREL64): Likewise.
00505532
PD
19776 * Makerules (make-link-multidir): Make directories before linking into
19777 them.
150bbac1
PD
19778 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
19779 define.
19780 (VDSO_HASH_LINUX_4_15): Likewise.
1598f3ad
PD
19781 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
19782 in subdirectories of lib.
8e13c51b
PD
19783 * nptl/Makefile (/librt.so): Always depend on
19784 "$(shared-thread-library)".
31a98837 19785
fad7d57e
ST
197862018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19787
19788 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
4a5ce6e9
ST
19789 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
19790 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
19791 (___tls_get_addr).
19792 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
107a35a5
ST
19793 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
19794 "-O2 -march=i686".
01c7e549 19795 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
f417d92c
ST
19796 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
19797 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
19798 * sysdeps/gnu/glob-lstat-compat.c: New file.
19799 * sysdeps/gnu/glob64-lstat-compat.c: New file.
200fc24b 19800 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
fad7d57e 19801
3a32b716
TMQMF
198022018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19803
19804 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
19805 Reserve 16 chars to reloc_addr before calling _itoa_word.
19806
24731685
AJ
198072018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19808
19809 [BZ #22678]
19810 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
19811 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
19812
19be56d8
AJ
19813 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
19814 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
19815
a6d0afb5
AJ
19816 * resource/tst-getrlimit.c: Add copyright header.
19817
8e900969
AJ
198182018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19819 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19820
19821 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
19822 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
19823 Define __GI_getrlimit64 as weak alias of __getrlimit64.
19824 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
19825 instead.
19826 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
19827 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
19828 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
19829 RLIM64_INFINITY): Fix values to match the kernel ones.
19830 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
19831 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
19832 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
19833 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
19834 getrlimit64@@GLIBC_2_27.
19835 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
19836 and setrlimit64.
19837 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
19838 getrlimit, setrlimit, getrlimit64 and setrlimit64.
19839 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
19840 setrlimit, getrlimit64 and setrlimit64.
19841
0d0bc784
AJ
198422018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19843
19844 [BZ #22648]
19845 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
19846 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
19847
ba374b6d
JM
198482018-01-04 Joseph Myers <joseph@codesourcery.com>
19849
19850 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
19851 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
19852 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
19853
4854ddd8
AZ
198542018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19855
b0a4eca2
AZ
19856 [BZ #15479]
19857 [BZ #22666]
19858 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
19859 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
19860
4854ddd8
AZ
19861 [BZ #15479]
19862 [BZ #22665]
19863 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
19864 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
19865 * sysdeps/alpha/fpu/s_floor.c: Likewise.
19866 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
19867
8a5df95f
FW
198682018-01-04 Florian Weimer <fweimer@redhat.com>
19869
19870 [BZ #22667]
19871 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
19872 Align the stack before calling exit.
19873 * stdlib/tst-makecontext-align.c: New file.
19874 * stdlib/Makefile (tests): Add tst-makecontext-align.
19875
82eef55f
FW
198762018-01-04 Florian Weimer <fweimer@redhat.com>
19877
19878 Add support for calling dlvsym from libc.so.
19879 * include/dlfcn.h (__libc_dlvsym): Declare.
19880 * elf/Makefile (tests-static-internal): Add
19881 tst-libc_dlvsym-static.
19882 (tests-internal): Add tst-libc_dlvsym.
19883 (modules-names): Add tst-libc_dlvsym-dso.
19884 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
19885 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
19886 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
19887 object tst-libc_dlvsym-dso.so needs to be built before running
19888 these tests.
19889 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
19890 * elf/Versions: Export __libc_dlvsym.
19891 * elf/dl-libc.c (struct do_dlvsym_args): New.
19892 (do_dlvsym, __libc_dlvsym): New functions.
19893 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
19894 (_dl_open_hook2): New variable.
19895 (__libc_register_dl_open_hook): Set it.
19896 * elf/tst-libc_dlvsym-dso.c: New file.
19897 * elf/tst-libc_dlvsym-static.c: Likewise.
19898 * elf/tst-libc_dlvsym.c: Likewise.
19899 * elf/tst-libc_dlvsym.h: Likewise.
19900
1714fc06
ST
199012018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
19902
19903 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
19904 include <sys/mount.h>.
19905
3c7d0312
WD
199062018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
19907
19908 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
19909 Add __NO_MATH_ERRNO__ check.
19910
7eff0954
JM
199112018-01-02 Joseph Myers <joseph@codesourcery.com>
19912
19913 * sysdeps/mips/mips32/libm-test-ulps: Update.
19914 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19915
77f49956
FW
199162018-01-02 Florian Weimer <fweimer@redhat.com>
19917
19918 * misc/tst-pselect.c: Add copyright header.
19919
363e4519 199202018-01-02 Aurelien Jarno <aurelien@aurel32.net>
d35989be
AJ
19921
19922 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
19923 comment.
19924 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
19925 comment.
19926 (settrlimit): Rename into setrlimit.
19927 (__sttrlimit): Rename into __setrlimit.
19928
3e4226ff
AJ
19929 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
19930 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
19931 never defined in that case.
19932
b9256ab6
JM
199332018-01-02 Joseph Myers <joseph@codesourcery.com>
19934
28fd6a44
JM
19935 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
19936
a4933a15
JM
19937 * sysdeps/arm/libm-test-ulps: Update.
19938
b9256ab6
JM
19939 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
19940 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
19941
4cf82d23
RS
199422018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19943
19944 * NEWS: Add cosf and sincosf to list of optimized functions.
19945
6a9dd7a7
AJ
199462018-01-02 Aurelien Jarno <aurelien@aurel32.net>
19947
19948 [BZ #22660]
19949 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
19950 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
19951 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
19952 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
19953
dbba87d5
DL
199542018-01-01 Dmitry V. Levin <ldv@altlinux.org>
19955
b05cb613
DL
19956 [BZ #22433]
19957 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
19958
dbba87d5
DL
19959 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
19960 making a copy of it.
19961
688903eb
JM
199622018-01-01 Joseph Myers <joseph@codesourcery.com>
19963
66ac23de
JM
19964 * manual/texinfo.tex: Update to version 2017-12-26.21 with
19965 trailing whitespace removed.
19966 * scripts/config.guess: Update to version 2018-01-01.
19967 * scripts/config.sub: Update to version 2018-01-01.
19968 * scripts/move-if-change: Update from gnulib.
19969
09533208
JM
19970 * NEWS: Update copyright dates.
19971 * catgets/gencat.c (print_version): Likewise.
19972 * csu/version.c (banner): Likewise.
19973 * debug/catchsegv.sh: Likewise.
19974 * debug/pcprofiledump.c (print_version): Likewise.
19975 * debug/xtrace.sh (do_version): Likewise.
19976 * elf/ldconfig.c (print_version): Likewise.
19977 * elf/ldd.bash.in: Likewise.
19978 * elf/pldd.c (print_version): Likewise.
19979 * elf/sotruss.sh: Likewise.
19980 * elf/sprof.c (print_version): Likewise.
19981 * iconv/iconv_prog.c (print_version): Likewise.
19982 * iconv/iconvconfig.c (print_version): Likewise.
19983 * locale/programs/locale.c (print_version): Likewise.
19984 * locale/programs/localedef.c (print_version): Likewise.
19985 * login/programs/pt_chown.c (print_version): Likewise.
19986 * malloc/memusage.sh (do_version): Likewise.
19987 * malloc/memusagestat.c (print_version): Likewise.
19988 * malloc/mtrace.pl: Likewise.
19989 * manual/libc.texinfo: Likewise.
19990 * nptl/version.c (banner): Likewise.
19991 * nscd/nscd.c (print_version): Likewise.
19992 * nss/getent.c (print_version): Likewise.
19993 * nss/makedb.c (print_version): Likewise.
19994 * posix/getconf.c (main): Likewise.
19995 * scripts/test-installation.pl: Likewise.
19996 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
19997
688903eb
JM
19998 * All files with FSF copyright notices: Update copyright dates
19999 using scripts/update-copyrights.
20000 * locale/programs/charmap-kw.h: Regenerated.
20001 * locale/programs/locfile-kw.h: Likewise.
20002
4f820792
ZW
200032017-12-31 Zack Weinberg <zackw@panix.com>
20004
20005 * libio/bits/libio-ldbl.h: Correct check for improper
20006 inclusion. Add own multiple include guard.
20007
3e3c904d
AJ
200082017-12-30 Aurelien Jarno <aurelien@aurel32.net>
20009 Dmitry V. Levin <ldv@altlinux.org>
20010
20011 [BZ #22625]
31f96325 20012 CVE-2017-16997
3e3c904d
AJ
20013 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
20014 string token expansion. Check for NULL pointer or empty string possibly
20015 returned by expand_dynamic_string_token.
20016 (decompose_rpath): Check for empty path after dynamic string
20017 token expansion.
20018
7e21972b
DL
200192017-12-29 Dmitry V. Levin <ldv@altlinux.org>
20020
c48831d0
DL
20021 [BZ #22433]
20022 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
20023
ac583f50
DL
20024 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
20025 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
20026 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
20027 and PTRACE_SYSCALL.
20028 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
20029 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20030 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20031 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20032 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20033 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
20034
7e21972b
DL
20035 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
20036 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
20037 __ptrace_peeksiginfo_flags, ptrace): Move to ...
20038 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
20039 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20040 bits/ptrace-shared.h.
20041 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
20042 <bits/ptrace-shared.h>.
20043 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
20044 __ptrace_peeksiginfo_flags, ptrace): Remove.
20045 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20046 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20047 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20048 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20049 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
20050
72f29e3a
AJ
200512017-12-29 Aurelien Jarno <aurelien@aurel32.net>
20052
20053 [BZ #17804]
20054 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
20055 end of the loop. Improve comments.
20056
54e4efc2
AJ
200572017-12-29 Zack Weinberg <zackw@panix.com>
20058
20059 [BZ #22615]
20060 * manual/errno.texi (Checking for Errors): Explicitly say that errno
20061 might be set on success.
20062
f8aa69be
AJ
200632017-12-29 Aurelien Jarno <aurelien@aurel32.net>
20064
20065 [BZ #22611]
20066 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
20067 is unchanged on success.
20068
97f13188
DL
200692017-12-27 Dmitry V. Levin <ldv@altlinux.org>
20070
2bd86632
DL
20071 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
20072 updated.
20073 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
20074 expand_dynamic_string_token): Likewise.
20075 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
20076 is_path argument.
20077
1c36e1e6
DL
20078 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
20079 contains ':'.
20080
97f13188
DL
20081 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
20082 is set and name contains ':', and all code depending on these checks.
20083
48a8f832
ZW
200842017-12-24 Zack Weinberg <zackw@panix.com>
20085
20086 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
20087 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
20088 respectively.
20089 * libio/libio.h: Rename the original version of this file to
20090 libio/bits/libio.h. Error out if not included by stdio.h or the
20091 stub libio.h.
20092 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
20093 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
20094 if not included by bits/libio.h or the stub _G_config.h.
20095 * sysdeps/unix/sysv/linux/_G_config.h: Move to
20096 sysdeps/unix/sysv/linux/bits. Error out if not included by
20097 bits/libio.h or the stub _G_config.h.
20098 * libio/stdio.h: Include bits/libio.h, not libio.h.
20099 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
20100 well as libio.h and _G_config.h.
20101
20102 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
20103 * libio/strfile.h, stdio-common/vfscanf.c
20104 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
20105 Include stdio.h, not _G_config.h nor libio.h.
20106 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
20107 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
20108
20109 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
20110
a47ad79a
DL
201112017-12-23 Dmitry V. Levin <ldv@altlinux.org>
20112
20113 [BZ #22347]
20114 * stdlib/getrandom.c (getrandom): Fix comment.
20115 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
20116
363e4519 201172017-12-23 Aurelien Jarno <aurelien@aurel32.net>
e65a5644 20118
f5c558f3
AJ
20119 [BZ #21161]
20120 * manual/arith.texi (strtoul): Fix a typo.
20121
e65a5644
AJ
20122 [BZ #22596]
20123 * manual/arith.texi (finite): Fix the description of the return
20124 value.
20125
ed8ae46b
EB
201262017-12-22 Eric Blake <ebb9@byu.net>
20127
20128 Avoid gcc warnings on cygwin
20129 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
20130 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
20131 Avoid unused variable.
20132
bad7a0c8
FW
201332017-12-22 Florian Weimer <fweimer@redhat.com>
20134
20135 * io/Makefile (routines): Add copy_file_range.
20136 (tests): Add tst-copy_file_range.
20137 (tests-static, tests-internal): Add tst-copy_file_range-compat.
20138 * io/Versions (GLIBC_2.27): Export copy_file_range.
20139 * io/copy_file_range-compat.c: New file.
20140 * io/copy_file_range.c: Likewise.
20141 * io/tst-copy_file_range-compat.c: Likewise.
20142 * io/tst-copy_file_range.c: Likewise.
20143 * manual/llio.texi (Copying File Data): New section.
20144 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
20145 * support/Makefile (libsupport-routines): Add support-xfstat,
20146 xftruncate, xlseek.
20147 * support/support-xfstat.c: New file.
20148 * support/xftruncate.c: Likewise.
20149 * support/xlseek.c: Likewise.
20150 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
20151 * sysdeps/unix/sysv/linux/**.abilist: Update.
20152 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
20153
6cb86fd2
SN
201542017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
20155
20156 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20157 disable-multi-arch variant to aarch64-linux-gnu.
20158
41d11b15
JM
201592017-12-20 Joseph Myers <joseph@codesourcery.com>
20160
20161 * manual/texinfo.tex: Update to version 2017-12-18.20 with
20162 trailing whitespace removed.
20163 * scripts/config.guess: Update to version 2017-12-17.
20164 * scripts/config.sub: Update to version 2017-11-23.
20165 * scripts/install-sh: Update to version 2017-09-23.17.
20166 * scripts/move-if-change: Update to version 2017-09-13 06:45.
20167
4735850f
AZ
201682017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20169
8d2d239c
AZ
20170 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
20171 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
20172 * sysdeps/tile/_mcount.S (__mcount): Likewise.
20173 * sysdeps/tile/crti.S (_init, _fini): Likewise.
20174 * sysdeps/tile/crtn.S: Likewise.
20175 * sysdeps/tile/dl-start.S (_start): Likewise.
20176 * sysdeps/tile/dl-trampoline.S: Likewise.
20177 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
20178 * sysdeps/tile/start.S (_start): Likewise.
20179 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
20180 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
20181 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
20182 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
20183 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
20184 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
20185 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
20186
24d1d8ec
AZ
20187 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
20188 comment.
20189 * sysdeps/tile/preconfigure: Remove tilegx folder.
20190 * sysdeps/tile/tilegx/Implies: Move definitions to ...
20191 * sysdeps/tile/Implies: ... here.
20192 * sysdeps/tile/tilegx/Makefile: Move rules to ...
20193 * sysdeps/tile/Makefile: ... here.
20194 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
20195 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
20196 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
20197 * sysdeps/tile/bits/wordsize.h: ... here.
20198 * sysdeps/tile/tilegx/*: Move to ...
20199 * sysdeps/tile/*: ... here.
20200 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
20201 * sysdeps/tile/tilegx32/Implies: ... here.
20202 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
20203 * sysdeps/tile/tilegx64/Implies: ... here.
20204 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
20205 to ...
20206 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
20207 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
20208 * sysdeps/unix/sysv/linux/tile/*: ... here.
20209 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
20210 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
20211 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
20212 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
20213
ed95f611
AZ
20214 * README: Remove tilepro-*-linux-gnu from supported architecture.
20215 * scripts/build-many-glibcs.py: Likewise.
20216 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
20217 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
20218 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
20219 elf_machine_matches_host, elf_machine_dynamic,
20220 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
20221 howto, elf_machine_rela): Likewise.
20222 * sysdeps/tile/dl-start.S (_start): Likewise.
20223 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
20224 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
20225 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
20226 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
20227 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
20228 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
20229 Likewise.
20230 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
20231 * sysdeps/tile/preconfigure: Likewise.
20232 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
20233 POINTER_CHK_GUARD): Likewise.
20234 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
20235 * sysdeps/tile/start.S (_start): Likewise.
20236 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
20237 Likewise.
20238 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
20239 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
20240 CMOVNEZ): Remove.
20241 * sysdeps/unix/sysv/linux/tile/bits/environments.h
20242 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
20243 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
20244 Likewise.
20245 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
20246 * sysdeps/tile/tilepro/Implies: Remove file.
20247 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
20248 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
20249 * sysdeps/tile/tilepro/memchr.c: Likewise.
20250 * sysdeps/tile/tilepro/memcpy.S: Likewise.
20251 * sysdeps/tile/tilepro/memset.c: Likewise.
20252 * sysdeps/tile/tilepro/memusage.h: Likewise.
20253 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
20254 * sysdeps/tile/tilepro/strchr.c: Likewise.
20255 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
20256 * sysdeps/tile/tilepro/strlen.c: Likewise.
20257 * sysdeps/tile/tilepro/strrchr.c: Likewise.
20258 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
20259 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
20260 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
20261 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
20262 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
20263 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
20264 Likewise.
20265 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
20266 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20267 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
20268 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
20269 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20270 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
20271 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
20272 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
20273 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
20274 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
20275 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
20276 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
20277 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
20278 tilepro mention in comment.
20279
4735850f
AZ
20280 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
20281 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
20282 * nptl/pthread_join_common.c: New file: common function used on
20283 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
20284 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
20285 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
20286 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
20287 (cleanup): Move definition to pthread_join_common.c.
20288 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
20289 Remove superflous checks.
20290 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
20291 Likewise.
20292
8bfb461e
SN
202932017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
20294
20295 * sysdeps/aarch64/libm-test-ulps: Update.
20296
4e001969
AZ
202972017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20298
20299 * sysdeps/aarch64/memset.S (MEMSET): Define.
20300
8a26ad2a
FW
203012017-12-20 Florian Weimer <fweimer@redhat.com>
20302
20303 [BZ #22635]
20304 nptl: Provide full implementation of pthread_self in libc.so.
20305 * nptl/Makefile (routines): Add pthread_self.
20306 (libpthread-routines): Replace pthread_self with
20307 compat-pthread_self.
20308 * nptl/forward.c (pthread_self): Remove.
20309 * nptl/nptl-init.c (pthread_functions): Do not initialize
20310 ptr_pthread_self.
20311 * nptl/pthread_self.c (pthread_self): Remove weak alias.
20312 * nptl/compat-pthread_self.c: New file.
20313 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
20314 Remove ptr_pthread_self.
20315
5069ff32
AR
203162017-12-19 Arnold D. Robbins <arnold@skeeve.com>
20317
20318 * posix/regcomp.c: Fix spelling in comments.
20319 * posix/regex.h: Likewise.
20320 * posix/regex_internal.c: Likewise.
20321 * posix/regexec.c: Likewise.
20322
c85e54ac
GG
203232017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
20324
20325 [BZ #22377]
20326 * math/Makefile [C++] (tests): Add test for iseqsig.
20327 * math/math.h [C++] (iseqsig): New implementation, which does
20328 not rely on __MATH_TG/__builtin_types_compatible_p.
20329 * math/test-math-iseqsig.cc: New file.
20330 * sysdeps/powerpc/powerpc64le/Makefile
20331 (CFLAGS-test-math-iseqsig.cc): New variable.
20332
10e93d96
DL
203332017-12-19 Dmitry V. Levin <ldv@altlinux.org>
20334
20335 * elf/dl-load.c (is_trusted_path): Remove.
20336 (fillin_rpath): Remove check_trusted argument and its use,
20337 all callers changed.
20338
ce16eb52
L
203392017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20340
20341 [BZ #22630]
20342 * Makeconfig (link-pie-before-libc): Replace -pie with
20343 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
20344 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
20345 (tst-dlopen-aout-no-pie): New.
20346 (LDFLAGS-tst-prelink): Removed.
20347 (tst-prelink-no-pie): New.
20348 (LDFLAGS-tst-main1): Removed.
20349 (tst-main1-no-pie): New.
20350 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
20351 (tst-gmon-no-pie): New.
20352
126adc89
L
203532017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20354
20355 * manual/install.texi: Document that --enable-static-pie
20356 implies PIE.
20357 * INSTALL: Regenerated.
20358
648615e1
BE
203592017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
20360
20361 [BZ #21309]
20362 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
20363 unsigned.
20364
f1e00502
JM
203652017-12-19 Joseph Myers <joseph@codesourcery.com>
20366
20367 Revert:
20368
20369 2017-12-19 Joseph Myers <joseph@codesourcery.com>
20370
20371 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20372
20373 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20374
20375 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
20376 <errno.h>. Include "eexp.tbl".
20377 (half): New constant.
20378 (one): Likewise.
20379 (__ieee754_exp): Rewrite.
20380 (__slowexp): Remove prototype.
20381 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
20382 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
20383 * sysdeps/i386/fpu/slowexp.c: Likewise.
20384 * sysdeps/ia64/fpu/slowexp.c: Likewise.
20385 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
20386 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
20387 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
20388 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20389 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
20390 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
20391 comment.
20392 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
20393 (CPPFLAGS-slowexp.c): Remove variable.
20394 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20395 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
20396 (CFLAGS-slowexp-fma.c): Remove variable.
20397 (CFLAGS-slowexp-fma4.c): Likewise.
20398 (CFLAGS-slowexp-avx.c): Likewise.
20399 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
20400 define as macro.
20401 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
20402 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
20403 * math/Makefile (type-double-routines): Remove slowexp.
20404 * manual/probes.texi (slowexp_p6): Remove.
20405 (slowexp_p32): Likewise.
20406
d711a00f
AZ
204072017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20408
e184ac3a
AZ
20409 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
20410 arithmetic.
20411
d711a00f
AZ
20412 * lib/glob.c (glob): Do not pass NULL to mempcpy.
20413
6f58c10d
JM
204142017-12-19 Joseph Myers <joseph@codesourcery.com>
20415
20416 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20417
6fd0a3c6
PM
204182017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20419
20420 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
20421 <errno.h>. Include "eexp.tbl".
20422 (half): New constant.
20423 (one): Likewise.
20424 (__ieee754_exp): Rewrite.
20425 (__slowexp): Remove prototype.
20426 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
20427 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
20428 * sysdeps/i386/fpu/slowexp.c: Likewise.
20429 * sysdeps/ia64/fpu/slowexp.c: Likewise.
20430 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
20431 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
20432 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
20433 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20434 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
20435 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
20436 comment.
20437 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
20438 (CPPFLAGS-slowexp.c): Remove variable.
20439 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20440 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
20441 (CFLAGS-slowexp-fma.c): Remove variable.
20442 (CFLAGS-slowexp-fma4.c): Likewise.
20443 (CFLAGS-slowexp-avx.c): Likewise.
20444 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
20445 define as macro.
20446 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
20447 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
20448 * math/Makefile (type-double-routines): Remove slowexp.
20449 * manual/probes.texi (slowexp_p6): Remove.
20450 (slowexp_p32): Likewise.
20451
3bb1ef58 204522017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6b5c8607 20453 James Clarke <jrtc27@jrtc27.com>
3bb1ef58
AZ
20454
20455 [BZ #22603]
20456 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
20457 addition.
20458
554e3d51
AZ
204592017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20460
20461 [BZ #22605]
20462 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
20463 code.
20464
cba595c3
L
204652017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20466
20467 [BZ #22563]
20468 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20469 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
20470 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20471 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
20472 to feature_1.
20473
f81ddabf
L
204742017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20475
20476 [BZ #22563]
20477 * bits/types/__cancel_jmp_buf_tag.h: New file.
20478 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
20479 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
20480 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
20481 * nptl/Makefile (headers): Add
20482 bits/types/__cancel_jmp_buf_tag.h.
20483 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
20484 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
20485 * sysdeps/nptl/pthread.h: Include
20486 <bits/types/__cancel_jmp_buf_tag.h>.
20487 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
20488 __cancel_jmp_buf.
20489 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
20490
1a49fc59
L
204912017-12-18 H.J. Lu <hongjiu.lu@intel.com>
20492
20493 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20494 --enable-static-pie variants to x86_64, x32 and i686.
20495
8e52f573
JM
204962017-12-19 Joseph Myers <joseph@codesourcery.com>
20497
66425185
JM
20498 [BZ #22631]
20499 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
20500 argument for attrubutes. All callers changed.
20501 (__inline_mathop1): Likewise. All callers changed.
20502 (__inline_mathop): Likewise. All callers changed.
20503 [__USE_MISC] (scalbn): Use __inline_forward instead of
20504 __inline_forward_c.
20505 [__USE_ISOC99] (scalbln): Likewise.
20506 [__USE_ISOC99] (nearbyint): Likewise.
20507 [__USE_ISOC99] (lrint): Likewise.
20508 [__USE_MISC] (scalbnf): Likewise.
20509 [__USE_ISOC99] (scalblnf): Likewise.
20510 [__USE_ISOC99] (nearbyintf): Likewise.
20511 [__USE_ISOC99] (lrintf): Likewise.
20512 [__USE_MISC] (scalbnl): Likewise.
20513 [__USE_ISOC99] (scalblnl): Likewise.
20514 [__USE_ISOC99] (nearbyintl): Likewise.
20515 [__USE_ISOC99] (lrintl): Likewise.
20516 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
20517 __inline_mathop and __m81_defun changed.
20518
8e52f573
JM
20519 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
20520 CPU or FPU for ARM hard-float configurations.
20521
1421f39b
JM
205222017-12-18 Joseph Myers <joseph@codesourcery.com>
20523
40c4162d
JM
20524 * nptl/tst-attr3.c: Include <libc-diag.h>.
20525 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
20526
5983df32
JM
20527 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
20528
1421f39b
JM
20529 * string/tester.c (test_strncat): Also disable -Warray-bounds
20530 warnings for two tests.
20531
00c714df
L
205322017-12-18 H.J. Lu <hongjiu.lu@intel.com>
20533
20534 [BZ #22614]
20535 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
20536 $(cc-pie-default) == yes.
20537 * config.make.in (cc-pie-default): New.
20538 * configure.ac (libc_cv_pie_default): Renamed to ...
20539 (libc_cv_cc_pie_default): This.
20540 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
20541 * configure: Regenerated.
20542
8e1472d2
FW
205432017-12-18 Florian Weimer <fweimer@redhat.com>
20544
20545 [BZ #20204]
20546 ld.so: Harden dl-libc/libdl hooks.
20547 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
20548 (rtld_active): New function.
20549 * dlfcn/dladdr.c (__dladdr): Call it.
20550 * dlfcn/dladdr1.c (__dladdr1): Likewise.
20551 * dlfcn/dlclose.c (__dlcose): Likewise.
20552 * dlfcn/dlerror.c (__dlerror): Likewise.
20553 * dlfcn/dlinfo.c (__dlinfo): Likewise.
20554 * dlfcn/dlmopen.c (__dlmopen): Likewise.
20555 * dlfcn/dlopen.c (__dlopen): Likewise.
20556 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
20557 * dlfcn/dlsym.c (__dlsym): Likewise.
20558 * dlfcn/dlvsym.c (__dlvsym): Likewise.
20559 * libio/vtables.c (_IO_vtable_check): Likewise.
20560 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
20561 (__libc_dlclose): Likewise.
20562 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
20563 assignment.
20564
49b036bc
JM
205652017-12-18 Joseph Myers <joseph@codesourcery.com>
20566
20567 [BZ #22446]
20568 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
20569 buffers for readlink input and output.
20570
368b6c8d
ST
205712017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
20572
c85c564d
ST
20573 [BZ #22624]
20574 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
20575 inhibit_stack_protector.
20576
368b6c8d
ST
20577 [BZ #22624]
20578 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
20579 inhibit_stack_protector.
20580
bb195224
DL
205812017-12-18 Dmitry V. Levin <ldv@altlinux.org>
20582
20583 [BZ #22627]
20584 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
20585 code and invocation.
20586
14d886ed
SN
205872017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
20588
20589 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
20590
7d38eb38
AJ
205912017-12-16 Aurelien Jarno <aurelien@aurel32.net>
20592
20593 [BZ #22505]
20594 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
20595
2e77deef
RS
205962017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20597
20598 * sysdeps/s390/fpu/libm-test-ulps: Update.
20599
0b9bef6d
RS
206002017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20601
20602 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20603
984ae996
RS
206042017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20605
20606 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
20607 constants to s_sincosf.h file.
20608 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20609 * sysdeps/ieee754/flt-32/s_sincosf.c: New
20610 implementation.
20611 * sysdeps/ieee754/flt-32/s_sincosf.h:
20612 New file.
20613
363e4519 206142017-12-12 Carlos O'Donell <carlos@redhat.com>
93930ea9
CD
20615
20616 [BZ #14681]
20617 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
20618 before mtrace.
20619
9d7a3741
L
206202017-12-15 H.J. Lu <hongjiu.lu@intel.com>
20621
20622 [BZ #19574]
20623 * INSTALL: Regenerated.
20624 * Makeconfig (real-static-start-installed-name): New.
20625 (pic-default): Updated for --enable-static-pie.
20626 (pie-default): New for --enable-static-pie.
20627 (default-pie-ldflag): Likewise.
20628 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
20629 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
20630 Replace $(static-start-installed-name) with
20631 $(real-static-start-installed-name).
20632 (+prectorT): Updated for --enable-static-pie.
20633 (+postctorT): Likewise.
20634 (CFLAGS-.o): Add $(pie-default).
20635 (CFLAGS-.op): Likewise.
20636 * NEWS: Mention --enable-static-pie.
20637 * config.h.in (ENABLE_STATIC_PIE): New.
20638 * configure.ac (--enable-static-pie): New configure option.
20639 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
20640 (have-static-pie): Likewise.
20641 Enable static PIE if linker supports --no-dynamic-linker.
20642 (ENABLE_STATIC_PIE): New AC_DEFINE.
20643 (enable-static-pie): New LIBC_CONFIG_VAR.
20644 * configure: Regenerated.
20645 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
20646 gr$(start-installed-name) for --enable-static-pie.
20647 (extra-objs): Likewise.
20648 (install-lib): Likewise.
20649 (extra-objs): Add static-reloc.o and static-reloc.os
20650 ($(objpfx)$(start-installed-name)): Also depend on
20651 $(objpfx)static-reloc.o.
20652 ($(objpfx)r$(start-installed-name)): New.
20653 ($(objpfx)g$(start-installed-name)): Also depend on
20654 $(objpfx)static-reloc.os.
20655 ($(objpfx)gr$(start-installed-name)): New.
20656 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
20657 in libc.a.
20658 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
20659 initimage.
20660 * csu/static-reloc.c: New file.
20661 * elf/Makefile (routines): Add dl-reloc-static-pie.
20662 (elide-routines.os): Likewise.
20663 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
20664 (tst-tls1-static-non-pie-no-pie): New.
20665 * elf/dl-reloc-static-pie.c: New file.
20666 * elf/dl-support.c (_dl_get_dl_main_map): New function.
20667 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
20668 STATIC_PIE_BOOTSTRAP.
20669 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
20670 * gmon/Makefile (tests): Add tst-gmon-static-pie.
20671 (tests-static): Likewise.
20672 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
20673 (tst-gmon-static-no-pie): New.
20674 (CFLAGS-tst-gmon-static-pie.c): Likewise.
20675 (CRT-tst-gmon-static-pie): Likewise.
20676 (tst-gmon-static-pie-ENV): Likewise.
20677 (tests-special): Likewise.
20678 ($(objpfx)tst-gmon-static-pie.out): Likewise.
20679 (clean-tst-gmon-static-pie-data): Likewise.
20680 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
20681 * gmon/tst-gmon-static-pie.c: New file.
20682 * manual/install.texi: Document --enable-static-pie.
20683 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
20684 (_dl_get_dl_main_map): Likewise.
20685 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
20686 * sysdeps/x86_64/configure.ac: Likewise.
20687 * sysdeps/i386/configure: Regenerated.
20688 * sysdeps/x86_64/configure: Likewise.
20689 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
20690 (ASFLAGS-.op): Likewise.
20691
95511aab
JM
206922017-12-15 Joseph Myers <joseph@codesourcery.com>
20693
20694 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
20695 * posix/tst-mmap-offset.c (fname): Use /tmp.
20696 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
20697
a7e3edf4
SE
206982017-12-15 Steve Ellcey <sellcey@cavium.com>
20699
20700 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
20701
d232f2e1
TS
207022017-12-15 Thomas Schwinge <thomas@codesourcery.com>
20703
20704 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
20705 errno.
20706
174edbde
JM
207072017-12-15 Joseph Myers <joseph@codesourcery.com>
20708
5170fa49
JM
20709 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
20710 --with-float=hard for arm-linux-gnueabihf configurations.
20711
f2da2fd8
JM
20712 [BZ #14121]
20713 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
20714 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
20715 ($(mo-installed)): Use $(objpfx)%.mo.
20716 (realclean): Remove rule.
20717
0c4fe28d
JM
20718 * po/Makefile (linguas): Remove rule and dependencies.
20719 (linguas.mo): Likewise.
20720 (.PHONY): Do not depend on linguas and linguas.mo.
20721 (podir): Remove variable.
20722 (pofiles): Likewise.
20723 [$(pofiles)] (%.po): Remove rule.
20724
174edbde
JM
20725 * sysdeps/sparc/sparc32/Makefile
20726 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
20727 start-of-line whitespace in argument of echo.
20728 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
20729 with whitespace. Generate __wrap_.udiv alias.
20730 * sysdeps/sparc/sparc32/rem.S: Regenerated.
20731 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
20732 * sysdeps/sparc/sparc32/udiv.S: Likewise.
20733 * sysdeps/sparc/sparc32/urem.S: Likewise.
20734
1e36806f
RS
207352017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20736
20737 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
20738 for aligned inputs.
20739
aa6932aa
SP
207402017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
20741
5f1603c3
SP
20742 * benchtests/bench-strcmp.c: Print output in JSON format.
20743
aa6932aa
SP
20744 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
20745
3ff3dfa5
FW
207462017-12-14 Florian Weimer <fweimer@redhat.com>
20747
20748 [BZ #22607]
20749 CVE-2017-1000409
20750 * elf/dl-load.c (_dl_init_paths): Compute number of components in
20751 the expanded path string.
20752
8a0b17e4
FW
207532017-12-14 Florian Weimer <fweimer@redhat.com>
20754
20755 [BZ #22606]
20756 CVE-2017-1000408
20757 * elf/dl-load.c (system_dirs): Update comment.
20758 (nsystem_dirs_len): Use array_length.
20759 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
20760
f58bd7f0
FW
207612017-12-14 Florian Weimer <fweimer@redhat.com>
20762
20763 Simplify compiling most of support/ outside of glibc.
20764 * support/check_addrinfo.c: Include <string.h>.
20765 * support/check_dns_packet.c: Likewise.
20766 * support/check_hostent.c: Likewise.
20767 * support/support_can_chroot.c: Include <support/xunistd.h>.
20768 * support/support_format_addrinfo.c: Include <stdlib.h>
20769 * support/support_format_dns_packet.c: Include <stdbool.h>.
20770 * support/support_format_hostent.c: Include <stdlib.h>.
20771 * support/support_format_netent.c: Likewise.
20772 * support/support_write_string.c: Include <support/xunistd.h>.
20773 * support/xdlfcn.c: Include <stddef.h>.
20774
4ca945e9
L
207752017-12-14 H.J. Lu <hongjiu.lu@intel.com>
20776
20777 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
20778
1b6e07f8
PM
207792017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20780 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20781
e6a1c5dc
PM
20782 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20783 (sysdeps_routines): Add memset-niagara7.
20784 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
20785 Likewise.
20786 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
20787 file.
20788 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
20789 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
20790 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
20791 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
20792 Add niagara7 option.
20793 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
20794 memset.
20795
1b6e07f8
PM
20796 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20797 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
20798 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
20799 Likewise.
20800 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
20801 New file.
20802 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
20803 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
20804 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
20805 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
20806 and __memmove_niagara7.
20807 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
20808 Add niagara7 option.
20809 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
20810 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
20811 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
20812 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
20813 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
20814
bfb7bf22
JM
208152017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
20816
767a26d6
JM
20817 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
20818 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
20819 * sysdeps/sparc/sparc64/memmove.S: Likewise.
20820 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
20821
bfb7bf22
JM
20822 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
20823 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
20824 _dl_sparc_cap_flags array.
20825 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
20826
2bce01eb
SP
208272017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
20828
20829 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
20830 time whenever possible.
20831
363e4519 208322017-12-12 Carlos O'Donell <carlos@redhat.com>
243b6333
CD
20833
20834 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
20835 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
20836
6f7c0092
JM
208372017-12-12 Joseph Myers <joseph@codesourcery.com>
20838
20839 * soft-fp/fmadf4.c: Move to ....
20840 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
20841 * soft-fp/fmasf4.c: Move to ....
20842 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
20843 * soft-fp/fmatf4.c: Move to ....
20844 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
20845 * sysdeps/ieee754/soft-fp/Makefile: New file.
20846 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
20847 * sysdeps/arm/preconfigure: Regenerated.
20848 * sysdeps/arm/nofpu/Implies: New file.
20849 * sysdeps/arm/s_fma.c: Remove file.
20850 * sysdeps/arm/s_fmaf.c: Likewise.
20851 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
20852 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
20853 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
20854 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
20855 * sysdeps/microblaze/s_fma.c: Remove file.
20856 * sysdeps/microblaze/s_fmaf.c: Likewise.
20857 * sysdeps/mips/mips32/nofpu/Implies: New file.
20858 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
20859 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
20860 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
20861 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
20862 * sysdeps/mips/ieee754/s_fma.c: Remove file.
20863 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
20864 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
20865 implementation.
20866 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
20867 * sysdeps/nios2/s_fma.c: Remove file.
20868 * sysdeps/nios2/s_fmaf.c: Likewise.
20869 * sysdeps/sh/nofpu/Implies: New file.
20870 * sysdeps/sh/s_fma.c: Remove file.
20871 * sysdeps/sh/s_fmaf.c: Likewise.
20872 * sysdeps/tile/Implies: Add ieee754/soft-fp.
20873 * sysdeps/tile/s_fma.c: Remove file.
20874 * sysdeps/tile/s_fmaf.c: Likewise.
20875
ac817e08
L
208762017-12-12 H.J. Lu <hongjiu.lu@intel.com>
20877
20878 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20879 Add s_cosf-sse2 and s_cosf-fma.
20880 (CFLAGS-s_cosf-fma.c): New.
20881 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
20882 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
20883 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
20884
eb428576
SE
208852017-12-12 Steve Ellcey <sellcey@cavium.com>
20886
20887 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
20888
c80acdc3
AZ
208892017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20890
cc683f7e
AZ
20891 * libio/Makefile (tests): Add tst-bz22415.
20892 (tst-bz22415-ENV): New rule.
20893 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
20894 (tests-special): Add tst-bz22415-mem.out.
20895 ($(objpfx)tst-bz22415-mem.out): New rule.
20896 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
20897 in case of a successful seek operation.
20898 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20899 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
20900 buffer is required.
20901 * libio/tst-bz22415.c: New test.
20902
c80acdc3
AZ
20903 * sysdeps/ia64/fpu/libm-test-ulps: Update.
20904
363e4519 209052017-12-12 James Clarke <jrtc27@jrtc27.com>
89bd8016
JC
20906
20907 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
20908 __IPC_64 to 0 to avoid IPC_64 being set.
20909
4e0dca54
SN
209102017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
20911
20912 [BZ #22593]
20913 * math/bits/mathcalls.h (nextafter): Remove const.
20914 (nexttoward): Likewise.
20915
8df5d347
JM
209162017-12-12 Joseph Myers <joseph@codesourcery.com>
20917
20918 * configure.ac (--with-fp): Remove configure option.
20919 (with_fp_cond): New variable.
20920 (libc_cv_with_fp): New configure test. Use this variable instead
20921 of with_fp.
20922 * configure: Regenerated.
20923 * config.make.in (with-fp): Use @libc_cv_with_fp@.
20924 * manual/install.texi (Configuring and compiling): Remove
20925 --without-fp.
20926 * INSTALL: Regenerated.
20927 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
20928 * sysdeps/mips/preconfigure (with_fp_cond): Define.
20929 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
20930 * sysdeps/sh/preconfigure (with_fp_cond): Define.
20931 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
20932 use --without-fp to configure glibc.
20933
0cee1257
RJ
209342017-12-12 Rical Jasan <ricaljasan@pacific.net>
20935
20936 * manual/locale.texi (nl_langinfo): Fix a typo.
20937
363e4519 209382017-12-12 Aurelien Jarno <aurelien@aurel32.net>
f54ad2f9
AJ
20939
20940 [BZ #22588]
20941 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
20942
36975e8e
L
209432017-12-11 H.J. Lu <hongjiu.lu@intel.com>
20944
20945 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
20946 (CFLAGS-argp-parse.c): Likewise.
20947 (CFLAGS-argp-fmtstream.c): Likewise.
20948 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
20949 (CPPFLAGS-sha512-crypt.c): Likewise.
20950 (CPPFLAGS-md5-crypt.c): Likewise.
20951 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
20952 (CFLAGS-stack_chk_fail_local.c): Likewise.
20953 (CFLAGS-backtrace.c): Likewise.
20954 (CFLAGS-sprintf_chk.c): Likewise.
20955 (CFLAGS-snprintf_chk.c): Likewise.
20956 (CFLAGS-vsprintf_chk.c): Likewise.
20957 (CFLAGS-vsnprintf_chk.c): Likewise.
20958 (CFLAGS-asprintf_chk.c): Likewise.
20959 (CFLAGS-vasprintf_chk.c): Likewise.
20960 (CFLAGS-obprintf_chk.c): Likewise.
20961 (CFLAGS-dprintf_chk.c): Likewise.
20962 (CFLAGS-vdprintf_chk.c): Likewise.
20963 (CFLAGS-printf_chk.c): Likewise.
20964 (CFLAGS-fprintf_chk.c): Likewise.
20965 (CFLAGS-vprintf_chk.c): Likewise.
20966 (CFLAGS-vfprintf_chk.c): Likewise.
20967 (CFLAGS-gets_chk.c): Likewise.
20968 (CFLAGS-fgets_chk.c): Likewise.
20969 (CFLAGS-fgets_u_chk.c): Likewise.
20970 (CFLAGS-fread_chk.c): Likewise.
20971 (CFLAGS-fread_u_chk.c): Likewise.
20972 (CFLAGS-swprintf_chk.c): Likewise.
20973 (CFLAGS-vswprintf_chk.c): Likewise.
20974 (CFLAGS-wprintf_chk.c): Likewise.
20975 (CFLAGS-fwprintf_chk.c): Likewise.
20976 (CFLAGS-vwprintf_chk.c): Likewise.
20977 (CFLAGS-vfwprintf_chk.c): Likewise.
20978 (CFLAGS-fgetws_chk.c): Likewise.
20979 (CFLAGS-fgetws_u_chk.c): Likewise.
20980 (CFLAGS-read_chk.c): Likewise.
20981 (CFLAGS-pread_chk.c): Likewise.
20982 (CFLAGS-pread64_chk.c): Likewise.
20983 (CFLAGS-recv_chk.c): Likewise.
20984 (CFLAGS-recvfrom_chk.c): Likewise.
20985 (CFLAGS-tst-longjmp_chk.c): Likewise.
20986 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
20987 (CFLAGS-tst-longjmp_chk2.c): Likewise.
20988 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
20989 (CFLAGS-tst-longjmp_chk3.c): Likewise.
20990 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
20991 (CFLAGS-tst-chk1.c): Likewise.
20992 (CFLAGS-tst-chk2.c): Likewise.
20993 (CFLAGS-tst-chk3.c): Likewise.
20994 (CFLAGS-tst-chk4.cc): Likewise.
20995 (CFLAGS-tst-chk5.cc): Likewise.
20996 (CFLAGS-tst-chk6.cc): Likewise.
20997 (CFLAGS-tst-lfschk1.c): Likewise.
20998 (CFLAGS-tst-lfschk2.c): Likewise.
20999 (CFLAGS-tst-lfschk3.c): Likewise.
21000 (CFLAGS-tst-lfschk4.cc): Likewise.
21001 (CFLAGS-tst-lfschk5.cc): Likewise.
21002 (CFLAGS-tst-lfschk6.cc): Likewise.
21003 (CFLAGS-tst-ssp-1.c): Likewise.
21004 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
21005 (CFLAGS-scandir64.c): Likewise.
21006 (CFLAGS-scandir-tail.c): Likewise.
21007 (CFLAGS-scandir64-tail.c): Likewise.
21008 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
21009 (CFLAGS-dl-tunables.c): Likewise.
21010 (CFLAGS-dl-runtime.c): Likewise.
21011 (CFLAGS-dl-lookup.c): Likewise.
21012 (CFLAGS-dl-iterate-phdr.c): Likewise.
21013 (CFLAGS-vismain.c): Likewise.
21014 (CFLAGS-tst-linkall-static.c): Likewise.
21015 (CFLAGS-tst-linkall-static.c): Likewise.
21016 (CPPFLAGS-dl-load.c): Likewise.
21017 (CFLAGS-ldconfig.c): Likewise.
21018 (CFLAGS-dl-cache.c): Likewise.
21019 (CFLAGS-cache.c): Likewise.
21020 (CFLAGS-rtld.c): Likewise.
21021 (CFLAGS-multiload.c): Likewise.
21022 (CFLAGS-filtmod1.c): Likewise.
21023 (CFLAGS-tst-align.c): Likewise.
21024 (CFLAGS-tst-align2.c): Likewise.
21025 (CFLAGS-tst-alignmod.c): Likewise.
21026 (CFLAGS-tst-alignmod2.c): Likewise.
21027 (CPPFLAGS-tst-execstack.c): Likewise.
21028 (CFLAGS-tst-ptrguard1-static.c): Likewise.
21029 (CFLAGS-tst-latepthreadmod.c): Likewise.
21030 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
21031 (CFLAGS-getgrnam_r.c): Likewise.
21032 (CFLAGS-getgrent_r.c): Likewise.
21033 (CFLAGS-getgrent.c): Likewise.
21034 (CFLAGS-fgetgrent.c): Likewise.
21035 (CFLAGS-fgetgrent_r.c): Likewise.
21036 (CFLAGS-putgrent.c): Likewise.
21037 (CFLAGS-initgroups.c): Likewise.
21038 (CFLAGS-getgrgid.c): Likewise.
21039 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
21040 (CFLAGS-getsgent.c): Likewise.
21041 (CFLAGS-fgetsgent.c): Likewise.
21042 (CFLAGS-fgetsgent_r.c): Likewise.
21043 (CFLAGS-putsgent.c): Likewise.
21044 (CFLAGS-getsgnam.c): Likewise.
21045 (CFLAGS-getsgnam_r.c): Likewise.
21046 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
21047 (CFLAGS-iconv_charmap.c): Likewise.
21048 (CFLAGS-dummy-repertoire.c): Likewise.
21049 (CFLAGS-charmap.c): Likewise.
21050 (CFLAGS-linereader.c): Likewise.
21051 (CFLAGS-simple-hash.c): Likewise.
21052 (CFLAGS-gconv_conf.c): Likewise.
21053 (CFLAGS-iconvconfig.c): Likewise.
21054 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
21055 (CFLAGS-gethstbyad.c): Likewise.
21056 (CFLAGS-gethstbynm_r.c): Likewise.
21057 (CFLAGS-gethstbynm.c): Likewise.
21058 (CFLAGS-gethstbynm2_r.c): Likewise.
21059 (CFLAGS-gethstbynm2.c): Likewise.
21060 (CFLAGS-gethstent_r.c): Likewise.
21061 (CFLAGS-gethstent.c): Likewise.
21062 (CFLAGS-rcmd.c): Likewise.
21063 (CFLAGS-getnetbynm_r.c): Likewise.
21064 (CFLAGS-getnetbynm.c): Likewise.
21065 (CFLAGS-getnetbyad_r.c): Likewise.
21066 (CFLAGS-getnetbyad.c): Likewise.
21067 (CFLAGS-getnetent_r.c): Likewise.
21068 (CFLAGS-getnetent.c): Likewise.
21069 (CFLAGS-getaliasent_r.c): Likewise.
21070 (CFLAGS-getaliasent.c): Likewise.
21071 (CFLAGS-getrpcent_r.c): Likewise.
21072 (CFLAGS-getrpcent.c): Likewise.
21073 (CFLAGS-getservent_r.c): Likewise.
21074 (CFLAGS-getservent.c): Likewise.
21075 (CFLAGS-getprtent_r.c): Likewise.
21076 (CFLAGS-getprtent.c): Likewise.
21077 (CFLAGS-either_ntoh.c): Likewise.
21078 (CFLAGS-either_hton.c): Likewise.
21079 (CFLAGS-getnetgrent.c): Likewise.
21080 (CFLAGS-getnetgrent_r.c): Likewise.
21081 (CFLAGS-tst-checks-posix.c): Likewise.
21082 (CFLAGS-tst-sockaddr.c): Likewise.
21083 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
21084 (CFLAGS-tst-translit.c): Likewise.
21085 (CFLAGS-tst-gettext2.c): Likewise.
21086 (CFLAGS-tst-codeset.c): Likewise.
21087 (CFLAGS-tst-gettext3.c): Likewise.
21088 (CFLAGS-tst-gettext4.c): Likewise.
21089 (CFLAGS-tst-gettext5.c): Likewise.
21090 (CFLAGS-tst-gettext6.c): Likewise.
21091 * io/Makefile (CFLAGS-open.c): Likewise.
21092 (CFLAGS-open64.c): Likewise.
21093 (CFLAGS-creat.c): Likewise.
21094 (CFLAGS-creat64.c): Likewise.
21095 (CFLAGS-fcntl.c): Likewise.
21096 (CFLAGS-poll.c): Likewise.
21097 (CFLAGS-ppoll.c): Likewise.
21098 (CFLAGS-lockf.c): Likewise.
21099 (CFLAGS-statfs.c): Likewise.
21100 (CFLAGS-fstatfs.c): Likewise.
21101 (CFLAGS-statvfs.c): Likewise.
21102 (CFLAGS-fstatvfs.c): Likewise.
21103 (CFLAGS-fts.c): Likewise.
21104 (CFLAGS-fts64.c): Likewise.
21105 (CFLAGS-ftw.c): Likewise.
21106 (CFLAGS-ftw64.c): Likewise.
21107 (CFLAGS-lockf.c): Likewise.
21108 (CFLAGS-posix_fallocate.c): Likewise.
21109 (CFLAGS-posix_fallocate64.c): Likewise.
21110 (CFLAGS-fallocate.c): Likewise.
21111 (CFLAGS-fallocate64.c): Likewise.
21112 (CFLAGS-read.c): Likewise.
21113 (CFLAGS-write.c): Likewise.
21114 (CFLAGS-test-stat.c): Likewise.
21115 (CFLAGS-test-lfs.c): Likewise.
21116 * libio/Makefile (CFLAGS-fileops.c): Likewise.
21117 (CFLAGS-fputc.c): Likewise.
21118 (CFLAGS-fputwc.c): Likewise.
21119 (CFLAGS-freopen64.c): Likewise.
21120 (CFLAGS-freopen.c): Likewise.
21121 (CFLAGS-fseek.c): Likewise.
21122 (CFLAGS-fseeko64.c): Likewise.
21123 (CFLAGS-fseeko.c): Likewise.
21124 (CFLAGS-ftello64.c): Likewise.
21125 (CFLAGS-ftello.c): Likewise.
21126 (CFLAGS-fwide.c): Likewise.
21127 (CFLAGS-genops.c): Likewise.
21128 (CFLAGS-getc.c): Likewise.
21129 (CFLAGS-getchar.c): Likewise.
21130 (CFLAGS-getwc.c): Likewise.
21131 (CFLAGS-getwchar.c): Likewise.
21132 (CFLAGS-iofclose.c): Likewise.
21133 (CFLAGS-iofflush.c): Likewise.
21134 (CFLAGS-iofgetpos64.c): Likewise.
21135 (CFLAGS-iofgetpos.c): Likewise.
21136 (CFLAGS-iofgets.c): Likewise.
21137 (CFLAGS-iofgetws.c): Likewise.
21138 (CFLAGS-iofputs.c): Likewise.
21139 (CFLAGS-iofputws.c): Likewise.
21140 (CFLAGS-iofread.c): Likewise.
21141 (CFLAGS-iofsetpos64.c): Likewise.
21142 (CFLAGS-iofsetpos.c): Likewise.
21143 (CFLAGS-ioftell.c): Likewise.
21144 (CFLAGS-iofwrite.c): Likewise.
21145 (CFLAGS-iogetdelim.c): Likewise.
21146 (CFLAGS-iogetline.c): Likewise.
21147 (CFLAGS-iogets.c): Likewise.
21148 (CFLAGS-iogetwline.c): Likewise.
21149 (CFLAGS-ioputs.c): Likewise.
21150 (CFLAGS-ioseekoff.c): Likewise.
21151 (CFLAGS-ioseekpos.c): Likewise.
21152 (CFLAGS-iosetbuffer.c): Likewise.
21153 (CFLAGS-iosetvbuf.c): Likewise.
21154 (CFLAGS-ioungetc.c): Likewise.
21155 (CFLAGS-ioungetwc.c): Likewise.
21156 (CFLAGS-oldfileops.c): Likewise.
21157 (CFLAGS-oldiofclose.c): Likewise.
21158 (CFLAGS-oldiofgetpos64.c): Likewise.
21159 (CFLAGS-oldiofgetpos.c): Likewise.
21160 (CFLAGS-oldiofsetpos64.c): Likewise.
21161 (CFLAGS-oldiofsetpos.c): Likewise.
21162 (CFLAGS-peekc.c): Likewise.
21163 (CFLAGS-putc.c): Likewise.
21164 (CFLAGS-putchar.c): Likewise.
21165 (CFLAGS-putwc.c): Likewise.
21166 (CFLAGS-putwchar.c): Likewise.
21167 (CFLAGS-rewind.c): Likewise.
21168 (CFLAGS-wfileops.c): Likewise.
21169 (CFLAGS-wgenops.c): Likewise.
21170 (CFLAGS-oldiofopen.c): Likewise.
21171 (CFLAGS-iofopen.c): Likewise.
21172 (CFLAGS-iofopen64.c): Likewise.
21173 (CFLAGS-oldtmpfile.c): Likewise.
21174 (CFLAGS-tst_putwc.c): Likewise.
21175 * locale/Makefile (CFLAGS-md5.c): Likewise.
21176 (CFLAGS-charmap.c): Likewise.
21177 (CFLAGS-locfile.c): Likewise.
21178 (CFLAGS-charmap-dir.c): Likewise.
21179 * login/Makefile (CFLAGS-grantpt.c): Likewise.
21180 (CFLAGS-getpt.c): Likewise.
21181 (CFLAGS-pt_chown.c): Likewise.
21182 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
21183 (CFLAGS-obstack.c): Likewise.
21184 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
21185 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
21186 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
21187 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
21188 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
21189 (CFLAGS-test-tgmath.c): Likewise.
21190 (CFLAGS-test-tgmath2.c): Likewise.
21191 (CFLAGS-test-tgmath-ret.c): Likewise.
21192 (CFLAGS-test-powl.c): Likewise.
21193 (CFLAGS-test-snan.c): Likewise.
21194 (CFLAGS-test-signgam-finite.c): Likewise.
21195 (CFLAGS-test-signgam-finite-c99.c): Likewise.
21196 (CFLAGS-test-signgam-finite-c11.c): Likewise.
21197 (CFLAGS-test-signgam-uchar.c): Likewise.
21198 (CFLAGS-test-signgam-uchar-init.c): Likewise.
21199 (CFLAGS-test-signgam-uchar-static.c): Likewise.
21200 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
21201 (CFLAGS-test-signgam-uint.c): Likewise.
21202 (CFLAGS-test-signgam-uint-init.c): Likewise.
21203 (CFLAGS-test-signgam-uint-static.c): Likewise.
21204 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
21205 (CFLAGS-test-signgam-ullong.c): Likewise.
21206 (CFLAGS-test-signgam-ullong-init.c): Likewise.
21207 (CFLAGS-test-signgam-ullong-static.c): Likewise.
21208 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
21209 (CFLAGS-test-math-cxx11.cc): Likewise.
21210 (CFLAGS-test-math-isinff.cc): Likewise.
21211 (CFLAGS-test-math-iszero.cc): Likewise.
21212 (CFLAGS-test-math-issignaling.cc): Likewise.
21213 (CFLAGS-test-math-iscanonical.cc): Likewise.
21214 (CFLAGS-test-iszero-excess-precision.c): Likewise.
21215 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
21216 (CFLAGS-test-flt-eval-method.c): Likewise.
21217 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
21218 (CFLAGS-test-finite-macros.c): Likewise.
21219 * misc/Makefile (CFLAGS-select.c): Likewise.
21220 (CFLAGS-tsearch.c): Likewise.
21221 (CFLAGS-lsearch.c): Likewise.
21222 (CFLAGS-pselect.c): Likewise.
21223 (CFLAGS-readv.c): Likewise.
21224 (CFLAGS-writev.c): Likewise.
21225 (CFLAGS-preadv.c): Likewise.
21226 (CFLAGS-preadv64.c): Likewise.
21227 (CFLAGS-pwritev.c): Likewise.
21228 (CFLAGS-pwritev64.c): Likewise.
21229 (CFLAGS-preadv2.c): Likewise.
21230 (CFLAGS-preadv64v2.c): Likewise.
21231 (CFLAGS-pwritev2.c): Likewise.
21232 (CFLAGS-pwritev64v2.c): Likewise.
21233 (CFLAGS-usleep.c): Likewise.
21234 (CFLAGS-syslog.c): Likewise.
21235 (CFLAGS-error.c): Likewise.
21236 (CFLAGS-getpass.c): Likewise.
21237 (CFLAGS-mkstemp.c): Likewise.
21238 (CFLAGS-mkstemp64.c): Likewise.
21239 (CFLAGS-getsysstats.c): Likewise.
21240 (CFLAGS-getusershell.c): Likewise.
21241 (CFLAGS-err.c): Likewise.
21242 (CFLAGS-tst-tsearch.c): Likewise.
21243 (CFLAGS-msync.c): Likewise.
21244 (CFLAGS-fdatasync.c): Likewise.
21245 (CFLAGS-fsync.c): Likewise.
21246 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
21247 (CFLAGS-unwind.c): Likewise.
21248 (CFLAGS-unwind-forcedunwind.c): Likewise.
21249 (CFLAGS-pthread_cancel.c): Likewise.
21250 (CFLAGS-pthread_setcancelstate.c): Likewise.
21251 (CFLAGS-pthread_setcanceltype.c): Likewise.
21252 (CFLAGS-cancellation.c): Likewise.
21253 (CFLAGS-libc-cancellation.c): Likewise.
21254 (CFLAGS-pthread_exit.c): Likewise.
21255 (CFLAGS-forward.c): Likewise.
21256 (CFLAGS-pthread_testcancel.c): Likewise.
21257 (CFLAGS-pthread_join.c): Likewise.
21258 (CFLAGS-pthread_timedjoin.c): Likewise.
21259 (CFLAGS-pthread_once.c): Likewise.
21260 (CFLAGS-pthread_cond_wait.c): Likewise.
21261 (CFLAGS-sem_wait.c): Likewise.
21262 (CFLAGS-sem_timedwait.c): Likewise.
21263 (CFLAGS-fcntl.c): Likewise.
21264 (CFLAGS-lockf.c): Likewise.
21265 (CFLAGS-pread.c): Likewise.
21266 (CFLAGS-pread64.c): Likewise.
21267 (CFLAGS-pwrite.c): Likewise.
21268 (CFLAGS-pwrite64.c): Likewise.
21269 (CFLAGS-wait.c): Likewise.
21270 (CFLAGS-waitpid.c): Likewise.
21271 (CFLAGS-sigwait.c): Likewise.
21272 (CFLAGS-msgrcv.c): Likewise.
21273 (CFLAGS-msgsnd.c): Likewise.
21274 (CFLAGS-tcdrain.c): Likewise.
21275 (CFLAGS-open.c): Likewise.
21276 (CFLAGS-open64.c): Likewise.
21277 (CFLAGS-pause.c): Likewise.
21278 (CFLAGS-recv.c): Likewise.
21279 (CFLAGS-send.c): Likewise.
21280 (CFLAGS-accept.c): Likewise.
21281 (CFLAGS-sendto.c): Likewise.
21282 (CFLAGS-connect.c): Likewise.
21283 (CFLAGS-recvfrom.c): Likewise.
21284 (CFLAGS-recvmsg.c): Likewise.
21285 (CFLAGS-sendmsg.c): Likewise.
21286 (CFLAGS-close.c): Likewise.
21287 (CFLAGS-read.c): Likewise.
21288 (CFLAGS-write.c): Likewise.
21289 (CFLAGS-nanosleep.c): Likewise.
21290 (CFLAGS-sigsuspend.c): Likewise.
21291 (CFLAGS-msync.c): Likewise.
21292 (CFLAGS-fdatasync.c): Likewise.
21293 (CFLAGS-fsync.c): Likewise.
21294 (CFLAGS-pt-system.c): Likewise.
21295 (CFLAGS-tst-cleanup2.c): Likewise.
21296 (CFLAGS-tst-cleanupx2.c): Likewise.
21297 (CFLAGS-flockfile.c): Likewise.
21298 (CFLAGS-ftrylockfile.c): Likewise.
21299 (CFLAGS-funlockfile.c): Likewise.
21300 (CFLAGS-tst-initializers1.c): Likewise.
21301 (CFLAGS-tst-initializers1-c89.c): Likewise.
21302 (CFLAGS-tst-initializers1-c99.c): Likewise.
21303 (CFLAGS-tst-initializers1-c11.c): Likewise.
21304 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
21305 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
21306 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
21307 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
21308 (CFLAGS-nscd_getgr_r.c): Likewise.
21309 (CFLAGS-nscd_gethst_r.c): Likewise.
21310 (CFLAGS-nscd_getai.c): Likewise.
21311 (CFLAGS-nscd_initgroups.c): Likewise.
21312 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
21313 (CFLAGS-pause.c): Likewise.
21314 (CFLAGS-pread.c): Likewise.
21315 (CFLAGS-pread64.c): Likewise.
21316 (CFLAGS-pwrite.c): Likewise.
21317 (CFLAGS-pwrite64.c): Likewise.
21318 (CFLAGS-sleep.c): Likewise.
21319 (CFLAGS-wait.c): Likewise.
21320 (CFLAGS-waitid.c): Likewise.
21321 (CFLAGS-waitpid.c): Likewise.
21322 (CFLAGS-getopt.c): Likewise.
21323 (CFLAGS-wordexp.c): Likewise.
21324 (CFLAGS-sysconf.c): Likewise.
21325 (CFLAGS-pathconf.c): Likewise.
21326 (CFLAGS-fpathconf.c): Likewise.
21327 (CFLAGS-spawn.c): Likewise.
21328 (CFLAGS-spawnp.c): Likewise.
21329 (CFLAGS-spawni.c): Likewise.
21330 (CFLAGS-glob.c): Likewise.
21331 (CFLAGS-glob64.c): Likewise.
21332 (CFLAGS-getconf.c): Likewise.
21333 (CFLAGS-nanosleep.c): Likewise.
21334 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
21335 (CFLAGS-getpwent.c): Likewise.
21336 (CFLAGS-getpw.c): Likewise.
21337 (CFLAGS-fgetpwent_r.c): Likewise.
21338 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
21339 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
21340 (CFLAGS-mq_timedreceive.c): Likewise.
21341 (CFLAGS-mq_timedsend.c): Likewise.
21342 (CFLAGS-clock_nanosleep.c): Likewise.
21343 (CFLAGS-librt-cancellation.c): Likewise.
21344 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
21345 (CFLAGS-getspent.c): Likewise.
21346 (CFLAGS-fgetspent.c): Likewise.
21347 (CFLAGS-fgetspent_r.c): Likewise.
21348 (CFLAGS-putspent.c): Likewise.
21349 (CFLAGS-getspnam.c): Likewise.
21350 (CFLAGS-getspnam_r.c): Likewise.
21351 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
21352 (CFLAGS-sigsuspend.c): Likewise.
21353 (CFLAGS-sigtimedwait.c): Likewise.
21354 (CFLAGS-sigwait.c): Likewise.
21355 (CFLAGS-sigwaitinfo.c): Likewise.
21356 (CFLAGS-sigreturn.c): Likewise.
21357 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
21358 (CFLAGS-vfwprintf.c): Likewise.
21359 (CFLAGS-tmpfile.c): Likewise.
21360 (CFLAGS-tmpfile64.c): Likewise.
21361 (CFLAGS-tempname.c): Likewise.
21362 (CFLAGS-psignal.c): Likewise.
21363 (CFLAGS-vprintf.c): Likewise.
21364 (CFLAGS-cuserid.c): Likewise.
21365 (CFLAGS-errlist.c): Likewise.
21366 (CFLAGS-siglist.c): Likewise.
21367 (CFLAGS-scanf15.c): Likewise.
21368 (CFLAGS-scanf17.c): Likewise.
21369 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
21370 (CFLAGS-msort.c): Likewise.
21371 (CFLAGS-qsort.c): Likewise.
21372 (CFLAGS-system.c): Likewise.
21373 (CFLAGS-fmtmsg.c): Likewise.
21374 (CFLAGS-strfmon.c): Likewise.
21375 (CFLAGS-strfmon_l.c): Likewise.
21376 (CFLAGS-strfromd.c): Likewise.
21377 (CFLAGS-strfromf.c): Likewise.
21378 (CFLAGS-strfroml.c): Likewise.
21379 (CFLAGS-tst-bsearch.c): Likewise.
21380 (CFLAGS-tst-qsort.c): Likewise.
21381 (CFLAGS-tst-makecontext2.c): Likewise.
21382 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
21383 (CFLAGS-xnlm_prot.c): Likewise.
21384 (CFLAGS-xrstat.c): Likewise.
21385 (CFLAGS-xyppasswd.c): Likewise.
21386 (CFLAGS-xklm_prot.c): Likewise.
21387 (CFLAGS-xrex.c): Likewise.
21388 (CFLAGS-xsm_inter.c): Likewise.
21389 (CFLAGS-xmount.c): Likewise.
21390 (CFLAGS-xrusers.c): Likewise.
21391 (CFLAGS-xspray.c): Likewise.
21392 (CFLAGS-xnfs_prot.c): Likewise.
21393 (CFLAGS-xrquota.c): Likewise.
21394 (CFLAGS-xkey_prot.c): Likewise.
21395 (CFLAGS-auth_unix.c): Likewise.
21396 (CFLAGS-key_call.c): Likewise.
21397 (CFLAGS-pmap_rmt.c): Likewise.
21398 (CFLAGS-clnt_perr.c): Likewise.
21399 (CFLAGS-openchild.c): Likewise.
21400 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
21401 (CFLAGS-msgsnd.c): Likewise.
21402 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
21403 * time/Makefile (CFLAGS-tzfile.c): Likewise.
21404 (CFLAGS-tzset.c): Likewise.
21405 (CFLAGS-getdate.c): Likewise.
21406 (CFLAGS-test_time.c): Likewise.
21407 (CPPFLAGS-tst-tzname.c): Likewise.
21408 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
21409 (CFLAGS-zic.c): Likewise.
21410 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
21411 (CFLAGS-wcswidth.c): Likewise.
21412 (CFLAGS-wcstol.c): Likewise.
21413 (CFLAGS-wcstoul.c): Likewise.
21414 (CFLAGS-wcstoll.c): Likewise.
21415 (CFLAGS-wcstoull.c): Likewise.
21416 (CFLAGS-wcstod.c): Likewise.
21417 (CFLAGS-wcstold.c): Likewise.
21418 (CFLAGS-wcstof128.c): Likewise.
21419 (CFLAGS-wcstof.c): Likewise.
21420 (CFLAGS-wcstol_l.c): Likewise.
21421 (CFLAGS-wcstoul_l.c): Likewise.
21422 (CFLAGS-wcstoll_l.c): Likewise.
21423 (CFLAGS-wcstoull_l.c): Likewise.
21424 (CFLAGS-wcstod_l.c): Likewise.
21425 (CFLAGS-wcstold_l.c): Likewise.
21426 (CFLAGS-wcstof128_l.c): Likewise.
21427 (CFLAGS-wcstof_l.c): Likewise.
21428 (CPPFLAGS-tst-wchar-h.c): Likewise.
21429 (CPPFLAGS-wcstold_l.c): Likewise.
583dd860 21430
f4b2aea6
PC
214312017-12-11 Paul A. Clarke <pc@us.ibm.com>
21432
21433 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
21434
c9cd7b0c
AZ
214352017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21436 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21437
21438 * manual/tunables.texi (Hardware Capability Tunables): Document
21439 glibc.tune.cached_memopt.
21440 * sysdeps/powerpc/cpu-features.c: New file.
21441 * sysdeps/powerpc/cpu-features.h: New file.
21442 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
21443 _dl_powerpc_cpu_features.
21444 * sysdeps/powerpc/dl-tunables.list: New file.
21445 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
21446 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
21447 (INIT_ARCH): Initialize use_aligned_memopt.
21448 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
21449 IS_IN(rtld))]: Restrict dl_platform_init availability and
21450 initialize CPU features used by tunables.
21451 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
21452 Add memcpy-power8-cached.
21453 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
21454 __memcpy_power8_cached.
21455 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
21456 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
21457 New file.
21458
e70c6fee
L
214592017-12-11 H.J. Lu <hongjiu.lu@intel.com>
21460
21461 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
21462 (CFLAGS-noinl-tester.c): Likewise.
21463 (CFLAGS-tst-strlen.c): Likewise.
21464 (CFLAGS-stratcliff.c): Likewise.
21465 (CFLAGS-test-ffs.c): Likewise.
21466 (CFLAGS-tst-inlcall.c): Likewise.
21467 (CFLAGS-tst-xbzero-opt.c): Likewise.
21468 (CFLAGS-memcpy.c): Likewise.
21469 (CFLAGS-wordcopy.c): Likewise.
21470
dee94366
SL
214712017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
21472
21473 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
21474 Store r15 on stack and add cfi rule.
21475 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
21476 Likewise.
21477
363e4519 214782017-12-10 Aurelien Jarno <aurelien@aurel32.net>
f648728c
AJ
21479
21480 [BZ #22577]
21481 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
21482 call.
21483
9d0ffa60
L
214842017-12-07 H.J. Lu <hongjiu.lu@intel.com>
21485
21486 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21487 Add s_sinf-sse2 and s_sinf-fma.
21488 (CFLAGS-s_sinf-fma.c): New.
21489 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
21490 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
21491 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
21492
9574c7b6
L
214932017-12-07 H.J. Lu <hongjiu.lu@intel.com>
21494
21495 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
21496
d15e83c5
JM
214972017-12-07 Joseph Myers <joseph@codesourcery.com>
21498
21499 [BZ #22568]
21500 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
21501 part of result to imaginary part of argument if it is zero and the
21502 real part of the argument is not finite.
21503 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
21504 of result to real part of argument if it is zero and the imaginary
21505 part of the argument is not finite.
21506
d89756eb
MF
215072017-12-07 Mike FABIAN <mfabian@redhat.com>
21508
21509 [BZ #22524]
21510 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
21511 and to the list of locales to be built for testing.
21512 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
21513 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
21514 and build the collation rules upon that.
21515
1f9055ce
JM
215162017-12-07 Joseph Myers <joseph@codesourcery.com>
21517
21518 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
21519 * manual/math.texi (Mathematics): Document support for _Float32.
21520 * math/Makefile (test-types): Add float32.
21521 * math/Versions (GLIBC_2.27): Add _Float32 functions.
21522 * stdlib/Versions (GLIBC_2.27): Likewise.
21523 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21524 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21525 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21526 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21527 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21528 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
21529 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21530 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21531 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21532 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21533 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21534 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21535 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21536 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21537 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21538 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21539 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21540 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21541 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21542 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21543 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21544 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
21545 Likewise.
21546 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21547 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21548 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21549 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
21550 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21552 Likewise.
21553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
21554 Likewise.
21555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21556 Likewise.
21557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
21558 Likewise.
21559
21560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21561 Likewise.
21562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
21563 Likewise.
21564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21565 Likewise.
21566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
21567 Likewise.
21568 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21569 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21570 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21571 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21572 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21573 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21574 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21575 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21576 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21577 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21578 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
21579 Likewise.
21580 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
21581 Likewise.
21582 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21583 Likewise.
21584 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21585 Likewise.
21586 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21587 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21588 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21589 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21590 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21591 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21592 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21593 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21594
5244527d
JM
215952017-12-06 Joseph Myers <joseph@codesourcery.com>
21596
fb1ca2aa
JM
21597 * stdlib/strtof.c: Include <bits/floatn.h>
21598 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
21599 and later undefine as macro. Define as weak alias if
21600 [!USE_WIDE_CHAR].
21601 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
21602 and later undefine as macro. Define as weak alias if
21603 [USE_WIDE_CHAR].
21604 * stdlib/strtof_l.c: Include <bits/floatn.h>
21605 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
21606 and later undefine as macro. Define as weak alias if
21607 [!USE_WIDE_CHAR].
21608 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
21609 and later undefine as macro. Define as weak alias if
21610 [USE_WIDE_CHAR].
21611
fc10cc3f
JM
21612 * stdlib/strfromf.c: Include <bits/floatn.h>.
21613 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
21614 and later undefine as macro and define as weak alias.
21615
e420d228
JM
21616 * math/test-float32.h: New file.
21617
26007a2f
JM
21618 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
21619 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
21620 (libm_alias_float_other_r): Create f32 alias.
21621 (libm_alias_float_r): Use semicolon before call to
21622 libm_alias_float_other_r.
21623
c191f64c
JM
21624 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
21625 second argument to libm_alias_float_other.
21626 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
21627 second argument to libm_alias_float_other.
21628 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
21629 argument to libm_alias_float_other.
21630
5244527d
JM
21631 [BZ #22561]
21632 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
21633 real part of result for argument 0 + i * NaN.
21634 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
21635 results for tests of 0 + i * NaN.
21636
d73fac82
AZ
216372017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21638
21639 * sysdeps/alpha/fpu/libm-test-ulps: Update.
21640
7ec094e8
DM
216412017-12-06 David S. Miller <davem@davemloft.net>
21642
21643 * sysdeps/sparc/fpu/libm-test-ulps: Update
21644 exp_{downward,towardzero,upward} ulps.
21645
53994f12
JM
216462017-12-06 Joseph Myers <joseph@codesourcery.com>
21647
1dbe6f64
JM
21648 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
21649 variables static.
21650
53994f12
JM
21651 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
21652 (Y0_2D): Likewise.
21653 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
21654 (Y0_2D): Likewise.
21655 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
21656 (Y0_2D): Likewise.
21657 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
21658 (Y0_2D): Likewise.
21659
62ea2193
MF
216602017-12-06 Mike FABIAN <mfabian@redhat.com>
21661
21662 [BZ #22515]
21663 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
21664 and to the list of locales to be built for testing.
21665 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
21666 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
21667 and build the collation rules upon that.
21668
87235d70
RS
216692017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21670
21671 * NEWS: Add sinf to list of optimized functions.
21672
0d93b7fd
JM
216732017-12-06 Joseph Myers <joseph@codesourcery.com>
21674
21675 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
21676 (__HAVE_FLOAT32X): Likewise.
21677 * manual/math.texi (Mathematics): Document support for _Float64
21678 and _Float32x.
21679 * math/Makefile (test-types): Add float64 and float32x.
21680 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
21681 functions.
21682 * stdlib/Versions (GLIBC_2.27): Likewise.
21683 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21684 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21685 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21686 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21687 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21688 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
21689 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21690 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21691 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21692 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21693 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21694 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21695 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21696 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21697 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21698 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21699 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21700 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21701 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21702 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21703 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21704 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
21705 Likewise.
21706 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21707 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21708 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21709 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
21710 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21712 Likewise.
21713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
21714 Likewise.
21715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21716 Likewise.
21717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
21718 Likewise.
21719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21720 Likewise.
21721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
21722 Likewise.
21723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21724 Likewise.
21725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
21726 Likewise.
21727 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21728 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21729 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21730 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21731 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21732 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21733 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21734 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21735 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21736 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21737 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
21738 Likewise.
21739 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
21740 Likewise.
21741 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21742 Likewise.
21743 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21744 Likewise.
21745 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21746 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21747 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21748 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21749 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21750 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21751 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21752 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21753
f7787234
JM
217542017-12-05 Joseph Myers <joseph@codesourcery.com>
21755
21756 * bits/floatn-common.h: Include <bits/long-double.h>.
21757 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21758 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
21759 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21760 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
21761 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21762 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
21763 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21764 (__builtin_huge_valf64): Use __builtin_huge_vall.
21765 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21766 (__builtin_inff64): Use __builtin_infl.
21767 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21768 (__builtin_nanf64): Use __builtin_nanl.
21769 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21770 (__builtin_nansf64): Use __builtin_nansl.
21771
363e4519
DL
217722017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
21773 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6b5c8607 21774 Carlos O'Donnell <carlos@redhat.com>
07ed18d2
RA
21775
21776 * elf/dl-tunables.list: Add elision parameters.
21777 * manual/tunables.texi: Add entries about elision tunable.
21778 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
21779 Add callback functions to dynamically enable/disable elision.
21780 Add multiple callbacks functions to set elision parameters.
21781 Deleted __libc_enable_secure check.
21782 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
21783 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
21784 * configure: Regenerated.
21785 * configure.ac: Option enable_lock_elision was deleted.
21786 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
21787 * config.make.in: Remove references to enable_lock_elision.
21788 * manual/install.texi: Elision configure option was removed.
21789 * INSTALL: Regenerated to remove enable_lock_elision.
21790 * nptl/Makefile:
21791 Disable elision so it can verify error case for destroying a mutex.
21792 * sysdeps/powerpc/nptl/elide.h:
21793 Cleanup ENABLE_LOCK_ELISION check.
21794 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
21795 * sysdeps/s390/configure: Regenerated.
21796 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
21797 * nptl/tst-mutex8.c:
21798 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
21799 * sysdeps/powerpc/powerpc32/sysdep.h:
21800 Deleted all ENABLE_LOCK_ELISION checks.
21801 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
21802 * sysdeps/powerpc/sysdep.h: Likewise.
21803 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
21804 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
21805 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
21806 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
21807 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
21808 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
21809 enable-lock-elision.
21810
a5a2a76b
JM
218112017-12-05 Joseph Myers <joseph@codesourcery.com>
21812
21813 * stdlib/strtod.c: Include <bits/floatn.h>.
21814 (BUILD_DOUBLE): New macro.
21815 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21816 (strtof64): Define and later undefine as macro. Define as weak
21817 alias if [!USE_WIDE_CHAR].
21818 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21819 (wcstof64): Define and later undefine as macro. Define as weak
21820 alias if [USE_WIDE_CHAR].
21821 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21822 (strtof32x): Define and later undefine as macro. Define as weak
21823 alias if [!USE_WIDE_CHAR].
21824 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21825 (wcstof32x): Define and later undefine as macro. Define as weak
21826 alias if [USE_WIDE_CHAR].
21827 * stdlib/strtod_l.c: Include <bits/floatn.h>.
21828 (BUILD_DOUBLE): New macro.
21829 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21830 (strtof64_l): Define and later undefine as macro. Define as weak
21831 alias if [!USE_WIDE_CHAR].
21832 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21833 (wcstof64_l): Define and later undefine as macro. Define as weak
21834 alias if [USE_WIDE_CHAR].
21835 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21836 (strtof32x_l): Define and later undefine as macro. Define as weak
21837 alias if [!USE_WIDE_CHAR].
21838 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21839 (wcstof32x_l): Define and later undefine as macro. Define as weak
21840 alias if [USE_WIDE_CHAR].
21841
94d80dfc
AZ
218422017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21843
21844 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
21845 (reduced): Use ones as double instead of integer.
21846
00d54af7
SN
218472017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
21848
21849 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
21850
f2d64d62
JM
218512017-12-05 Joseph Myers <joseph@codesourcery.com>
21852
1f70eae4
JM
21853 * stdlib/strfromd.c: Include <bits/floatn.h>.
21854 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
21855 and later undefine as macro and define as weak alias.
21856 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
21857 Likewise.
21858
e2c4dce5
JM
21859 * math/test-float32x.h: New file.
21860 * math/test-float64.h: Likewise.
21861
f2d64d62
JM
21862 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
21863 (libm_alias_double_other_r_f64): New macro.
21864 (libm_alias_double_other_r_f32x): Likewise.
21865 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
21866 libm_alias_double_other_r_f32x.
21867 (libm_alias_double_r): Use semicolon before call to
21868 libm_alias_double_other_r.
21869 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
21870 <bits/floatn.h>.
21871 (libm_alias_double_other_r_f64): New macro.
21872 (libm_alias_double_other_r_f32x): Likewise.
21873 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
21874 libm_alias_double_other_r_f32x.
21875
91c318e7
L
218762017-12-05 H.J. Lu <hongjiu.lu@intel.com>
21877
21878 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
21879 int.
21880 (SINF_FUNC): Likewise. Replace floor with simple casts.
21881
de9661d6
MF
218822017-12-05 Mike FABIAN <mfabian@redhat.com>
21883
21884 [BZ #22517]
21885 * localedata/Makefile: Add et_EE.UTF-8 to test-input
21886 and to the list of locales to be built for testing.
21887 * localedata/et_EE.UTF-8.in: New file for testing the collation.
21888 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
21889 and build the collation rules upon that.
21890
f18b8dc7
CM
218912017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
21892
21893 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
21894 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
21895 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
21896 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
21897 instead of __insn__xxx.
21898 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
21899 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
21900 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
21901 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
21902 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
21903 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
21904
446d22e9
FW
219052017-12-05 Florian Weimer <fweimer@redhat.com>
21906
21907 Linux: Implement interfaces for memory protection keys
21908 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
21909 xsignal, xsysconf.
21910 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
21911 * support/xunistd.h (xsysconf): Declare.
21912 * support/xraise.c: New file.
21913 * support/xsigaction.c: Likewise.
21914 * support/xsignal.c: Likewise.
21915 * support/xsysconf.c: Likewise.
21916 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
21917 pkey_set, pkey_get, pkey_mprotect.
21918 [misc] (tests): Add tst-pkey.
21919 (tst-pkey): Link with -lpthread.
21920 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
21921 pkey_free, pkey_set, pkey_get, pkey_mprotect.
21922 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
21923 (PKEY_DISABLE_WRITE): Define.
21924 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
21925 Declare.
21926 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
21927 (SEGV_PKUERR): Add.
21928 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
21929 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
21930 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
21931 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
21932 Add.
21933 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
21934 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
21935 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
21936 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
21937 * sysdeps/unix/sysv/linux/**.abilist: Update.
21938
da616c14
FW
219392017-12-05 Florian Weimer <fweimer@redhat.com>
21940
21941 * support/tst-test_compare.c (subprocess): Use long long instead
21942 of long argument for consistent type width across 32-bit and
21943 64-bit architectures.
21944 (do_test): Adjust expected output.
21945
216933b2
JM
219462017-12-05 Joseph Myers <joseph@codesourcery.com>
21947
21948 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
21949 (cosf): Define using libm_alias_float.
21950 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
21951 (fabsf): Define using libm_alias_float.
21952 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
21953 (fmaf): Define using libm_alias_float.
21954 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
21955 (rintf): Define using libm_alias_float.
21956 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
21957 (sinf): Define using libm_alias_float.
21958 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
21959 <libm-alias-float.h>.
21960 (modff): Define using libm_alias_float.
21961 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
21962 <libm-alias-float.h>.
21963 (logbf): Define using libm_alias_float.
21964 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
21965 <libm-alias-float.h>.
21966 (ceilf): Define using libm_alias_float.
21967 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
21968 <libm-alias-float.h>.
21969 (copysignf): Define using libm_alias_float.
21970 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
21971 <libm-alias-float.h>.
21972 (floorf): Define using libm_alias_float.
21973 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
21974 <libm-alias-float.h>.
21975 (llrintf): Define using libm_alias_float.
21976 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
21977 <libm-alias-float.h>.
21978 (llroundf): Define using libm_alias_float.
21979 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
21980 <libm-alias-float.h>.
21981 (lrintf): Define using libm_alias_float.
21982 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
21983 <libm-alias-float.h>.
21984 (lroundf): Define using libm_alias_float.
21985 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
21986 <libm-alias-float.h>.
21987 (nearbyintf): Define using libm_alias_float.
21988 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
21989 <libm-alias-float.h>.
21990 (rintf): Define using libm_alias_float.
21991 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
21992 <libm-alias-float.h>.
21993 (roundf): Define using libm_alias_float.
21994 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
21995 <libm-alias-float.h>.
21996 (truncf): Define using libm_alias_float.
21997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
21998 Include <libm-alias-float.h>.
21999 (ceilf): Define using libm_alias_float.
22000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
22001 Include <libm-alias-float.h>.
22002 (copysignf): Define using libm_alias_float.
22003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
22004 Include <libm-alias-float.h>.
22005 (floorf): Define using libm_alias_float.
22006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
22007 Include <libm-alias-float.h>.
22008 (llrintf): Define using libm_alias_float.
22009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
22010 Include <libm-alias-float.h>.
22011 (llroundf): Define using libm_alias_float.
22012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
22013 Include <libm-alias-float.h>.
22014 (logbf): Define using libm_alias_float.
22015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
22016 Include <libm-alias-float.h>.
22017 (lrintf): Define using libm_alias_float.
22018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
22019 Include <libm-alias-float.h>.
22020 (lroundf): Define using libm_alias_float.
22021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
22022 Include <libm-alias-float.h>.
22023 (modff): Define using libm_alias_float.
22024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
22025 Include <libm-alias-float.h>.
22026 (roundf): Define using libm_alias_float.
22027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
22028 Include <libm-alias-float.h>.
22029 (truncf): Define using libm_alias_float.
22030 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
22031 <libm-alias-float.h>.
22032 (llrintf): Define using libm_alias_float.
22033 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
22034 <libm-alias-float.h>.
22035 (llroundf): Define using libm_alias_float.
22036 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
22037 <libm-alias-float.h>.
22038 (ceilf): Define using libm_alias_float.
22039 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
22040 <libm-alias-float.h>.
22041 (floorf): Define using libm_alias_float.
22042 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
22043 <libm-alias-float.h>.
22044 (llroundf): Define using libm_alias_float.
22045 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
22046 <libm-alias-float.h>.
22047 (lroundf): Define using libm_alias_float.
22048 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
22049 <libm-alias-float.h>.
22050 (roundf): Define using libm_alias_float.
22051 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
22052 <libm-alias-float.h>.
22053 (truncf): Define using libm_alias_float.
22054 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
22055 <libm-alias-float.h>.
22056 (copysignf): Define using libm_alias_float.
22057 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
22058 <libm-alias-float.h>.
22059 (llrintf): Define using libm_alias_float.
22060 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
22061 <libm-alias-float.h>.
22062 (llroundf): Define using libm_alias_float.
22063 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
22064 <libm-alias-float.h>.
22065 (lrintf): Define using libm_alias_float.
22066 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
22067 <libm-alias-float.h>.
22068 (lroundf): Define using libm_alias_float.
22069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
22070 <libm-alias-float.h>.
22071 (ceilf): Define using libm_alias_float.
22072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
22073 <libm-alias-float.h>.
22074 (copysignf): Define using libm_alias_float.
22075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
22076 <libm-alias-float.h>.
22077 (cosf): Define using libm_alias_float.
22078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
22079 <libm-alias-float.h>.
22080 (floorf): Define using libm_alias_float.
22081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
22082 <libm-alias-float.h>.
22083 (llrintf): Define using libm_alias_float.
22084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
22085 <libm-alias-float.h>.
22086 (llroundf): Define using libm_alias_float.
22087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
22088 <libm-alias-float.h>.
22089 (logbf): Define using libm_alias_float.
22090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
22091 <libm-alias-float.h>.
22092 (modff): Define using libm_alias_float.
22093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
22094 <libm-alias-float.h>.
22095 (roundf): Define using libm_alias_float.
22096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
22097 <libm-alias-float.h>.
22098 (sinf): Define using libm_alias_float.
22099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
22100 <libm-alias-float.h>.
22101 (truncf): Define using libm_alias_float.
22102 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
22103 <libm-alias-float.h>.
22104 (ceilf): Define using libm_alias_float.
22105 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
22106 <libm-alias-float.h>.
22107 (copysignf): Define using libm_alias_float.
22108 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
22109 <libm-alias-float.h>.
22110 (floorf): Define using libm_alias_float.
22111 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
22112 <libm-alias-float.h>.
22113 (llrintf): Define using libm_alias_float.
22114 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
22115 <libm-alias-float.h>.
22116 (llroundf): Define using libm_alias_float.
22117 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
22118 <libm-alias-float.h>.
22119 (nearbyintf): Define using libm_alias_float.
22120 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
22121 <libm-alias-float.h>.
22122 (rintf): Define using libm_alias_float.
22123 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
22124 <libm-alias-float.h>.
22125 (roundf): Define using libm_alias_float.
22126 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
22127 <libm-alias-float.h>.
22128 (truncf): Define using libm_alias_float.
22129 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
22130 <libm-alias-float.h>.
22131 (ceilf): Define using libm_alias_float.
22132 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
22133 <libm-alias-float.h>.
22134 (floorf): Define using libm_alias_float.
22135 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
22136 <libm-alias-float.h>.
22137 (llroundf): Define using libm_alias_float.
22138 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
22139 <libm-alias-float.h>.
22140 (roundf): Define using libm_alias_float.
22141 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
22142 <libm-alias-float.h>.
22143 (truncf): Define using libm_alias_float.
22144 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
22145 <libm-alias-float.h>.
22146 (copysignf): Define using libm_alias_float.
22147 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
22148 <libm-alias-float.h>.
22149 (llrintf): Define using libm_alias_float.
22150 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
22151 <libm-alias-float.h>.
22152 (llroundf): Define using libm_alias_float.
22153 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
22154 <libm-alias-float.h>.
22155 (cosf): Define using libm_alias_float.
22156 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
22157 <libm-alias-float.h>.
22158 (llrintf): Define using libm_alias_float.
22159 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
22160 <libm-alias-float.h>.
22161 (llroundf): Define using libm_alias_float.
22162 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
22163 <libm-alias-float.h>.
22164 (sinf): Define using libm_alias_float.
22165
93485524
FW
221662017-12-04 Florian Weimer <fweimer@redhat.com>
22167
22168 * support/check.h (TEST_COMPARE): Define.
22169 (support_test_compare_failure): Declare.
22170 * support/Makefile (libsupport-routines): Add
22171 support_test_compare_failure.
22172 (tests): Add tst-test_compare.
22173 * support /support_test_compare_failure.c: New file.
22174 * support/tst-test_compare.c: Likewise.
22175
96b06a19
MF
221762017-12-04 Mike FABIAN <mfabian@redhat.com>
22177
22178 [BZ #22527]
22179 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
22180 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
22181 available, this rewrite of the collation rules does reproduce
22182 the test file in the same order.
22183
1f6d91f3
MF
221842017-12-04 Mike FABIAN <mfabian@redhat.com>
22185
22186 [BZ #10580]
22187 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
22188 digraphs in the month and day names. Using single code points for
22189 digraphs is deprecated. While there are dedicated Unicode
22190 codepoints, for the digraphs, these are included for backwards
22191 compatibility and modern texts use a sequence of Basic Latin
22192 characters. See: https://www.unicode.org/faq/ligature_digraph.html
22193 This makes the month and day names agree exactly with CLDR now,
22194 CLDR does not use the single code points for the digraphs either.
22195
2e49fed8
CM
221962017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
22197
22198 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
22199
73895b49
JM
222002017-12-04 Joseph Myers <joseph@codesourcery.com>
22201
22202 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
22203 of floor.
22204
4c1d801a
SP
222052017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
22206
22207 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
22208 Define only for libc.so.
22209
478593e6
SL
222102017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
22211
22212 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22213 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
6b5c8607 22214 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
478593e6
SL
22215 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
22216 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22217
7863a711
RS
222182017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22219
22220 [BZ #5997]
22221 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
22222
800a496a
JDA
222232017-12-02 John David Anglin <danglin@gcc.gnu.org>
22224
b3f7fb12
JDA
22225 [BZ libc/19170]
22226 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
22227 PREINIT_FUNCTION_WEAK is nonzero.
22228 (gmon_initializer): New function. Put procedure label for it in
22229 .init_array section.
22230 (_init): Don't call PREINIT_FUNCTION.
22231 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
22232 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
22233 value when map argument is null.
22234
800a496a
JDA
22235 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
22236 depi instruction from PIC pc-relative sequence.
22237 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
22238 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
22239 (elf_machine_load_address): Likewise.
22240 (elf_machine_runtime_setup): Likewise.
22241
d17542d2
JM
222422017-12-02 Joseph Myers <joseph@codesourcery.com>
22243
22244 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
22245 <libm-alias-double.h>.
22246 (logb): Define using libm_alias_double.
22247 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
22248 <libm-alias-double.h>.
22249 (copysign): Define using libm_alias_double.
22250 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
22251 <libm-alias-double.h>.
22252 (llrint): Define using libm_alias_double.
22253 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
22254 <libm-alias-double.h>.
22255 (llround): Define using libm_alias_double.
22256 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
22257 <libm-alias-double.h>.
22258 (lrint): Define using libm_alias_double.
22259 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
22260 <libm-alias-double.h>.
22261 (lround): Define using libm_alias_double.
22262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
22263 Include <libm-alias-double.h>.
22264 (copysign): Define using libm_alias_double.
22265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
22266 Include <libm-alias-double.h>.
22267 (llrint): Define using libm_alias_double.
22268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
22269 Include <libm-alias-double.h>.
22270 (llround): Define using libm_alias_double.
22271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
22272 <libm-alias-double.h>.
22273 (logb): Define using libm_alias_double.
22274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
22275 Include <libm-alias-double.h>.
22276 (lrint): Define using libm_alias_double.
22277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
22278 Include <libm-alias-double.h>.
22279 (lround): Define using libm_alias_double.
22280 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
22281 <libm-alias-double.h>.
22282 (llrint): Define using libm_alias_double.
22283 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
22284 <libm-alias-double.h>.
22285 (llround): Define using libm_alias_double.
22286 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
22287 <libm-alias-double.h>.
22288 (llround): Define using libm_alias_double.
22289 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
22290 <libm-alias-double.h>.
22291 (lround): Define using libm_alias_double.
22292 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
22293 <libm-alias-double.h>.
22294 (copysign): Define using libm_alias_double.
22295 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
22296 <libm-alias-double.h>.
22297 (llrint): Define using libm_alias_double.
22298 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
22299 <libm-alias-double.h>.
22300 (llround): Define using libm_alias_double.
22301 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
22302 <libm-alias-double.h>.
22303 (lrint): Define using libm_alias_double.
22304 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
22305 <libm-alias-double.h>.
22306 (lround): Define using libm_alias_double.
22307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
22308 <libm-alias-double.h>.
22309 (copysign): Define using libm_alias_double.
22310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
22311 <libm-alias-double.h>.
22312 (llrint): Define using libm_alias_double.
22313 (lrint): Likewise.
22314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
22315 <libm-alias-double.h>.
22316 (llround): Define using libm_alias_double.
22317 (lround): Likewise.
22318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
22319 <libm-alias-double.h>.
22320 (logb): Define using libm_alias_double.
22321 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
22322 <libm-alias-double.h>.
22323 (copysign): Define using libm_alias_double.
22324 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
22325 <libm-alias-double.h>.
22326 (llrint): Define using libm_alias_double.
22327 (lrint): Likewise.
22328 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
22329 <libm-alias-double.h>.
22330 (llround): Define using libm_alias_double.
22331 (lround): Likewise.
22332 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
22333 <libm-alias-double.h>.
22334 (llround): Define using libm_alias_double.
22335 (lround): Likewise.
22336 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
22337 <libm-alias-double.h>.
22338 (copysign): Define using libm_alias_double.
22339 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
22340 <libm-alias-double.h>.
22341 (llrint): Define using libm_alias_double.
22342 (lrint): Likewise.
22343 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
22344 <libm-alias-double.h>.
22345 (llround): Define using libm_alias_double.
22346 (lround): Likewise.
22347 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
22348 <libm-alias-double.h>.
22349 (llrint): Define using libm_alias_double.
22350 (lrint): Likewise.
22351 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
22352 <libm-alias-double.h>.
22353 (llround): Define using libm_alias_double.
22354 (lround): Likewise.
22355
ec2cf3f4
JM
223562017-12-01 Joseph Myers <joseph@codesourcery.com>
22357
0ddde474
JM
22358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
22359 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
22360 compat symbol based on llround.
22361
0d5ba561
JM
22362 * sysdeps/powerpc/power7/fpu/s_logb.c
22363 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
22364 symbol based on __logb, not on logb.
22365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
22366 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
22367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
22368 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
22369
51ea3b20
JM
22370 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
22371 (rint): Define using libm_alias_double.
22372 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
22373 <libm-alias-double.h>.
22374 (modf): Define using libm_alias_double.
22375 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
22376 <libm-alias-double.h>.
22377 (ceil): Define using libm_alias_double.
22378 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
22379 <libm-alias-double.h>.
22380 (floor): Define using libm_alias_double.
22381 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
22382 <libm-alias-double.h>.
22383 (nearbyint): Define using libm_alias_double.
22384 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
22385 <libm-alias-double.h>.
22386 (rint): Define using libm_alias_double.
22387 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
22388 <libm-alias-double.h>.
22389 (round): Define using libm_alias_double.
22390 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
22391 <libm-alias-double.h>.
22392 (trunc): Define using libm_alias_double.
22393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
22394 <libm-alias-double.h>.
22395 (ceil): Define using libm_alias_double.
22396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
22397 Include <libm-alias-double.h>.
22398 (floor): Define using libm_alias_double.
22399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
22400 <libm-alias-double.h>.
22401 (modf): Define using libm_alias_double.
22402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
22403 Include <libm-alias-double.h>.
22404 (round): Define using libm_alias_double.
22405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
22406 Include <libm-alias-double.h>.
22407 (trunc): Define using libm_alias_double.
22408 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
22409 <libm-alias-double.h>.
22410 (ceil): Define using libm_alias_double.
22411 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
22412 <libm-alias-double.h>.
22413 (floor): Define using libm_alias_double.
22414 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
22415 <libm-alias-double.h>.
22416 (round): Define using libm_alias_double.
22417 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
22418 <libm-alias-double.h>.
22419 (trunc): Define using libm_alias_double.
22420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
22421 <libm-alias-double.h>.
22422 (ceil): Define using libm_alias_double.
22423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
22424 <libm-alias-double.h>.
22425 (floor): Define using libm_alias_double.
22426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
22427 <libm-alias-double.h>.
22428 (modf): Define using libm_alias_double.
22429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
22430 <libm-alias-double.h>.
22431 (round): Define using libm_alias_double.
22432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
22433 <libm-alias-double.h>.
22434 (trunc): Define using libm_alias_double.
22435 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
22436 <libm-alias-double.h>.
22437 (ceil): Define using libm_alias_double.
22438 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
22439 <libm-alias-double.h>.
22440 (floor): Define using libm_alias_double.
22441 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
22442 <libm-alias-double.h>.
22443 (nearbyint): Define using libm_alias_double.
22444 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
22445 <libm-alias-double.h>.
22446 (rint): Define using libm_alias_double.
22447 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
22448 <libm-alias-double.h>.
22449 (round): Define using libm_alias_double.
22450 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
22451 <libm-alias-double.h>.
22452 (trunc): Define using libm_alias_double.
22453 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
22454 <libm-alias-double.h>.
22455 (ceil): Define using libm_alias_double.
22456 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
22457 <libm-alias-double.h>.
22458 (floor): Define using libm_alias_double.
22459 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
22460 <libm-alias-double.h>.
22461 (round): Define using libm_alias_double.
22462 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
22463 <libm-alias-double.h>.
22464 (trunc): Define using libm_alias_double.
22465
ec2cf3f4
JM
22466 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
22467 (fabs): Define using libm_alias_double.
22468 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
22469 (fma): Define using libm_alias_double.
22470 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
22471 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
22472 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
22473 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
22474
5b7bd975
AZ
224752017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22476
0594b13f
AZ
22477 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
22478
dbdfcf3b
AZ
22479 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
22480 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
22481 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
22482
5b7bd975
AZ
22483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
22484 due redirect macro.
22485
ef9ecfa6
AS
224862017-12-01 Andreas Schwab <schwab@linux-m68k.org>
22487
22488 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
22489
5b4e5e78
AZ
224902017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22491
2a14526b
AZ
22492 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
22493 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
22494 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
22495 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
22496
dbeb74ef 22497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1c051a9b
AZ
22498 (libm-sysdep_routines): Add s_nearbyintf-generic and
22499 s_nearbyint-generic.
22500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
22501 New file.
22502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
22503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
22504 Likewise.
22505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
22506 Likewise.
22507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
22508 file.
22509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
22510 Likewise.
22511
22512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
dbeb74ef
AZ
22513 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
22514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
22515 file.
22516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
22517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
22518 Likewise.
22519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
22520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
22521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22522
fa7ded96
AZ
22523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22524 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
22525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
22526 file.
22527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
22528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
22529 Likewise.
22530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
22531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
22532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
22533
e240cf0e
AZ
22534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22535 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
22536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
22537 file.
22538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
22539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
22540 Likewise.
22541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
22542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
22543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22544
5b4e5e78
AZ
22545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22546 (sysdep_calls): New rule.
22547 (sysdep_routines): Use sysdep_calls as base.
22548 (libm-sysdep_routines): Add generic rule for symbols shared with
22549 libc. Add s_copysign-generic and s_copysign-generic objects.
22550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
22551 New file.
22552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
22553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
22554 Likewise.
22555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
22556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
22557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
22558
d985adae
MF
225592017-12-01 Mike FABIAN <mfabian@redhat.com>
22560
22561 [BZ #22519]
22562 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
22563 the list of locales to be built for testing.
22564 * localedata/is_IS.UTF-8.in: New file.
22565 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
22566 on iso14651_t1.
22567
ff84a0e0
JM
225682017-12-01 Joseph Myers <joseph@codesourcery.com>
22569
22570 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
22571 <libm-alias-float.h>.
22572 (fabsf): Define using libm_alias_float.
22573
ef5d8b43
L
225742017-11-30 H.J. Lu <hongjiu.lu@intel.com>
22575
22576 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
22577
c0535adf
JM
225782017-11-30 Joseph Myers <joseph@codesourcery.com>
22579
f938b397
JM
22580 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
22581 <libm-alias-float.h>.
22582 (fabsf): Define using libm_alias_float.
22583 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
22584 <libm-alias-float.h>.
22585 (lrintf): Define using libm_alias_float.
22586 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
22587 <libm-alias-float.h>.
22588 (rintf): Define using libm_alias_float.
22589
2251fad0
JM
22590 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
22591 <libm-alias-double.h>.
22592 (fabs): Define using libm_alias_double.
22593 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
22594 <libm-alias-double.h>.
22595 (lrint): Define using libm_alias_double.
22596 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
22597 <libm-alias-double.h>.
22598 (rint): Define using libm_alias_double.
22599
e53df1de
JM
22600 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
22601 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
22602 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
22603 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
22604 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
22605 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
22606 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
22607 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
22608 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
22609 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
22610 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
22611 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
22612 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
22613 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
22614 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
22615 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
22616 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
22617 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
22618 s_atan_template.c.
22619 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
22620 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
22621 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
22622 s_ceil_template.c.
22623 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
22624 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
22625 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
22626 s_cos_template.c.
22627 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
22628 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
22629 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
22630 s_expm1_template.c.
22631 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
22632 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
22633 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
22634 s_fabs_template.c.
22635 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
22636 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
22637 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
22638 s_floor_template.c.
22639 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
22640 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
22641 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
22642 s_frexp_template.c.
22643 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
22644 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
22645 s_lrint_template.c.
22646 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
22647 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
22648 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
22649 s_modf_template.c.
22650 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
22651 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
22652 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
22653 s_nearbyint_template.c.
22654 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
22655 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
22656 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
22657 s_remquo_template.c.
22658 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
22659 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
22660 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
22661 s_rint_template.c.
22662 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
22663 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
22664 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
22665 s_sin_template.c.
22666 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
22667 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
22668 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
22669 s_sincos_template.c.
22670 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
22671 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
22672 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
22673 s_tan_template.c.
22674 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
22675 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
22676 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
22677 s_tanh_template.c.
22678 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
22679 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
22680 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
22681 s_trunc_template.c.
22682 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
22683 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
22684 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
22685 s_atan.c instead of including s_atan.c.
22686 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
22687 s_atanf.c instead of including s_atanf.c.
22688 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
22689 s_atanl.c instead of including s_atanl.c.
22690 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
22691 instead of s_atan.c.
22692 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
22693 instead of s_atanf.c.
22694 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
22695 instead of s_atanl.c.
22696
c0535adf
JM
22697 * scripts/update-copyrights: Do not handle intl/plural.c
22698 specially.
22699
1faaf703
JB
227002017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
22701
22702 [BZ #22432]
22703 * configure.ac (BISON): Require to be present.
22704 * configure: Regenerated.
22705 * intl/Makefile (generated): Add plural.c.
22706 [$(BISON) != no]: Make code unconditional.
22707 (plural.c): Change rule to $(objpfx)plural.c.
22708 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
22709 * intl/plural.c: Remove.
22710 * manual/install.texi (Tools for Compilation): Document bison as
22711 required.
22712 * INSTALL: Regenerated.
22713
faec6323
JM
227142017-11-30 Joseph Myers <joseph@codesourcery.com>
22715
bd6ea9ed
JM
22716 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
22717 <libm-alias-double.h>.
22718 (llrint): Define using libm_alias_double.
22719 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
22720 <libm-alias-float.h>.
22721 (llrintf): Define using libm_alias_float.
22722 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
22723 <libm-alias-ldouble.h>.
22724 (llrintl): Define using libm_alias_ldouble.
22725
faec6323
JM
22726 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
22727 declare_mgen_alias instead of weak_alias.
22728 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
22729 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
22730 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
22731
023cade3
AZ
227322017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22733
9e2279a0
AZ
22734 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22735 Add add_n-generic.
22736 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
22737 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
22738 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
22739
75f37c71
AZ
22740 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22741 Add submul_1-generic.
22742 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
22743 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
22744 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
22745
b70cbbfc 22746 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
dda1d2e8
AZ
22747 Add addmul_1-generic.
22748 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
22749 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
22750 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
22751
22752 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
b70cbbfc
AZ
22753 Add sub_n-generic.
22754 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
22755 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
22756 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
22757
023cade3
AZ
22758 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22759 Add mul_1-generic.
22760 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
22761 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
22762 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
22763
fbb5fd03
MF
227642017-11-30 Mike FABIAN <mfabian@redhat.com>
22765
22766 According to CLDR, collation rules for Serbian and Bosnian
22767 should be the same as for Croatian.
22768
22769 [BZ #22534]
22770 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
22771 and to the list of locales to be built for testing.
22772 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
22773 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
22774 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
22775 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
22776
5e56e937
MF
227772017-11-30 Mike FABIAN <mfabian@redhat.com>
22778
22779 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
22780 to make test case pass.
22781 * localedata/hr_HR.UTF-8.in: Add more test strings.
22782
cf4341ca
MF
227832017-11-30 Mike FABIAN <mfabian@redhat.com>
22784
22785 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
22786
363e4519 227872017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
9ca6b343
DSN
22788
22789 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
22790 the list of locales to built for testing.
22791 * localedata/hr_HR.UTF-8.in: New file.
22792
363e4519 227932017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
37075ae1
DSN
22794
22795 [BZ #10580]
22796 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
22797 iso14651_t1.
22798 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
22799 CLDR (except use ligatures for the digraphs, CLDR does not use
22800 the ligatures), add first_workday, some fixes in the date and time
22801 formats.
22802 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
22803 for Đ and đ.
22804 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
22805 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
22806 Add int_p_cs_precedes and int_n_cs_precedes.
22807 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
22808 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
22809 LC_MONETARY now).
22810 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
22811 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
22812 name_miss.
22813 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
22814 and lang_lib. Change postal_fmt.
22815
f33632cc
L
228162017-11-30 H.J. Lu <hongjiu.lu@intel.com>
22817
22818 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
22819 <setjmp.h>.
22820 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
22821 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
22822 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
22823 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
22824 * sysdeps/generic/setjmpP.h: New file.
22825 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
22826 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
22827 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
22828 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
22829 Add jmp_buf-ssp.sym.
22830 (tests): Add tst-saved_mask-1.
22831
34697694
AS
228322017-11-30 Arjun Shankar <arjun@redhat.com>
22833
22834 [BZ #22375]
37ac8e63 22835 CVE-2017-17426
34697694
AS
22836 * malloc/malloc.c (__libc_malloc): Use checked_request2size
22837 instead of request2size.
22838
3e5efdbd
JM
228392017-11-30 Joseph Myers <joseph@codesourcery.com>
22840
18305fba
JM
22841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
22842 (__lllrint): Remove alias.
22843 (lllrint): Likewise.
22844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
22845 (__lllrintf): Likewise.
22846 (lllrintf): Likewise.
22847
3e5efdbd
JM
22848 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
22849 <libm-alias-float.h>.
22850 (copysignf): Define using libm_alias_float.
22851 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
22852 <libm-alias-float.h>.
22853 (fabsf): Define using libm_alias_float.
22854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22855 Include <libm-alias-float.h>.
22856 (copysignf): Define using libm_alias_float.
22857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
22858 <libm-alias-float.h>.
22859 (fabsf): Define using libm_alias_float.
22860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
22861 <libm-alias-float.h>.
22862 (fdimf): Define using libm_alias_float.
22863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
22864 <libm-alias-float.h>.
22865 (fmaf): Define using libm_alias_float.
22866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
22867 <libm-alias-float.h>.
22868 (llrintf): Define using libm_alias_float.
22869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
22870 Include <libm-alias-float.h>.
22871 (nearbyintf): Define using libm_alias_float.
22872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
22873 <libm-alias-float.h>.
22874 (rintf): Define using libm_alias_float.
22875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
22876 <libm-alias-float.h>.
22877 (llrintf): Define using libm_alias_float.
22878 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
22879 <libm-alias-float.h>.
22880 (lrintf): Define using libm_alias_float.
22881 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
22882 <libm-alias-float.h>.
22883 (nearbyintf): Define using libm_alias_float.
22884 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
22885 <libm-alias-float.h>.
22886 (rintf): Define using libm_alias_float.
22887 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
22888 <libm-alias-float.h>.
22889 (ceilf): Define using libm_alias_float.
22890 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
22891 <libm-alias-float.h>.
22892 (floorf): Define using libm_alias_float.
22893 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
22894 <libm-alias-float.h>.
22895 (fmaf): Define using libm_alias_float.
22896 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
22897 <libm-alias-float.h>.
22898 (lrintf): Define using libm_alias_float.
22899 (llrintf): Likewise.
22900 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
22901 <libm-alias-float.h>.
22902 (nearbyintf): Define using libm_alias_float.
22903 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
22904 <libm-alias-float.h>.
22905 (rintf): Define using libm_alias_float.
22906 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
22907 <libm-alias-float.h>.
22908 (truncf): Define using libm_alias_float.
22909 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
22910 <libm-alias-float.h>.
22911 (copysignf): Define using libm_alias_float.
22912 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
22913 <libm-alias-float.h>.
22914 (fabsf): Define using libm_alias_float.
22915 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
22916 <libm-alias-float.h>.
22917 (lrintf): Define using libm_alias_float.
22918 (llrintf): Likewise.
22919 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
22920 <libm-alias-float.h>.
22921 (nearbyintf): Define using libm_alias_float.
22922 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
22923 <libm-alias-float.h>.
22924 (rintf): Define using libm_alias_float.
22925
011fba7e
JM
229262017-11-29 Joseph Myers <joseph@codesourcery.com>
22927
875cd548
JM
22928 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
22929 <libm-alias-double.h>.
22930 (copysign): Define using libm_alias_double.
22931 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
22932 <libm-alias-double.h>.
22933 (fabs): Define using libm_alias_double.
22934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22935 Include <libm-alias-double.h>.
22936 (copysign): Define using libm_alias_double.
22937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
22938 <libm-alias-double.h>.
22939 (fabs): Define using libm_alias_double.
22940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
22941 <libm-alias-double.h>.
22942 (fdim): Define using libm_alias_double.
22943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
22944 <libm-alias-double.h>.
22945 (fma): Define using libm_alias_double.
22946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
22947 <libm-alias-double.h>.
22948 (llrint): Define using libm_alias_double.
22949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
22950 Include <libm-alias-double.h>.
22951 (nearbyint): Define using libm_alias_double.
22952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
22953 <libm-alias-double.h>.
22954 (rint): Define using libm_alias_double.
22955 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
22956 <libm-alias-double.h>.
22957 (fabs): Define using libm_alias_double.
22958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
22959 <libm-alias-double.h>.
22960 (llrint): Define using libm_alias_double.
22961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
22962 <libm-alias-double.h>.
22963 (nearbyint): Define using libm_alias_double.
22964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
22965 <libm-alias-double.h>.
22966 (rint): Define using libm_alias_double.
22967 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
22968 <libm-alias-double.h>.
22969 (ceil): Define using libm_alias_double.
22970 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
22971 <libm-alias-double.h>.
22972 (floor): Define using libm_alias_double.
22973 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
22974 <libm-alias-double.h>.
22975 (fma): Define using libm_alias_double.
22976 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
22977 <libm-alias-double.h>.
22978 (lrint): Define using libm_alias_double.
22979 (llrint): Likewise.
22980 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
22981 <libm-alias-double.h>.
22982 (nearbyint): Define using libm_alias_double.
22983 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
22984 <libm-alias-double.h>.
22985 (rint): Define using libm_alias_double.
22986 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
22987 <libm-alias-double.h>.
22988 (trunc): Define using libm_alias_double.
22989 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
22990 <libm-alias-double.h>.
22991 (copysign): Define using libm_alias_double.
22992 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
22993 <libm-alias-double.h>.
22994 (fabs): Define using libm_alias_double.
22995 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
22996 <libm-alias-double.h>.
22997 (lrint): Define using libm_alias_double.
22998 (llrint): Likewise.
22999 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
23000 <libm-alias-double.h>.
23001 (nearbyint): Define using libm_alias_double.
23002 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
23003 <libm-alias-double.h>.
23004 (rint): Define using libm_alias_double.
23005
cf4ebc27
JM
23006 [BZ #22229]
23007 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
23008 <math_ldbl_opt.h>.
23009 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
23010
0c097378
JM
23011 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23012 SPARC --disable-multi-arch glibc variants.
23013
34bb10aa
JM
23014 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
23015 <libm-alias-float.h>.
23016 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23017 if [SHARED].
23018 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
23019 <libm-alias-float.h>.
23020 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23021 if [SHARED].
23022 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
23023 <libm-alias-float.h>.
23024 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23025 if [SHARED].
23026 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
23027 <libm-alias-float.h>.
23028 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23029 if [SHARED].
23030 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
23031 <libm-alias-float.h>.
23032 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23033 if [SHARED].
23034 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
23035 <libm-alias-float.h>.
23036 (ceilf): Define using libm_alias_float.
23037 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
23038 <libm-alias-float.h>.
23039 (floorf): Define using libm_alias_float.
23040 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
23041 <libm-alias-float.h>.
23042 (fmaf): Define using libm_alias_float.
23043 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
23044 <libm-alias-float.h>.
23045 (nearbyintf): Define using libm_alias_float.
23046 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
23047 <libm-alias-float.h>.
23048 (rintf): Define using libm_alias_float.
23049 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
23050 <libm-alias-float.h>.
23051 (truncf): Define using libm_alias_float.
23052 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
23053 (copysignf): Define using libm_alias_float.
23054 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
23055 (cosf): Define using libm_alias_float.
23056 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
23057 (fabsf): Define using libm_alias_float.
23058 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23059 (fmaxf): Define using libm_alias_float.
23060 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
23061 (fminf): Define using libm_alias_float.
23062 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
23063 (llrintf): Define using libm_alias_float.
23064 [!__ILP32__] (lrintf): Likewise.
23065 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
23066 (sincosf): Define using libm_alias_float.
23067 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
23068 (sinf): Define using libm_alias_float.
23069 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
23070 (lrintf): Define using libm_alias_float.
23071
011fba7e
JM
23072 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
23073 <libm-alias-double.h>.
23074 (atan): Define using libm_alias_double.
23075 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
23076 <libm-alias-double.h>.
23077 (ceil): Define using libm_alias_double.
23078 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
23079 <libm-alias-double.h>.
23080 (floor): Define using libm_alias_double.
23081 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
23082 <libm-alias-double.h>.
23083 (fma): Define using libm_alias_double.
23084 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
23085 <libm-alias-double.h>.
23086 (nearbyint): Define using libm_alias_double.
23087 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
23088 <libm-alias-double.h>.
23089 (rint): Define using libm_alias_double.
23090 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
23091 <libm-alias-double.h>.
23092 (sin): Define using libm_alias_double.
23093 (cos): Likewise.
23094 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
23095 <libm-alias-double.h>.
23096 (tan): Define using libm_alias_double.
23097 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
23098 <libm-alias-double.h>.
23099 (trunc): Define using libm_alias_double.
23100 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
23101 (copysign): Define using libm_alias_double.
23102 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
23103 (fabs): Define using libm_alias_double.
23104 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
23105 (fmax): Define using libm_alias_double.
23106 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
23107 (fmin): Define using libm_alias_double.
23108 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
23109 (llrint): Define using libm_alias_double.
23110 [!__ILP32__] (lrint): Likewise.
23111 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
23112 (lrint): Define using libm_alias_double.
23113
1cbd7bfe
AZ
231142017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23115
21bfcc3d
AZ
23116 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23117 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
23118 objects.
23119 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
23120 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
23121 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
23122 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
23123 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
23124 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23125
522228dd
AZ
23126 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23127 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
23128 objects.
23129 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
23130 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
23131 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
23132 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
23133 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
23134 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23135
2a6f4fab
AZ
23136 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23137 (libm-sysdep_routines): Add s_nearbyint-generic and
23138 s_nearbyintf-generic objects.
23139 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
23140 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
23141 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
23142 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
23143 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
23144 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
23145
712b5b83
AZ
23146 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23147 Add s_finitef-generic and s_finite-generic objects.
23148 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
23149 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
23150 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
23151 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
23152 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
23153 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
23154
c96d3335
AZ
23155 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23156 Add s_isinff-generic and s_isinf-generic objects.
23157 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
23158 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
23159 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
23160 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
23161 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
23162 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23163
c6862a23
AZ
23164 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23165 Add s_isnanf-generic and s_isnan-generic objects.
23166 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
23167 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
23168 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
23169 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
23170 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
23171 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23172
1cbd7bfe
AZ
23173 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
23174 macro.
23175 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
23176 rule.
23177 (sysdep_routines): Use sysdep_calls as base.
23178 (libm-sysdep_routines): Add generic rule for symbols shared with
23179 libc. Add s_signbit-generic and s_signbitf-generic objects.
23180 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
23181 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
23182 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
23183 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
23184 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
23185 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23186
aa1142c5
JM
231872017-11-29 Joseph Myers <joseph@codesourcery.com>
23188
23189 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
23190 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
23191 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
23192 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
23193 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
23194 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
23195 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
23196 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
23197 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
23198 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
23199 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
23200 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
23201 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
23202 libm_alias_float_r.
23203 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
23204 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
23205 (logf): Likewise.
23206 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
23207 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
23208 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
23209 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
23210 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
23211 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
23212 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
23213 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
23214 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
23215 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
23216 libm_alias_float.
23217 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
23218 (cosf): Likewise.
23219 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
23220 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
23221 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
23222 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
23223 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
23224 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
23225 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
23226 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
23227 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
23228 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
23229 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
23230 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
23231 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
23232 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
23233 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
23234 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
23235 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
23236 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
23237 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
23238 libm_alias_float.
23239 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
23240 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
23241 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
23242 * sysdeps/ia64/fpu/w_lgammaf_main.c
23243 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
23244 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
23245
363e4519
DL
232462017-11-28 Mike FABIAN <mfabian@redhat.com>
23247 Alexandre Oliva <aoliva@redhat.com>
8da25eec
AO
23248
23249 [BZ #17750]
23250 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
23251 * localedata/fr_CA.UTF-8.in: New file with test data for backward
23252 accents sorting.
23253 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
23254 sorting.
23255 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
23256 * localedata/locales/de_DE (LC_COLLATE): Likewise.
23257 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
23258 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
23259 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
23260 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
23261 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
23262 instead of “ifdef DIACRIT_BACKWARD”.
23263
a55430cb
AZ
232642017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23265
23266 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
23267 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
23268 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
23269 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
23270 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
23271 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
23272 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
23273 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
23274 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
23275 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
23276 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
23277 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
23278 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
23279 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
23280 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
23281 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
23282 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
23283 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
23284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23285 ($(have-as-vis3) == yes): Remove conditional.
23286 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
23287 Likewise.
23288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
23289 file.
23290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
23291 file.
23292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
23293 file.
23294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
23295 file.
23296 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
23297 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
23298 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
23299 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
23300 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
23301 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
23302 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
23303 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
23304
0609ec0a
JM
233052017-11-29 Joseph Myers <joseph@codesourcery.com>
23306
23307 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
23308 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
23309 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
23310 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
23311 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
23312 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
23313 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
23314 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
23315 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
23316 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
23317 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
23318 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
23319 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
23320 libm_alias_double_r.
23321 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
23322 (log): Likewise.
23323 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
23324 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
23325 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
23326 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
23327 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
23328 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
23329 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
23330 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
23331 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
23332 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
23333 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
23334 libm_alias_double.
23335 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
23336 (cos): Likewise.
23337 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
23338 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
23339 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
23340 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
23341 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
23342 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
23343 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
23344 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
23345 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
23346 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
23347 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
23348 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
23349 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
23350 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
23351 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
23352 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
23353 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
23354 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
23355 libm_alias_double.
23356 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
23357 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
23358 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
23359 * sysdeps/ia64/fpu/w_lgamma_main.c
23360 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
23361 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
23362
d5bfa34a
JDA
233632017-11-28 John David Anglin <danglin@gcc.gnu.org>
23364
23365 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
23366 address of $global$ into %dp register earlier. Use pc-relative
23367 instruction sequence for PIC case.
23368
bc4e8f9b
JM
233692017-11-28 Joseph Myers <joseph@codesourcery.com>
23370
e4602cba
JM
23371 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
23372 (asinhf): Define using libm_alias_float.
23373 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
23374 (atanf): Define using libm_alias_float.
23375 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
23376 (cbrtf): Define using libm_alias_float.
23377 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
23378 (ceilf): Define using libm_alias_float.
23379 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
23380 (copysignf): Define using libm_alias_float.
23381 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
23382 (expm1f): Define using libm_alias_float.
23383 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
23384 (fabsf): Define using libm_alias_float.
23385 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
23386 (floorf): Define using libm_alias_float.
23387 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23388 (fmaxf): Define using libm_alias_float.
23389 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
23390 (fminf): Define using libm_alias_float.
23391 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
23392 (frexpf): Define using libm_alias_float.
23393 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
23394 (llrintf): Define using libm_alias_float.
23395 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
23396 (logbf): Define using libm_alias_float.
23397 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
23398 (lrintf): Define using libm_alias_float.
23399 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
23400 (nearbyintf): Define using libm_alias_float.
23401 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
23402 (remquof): Define using libm_alias_float.
23403 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
23404 (rintf): Define using libm_alias_float.
23405 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
23406 (truncf): Define using libm_alias_float.
23407 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
23408 <libm-alias-float.h>.
23409 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23410 if [SHARED].
23411 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
23412 <libm-alias-float.h>.
23413 (expf): Define using libm_alias_float, or libm_alias_float_other
23414 if [SHARED].
23415 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
23416 <libm-alias-float.h>.
23417 (log2f): Define using libm_alias_float, or libm_alias_float_other
23418 if [SHARED].
23419 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
23420 <libm-alias-float.h>.
23421 (logf): Define using libm_alias_float, or libm_alias_float_other
23422 if [SHARED].
23423 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
23424 <libm-alias-float.h>.
23425 (powf): Define using libm_alias_float, or libm_alias_float_other
23426 if [SHARED].
23427 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
23428 <libm-alias-float.h>.
23429 (cosf): Define using libm_alias_float.
23430 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
23431 <libm-alias-float.h>.
23432 (sincosf): Define using libm_alias_float.
23433 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
23434 <libm-alias-float.h>.
23435 (sinf): Define using libm_alias_float.
23436 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23437 (fmaxf): Define using libm_alias_float.
23438 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
23439 (fminf): Define using libm_alias_float.
23440 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
23441 <libm-alias-float.h>.
23442 (fmaf): Define using libm_alias_float.
23443
bc4e8f9b
JM
23444 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
23445 (asinh): Define using libm_alias_double.
23446 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
23447 (atan): Define using libm_alias_double.
23448 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
23449 (cbrt): Define using libm_alias_double.
23450 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
23451 (ceil): Define using libm_alias_double.
23452 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
23453 (copysign): Define using libm_alias_double.
23454 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
23455 (expm1): Define using libm_alias_double.
23456 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
23457 (fabs): Define using libm_alias_double.
23458 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
23459 (fdim): Define using libm_alias_double.
23460 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
23461 (floor): Define using libm_alias_double.
23462 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
23463 (fmax): Define using libm_alias_double.
23464 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
23465 (fmin): Define using libm_alias_double.
23466 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
23467 (frexp): Define using libm_alias_double.
23468 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
23469 (llrint): Define using libm_alias_double.
23470 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
23471 (logb): Define using libm_alias_double.
23472 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
23473 (lrint): Define using libm_alias_double.
23474 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
23475 (nearbyint): Define using libm_alias_double.
23476 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
23477 (remquo): Define using libm_alias_double.
23478 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
23479 (rint): Define using libm_alias_double.
23480 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
23481 (trunc): Define using libm_alias_double.
23482 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
23483 (fmax): Define using libm_alias_double.
23484 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
23485 (fmin): Define using libm_alias_double.
23486 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
23487 (fma): Define using libm_alias_double.
23488
8d81ce0c
L
234892017-11-28 H.J. Lu <hongjiu.lu@intel.com>
23490
23491 [BZ #22370]
23492 * elf/dl-hwcaps.c (ROUND): Removed.
23493 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
23494 and ELF_NOTE_NEXT_OFFSET.
23495 * elf/dl-load.c (ROUND): Removed.
23496 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
23497 * elf/readelflib.c (ROUND): Removed.
23498 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
23499 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
23500 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
23501 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
23502
6940bd96
JM
235032017-11-28 Joseph Myers <joseph@codesourcery.com>
23504
313ba463
JM
23505 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
23506 [!__fmaf] (fmaf): Define using libm_alias_float.
23507
6940bd96
JM
23508 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
23509 [!__fma] (fma): Define using libm_alias_double.
23510 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
23511
22c69b6a
MF
235122017-11-28 Mike FABIAN <mfabian@redhat.com>
23513
23514 [BZ #22336]
23515 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
23516 and implement the collation rules for cs from CLDR on top of that.
23517 * Makefile: Add cs_CZ.UTF-8 to test-input.
23518 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
23519
8d7d3ba8
SP
235202017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
23521
23522 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
23523
0422ed1e
VR
235242017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
23525 Icarus Sparry <icarus.w.sparry@intel.com>
23526
23527 * benchtests/Makefile:Add BENCHSET to allow subsets of
23528 benchmarks to be run.
23529 * benchtests/README: Add documentation for: Running subsets of
23530 benchmarks.
23531
0595e360
VR
235322017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
23533
d5090db3
VR
23534 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
23535 range of tests names.
23536
0595e360
VR
23537 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
23538 result from property and remove "max", min" and "mean" from
23539 required properties based on benchtests/bench-skeleton.c.
23540
b4c645c2
FW
235412017-11-28 Florian Weimer <fweimer@redhat.com>
23542
23543 [BZ #20826]
23544 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
23545 due to Internet requirement.
23546 * posix/Makefile (tests): Remove tst-getaddrinfo4,
23547 tst-getaddrinfo5.
23548 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
23549
88684de7
AZ
235502017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23551
69056564
AZ
23552 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23553 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
23554 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
23555 (sysdep_routines): Add memset-ultra1.
23556 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
23557 file.
23558 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
23559 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
23560 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
23561 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
23562 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
23563 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
23564 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
23565 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23566
88684de7
AZ
23567 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
23568 file.
23569 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
23570 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
23571 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
23572 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
23573 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
23574 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
23575 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
23576 macro.
23577 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23578 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
23579 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
23580 (sysdep_routines): Add memcpy-ultra1.
23581 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
23582 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
23583
d8124864
JM
235842017-11-28 Joseph Myers <joseph@codesourcery.com>
23585
f433d0b3
JM
23586 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
23587 (cfloat_versions): Take function argument without trailing 'f'.
23588 Call libm_alias_float_other.
23589 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
23590 * sysdeps/alpha/fpu/cargf.c: Likewise.
23591 * sysdeps/alpha/fpu/cimagf.c: Likewise.
23592 * sysdeps/alpha/fpu/conjf.c: Likewise.
23593 * sysdeps/alpha/fpu/crealf.c: Likewise.
23594 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
23595 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
23596 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
23597 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
23598 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
23599 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
23600 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
23601 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
23602 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
23603 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
23604 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
23605 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
23606 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
23607 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
23608 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
23609 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
23610 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
23611 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
23612 (clog10f): Use libm_alias_float_other.
23613 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
23614 (ceilf): Define using libm_alias_float.
23615 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
23616 (copysignf): Define using libm_alias_float.
23617 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
23618 (fabsf): Define using libm_alias_float.
23619 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
23620 (floorf): Define using libm_alias_float.
23621 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
23622 (fmaxf): Define using libm_alias_float.
23623 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
23624 (fminf): Define using libm_alias_float.
23625 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
23626 (lrintf): Define using libm_alias_float.
23627 (llrintf): Likewise.
23628 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
23629 (lroundf): Define using libm_alias_float.
23630 (llroundf): Likewise.
23631 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
23632 (rintf): Define using libm_alias_float.
23633 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
23634 (truncf): Define using libm_alias_float.
23635
15ff4900
JM
23636 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
23637 (ceilf): Define using libm_alias_float.
23638 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
23639 (floorf): Define using libm_alias_float.
23640 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
23641 (fmaf): Define using libm_alias_float.
23642 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
23643 (fmaxf): Define using libm_alias_float.
23644 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
23645 (fminf): Define using libm_alias_float.
23646 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
23647 (llrintf): Define using libm_alias_float.
23648 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
23649 (llroundf): Define using libm_alias_float.
23650 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
23651 (lrintf): Define using libm_alias_float.
23652 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
23653 (lroundf): Define using libm_alias_float.
23654 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
23655 <libm-alias-float.h>.
23656 (nearbyintf): Define using libm_alias_float.
23657 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
23658 (rintf): Define using libm_alias_float.
23659 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
23660 (roundf): Define using libm_alias_float.
23661 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
23662 (truncf): Define using libm_alias_float.
23663
5de60638
JM
23664 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
23665 (ceil): Define using libm_alias_double.
23666 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
23667 (copysign): Define using libm_alias_double.
23668 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
23669 (fabs): Define using libm_alias_double.
23670 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
23671 (floor): Define using libm_alias_double.
23672 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
23673 (fmax): Define using libm_alias_double.
23674 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
23675 (fmin): Define using libm_alias_double.
23676 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
23677 (lrint): Define using libm_alias_double.
23678 (llrint): Likewise.
23679 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
23680 (lround): Define using libm_alias_double.
23681 (llround): Likewise.
23682 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
23683 (rint): Define using libm_alias_double.
23684 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
23685 (trunc): Define using libm_alias_double.
23686
d8124864
JM
23687 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
23688 (libm_alias_double_r): Add semicolon after weak_alias call.
23689
f07d2ec8
JM
236902017-11-27 Joseph Myers <joseph@codesourcery.com>
23691
23692 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
23693 (ceil): Define using libm_alias_double.
23694 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
23695 (floor): Define using libm_alias_double.
23696 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
23697 (fma): Define using libm_alias_double.
23698 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
23699 (fmax): Define using libm_alias_double.
23700 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
23701 (fmin): Define using libm_alias_double.
23702 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
23703 (llrint): Define using libm_alias_double.
23704 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
23705 (llround): Define using libm_alias_double.
23706 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
23707 (lrint): Define using libm_alias_double.
23708 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
23709 (lround): Define using libm_alias_double.
23710 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
23711 (nearbyint): Define using libm_alias_double.
23712 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
23713 (rint): Define using libm_alias_double.
23714 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
23715 (round): Define using libm_alias_double.
23716 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
23717 (trunc): Define using libm_alias_double.
23718
4bab0224
FW
237192017-11-27 Florian Weimer <fweimer@redhat.com>
23720
23721 * sysdeps/unix/sysv/linux/mlock2.c: New file.
23722 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
23723 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
23724 (tests): Add tst-mlock2.
23725 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
23726 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
23727 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
23728 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
23729 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
23730 for mlock. Document mlock2.
23731
a23aa5b7
JM
237322017-11-27 Joseph Myers <joseph@codesourcery.com>
23733
23734 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
23735 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
23736 Likewise.
23737 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
23738 Likewise.
23739 * sysdeps/x86/Makeconfig: New file.
23740 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
23741 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23742 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
23743 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23744 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23745 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23746 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
23747 Likewise.
23748 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23749 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23750 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23751 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23752 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23753 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23754 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23755 * manual/math.texi (Mathematics): Document support for _Float64x.
23756 * math/Versions (GLIBC_2.27): Add _Float64x functions.
23757 * stdlib/Versions (GLIBC_2.27): Likewise.
23758 * wcsmbs/Versions (GLIBC_2.27): Likewise.
23759 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23760 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23761 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23762 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23763 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23764 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23765 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23766 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23767 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23768 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23769 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
23771 Likewise.
23772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23773 Likewise.
23774 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23775 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23776 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23777 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23778 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23779 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23780 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23781 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23782 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23783 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23784 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23785 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23786 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23787 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23788
c2c299fd
AS
237892017-11-27 Andreas Schwab <schwab@suse.de>
23790
23791 * elf/Makefile (dl-routines): Add dl-sort-maps.
23792 * elf/dl-sort-maps.c: New file.
23793 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
23794 (_dl_sort_maps): Declare.
23795 * elf/dl-fini.c (_dl_sort_fini): Remove.
23796 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
23797 * elf/dl-close.c (_dl_close_worker): Likewise.
23798 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
23799 open-coding it.
23800 * elf/dl-open.c (dl_open_worker): Likewise.
23801
9d4b0117
JM
238022017-11-24 Joseph Myers <joseph@codesourcery.com>
23803
de61465c
JM
23804 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
23805 using libm_alias_float128.
23806 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
23807 Likewise.
23808 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
23809 Likewise.
23810 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
23811 (setpayloadsigf128): Likewise.
23812 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
23813 Likewise.
23814 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
23815 Likewise.
23816
9ae6d171
JM
23817 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
23818 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
23819 -mfloat128 to CFLAGS.
23820 ($(foreach
23821 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
23822 Likewise.
23823 (CFLAGS-libm-test-support-float64x.c): New variable.
23824 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
23825 $(f128-loader-link) to gnulib-tests.
23826
6e70d156
JM
23827 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
23828 (libm_alias_float128_other_r): If
23829 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
23830 alias.
23831 (libm_alias_float128_r): Add semicolon after weak_alias call.
23832 * sysdeps/generic/libm-alias-ldouble.h
23833 (libm_alias_ldouble_other_r_f128): New macro.
23834 (libm_alias_ldouble_other_r_f64x): Likewise.
23835 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
23836 and libm_alias_ldouble_other_r_f64x.
23837 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
23838 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
23839 (libm_alias_ldouble_other_r_f128): New macro.
23840 (libm_alias_ldouble_other_r_f64x): Likewise.
23841 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
23842 and libm_alias_ldouble_other_r_f64x.
23843
df2806cd
JM
23844 * stdlib/strfroml.c: Always include <stdlib.h>.
23845 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
23846 undefine as macro and define as weak alias.
23847 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
23848 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
23849 <stdlib.h>.
23850 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
23851 Define and later undefine as macro and define as weak alias.
23852
0df4fe35
JM
23853 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
23854 Define and later undefine as macro. Define as weak alias if
23855 [!USE_WIDE_CHAR].
23856 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
23857 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23858 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
23859 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
23860 Define and later undefine as macro. Define as weak alias if
23861 [!USE_WIDE_CHAR].
23862 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
23863 Define and later undefine as macro. Define as weak alias if
23864 [USE_WIDE_CHAR].
23865 * sysdeps/ieee754/float128/strtof128_l.c
23866 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
23867 Define and later undefine as macro. Define as weak alias if
23868 [!USE_WIDE_CHAR].
23869 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
23870 Define and later undefine as macro. Define as weak alias if
23871 [USE_WIDE_CHAR].
23872 * sysdeps/ieee754/ldbl-128/strtold_l.c
23873 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23874 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23875 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23876 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23877 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
23878 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23879 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23880 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23881 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23882 * sysdeps/ieee754/ldbl-96/strtold_l.c
23883 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23884 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23885 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23886 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23887
ae7207d0
JM
23888 * math/test-float64x.h: New file.
23889 * math/Makefile (type-float64x-yes): New variable.
23890 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
23891
9596fc69
JM
23892 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
23893 function-like macro.
23894 (min_of_type_): Likewise.
23895 (min_of_type_l): Likewise.
23896 (min_of_type_f128): Likewise.
23897 (min_of_type): Pass () as last argument of __MATH_TG.
23898
46453c3c
JM
23899 * stdlib/tst-strtod-round-skeleton.c
23900 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
23901 headers.
23902
01e659e7
JM
23903 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
23904 for combinations of long double with _Float64 and _Float64x.
23905
5c60afdd
JM
23906 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
23907 (__DECL_SIMD_cosf32): Likewise.
23908 (__DECL_SIMD_cosf64): Likewise.
23909 (__DECL_SIMD_cosf32x): Likewise.
23910 (__DECL_SIMD_cosf64x): Likewise.
23911 (__DECL_SIMD_cosf128x): Likewise.
23912 (__DECL_SIMD_sinf16): Likewise.
23913 (__DECL_SIMD_sinf32): Likewise.
23914 (__DECL_SIMD_sinf64): Likewise.
23915 (__DECL_SIMD_sinf32x): Likewise.
23916 (__DECL_SIMD_sinf64x): Likewise.
23917 (__DECL_SIMD_sinf128x): Likewise.
23918 (__DECL_SIMD_sincosf16): Likewise.
23919 (__DECL_SIMD_sincosf32): Likewise.
23920 (__DECL_SIMD_sincosf64): Likewise.
23921 (__DECL_SIMD_sincosf32x): Likewise.
23922 (__DECL_SIMD_sincosf64x): Likewise.
23923 (__DECL_SIMD_sincosf128x): Likewise.
23924 (__DECL_SIMD_logf16): Likewise.
23925 (__DECL_SIMD_logf32): Likewise.
23926 (__DECL_SIMD_logf64): Likewise.
23927 (__DECL_SIMD_logf32x): Likewise.
23928 (__DECL_SIMD_logf64x): Likewise.
23929 (__DECL_SIMD_logf128x): Likewise.
23930 (__DECL_SIMD_expf16): Likewise.
23931 (__DECL_SIMD_expf32): Likewise.
23932 (__DECL_SIMD_expf64): Likewise.
23933 (__DECL_SIMD_expf32x): Likewise.
23934 (__DECL_SIMD_expf64x): Likewise.
23935 (__DECL_SIMD_expf128x): Likewise.
23936 (__DECL_SIMD_powf16): Likewise.
23937 (__DECL_SIMD_powf32): Likewise.
23938 (__DECL_SIMD_powf64): Likewise.
23939 (__DECL_SIMD_powf32x): Likewise.
23940 (__DECL_SIMD_powf64x): Likewise.
23941 (__DECL_SIMD_powf128x): Likewise.
23942
9d4b0117
JM
23943 * stdlib/Versions (libc): Move entries for wcstof128 and
23944 wcstof128_l to ....
23945 * wcsmbs/Versions (libc): ... here.
23946 Include <float128-abi.h>.
23947
7911dd47
FW
239482017-11-24 Florian Weimer <fweimer@redhat.com>
23949
23950 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23951 bits/mman-shared.h.
23952 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
23953 <bits/mman-shared.h>.
23954 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
23955 to ...
23956 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
23957 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
23958 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
23959 <bits/mman-shared.h>.
23960
c45d78aa
AZ
239612017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23962
23963 [BZ #22457]
23964 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
23965 posix_memalign/free.
23966 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
23967
3ffc4cc1
MF
239682017-11-22 Mike FABIAN <mfabian@redhat.com>
23969
23970 [BZ #22469]
23971 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
23972 and implement the collation rules for pl from CLDR on top of that.
23973 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
23974 of locales to be built for testing.
23975 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
23976
3a327316
JM
239772017-11-23 Joseph Myers <joseph@codesourcery.com>
23978
23979 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
23980 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
23981 libm_alias_ldouble_other.
23982 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
23983 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
23984 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
23985 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
23986 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
23987 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
23988 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
23989 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
23990 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
23991 libm_alias_ldouble_r.
23992 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
23993 libm_alias_ldouble_other.
23994 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
23995 (log10l): Likewise.
23996 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
23997 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
23998 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
23999 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
24000 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
24001 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
24002 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
24003 (atan2l): Likewise.
24004 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
24005 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
24006 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
24007 libm_alias_ldouble.
24008 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
24009 (cosl): Likewise.
24010 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
24011 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
24012 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
24013 (expl): Likewise.
24014 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
24015 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
24016 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
24017 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
24018 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
24019 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
24020 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
24021 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
24022 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
24023 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
24024 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
24025 libm_alias_ldouble.
24026 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
24027 libm_alias_ldouble_other.
24028 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
24029 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
24030 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
24031 libm_alias_ldouble.
24032 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
24033 libm_alias_ldouble_other.
24034 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
24035 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
24036 * sysdeps/ia64/fpu/w_lgammal_main.c
24037 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
24038 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
24039
0a947e06
FW
240402017-11-23 Florian Weimer <fweimer@redhat.com>
24041
24042 * malloc/malloc.c (tcache_thread_shutdown): Rename from
24043 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
24044 alike. Remove freeres marker.
24045 * malloc/arena.c (arena_thread_freeres): Call
24046 tcache_thread_shutdown.
24047
67f36c79
FW
240482017-11-23 Florian Weimer <fweimer@redhat.com>
24049
24050 [BZ #22459]
24051 Export nscd hash function as __nss_hash.
24052 * include/nss.h (__nss_hash): Declare.
24053 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
24054 symbol.
24055 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
24056 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
24057 of __nscd_hash.
24058 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
24059 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
24060 * nss/Makefiles (routines): Add nss_hash.
24061 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
24062 * nss/nss_hash.c: Rename from nis/nis_hash.c.
24063 (__nss_hash): Rename from __nis_hash. Define hidden alias.
24064 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
24065
cccb6d4e
FW
240662017-11-23 Florian Weimer <fweimer@redhat.com>
24067
24068 [BZ #22478]
24069 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
24070 Return error code, not -1.
24071 * signal/tst-sigwait-eintr.c: New file.
24072 * signal/Makefile (tests): Add tst-sigwait-eintr.
24073
59d2cbb1
FW
240742017-11-23 Florian Weimer <fweimer@redhat.com>
24075
24076 Linux: Add memfd_create system call wrapper
24077 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
24078 tst-memfd_create.
24079 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
24080 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
24081 [__USE_GNU] (memfd_create): Declare.
24082 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
24083 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
24084 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
24085 * sysdeps/unix/sysv/linux/**.abilist: Update.
24086 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
24087
a90d1ac2
JM
240882017-11-22 Joseph Myers <joseph@codesourcery.com>
24089
0a9d1d62
JM
24090 * localedata/gen-locale.sh: Fix typo in variable name.
24091
754034c4
JM
24092 * resolv/res_debug.c (p_secstodate): Condition definition on
24093 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
24094 directly as __p_secstodate, and as a compat symbol. Do not use
24095 libresolv_hidden_def.
24096 * resolv/resolv.h (p_secstodate): Remove macro and function
24097 declaration.
24098 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
24099 using p_secstodate.
24100 * include/resolv.h (__p_secstodate): Do not use
24101 libresolv_hidden_proto.
24102 * resolv/Makefile (tests): Move tst-p_secstodate to ....
24103 (tests-internal): ... here.
24104 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
24105 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
24106 and declare and use __p_secstodate and use compat_symbol_reference
24107 in that case.
24108 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
24109 implementation returning 77.
24110
f120cda6
JM
24111 [BZ #22463]
24112 * resolv/res_debug.c: Include <libc-diag.h>.
24113 (p_secstodate): Assert time_t at least as wide as u_long. On
24114 overflow, use integer seconds since the epoch as output, or use
24115 "<overflow>" as output and set errno to EOVERFLOW if integer
24116 seconds since the epoch would be 14 or more characters.
24117 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
24118 for sprintf call.
24119 * resolv/tst-p_secstodate.c: New file.
24120 * resolv/Makefile (tests): Add tst-p_secstodate.
24121 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
24122
a90d1ac2
JM
24123 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
24124 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
24125 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
24126
0285e6bd
PE
241272017-11-22 Paul Eggert <eggert@cs.ucla.edu>
24128
24129 * posix/regcomp.c (init_word_char): Add comments.
24130
4bae6150
JM
241312017-11-22 Joseph Myers <joseph@codesourcery.com>
24132
24133 [BZ #22447]
24134 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
24135 strlen to compute length of ut_user and set trailing NUL byte of
24136 result explicitly.
24137
4b7af5fc
MF
241382017-11-21 Mike FABIAN <mfabian@redhat.com>
24139
24140 [BZ #15537]
24141 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
24142 using “copy "iso14651_t1"” and then implementing the
24143 collation rules for lv from CLDR on top of that.
24144 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
24145 of locales to be built for testing.
24146 * lv_LV.UTF-8.in: New file with test data to test the Latvian
24147 sorting.
24148
922bb78c
JM
241492017-11-21 Joseph Myers <joseph@codesourcery.com>
24150
24151 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
24152 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
24153 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
24154 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
24155 [__USE_MISC] (MADV_HWPOISON): New macro.
24156 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
24157
a3aaa598
AZ
241582017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24159
24160 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
24161 -Wmissing-braces on GCC 4.9.
24162
8beba15d
SL
241632017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
24164
24165 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
24166 * sysdeps/s390/s390-32/start.S (_start): Likewise
24167 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
24168 (thread_start): Likewise.
24169 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
24170 (thread_start): Likewise.
24171 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
24172 (__makecontext_ret): Likewise.
24173 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
24174 (__makecontext_ret): Likewise.
24175
80eb52e3
SL
241762017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
24177
24178 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
24179 __wcschrnul): Remove attribute_hidden.
24180
567d8c1f
PE
241812017-11-20 Paul Eggert <eggert@cs.ucla.edu>
24182
24183 regex: don't assume uint64_t or uint32_t
24184 This avoids -Werror=overflow errors for 32-bit systems in
24185 the 64-bit case. Problem reported by Joseph Myers in:
24186 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
24187 Also, when this code is used in Gnulib it ports to platforms
24188 that lack uint64_t and uint32_t. The C standard doesn't guarantee
24189 them, and on some 32-bit compilers there is no uint64_t.
24190 Problem reported by Gianluigi Tiesi in:
24191 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
24192 * posix/regcomp.c (init_word_char): Don't assume that the types
24193 uint64_t and uint32_t exist. Adapted from Gnulib patch
24194 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
24195 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
24196
4d7632ff
SP
241972017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
24198
5a67c4fa
SP
24199 * sysdeps/aarch64/memset-reg.h: New file.
24200 * sysdeps/aarch64/memset.S: Use it.
24201 (__memset): Rename to MEMSET macro.
24202 [ZVA_MACRO]: Use zva_macro.
24203 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
24204 Add memset_generic and memset_falkor.
24205 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
24206 (__libc_ifunc_impl_list): Add memset ifuncs.
24207 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
24208 local variable zva_size.
24209 * sysdeps/aarch64/multiarch/memset.c: New file.
24210 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
24211 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
24212 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
24213 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
24214 (DCZID_DZP_MASK): New macro.
24215 (DCZID_BS_MASK): Likewise.
24216 (init_cpu_features): Read and set zva_size.
24217 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
24218 (struct cpu_features): New member zva_size.
24219
eb332f9f
SP
24220 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
24221 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
24222 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
24223
4d7632ff
SP
24224 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
24225 backwards. Fix timing computation.
24226 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
24227 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
24228 on memset by N at a time. Fix timing computation.
24229
a465b89e
FW
242302017-11-20 Florian Weimer <fweimer@redhat.com>
24231
24232 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
24233 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
24234
0f74bbf5
FW
242352017-11-19 Florian Weimer <fweimer@redhat.com>
24236
24237 manual: Document mprotect
24238 * manual/memory.texi (Memory Protection): New section.
24239 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
24240 documentation of PROT_* flags and reference the Memory Protection
24241 section instead.
24242
f6e965ee
FW
242432017-11-19 Florian Weimer <fweimer@redhat.com>
24244
24245 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
24246 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
24247 (Scatter-Gather): ... to here. Remove misleading comment.
24248
363e4519 242492017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
ea69a5c8 24250
5f9d1949
CB
24251 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
24252 style.
24253
ea69a5c8
CB
24254 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
24255 when /proc/<pid>/setgroups does not exist.
24256
8db7f48c
FW
242572017-11-18 Florian Weimer <fweimer@redhat.com>
24258
24259 * sysdeps/unix/sysv/linux/tst-ttyname.c
24260 (become_root_in_mount_ns): Remove.
24261 (do_in_chroot_1): Call support_enter_mount_namespace.
24262 (do_in_chroot_2): Likewise.
24263 (do_test): Call support_become_root early.
24264
273a0c49
FW
242652017-11-18 Florian Weimer <fweimer@redhat.com>
24266
24267 * support/namespace.h (support_enter_mount_namespace): Declare.
24268 * support/support_enter_mount_namespace.c: New file.
24269 * support/Makefile (libsupport-routines): Add
24270 support_enter_mount_namespace.
24271
8adfb0ee
FW
242722017-11-18 Florian Weimer <fweimer@redhat.com>
24273
24274 * support/temp_file.c (support_create_temp_directory): Use
24275 test_dir and do not rely on the presence of the XXXXXX suffix.
24276 * support/temp_file.h (support_create_temp_directory): Update
24277 comment.
24278 * support/tst-xreadlink.c (do_test): Adjust.
24279 * support/support_chroot.c (support_chroot_create): Likewise.
24280
df0c40ee
TMQMF
242812017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24282
24283 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
24284 macro.
24285 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
24286 htm-no-suspend.
24287
015c6dc2
JM
242882017-11-17 Joseph Myers <joseph@codesourcery.com>
24289
f58e5f48
JM
24290 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
24291 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
24292 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
24293 (ceill): Define using libm_alias_ldouble.
24294 * sysdeps/x86_64/fpu/s_copysignl.S: Include
24295 <libm-alias-ldouble.h>.
24296 (copysignl): Define using libm_alias_ldouble.
24297 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
24298 (fabsl): Define using libm_alias_ldouble.
24299 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
24300 (floorl): Define using libm_alias_ldouble.
24301 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24302 (fmaxl): Define using libm_alias_ldouble.
24303 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24304 (fminl): Define using libm_alias_ldouble.
24305 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
24306 (llrintl): Define using libm_alias_ldouble.
24307 (lrintl): Likewise.
24308 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
24309 <libm-alias-ldouble.h>.
24310 (nearbyintl): Define using libm_alias_ldouble.
24311 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
24312 (truncl): Define using libm_alias_ldouble.
24313 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
24314 <libm-alias-ldouble.h>.
24315 (lrintl): Define using libm_alias_ldouble.
24316
2ce30701
JM
24317 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
24318 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
24319 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
24320 (asinhl): Define using libm_alias_ldouble.
24321 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
24322 (atanl): Define using libm_alias_ldouble.
24323 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
24324 (cbrtl): Define using libm_alias_ldouble.
24325 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
24326 (ceill): Define using libm_alias_ldouble.
24327 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
24328 (copysignl): Define using libm_alias_ldouble.
24329 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
24330 (fabsl): Define using libm_alias_ldouble.
24331 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
24332 (floorl): Define using libm_alias_ldouble.
24333 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24334 (fmaxl): Define using libm_alias_ldouble.
24335 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24336 (fminl): Define using libm_alias_ldouble.
24337 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
24338 (frexpl): Define using libm_alias_ldouble.
24339 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
24340 (llrintl): Define using libm_alias_ldouble.
24341 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
24342 (logbl): Define using libm_alias_ldouble.
24343 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
24344 (lrintl): Define using libm_alias_ldouble.
24345 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
24346 (nearbyintl): Define using libm_alias_ldouble.
24347 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
24348 (nextafterl): Define using libm_alias_ldouble.
24349 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
24350 (remquol): Define using libm_alias_ldouble.
24351 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
24352 (rintl): Define using libm_alias_ldouble.
24353 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
24354 (truncl): Define using libm_alias_ldouble.
24355 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24356 (fmaxl): Define using libm_alias_ldouble.
24357 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24358 (fminl): Define using libm_alias_ldouble.
24359
015c6dc2
JM
24360 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
24361 to C syntax instead of availability and properties of types.
24362 * bits/floatn.h [!__ASSEMBLER]: Likewise.
24363 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
24364 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
24365 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
24366 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
24367 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
24368
ce003e5d
FW
243692017-11-17 Florian Weimer <fweimer@redhat.com>
24370
24371 support_become_root: Enable file creation in namespaces.
24372 * support/support_become_root.c (setup_mapping): New function.
24373 (support_become_root): Call it.
24374
e7df6c5c
JM
243752017-11-17 Joseph Myers <joseph@codesourcery.com>
24376
24377 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
24378 macro.
24379
58a813bf
AZ
243802017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24381
24382 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
24383 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
24384
f97773d1
JM
243852017-11-16 Joseph Myers <joseph@codesourcery.com>
24386
6a6aa1f3
JM
24387 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
24388
f97773d1
JM
24389 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
24390 version to 4.14.
24391
a306c790
SP
243922017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
24393
7b0fb870
SP
24394 * INSTALL: Fix botched up regeneration.
24395
24396 * NEWS: Update sourceare link to https.
a306c790
SP
24397 * configure.ac: Likewise.
24398 * crypt/md5test-giant.c: Likewise.
24399 * dlfcn/bug-atexit1.c: Likewise.
24400 * dlfcn/bug-atexit2.c: Likewise.
24401 * localedata/README: Likewise.
24402 * malloc/tst-mallocfork.c: Likewise.
24403 * manual/install.texi: Likewise.
24404 * nptl/tst-pthread-getattr.c: Likewise.
24405 * stdio-common/tst-fgets.c: Likewise.
24406 * stdio-common/tst-fwrite.c: Likewise.
24407 * sunrpc/Makefile: Likewise.
24408 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
24409 * wcsmbs/tst-mbrtowc2.c: Likewise.
7b0fb870
SP
24410 * configure: Regenerate.
24411 * INSTALL: Regenerate.
a306c790 24412
7532837d
MS
244132017-11-15 Martin Sebor <msebor@redhat.com>
24414
24415 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
24416 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
24417 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
24418
495a56fd
LS
244192017-11-15 Luke Shumaker <lukeshu@parabola.nu>
24420
d9611e30
LS
24421 [BZ #22145]
24422 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
24423 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
24424
a09dfc19
LS
24425 [BZ #22145]
24426 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
24427 Defer is_pty check until end of the function.
24428 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24429
2fbce9c2
LS
24430 [BZ #22145]
24431 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
24432 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
24433 (ttyname): Likewise.
24434 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
24435 (__ttyname_r): Likewise.
24436
d10d6cab
LS
24437 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
24438 int to bool.
24439
9b5a8750
LS
24440 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
24441
495a56fd
LS
24442 * manual/terminal.texi (Is It a Terminal):
24443 Mention ENODEV for ttyname and ttyname_r.
24444
fa680dc6
JM
244452017-11-15 Joseph Myers <joseph@codesourcery.com>
24446
78cde19f
JM
24447 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
24448 constant and macro.
24449
fa680dc6
JM
24450 * sysdeps/unix/sysv/linux/bits/mman-linux.h
24451 [__USE_MISC] (MADV_WIPEONFORK): New macro.
24452 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
24453 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
24454 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
24455 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
24456
ad4f43a2
AZ
244572017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24458
1ba1d8a4
AZ
24459 * signal/sigrelse.c (sigrelse): Optimize implementation.
24460
ad4f43a2
AZ
24461 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
24462 (__sigpause): Rely on __sigsuspend to implement single thread
24463 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
24464
d0212d42
JM
244652017-11-15 Joseph Myers <joseph@codesourcery.com>
24466
24467 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
24468 kernel version to 4.14.
24469
2180fee1
SE
244702017-11-15 Steve Ellcey <sellcey@cavium.com>
24471
24472 [BZ #22442]
24473 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
24474 Check if ifname is too long.
24475
cad7ca39
LS
244762017-11-15 Luke Shumaker <lukeshu@parabola.nu>
24477
24478 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
24479
58c9f659
MF
244802017-11-15 Mike FABIAN <mfabian@redhat.com>
24481
24482 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
24483 was accidentally lost.
24484
0fa87c01
MF
244852017-11-15 Mike FABIAN <mfabian@redhat.com>
24486
24487 * localedata/locales/az_IR: Add standard copyright header.
24488
34eb4157
FW
244892017-11-15 Florian Weimer <fweimer@redhat.com>
24490
24491 [BZ #22439]
24492 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
24493 not just the top one. Output a new "subheaps" statistic.
24494
7a9368a1
FW
244952017-11-15 Florian Weimer <fweimer@redhat.com>
24496
24497 [BZ #22408]
24498 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
24499 under the per-arena lock.
24500 * malloc/Makefile (tests): Add tst-malloc_info.
24501 (tst-malloc_info): Link with libpthread.
24502 * malloc/tst-malloc_info.c: New file.
24503
be3a79a3
JM
245042017-11-15 Joseph Myers <joseph@codesourcery.com>
24505
24506 [BZ #21660]
24507 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
24508 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
24509 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
24510 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
24511 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
24512 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
24513 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
24514 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
24515 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
24516 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
24517 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
24518 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
24519 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
24520 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
24521 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
24522 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
24523 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
24524 (__floating_type): Likewise.
24525 (__real_integer_type): Likewise.
24526 (__complex_integer_type): Likewise.
24527 (__expr_is_real): Likewise.
24528 (__tgmath_real_type_sub): Likewise.
24529 (__tgmath_real_type): Likewise.
24530 (__tgmath_complex_type_sub): Likewise.
24531 (__tgmath_complex_type): Likewise.
24532 (__TGMATH_F128): Likewise.
24533 (__TGMATH_CF128): Likewise.
24534 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
24535 new macros.
24536 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
24537 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
24538 Likewise.
24539 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
24540 Likewise.
24541 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
24542 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
24543 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
24544 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
24545 Likewise.
24546 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
24547 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
24548 Likewise.
24549 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
24550 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
24551 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
24552 Likewise.
24553 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
24554 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
24555 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
24556 (cimag): Likewise.
24557 (creal): Likewise.
24558
ec72135e
JM
245592017-11-14 Joseph Myers <joseph@codesourcery.com>
24560
2e64ec9c
JM
24561 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
24562 for stpncpy calls for GCC 8.
24563 (test_strncat): Disable -Wstringop-truncation warning for strncat
24564 calls for GCC 8. Disable -Wstringop-overflow= warning for one
24565 strncat call for GCC 7.
24566 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
24567 calls for GCC 8.
24568 (test_memcmp): Use memcpy instead of strncpy for calls not copying
24569 trailing NUL.
24570
ec72135e
JM
24571 * string/bug-strncat1.c: Include <libc-diag.h>.
24572 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
24573
363e4519 245742017-11-13 Claude Paroz <claude@2xlibre.net>
a259f5d3
CP
24575
24576 [BZ #22387]
24577 * localedata/locales/aa_DJ: Improved readibility by replacing
24578 <Uxxxx> sequences in the ASCII printable range by their ASCII
24579 character equivalents.
24580 * localedata/locales/aa_ER: Likewise.
24581 * localedata/locales/aa_ER@saaho: Likewise.
24582 * localedata/locales/aa_ET: Likewise.
24583 * localedata/locales/af_ZA: Likewise.
24584 * localedata/locales/agr_PE: Likewise.
24585 * localedata/locales/ak_GH: Likewise.
24586 * localedata/locales/am_ET: Likewise.
24587 * localedata/locales/anp_IN: Likewise.
24588 * localedata/locales/ar_AE: Likewise.
24589 * localedata/locales/ar_BH: Likewise.
24590 * localedata/locales/ar_DZ: Likewise.
24591 * localedata/locales/ar_EG: Likewise.
24592 * localedata/locales/ar_IN: Likewise.
24593 * localedata/locales/ar_IQ: Likewise.
24594 * localedata/locales/ar_JO: Likewise.
24595 * localedata/locales/ar_KW: Likewise.
24596 * localedata/locales/ar_LB: Likewise.
24597 * localedata/locales/ar_LY: Likewise.
24598 * localedata/locales/ar_MA: Likewise.
24599 * localedata/locales/ar_OM: Likewise.
24600 * localedata/locales/ar_QA: Likewise.
24601 * localedata/locales/ar_SA: Likewise.
24602 * localedata/locales/ar_SD: Likewise.
24603 * localedata/locales/ar_SS: Likewise.
24604 * localedata/locales/ar_SY: Likewise.
24605 * localedata/locales/ar_TN: Likewise.
24606 * localedata/locales/ar_YE: Likewise.
24607 * localedata/locales/as_IN: Likewise.
24608 * localedata/locales/ast_ES: Likewise.
24609 * localedata/locales/ayc_PE: Likewise.
24610 * localedata/locales/az_AZ: Likewise.
24611 * localedata/locales/az_IR: Likewise.
24612 * localedata/locales/be_BY: Likewise.
24613 * localedata/locales/be_BY@latin: Likewise.
24614 * localedata/locales/bem_ZM: Likewise.
24615 * localedata/locales/ber_DZ: Likewise.
24616 * localedata/locales/ber_MA: Likewise.
24617 * localedata/locales/bg_BG: Likewise.
24618 * localedata/locales/bhb_IN: Likewise.
24619 * localedata/locales/bho_IN: Likewise.
24620 * localedata/locales/bi_VU: Likewise.
24621 * localedata/locales/bn_BD: Likewise.
24622 * localedata/locales/bn_IN: Likewise.
24623 * localedata/locales/bo_CN: Likewise.
24624 * localedata/locales/bo_IN: Likewise.
24625 * localedata/locales/br_FR: Likewise.
24626 * localedata/locales/brx_IN: Likewise.
24627 * localedata/locales/bs_BA: Likewise.
24628 * localedata/locales/byn_ER: Likewise.
24629 * localedata/locales/ca_AD: Likewise.
24630 * localedata/locales/ca_ES: Likewise.
24631 * localedata/locales/ca_FR: Likewise.
24632 * localedata/locales/ca_IT: Likewise.
24633 * localedata/locales/ce_RU: Likewise.
24634 * localedata/locales/chr_US: Likewise.
24635 * localedata/locales/cmn_TW: Likewise.
24636 * localedata/locales/crh_UA: Likewise.
24637 * localedata/locales/cs_CZ: Likewise.
24638 * localedata/locales/csb_PL: Likewise.
24639 * localedata/locales/cv_RU: Likewise.
24640 * localedata/locales/cy_GB: Likewise.
24641 * localedata/locales/da_DK: Likewise.
24642 * localedata/locales/de_AT: Likewise.
24643 * localedata/locales/de_BE: Likewise.
24644 * localedata/locales/de_CH: Likewise.
24645 * localedata/locales/de_DE: Likewise.
24646 * localedata/locales/de_IT: Likewise.
24647 * localedata/locales/de_LI: Likewise.
24648 * localedata/locales/de_LU: Likewise.
24649 * localedata/locales/doi_IN: Likewise.
24650 * localedata/locales/dv_MV: Likewise.
24651 * localedata/locales/dz_BT: Likewise.
24652 * localedata/locales/el_CY: Likewise.
24653 * localedata/locales/el_GR: Likewise.
24654 * localedata/locales/en_AG: Likewise.
24655 * localedata/locales/en_AU: Likewise.
24656 * localedata/locales/en_BW: Likewise.
24657 * localedata/locales/en_CA: Likewise.
24658 * localedata/locales/en_DK: Likewise.
24659 * localedata/locales/en_GB: Likewise.
24660 * localedata/locales/en_HK: Likewise.
24661 * localedata/locales/en_IE: Likewise.
24662 * localedata/locales/en_IL: Likewise.
24663 * localedata/locales/en_IN: Likewise.
24664 * localedata/locales/en_NG: Likewise.
24665 * localedata/locales/en_NZ: Likewise.
24666 * localedata/locales/en_PH: Likewise.
24667 * localedata/locales/en_SG: Likewise.
24668 * localedata/locales/en_US: Likewise.
24669 * localedata/locales/en_ZA: Likewise.
24670 * localedata/locales/en_ZM: Likewise.
24671 * localedata/locales/en_ZW: Likewise.
24672 * localedata/locales/eo: Likewise.
24673 * localedata/locales/es_AR: Likewise.
24674 * localedata/locales/es_BO: Likewise.
24675 * localedata/locales/es_CL: Likewise.
24676 * localedata/locales/es_CO: Likewise.
24677 * localedata/locales/es_CR: Likewise.
24678 * localedata/locales/es_CU: Likewise.
24679 * localedata/locales/es_DO: Likewise.
24680 * localedata/locales/es_EC: Likewise.
24681 * localedata/locales/es_ES: Likewise.
24682 * localedata/locales/es_GT: Likewise.
24683 * localedata/locales/es_HN: Likewise.
24684 * localedata/locales/es_MX: Likewise.
24685 * localedata/locales/es_NI: Likewise.
24686 * localedata/locales/es_PA: Likewise.
24687 * localedata/locales/es_PE: Likewise.
24688 * localedata/locales/es_PR: Likewise.
24689 * localedata/locales/es_PY: Likewise.
24690 * localedata/locales/es_SV: Likewise.
24691 * localedata/locales/es_US: Likewise.
24692 * localedata/locales/es_UY: Likewise.
24693 * localedata/locales/es_VE: Likewise.
24694 * localedata/locales/et_EE: Likewise.
24695 * localedata/locales/eu_ES: Likewise.
24696 * localedata/locales/eu_ES@euro: Likewise.
24697 * localedata/locales/fa_IR: Likewise.
24698 * localedata/locales/ff_SN: Likewise.
24699 * localedata/locales/fi_FI: Likewise.
24700 * localedata/locales/fil_PH: Likewise.
24701 * localedata/locales/fo_FO: Likewise.
24702 * localedata/locales/fr_BE: Likewise.
24703 * localedata/locales/fr_CA: Likewise.
24704 * localedata/locales/fr_CH: Likewise.
24705 * localedata/locales/fr_FR: Likewise.
24706 * localedata/locales/fr_LU: Likewise.
24707 * localedata/locales/fur_IT: Likewise.
24708 * localedata/locales/fy_DE: Likewise.
24709 * localedata/locales/fy_NL: Likewise.
24710 * localedata/locales/ga_IE: Likewise.
24711 * localedata/locales/gd_GB: Likewise.
24712 * localedata/locales/gez_ER: Likewise.
24713 * localedata/locales/gez_ET: Likewise.
24714 * localedata/locales/gl_ES: Likewise.
24715 * localedata/locales/gu_IN: Likewise.
24716 * localedata/locales/gv_GB: Likewise.
24717 * localedata/locales/ha_NG: Likewise.
24718 * localedata/locales/hak_TW: Likewise.
24719 * localedata/locales/he_IL: Likewise.
24720 * localedata/locales/hi_IN: Likewise.
24721 * localedata/locales/hif_FJ: Likewise.
24722 * localedata/locales/hne_IN: Likewise.
24723 * localedata/locales/hr_HR: Likewise.
24724 * localedata/locales/hsb_DE: Likewise.
24725 * localedata/locales/ht_HT: Likewise.
24726 * localedata/locales/hu_HU: Likewise.
24727 * localedata/locales/hy_AM: Likewise.
24728 * localedata/locales/i18n: Likewise.
24729 * localedata/locales/ia_FR: Likewise.
24730 * localedata/locales/id_ID: Likewise.
24731 * localedata/locales/ig_NG: Likewise.
24732 * localedata/locales/ik_CA: Likewise.
24733 * localedata/locales/is_IS: Likewise.
24734 * localedata/locales/it_CH: Likewise.
24735 * localedata/locales/it_IT: Likewise.
24736 * localedata/locales/iu_CA: Likewise.
24737 * localedata/locales/ja_JP: Likewise.
24738 * localedata/locales/ka_GE: Likewise.
24739 * localedata/locales/kk_KZ: Likewise.
24740 * localedata/locales/kl_GL: Likewise.
24741 * localedata/locales/kn_IN: Likewise.
24742 * localedata/locales/ko_KR: Likewise.
24743 * localedata/locales/kok_IN: Likewise.
24744 * localedata/locales/ks_IN: Likewise.
24745 * localedata/locales/ks_IN@devanagari: Likewise.
24746 * localedata/locales/ku_TR: Likewise.
24747 * localedata/locales/kw_GB: Likewise.
24748 * localedata/locales/ky_KG: Likewise.
24749 * localedata/locales/lb_LU: Likewise.
24750 * localedata/locales/lg_UG: Likewise.
24751 * localedata/locales/li_BE: Likewise.
24752 * localedata/locales/li_NL: Likewise.
24753 * localedata/locales/lij_IT: Likewise.
24754 * localedata/locales/ln_CD: Likewise.
24755 * localedata/locales/lo_LA: Likewise.
24756 * localedata/locales/lt_LT: Likewise.
24757 * localedata/locales/lv_LV: Likewise.
24758 * localedata/locales/lzh_TW: Likewise.
24759 * localedata/locales/mag_IN: Likewise.
24760 * localedata/locales/mai_IN: Likewise.
24761 * localedata/locales/mg_MG: Likewise.
24762 * localedata/locales/mhr_RU: Likewise.
24763 * localedata/locales/mi_NZ: Likewise.
24764 * localedata/locales/mk_MK: Likewise.
24765 * localedata/locales/ml_IN: Likewise.
24766 * localedata/locales/mn_MN: Likewise.
24767 * localedata/locales/mni_IN: Likewise.
24768 * localedata/locales/mr_IN: Likewise.
24769 * localedata/locales/ms_MY: Likewise.
24770 * localedata/locales/mt_MT: Likewise.
24771 * localedata/locales/my_MM: Likewise.
24772 * localedata/locales/nan_TW: Likewise.
24773 * localedata/locales/nan_TW@latin: Likewise.
24774 * localedata/locales/nb_NO: Likewise.
24775 * localedata/locales/nds_DE: Likewise.
24776 * localedata/locales/nds_NL: Likewise.
24777 * localedata/locales/ne_NP: Likewise.
24778 * localedata/locales/nhn_MX: Likewise.
24779 * localedata/locales/niu_NU: Likewise.
24780 * localedata/locales/niu_NZ: Likewise.
24781 * localedata/locales/nl_AW: Likewise.
24782 * localedata/locales/nl_BE: Likewise.
24783 * localedata/locales/nl_NL: Likewise.
24784 * localedata/locales/nn_NO: Likewise.
24785 * localedata/locales/nr_ZA: Likewise.
24786 * localedata/locales/nso_ZA: Likewise.
24787 * localedata/locales/oc_FR: Likewise.
24788 * localedata/locales/om_ET: Likewise.
24789 * localedata/locales/om_KE: Likewise.
24790 * localedata/locales/or_IN: Likewise.
24791 * localedata/locales/os_RU: Likewise.
24792 * localedata/locales/pa_IN: Likewise.
24793 * localedata/locales/pa_PK: Likewise.
24794 * localedata/locales/pap_AW: Likewise.
24795 * localedata/locales/pap_CW: Likewise.
24796 * localedata/locales/pl_PL: Likewise.
24797 * localedata/locales/ps_AF: Likewise.
24798 * localedata/locales/pt_BR: Likewise.
24799 * localedata/locales/pt_PT: Likewise.
24800 * localedata/locales/quz_PE: Likewise.
24801 * localedata/locales/raj_IN: Likewise.
24802 * localedata/locales/ro_RO: Likewise.
24803 * localedata/locales/ru_RU: Likewise.
24804 * localedata/locales/ru_UA: Likewise.
24805 * localedata/locales/rw_RW: Likewise.
24806 * localedata/locales/sa_IN: Likewise.
24807 * localedata/locales/sat_IN: Likewise.
24808 * localedata/locales/sc_IT: Likewise.
24809 * localedata/locales/sd_IN: Likewise.
24810 * localedata/locales/sd_IN@devanagari: Likewise.
24811 * localedata/locales/se_NO: Likewise.
24812 * localedata/locales/sgs_LT: Likewise.
24813 * localedata/locales/shs_CA: Likewise.
24814 * localedata/locales/si_LK: Likewise.
24815 * localedata/locales/sid_ET: Likewise.
24816 * localedata/locales/sk_SK: Likewise.
24817 * localedata/locales/sl_SI: Likewise.
24818 * localedata/locales/sm_WS: Likewise.
24819 * localedata/locales/so_DJ: Likewise.
24820 * localedata/locales/so_ET: Likewise.
24821 * localedata/locales/so_KE: Likewise.
24822 * localedata/locales/so_SO: Likewise.
24823 * localedata/locales/sq_AL: Likewise.
24824 * localedata/locales/sq_MK: Likewise.
24825 * localedata/locales/sr_ME: Likewise.
24826 * localedata/locales/sr_RS: Likewise.
24827 * localedata/locales/sr_RS@latin: Likewise.
24828 * localedata/locales/ss_ZA: Likewise.
24829 * localedata/locales/st_ZA: Likewise.
24830 * localedata/locales/sv_FI: Likewise.
24831 * localedata/locales/sv_SE: Likewise.
24832 * localedata/locales/sw_KE: Likewise.
24833 * localedata/locales/sw_TZ: Likewise.
24834 * localedata/locales/szl_PL: Likewise.
24835 * localedata/locales/ta_IN: Likewise.
24836 * localedata/locales/ta_LK: Likewise.
24837 * localedata/locales/tcy_IN: Likewise.
24838 * localedata/locales/te_IN: Likewise.
24839 * localedata/locales/tg_TJ: Likewise.
24840 * localedata/locales/th_TH: Likewise.
24841 * localedata/locales/the_NP: Likewise.
24842 * localedata/locales/ti_ER: Likewise.
24843 * localedata/locales/ti_ET: Likewise.
24844 * localedata/locales/tig_ER: Likewise.
24845 * localedata/locales/tk_TM: Likewise.
24846 * localedata/locales/tl_PH: Likewise.
24847 * localedata/locales/tn_ZA: Likewise.
24848 * localedata/locales/to_TO: Likewise.
24849 * localedata/locales/tpi_PG: Likewise.
24850 * localedata/locales/tr_CY: Likewise.
24851 * localedata/locales/tr_TR: Likewise.
24852 * localedata/locales/ts_ZA: Likewise.
24853 * localedata/locales/tt_RU: Likewise.
24854 * localedata/locales/tt_RU@iqtelif: Likewise.
24855 * localedata/locales/ug_CN: Likewise.
24856 * localedata/locales/uk_UA: Likewise.
24857 * localedata/locales/unm_US: Likewise.
24858 * localedata/locales/ur_IN: Likewise.
24859 * localedata/locales/ur_PK: Likewise.
24860 * localedata/locales/uz_UZ: Likewise.
24861 * localedata/locales/uz_UZ@cyrillic: Likewise.
24862 * localedata/locales/ve_ZA: Likewise.
24863 * localedata/locales/vi_VN: Likewise.
24864 * localedata/locales/wa_BE: Likewise.
24865 * localedata/locales/wae_CH: Likewise.
24866 * localedata/locales/wal_ET: Likewise.
24867 * localedata/locales/wo_SN: Likewise.
24868 * localedata/locales/xh_ZA: Likewise.
24869 * localedata/locales/yi_US: Likewise.
24870 * localedata/locales/yo_NG: Likewise.
24871 * localedata/locales/yue_HK: Likewise.
24872 * localedata/locales/yuw_PG: Likewise.
24873 * localedata/locales/zh_CN: Likewise.
24874 * localedata/locales/zh_HK: Likewise.
24875 * localedata/locales/zh_SG: Likewise.
24876 * localedata/locales/zh_TW: Likewise.
24877 * localedata/locales/zu_ZA: Likewise.
24878
cae87e64
FW
248792017-11-13 Florian Weimer <fweimer@redhat.com>
24880
24881 * support/next_to_fault.h, support/next_to_fault.c: New files.
24882 * support/Makefile (libsupport-routines): Add next_to_fault.
24883 * resolv/tst-inet_pton.c (struct next_to_fault)
24884 (next_to_fault_allocate, next_to_fault_free): Remove.
24885 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
24886
4a306ef1
L
248872017-11-13 H.J. Lu <hongjiu.lu@intel.com>
24888
24889 * elf/dl-support.c: Include <dl-procruntime.c>.
24890 * include/link.h: Include <link_map.h>.
24891 * sysdeps/generic/dl-procruntime.c: New file.
24892 * sysdeps/generic/link_map.h: Likewise.
24893 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
24894 the writable ld.so namespace.
24895
e69897bf
PE
248962017-11-12 Paul Eggert <eggert@cs.ucla.edu>
24897
24898 timezone: pacify GCC -Wstringop-truncation
24899 Problem reported by Martin Sebor in:
24900 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
24901 * timezone/zic.c (writezone): Use memcpy, not strncpy.
24902
1ffe1ccb
FW
249032017-11-12 Florian Weimer <fweimer@redhat.com>
24904
eceed671
FW
24905 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
24906 tst-xreadlink.
24907 (tests): Add tst-xreadlink.
1ffe1ccb
FW
24908 * support/support.h (xstrndup): Declare.
24909 * support/xunistd.h (xunlink, xreadlink): Declare.
24910 * support/temp_file.h (support_create_temp_directory): Declare.
24911 * support/temp_file.c (support_create_temp_directory): New function.
24912 * support/support_chroot.c (support_chroot_create): Use it.
24913 * support/xreadlink.c: New file.
24914 * support/xstrndup.c: Likewise.
24915 * support/xunlink.c: Likewise.
24916 * support/tst-xreadlink.c: Likewise.
24917
456b40a9
JDA
249182017-11-11 John David Anglin <danglin@gcc.gnu.org>
24919
24920 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
24921
c0a25aa9
FW
249222017-11-11 Florian Weimer <fweimer@redhat.com>
24923
24924 [BZ #22409]
24925 [BZ #22412]
24926 * resolv/res_comp.c (printable_string, binary_hnok)
24927 (binary_leading_dash): New functions.
24928 (res_hnok): Reimplement using these functions and ns_name_pton.
24929 (res_ownok): Likewise.
24930 (res_mailok): Reimplement using printable_string, ns_name_pton and
24931 binary_hnok.
24932 (res_dnok): Reimplement using printable_string and ns_name_pton.
24933 * resolv/tst-res_hnok.c (tests): Add additional tests.
24934 (LETTERDIGITS, PRINTABLE): Define.
24935 (do_test): Adjust one_char results.
24936
9e0ad304
FW
249372017-11-11 Florian Weimer <fweimer@redhat.com>
24938
24939 [BZ #22413]
24940 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
24941 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
24942
e2a9fca8
FW
249432017-11-11 Florian Weimer <fweimer@redhat.com>
24944
24945 * resolv/tst-ns_name_pton.c: New file.
24946 * resolv/Makefile (tests): Add tst-ns_name_pton.
24947 (tst-ns_name_pton): Link against libresolv.
24948
5c1a6923
FW
249492017-11-11 Florian Weimer <fweimer@redhat.com>
24950
24951 * resolv/tst-res_hnok.c: New file.
24952 * resolv/Makefile (tests): Add tst-res_hnok.
24953 (tst-res_hnok): Link against libresolv.
24954
a19c0a1d
FW
249552017-11-11 Florian Weimer <fweimer@redhat.com>
24956
24957 * resolv/tst-resolv-network.c: Use test framework instead explicit
24958 main function.
24959
8cb5295d
L
249602017-11-09 H.J. Lu <hongjiu.lu@intel.com>
24961
24962 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
24963 <jmp_buf-macros.h>.
24964 [!_ISOMAC] (STR_HELPER): New.
24965 [!_ISOMAC] (STR): Likewise.
24966 [!_ISOMAC] (TEST_SIZE): Likewise.
24967 [!_ISOMAC] (TEST_ALIGN): Likewise.
24968 [!_ISOMAC] (TEST_OFFSET): Likewise.
24969 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
24970 field offsets of jmp_buf as well as sigjmp_buf.
24971 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
24972 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
24973 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
24974 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
24975 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
24976 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
24977 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
24978 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
24979 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
24980 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
24981 Likewise.
24982 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
24983 Likewise.
24984 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
24985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
24986 Likewise.
24987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
24988 Likewise.
24989 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
24990 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
24991 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
24992 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
24993 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
24994 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
24995 Likewise.
24996 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
24997 Likewise.
24998 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
24999 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
25000 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
25001
58c4a161
JM
250022017-11-07 Joseph Myers <joseph@codesourcery.com>
25003
3683b423
JM
25004 * include/float.h
25005 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25006 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
25007 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25008 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
25009 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25010 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
25011 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25012 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
25013 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25014 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
25015 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25016 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
25017 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25018 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
25019 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25020 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
25021 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25022 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
25023 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25024 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
25025 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25026 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
25027 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25028 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
25029 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25030 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
25031 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25032 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
25033 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25034 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
25035 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25036 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
25037 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25038 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
25039 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25040 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
25041 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25042 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
25043 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25044 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
25045 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25046 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
25047 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25048 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
25049 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25050 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
25051 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25052 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
25053 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25054 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
25055 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25056 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
25057 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25058 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
25059 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25060 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
25061 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25062 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
25063 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25064 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
25065 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25066 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
25067 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25068 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
25069 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25070 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
25071 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25072 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
25073 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25074 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
25075 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25076 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
25077 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25078 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
25079 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25080 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
25081 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25082 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
25083 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25084 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
25085 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25086 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
25087 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25088 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
25089 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25090 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
25091 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25092 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
25093
58c4a161
JM
25094 * stdlib/tst-strtod.h (F16): New macro.
25095 (F32): Likewise.
25096 (F64): Likewise.
25097 (F32X): Likewise.
25098 (F64X): Likewise.
25099 (F128X): Likewise.
25100 (IF_FLOAT16): Likewise.
25101 (IF_FLOAT32): Likewise.
25102 (IF_FLOAT64): Likewise.
25103 (IF_FLOAT32X): Likewise.
25104 (IF_FLOAT64X): Likewise.
25105 (IF_FLOAT128X): Likewise.
25106 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
25107 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
25108 (STRTOD_TEST_FOREACH): Likewise.
25109 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
25110 (CHOOSE_f64): Likewise.
25111 (CHOOSE_f32x): Likewise.
25112 (CHOOSE_f64x): Likewise.
25113
feda96a1
AS
251142017-11-07 Andreas Schwab <schwab@suse.de>
25115
25116 * nptl/Makefile (tests-internal): Remove tst-typesizes.
25117
1bd0cbb8
MF
251182017-11-07 Mike FABIAN <mfabian@redhat.com>
25119
25120 [BZ #22403]
25121 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
25122 to be escaped.
25123 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
25124 to be escaped.
25125
363e4519 251262017-11-07 Claude Paroz <claude@2xlibre.net>
d8301314
CP
25127
25128 [BZ #22403]
25129 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
25130 to be escaped.
25131 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
25132 to be escaped.
25133 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
25134 to be escaped.
25135
dff91cd4
AZ
251362017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25137
06be6368
AZ
25138 [BZ #22298]
25139 * nptl/allocatestack.c (allocate_stack): Check if
25140 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
25141 __PTHREAD_MUTEX_HAVE_PREV is defined.
25142 * nptl/descr.h (pthread): Likewise.
25143 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
25144 Likewise.
25145 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
25146 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
25147 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
25148 * sysdeps/nptl/bits/thread-shared-types.h
25149 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
25150 defines.
25151 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
25152 of __WORDSIZE for internal layout.
25153 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
25154 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
25155 instead of __WORDSIZE whether to use an union for __spins and __list
25156 fields.
25157 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
25158 case.
25159 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
25160 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
25161 defines.
25162 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
25163 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25164 Likewise.
25165 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
25166 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25167 Likewise.
25168 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
25169 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25170 Likewise.
25171 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
25172 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25173 Likewise.
25174 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
25175 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25176 Likewise.
25177 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
25178 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25179 Likewise.
25180 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
25181 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25182 Likewise.
25183 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
25184 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25185 Likewise.
25186 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
25187 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25188 Likewise.
25189 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
25190 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25191 Likewise.
25192 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
25193 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25194 Likewise.
25195 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
25196 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25197 Likewise.
25198 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
25199 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25200 Likewise.
25201 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
25202 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25203 Likewise.
25204
72b3c6ee
AZ
25205 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
25206 New macros.
25207 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
25208 checks for expected input type size.
25209 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
25210 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
25211 Likewise.
25212 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
25213 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
25214 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
25215 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
25216 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
25217 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
25218 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
25219 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
25220 superflous runtime assert check.
25221 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
25222 Likewise.
25223 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
25224 Likewise.
25225 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
25226 Likewise.
25227 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
25228 Likewise.
25229 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
25230 Likewise.
25231 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
25232 Likewise.
25233 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
25234 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
25235 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
25236 Likewise.
25237 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
25238 Likewise.
25239 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
25240 Likewise.
25241 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
25242 Likewise.
25243 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
25244 Likewise.
25245 * nptl/pthread_attr_setinheritsched.c
25246 (__pthread_attr_setinheritsched): Likewise.
25247 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
25248 Likewise.
25249 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
25250 Likewise.
25251 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
25252 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
25253 __old_pthread_attr_setstack): Likewise.
25254 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
25255 Likewise.
25256 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
25257 Likewise.
25258 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
25259 Likewise.
25260 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
25261 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
25262 Likewise.
25263 * nptl/tst-typesizes.c: Remove file.
25264
dff91cd4
AZ
25265 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
25266 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
25267 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
25268 checks for internal pthread_mutex_t offsets.
25269 * sysdeps/aarch64/nptl/pthread-offsets.h
25270 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
25271 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
25272 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
25273 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
25274 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
25275 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
25276 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
25277 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
25278 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
25279 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
25280 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
25281 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
25282 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
25283 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
25284 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
25285 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
25286 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
25287 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
25288
b7fc95f8
FW
252892017-11-07 Florian Weimer <fweimer@redhat.com>
25290
25291 * bits/mman-linux.h: Move ...
25292 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
25293 comment.
25294 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
25295 outdated comment.
25296
6b860364
RS
252972017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25298
25299 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
25300 Redefine STRNLEN as __strnlen_power8.
25301
802c1f16
AZ
253022017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25303
d83da3a4
AZ
25304 * signal/sighold.c (sighold): Optimize implementation.
25305
6a4235f1
AZ
25306 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
25307 __NR_rt_sigqueueinfo.
25308
8b0e795a
AZ
25309 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
25310 __sigtimedwait.
25311 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
25312 assume __NR_rt_sigtimedwait.
25313 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
25314 and add LIBC_CANCEL_HANDLED for cancellation marking.
25315 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
25316
a1a638dd
AZ
25317 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
25318 (sysdeps_routines): Add memchr_noneon.
25319 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
25320 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
25321 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
25322 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
25323 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
25324 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
25325 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
25326
802c1f16
AZ
25327 * sysdeps/arm/arm-ifunc.h: New file.
25328 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
25329 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
25330 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
25331 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
25332 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
25333 (__memcpy_neon): Avoid create hidden alias.
25334 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
25335 (__memcpy_vfp): Likewise.
25336 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
25337 (sysdep_routines): Add memcpy_arm.
25338 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
25339
abcb584d
L
253402017-11-06 H.J. Lu <hongjiu.lu@intel.com>
25341
25342 [BZ #22362]
25343 * Makerules (make-link-multidir): New.
25344 * config.make.in (multidir): New.
25345 * configure.ac (libc_cv_multidir): New. AC_SUBST.
25346 * configure: Regenerated.
25347 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
25348 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
25349 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
25350 New target.
25351
4e2dff67
JM
253522017-11-06 Joseph Myers <joseph@codesourcery.com>
25353
25354 [BZ #22402]
25355 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
25356 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
25357
a1c7cd3c
MF
253582017-11-04 Mike FABIAN <mfabian@redhat.com>
25359
25360 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
25361 to be escaped.
25362
b9af29c0
FW
253632017-11-04 Florian Weimer <fweimer@redhat.com>
25364
25365 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
25366
4ca70e1a
JM
253672017-11-03 Joseph Myers <joseph@codesourcery.com>
25368
25369 * math/math.h [__HAVE_DISTINCT_FLOAT16
25370 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
25371 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
25372 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
25373 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
25374 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
25375 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
25376 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25377 (__MATH_TG_F32): New macro.
25378 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25379 (__MATH_TG_F64X): Likewise.
25380 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25381 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
25382
ba0e6668
DL
253832017-11-03 Dmitry V. Levin <ldv@altlinux.org>
25384
25385 * po/de.po: Update translations.
25386 * po/ru.po: Likewise.
25387
bc18a6d3
FW
253882017-11-03 Florian Weimer <fweimer@redhat.com>
25389
25390 * manual/filesys.texi (Hard Links): Document linkat.
25391
97255170
JM
253922017-11-03 Joseph Myers <joseph@codesourcery.com>
25393
86ec4865
JM
25394 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
25395 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
25396 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
25397 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
25398 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
25399 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
25400 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
25401 the same as _Float128.
25402 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
25403 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
25404 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
25405
97255170
JM
25406 * stdlib/stdlib.h
25407 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
25408 Declare.
25409 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
25410 Likewise.
25411 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
25412 Likewise.
25413 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25414 (strtof32x): Likewise.
25415 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25416 (strtof64x): Likewise.
25417 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25418 (strtof128x): Likewise.
25419 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25420 (strfromf16): Likewise.
25421 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25422 (strfromf32): Likewise.
25423 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25424 (strfromf64): Likewise.
25425 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25426 (strfromf32x): Likewise.
25427 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25428 (strfromf64x): Likewise.
25429 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25430 (strfromf128x): Likewise.
25431 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
25432 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
25433 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
25434 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
25435 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
25436 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
25437
6d58ce5e
RH
254382017-11-03 Richard Henderson <rth@twiddle.net>
25439
25440 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
25441
659ca267
SN
254422017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25443
25444 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
25445
94d2f0af
SN
254462017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25447
25448 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
25449 DT_TLSDESC_GOT initialization.
25450 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
25451 (_dl_tlsdesc_resolve_hold): Likewise.
25452 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
25453 (_dl_tlsdesc_resolve_hold): Likewise.
25454 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
25455 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
25456
28e1ddf3
SN
254572017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25458
25459 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
25460
0ca3d1d6
SN
254612017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25462
25463 [BZ #18572]
25464 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
25465 non-lazily for R_ARM_TLS_DESC.
25466
2c1d4e5f
SN
254672017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25468
25469 [BZ #17078]
25470 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
25471 R_ARM_TLS_DESC case.
25472 (elf_machine_lazy_rel): Remove the prelink check.
25473
91c5a366
SN
254742017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25475
25476 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
25477 DT_TLSDESC_GOT initialization.
25478 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
25479 (_dl_tlsdesc_resolve_rela): Likewise.
25480 (_dl_tlsdesc_resolve_hold): Likewise.
25481 (_dl_tlsdesc_undefweak): Remove ldar.
25482 (_dl_tlsdesc_dynamic): Likewise.
25483 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
25484 (_dl_tlsdesc_resolve_rela): Likewise.
25485 (_dl_tlsdesc_resolve_hold): Likewise.
25486 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
25487 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
25488 (_dl_tlsdesc_resolve_rela): Likewise.
25489 (_dl_tlsdesc_resolve_hold): Likewise.
25490
b7cf203b
SN
254912017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25492
25493 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
25494 binding and initialization non-lazily for R_AARCH64_TLSDESC.
25495
0cc5b022
SN
254962017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25497
25498 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
25499 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25500
43ddff2e
JM
255012017-11-02 Joseph Myers <joseph@codesourcery.com>
25502
25503 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
25504 Declare.
25505 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
25506 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
25507 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
25508 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
25509 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
25510 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
25511 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
25512 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
25513 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
25514 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
25515 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
25516
5baac970
MF
255172017-11-02 Mike FABIAN <mfabian@redhat.com>
25518
25519 [BZ #22382]
25520 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
25521 * localedata/locales/tpi_PG: Add standard header.
25522
ef11081f
FW
255232017-11-02 Florian Weimer <fweimer@redhat.com>
25524
25525 test-errno-linux: quotactl can fail with EPERM in containers.
25526 * sysdeps/unix/sysv/linux/test-errno-linux.c
25527 (LIST, LIST_FORWARD): New macros.
25528 (check_error_in_list): New function.
25529 (test_wrp_rv): Accept list of permitted error codes.
25530 (test_wrp_rv2): Remove.
25531 (test_wrp): Call test_wrp_rv with list of error codes.
25532 (test_wrp2): Accept list of error codes.
25533 (do_test): Adjust. Allow EPERM for quotactl.
25534
d10b132b
FW
255352017-11-02 Florian Weimer <fweimer@redhat.com>
25536
25537 * stdio-common/bug16.c (do_test): Use array_length.
25538 * stdio-common/errlist.c (_sys_nerr): Likewise.
25539 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
25540 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
25541 * stdio-common/psiginfo.c (psiginfo): Use array_length.
25542 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
25543 (do_test): Use array_length.
25544 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
25545 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
25546 * stdio-common/tst-printf-round.c (do_test): Likewise.
25547 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
25548 (CHECK): Use array_length.
25549 * stdio-common/tstdiomisc.c (t3, F): Likewise.
25550 * stdio-common/tstscanf.c (main): Likewise.
25551 * stdio-common/vfprintf.c (process_string_arg): Likewise.
25552
c94a5688
FW
255532017-11-02 Florian Weimer <fweimer@redhat.com>
25554
25555 Add array_length and array_end macros.
25556 * include/array_length.h: New file.
25557
2fac6a6c
FW
255582017-11-02 Florian Weimer <fweimer@redhat.com>
25559
25560 [BZ #22332]
25561 * posix/tst-glob-tilde.c (do_noescape): New variable.
25562 (one_test): Process it.
25563 (do_test): Set do_noescape. Add unescaping test case.
25564
2f1b212e
JM
255652017-11-01 Joseph Myers <joseph@codesourcery.com>
25566
260fbd0a
JM
25567 * math/complex.h
25568 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
25569 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
25570 with appropriate macros defined and undefined.
25571 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
25572 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25573 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
25574 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25575 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
25576 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25577 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
25578 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25579 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
25580 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25581
2f1b212e
JM
25582 * math/complex.h
25583 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
25584 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
25585 that for long double. Do not condition define and undefine of
25586 _Mdouble_complex_ on [__CFLOAT128].
25587
95b93c6e
L
255882017-11-01 H.J. Lu <hongjiu.lu@intel.com>
25589
25590 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
25591 of <sysdeps/generic/sysdep.h>.
25592 (ALIGNARG): Removed.
25593 (ASM_SIZE_DIRECTIVE): Likewise.
25594 (ENTRY): Likewise.
25595 (END): Likewise.
25596 (ENTRY_CHK): Likewise.
25597 (END_CHK): Likewise.
25598 (syscall_error): Likewise.
25599 (mcount): Likewise.
25600 (PSEUDO_END): Likewise.
25601 (L): Likewise.
25602 (atom_text_section): Likewise.
25603 * sysdeps/x86/sysdep.h: New file.
25604 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
25605 of <sysdeps/generic/sysdep.h>.
25606 (ALIGNARG): Removed.
25607 (ASM_SIZE_DIRECTIVE): Likewise.
25608 (ENTRY): Likewise.
25609 (END): Likewise.
25610 (ENTRY_CHK): Likewise.
25611 (END_CHK): Likewise.
25612 (syscall_error): Likewise.
25613 (mcount): Likewise.
25614 (PSEUDO_END): Likewise.
25615 (L): Likewise.
25616 (atom_text_section): Likewise.
25617
1bb36539
RL
256182017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
25619
25620 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
25621 category of LC_CTYPE set to "i18n:2012".
25622 * localedata/locales/i18n_ctype: Regenerate.
25623
067f5d97 256242017-10-31 Yury Norov <ynorov@caviumnetworks.com>
e8681faa 25625
87bbc4cf
YN
25626 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
25627 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
25628 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
25629 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
25630
e8681faa
YN
25631 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
25632 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
25633 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
25634 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
25635
540af6e2
JM
256362017-10-31 Joseph Myers <joseph@codesourcery.com>
25637
43e66283
JM
25638 * math/complex.h
25639 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
25640 New macro.
25641 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
25642 Likewise.
25643 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
25644 Likewise.
25645 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25646 (CMPLXF32X): Likewise.
25647 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25648 (CMPLXF64X): Likewise.
25649 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25650 (CMPLXF128X): Likewise.
25651
540af6e2
JM
25652 * math/math.h
25653 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
25654 (__MATH_EVAL_FMT2): Define to add 0.0f.
25655
58af72b4
AM
256562017-10-31 Alan Modra <amodra@gmail.com>
25657
25658 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
25659 include sysdep.h.
25660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
25661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
25662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
25663 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
25664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
25665 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
25666 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
25667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
25668 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
25669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
25670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
25671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
25672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
25673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
25674 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
25675 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
25676 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
25677 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
25678 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
25679 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
25680 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
25681 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
25682 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
25683 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
25684 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
25685 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
25686 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
25687 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
25688 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
25689 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
25690 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
25691 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
25692 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
25693 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
25694 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
25695 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
25696 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
25697 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
25698 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
25699 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
25700 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
25701 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
25702 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
25703 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
25704 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
25705 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
25706 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
25707 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
25708 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
25709 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
25710 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
25711 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
25712 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
25713 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
25714 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
25715 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
25716 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
25717 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
25718 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
25719 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
25720 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
25721 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
25722 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
25723 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
25724 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
25725 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
25726 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
25727 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
25728 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
25729
25730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
25731 include sysdep.h and math_ldbl_opt.h.
25732
25733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
25734 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
25735 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
25736 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
25737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
25738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
25739 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
25740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
25741 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
25742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
25743 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
25744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
25745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
25746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
25747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
25748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
25749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
25750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
25751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
25752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
25753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
25754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
25755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
25756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
25757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
25758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
25759
112f30b3
AM
257602017-10-31 Alan Modra <amodra@gmail.com>
25761
25762 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
25763 string/strncase_l.c, not string/strncase.c.
25764 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
25765 (libc_hidden_def): Redefine.
25766
e9e7eced
AM
257672017-10-31 Alan Modra <amodra@gmail.com>
25768
25769 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
25770 (__STRCMP, STRCMP, __strcasecmp_l): Define.
25771 (__strcasecmp): Don't define.
25772
f7b465cf
AM
257732017-10-31 Alan Modra <amodra@gmail.com>
25774
25775 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
25776 IS_IN (libc).
25777 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
25778 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
25779 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
25780
d46b09f9
AM
257812017-10-31 Alan Modra <amodra@gmail.com>
25782
25783 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
25784 USE_AS_STPNCPY.
25785
e9b8e194
AM
257862017-10-31 Alan Modra <amodra@gmail.com>
25787
25788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
25789 Redefine only when SHARED.
25790
eda162dd
JM
257912017-10-30 Joseph Myers <joseph@codesourcery.com>
25792
b61afe8c
JM
25793 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
25794 Include <bits/math-finite.h> with appropriate macros defined and
25795 undefined.
25796 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
25797 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
25798 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
25799 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
25800 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
25801
eda162dd
JM
25802 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
25803 [!_Mlong_double_] (_Mlong_double_): Likewise.
25804 [!_Mfloat16_] (_Mfloat16_): Likewise.
25805 [!_Mfloat32_] (_Mfloat32_): Likewise.
25806 [!_Mfloat64_] (_Mfloat64_): Likewise.
25807 [!_Mfloat128_] (_Mfloat128_): Likewise.
25808 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
25809 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
25810 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
25811 (_Mdouble_): Define without indirection through those macros.
25812 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
25813 [!_Mfloat128_] (_Mfloat128_): Likewise.
25814 [_Mlong_double_] (_Mlong_double_): Likewise.
25815 (_Mdouble_): Define without indirection through those macros.
25816 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
25817 not add -D_Mlong_double_=double.
25818 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
25819 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
25820
4ad5106e
L
258212017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25822
25823 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
25824
fe326df7
L
258252017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25826
25827 * sysdeps/x86/libc-start.c: Reformat.
25828
c5cc4514
L
258292017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25830
25831 [BZ #22353]
25832 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
25833 (1): Renamed to ...
25834 (L(Src0)): This.
25835 (L(Src1)): New.
25836 (L(Src2)): Likewise.
25837 (L(1)): Renamed to ...
25838 (L(Src3)): This.
25839
ce12269f
JM
258402017-10-30 Joseph Myers <joseph@codesourcery.com>
25841
25842 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
25843 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
25844 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
25845 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
25846 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
25847 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
25848 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
25849 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
25850 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
25851 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
25852 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
25853 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
25854 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
25855 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
25856 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
25857 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
25858 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
25859 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
25860 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
25861 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
25862 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
25863 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
25864 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
25865 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
25866 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
25867 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
25868 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
25869 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
25870 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
25871 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
25872 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
25873 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
25874 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
25875 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
25876 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
25877 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
25878 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
25879 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
25880 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
25881 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
25882 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
25883 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
25884 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
25885 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
25886 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
25887 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
25888 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
25889 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
25890 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
25891 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
25892 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
25893 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
25894 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
25895 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
25896 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
25897 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
25898 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
25899 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
25900 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
25901 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
25902 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
25903 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
25904 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
25905 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
25906 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
25907 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
25908
4484b9e2
FW
259092017-10-30 Florian Weimer <fweimer@redhat.com>
25910
25911 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
25912 always defined.
25913 * io/tst-mkdirat.c (do_test): Likewise.
25914 * io/tst-mkfifoat.c (do_test): Likewise.
25915 * io/tst-mknodat.c (do_test): Likewise.
25916 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
25917 * locale/programs/locale.c (select_dirs): Likewise.
25918 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
25919 * posix/bug-glob2.c (my_readdir): Likewise.
25920 * posix/tst-dir.c (main): Likewise.
25921 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
25922 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
25923
68fe16dd
FW
259242017-10-30 Florian Weimer <fweimer@redhat.com>
25925
25926 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
25927 just __USE_GNU.
25928
dadf23f0
FW
259292017-10-30 Florian Weimer <fweimer@redhat.com>
25930
25931 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
25932 Convert to support/test-driver.c.
25933 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
25934 New macro parameters.
25935 (PRINTF): Remove macro. Use test_verbose conditionals instead.
25936 * posix/tst-gnuglob.c: New file.
25937 * posix/tst-gnuglob64.c: Likewise.
25938 * posix/Makefile (tests): Add tst-gnuglob64.
25939
363e4519 259402017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
fbcecc08
MF
25941
25942 [BZ #19485]
25943 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
25944 and use a better translation for March in “mon”.
25945 * localedata/locales/csb_PL: Use more ASCII to improve the
25946 readability of the source.
25947
b110af82
MF
259482017-10-30 Mike FABIAN <mfabian@redhat.com>
25949
25950 [BZ #13953]
25951 * localedata/locales/km_KH: Use ASCII as much
25952 as possible for better readability of the source and
25953 remove useless comments.
25954 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
25955 was commented out and apparently wrong anyway because it was
25956 using Lao characters. If Buddhist era should be used
25957 for km_KH, a native speaker should write the correct formaat
25958 for Khmer.
25959 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
25960 (According to CLDR, the first weekday for Cambodia is Sunday).
25961 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
25962 (These were using Lao characters which must be wrong. If we get
25963 the correct data from a native speaker, we could add it back, until
25964 then it is better not to have name_mr and name_mrs at all than
25965 having it wrong).
25966
f301e533
RL
259672017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
25968
25969 * locale/loadlocale.c: Correct size of
25970 _nl_value_type_LC_<category> arrays.
25971
7e9d7073
JM
259722017-10-27 Joseph Myers <joseph@codesourcery.com>
25973
25974 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
25975 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
25976 with appropriate macros defined and undefined.
25977 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
25978 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
25979 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
25980 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
25981 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
25982
63d3b468
L
259832017-10-27 H.J. Lu <hongjiu.lu@intel.com>
25984
25985 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
25986 "-O2 -march=i586".
25987
a4cc02c7
MF
259882017-10-27 Mike FABIAN <mfabian@redhat.com>
25989
25990 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
25991 with lowercase letters to make it agree with CLDR.
25992
1e5971ec
MF
259932017-10-27 Mike FABIAN <mfabian@redhat.com>
25994
25995 [BZ #15260]
25996 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
25997 first letters of yesstr and nostr in yesexpr and noexpr,
25998 not for the full words.
25999 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
26000 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
26001 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
26002 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
26003 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
26004 first letters of yesstr and nostr in yesexpr and noexpr,
26005 until now only English was matched in yesexpr and noexpr.
26006 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
26007 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
26008 fil but not for tl. As tl and fil are very similar, using fil
26009 is probably better than using English.
26010
363e4519 260112017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
bc5fc7de
MF
26012
26013 [BZ #21706]
26014 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
26015 in yesstr and nostr.
26016
5d220788
JM
260172017-10-26 Joseph Myers <joseph@codesourcery.com>
26018
ecc7da5b
JM
26019 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
26020 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
26021 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
26022 Likewise.
26023 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
26024 Likewise.
26025 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
26026 Likewise.
26027 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
26028 Likewise.
26029 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26030 (SNANF128X): Likewise.
26031
5d220788
JM
26032 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
26033 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
26034 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26035 (HUGE_VAL_F32): Likewise.
26036 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26037 (HUGE_VAL_F64): Likewise.
26038 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26039 (HUGE_VAL_F32X): Likewise.
26040 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26041 (HUGE_VAL_F64X): Likewise.
26042 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26043 (HUGE_VAL_F128X): Likewise.
26044
363e4519 260452017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
67ad7163
TV
26046
26047 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
26048 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
26049 for the br_FR locale.
26050
363e4519 260512017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
408dff7e
TV
26052
26053 [BZ #21706]
26054 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
26055
337ff3c5
CD
260562017-10-25 Carlos O'Donell <carlos@redhat.com>
26057
02eec681
CD
26058 * locale/programs/record-status.h: Define globals, and function
26059 prototypes. Move function bodies...
26060 * locale/programs/record-status.c: ... to here. New file.
26061 * iconv/Makefile (iconv_prog-modules): Add record-status.
26062 * locale/Makefile (lib-modules): Likewise.
26063 * iconv/iconv_prog.c: Remove verbose.
26064 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
26065 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
26066 record a warning about ASCII compatibility.
26067 * locale/programs/ld-monetary.c (monetary_finish): If
26068 warn_int_curr_symbol is true then record a warning about the symbol
26069 not being in our ISO 4217 list.
26070 * locale/programs/locale.c: Include record-status.h. Remove verbose.
26071 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
26072 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
26073 (OPT_NO_WARN): Define.
26074 (OPT_WARN): Define.
26075 (options): Add entry for --no-warnings, and --warnings.
26076 (set_warnings): New function to enable/disable warnings.
26077 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
26078 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
26079 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
26080 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
26081 Pass flags to generate_locale.
26082 (generate_locale): Accept new flag argument and pass it to localedef
26083 invocation.
26084 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
26085 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
26086
56fa555a
CD
26087 * localedata/Makefile (test-input-data): Use full file name.
26088 * localedata/da_DK.in: Rename to...
26089 * localedata/da_DK.ISO-8859-1.in: ...this.
26090 * localedata/de_DE.in: Rename to...
26091 * localedata/de_DE.ISO-8859-1.in: ...this.
26092 * localedata/en_US.in: Rename to...
26093 * localedata/en_US.ISO-8859-1.in: ...this.
26094 * localedata/fr_FR.in: Rename to...
26095 * localedata/fr_FR.UTF-8.in: ... this.
26096 * localedata/hr_HR.in: Rename to...
26097 * localedata/hr_HR.ISO-8859-2.in: ...this.
26098 * localedata/hu_HU.in: Rename to...
26099 * localedata/hu_HU.UTF-8.in: ...this.
26100 * localedata/si_LK.in: Rename to...
26101 * localedata/si_LK.UTF-8.in: ...this.
26102 * localedata/sv_SE.in: Rename to...
26103 * localedata/sv_SE.ISO-8859-1.in: ...this.
26104 * localedata/tr_TR.in: Rename to...
26105 * localedata/tr_TR.UTF-8.in: ...this.
26106 * localedata/uk_UA.in: Rename to...
26107 * localedata/uk_UA.UTF-8.in: ...this.
26108 * localedata/sort-test.sh: Test file is locale name with the
26109 suffix.
26110
337ff3c5
CD
26111 * localedata/unicode-gen/Makefile (check_i18n): Rename to
26112 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
26113 file.
26114 * localedata/locales/i18n_ctype: Regenerate.
26115 * localedata/locales/tr_TR: Likewise.
26116 * localedata/locales/translit_circle: Likewise.
26117 * localedata/locales/translit_cjk_compat: Likewise.
26118 * localedata/locales/translit_combining: Likewise.
26119 * localedata/locales/translit_compat: Likewise.
26120 * localedata/locales/translit_font: Likewise.
26121 * localedata/locales/translit_fraction: Likewise.
26122
63da5cd4
RS
261232017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26124
26125 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
26126 lxvd2x/stxvd2x with lvx/stvx.
26127 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
26128
a122dbfb
L
261292017-10-25 H.J. Lu <hongjiu.lu@intel.com>
26130
26131 * include/alloc_buffer.h: Replace "if if " with "if " in
26132 comments.
26133 * sysdeps/mips/memcpy.S: Likkewise.
26134 * sysdeps/mips/memset.S: Likewise.
26135 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
26136 Likewise.
26137 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
26138 Likewise.
26139 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
26140 Likewise.
26141
9be7530c
MF
261422017-10-25 Mike FABIAN <mfabian@redhat.com>
26143
26144 [BZ #15261]
26145 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
26146 yesexpr and noexpr.
26147 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
26148 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
26149 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
26150 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
26151 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
26152 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
26153 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
26154
6ccbf6ff
MF
261552017-10-25 Mike FABIAN <mfabian@redhat.com>
26156
26157 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
26158 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
26159 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
26160 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
26161 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
26162 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
26163 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
26164 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
26165 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
26166 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
26167 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
26168 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
26169
58b1a7ea
MF
261702017-10-25 Mike FABIAN <mfabian@redhat.com>
26171
26172 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
26173 as possible for better readability of the source.
26174 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
26175 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
26176 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
26177 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
26178 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
26179 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
26180 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
26181 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
26182 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
26183 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
26184 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
26185 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
26186 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
26187 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
26188 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
26189 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
26190 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
26191 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
26192 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
26193 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
26194 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
26195 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
26196 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
26197 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
26198 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
26199 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
26200 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
26201 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
26202 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
26203 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
26204 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
26205 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
26206 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
26207 * localedata/locales/en_US (LC_MESSAGES): Likewise.
26208 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
26209 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
26210 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
26211 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
26212 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
26213 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
26214 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
26215 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
26216 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
26217 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
26218 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
26219 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
26220 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
26221 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
26222 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
26223 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
26224 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
26225 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
26226 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
26227 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
26228 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
26229 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
26230 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
26231 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
26232 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
26233 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
26234 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
26235 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
26236 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
26237 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
26238 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
26239 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
26240 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
26241 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
26242 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
26243 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
26244 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
26245 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
26246 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
26247 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
26248 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
26249 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
26250 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
26251 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
26252 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
26253 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
26254 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
26255 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
26256 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
26257 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
26258 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
26259 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
26260 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
26261 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
26262 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
26263 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
26264 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
26265 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
26266 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
26267 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
26268 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
26269 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
26270 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
26271 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
26272 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
26273 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
26274 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
26275 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
26276 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
26277 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
26278 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
26279 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
26280 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
26281 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
26282 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
26283 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
26284 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
26285 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
26286 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
26287 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
26288 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
26289 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
26290 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
26291 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
26292 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
26293 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
26294 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
26295 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
26296 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
26297 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
26298 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
26299 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
26300 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
26301 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
26302 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
26303 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
26304 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
26305 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
26306 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
26307 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
26308 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
26309 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
26310 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
26311 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
26312 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
26313 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
26314 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
26315 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
26316 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
26317 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
26318 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
26319 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
26320 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
26321 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
26322 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
26323 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
26324 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
26325 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
26326 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
26327 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
26328 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
26329 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
26330 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
26331 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
26332 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
26333 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
26334 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
26335 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
26336 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
26337 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
26338 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
26339 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
26340 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
26341 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
26342 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
26343 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
26344 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
26345 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
26346 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
26347 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
26348
17e78edb
MF
263492017-10-25 Mike FABIAN <mfabian@redhat.com>
26350
26351 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
26352 (Use first letters of yesstr and nostr correctly instead of using
26353 full words).
26354
74e7284f
MF
263552017-10-25 Mike FABIAN <mfabian@redhat.com>
26356
26357 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
26358 (Use first letters of yesstr and nostr correctly).
26359
b41a0ff1
MF
263602017-10-25 Mike FABIAN <mfabian@redhat.com>
26361
26362 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
26363 also check for the first characters of yesstr and nostr.
26364 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
26365 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
26366
d971f380
MF
263672017-10-25 Mike FABIAN <mfabian@redhat.com>
26368
26369 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
26370 also check for Chinese characters.
26371
effc9e1d
MF
263722017-10-25 Mike FABIAN <mfabian@redhat.com>
26373
26374 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
26375 match also for the contents of yesstr and nostr. As the first letter
26376 of yesstr and nostr is equal, checking only for the first letter
26377 is not enough.
26378
10320881
MF
263792017-10-25 Mike FABIAN <mfabian@redhat.com>
26380
26381 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
26382 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
26383
d8682a15
MF
263842017-10-25 Mike FABIAN <mfabian@redhat.com>
26385
26386 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
26387 of main contributor.
26388
1bfb86ae
MF
263892017-10-25 Mike FABIAN <mfabian@redhat.com>
26390
26391 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
26392 instead of using English.
26393
da33d60b
MF
263942017-10-25 Mike FABIAN <mfabian@redhat.com>
26395
26396 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
26397 by including the first letters of nostr and yesexpr in the regexp.
26398 Also make it more readable by using ASCII where possible.
26399
725bbb3e
MF
264002017-10-25 Mike FABIAN <mfabian@redhat.com>
26401
26402 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
26403 the first letter of nostr in the regexp. It agrees with CLDR now.
26404 Also make it more readable by using ASCII where possible.
26405
fe043d8a
MF
264062017-10-24 Mike FABIAN <mfabian@redhat.com>
26407
26408 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
26409 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
26410 these strings contain a U+17D6 (which somewhat looks like a colon)
26411 instead of a real colon to separate the full words for “yes”
26412 and “no” from the single letter responses.
26413
360a8df3
MF
264142017-10-24 Mike FABIAN <mfabian@redhat.com>
26415
26416 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
26417 it agree with CLDR (include the first letter of yesstr).
26418 Also make it more readable by using ASCII where possible.
26419
bab7b6b0
MF
264202017-10-24 Mike FABIAN <mfabian@redhat.com>
26421
26422 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
26423 and improve yesexpr and noexpr. The yesstr and nostr apparently
26424 came from CLDR. And CLDR has a bug there: these strings contain
26425 a U+0903 (which looks like a colon) instead of a real colon
26426 to separate the full words for “yes” and “no” from the single
26427 letter responses.
26428
3e79f758
MF
264292017-10-24 Mike FABIAN <mfabian@redhat.com>
26430
26431 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
26432 letters of the full yesstr and nostr in yesexpr and noexpr.
26433
4960c879
MF
264342017-10-24 Mike FABIAN <mfabian@redhat.com>
26435
26436 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
26437 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
26438 * localedata/locales/an_ES: Make source more readable by using ASCII
26439 where possible.
26440
b06a054f
MF
264412017-10-24 Mike FABIAN <mfabian@redhat.com>
26442
26443 [BZ #20952]
26444 * localedata/locales/yuw_PG: New file.
26445 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
26446 * locale/iso-639.def: Add Yau (Uruwa).
26447
905a7725
WD
264482017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26449
26450 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
26451
3f6bb8a3
WD
264522017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26453
26454 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
26455 (__libc_realloc): Likewise.
26456 (_mid_memalign): Likewise.
26457 (__libc_calloc): Likewise.
26458
1d479c8c
MF
264592017-10-23 Mike FABIAN <mfabian@redhat.com>
26460
26461 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
26462 by adding the generic +1 and -0 as in all other locales.
26463 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
26464 day names and make it more readable by using ASCII where possible.
26465
91c3985c
JM
264662017-10-24 Joseph Myers <joseph@codesourcery.com>
26467
26468 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
26469 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
26470
aa95a241
AZ
264712017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26472
26473 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
26474 WNOHANG in waitpid call.
26475
db9bab09
SP
264762017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
26477
a2e0a7f1
SP
26478 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
26479 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
26480
db9bab09
SP
26481 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
26482 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
26483 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
26484 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
26485 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
26486 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
26487 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
26488 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
26489 variables.
26490
5062680c
MC
264912017-10-23 Michael Collison <michael.collison@arm.com>
26492
26493 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
26494 with __builtin_sqrt.
26495 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
26496 with __builtin_sqrtf.
26497 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
26498 with __builtin_ceil.
26499 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
26500 with __builtin_ceilf.
26501 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
26502 with __builtin_floor.
26503 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
26504 with __builtin_floorf.
26505 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
26506 with __builtin_fma.
26507 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
26508 with __builtin_fmaf.
26509 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
26510 with __builtin_fmax.
26511 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
26512 with __builtin_fmaxf.
26513 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
26514 with __builtin_fmin.
26515 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
26516 with __builtin_fminf.
26517 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
26518 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
26519 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
26520 with builtin_rint and conversion to int.
26521 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
26522 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
26523 with builtin_llround.
26524 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
26525 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
26526 with builtin_rint and conversion to long int.
26527 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
26528 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
26529 with builtin_lround.
26530 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
26531 with builtin_lroundf.
26532 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
26533 statements with __builtin_nearbyint.
26534 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
26535 statements with __builtin_nearbyintf.
26536 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
26537 with __builtin_rint.
26538 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
26539 with __builtin_rintf.
26540 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
26541 with __builtin_round.
26542 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
26543 with __builtin_roundf.
26544 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
26545 with __builtin_trunc.
26546 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
26547 with __builtin_truncf.
be080b6c
SN
26548 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
26549 and s_l[l]round[f].c too.
5062680c 26550
174935af
AM
265512017-10-23 Alan Modra <amodra@gmail.com>
26552
26553 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
26554 Adjust stack after restoring regs. Add missing LR cfi_restore.
26555
750a0e49
AM
265562017-10-23 Alan Modra <amodra@gmail.com>
26557
26558 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
26559 Move LR save and frame setup/teardown and LR restore to
26560 immediately around memset call. Provide cfi.
26561
5313581c
L
265622017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26563
26564 * sysdeps/i386/fpu/e_powf.S: Removed.
26565 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
26566 * sysdeps/i386/fpu/w_powf.c: Likewise.
26567 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
26568 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26569 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26570 Add e_powf-sse2.
26571 (CFLAGS-e_powf-sse2.c): New.
26572 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
26573 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
26574
6089a3ee
L
265752017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26576
26577 * sysdeps/i386/fpu/e_log2f.S: Removed.
26578 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
26579 * sysdeps/i386/fpu/w_log2f.c: Likewise.
26580 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
26581 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26582 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26583 Add e_log2f-sse2.
26584 (CFLAGS-e_log2f-sse2.c): New.
26585 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
26586 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
26587
80bb5935
L
265882017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26589
26590 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26591 Add e_powf-fma.
26592 (CFLAGS-e_powf-fma.c): New.
26593 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
26594 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
26595
5c7adbd8
L
265962017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26597
26598 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26599 Add e_log2f-fma.
26600 (CFLAGS-e_log2f-fma.c): New.
26601 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
26602 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
26603
0ccc7153
L
266042017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26605
26606 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26607 Add e_logf-fma.
26608 (CFLAGS-e_logf-fma.c): New.
26609 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
26610 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
26611
fe596486
L
266122017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26613
26614 * sysdeps/i386/fpu/e_logf.S: Removed.
26615 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
26616 * sysdeps/i386/fpu/w_logf.c: Likewise.
26617 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
26618 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
26619 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26620 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26621 Add e_logf-sse2.
26622 (CFLAGS-e_logf-sse2.c): New.
26623 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
26624 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
26625
7eda65f6
L
266262017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26627
26628 * sysdeps/i386/fpu/e_exp2f.S: Removed.
26629 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
26630 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
26631 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26632 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26633 Add e_exp2f-sse2.
26634 (CFLAGS-e_exp2f-sse2.c): New.
26635 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
26636 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
26637
5d15c969
L
266382017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26639
26640 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26641 Add e_exp2f-fma.
26642 (CFLAGS-e_exp2f-fma.c): New.
26643 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
26644 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
26645
b2f6137e
L
266462017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26647
26648 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
26649 * sysdeps/i386/fpu/e_expf.S: Likewise.
26650 * sysdeps/i386/fpu/math_errf.c: Likewise.
26651 * sysdeps/i386/fpu/w_expf.c: Likewise.
26652 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
26653 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
26654 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
26655 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
26656 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26657 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26658 Remove e_expf-ia32.
26659 (CFLAGS-e_expf-sse2.c): New.
26660 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
26661 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
26662
e1f59beb
L
266632017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26664
26665 * sysdeps/x86_64/fpu/e_expf.S: Removed.
26666 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
26667 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
26668 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
26669 e_expf.c.
26670 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
26671 New.
26672 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
26673 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
26674 Renamed to ...
26675 (__redirect_expf): This.
26676 (SYMBOL_NAME): Changed to expf.
26677 (__ieee754_expf): Renamed to ...
26678 (__expf): This.
26679 (__GI___expf): This.
26680 (__ieee754_expf): Add strong_alias.
26681 (__expf_finite): Likewise.
26682 (__expf): New.
26683 Include <sysdeps/ieee754/flt-32/e_expf.c>.
26684
363e4519 266852017-10-22 Paul Eggert <eggert@cs.ucla.edu>
a159b53f
PE
26686
26687 [BZ #22332]
26688 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
26689 unescaping.
26690
e80fc1fc
FW
266912017-10-21 Florian Weimer <fweimer@redhat.com>
26692
26693 * posix/Makefile (tests): Add tst-glob-tilde.
26694 (tests-special): Add tst-glob-tilde-mem.out
26695 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
26696 (tst-glob-tilde-mem.out): Add mtrace check.
26697 * posix/tst-glob-tilde.c: New file.
26698
797ba44b
JM
266992017-10-20 Joseph Myers <joseph@codesourcery.com>
26700
26701 * bits/floatn-common.h: New file.
26702 * math/Makefile (headers): Add bits/floatn-common.h.
26703 * bits/floatn.h: Include <bits/floatn-common.h>.
26704 * sysdeps/ia64/bits/floatn.h: Likewise.
26705 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
26706 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
26707 * sysdeps/powerpc/bits/floatn.h: Likewise.
26708 * sysdeps/x86/bits/floatn.h: Likewise.
26709
fe05e1cb
AZ
267102017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26711
8f6f5362
AZ
26712 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
26713 indicates whether compiler emits an warning for alias for
26714 functions with incompatible types.
26715
fe05e1cb
AZ
26716 [BZ #22273]
26717 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
26718 the auxiliary process is terminated by a signal before calling _exit
26719 or execve.
26720
b52b0d79
L
267212017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26722
26723 [BZ #21265]
26724 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
26725 New.
26726 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
26727 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
26728 and bit_arch_XSAVEC_Usable if needed.
26729 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
26730 and bit_arch_Use_dl_runtime_resolve_opt.
26731 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
26732 Removed.
26733 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
26734 (bit_arch_Prefer_No_AVX512): Updated.
26735 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
26736 (bit_arch_XSAVEC_Usable): New.
26737 (STATE_SAVE_OFFSET): Likewise.
26738 (STATE_SAVE_MASK): Likewise.
26739 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
26740 (cpu_features): Add xsave_state_size and xsave_state_full_size.
26741 (index_arch_Use_dl_runtime_resolve_opt): Removed.
26742 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
26743 (index_arch_XSAVEC_Usable): New.
26744 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
26745 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
26746 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
26747 is enabled.
26748 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
26749 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
26750 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
26751 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
26752 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
26753 _dl_runtime_resolve_xsavec.
26754 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
26755 Removed.
26756 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
26757 instead of VEC_SIZE.
26758 (REGISTER_SAVE_BND0): Removed.
26759 (REGISTER_SAVE_BND1): Likewise.
26760 (REGISTER_SAVE_BND3): Likewise.
26761 (REGISTER_SAVE_RAX): Always defined to 0.
26762 (VMOV): Removed.
26763 (_dl_runtime_resolve_avx): Likewise.
26764 (_dl_runtime_resolve_avx_slow): Likewise.
26765 (_dl_runtime_resolve_avx_opt): Likewise.
26766 (_dl_runtime_resolve_avx512): Likewise.
26767 (_dl_runtime_resolve_avx512_opt): Likewise.
26768 (_dl_runtime_resolve_sse): Likewise.
26769 (_dl_runtime_resolve_sse_vex): Likewise.
26770 (USE_FXSAVE): New.
26771 (_dl_runtime_resolve_fxsave): Likewise.
26772 (USE_XSAVE): Likewise.
26773 (_dl_runtime_resolve_xsave): Likewise.
26774 (USE_XSAVEC): Likewise.
26775 (_dl_runtime_resolve_xsavec): Likewise.
26776 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
26777 Removed.
26778 (_dl_runtime_resolve_avx512_opt): Likewise.
26779 (_dl_runtime_resolve_avx): Likewise.
26780 (_dl_runtime_resolve_avx_opt): Likewise.
26781 (_dl_runtime_resolve_sse): Likewise.
26782 (_dl_runtime_resolve_sse_vex): Likewise.
26783 (_dl_runtime_resolve_fxsave): New.
26784 (_dl_runtime_resolve_xsave): Likewise.
26785 (_dl_runtime_resolve_xsavec): Likewise.
26786
363e4519 267872017-10-20 Paul Eggert <eggert@cs.ucla.edu>
c369d66e
PE
26788
26789 [BZ #22320]
26790 CVE-2017-15670
26791 * posix/glob.c (__glob): Fix one-byte overflow.
26792
6d43de4b
WD
267932017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
26794
26795 * malloc/malloc.c (sysdep-cancel.h): Add include.
26796
a15d53e2
WD
267972017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
26798
26799 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
26800
b9a558e7
WH
268012017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
26802
26803 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
26804 (tests): Remove $(objpfx)ga_test depdendency.
26805 * resolv/ga_test.c: Remove file.
26806
b6b08b8e
MF
268072017-10-20 Mike FABIAN <mfabian@redhat.com>
26808
26809 [BZ #18812]
26810 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
26811 * localedata/locales/kab_DZ: New file.
26812
9ba7e810
L
268132017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26814
26815 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
26816 _dl_relocate_static_pie instead of _dl_start to compute load
26817 address in static PIE.
26818
4027a4fd
L
268192017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26820
26821 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
26822
2f9314b4
MF
268232017-10-20 Mike FABIAN <mfabian@redhat.com>
26824
26825 [BZ #13605]
26826 * localedata/SUPPORTED: Add shn_MM/UTF-8.
26827 * localedata/locales/shn_MM: New file.
26828
63b4baa4
FW
268292017-10-20 Florian Weimer <fweimer@redhat.com>
26830
26831 [BZ #22321]
26832 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
26833 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
26834 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
26835 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
26836 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
26837 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
26838
95ccb619
L
268392017-10-19 H.J. Lu <hongjiu.lu@intel.com>
26840
26841 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26842
37bb78cb
JM
268432017-10-19 Joseph Myers <joseph@codesourcery.com>
26844
76f2ed92
JM
26845 * sysdeps/mips/ieee754/bits/floatn.h: New file.
26846
37bb78cb
JM
26847 [BZ #22322]
26848 * sysdeps/mips/bits/long-double.h: Move to ....
26849 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
26850
d74e6f6c
WD
268512017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
26852
26853 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
26854
363e4519 268552017-10-19 Valery Reznic <valery_reznic@yahoo.com>
4d916f0f
L
26856 H.J. Lu <hongjiu.lu@intel.com>
26857
26858 [BZ #22299]
26859 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
26860 GLRO(dl_platform) to NULL.
26861 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
26862 (modules-names): Add tst-platformmod-1 and
26863 x86_64/tst-platformmod-2.
26864 (CFLAGS-tst-platform-1.c): New.
26865 (CFLAGS-tst-platformmod-1.c): Likewise.
26866 (CFLAGS-tst-platformmod-2.c): Likewise.
26867 (LDFLAGS-tst-platformmod-2.so): Likewise.
26868 ($(objpfx)tst-platform-1): Likewise.
26869 ($(objpfx)tst-platform-1.out): Likewise.
26870 (tst-platform-1-ENV): Likewise.
26871 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
26872 * sysdeps/x86_64/tst-platform-1.c: New file.
26873 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
26874 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
26875
4b0fa403
MF
268762017-10-19 Mike FABIAN <mfabian@redhat.com>
26877
26878 [BZ #13994]
26879 * locale/iso-639.def: Add Karbi.
26880 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
26881 * localedata/locales/mjw_IN: New file.
26882
81325b12
JM
268832017-10-18 Joseph Myers <joseph@codesourcery.com>
26884
26885 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
26886 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
26887 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
26888 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
26889 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
26890 (libm_alias_ldouble_other_r): Also create _Float128 alias.
26891 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
26892 <bits/floatn.h>.
26893 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
26894 (libm_alias_ldouble_other_r): Also create _Float128 alias.
26895 * manual/math.texi (Mathematics): Document additional architecture
26896 support for _Float128.
26897 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
26898 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
26899 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26900 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26901 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26902 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26903 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26904 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26905 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26906 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26907 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26908 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26909 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26910 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26911 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26912
a68ba2f3
SN
269132017-10-18 Renlin Li <renlin.li@arm.com>
26914
26915 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
26916 _DYNAMIC symbol to calculate load address.
26917
346729f6
PC
269182017-10-18 Paul A. Clarke <pc@us.ibm.com>
26919
26920 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
26921 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
26922 summary bits.
26923 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
26924 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
26925
508b1e71
MF
269262017-10-18 Mike FABIAN <mfabian@redhat.com>
26927
26928 [BZ #16777]
26929 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
26930 and improve readability by using more ASCII.
26931 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
26932 and improve readability by using more ASCII.
26933
2c2245b9
WD
269342017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
26935
26936 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
26937 not all targets support atomics on bool.
26938
13c92696
JM
269392017-10-17 Joseph Myers <joseph@codesourcery.com>
26940
26941 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
26942 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
26943 __f128.
26944 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26945 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
26946 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26947 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
26948 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26949 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
26950
71d85045
AZ
269512017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26952
26953 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
26954 defines.
26955
3381be5c
WD
269562017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26957
26958 [BZ #22159]
26959 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
26960 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
26961 (do_check_remalloced_chunk): Fix build bug.
26962 (do_check_malloc_state): Add assert that checks arena->top.
26963 (malloc_consolidate): Remove initialization.
26964 (int_mallinfo): Remove call to malloc_consolidate.
6b5c8607 26965 (__libc_mallopt): Clarify why malloc_consolidate is needed.
3381be5c 26966
e956075a
WD
269672017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26968
26969 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
26970 (have_fastchunks): Remove.
26971 (clear_fastchunks): Remove.
26972 (set_fastchunks): Remove.
26973 (malloc_state): Add have_fastchunks.
26974 (malloc_init_state): Use have_fastchunks.
26975 (do_check_malloc_state): Remove incorrect invariant checks.
26976 (_int_malloc): Use have_fastchunks.
26977 (_int_free): Likewise.
26978 (malloc_consolidate): Likewise.
26979
e4dd4ace
WD
269802017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26981
26982 * malloc/malloc.c (tcache_put): Inline.
26983 (tcache_get): Inline.
26984
5bf58bc7
AJ
269852017-10-17 Jordi Mallach <jordi@gnu.org>
26986
26987 Aurelien Jarno <aurelien@aurel32.net>
26988 [BZ #2522]
26989 * localedata/locales/ca_ES@valencia: New file.
26990 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
26991
386e1c26
RN
269922017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
26993
26994 [BZ #22296]
26995 * math/math.h: Let signbit use the builtin in C++ mode with gcc
26996 < 6.x
26997
4e17c78e
AZ
269982017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26999
3d265601
AZ
27000 * scripts/build-many-glibcs.py (Context.add_all_configs):
27001 Add arm-linux-gnueabihf multiarch extra_glibcs.
27002
4e17c78e
AZ
27003 * sysdeps/generic/ifunc-init.h: New file.
27004 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
27005
56a752ab
MF
270062017-10-17 Mike FABIAN <mfabian@redhat.com>
27007
27008 [BZ #22019]
27009 * localedata/locales/el_GR: Set n_cs_precedes to 0.
27010 * localedata/locales/el_CY: copy "el_GR" because it is identical.
27011 * stdlib/tst-strfmon_l.c: adapt test case.
27012
c38a4bfd
JM
270132017-10-16 Joseph Myers <joseph@codesourcery.com>
27014
27015 * sysdeps/generic/float128-abi.h: New file.
27016 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
27017 non-__prefixed symbols to ....
27018 * math/Versions: ... here. Include <float128-abi.h>.
27019 * stdlib/Versions ... and here. Include <float128-abi.h>
27020
76009b26
FW
270212017-10-16 Florian Weimer <fweimer@redhat.com>
27022
27023 * version.h (VERSION): Switch to ".9000" as the development
27024 version suffix.
27025
7ece6cd5
FW
270262017-10-16 Florian Weimer <fweimer@redhat.com>
27027
27028 [BZ #22050]
27029 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
27030 compat_symbol_reference to access non-default version.
27031
d8287b36
FW
270322017-10-16 Florian Weimer <fweimer@redhat.com>
27033
27034 * malloc/Makefile (others-extras): Set to mcheck-init.o.
27035
3480ddc4
CD
270362017-10-16 Carlos O'Donell <carlos@redhat.com>
27037
27038 * include/shlib-compat.h (compat_symbol_reference): Update
27039 comment.
27040
02010e79
JM
270412017-10-16 Joseph Myers <joseph@codesourcery.com>
27042
596f7013
JM
27043 * math/Makefile (test-types): Add
27044 $(type-float128-$(float128-alias-fcts)).
27045 * math/test-float128.h (TYPE_STR): Define conditional on
27046 [FLT128_MANT_DIG == LDBL_MANT_DIG].
27047 (ULP_IDX): Likewise.
27048 (ULP_I_IDX): Likewise.
27049
02010e79
JM
27050 * stdlib/strtold.c: Include <bits/floatn.h>
27051 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
27052 and later undefine as macro. Define as weak alias if
27053 [!USE_WIDE_CHAR].
27054 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
27055 and later undefine as macro. Define as weak alias if
27056 [USE_WIDE_CHAR].
27057 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
27058 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
27059 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27060 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
27061 Define and later undefine as macro. Define as weak alias if
27062 [USE_WIDE_CHAR].
27063 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
27064 <bits/floatn.h>.
27065 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
27066 Define and later undefine as macro. Define as weak alias if
27067 [!USE_WIDE_CHAR].
27068 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
27069 Define and later undefine as macro. Define as weak alias if
27070 [USE_WIDE_CHAR].
27071
ea91c315
CD
270722017-10-15 Carlos O'Donell <carlos@redhat.com>
27073
27074 * localedata/collate-test.c (allocate_arrays): Don't use \n in
27075 record_verbose messages.
27076
8e57c943
L
270772017-10-15 H.J. Lu <hongjiu.lu@intel.com>
27078
27079 [BZ #22052]
27080 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
27081 to silence -O3 -Wall warning with GCC 7.
27082
a4777c46
L
270832017-10-14 H.J. Lu <hongjiu.lu@intel.com>
27084
27085 * Makeconfig (+link-static-before-libc): Use the first of
27086 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
27087 * gmon/Makefile (tests): Add tst-gmon-static.
27088 (tests-static): Likewise.
27089 (CFLAGS-tst-gmon-static.c): New.
27090 (CRT-tst-gmon-static): Likewise.
27091 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
27092 (tst-gmon-static-ENV): Likewise.
27093 (tests-special): Likewise.
27094 ($(objpfx)tst-gmon-static.out): Likewise.
27095 (clean-tst-gmon-static-data): Likewise.
27096 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
27097 * gmon/tst-gmon-static-gprof.sh: New file.
27098 * gmon/tst-gmon-static.c: Likewise.
27099
bc3821bb
CD
271002017-10-13 Carlos O'Donell <carlos@redhat.com>
27101
27102 [BZ #22295]
27103 * locale/programs/linereader.c (get_string): Don't warn on
27104 non-symbolic character.
27105
a3e23a2c
CD
27106 [BZ #22294]
27107 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
27108 int_curr_symbol.
27109
f16491eb
CD
27110 [BZ #22292]
27111 * locale/programs/record-status.h: New file
27112 * locale/programs/locale.c: Add comment.
27113 * locale/programs/charmap-dir.c: Don't include error.h.
27114 (charmap_opendir): Use record_error.
27115 * locale/programs/charmap.c: Don't include error.h.
27116 (charmap_read): Use record_error, and record_warning.
27117 (parse_charmap): Likewise.
27118 * locale/programs/ld-address.c: Don't include error.h.
27119 (address_finish): Use record_error, and record_warning.
27120 * locale/programs/ld-collate.c: Don't include error.h.
27121 (collate_finish): Use record_error, and record_error_at_line.
27122 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
27123 (ctype_class_new): Likewise.
27124 (ctype_map_new): Likewise.
27125 (set_one_default): Likewise.
27126 (set_class_defaults): Likewise.
27127 (translit_flatten): Likewise.
27128 (allocate_arrays): Use record_error, and record_verbose.
27129 * locale/programs/ld-identification.c: Don't include error.h.
27130 (indentation_finish): Use record_error and record_warning.
27131 * locale/programs/ld-measurement.c: Don't include error.h.
27132 (measurement_finish): Use record_error.
27133 * locale/programs/ld-messages.c
27134 (message_finish): Likewise.
27135 * locale/programs/ld-monetary.c
27136 (monetary_finish): Likewise.
27137 * locale/programs/ld-name.c (name_finish): Use record_error
27138 and record_warning.
27139 * locale/programs/ld-numeric.c
27140 (numeric_finish): Use record_error.
27141 * locale/programs/ld-paper.c: Don't include error.h.
27142 (paper_finish): Use record_error.
27143 * locale/programs/ld-telephone.c: Don't include error.h.
27144 (telephone_finish): Use record_error.
27145 * locale/programs/ld-time.c (time_finish): Likewise.
27146 * locale/programs/linereader.h (lr_error): Make inline func.
27147 * locale/programs/localedef.c: Define recorded_warning_count,
27148 and recorded_error_count.
27149 (main): Use record_error. Use recorded_error_count and
27150 recorded_warning_count to issue correct error returns.
27151 (add_to_readlist): Use record_error.
27152 (find_locale): Likewise.
27153 (load_locale): Likewise.
27154 * locale/programs/localedef.h: Remove be_quiet
27155 and WITH_CUR_LOCALE.
27156 * locale/programs/locarchive.c (compare_from_file): Use
27157 record_error.
27158 * locale/programs/locfile.c (write_locale_data): Use
27159 record_error.
27160 * locale/programs/repertoire.c: Dont include error.h.
27161 (repertoire_complain): Use record_error.
27162 * localedata/tst-fmon.sh: Expect failures from localedef.
27163 * localedata/tst-locale.sh: Likewise.
27164 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
27165
8dc8be75
CD
27166 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
27167 (REPORTS): Likewise.
27168 (check): Likewise.
27169 (i18n): Rename to...
27170 (i18n_ctype): ...this.
27171 (i18n-report): Rename to...
27172 (i18n_ctype-report): ...this.
27173 * localedata/locales/i18n_ctype: Regenerate.
27174 * localedata/locales/i18n: copy i18n_ctype.
27175
f8718a9e
JM
271762017-10-13 Joseph Myers <joseph@codesourcery.com>
27177
18c08b96
JM
27178 * stdlib/strfroml.c: Include <bits/floatn.h>.
27179 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
27180 Define before include of <stdlib.h> and undefine afterwards, then
27181 define as weak alias.
27182
f8718a9e
JM
27183 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
27184 Undefine and restore default definition. Use
27185 libm_alias_ldouble_other.
27186
e4f530da
PZ
271872017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
27188
27189 [BZ #22153]
27190 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
27191 in coredumps.
27192
86445888
JC
271932017-10-13 James Clarke <jrtc27@jrtc27.com>
27194
27195 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27196 Assign sym_map to be map for local symbols, as TLS relocations
27197 use sym_map to determine whether the symbol is defined and to
27198 extract the TLS information.
27199 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27200 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27201
179dcdb7
TMQMF
272022017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27203
e8dbd6a3
TMQMF
27204 [BZ #22189]
27205 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
27206 (math_force_eval): Add powerpc version.
27207
179dcdb7
TMQMF
27208 [BZ #22142]
27209 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
27210 -DBL_MAX.
27211 (do_test): Likewise.
27212 * stdio-common/tst-printf.sh: Likewise.
27213 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
27214 ifdef clause in order to set the carry bit right. Replace r0 by
27215 0 without changing the behavior.
27216
7d25d410
JM
272172017-10-13 Joseph Myers <joseph@codesourcery.com>
27218
006e7664
JM
27219 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
27220 <libm-alias-ldouble.h>.
27221 (fabsl): Define using libm_alias_ldouble.
27222 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
27223 <libm-alias-ldouble.h>.
27224 (fabsl): Define using libm_alias_ldouble.
27225
1def91b3
JM
27226 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
27227 Remove conditional code.
27228
7d25d410
JM
27229 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
27230 Rename to __clog10_internal_l.
27231 (__clog10_internal_l): Define aliases using
27232 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
27233 with __clog10.
27234
077ee129
RS
272352017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27236
27237 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
27238 * benchtests/sincosf-inputs: New file.
27239 * benchtests/cosf-inputs: New file.
27240 * benchtests/sinf-inputs: New file.
27241
5ba41de9
SN
272422017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
27243
27244 * posix/tst-spawn.c (do_test): Wait for both children.
27245
d165ca64
L
272462017-10-12 H.J. Lu <hongjiu.lu@intel.com>
27247
27248 [BZ #22284]
27249 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
27250 tests-pie): Add tst-gmon-pie.
27251 (CFLAGS-tst-gmon-pie.c): New.
27252 (CRT-tst-gmon-pie): Likewise.
27253 (tst-gmon-pie-ENV): Likewise.
27254 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
27255 ($(objpfx)tst-gmon-pie.out): Likewise.
27256 (clean-tst-gmon-pie-data): Likewise.
27257 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
27258 * gmon/gmon.c [PIC]: Include <link.h>.
27259 [PIC] (callback): New function.
27260 (write_hist): Add an argument for load address. Subtract load
27261 address from PCs.
27262 (write_call_graph): Likewise.
27263 (write_gmon): Call __dl_iterate_phdr to get load address, pass
27264 it to write_hist and write_call_graph.
7bacdcfc 27265 * gmon/tst-gmon-pie.c: New file.
d165ca64 27266
bc9620d0
JM
272672017-10-11 Joseph Myers <joseph@codesourcery.com>
27268
27269 * math/Makefile (test-types-basic): New variable.
27270 (test-types): Likewise.
27271 (libm-test-support): Use $(test-types) instead of $(types).
27272 (libm-tests-base-normal): Likewise.
27273 (libm-tests-base-finite): Likewise.
27274 (libm-tests-base-inline): Likewise.
27275 (generated): Likewise.
27276 ($(objpfx)libm-test-support-$(t).c): Likewise.
27277 (libm-tests-for-type iterator): Likewise.
27278 (libm-test-support iterator): Likewise.
27279 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
27280 (ulp_idx): Use ULP_IDX.
27281 * math/test-ldouble.h: Include <float.h>.
27282 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
27283 (ULP_IDX): New macro.
27284 (ULP_I_IDX): Likewise.
27285 * math/test-double.h (ULP_IDX): Likewise.
27286 (ULP_I_IDX): Likewise.
27287 * math/test-float.h (ULP_IDX): Likewise.
27288 (ULP_I_IDX): Likewise.
27289 * math/test-float128.h (ULP_IDX): Likewise.
27290 (ULP_I_IDX): Likewise.
27291
09c76a74
AZ
272922017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27293
27294 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
27295 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27296 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27297 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
27298 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27299 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
27300 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
27301 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27302 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27303 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27304 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
27305 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27306 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27307 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
27308 (SINGLE_THREAD_BY_GLOBAL): Define.
27309 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27310 Likewise.
27311 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27312 Likewise.
27313 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27314 Likewise.
27315 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27316 Likewise.
27317 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
27318 (SINGLE_THREAD_BY_GLOBAL): Likewise.
27319 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27320 Likewise.
27321
2faa42da
AS
273222017-10-11 Andreas Schwab <schwab@suse.de>
27323
27324 * nis/Makefile (aux): Remove.
27325 * nscd/Makefile (aux): Add nscd_hash.
27326 (nscd-modules): Likewise.
27327 ($(objpfx)nscd): Don't depend on libnsl.
27328 * nscd/nscd_hash.c: New file.
27329 * nscd/nscd_hash.h: Likewise.
27330 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
27331 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
27332 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
27333 instead of <nis/rpcsvc/nis.h>.
27334 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
27335
d8425e11
FW
273362017-10-11 Florian Weimer <fweimer@redhat.com>
27337
27338 [BZ #22078]
27339 Avoid large NSS buffers with many addresses, aliases.
27340 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
27341 using dynarrays and struct alloc_buffer.
27342 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
27343 (tst-nss-files-hosts-multi): Link with -ldl.
27344 * nss/tst-nss-files-hosts-multi.c: New file.
27345
78e806fd
FW
273462017-10-11 Florian Weimer <fweimer@redhat.com>
27347
27348 [BZ #18023]
27349 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
27350 scratch_buffer. Eliminate gotos.
27351
541f19ba
JM
273522017-10-11 Joseph Myers <joseph@codesourcery.com>
27353
0ff64d3a
JM
27354 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
27355 libm_alias_ldouble_other.
27356 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
27357 undefine and redefine.
27358 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
27359 (exp10l): Do not define here.
27360 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
27361 (weak_alias): Undefine and redefine.
27362 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
27363 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
27364 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
27365 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
27366
541f19ba
JM
27367 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
27368 [!__fma] (fma): Define using libm_alias_double.
27369 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
27370 [!__fmaf] (fmaf): Define using libm_alias_float.
27371 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
27372 (fmal): Define using libm_alias_ldouble.
27373
24b6515d
JM
273742017-10-10 Joseph Myers <joseph@codesourcery.com>
27375
27376 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
27377 New macro.
27378 (libm_alias_double_other): Likewise.
27379 (libm_alias_double_r): Use libm_alias_double_other_r.
27380 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
27381 New macro.
27382 (libm_alias_float_other): Likewise.
27383 (libm_alias_float_r): Use libm_alias_float_other_r.
27384 * sysdeps/generic/libm-alias-float128.h
27385 (libm_alias_float128_other_r): New macro.
27386 (libm_alias_float128_other): Likewise.
27387 (libm_alias_float128_r): Use libm_alias_float128_other_r.
27388 * sysdeps/generic/libm-alias-ldouble.h
27389 (libm_alias_ldouble_other_r): New macro.
27390 (libm_alias_ldouble_other): Likewise.
27391 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
27392 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
27393 (libm_alias_double_other_r): New macro.
27394 (libm_alias_double_other): Likewise.
27395 (libm_alias_double_r): Use libm_alias_double_other_r.
27396 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
27397 (libm_alias_ldouble_other_r): New macro.
27398 (libm_alias_ldouble_other): Likewise.
27399 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
27400 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
27401 [!USE_AS_COMPAT]: Use libm_alias_double_other.
27402 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
27403 [!USE_AS_COMPAT]: Use libm_alias_float_other.
27404 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
27405 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
27406 * math/w_exp2f.c: Use libm_alias_float_other.
27407 * math/w_expf.c: Likewise.
27408 * math/w_log2f.c: Likewise.
27409 * math/w_logf.c: Likewise.
27410 * math/w_powf.c: Likewise.
27411 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
27412 [!__exp2f]: Use libm_alias_float_other.
27413 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
27414 [!__expf]: Use libm_alias_float_other.
27415 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
27416 [!__log2f]: Use libm_alias_float_other.
27417 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
27418 [!__logf]: Use libm_alias_float_other.
27419 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
27420 [!__powf]: Use libm_alias_float_other.
27421
8ed70de2
FW
274222017-10-10 Florian Weimer <fweimer@redhat.com>
27423
27424 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
27425 function.
27426 (_nss_files_gethostbyname3_r): Call it.
27427
a8dce619
JM
274282017-10-09 Joseph Myers <joseph@codesourcery.com>
27429
27430 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
27431 error. Remove default definition of declare_mgen_alias.
27432 [!declare_mgen_alias_r]: Likewise.
27433 * sysdeps/generic/math-type-macros-double.h
27434 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
27435 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
27436 (declare_mgen_alias_r): Likewise.
27437 * sysdeps/generic/math-type-macros-float128.h
27438 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
27439 * sysdeps/generic/math-type-macros-ldouble.h
27440 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
27441 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
27442 macro.
27443 (declare_mgen_alias_r_s): Likewise.
27444 (declare_mgen_alias_r): Likewise.
27445 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
27446 (lgamma_r): Define using libm_alias_double_r.
27447 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
27448 (lgammaf_r): Define using libm_alias_float_r.
27449 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
27450 (lgammal_r): Define using libm_alias_ldouble_r.
27451 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
27452 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
27453
bedac136
AZ
274542017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27455
27456 * lib/glob.c (__glob_pattern_type): Remove now-spurious
27457 extern declaration.
27458
c7509db2
JM
274592017-10-09 Joseph Myers <joseph@codesourcery.com>
27460
27461 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
27462
d6c064e9
JW
274632017-10-09 Jonathan Wakely <jwakely@redhat.com>
27464
27465 [BZ #21326]
27466 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
27467 [__cplusplus >= 201103] (__USE_ISOC99): Define.
27468 * math/Makefile (test-math-cxx11): New test.
27469 * math/test-math-cxx11.cc: New file.
27470
98e07420
CB
274712017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
27472
27473 * login/openpty.c (openpty): Close slave pty file descriptor on error.
27474
645ac9aa
CB
27475 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
27476 call to allocate the slave pty file descriptor.
27477
fd3b4e7c
JM
274782017-10-06 Joseph Myers <joseph@codesourcery.com>
27479
f85a176f
JM
27480 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
27481 [!__fma] (fma): Define using libm_alias_double.
27482 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
27483 [!__fma] (fma): Define using libm_alias_double.
27484
fd3b4e7c
JM
27485 * sysdeps/ieee754/float128/float128_private.h: Include
27486 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
27487 (libm_alias_ldouble_r): Undefine and redefine.
27488 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
27489 <libm-alias-ldouble.h>.
27490 (asinhl): Define using libm_alias_ldouble.
27491 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
27492 <libm-alias-ldouble.h>.
27493 (atanl): Define using libm_alias_ldouble.
27494 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
27495 <libm-alias-ldouble.h>.
27496 (cbrtl): Define using libm_alias_ldouble.
27497 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
27498 <libm-alias-ldouble.h>.
27499 (ceill): Define using libm_alias_ldouble.
27500 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
27501 <libm-alias-ldouble.h>.
27502 (copysignl): Define using libm_alias_ldouble.
27503 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
27504 <libm-alias-ldouble.h>.
27505 (cosl): Define using libm_alias_ldouble.
27506 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
27507 <libm-alias-ldouble.h>.
27508 (erfl): Define using libm_alias_ldouble.
27509 (erfcl): Likewise.
27510 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
27511 <libm-alias-ldouble.h>.
27512 (expm1l): Define using libm_alias_ldouble.
27513 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
27514 <libm-alias-ldouble.h>.
27515 (fabsl): Define using libm_alias_ldouble.
27516 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
27517 <libm-alias-ldouble.h>.
27518 (floorl): Define using libm_alias_ldouble.
27519 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
27520 <libm-alias-ldouble.h>.
27521 (fmal): Define using libm_alias_ldouble.
27522 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
27523 <libm-alias-ldouble.h>.
27524 (frexpl): Define using libm_alias_ldouble.
27525 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
27526 libm_alias_ldouble.
27527 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
27528 <libm-alias-ldouble.h>.
27529 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
27530 libm_alias_ldouble.
27531 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
27532 <libm-alias-ldouble.h>.
27533 (getpayloadl): Define using libm_alias_ldouble.
27534 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
27535 <libm-alias-ldouble.h>.
27536 (llrintl): Define using libm_alias_ldouble.
27537 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
27538 <libm-alias-ldouble.h>.
27539 (llroundl): Define using libm_alias_ldouble.
27540 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
27541 <libm-alias-ldouble.h>.
27542 (logbl): Define using libm_alias_ldouble.
27543 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
27544 <libm-alias-ldouble.h>.
27545 (lrintl): Define using libm_alias_ldouble.
27546 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
27547 <libm-alias-ldouble.h>.
27548 (lroundl): Define using libm_alias_ldouble.
27549 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
27550 <libm-alias-ldouble.h>.
27551 (modfl): Define using libm_alias_ldouble.
27552 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
27553 <libm-alias-ldouble.h>.
27554 (nearbyintl): Define using libm_alias_ldouble.
27555 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
27556 <libm-alias-ldouble.h>.
27557 (nextafterl): Define using libm_alias_ldouble.
27558 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
27559 <libm-alias-ldouble.h>.
27560 (nextupl): Define using libm_alias_ldouble.
27561 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
27562 <libm-alias-ldouble.h>.
27563 (remquol): Define using libm_alias_ldouble.
27564 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
27565 <libm-alias-ldouble.h>.
27566 (rintl): Define using libm_alias_ldouble.
27567 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
27568 <libm-alias-ldouble.h>.
27569 (roundevenl): Define using libm_alias_ldouble.
27570 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
27571 <libm-alias-ldouble.h>.
27572 (roundl): Define using libm_alias_ldouble.
27573 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
27574 using libm_alias_ldouble.
27575 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
27576 <libm-alias-ldouble.h>.
27577 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
27578 Define using libm_alias_ldouble.
27579 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
27580 <libm-alias-ldouble.h>.
27581 (sincosl): Define using libm_alias_ldouble.
27582 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
27583 <libm-alias-ldouble.h>.
27584 (sinl): Define using libm_alias_ldouble.
27585 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
27586 <libm-alias-ldouble.h>.
27587 (tanhl): Define using libm_alias_ldouble.
27588 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
27589 <libm-alias-ldouble.h>.
27590 (tanl): Define using libm_alias_ldouble.
27591 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
27592 <libm-alias-ldouble.h>.
27593 (totalorderl): Define using libm_alias_ldouble.
27594 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
27595 <libm-alias-ldouble.h>.
27596 (totalordermagl): Define using libm_alias_ldouble.
27597 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
27598 <libm-alias-ldouble.h>.
27599 (truncl): Define using libm_alias_ldouble.
27600 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
27601 libm_alias_ldouble.
27602 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
27603 libm_alias_ldouble.
27604 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
27605 <libm-alias-ldouble.h>.
27606 (weak_alias): Do not undefine and redefine.
27607 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27608 (copysignl): Define with long_double_symbol only if [IS_IN
27609 (libc)].
27610 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
27611 <libm-alias-ldouble.h>.
27612 (weak_alias): Do not undefine and redefine.
27613 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27614 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
27615 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
27616 <libm-alias-ldouble.h>.
27617 (weak_alias): Do not undefine and redefine.
27618 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27619 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
27620 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
27621 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
27622 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
27623 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
27624 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
27625 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
27626 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
27627 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
27628 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
27629 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
27630 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
27631 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
27632 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
27633 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
27634 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
27635 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
27636 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
27637 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
27638 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
27639 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
27640 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
27641 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
27642 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
27643 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
27644
1e26d351
CD
276452017-10-06 Carlos O'Donell <carlos@redhat.com>
27646
27647 [BZ #22111]
27648 * malloc/malloc.c (tcache_shutting_down): Use bool type.
27649 (tcache_thread_freeres): Set tcache_shutting_down before
27650 freeing the tcache.
27651 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
27652 * malloc/tst-malloc-tcache-leak.c: New file.
27653
d1386762
RS
276542017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27655
27656 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
27657 back to powerpc32 file.
27658 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
27659 (memrchr): Add __memrchr_power8 to ifunc list.
27660 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
27661 extra bytes for unaligned inputs.
27662
6dff1983
JM
276632017-10-06 Joseph Myers <joseph@codesourcery.com>
27664
27665 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
27666 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
27667 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
27668 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
27669 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
27670
86f9568a
JM
276712017-10-05 Joseph Myers <joseph@codesourcery.com>
27672
0db0b931
JM
27673 * sysdeps/arm/libm-test-ulps: Update.
27674
86f9568a
JM
27675 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
27676 <libm-alias-ldouble.h>.
27677 (asinhl): Define using libm_alias_ldouble.
27678 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
27679 <libm-alias-ldouble.h>.
27680 (cbrtl): Define using libm_alias_ldouble.
27681 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
27682 <libm-alias-ldouble.h>.
27683 (copysignl): Define using libm_alias_ldouble.
27684 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
27685 <libm-alias-ldouble.h>.
27686 (cosl): Define using libm_alias_ldouble.
27687 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
27688 <libm-alias-ldouble.h>.
27689 (erfl): Define using libm_alias_ldouble.
27690 (erfcl): Likewise.
27691 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
27692 <libm-alias-ldouble.h>.
27693 (fmal): Define using libm_alias_ldouble.
27694 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
27695 <libm-alias-ldouble.h>.
27696 (frexpl): Define using libm_alias_ldouble.
27697 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
27698 libm_alias_ldouble.
27699 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
27700 <libm-alias-ldouble.h>.
27701 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
27702 libm_alias_ldouble.
27703 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
27704 <libm-alias-ldouble.h>.
27705 (getpayloadl): Define using libm_alias_ldouble.
27706 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
27707 <libm-alias-ldouble.h>.
27708 (llrintl): Define using libm_alias_ldouble.
27709 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
27710 <libm-alias-ldouble.h>.
27711 (llroundl): Define using libm_alias_ldouble.
27712 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
27713 <libm-alias-ldouble.h>.
27714 (lrintl): Define using libm_alias_ldouble.
27715 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
27716 <libm-alias-ldouble.h>.
27717 (lroundl): Define using libm_alias_ldouble.
27718 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
27719 <libm-alias-ldouble.h>.
27720 (modfl): Define using libm_alias_ldouble.
27721 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
27722 <libm-alias-ldouble.h>.
27723 (nextupl): Define using libm_alias_ldouble.
27724 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
27725 <libm-alias-ldouble.h>.
27726 (remquol): Define using libm_alias_ldouble.
27727 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
27728 <libm-alias-ldouble.h>.
27729 (roundevenl): Define using libm_alias_ldouble.
27730 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
27731 <libm-alias-ldouble.h>.
27732 (roundl): Define using libm_alias_ldouble.
27733 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
27734 using libm_alias_ldouble.
27735 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
27736 <libm-alias-ldouble.h>.
27737 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
27738 <libm-alias-ldouble.h>.
27739 (setpayloadsigl): Define using libm_alias_ldouble.
27740 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
27741 <libm-alias-ldouble.h>.
27742 (sincosl): Define using libm_alias_ldouble.
27743 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
27744 <libm-alias-ldouble.h>.
27745 (sinl): Define using libm_alias_ldouble.
27746 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
27747 <libm-alias-ldouble.h>.
27748 (tanhl): Define using libm_alias_ldouble.
27749 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
27750 <libm-alias-ldouble.h>.
27751 (tanl): Define using libm_alias_ldouble.
27752 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
27753 <libm-alias-ldouble.h>.
27754 (totalorderl): Define using libm_alias_ldouble.
27755 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
27756 <libm-alias-ldouble.h>.
27757 (totalordermagl): Define using libm_alias_ldouble.
27758 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
27759 libm_alias_ldouble.
27760 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
27761 libm_alias_ldouble.
27762
9ec87fd2
SP
277632017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
27764
dd5bc7f1
SP
27765 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
27766 memmove_falkor.
27767 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
27768 (__libc_ifunc_impl_list): Likewise.
27769 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
27770 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
27771
5bfb0404
SP
27772 * benchtests/bench-memmove-walk.c: New file.
27773 * benchtests/Makefile (string-benchset): Add it.
27774
36bb8edf
SP
27775 * benchtests/bench-memset-walk.c: New file.
27776 * benchtests/Makefile (string-benchset): Add it.
27777
9ec87fd2
SP
27778 * benchtests/bench-memcpy-walk.c: New file.
27779 * benchtests/Makefile (string-benchset): Add it.
27780
1e9522c6
FW
277812017-10-05 Florian Weimer <fweimer@redhat.com>
27782
27783 nscd: Eliminate compilation time dependency in the build output.
27784 * nscd/nscd_stat.c (STATDATA_VERSION)
27785 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
27786 (STATDATA_VERSION_FULL): New macro definitions.
27787 (compilation): Remove.
27788 (struct statdata): Adjust version member.
27789 (send_stats): Set version from STATDATA_VERSION_FULL.
27790 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
27791
644d3857
JM
277922017-10-05 Joseph Myers <joseph@codesourcery.com>
27793
27794 * configure.ac (--enable-add-ons): Remove option.
27795 (machine): Do not mention add-ons in comment.
27796 (LIBC_PRECONFIGURE): Likewise.
27797 (add_ons): Remove variable and sanity checks and logic to locate
27798 add-ons.
27799 (add_ons_automatic): Remove variable.
27800 (configured_add_ons): Likewise.
27801 (add_ons_sfx): Likewise.
27802 (add_ons_pfx): Likewise.
27803 (add_on_subdirs): Likewise.
27804 (sysnames_add_ons): Likewise. Remove loop over add-ons and
27805 consideration of add-ons in Implies handling.
27806 (sysdeps_add_ons): Likewise.
27807 * configure: Regenerated.
27808 * libidn/configure.ac: Remove.
27809 * libidn/configure: Likewise.
27810 * sysdeps/unix/inet/configure.ac: New file.
27811 * sysdeps/unix/inet/configure: New generated file.
27812 * sysdeps/unix/inet/Subdirs: Add libidn.
27813 * Makeconfig (sysdeps-srcdirs): Remove variable.
27814 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
27815 ($(common-objpfx)config.status): Do not depend on add-on files.
27816 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
27817 comment.
27818 (all-subdirs): Do not include $(add-on-subdirs).
27819 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
27820 * config.make.in (add-ons): Remove variable.
27821 (add-on-subdirs): Likewise.
27822 (sysdeps-add-ons): Likewise.
27823 * manual/Makefile (add-chapters): Remove.
27824 ($(objpfx)texis): Do not depend on $(add-chapters).
27825 (nonexamples): Do not handle $(add-chapters).
27826 (examples): Do not handle $(add-ons).
27827 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
27828 libc-texinfo.sh.
27829 * manual/install.texi (Installation): Do not mention add-ons.
27830 (--enable-add-ons): Do not document configure option.
27831 * INSTALL: Regenerated.
27832 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
27833 * manual/maint.texi (Hierarchy Conventions): Do not mention
27834 add-ons.
27835 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
27836 --enable-add-ons.
27837 * scripts/gen-sorted.awk: Do not handle Subdirs files from
27838 add-ons.
27839 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
27840 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
27841
19f82f35
AS
278422017-10-05 Andreas Schwab <schwab@suse.de>
27843
27844 [BZ #15142]
27845 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
27846 (_IO_flush_all_lockp): Always lock list_all_lock.
27847 (_IO_flush_all_linebuffered): Likewise.
27848 (_IO_unbuffer_all): Likewise.
27849
91e7cf98
FW
278502017-10-05 Florian Weimer <fweimer@redhat.com>
27851
27852 [BZ #15436]
27853 Do not flush stdio streams on abort.
27854 * stdlib/abort.c (fflush): Remove macro definition.
27855 (abort): Remove stages related to stdio flushing.
27856
0c251257
FW
278572017-10-05 Florian Weimer <fweimer@redhat.com>
27858
27859 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
27860
7ea59e3e
SL
278612017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
27862
27863 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
27864
84d0e6f0
FW
278652017-10-05 Florian Weimer <fweimer@redhat.com>
27866
27867 * support/support_format_hostent.c (support_format_hostent): Add
27868 more error information for NETDB_INTERNAL.
27869
ee417882
L
278702017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27871
27872 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
27873 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
27874 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
27875 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
27876 AC_DEFINE if multi-arch is enabled.
27877 * sysdeps/i386/configure: Regenerated.
27878
a67029ff
L
278792017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27880
27881 * Makeconfig (+link-static-before-libc): Use
27882 $(DEFAULT-LDFLAGS-$(@F)).
27883 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
27884 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
27885 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
27886
5dba84b3
L
278872017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27888
27889 * elf/Makefile (tests): Add tst-main1.
27890 (modules-names): Add tst-main1mod.
27891 ($(objpfx)tst-main1): New.
27892 (CRT-tst-main1): Likewise.
27893 (LDFLAGS-tst-main1): Likewise.
27894 (LDLIBS-tst-main1): Likewise.
27895 (tst-main1mod.so-no-z-defs): Likewise.
27896 * elf/tst-main1.c: New file.
27897 * elf/tst-main1mod.c: Likewise.
27898
758f1bfa
L
278992017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27900
27901 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
27902
7e16a5d1
JM
279032017-10-04 Joseph Myers <joseph@codesourcery.com>
27904
27905 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
27906 (fma): Define using libm_alias_double.
27907 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
27908 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
27909 <math_ldbl_opt.h>.
27910 (fmal): Do not define as compat symbol here.
27911 * sysdeps/alpha/fpu/s_fma.c: New file.
27912
db4f87ba
SN
279132017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27914
27915 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
27916
72d13ed1
JM
279172017-10-04 Joseph Myers <joseph@codesourcery.com>
27918
32d372d5
JM
27919 [BZ #22229]
27920 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
27921 <math_ldbl_opt.h>
27922 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
27923 and libc.
27924 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
27925 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
27926 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
27927 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
27928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27929 Include <math_ldbl_opt.h>
27930 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
27931 and libc.
27932 (compat_symbol): Undefine and redefine.
27933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
27934 <math_ldbl_opt.h>
27935 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
27936 (compat_symbol): Undefine and redefine.
27937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
27938 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
27939 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
27940 GLIBC_2_1 for libm.
27941 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
27942 GLIBC_2.0 copysignl symbol.
27943 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
27944 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
27945
72d13ed1
JM
27946 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
27947
11c4f501
FW
279482017-10-04 Florian Weimer <fweimer@redhat.com>
27949
27950 * scripts/check-local-headers.sh: Ignore nspr4 header file
27951 directory in addition to nspr.
27952
57b4af19
GT
279532017-10-04 Guido Trentalancia <guido@trentalancia.net>
27954
27955 [BZ #17956]
27956 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
27957 * configure: Regenerate.
27958 * crypt/Makefile (nss-cpp-flags): New variable.
27959 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
27960 (CPPFLAGS-md5-crypt.c): Use it.
27961 * scripts/check-local-headers.sh: Ignore nspr header file
27962 directory.
27963
64d1e08e
AS
279642017-10-04 Andreas Schwab <schwab@suse.de>
27965
27966 * nis/Makefile (services): Remove compat.
27967 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
27968 ($(objpfx)libnss_compat.so): Remove rule.
27969 * nis/Versions (libnss_compat): Remove.
27970 * nss/Makefile (services): Add compat.
27971 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
27972 * nss/Versions (libnss_compat): Define.
27973 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
27974 Don't include <rpc/types.h>. Replace bool_t by bool.
27975 * nss/nss_compat/compat-initgroups.c: Likewise.
27976 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
27977 instead of <rpcsrv/ypclnt.h>.
27978 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
27979 yp_get_default_domain.
27980 * nss/nss_compat/compat-pwd.c: Likewise.
27981 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
27982 yp_get_default_domain.
27983 * nss/nss_compat/nisdomain.c: New file.
27984 * nss/nss_compat/nisdomain.h: Likewise.
27985
86c27ade
SN
279862017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27987
27988 [BZ #22244]
27989 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
27990 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27991
8f8f8ef7
SN
279922017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27993
27994 [BZ #22243]
27995 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
27996 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
27997
95577475
L
279982017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27999
28000 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
28001 "movl main@GOTOFF(%ebx), %eax".
28002
02d2d892
L
280032017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28004
28005 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
28006 allow undefined _DYNAMIC in PIE libc.a.
28007 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
28008 Likewse.
28009
0c609d19
L
280102017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28011
28012 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
28013 check _DYNAMIC.
28014
c34a19ed
L
280152017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28016
28017 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
28018 check _DYNAMIC.
28019
cdd4155d
L
280202017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28021
28022 * math/test-math-iscanonical.cc (error): Replace bool with int.
28023
4699cb8b
JM
280242017-10-03 Joseph Myers <joseph@codesourcery.com>
28025
d8f619b3
JM
28026 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
28027 (modf): Define using libm_alias_double, only if [!__modf].
28028 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
28029 <libm-alias-double.h>.
28030 (modf): Define using libm_alias_double, only if [!__modf].
28031 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
28032 compat symbol here.
28033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
28034 (weak_alias): Do not undefine and redefine.
28035 (strong_alias): Likewise.
28036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
28037 (weak_alias): Likewise.
28038 (strong_alias): Likewise.
28039
4699cb8b
JM
28040 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
28041 (logb): Define using libm_alias_double, only if [!__logb].
28042 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
28043 <libm-alias-double.h>.
28044 (logb): Define using libm_alias_double, only if [!__logb].
28045 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
28046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
28047 (weak_alias): Do not undefine and redefine.
28048 (strong_alias): Likewise.
28049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
28050 (weak_alias): Likewise.
28051 (strong_alias): Likewise.
28052
bcc4e4bb
L
280532017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28054
28055 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
28056 Check SHARED instead PIC.
28057
39793865
JM
280582017-10-03 Joseph Myers <joseph@codesourcery.com>
28059
7f1cbdf8
JM
28060 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
28061 [!__fmaf] (fmaf): Define using libm_alias_float.
28062
39793865
JM
28063 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
28064 (frexp): Define using libm_alias_double.
28065 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
28066 <libm-alias-double.h>.
28067 (frexp): Define using libm_alias_double.
28068 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
28069 compat symbol here.
28070
aa0235df
GG
280712017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28072
28073 [BZ #22235]
28074 * math/math.h: Trivial fix for unbalanced parentheses in comment.
28075 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
28076 (CFLAGS-test-math-iscanonical.cc): New variable.
28077 * math/test-math-iscanonical.cc: New file.
28078 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
28079 Provide a C++ implementation based on function overloading,
28080 rather than using __MATH_TG, which uses C-only builtins.
28081 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
28082 Likewise.
28083 * sysdeps/powerpc/powerpc64le/Makefile
28084 (CFLAGS-test-math-iscanonical.cc): New variable.
28085
a1132b5e
JM
280862017-10-03 Joseph Myers <joseph@codesourcery.com>
28087
28088 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
28089 (ceil): Define using libm_alias_double.
28090 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
28091 (floor): Define using libm_alias_double.
28092 * sysdeps/ieee754/dbl-64/s_llround.c: Include
28093 <libm-alias-double.h>.
28094 (llround): Define using libm_alias_double.
28095 * sysdeps/ieee754/dbl-64/s_lround.c: Include
28096 <libm-alias-double.h>.
28097 (lround): Define using libm_alias_double.
28098 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
28099 <libm-alias-double.h>.
28100 (nearbyint): Define using libm_alias_double.
28101 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
28102 <libm-alias-double.h>.
28103 (remquo): Define using libm_alias_double.
28104 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
28105 (rint): Define using libm_alias_double.
28106 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
28107 (round): Define using libm_alias_double.
28108 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
28109 (trunc): Define using libm_alias_double.
28110 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
28111 <libm-alias-double.h>.
28112 (ceil): Define using libm_alias_double.
28113 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
28114 <libm-alias-double.h>.
28115 (floor): Define using libm_alias_double.
28116 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
28117 <libm-alias-double.h>.
28118 (llround): Define using libm_alias_double.
28119 [_LP64] (lround): Likewise.
28120 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
28121 <libm-alias-double.h>.
28122 [!_LP64] (lround): Define using libm_alias_double.
28123 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
28124 <libm-alias-double.h>.
28125 (nearbyint): Define using libm_alias_double.
28126 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
28127 <libm-alias-double.h>.
28128 (remquo): Define using libm_alias_double.
28129 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
28130 <libm-alias-double.h>.
28131 (rint): Define using libm_alias_double.
28132 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
28133 <libm-alias-double.h>.
28134 (round): Define using libm_alias_double.
28135 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
28136 <libm-alias-double.h>.
28137 (trunc): Define using libm_alias_double.
28138 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
28139 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
28140 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
28141 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
28142 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
28143 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
28144 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
28145 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
28146 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
28147
f275f64e
SN
281482017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28149
28150 * math/w_remainder.c: New file.
28151 * math/w_remainderf.c: New file.
28152 * math/w_remainderl.c: New file.
28153
b8818ab5
L
281542017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28155
28156 * elf/rtld.c (BOOTSTRAP_MAP): New.
28157 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
28158 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28159 Likewise.
28160 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28161 Likewise.
28162 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28163 Likewise.
28164
3d1870fa
ST
281652017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
28166
28167 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
28168 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
28169 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
28170 rtld_hidden_data_ver): Define to empty.
28171 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
28172 __assert_perror_fail): Likewise.
28173 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28174 (__rewinddir): Likewise.
28175 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28176 (__profile_frequency): Likewise.
28177 * include/setjmp.h (__sigsetjmp): Likewise.
28178 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
28179 __libc_sigaction): Likewise.
28180 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
28181 not set hidden attribute.
28182 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
28183 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
28184 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
28185 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
28186 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
28187 __fxstatat64): Likewise.
28188 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28189 (__uname): Likewise.
28190 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28191 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
28192 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
28193 (NO_RTLD_HIDDEN): Set.
28194 * sysdeps/mach/hurd/configure: Refresh.
28195 * config.h.in: Refresh.
28196
527cd19c
JM
281972017-10-02 Joseph Myers <joseph@codesourcery.com>
28198
38722448
JM
28199 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
28200 (atan): Define using libm_alias_double.
28201 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
28202 (tan): Define using libm_alias_double.
28203 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
28204 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
28205
527cd19c
JM
28206 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
28207 define as weak alias of __atan. Do not define any aliases if
28208 [__atan].
28209 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
28210 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
28211 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
28212 as weak alias of __tan. Do not define any aliases if [__tan].
28213 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
28214 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
28215 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
28216 __atan.
28217 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
28218 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
28219 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
28220 and define as weak alias of __atan.
28221 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
28222 __atan.
28223 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
28224 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
28225 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
28226 define as weak alias of __tan.
28227
bdc5c592
SN
282282017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28229
28230 * math/w_lgamma.c: New file.
28231 * math/w_lgammaf.c: New file.
28232 * math/w_lgammal.c: New file.
28233
bd4430c2
SN
282342017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28235
28236 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
28237 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
28238 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
28239 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
28240 * sysdeps/ieee754/flt-32/w_logf.c: New file.
28241 * sysdeps/ieee754/flt-32/w_powf.c: New file.
28242 * sysdeps/i386/fpu/w_log2f.c: New file.
28243 * sysdeps/i386/fpu/w_logf.c: New file.
28244 * sysdeps/i386/fpu/w_powf.c: New file.
28245 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
28246 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
28247 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
28248
f7a0b063
SN
282492017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28250 H.J. Lu <hongjiu.lu@intel.com>
28251
28252 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
28253 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
28254 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
28255 * sysdeps/ieee754/flt-32/w_expf.c: New file.
28256 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
28257 the new expf code.
28258 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
28259 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
28260 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
28261 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
28262 * sysdeps/i386/fpu/w_exp2f.c: New file.
28263 * sysdeps/i386/fpu/w_expf.c: New file.
28264 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
28265 * sysdeps/x86_64/fpu/w_expf.c: New file.
28266
72d3d281
SN
282672017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28268
28269 * math/Versions (logf): New libm symbol at GLIBC_2.27.
28270 (log2f): Likewise.
28271 (powf): Likewise.
28272 * math/w_log2f.c: New file.
28273 * math/w_logf.c: New file.
28274 * math/w_powf.c: New file.
28275 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
28276 * math/w_logf_compat.c (__logf_compat): Likewise.
28277 * math/w_powf_compat.c (__powf_compat): Likewise.
28278 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
28279 * sysdeps/ia64/fpu/e_logf.S: Likewise.
28280 * sysdeps/ia64/fpu/e_powf.S: Likewise.
28281 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
28282 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
28283 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
28284 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
28285 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
28286 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
28287 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
28288 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
28289 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
28290 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
28291 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
28292 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
28293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
28294 Likewise.
28295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
28296 Likewise.
28297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
28298 Likewise.
28299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
28300 Likewise.
28301 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
28302 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
28303 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
28304 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
28305 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
28306 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
28307 Likewise.
28308 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
28309 Likewise.
28310 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
28311 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
28312 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
28313
59ba2d2b
RS
283142017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28315
28316 * sysdeps/powerpc/powerpc64/multiarch/Makefile
28317 (sysdep_routines): Add memrchr_power8.
28318 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28319 (memrchr): Add __memrchr_power8 to list of memrchr functions.
28320 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
28321 New file.
28322 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
28323 (memrchr): Add __memrchr_power8 to ifunc list.
28324 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
28325
397286ea
L
283262017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28327
28328 [BZ #18822]
28329 * sysdeps/unix/sysv/linux/posix_fadvise64.c
28330 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
28331 libc_hidden_def.
28332 * sysdeps/unix/sysv/linux/posix_fallocate64.c
28333 (__posix_fallocate64_l64): Likewise.
28334
d0a4512b
L
283352017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28336
28337 [BZ #18822]
28338 * sysdeps/unix/sysv/linux/sched_setaffinity.c
28339 (__sched_setaffinity_new): Add libc_hidden_proto and
28340 libc_hidden_def.
28341
c0769f70
L
283422017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28343
28344 [BZ #18822]
28345 * include/glob.h (__glob64): Add libc_hidden_proto.
28346 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
28347 libc_hidden_def.
28348
0e7d5b6e
L
283492017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28350
28351 [BZ #18822]
28352 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
28353 attribute_hidden.
28354
bde06c87
L
283552017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28356
28357 [BZ #18822]
28358 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
28359
fa426590
L
283602017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28361
28362 [BZ #18822]
28363 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
28364 libc_hidden_def.
28365
2f8a05d8
L
283662017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28367
28368 [BZ #18822]
28369 * csu/version.c (__libc_print_version): Add attribute_hidden.
28370
7bfd08ac
L
283712017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28372
28373 [BZ #18822]
28374 * include/libc-internal.h (__init_misc): Add attribute_hidden.
28375
0e1fd06c
L
283762017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28377
28378 [BZ #18822]
28379 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
28380
36e7ae1e
L
283812017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28382
28383 [BZ #18822]
28384 * nscd/nscd_helper.c (__nis_hash): New prototype.
28385
87078544
L
283862017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28387
28388 [BZ #18822]
28389 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
28390 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
28391 libc_hidden_def.
28392 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
28393 * termios/tcgetattr.c (__tcgetattr): Likewise.
28394
dd3121df
L
283952017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28396
28397 [BZ #18822]
28398 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
28399 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
28400 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
28401 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
28402 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
28403
047d1a81
L
284042017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28405
28406 [BZ #18822]
28407 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
28408
fd331b11
L
284092017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28410
28411 [BZ #18822]
28412 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
28413 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
28414
57f859bd
L
284152017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28416
28417 [BZ #18822]
28418 * intl/hash-string.h (__hash_string): Add attribute_hidden.
28419
d1903329
L
284202017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28421
28422 [BZ #18822]
28423 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
28424 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
28425
b4744101
L
284262017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28427
28428 [BZ #18822]
28429 * include/ifreq.h: New file.
28430 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
28431 (__ifreq): Likewise.
28432 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
28433 (__ifreq): Likewise.
28434
43b7dfd1
L
284352017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28436
28437 [BZ #18822]
28438 * include/idna.h: New file.
28439 * inet/getnameinfo.c: Include <idna.h> instead of
28440 <libidn/idna.h>.
28441 (__idna_to_unicode_lzlz): Removed.
28442 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
28443 <libidn/idna.h>.
28444 (__idna_to_ascii_lz): Removed.
28445 (__idna_to_unicode_lzlz): Likewise.
28446
2c0cd8f8
L
284472017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28448
28449 [BZ #18822]
28450 * include/plural-exp.h: New file.
28451 * intl/plural-exp.c: Include <plural-exp.h> instead of
28452 "plural-exp.h".
28453
8369d216
L
284542017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28455
28456 [BZ #18822]
28457 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
28458 "getsourcefilter.h".
28459 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
28460 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
28461 "getsourcefilter.h".
28462 (__get_sol): Removed.
28463
a0aef783
L
284642017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28465
28466 [BZ #18822]
28467 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
28468 to ...
28469 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
28470
3ee8209b
L
284712017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28472
28473 [BZ #18822]
28474 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
28475 attribute_hidden.
28476
6036fc38
L
284772017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28478
28479 [BZ #18822]
28480 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
28481
fe84fed0
L
284822017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28483
28484 [BZ #18822]
28485 * include/search.h (__tdestroy): Add libc_hidden_proto.
28486 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
28487
048dd681
L
284882017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28489
28490 [BZ #18822]
28491 * include/assert.h (__assert_fail_base): Add attribute_hidden.
28492
6e342af6
L
284932017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28494
28495 [BZ #18822]
28496 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
28497 attribute_hidden.
28498
6a088436
L
284992017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28500
28501 [BZ #18822]
28502 * include/signal.h (__kill): Add libc_hidden_proto.
28503 (__sigblock): Likewise.
28504 (__sigprocmask): Likewise.
28505 (__sigaltstack): Likewise.
28506 * signal/kill.c (__kill): Add libc_hidden_def.
28507 * signal/sigblock.c (__sigblock): Likewise.
28508 * signal/sigprocmask.c (__sigprocmask): Likewise.
28509 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
28510 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
28511 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
28512 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
28513 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
28514 Likewise.
28515 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
28516 Likewise.
28517 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
28518 (__sigprocmask): Likewise.
28519 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
28520 Likewise.
28521 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
28522 (__sigprocmask): Likewise.
28523 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
28524 Likewise.
28525
78cf1d74
L
285262017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28527
28528 [BZ #18822]
28529 * include/string.h (__strsep): Add libc_hidden_proto.
28530 * string/strsep.c (__strsep): Add libc_hidden_def.
28531
85b35894
L
285322017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28533
28534 [BZ #18822]
28535 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
28536 attribute_hidden.
28537 (__spawni): Likewise.
28538
225f7eec
L
285392017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28540
28541 [BZ #18822]
28542 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
28543 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
28544 libc_hidden_def.
28545
372fe247
L
285462017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28547
28548 [BZ #18822]
28549 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
28550
9e5ee8b8
L
285512017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28552
28553 [BZ #18822]
28554 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
28555 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
28556 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
28557 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
28558 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
28559 Likewise.
28560 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
28561 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
28562
2ff16592
L
285632017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28564
28565 [BZ #18822]
28566 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
28567 (__dcigettext): Likewise.
28568
b5648377
L
285692017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28570
28571 [BZ #18822]
28572 * include/sys/sysinfo.h (__get_nprocs_conf): Add
28573 libc_hidden_proto.
28574 (__get_nprocs): Likewise.
28575 (__get_phys_pages): Likewise.
28576 (__get_avphys_pages): Likewise.
28577 (__get_child_max): Add attribute_hidden.
28578 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
28579 (__get_nprocs): Likewise.
28580 (__get_phys_pages): Likewise.
28581 (__get_avphys_pages): Likewise.
28582 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
28583 libc_hidden_def.
28584 (__get_nprocs): Likewise.
28585 (__get_phys_pages): Likewise.
28586 (__get_avphys_pages): Likewise.
28587 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
28588 libc_hidden_def.
28589 (__get_nprocs_conf): Likewise.
28590 (__get_phys_pages): Likewise.
28591 (__get_avphys_pages): Likewise.
28592
0389a6aa
L
285932017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28594
28595 [BZ #18822]
28596 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
28597 attribute_hidden.
28598 (__netlink_close): Likewise.
28599 (__netlink_free_handle): Likewise.
28600 (__netlink_request): Likewise.
28601
d48354d8
L
286022017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28603
28604 [BZ #18822]
28605 * include/rpc/rpc.h (__rpc_thread_variables): Add
28606 attribute_hidden.
28607 (__rpc_thread_svc_cleanup): Likewise.
28608 (__rpc_thread_clnt_cleanup): Likewise.
28609 (__rpc_thread_key_cleanup): Likewise.
28610
d6daff12
L
286112017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28612
28613 [BZ #18822]
28614 * include/sys/uio.h (__readv): Add libc_hidden_proto.
28615 (__writev): Likewise.
28616 * misc/readv.c (__readv): Add libc_hidden_def.
28617 * misc/writev.c (__writev): Likewise.
28618 * sysdeps/posix/readv.c (__readv): Likewise.
28619 * sysdeps/posix/writev.c (__writev): Likewise.
28620 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
28621 (__readv): Likewise.
28622 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
28623 (__writev): Likewise.
28624
b68f8620
L
286252017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28626
28627 [BZ #18822]
28628 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
28629 (__regcomp): Add libc_hidden_proto.
28630 (__regexec): Likewise.
28631 (__regfree): Likewise.
28632 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
28633 (__regfree): Likewise.
28634 * posix/regexec.c (__regexec): Likewise.
28635
59c04e67
L
286362017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28637
28638 [BZ #18822]
28639 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
28640 (__getutent): Likewise.
28641 (__getutid): Likewise.
28642 (__getutline): Likewise.
28643 (__pututline): Likewise.
28644 (__getutent_r): Likewise.
28645 (__getutid_r): Likewise.
28646 (__getutline_r): Likewise.
28647 (__utmpname): Add attribute_hidden.
28648 (__setutent): Likewise.
28649 (__endutent): Likewise.
28650 * login/getutent.c (__getutent): Add libc_hidden_def.
28651 * login/getutent_r.c (__getutent_r): Likewise.
28652 (__pututline): Likewise.
28653 * login/getutid.c (__getutid): Likewise.
28654 * login/getutid_r.c (__getutid_r): Likewise.
28655 * login/getutline.c (__getutline): Likewise.
28656 * login/getutline_r.c (__getutline_r): Likewise.
28657 * login/updwtmp.c (__updwtmp): Likewise.
28658
4587a421
L
286592017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28660
28661 [BZ #18822]
28662 * include/dirent.h (__opendir): Always add attribute_hidden.
28663 (__fdopendir): Likewise.
28664 (__closedir): Likewise.
28665 (__readdir): Likewise.
28666 (__readdir64): Add libc_hidden_proto.
28667 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
28668 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
28669 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
28670 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
28671 New alias.
28672
9635ce69
L
286732017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28674
28675 [BZ #18822]
28676 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
28677 * include/netdb.h (__gethostbyaddr_r): Likewise.
28678 (__gethostbyname_r): Likewise.
28679 (__gethostbyname2_r): Likewise.
28680 (__getnetbyaddr_r): Likewise.
28681 (__getnetbyname_r): Likewise.
28682 (__getservbyname_r): Likewise.
28683 (__getservbyport_r): Likewise.
28684 (__getprotobyname_r): Likewise.
28685 (__getprotobynumber_r): Likewise.
28686 (__getnetgrent_r): Likewise.
28687 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
28688 (__getrpcbynumber_r): Likewise.
28689 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
28690
2e0a6909
L
286912017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28692
28693 [BZ #18822]
28694 * include/stdio.h (__fcloseall): Add attribute_hidden.
28695 (__getline): Likewise.
28696 (__path_search): Likewise.
28697 (__gen_tempname): Likewise.
28698 (__libc_message): Likewise.
28699 (__flockfile): Likewise.
28700 (__funlockfile): Likewise.
28701 (__fxprintf): Likewise.
28702 (__fxprintf_nocancel): Likewise.
28703
94fd682c
L
287042017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28705
28706 [BZ #18822]
28707 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
28708 (__sgetsgent_r): Likewise.
28709
e1b33bba
L
287102017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28711
28712 [BZ #18822]
28713 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
28714 (__statfs64): Likewise.
28715 (__fstatfs64): Likewise.
28716 * include/sys/statvfs.h (__statvfs64): Likewise.
28717 (__fstatvfs64): Likewise.
28718 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
28719 (__statfs_filesize_max): Likewise.
28720 (__statfs_symlinks): Likewise.
28721 (__statfs_chown_restricted): Likewise.
28722
b0f56784
L
287232017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28724
28725 [BZ #18822]
28726 * include/time.h (__tzstring): Add attribute_hidden.
28727 (__tzfile_read): Likewise.
28728 (__tzfile_compute): Likewise.
28729 (__tzfile_default): Likewise.
28730 (__tzset_parse_tz): Likewise.
28731 (__offtime): Likewise.
28732 (__asctime_r): Likewise.
28733 (__tzset): Likewise.
28734 (__tz_convert): Likewise.
28735 (__getdate_r): Likewise.
28736 (__getclktck): Likewise.
28737
a4338d99
L
287382017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28739
28740 [BZ #18822]
28741 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
28742 (__nscd_unmap): Likewise.
28743 (__nscd_cache_search): Likewise.
28744 (__nscd_get_nl_timestamp): Likewise.
28745 (__nscd_getpwnam_r): Likewise.
28746 (__nscd_getpwuid_r): Likewise.
28747 (__nscd_getgrnam_r): Likewise.
28748 (__nscd_getgrgid_r): Likewise.
28749 (__nscd_gethostbyname_r): Likewise.
28750 (__nscd_gethostbyname2_r): Likewise.
28751 (__nscd_gethostbyaddr_r): Likewise.
28752 (__nscd_getai): Likewise.
28753 (__nscd_getgrouplist): Likewise.
28754 (__nscd_getservbyname_r): Likewise.
28755 (__nscd_getservbyport_r): Likewise.
28756 (__nscd_innetgr): Likewise.
28757 (__nscd_setnetgrent): Likewise.
28758
a2ca1652
L
287592017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28760
28761 [BZ #18822]
28762 * include/gmp.h: Declare internal functions only if _ISOMAC is
28763 undefined.
28764 (__mpn_extract_double): Add attribute_hidden.
28765 (__mpn_extract_long_double): Likewise.
28766 (__mpn_extract_float128): Likewise.
28767 (__mpn_construct_float): Likewise.
28768 (__mpn_construct_double): Likewise.
28769 (__mpn_construct_long_double): Likewise.
28770 (__mpn_construct_float128): Likewise.
28771 (mpn_add_1): Likewise.
28772 (mpn_addmul_1): Likewise.
28773 (mpn_add_n): Likewise.
28774 (mpn_cmp): Likewise.
28775 (mpn_divrem): Likewise.
28776 (mpn_lshift): Likewise.
28777 (mpn_mul): Likewise.
28778 (mpn_mul_1): Likewise.
28779 (mpn_rshift): Likewise.
28780 (mpn_sub_1): Likewise.
28781 (mpn_submul_1): Likewise.
28782 (mpn_sub_n): Likewise.
28783
44af8a32
L
287842017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28785
28786 [BZ #18822]
28787 * include/wchar.h (__wcsnlen): Add attribute_hidden.
28788 (__wcscat): Likewise.
28789 (__btowc): Likewise.
28790 (__wcrtomb): Likewise.
28791 (__mbsrtowcs): Likewise.
28792 (__wcsrtombs): Likewise.
28793 (__mbsnrtowcs): Likewise.
28794 (__wcsnrtombs): Likewise.
28795 (__wcsncpy): Likewise.
28796 (__wcpncpy): Likewise.
28797 (__wmemcpy): Likewise.
28798 (__wmempcpy): Likewise.
28799 (__wmemmove): Likewise.
28800 (__wcschrnul): Likewise.
28801 (__vfwscanf): Likewise.
28802 (__vswprintf): Likewise.
28803 (__fwprintf): Likewise.
28804 (__vfwprintf): Likewise.
28805
783cd767
L
288062017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28807
28808 [BZ #18822]
28809 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
28810 (__getgrgid_r): Likewise.
28811 (__getgrnam_r): Likewise.
28812 * include/pwd.h (__getpwuid_r): Likewise.
28813 (__getpwnam_r): Likewise.
28814 (__fgetpwent_r): Likewise.
28815 * include/shadow.h (__getspnam_r): Likewise.
28816 (__sgetspent_r): Likewise.
28817 (__fgetspent_r): Likewise.
28818
7ec4b39a
L
288192017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28820
28821 [BZ #18822]
28822 * include/unistd.h (__access): Add attribute_hidden.
28823 (__lseek64): Likewise.
28824 (__libc_pread64): Likewise.
28825 (__pipe2): Likewise.
28826 (__sleep): Likewise.
28827 (__chdir): Likewise.
28828 (__fchdir): Likewise.
28829 (__getcwd): Likewise.
28830 (__rmdir): Likewise.
28831 (__execvpe): Likewise.
28832 (__execve): Likewise.
28833 (__setsid): Likewise.
28834 (__getuid): Likewise.
28835 (__geteuid): Likewise.
28836 (__getgid): Likewise.
28837 (__getegid): Likewise.
28838 (__getgroups): Likewise.
28839 (__group_member): Likewise.
28840 (__ttyname_r): Likewise.
28841 (__isatty): Likewise.
28842 (__readlink): Likewise.
28843 (__unlink): Likewise.
28844 (__gethostname): Likewise.
28845 (__profil): Likewise.
28846 (__getdtablesize): Likewise.
28847 (__brk): Likewise.
28848 (__ftruncate): Likewise.
28849 (__ftruncate64): Likewise.
28850
8345a760
L
288512017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28852
28853 [BZ #18822]
28854 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
28855 * argp/argp-fs-xinl.c: Likewise.
28856 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
28857 * argp/argp-parse.c: Include <argp.h>.
28858 * argp/argp-xinl.c: Likewise.
28859 * include/argp-fmtstream.h: New file.
28860 * include/argp.h (__argp_error): Add attribute_hidden.
28861 (__argp_failure): Likewise.
28862 (__argp_input): Likewise.
28863 (__argp_state_help): Likewise.
28864
c26dd7c6
L
288652017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28866
28867 [BZ #18822]
28868 * include/wchar.h (____wcstof_l_internal): New prototype.
28869 (____wcstod_l_internal): Likewise.
28870 (____wcstold_l_internal): Likewise.
28871 (____wcstol_l_internal): Likewise.
28872 (____wcstoul_l_internal): Likewise.
28873 (____wcstoll_l_internal): Likewise.
28874 (____wcstoull_l_internal): Likewise.
28875 (____wcstof128_l_internal): Likewise.
28876 * sysdeps/ieee754/float128/wcstof128.c
28877 (____wcstof128_l_internal): Removed.
28878 * sysdeps/ieee754/float128/wcstof128_l.c
28879 (____wcstof128_l_internal): Likewise.
28880 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
28881 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
28882 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
28883 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
28884 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
28885 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
28886 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
28887 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
28888 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
28889 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
28890
3aff5644
L
288912017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28892
28893 [BZ #18822]
28894 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
28895 instead of <sys/statvfs.h>.
28896 (__internal_statvfs): Removed.
28897 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
28898 instead of <sys/statvfs.h>.
28899 (__internal_statvfs64): Removed.
28900 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
28901 "internal_statvfs.h" instead of <sys/statvfs.h>.
28902 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
28903 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
28904 instead of <sys/statvfs.h>.
28905 (__internal_statvfs): Removed.
28906 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
28907 instead of <sys/statvfs.h>.
28908 (__internal_statvfs64): Removed.
28909
8bcdb7e0
L
289102017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28911
28912 [BZ #18822]
28913 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
28914 (__gconv_close): Likewise.
28915 (__gconv): Likewise.
28916 (__gconv_find_transform): Likewise.
28917 (__gconv_lookup_cache): Likewise.
28918 (__gconv_compare_alias_cache): Likewise.
28919 (__gconv_load_cache): Likewise.
28920 (__gconv_get_path): Likewise.
28921 (__gconv_close_transform): Likewise.
28922 (__gconv_release_cache): Likewise.
28923 (__gconv_find_shlib): Likewise.
28924 (__gconv_release_shlib): Likewise.
28925 (__gconv_get_builtin_trans): Likewise.
28926 (__gconv_compare_alias): Likewise.
28927 * include/dlfcn.h (_dlerror_run): Likewise.
28928 * include/stdio.h (__fortify_fail_abort): Likewise.
28929 * include/time.h (__tz_compute): Likewise.
28930 (__strptime_internal): Likewise.
28931 * intl/gettextP.h (_nl_find_domain): Likewise.
28932 (_nl_load_domain): Likewise.
28933 (_nl_find_msg): Likewise.
28934 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
28935 (EXTRACT_PLURAL_EXPRESSION): Likewise.
28936 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
28937 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
28938 (__gai_find_request): Likewise.
28939 (__gai_remove_request): Likewise.
28940 (__gai_notify): Likewise.
28941 (__gai_notify_only): Likewise.
28942 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
28943 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
28944 (_dl_non_dynamic_init): Likewise.
28945 (_dl_aux_init): Likewise.
28946 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
28947 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
28948 Likewise.
28949 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
28950 (__wcsmbs_clone_conv): Likewise.
28951 (__wcsmbs_named_conv): Likewise.
28952
8ed3b643
L
289532017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28954
28955 [BZ #18822]
28956 * include/stdlib.h (__random): Add attribute_hidden.
28957 (__random_r): Likewise.
28958 (__srandom_r): Likewise.
28959 (__initstate_r): Likewise.
28960 (__setstate_r): Likewise.
28961 (__erand48_r): Likewise.
28962 (__nrand48_r): Likewise.
28963 (__jrand48_r): Likewise.
28964 (__srand48_r): Likewise.
28965 (__seed48_r): Likewise.
28966 (__lcong48_r): Likewise.
28967 (__drand48_iterate): Likewise.
28968 (__setenv): Likewise.
28969 (__unsetenv): Likewise.
28970 (__clearenv): Likewise.
28971 (__ptsname_r): Likewise.
28972 (__posix_openpt): Likewise.
28973 (__add_to_environ): Likewise.
28974 (__realpath): Add libc_hidden_proto.
28975 (__ecvt_r): Likewise.
28976 (__fcvt_r): Likewise.
28977 (__qecvt_r): Likewise.
28978 (__qfcvt_r): Likewise.
28979 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
28980 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
28981
ef9b6f73
L
289822017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28983
28984 [BZ #18822]
28985 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
28986 * include/time.h (__mktime_internal): Likewise.
28987 * libio/iolibio.h (__fopen_internal): Likewise.
28988
8da92e72
JDA
289892017-10-01 John David Anglin <danglin@gcc.gnu.org>
28990
28991 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
28992 pointer in frame.
28993 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
28994 Correct offset used to restore PIC register.
28995
388784cf
JDA
289962017-09-30 John David Anglin <danglin@gcc.gnu.org>
28997
28998 [BZ libc/22165]
28999 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
29000 code to load address of __getcontext_ret when generating PIC code.
29001
2000067a
L
290022017-09-30 H.J. Lu <hongjiu.lu@intel.com>
29003
29004 * elf/Makefile (tests-static-internal): Add
29005 tst-tls1-static-non-pie.
29006 (LDFLAGS-tst-tls1-static-non-pie): New.
29007 * elf/tst-tls1-static-non-pie.c: New file.
29008
1e2bffd0
JM
290092017-09-29 Joseph Myers <joseph@codesourcery.com>
29010
29011 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
29012 (asinh): Define using libm_alias_double.
29013 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
29014 (cbrt): Define using libm_alias_double.
29015 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
29016 <libm-alias-double.h>.
29017 (copysign): Define using libm_alias_double.
29018 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
29019 (erf): Define using libm_alias_double.
29020 (erfc): Likewise.
29021 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
29022 (expm1): Define using libm_alias_double.
29023 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
29024 (fabs): Define using libm_alias_double.
29025 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
29026 libm_alias_double.
29027 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
29028 <libm-alias-double.h>.
29029 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
29030 libm_alias_double.
29031 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
29032 <libm-alias-double.h>.
29033 (getpayload): Define using libm_alias_double.
29034 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
29035 <libm-alias-double.h>.
29036 (llrint): Define using libm_alias_double.
29037 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
29038 (lrint): Define using libm_alias_double.
29039 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
29040 <libm-alias-double.h>.
29041 (nextup): Define using libm_alias_double.
29042 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
29043 <libm-alias-double.h>.
29044 (roundeven): Define using libm_alias_double.
29045 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
29046 libm_alias_double.
29047 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
29048 <libm-alias-double.h>.
29049 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
29050 using libm_alias_double.
29051 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
29052 (cos): Define using libm_alias_double.
29053 (sin): Likewise.
29054 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
29055 <libm-alias-double.h>.
29056 (sincos): Define using libm_alias_double.
29057 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
29058 (tanh): Define using libm_alias_double.
29059 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
29060 <libm-alias-double.h>.
29061 (totalorder): Define using libm_alias_double.
29062 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
29063 <libm-alias-double.h>.
29064 (totalordermag): Define using libm_alias_double.
29065 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
29066 libm_alias_double.
29067 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
29068 libm_alias_double.
29069 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
29070 <libm-alias-double.h>.
29071 (getpayload): Define using libm_alias_double.
29072 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
29073 <libm-alias-double.h>.
29074 (roundeven): Define using libm_alias_double.
29075 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
29076 <libm-alias-double.h>.
29077 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
29078 <libm-alias-double.h>.
29079 (totalorder): Define using libm_alias_double.
29080 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
29081 <libm-alias-double.h>.
29082 (totalordermag): Define using libm_alias_double.
29083 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
29084 libc compat symbol here.
29085 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
29086 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
29087 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
29088 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
29089 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
29090 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
29091 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
29092 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
29093 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
29094 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
29095
8172aad9
L
290962017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29097
29098 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
29099 _dl_relocate_static_pie instead of _dl_start to compute load
29100 address in static PIE. Return 0 if _DYNAMIC is undefined for
29101 static executable.
29102
54464e74
L
291032017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29104
29105 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
29106 _DYNAMIC is undefined for static executable.
29107
f6c5e5bc
L
291082017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29109
29110 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
29111
2f92505d
JM
291122017-09-29 Joseph Myers <joseph@codesourcery.com>
29113
29114 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29115
bd8d53bb
WD
291162017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
29117
29118 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
29119 (__ieee754_lgamma_r): Use fabs rather than __fabs.
29120 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
29121 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
29122 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
29123 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
29124 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
29125 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
29126 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
29127 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
29128 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
29129 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
29130 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
29131 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
29132 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
29133 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
29134 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
29135
fffb1507
WD
291362017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
29137
29138 * math/bits/cmathcalls.h (cimag): Remove inline.
29139 (creal): Remove inline.
29140 (conj): Remove inline.
29141
4ea49f4c
SN
291422017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29143
29144 * math/Makefile (type-float-routines): Add e_powf_log2_data.
29145 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
29146 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
29147 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
29148 (issignalingf_inline): Likewise.
29149 (POWF_LOG2_TABLE_BITS): Likewise.
29150 (POWF_LOG2_POLY_ORDER): Likewise.
29151 (POWF_SCALE_BITS): Likewise.
29152 (POWF_SCALE): Likewise.
29153 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
29154 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
29155 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
29156
875c76c7
SN
291572017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29158
29159 * math/Makefile (type-float-routines): Add e_log2f_data.
29160 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
29161 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
29162 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
29163 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
29164 * sysdeps/i386/fpu/e_log2f_data.c: New file.
29165 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
29166 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
29167
90c42e40
SN
291682017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29169
29170 * math/Makefile (type-float-routines): Add e_logf_data.
29171 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
29172 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
29173 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
29174 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
29175 * sysdeps/i386/fpu/e_logf_data.c: New file.
29176 * sysdeps/ia64/fpu/e_logf_data.c: New file.
29177 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
29178
4088d8dd
L
291792017-09-28 H.J. Lu <hongjiu.lu@intel.com>
29180
29181 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
29182 undefined _DYNAMIC in PIE libc.a.
29183 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
29184 Likewse.
29185
4d3693ec
WD
291862017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
29187
29188 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
29189 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
29190 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
29191 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
29192 (__signbit): Remove.
29193 (__signbitl): Remove.
29194 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
29195 (__signbit): Remove.
29196 (__signbitl): Remove.
29197 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
29198 (__signbit): Remove.
29199 (__signbitl): Remove.
29200 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
29201 (__signbit): Remove.
29202 (__signbitl): Remove.
29203 * sysdeps/tile/bits/mathinline.h: Delete file.
29204 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
29205 (__signbit): Remove.
29206 (__signbitl): Remove.
29207
1e6d0723
WD
292082017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
29209
29210 * math/math.h: Improve handling of C99 isgreater macros.
29211 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
29212 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
29213 * sysdeps/powerpc/bits/mathinline.h: Likewise.
29214 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
29215 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
29216
b2f03cf3
SN
292172017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
29218
29219 * sysdeps/aarch64/libm-test-ulps: Update.
29220
f124cb38
JM
292212017-09-28 Joseph Myers <joseph@codesourcery.com>
29222
29223 [BZ #22225]
29224 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29225 math_opt_barrier on argument when doing arithmetic on it.
29226 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
29227 Likewise. Use math_force_eval not math_opt_barrier after
29228 arithmetic.
29229 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
29230 math_opt_barrier on argument when doing arithmetic on it.
29231 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
29232 Likewise.
29233
7edd0691
L
292342017-09-27 H.J. Lu <hongjiu.lu@intel.com>
29235
29236 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
29237 libc_hidden_def.
29238 (__freeifaddrs): Likewise.
29239
2c7bbfaf
ST
292402017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
29241
29242 * include/dirent.h (__dirfd): New declaration.
29243 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
29244 alias.
29245 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
29246 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
29247 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
52a1f181
ST
29248 * include/unistd.h (__revoke): New declaration.
29249 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
29250 alias.
29251 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
29252 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
29253 revoke.
64a4af28
ST
29254 * include/dirent.h (__seekdir): New declaration.
29255 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
29256 redefine as weak alias.
29257 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
29258 of seekdir.
4009ddc6
ST
29259 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
29260 and use libc_hidden_def on them.
29261 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
29262 them.
29263 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
29264 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
29265 instead of getifaddrs and freeifaddrs.
2c7bbfaf 29266
825adeee
L
292672017-09-26 H.J. Lu <hongjiu.lu@intel.com>
29268
29269 [BZ #18822]
29270 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
29271 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
29272 (__dso_handle): Remove declaration.
29273 * dlfcn/tstatexit.c (__dso_handle): Removed.
29274 (main): Don't check __dso_handle.
29275 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
29276 (main): Don't check __dso_handle.
29277 * include/dso_handle.h: New file.
29278 * malloc/mtrace.c: Include <dso_handle.h>.
29279 (mtrace): Pass __dso_handle directly.
29280 * nptl/pthread_atfork.c: Include <dso_handle.h>.
29281 (__dso_handle): Remove declaration.
29282 (__pthread_atfork): Pass __dso_handle directly.
29283 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
29284 (__dso_handle): Removed.
29285 * posix/wordexp-test.c: Include <dso_handle.h>.
29286 (__dso_handle): Remove declaration.
29287 (__app_register_atfork): Pass __dso_handle directly.
29288 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
29289 (__dso_handle): Remove declaration.
29290 (at_quick_exit): Pass __dso_handle directly.
29291 * stdlib/atexit.c: Include <dso_handle.h>.
29292 (__dso_handle): Remove declaration.
29293 (atexit): Pass __dso_handle directly.
29294 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
29295 (__dso_handle): Removed.
29296
bfb0deb3
JM
292972017-09-26 Joseph Myers <joseph@codesourcery.com>
29298
29299 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
29300 using VDSO.
29301
cebcb9f8
AM
293022017-09-26 Alexey Makhalov <amakhalov@vmware.com>
29303
29304 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
29305 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
29306 values to correct default value for given type.
29307
592d5c75
L
293082017-09-26 H.J. Lu <hongjiu.lu@intel.com>
29309
29310 [BZ #22101]
29311 * elf/Makefile (tests): Add tst-debug1.
29312 ($(objpfx)tst-debug1): New.
29313 ($(objpfx)tst-debug1.out): Likewise.
29314 ($(objpfx)tst-debug1mod1.so): Likewise.
29315 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
29316 with p_filesz == 0.
29317 * elf/tst-debug1.c: New file.
29318
2d9193f2
JM
293192017-09-26 Joseph Myers <joseph@codesourcery.com>
29320
29321 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
29322 Define using __ifunc.
29323
4c5a7a02
TMQMF
293242017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29325
29326 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
29327 exp2f() values.
29328
12ef66c4
JM
293292017-09-26 Joseph Myers <joseph@codesourcery.com>
29330
29331 [BZ #22156]
29332 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
29333
44dade71
FW
293342017-09-26 Florian Weimer <fweimer@redhat.com>
29335
29336 * resolv/Makefile (tests-internal): Fix typo in comment.
29337
eaca16f1
FW
293382017-09-26 Florian Weimer <fweimer@redhat.com>
29339
29340 * resolv/nss_dns/dns-host.c: Fix typo in comment.
29341
ccf970c7
AZ
293422017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29343
5f9f31ad
AZ
29344 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
29345 Use an union instead of a max_align_t array for __space,
29346 so that __space is the same size on all platforms.
29347 * malloc/scratch_buffer_grow_preserve.c
29348 (__libc_scratch_buffer_grow_preserve): Likewise.
29349
ccf970c7
AZ
29350 [BZ #22183]
29351 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
29352 version to 2.
29353 * posix/Makefile (routines): Add glob-lstat-compat and
29354 glob64-lstat-compat.
29355 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
29356 * posix/glob-lstat-compat.c: New file.
29357 * posix/glob64-lstat-compat.c: Likewise.
29358 * posix/tst-glob_lstat_compat.c: Likewise.
29359 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
29360 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
29361 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
29362 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
29363 Likewise.
29364 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
29365 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
29366 * posix/glob.c (glob_lstat): New function.
29367 (glob): Rename to __glob and add versioned symbol to 2.27.
29368 (glob_in_dir): Use glob_lstat.
29369 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
29370 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
29371 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
29372 2.27.
29373 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
29374 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
29375 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
29376 gl_lstat on glob call.
29377 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
29378 and glob64 symbols.
29379 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
29380 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
29381 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
29382 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
29383 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
29384 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
29385 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
29386 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
29387 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
29388 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
29389 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
29390 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
29391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
29392 Likewise.
29393 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
29394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
29395 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
29396 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
29397 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
29398 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
29399 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
29400 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
29401 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
29402 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
29403 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
29404 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
29405
b4396163
L
294062017-09-25 H.J. Lu <hongjiu.lu@intel.com>
29407
29408 * configure.ac (AS): Require binutils 2.25 or later.
29409 * configure: Regenerated.
29410
8f834987
PP
294112017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
29412
29413 [BZ #22207]
29414 * stdlib/test-atexit-race-common.c (do_test): Minimize required
29415 VM size.
29416
3de93d19
DD
294172017-09-25 DJ Delorie <dj@redhat.com>
29418
29419 [BZ #22161]
29420 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
29421 resetting timeout.
29422
9947638d
SL
294232017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
29424
29425 * sysdeps/ieee754/dbl-64/sincos32.h
29426 [SINCCOS32_H]: Remove define.
29427 [SINCOS32_H]: Define.
29428
f5f0f526
SN
294292017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29430
29431 * math/Versions (expf): New libm symbol at GLIBC_2.27.
29432 (exp2f): Likewise.
29433 * math/w_exp2f.c: New file.
29434 * math/w_expf.c: New file.
29435 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
29436 * math/w_expf_compat.c (__expf_compat): Likewise.
29437 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
29438 * sysdeps/ia64/fpu/e_expf.S: Likewise.
29439 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
29440 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
29441 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
29442 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
29443 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
29444 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
29445 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
29446 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
29447 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
29448 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
29449 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
29450 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
29451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
29452 Likewise.
29453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
29454 Likewise.
29455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
29456 Likewise.
29457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
29458 Likewise.
29459 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
29460 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
29461 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
29462 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
29463 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
29464 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
29465 Likewise.
29466 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
29467 Likewise.
29468 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
29469 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
29470 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
29471
72aa6233
SN
294722017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29473
29474 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
29475 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
29476 (roundtoint, converttoint): Likewise.
29477 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
29478 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
29479 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
29480 * sysdeps/ieee754/flt-32/math_config.h: New file.
29481 * sysdeps/ieee754/flt-32/math_errf.c: New file.
29482 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
29483 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
29484 * sysdeps/i386/fpu/math_errf.c: New file.
29485 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
29486 * sysdeps/ia64/fpu/math_errf.c: New file.
29487 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
29488 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
29489
5e6f3253
ST
294902017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
29491
29492 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
29493 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
29494 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
29495 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
29496 to make sure that these symbols are defined.
b38a42a0
ST
29497 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
29498 of <limits.h>
29499 (__need_NULL): Do not define.
29500 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
29501 alignment.
29502 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
29503 CMGROUP_MAX, cmsgcred): Do not define.
29504 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
29505 NULL.
29506 * bits/socket.h: Likewise.
fcafcd16
ST
29507 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
29508 __gettimeofday instead of gettimeofday.
29509 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
29510 instead of settimeofday.
5e6f3253 29511
2f49ce7d
JM
295122017-09-22 Joseph Myers <joseph@codesourcery.com>
29513
29514 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
29515 (asinhf): Define using libm_alias_float.
29516 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
29517 (atanf): Define using libm_alias_float.
29518 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
29519 (cbrtf): Define using libm_alias_float.
29520 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
29521 (ceilf): Define using libm_alias_float.
29522 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
29523 <libm-alias-float.h>.
29524 (copysignf): Define using libm_alias_float.
29525 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
29526 (cosf): Define using libm_alias_float.
29527 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
29528 (erff): Define using libm_alias_float.
29529 (erfcf): Likewise.
29530 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
29531 (expm1f): Define using libm_alias_float.
29532 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
29533 (fabsf): Define using libm_alias_float.
29534 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
29535 (floorf): Define using libm_alias_float.
29536 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
29537 (frexpf): Define using libm_alias_float.
29538 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
29539 libm_alias_float.
29540 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
29541 <libm-alias-float.h>.
29542 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
29543 libm_alias_float.
29544 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
29545 <libm-alias-float.h>.
29546 (getpayloadf): Define using libm_alias_float.
29547 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
29548 <libm-alias-float.h>.
29549 (llrintf): Define using libm_alias_float.
29550 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
29551 <libm-alias-float.h>.
29552 (llroundf): Define using libm_alias_float.
29553 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
29554 (logbf): Define using libm_alias_float.
29555 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
29556 (lrintf): Define using libm_alias_float.
29557 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
29558 (lroundf): Define using libm_alias_float.
29559 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
29560 (modff): Define using libm_alias_float.
29561 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
29562 <libm-alias-float.h>.
29563 (nearbyintf): Define using libm_alias_float.
29564 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
29565 <libm-alias-float.h>.
29566 (nextafterf): Define using libm_alias_float.
29567 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
29568 <libm-alias-float.h>.
29569 (nextupf): Define using libm_alias_float.
29570 * sysdeps/ieee754/flt-32/s_remquof.c: Include
29571 <libm-alias-float.h>.
29572 (remquof): Define using libm_alias_float.
29573 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
29574 (rintf): Define using libm_alias_float.
29575 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
29576 <libm-alias-float.h>.
29577 (roundevenf): Define using libm_alias_float.
29578 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
29579 (roundf): Define using libm_alias_float.
29580 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
29581 using libm_alias_float.
29582 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
29583 <libm-alias-float.h>.
29584 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
29585 Define using libm_alias_float.
29586 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
29587 <libm-alias-float.h>.
29588 (sincosf): Define using libm_alias_float.
29589 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
29590 (sinf): Define using libm_alias_float.
29591 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
29592 (tanf): Define using libm_alias_float.
29593 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
29594 (tanhf): Define using libm_alias_float.
29595 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
29596 <libm-alias-float.h>.
29597 (totalorderf): Define using libm_alias_float.
29598 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
29599 <libm-alias-float.h>.
29600 (totalordermagf): Define using libm_alias_float.
29601 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
29602 (truncf): Define using libm_alias_float.
29603 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
29604 libm_alias_float.
29605 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
29606 libm_alias_float.
29607
c5c4a626
GG
296082017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29609
29610 [BZ #22146]
29611 math/math.h: Let fpclassify use the builtin in C++ mode, even
29612 when optimazing for size.
29613
23947846
JM
296142017-09-22 Joseph Myers <joseph@codesourcery.com>
29615
29616 * csu/Makefile (generated): Do not add version-info.h.
29617 (before-compile): Likewise.
29618 (all-Banner-files): Remove variable.
29619 ($(objpfx)version-info.h): Remove rule.
29620 * csu/version.c (banner): Do not include "version-info.h".
29621 * libidn/Banner: Remove.
29622 * manual/contrib.texi (Simon Josefsson): New entry.
29623
9ac3c682
GG
296242017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29625
29626 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
29627 Remove conditionals on LDBL_MANT_DIG.
29628 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
29629 (__ieee754_lgammal_r): Likewise.
29630
d2f0ed09
GG
296312017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29632
29633 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
29634 _Float128 and L().
29635 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
29636 _Float128 and L(). Replace _Float128 with long double and L(x)
29637 with xL, throughout the file.
29638 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
29639 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
29640 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
29641 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
29642
c5c2e667
GG
296432017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29644
29645 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
29646 sysdeps/ieee754/ldbl-128ibm.
29647 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
29648 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
29649 of including it. Keep _Float128 and L() intact. These will be
29650 reviewed by a separate patch.
29651 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
29652 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
29653 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
29654 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
29655
e010deb2
GG
296562017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29657
29658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
29659 (__finitef128): Define to __redirect___finitef128.
29660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
29661 (__isinff128): Define to __redirect___isinff128.
29662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
29663 (__isnanf128): Define to __redirect___isnanf128.
29664
ffa44804
GG
296652017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29666
29667 * sysdeps/powerpc/powerpc64le/Makefile
29668 (CFLAGS-tst-strtod-nan-locale.c): New variable.
29669 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
29670
e5e4d7cc
PP
296712017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
29672 Carlos O'Donell <carlos@redhat.com>
29673
29674 [BZ #22180]
29675 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
29676 * stdlib/test-dlclose-exit-race.c: New file.
29677 * stdlib/test-dlclose-exit-race-helper.c: New file.
29678 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
29679
c10c5267
JM
296802017-09-21 Joseph Myers <joseph@codesourcery.com>
29681
29682 * crypt/Banner: Remove file.
29683 * nptl/Banner: Likewise.
29684 * resolv/Banner: Likewise.
29685 * soft-fp/Banner: Likewise.
29686 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
29687 ($(objpfx)version.d): Remove dependency on banner.h.
29688 ($(objpfx)version.os): Likewise.
29689 * nptl/version.c (banner): Do not include banner.h.
29690 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
29691 Jelinek and BIND code.
29692
1cc9e59a
PP
296932017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
29694 Carlos O'Donell <carlos@redhat.com>
29695
29696 * support/xdlfcn.h: New file.
29697 * support/xdlfcn.c: New file.
29698 * support/Makefile (libsupport-routines): Add xdlfcn.
29699 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
29700
ae8372d7
JM
297012017-09-20 Joseph Myers <joseph@codesourcery.com>
29702
29703 [BZ #20142]
29704 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29705 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
29706 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
29707 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
29708 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
29709 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
29710 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
29711 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
29712
26e70aec 297132017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
b39d961c
TS
29714 Ricky Zhou <rickyz@google.com>
29715 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
26e70aec
PP
29716
29717 [BZ #14333]
29718 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
29719 Remove atomics.
29720 (__new_exitfn): Fail registration when we finished at_exit processing.
29721 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
29722 * stdlib/on_exit.c (__on_exit): Likewise.
29723 * stdlib/exit.c (__exit_funcs_done): New variable.
29724 (__run_exit_handlers): Use __exit_funcs_lock.
29725 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
29726 declarations.
29727 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
29728 (test-cxa_atexit-race, test-on_exit-race): New tests.
29729 * stdlib/test-atexit-race-common.c: New file.
29730 * stdlib/test-atexit-race.c: New file.
29731 * stdlib/test-at_quick_exit-race.c: New file.
29732 * stdlib/test-cxa_atexit-race.c: New file.
29733 * stdlib/test-on_exit-race.c: New file.
29734
0525ce48
SN
297352017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
29736
29737 * benchtests/Makefile: Add exp2f and log2f benchmarks.
29738 * benchtests/exp2f-inputs: Copy of expf-inputs.
29739 * benchtests/log2f-inputs: Copy of logf-inputs.
29740
d82468d1
JM
297412017-09-19 Joseph Myers <joseph@codesourcery.com>
29742
29743 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
29744 Explicitly take address of first element of array arguments in
29745 call to INLINE_SYSCALL.
29746
43ffc53a
AS
297472017-09-19 Andreas Schwab <schwab@suse.de>
29748
29749 [BZ #22134]
29750 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
29751 execveat first.
29752 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
29753 unimplemented.
29754 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
29755 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
29756 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29757 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
29758 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
29759 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
29760 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29761 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
29762 * posix/Makefile (tests): Add tst-fexecve.
29763 * posix/tst-fexecve.c: New file.
29764
a5dcc87e
WD
297652017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29766
29767 * benchtests/Makefile: Add logf benchmark.
29768 * benchtests/logf-inputs: Add reduced trace from wrf_r.
29769
7024d544
WD
297702017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29771
29772 * benchtests/Makefile: Add expf benchmark.
29773 * benchtests/expf-inputs: Add reduced trace from wrf_r.
29774
ca3a382e
WD
297752017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29776
29777 * csu/Makefile: Add -funwind-tables to libc-start.c.
29778 * debug/Makefile: Add -funwind-tables to backtrace.c.
29779 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
29780 * sysdeps/arm/Makefile: Likewise.
29781 * sysdeps/i386/Makefile: Likewise.
29782 * sysdeps/m68k/Makefile: Likewise.
29783 * sysdeps/mips/Makefile: Likewise.
29784 * sysdeps/nios2/Makefile: Likewise.
29785 * sysdeps/sh/Makefile: Likewise.
29786 * sysdeps/sparc/Makefile: Likewise.
29787
eb375def
JM
297882017-09-19 Joseph Myers <joseph@codesourcery.com>
29789
29790 * benchtests/Makefile (bench-math): Add trunc and truncf.
29791 (CFLAGS-bench-trunc.c): New variable.
29792 (CFLAGS-bench-truncf.c): Likewise.
29793 * benchtests/trunc-inputs: New file.
29794 * benchtests/truncf-inputs: Likewise.
29795
bd17ba29
RS
297962017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29797
29798 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
29799
92892fdb
JM
298002017-09-18 Joseph Myers <joseph@codesourcery.com>
29801
6d9b0b5a
JM
29802 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
29803 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
29804 redefine.
29805 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
29806 (exp10l): Define as weak alias.
29807 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
29808 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
29809 and redefine.
29810 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
29811 (remainderl): Define as weak alias.
29812
92892fdb
JM
29813 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
29814 (fmal): Define using libm_alias_ldouble.
29815 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
29816 (acoshl): Define using libm_alias_ldouble.
29817 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
29818 (acosl): Define using libm_alias_ldouble.
29819 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
29820 (asinl): Define using libm_alias_ldouble.
29821 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
29822 (atan2l): Define using libm_alias_ldouble.
29823 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
29824 (atanhl): Define using libm_alias_ldouble.
29825 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
29826 (coshl): Define using libm_alias_ldouble.
29827 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
29828 (exp10l): Define using libm_alias_ldouble.
29829 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
29830 (exp2l): Define using libm_alias_ldouble.
29831 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
29832 (expl): Define using libm_alias_ldouble.
29833 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
29834 (fmodl): Define using libm_alias_ldouble.
29835 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
29836 (hypotl): Define using libm_alias_ldouble.
29837 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
29838 (j0l): Define using libm_alias_ldouble.
29839 (y0l): Likewise.
29840 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
29841 (j1l): Define using libm_alias_ldouble.
29842 (y1l): Likewise.
29843 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
29844 (jnl): Define using libm_alias_ldouble.
29845 (ynl): Likewise.
29846 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
29847 (log10l): Define using libm_alias_ldouble.
29848 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
29849 (log2l): Define using libm_alias_ldouble.
29850 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
29851 (logl): Define using libm_alias_ldouble.
29852 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
29853 (powl): Define using libm_alias_ldouble.
29854 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
29855 (remainderl): Define using libm_alias_ldouble.
29856 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
29857 (sinhl): Define using libm_alias_ldouble.
29858 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
29859 (sqrtl): Define using libm_alias_ldouble.
29860 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
29861 (tgammal): Define using libm_alias_ldouble.
29862 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
29863 (exp10l): Do not use long_double_symbol here.
29864 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
29865 [LIBM_SVID_COMPAT] (remainderl): Likewise.
29866 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
29867 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
29868 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
29869 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
29870 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
29871 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
29872 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
29873 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
29874 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
29875 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
29876 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
29877 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
29878 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
29879 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
29880 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
29881 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
29882 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
29883 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
29884 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
29885 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
29886
6cd380dd
WB
298872017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
29888
29889 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
29890 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
29891
1c6d89e9
ST
298922017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
29893
29894 * io/read.c (read): Add libc_hidden_weak.
29895 * sysdeps/mach/hurd/read.c (read): Likewise.
29896 * io/write.c (write): Likewise.
29897 * sysdeps/mach/hurd/write.c (write): Likewise.
29898 * io/pread64.c (__pread64): Likewise.
29899 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
29900 * posix/pread64.c (__pread64): Add libc_hidden_def.
29901
06b1de23
SP
299022017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
29903
140647ea
SP
29904 * benchtests/scripts/compare_strings.py: New option -g.
29905 (draw_graph): Print a message that a graph is being generated.
29906 (process_results): Generate graph only if -g is passed.
29907 (main): Process option -g.
29908
5a6547b7
SP
29909 * benchtests/scripts/compare_strings.py (process_results):
29910 Better spacing for output.
29911
06b1de23
SP
29912 * benchtests/scripts/compare_strings.py: Use argparse.
29913 * benchtests/README: Document existence of compare_strings.py.
29914
c67a2328
JM
299152017-09-15 Joseph Myers <joseph@codesourcery.com>
29916
9ac44708
JM
29917 * math/s_fma.c: Include <libm-alias-double.h>.
29918 (fma): Define using libm_alias_double.
29919 * math/s_nextafter.c: Include <libm-alias-double.h>.
29920 (nextafter): Define using libm_alias_double.
29921 * math/w_acos_compat.c: Include <libm-alias-double.h>.
29922 (acos): Define using libm_alias_double.
29923 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
29924 (aocsh): Define using libm_alias_double.
29925 * math/w_asin_compat.c: Include <libm-alias-double.h>.
29926 (asin): Define using libm_alias_double.
29927 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
29928 (atan2): Define using libm_alias_double.
29929 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
29930 (atanh): Define using libm_alias_double.
29931 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
29932 (cosh): Define using libm_alias_double.
29933 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
29934 (exp10): Define using libm_alias_double.
29935 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
29936 (exp2): Define using libm_alias_double.
29937 * math/w_exp_compat.c: Include <libm-alias-double.h>.
29938 (exp): Define using libm_alias_double.
29939 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
29940 (fmod): Define using libm_alias_double.
29941 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
29942 (hypot): Define using libm_alias_double.
29943 * math/w_j0_compat.c: Include <libm-alias-double.h>.
29944 (j0): Define using libm_alias_double.
29945 (y0): Likewise.
29946 * math/w_j1_compat.c: Include <libm-alias-double.h>.
29947 (j1): Define using libm_alias_double.
29948 (y1): Likewise.
29949 * math/w_jn_compat.c: Include <libm-alias-double.h>.
29950 (jn): Define using libm_alias_double.
29951 (yn): Likewise.
29952 * math/w_log10_compat.c: Include <libm-alias-double.h>.
29953 (log10): Define using libm_alias_double.
29954 * math/w_log2_compat.c: Include <libm-alias-double.h>.
29955 (log2): Define using libm_alias_double.
29956 * math/w_log_compat.c: Include <libm-alias-double.h>.
29957 (log): Define using libm_alias_double.
29958 * math/w_pow_compat.c: Include <libm-alias-double.h>.
29959 (pow): Define using libm_alias_double.
29960 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
29961 (remainder): Define using libm_alias_double.
29962 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
29963 (sinh): Define using libm_alias_double.
29964 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
29965 (sqrt): Define using libm_alias_double.
29966 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
29967 (tgamma): Define using libm_alias_double.
29968 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
29969 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
29970 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
29971 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
29972 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
29973 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
29974 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
29975 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
29976 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
29977 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
29978 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
29979 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
29980 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
29981 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
29982 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
29983 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
29984 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
29985 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
29986 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
29987 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
29988 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
29989 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
29990 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
29991 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
29992 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
29993
c67a2328
JM
29994 * math/e_acoshl.c: Remove.
29995 * math/e_acosl.c: Likewise.
29996 * math/e_asinl.c: Likewise.
29997 * math/e_atan2l.c: Likewise.
29998 * math/e_atanhl.c: Likewise.
29999 * math/e_coshl.c: Likewise.
30000 * math/e_expl.c: Likewise.
30001 * math/e_fmodl.c: Likewise.
30002 * math/e_gammal_r.c: Likewise.
30003 * math/e_hypotl.c: Likewise.
30004 * math/e_j0l.c: Likewise.
30005 * math/e_j1l.c: Likewise.
30006 * math/e_jnl.c: Likewise.
30007 * math/e_lgammal_r.c: Likewise.
30008 * math/e_log10l.c: Likewise.
30009 * math/e_log2l.c: Likewise.
30010 * math/e_logl.c: Likewise.
30011 * math/e_powl.c: Likewise.
30012 * math/e_rem_pio2l.c: Likewise.
30013 * math/e_sinhl.c: Likewise.
30014 * math/e_sqrtf128.c: Likewise.
30015 * math/e_sqrtl.c: Likewise.
30016 * math/k_cosl.c: Likewise.
30017 * math/k_sinl.c: Likewise.
30018 * math/k_tanl.c: Likewise.
30019 * math/s_asinhl.c: Likewise.
30020 * math/s_atanl.c: Likewise.
30021 * math/s_cbrtl.c: Likewise.
30022 * math/s_erfl.c: Likewise.
30023 * math/s_expm1l.c: Likewise.
30024 * math/s_log1pl.c: Likewise.
30025 * math/s_tanhl.c: Likewise.
30026
61c45f25
TMQMF
300272017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30028
30029 [BZ #21745]
30030 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
30031 [$(subdir) = math] (sysdep_calls): New variable. Has the
30032 previous contents of sysdep_routines, but re-sorted..
30033 [$(subdir) = math] (sysdep_routines): Re-use the contents from
30034 sysdep_calls.
30035 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
30036 defined in sysdep_calls and replace by the respective m_* names.
30037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
30038 (compat_symbol): Undefine to avoid duplicated compat symbols in
30039 libc.
30040
5bcdb315
JM
300412017-09-15 Joseph Myers <joseph@codesourcery.com>
30042
30043 * math/s_fmaf.c: Include <libm-alias-float.h>.
30044 (fmaf): Define using libm_alias_float.
30045 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
30046 (acosf): Define using libm_alias_float.
30047 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
30048 (acoshf): Define using libm_alias_float.
30049 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
30050 (asinf): Define using libm_alias_float.
30051 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
30052 (atan2f): Define using libm_alias_float.
30053 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
30054 (atanhf): Define using libm_alias_float.
30055 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
30056 (coshf): Define using libm_alias_float.
30057 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
30058 (exp10f): Define using libm_alias_float.
30059 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
30060 (fmodf): Define using libm_alias_float.
30061 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
30062 (hypotf): Define using libm_alias_float.
30063 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
30064 (j0f): Define using libm_alias_float.
30065 (y0f): Likewise.
30066 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
30067 (j1f): Define using libm_alias_float.
30068 (y1f): Likewise.
30069 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
30070 (jnf): Define using libm_alias_float.
30071 (ynf): Likewise.
30072 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
30073 (log10f): Define using libm_alias_float.
30074 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
30075 (log2f): Define using libm_alias_float.
30076 * math/w_logf_compat.c: Include <libm-alias-float.h>.
30077 (logf): Define using libm_alias_float.
30078 * math/w_powf_compat.c: Include <libm-alias-float.h>.
30079 (powf): Define using libm_alias_float.
30080 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
30081 (remainderf): Define using libm_alias_float.
30082 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
30083 (sinhf): Define using libm_alias_float.
30084 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
30085 (sqrtf): Define using libm_alias_float.
30086 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
30087 (tgammaf): Define using libm_alias_float.
30088
01f28812
JM
300892017-09-14 Joseph Myers <joseph@codesourcery.com>
30090
30091 * include/math.h (roundeven): Change hidden_proto call to
30092 __roundeven.
30093 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
30094 alias.
30095 [NO_LONG_DOUBLE] (__j0l): New strong alias.
30096 (y0): Rename to __y0 and define as weak alias.
30097 [NO_LONG_DOUBLE] (__y0l): New strong alias.
30098 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
30099 alias.
30100 (y0f): Rename to __y0f and define as weak alias.
30101 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
30102 alias.
30103 [NO_LONG_DOUBLE] (__j1l): New strong alias.
30104 (y1): Rename to __y1 and define as weak alias.
30105 [NO_LONG_DOUBLE] (__y1l): New strong alias.
30106 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
30107 alias.
30108 (y1f): Rename to __y1f and define as weak alias.
30109 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
30110 alias.
30111 [NO_LONG_DOUBLE] (__jnl): New strong alias.
30112 (yn): Rename to __yn and define as weak alias.
30113 [NO_LONG_DOUBLE] (__ynl): New strong alias.
30114 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
30115 alias.
30116 (ynf): Rename to __ynf and define as weak alias.
30117 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
30118 (fromfp): Define as weak alias.
30119 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
30120 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
30121 (fromfpx): Define as weak alias.
30122 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
30123 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
30124 __getpayload and define as weak alias.
30125 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
30126 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
30127 __roundeven and define as weak alias.
30128 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
30129 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
30130 __setpayload.
30131 (setpayload): Define as weak alias.
30132 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
30133 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
30134 __setpayloadsig.
30135 (setpayloadsig): Define as weak alias.
30136 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
30137 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
30138 __totalorder and define as weak alias.
30139 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
30140 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
30141 to __totalordermag and define as weak alias.
30142 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
30143 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
30144 (ufromfp): Define as weak alias.
30145 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
30146 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
30147 __ufromfpx.
30148 (ufromfpx): Define as weak alias.
30149 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
30150 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
30151 Rename to __getpayload and define as weak alias.
30152 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
30153 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
30154 Rename to __roundeven and define as weak alias.
30155 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
30156 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
30157 Rename to __totalorder and define as weak alias.
30158 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
30159 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
30160 (totalordermag): Rename to __totalordermag and define as weak
30161 alias.
30162 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
30163 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
30164 macro.
30165 (__roundevenl): Likewise.
30166 (__totalorderl): Likewise.
30167 (__totalordermagl): Likewise
30168 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
30169 __fromfpf128.
30170 (fromfpf128): Define as weak alias.
30171 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
30172 __fromfpxf128.
30173 (fromfpxf128): Define as weak alias.
30174 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
30175 __setpayloadf128.
30176 (setpayloadf128): Define as weak alias.
30177 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
30178 __setpayloadsigf128.
30179 (setpayloadsigf128): Define as weak alias.
30180 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
30181 __ufromfpf128.
30182 (ufromfpf128): Define as weak alias.
30183 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
30184 __ufromfpxf128.
30185 (ufromfpxf128): Define as weak alias.
30186 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
30187 (fromfpf): Define as weak alias.
30188 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
30189 __fromfpxf.
30190 (fromfpxf): Define as weak alias.
30191 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
30192 __getpayloadf and define as weak alias.
30193 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
30194 __roundevenf and define as weak alias.
30195 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
30196 __setpayloadf.
30197 (setpayloadf): Define as weak alias.
30198 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
30199 __setpayloadsigf.
30200 (setpayloadsigf): Define as weak alias.
30201 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
30202 __totalorderf and define as weak alias.
30203 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
30204 Rename to __totalordermagf and define as weak alias.
30205 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
30206 __ufromfpf.
30207 (ufromfpf): Define as weak alias.
30208 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
30209 __ufromfpxf.
30210 (ufromfpxf): Define as weak alias.
30211 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
30212 __fromfpl.
30213 (fromfpl): Define as weak alias.
30214 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
30215 __fromfpxl.
30216 (fromfpxl): Define as weak alias.
30217 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
30218 to __getpayloadl and define as weak alias.
30219 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
30220 __roundevenl and define as weak alias.
30221 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
30222 __setpayloadl.
30223 (setpayloadl): Define as weak alias.
30224 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
30225 __setpayloadsigl.
30226 (setpayloadsigl): Define as weak alias.
30227 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
30228 to __totalorderl and define as weak alias.
30229 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
30230 Rename to __totalordermagl and define as weak alias.
30231 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
30232 __ufromfpl.
30233 (ufromfpl): Define as weak alias.
30234 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
30235 __ufromfpxl.
30236 (ufromfpxl): Define as weak alias.
30237 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
30238 __fromfpl.
30239 (fromfpl): Define as weak alias.
30240 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
30241 __fromfpxl.
30242 (fromfpxl): Define as weak alias.
30243 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
30244 Rename to __getpayloadl and define as weak alias.
30245 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
30246 to __roundevenl and define as weak alias. Call __roundeven
30247 instead of roundeven.
30248 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
30249 __setpayloadl.
30250 (setpayloadl): Define as weak alias.
30251 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
30252 __setpayloadsigl.
30253 (setpayloadsigl): Define as weak alias.
30254 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
30255 Rename to __totalorderl and define as weak alias.
30256 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
30257 Rename to __totalordermagl and define as weak alias.
30258 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
30259 __ufromfpl.
30260 (ufromfpl): Define as weak alias.
30261 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
30262 __ufromfpxl.
30263 (ufromfpxl): Define as weak alias.
30264 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
30265 __fromfpl.
30266 (fromfpl): Define as weak alias.
30267 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
30268 __fromfpxl.
30269 (fromfpxl): Define as weak alias.
30270 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
30271 __getpayloadl and define as weak alias.
30272 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
30273 __roundevenl and define as weak alias.
30274 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
30275 __setpayloadl.
30276 (setpayloadl): Define as weak alias.
30277 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
30278 __setpayloadsigl.
30279 (setpayloadsigl): Define as weak alias.
30280 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
30281 __totalorderl and define as weak alias.
30282 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
30283 Rename to __totalordermagl and define as weak alias.
30284 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
30285 __ufromfpl.
30286 (ufromfpl): Define as weak alias.
30287 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
30288 __ufromfpxl.
30289 (ufromfpxl): Define as weak alias.
30290
29c933fb
SP
302912017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
30292
503c92c3
SP
30293 * benchtests/bench-string.h (realloc_bufs): New function.
30294 (test_init): Call it.
30295 * benchtests/bench-memset-large.c (do_test): Likewise.
30296 * benchtests/bench-memset.c (do_test): Likewise.
30297
29c933fb
SP
30298 * benchtests/bench-memset-large.c: Print output in JSON
30299 format.
30300 * benchtests/bench-memset.c: Likewise.
30301
799c8d69
MF
303022017-09-14 Mike FABIAN <mfabian@redhat.com>
30303
30304 [BZ #21084]
30305 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
30306 * iconvdata/Makefile: Add IBM858.
30307 * iconvdata/gconv-modules: Likewise.
30308 * iconvdata/tst-tables.sh: Likewise.
30309 * iconvdata/ibm858.c: New file.
30310 * localedata/charmaps/IBM858: Likewise.
30311
c207f7ce 303122017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
fcc82c06
AK
30313
30314 [BZ #22023]
30315 * locales/niu_NZ (LC_TIME): copy "niu_NU".
30316 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
30317
f28a0926
AK
303182017-09-14 Mike FABIAN <mfabian@redhat.com>
30319
30320 [BZ #22112]
30321 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
30322 and add tel_int_fmt.
30323
02093e62
JM
303242017-09-14 Joseph Myers <joseph@codesourcery.com>
30325
30326 * sysdeps/generic/libm-alias-float128.h: New file.
30327 * sysdeps/generic/math-type-macros-float128.h: Include
30328 <libm-alias-float128.h>.
30329 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
30330
1aae75ef
JM
303312017-09-13 Joseph Myers <joseph@codesourcery.com>
30332
30333 * sysdeps/generic/libm-alias-ldouble.h: New file.
30334 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
30335 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
30336 * sysdeps/generic/math-type-macros-ldouble.h: Include
30337 <libm-alias-ldouble.h>.
30338 [!declare_mgen_alias] (declare_mgen_alias): Define to use
30339 libm_alias_ldouble.
30340
bcea7ad6
SN
303412017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
30342
30343 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
30344 * math/w_exp_compat.c: ... here.
30345 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
30346 * math/w_expf_compat.c: ... here.
30347 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
30348 * math/w_expl_compat.c: ... here.
30349 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
30350 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
30351 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
30352 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
30353
0fc56478
JM
303542017-09-13 Joseph Myers <joseph@codesourcery.com>
30355
30356 * math/w_scalbln_template.c (strong_alias): Do not undefine and
30357 redefine.
30358 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
30359 macro.
30360 (ldexpl): Only define as compat symbol for libc, not libm.
30361 (scalbnl): Define as compat symbol for libc here.
30362 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
30363 define for [IS_IN (libc)].
30364 (__ldexpl_2): Remove alias.
30365 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
30366 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
30367 name in long_double_symbol call.
30368 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
30369 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
30370 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
30371 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
30372 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
30373 Remove macro.
30374 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
30375 Define as compat symbol.
30376
3ca622e4
AZ
303772017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30378
30379 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
30380 * sysdeps/unix/sysv/linux/alpha/Makefile
30381 [$(subdir) = csu] (sysdep_routines): Remove rule.
30382
620ff9ee
JM
303832017-09-13 Joseph Myers <joseph@codesourcery.com>
30384
30385 * sysdeps/generic/libm-alias-double.h: New file.
30386 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
30387 * sysdeps/generic/math-type-macros-double.h: Include
30388 <libm-alias-double.h>.
30389 [declare_mgen_alias] (declare_mgen_alias): Define to use
30390 libm_alias_double.
30391 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
30392 (M_LIBM_NEED_COMPAT): Remove macro.
30393 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
30394 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
30395 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
30396 code.
30397 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30398 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30399 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30400 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30401 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30402 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30403 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30404 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30405 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30406 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30407 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30408 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30409 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30410 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30411 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30412 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30413 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30414 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30415 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30416 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30417 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30418 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30419 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30420 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30421 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30422 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30423 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30424 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
30425 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
30426 macro.
30427 (declare_mgen_alias): New macro.
30428 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
30429 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
30430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
30431 (M_LIBM_NEED_COMPAT): Remove macro.
30432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
30433 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
30434 <first-versions.h>.
30435 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
30436 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
30437
a891caff
JM
304382017-09-12 Joseph Myers <joseph@codesourcery.com>
30439
30440 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
30441 (declare_mgen_alias_2): Remove.
30442 * sysdeps/generic/math-type-macros-double.h
30443 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
30444 Likewise.
30445 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
30446 alias.
30447 (ldexp): Define with declare_mgen_alias.
30448 (scalbn): Likewise.
30449
a1a78204
SE
304502017-09-12 Steve Ellcey <sellcey@cavium.com>
30451
30452 * grp/initgroups.c: Include config.h.
30453 (DEFAULT_CONFIG): New macro.
30454 (internal_getgrouplist): Use DEFAULT_CONFIG.
30455 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30456 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
30457 (DEFAULT_DEFCONFIG): New macro.
30458 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
30459 * nss/grp-lookup.c: Include config.h
30460 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
30461 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
30462 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
30463 * manual/nss.texi: Update default values section.
30464
ef8adeb0
L
304652017-09-12 H.J. Lu <hongjiu.lu@intel.com>
30466
30467 [BZ #21967]
30468 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
30469 New.
30470 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
30471 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30472 Handle MathVec_Prefer_No_AVX512.
30473 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
30474 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
30475 is set.
30476
a166531f
ST
304772017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
30478
30479 * posix/sched_primax.c (__sched_get_priority_max): Add
30480 libc_hidden_def.
30481 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
30482 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
30483 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
30484 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
30485 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
30486 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
30487 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
30488 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
30489 Add aliases.
30490
4b7d1efb
JM
304912017-09-11 Joseph Myers <joseph@codesourcery.com>
30492
30493 * sysdeps/generic/libm-alias-float.h: New file.
30494 * sysdeps/generic/math-type-macros-float.h: Include
30495 <libm-alias-float.h>.
30496 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
30497
45ff3463
L
304982017-09-11 H.J. Lu <hongjiu.lu@intel.com>
30499
30500 [BZ #22093]
30501 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
30502 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
30503 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
30504 (HWCAP_IMPORTANT): Likewise.
30505 (HWCAP_X86_64): New enum.
30506 (HWCAP_X86_AVX512_1): Updated.
30507 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
30508 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
30509 (modules-names): Add x86_64/tst-x86_64mod-1.
30510 (LDFLAGS-tst-x86_64mod-1.so): New.
30511 ($(objpfx)tst-x86_64-1): Likewise.
30512 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
30513 (tst-x86_64-1-clean): Likewise.
30514 * sysdeps/x86_64/tst-x86_64-1.c: New file.
30515 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
30516
891abfd3
SP
305172017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
30518
30519 * po/sv.po: Update translations.
30520 * po/fr.po: Likewise.
30521
00c3da43
ST
305222017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30523
30524 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
30525 seconds.
3bdfd9fb
ST
30526 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
30527 seconds.
65b22ebc 30528 * elf/rtld-Rules: Fix $(error) use.
00c3da43 30529
96480903
MF
305302017-09-09 Mike FABIAN <mfabian@redhat.com>
30531
30532 [BZ #14925]
30533 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
30534 * locale/iso-639.def: Change “Bengali” to “Bangla”.
30535 * localedata/locales/bn_BD: “Bengali” was still used in some
30536 comments. Change it to “Bangla”.
30537
4c03a696
MT
305382017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
30539
30540 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
30541
9c9ec581
SE
305422017-09-08 Steve Ellcey <sellcey@cavium.com>
30543
30544 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
30545 thunderx2t99p1 to list of cpu names.
30546 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
30547 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
30548
f00bce74
SE
305492017-09-08 Steve Ellcey <sellcey@cavium.com>
30550
30551 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
30552 Use strcmp instead of tunable_is_name.
30553
27342d17
JM
305542017-09-08 Joseph Myers <joseph@codesourcery.com>
30555
af1b7c8c
JM
30556 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30557 (F_GET_RW_HINT): New macro.
30558 [__USE_GNU] (F_SET_RW_HINT): Likewise.
30559 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
30560 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
30561 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
30562 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
30563 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
30564 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
30565 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
30566 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
30567
27342d17
JM
30568 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30569 (F_ADD_SEALS): New macro.
30570 [__USE_GNU] (F_GET_SEALS): Likewise.
30571 [__USE_GNU] (F_SEAL_SEAL): Likewise.
30572 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
30573 [__USE_GNU] (F_SEAL_GROW): Likewise.
30574 [__USE_GNU] (F_SEAL_WRITE): Likewise.
30575
c66c9082
AZ
305762017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30577
07b4f49d
AZ
30578 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
30579 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
30580 * posix/glob_internal.h (__glob_pattern_type):
30581 * posix/glob.c (glob):
30582 * posix/glob_pattern_p.c (__glob_pattern_p):
30583 Use them.
30584
116f1c64
AZ
30585 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
30586 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
30587 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
30588 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
30589 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
30590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
30591 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
30592 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
30593 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
30594 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30595 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
30596 * sysdeps/wordsize-64/glob.c: Likewise.
30597 * sysdeps/wordsize-64/glob64.c: Likewise.
30598 * sysdeps/wordsize-64/globfree.c: Likewise.
30599 * sysdeps/wordsize-64/globfree64.c: Likewise.
30600 * sysdeps/unix/sysv/linux/glob.c: New file.
30601 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
30602 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
30603 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
30604 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
30605 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
30606 adds !GLOB_NO_OLD_VERSION as an extra condition.
30607 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
30608 using relative path instead of absolute one.
30609 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
30610 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30611 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30612 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
30613 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
30614 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
30615
ffca8901
AZ
30616 [BZ #1062]
30617 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
30618 (glob): Use the same scratch buffer for both getlogin_r and
30619 getpwnam_r. Don’t require preallocation of the login name. This
30620 simplifies storage allocation, and corrects the handling of
30621 long login names.
30622
5a79f975
AZ
30623 [BZ #1062]
30624 * posix/glob.c (glob): Port recent patches to platforms
30625 lacking getpwnam_r.
30626 (glob): Fix longstanding misuse of errno after getpwnam_r, which
30627 returns an error number rather than setting errno.
30628
e00f2425
AZ
30629 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
30630 instead of GCC extension.
30631 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
30632 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
30633 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
30634
5554304f
AZ
30635 [BZ #866]
30636 [BZ #1062]
30637 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
30638 * posix/bug-glob1.c: Remove file.
30639 * posix/tst-glob_symlinks.c: New file.
30640 * posix/glob.c (__lstat64): New macro.
30641 (is_dir): New function.
30642 (glob, glob_in_dir): Match symlinks even if they are dangling.
30643 (link_stat, link_exists_p): Remove. All uses removed.
30644
686f2ea1
AZ
30645 [BZ #1062]
30646 [BZ #19971]
30647 * posix/glob.c (struct readdir_result): Remove skip_entry member.
30648 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
30649 All uses removed.
30650
c66c9082 30651 [BZ #1062]
914c9994 30652 CVE-2017-15671
c66c9082
AZ
30653 * posix/Makefile (routines): Add globfree, globfree64, and
30654 glob_pattern_p.
30655 * posix/flexmember.h: New file.
30656 * posix/glob_internal.h: Likewise.
30657 * posix/glob_pattern_p.c: Likewise.
30658 * posix/globfree.c: Likewise.
30659 * posix/globfree64.c: Likewise.
30660 * sysdeps/gnu/globfree64.c: Likewise.
30661 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
30662 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
30663 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
30664 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
30665 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
30666 * sysdeps/wordsize-64/globfree.c: Likewise.
30667 * sysdeps/wordsize-64/globfree64.c: Likewise.
30668 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
30669 [NDEBUG): Remove comments.
30670 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
30671 (dirent_type): New type. Use uint_fast8_t not
30672 uint8_t, as C99 does not require uint8_t.
30673 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
30674 (struct readdir_result): Use dirent_type. Do not define skip_entry
30675 unless it is needed; this saves a byte on platforms lacking d_ino.
30676 (readdir_result_type, readdir_result_skip_entry):
30677 New functions, replacing ...
30678 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
6b5c8607 30679 these functions, which were removed. This makes the callers
c66c9082
AZ
30680 easier to read. All callers changed.
30681 (D_INO_TO_RESULT): Now empty if there is no d_ino.
30682 (size_add_wrapv, glob_use_alloca): New static functions.
30683 (glob, glob_in_dir): Check for size_t overflow in several places,
30684 and fix some size_t checks that were not quite right.
30685 Remove old code using SHELL since Bash no longer
30686 uses this.
30687 (glob, prefix_array): Separate MS code better.
30688 (glob_in_dir): Remove old Amiga and VMS code.
30689 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
30690 separate files.
30691 (glob_in_dir): Do not rely on undefined behavior in accessing
30692 struct members beyond their bounds. Use a flexible array member
30693 instead
30694 (link_stat): Rename from link_exists2_p and return -1/0 instead of
30695 0/1. Caller changed.
30696 (glob): Fix memory leaks.
30697 * posix/glob64 (globfree64): Move to separate file.
30698 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
30699 (globfree64): Remove hidden alias.
30700 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
30701 oldglob.
30702 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
30703 separate file.
30704 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
30705 define.
30706 Move compat code to separate file.
30707 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
30708 separate file.
30709
78bfa877
L
307102017-09-07 H.J. Lu <hongjiu.lu@intel.com>
30711
30712 * resolv/tst-resolv-qtypes.c (domain): Changed to
30713 "const char domain[] =".
30714
05f0011f
JM
307152017-09-07 Joseph Myers <joseph@codesourcery.com>
30716
85bec0f2
JM
30717 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
30718 version to 3.1.6.
30719
5c23ee6e
JM
30720 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
30721 (TCP_MD5SIG_EXT): Likewise.
30722 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
30723 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
30724 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
30725
05f0011f
JM
30726 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
30727
7c9c5be9
MF
307282017-09-07 Mike FABIAN <mfabian@redhat.com>
30729
30730 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
30731
c207f7ce 307322017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
ae214523
AK
30733
30734 [BZ #22100]
30735 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
30736
507fe027
ST
307372017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
30738
30739 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
30740 before assuming that the file is empty. Avoid testing buffer content
30741 when nread == 0.
30742
65687ac7
AZ
307432017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30744
7bbbb4b9 30745 [BZ #18858]
65687ac7
AZ
30746 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
30747 Remove define.
30748 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
30749 Likewise.
30750 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
30751 Likewise.
30752 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
30753 Likewise.
30754 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
30755 Likewise.
30756 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
30757 Likewise.
30758 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
30759 Likewise.
30760
ab5ac271
FW
307612017-09-06 Florian Weimer <fweimer@redhat.com>
30762
30763 * malloc/dynarray_emplace_enlarge.c
30764 (__libc_dynarray_emplace_enlarge): Add missing else.
30765
a8304730
FW
307662017-09-06 Florian Weimer <fweimer@redhat.com>
30767
30768 [BZ #22096]
30769 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
30770 case of failure to obtain the global conf object.
30771
5670c4ab
FW
307722017-09-06 Florian Weimer <fweimer@redhat.com>
30773
30774 [BZ #22095]
30775 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
30776 dynarray allocation failure.
30777
c77eb969
FW
307782017-09-06 Florian Weimer <fweimer@redhat.com>
30779
30780 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
30781 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
30782 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
30783 New functions.
30784 (response): Call them. Add 'p', '6' flag processing.
30785 (test_reverse): New function.
30786 (test_get2_any): Call it.
30787 (test_no_inet6): Add 'p' test.
30788 (test_inet6): Likewise.
30789
5e9c4d17
FW
307902017-09-06 Florian Weimer <fweimer@redhat.com>
30791
30792 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
30793 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
30794 the QNAME.
30795 (test_gai): Adjust query names. Add additional tests.
30796 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
30797 test_get2. Adjust query names. Add additional tests.
30798 (test_no_inet6): New function, extracted from threadfunc.
30799 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
30800 Add additional tests.
30801
2ae5be04
MF
308022017-09-06 Mike FABIAN <mfabian@redhat.com>
30803
30804 [BZ #22070]
30805 * localedata/unicode-gen/utf8_gen.py: Set the width for
30806 characters with Prepended_Concatenation_Mark property to 1
30807 * localedata/charmaps/UTF-8: Updated using the improved script.
30808
af83ed5c
MF
308092017-09-06 Mike FABIAN <mfabian@redhat.com>
30810
30811 [BZ #21750]
30812 * localedata/unicode-gen/utf8_gen.py: Improve the script to
30813 use the range notation for all ranges of neighbouring characters
30814 with the same width.
30815
4f3647e4
JM
308162017-09-05 Joseph Myers <joseph@codesourcery.com>
30817
30818 * sysdeps/generic/math-type-macros-double.h: Include
30819 <math-svid-compat.h>.
30820 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30821 * sysdeps/generic/math-type-macros-float.h: Include
30822 <math-svid-compat.h>.
30823 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30824 * sysdeps/generic/math-type-macros-ldouble.h: Include
30825 <math-svid-compat.h>.
30826 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30827 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
30828 condition.
30829 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
30830 * math/w_acosf_compat.c: Likewise.
30831 * math/w_acosh_compat.c: Likewise.
30832 * math/w_acoshf_compat.c: Likewise.
30833 * math/w_acoshl_compat.c: Likewise.
30834 * math/w_acosl_compat.c: Likewise.
30835 * math/w_asin_compat.c: Likewise.
30836 * math/w_asinf_compat.c: Likewise.
30837 * math/w_asinl_compat.c: Likewise.
30838 * math/w_atan2_compat.c: Likewise.
30839 * math/w_atan2f_compat.c: Likewise.
30840 * math/w_atan2l_compat.c: Likewise.
30841 * math/w_atanh_compat.c: Likewise.
30842 * math/w_atanhf_compat.c: Likewise.
30843 * math/w_atanhl_compat.c: Likewise.
30844 * math/w_cosh_compat.c: Likewise.
30845 * math/w_coshf_compat.c: Likewise.
30846 * math/w_coshl_compat.c: Likewise.
30847 * math/w_exp10_compat.c: Likewise.
30848 * math/w_exp10f_compat.c: Likewise.
30849 * math/w_exp10l_compat.c: Likewise.
30850 * math/w_exp2_compat.c: Likewise.
30851 * math/w_exp2f_compat.c: Likewise.
30852 * math/w_exp2l_compat.c: Likewise.
30853 * math/w_fmod_compat.c: Likewise.
30854 * math/w_fmodf_compat.c: Likewise.
30855 * math/w_fmodl_compat.c: Likewise.
30856 * math/w_hypot_compat.c: Likewise.
30857 * math/w_hypotf_compat.c: Likewise.
30858 * math/w_hypotl_compat.c: Likewise.
30859 * math/w_j0_compat.c: Likewise.
30860 * math/w_j0f_compat.c: Likewise.
30861 * math/w_j0l_compat.c: Likewise.
30862 * math/w_j1_compat.c: Likewise.
30863 * math/w_j1f_compat.c: Likewise.
30864 * math/w_j1l_compat.c: Likewise.
30865 * math/w_jn_compat.c: Likewise.
30866 * math/w_jnf_compat.c: Likewise.
30867 * math/w_jnl_compat.c: Likewise.
30868 * math/w_lgamma_r_compat.c: Likewise.
30869 * math/w_lgammaf_r_compat.c: Likewise.
30870 * math/w_lgammal_r_compat.c: Likewise.
30871 * math/w_log10_compat.c: Likewise.
30872 * math/w_log10f_compat.c: Likewise.
30873 * math/w_log10l_compat.c: Likewise.
30874 * math/w_log2_compat.c: Likewise.
30875 * math/w_log2f_compat.c: Likewise.
30876 * math/w_log2l_compat.c: Likewise.
30877 * math/w_log_compat.c: Likewise.
30878 * math/w_logf_compat.c: Likewise.
30879 * math/w_logl_compat.c: Likewise.
30880 * math/w_pow_compat.c: Likewise.
30881 * math/w_powf_compat.c: Likewise.
30882 * math/w_powl_compat.c: Likewise.
30883 * math/w_remainder_compat.c: Likewise.
30884 * math/w_remainderf_compat.c: Likewise.
30885 * math/w_remainderl_compat.c: Likewise.
30886 * math/w_sinh_compat.c: Likewise.
30887 * math/w_sinhf_compat.c: Likewise.
30888 * math/w_sinhl_compat.c: Likewise.
30889 * math/w_sqrt_compat.c: Likewise.
30890 * math/w_sqrtf_compat.c: Likewise.
30891 * math/w_sqrtl_compat.c: Likewise.
30892 * math/w_tgamma_compat.c: Likewise.
30893 * math/w_tgammaf_compat.c: Likewise.
30894 * math/w_tgammal_compat.c: Likewise.
30895 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
30896 [LIBM_SVID_COMPAT].
30897 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
30898 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
30899 [LIBM_SVID_COMPAT].
30900 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
30901 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
30902 [LIBM_SVID_COMPAT].
30903 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
30904 * sysdeps/i386/fpu/w_sqrt.c: New file.
30905 * sysdeps/ia64/fpu/w_acos.c: Likewise.
30906 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
30907 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
30908 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
30909 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
30910 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
30911 * sysdeps/ia64/fpu/w_asin.c: Likewise.
30912 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
30913 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
30914 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
30915 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
30916 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
30917 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
30918 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
30919 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
30920 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
30921 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
30922 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
30923 * sysdeps/ia64/fpu/w_exp.c: Likewise.
30924 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
30925 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
30926 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
30927 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
30928 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
30929 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
30930 * sysdeps/ia64/fpu/w_expf.c: Likewise.
30931 * sysdeps/ia64/fpu/w_expl.c: Likewise.
30932 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
30933 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
30934 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
30935 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
30936 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
30937 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
30938 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
30939 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
30940 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
30941 * sysdeps/ia64/fpu/w_log.c: Likewise.
30942 * sysdeps/ia64/fpu/w_log10.c: Likewise.
30943 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
30944 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
30945 * sysdeps/ia64/fpu/w_log2.c: Likewise.
30946 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
30947 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
30948 * sysdeps/ia64/fpu/w_logf.c: Likewise.
30949 * sysdeps/ia64/fpu/w_logl.c: Likewise.
30950 * sysdeps/ia64/fpu/w_pow.c: Likewise.
30951 * sysdeps/ia64/fpu/w_powf.c: Likewise.
30952 * sysdeps/ia64/fpu/w_powl.c: Likewise.
30953 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
30954 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
30955 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
30956 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
30957 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
30958 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
30959 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
30960 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
30961 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
30962 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
30963 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
30964 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
30965 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
30966 [LIBM_SVID_COMPAT].
30967 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
30968 * sysdeps/ieee754/k_standard.c: Likewise.
30969 * sysdeps/ieee754/k_standardf.c: Likewise.
30970 * sysdeps/ieee754/k_standardl.c: Likewise.
30971 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
30972 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
30973 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
30974 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
30975 long_double_symbol call on [LIBM_SVID_COMPAT].
30976 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
30977 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
30978 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
30979 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
30980 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
30981 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
30982 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
30983 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
30984 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
30985 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
30986 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
30987 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
30988 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
30989 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
30990 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
30991 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
30992 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
30993 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
30994 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
30995 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
30996 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
30997 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
30998
05b38d64
SE
309992017-09-05 Steve Ellcey <sellcey@cavium.com>
31000
31001 * include/shlib-compat.h (TEST_COMPAT): New Macro.
31002 * malloc/tst-mallocstate.c: Convert from test-skeleton
31003 to test-driver. Ifdef code using TEST_COMPAT macro.
31004 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
31005 * math/test-matherr.c: Likewise.
31006
99d67918
JM
310072017-09-05 Joseph Myers <joseph@codesourcery.com>
31008
31009 [BZ #22086]
31010 * debug/pcprofiledump.c (main): Use byte-swapped mask when
31011 comparing word with byte-swapped constant.
31012
c207f7ce 310132017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
3f802aeb
MF
31014
31015 [BZ #20498]
31016 * locale/iso-639.def: add Miskito.
31017 * localedata/SUPPORTED: Add miq_NI/UTF-8.
31018 * localedata/locales/miq_NI: New file.
31019
0a587a8a
L
310202017-09-04 H.J. Lu <hongjiu.lu@intel.com>
31021
31022 [BZ #18822]
31023 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
31024 (__mkdir): Likewise.
31025 * io/chmod.c (__chmod): Add libc_hidden_def.
31026 * io/mkdir.c (__mkdir): Likewise.
31027 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
31028 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
31029 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
31030 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
31031
f3a129b8
JM
310322017-09-04 Joseph Myers <joseph@codesourcery.com>
31033
1650e192
JM
31034 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
31035 version to 4.13.
31036
f3a129b8
JM
31037 [BZ #22082]
31038 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
31039 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
31040
b38042f5
FW
310412017-09-04 Florian Weimer <fweimer@redhat.com>
31042
31043 * math/math.h: Issue warning if log is defined.
31044
059b6404
JM
310452017-09-04 Joseph Myers <joseph@codesourcery.com>
31046
31047 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
31048 kernel version to 4.13.
31049
b794e16b
ST
310502017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
31051
31052 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
06cf9d31
ST
31053 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
31054 parameter.
01969395
ST
31055 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
31056 just <bits/types.h>.
dd2b31de 31057 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
ed95bf56 31058 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
dd2b31de 31059 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
ed95bf56 31060 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
2263ca7c
ST
31061 * misc/preadv2.c: Include <errno.h>.
31062 * misc/preadv64v2.c: Include <errno.h>.
31063 * misc/pwritev2.c: Include <errno.h>.
31064 * misc/pwritev64v2.c: Include <errno.h>.
31065 * sysdeps/posix/preadv2.c: Include <errno.h>.
31066 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
31067 Fix <unistd.h> inclusion.
31068 * sysdeps/posix/pwritev2.c: Include <errno.h>.
31069 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
cae3d712
ST
31070 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
31071 __strtoul_internal): New functions.
127e7773
ST
31072 * sysdeps/posix/pause.c: Include <sigsetops.h>.
31073 * sysdeps/posix/system.c: Include <sigsetops.h>.
f85958a7
ST
31074 * sysdeps/mach/hurd/i386/Makefile
31075 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
31076 [$(subdir) = csu] (sysdep-only-routines): Likewise.
31077 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1946d950
ST
31078 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
31079 __feraiseexcept_renamed to feraiseexcept instead of
31080 __GI_feraiseexcept.
56bf5497 31081 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
2ce1f9ef 31082 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
492cbbed
ST
31083 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
31084 RWF_NOWAIT): Define to 0 if undefined already.
31085 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
31086 boils down to 0.
6547ec0a
ST
31087 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
31088 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
b794e16b 31089
5a80d39d
JM
310902017-09-01 Joseph Myers <joseph@codesourcery.com>
31091
31092 * manual/math.texi (pow10): Do not document.
31093 (pow10f): Likewise.
31094 (pow10l): Likewise.
31095 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
31096 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
31097 * math/libm-test-exp10.inc (pow10_test): Remove.
31098 (do_test): Do not call pow10.
31099 * math/w_exp10_compat.c (pow10): Make into compat symbol.
31100 [NO_LONG_DOUBLE] (pow10l): Likewise.
31101 * math/w_exp10f_compat.c (pow10f): Likewise.
31102 * math/w_exp10l_compat.c (pow10l): Likewise.
31103 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
31104 (pow10): Make into compat symbol.
31105 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
31106 (pow10f): Make into compat symbol.
31107 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
31108 (pow10l): Make into compat symbol.
31109 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
31110 pow10.
31111 (CFLAGS-nldbl-pow10.c): Remove variable..
31112 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
31113 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
31114 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
31115 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
31116 Undefine and redefine.
31117 (pow10l): Make into compat symbol.
31118 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
31119 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
31120 * sysdeps/arm/libm-test-ulps: Likewise.
31121 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
31122 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
31123 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
31124 * sysdeps/microblaze/libm-test-ulps: Likewise.
31125 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
31126 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31127 * sysdeps/nios2/libm-test-ulps: Likewise.
31128 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31129 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
31130 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31131 * sysdeps/sh/libm-test-ulps: Likewise.
31132 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31133 * sysdeps/tile/libm-test-ulps: Likewise.
31134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31135
3824fc38
PP
311362017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31137
31138 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
31139
b3008279
L
311402017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31141
31142 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
31143 "../ChangeLog.old/ChangeLog.8".
31144 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
31145 "../ChangeLog.old/ChangeLog.14".
31146
136fa185
L
311472017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31148
31149 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
31150 Threads Library.
31151
c18d50a2
JM
311522017-09-01 Joseph Myers <joseph@codesourcery.com>
31153
31154 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
31155
bedbd859
L
311562017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31157
31158 * csu/version.c (banner): Remove "by Roland McGrath et al.".
31159 * nptl/Banner: Remove "by Ulrich Drepper et al.".
31160
50c66c7a
PP
311612017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31162
31163 * stdlib/tst-atexit-common.c (do_test): Test support for at least
31164 32 atexit handlers.
31165
a617bd11
ZW
311662017-09-01 Zack Weinberg <zackw@panix.com>
31167
31168 * math/math.h (HUGE_VAL): Improve commentary.
31169
e0d2eb5a
AZ
311702017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31171 Andreas Schwab <schwab@suse.de>
31172
31173 [BZ #21530]
31174 * include/stdio.h (__gen_tempfd): New function.
31175 * stdio-common/Makefile (routines): Add gentempfd.
31176 * stdio-common/gentempfd.c: New file.
31177 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
31178 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
31179 unnamed file first.
31180
f4a6be25
FW
311812017-09-01 Florian Weimer <fweimer@redhat.com>
31182
31183 [BZ #21915]
31184 [BZ #21922]
31185 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
31186 result to determine success or failure, not the errno value.
31187 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
31188 (tst-nss-files-hosts-erange): Link with -ldl.
31189 * nss/tst-nss-files-hosts-erange.c: New file.
31190 * nss/tst-resolv-basic.c (response): Handle nodata.example.
31191 (do_test): Add NO_DATA tests.
31192 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
31193 (do_test): Call it.
31194
5f8340f5
FW
311952017-09-01 Florian Weimer <fweimer@redhat.com>
31196
31197 [BZ #21922]
31198 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
31199 coming from gethostbyname2_r.
31200
65329bd2
FW
312012017-09-01 Florian Weimer <fweimer@redhat.com>
31202
31203 * support/namespace.h (struct support_chroot_configuration): Add
31204 hosts, host_conf.
31205 (struct support_chroot): Add path_hosts, path_host_conf.
31206 * support/support_chroot.c (write_file): New function.
31207 (support_chroot_create): Call it to process /etc/resolv.conf,
31208 /etc/hosts, /etc/host.conf.
31209 (support_chroot_free): Update.
31210
a2881ef0
FW
312112017-09-01 Florian Weimer <fweimer@redhat.com>
31212
31213 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
31214 status indicates it is set.
31215
ad816a5e
FW
312162017-09-01 Florian Weimer <fweimer@redhat.com>
31217
63b52889 31218 [BZ #20532]
ad816a5e
FW
31219 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
31220 function lookup failures more reliable.
31221
53250a21
FW
312222017-09-01 Florian Weimer <fweimer@redhat.com>
31223
31224 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
31225 (getcanonname): Likewise.
31226 (gaih_inet): Likewise.
31227
924b121c
FW
312282017-09-01 Florian Weimer <fweimer@redhat.com>
31229
31230 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
31231 (getcanonname): Likewise.
31232 (gaih_inet): Likewise.
31233
d9ff799a 312342017-08-31 Steve Ellcey <sellcey@cavium.com>
6b5c8607 31235 Richard Henderson <rth@twiddle.net>
d9ff799a
SE
31236
31237 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
31238 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
31239 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
31240 (IREG_SIZE, OREG_SIZE): New macros.
31241 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
31242 (IREG_SIZE, OREG_SIZE): New macros.
31243 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
31244 (IREG_SIZE): New macro.
31245 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
31246 (IREG_SIZE): New macro.
31247 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
31248 New includes.
31249 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
31250 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
31251 (__CONCATX): Handle exceptions correctly on large values that may
31252 set FE_INVALID.
31253 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
31254 Initialize if not already set.
b39d961c 31255 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
d9ff799a 31256
102dde84
AZ
312572017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31258
31259 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
31260 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
31261 Likewise.
31262 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
31263 Likewise.
31264 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
31265 Likewise.
31266 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
31267 Likewise.
31268 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
31269 Likewise.
31270 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
31271 Likewise.
31272 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
31273 Likewise.
31274 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
31275 (NO_CANCELLATION): Likewise.
31276 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
31277 Likewise.
31278 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
31279 Likewise.
31280 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
31281 Likewise.
31282 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
31283 (NO_CANCELLATION): Likewise.
31284 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
31285 (NO_CANCELLATION): Likewise.
31286 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
31287 Likewise
31288 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
31289 Likewise.
31290 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
31291 Likewise.
31292 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
31293 Likewise.
31294 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
31295 hidden prototype.
31296 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
31297 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
31298
9eee633b
SE
312992017-08-31 Steve Ellcey <sellcey@cavium.com>
31300
31301 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
31302 in resolver call.
31303
65284eb7
FW
313042017-08-31 Florian Weimer <fweimer@redhat.com>
31305
31306 * include/libc-symbols.h (internal_function): Remove.
31307
41ad5ca6
FW
313082017-08-31 Florian Weimer <fweimer@redhat.com>
31309
31310 * stdlib/fmtmsg.c (internal_addseverity): Remove
31311 internal_function.
31312
2fa6d086
FW
313132017-08-31 Florian Weimer <fweimer@redhat.com>
31314
31315 * stdio-common/printf_fp.c (group_number): Remove
31316 internal_function.
31317 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
31318
b41bd5bc
FW
313192017-08-31 Florian Weimer <fweimer@redhat.com>
31320
31321 * posix/fnmatch.c (internal_function): Remove definition.
31322 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
31323 * posix/regcomp.c (peek_token, init_word_char)
31324 (duplicate_node_closure, fetch_token, peek_token)
31325 (peek_token_bracket, build_range_exp, build_collating_symbol):
31326 Likewise.
31327 * posix/regex_internal.c (re_string_construct_common)
31328 (create_ci_newstate, create_cd_newstate, re_string_allocate)
31329 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
31330 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
31331 (re_string_translate_buffer, re_string_reconstruct)
31332 (re_string_peek_byte_case, re_string_fetch_byte_case)
31333 (re_string_destruct, re_string_context_at, re_node_set_alloc)
31334 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
31335 (re_node_set_add_intersect, re_node_set_init_union)
31336 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
31337 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
31338 (re_dfa_add_node, calc_state_hash, re_acquire_state)
31339 (re_acquire_state_context): Likewise.
31340 * posix/regex_internal.h (internal_function): Remove definition.
31341 (re_string_realloc_buffers, build_wcs_buffer)
31342 (build_wcs_upper_buffer, build_upper_buffer)
31343 (re_string_translate_buffer, re_string_context_at)
31344 (re_string_char_size_at, re_string_wchar_at)
31345 (re_string_elem_size_at): Likewise.
31346 * posix/regexec.c (match_ctx_init, match_ctx_clean)
31347 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
31348 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
31349 (re_search_internal, re_search_2_stub, re_search_stub)
31350 (re_copy_regs, prune_impossible_nodes, check_matching)
31351 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
31352 (free_fail_stack_return, sift_states_iter_mb)
31353 (sift_states_backward, build_sifted_states)
31354 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
31355 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
31356 (check_subexp_limits, sift_states_bkref, merge_state_array)
31357 (find_recover_state, transit_state, merge_state_with_log)
31358 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
31359 (transit_state_mb, transit_state_bkref, get_subexp)
31360 (get_subexp_sub, find_subexp_node, check_arrival)
31361 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
31362 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
31363 (check_node_accept_bytes, find_collation_sequence_value)
31364 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
31365 (acquire_init_state_context, check_halt_node_context)
31366 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
31367 (sub_epsilon_src_nodes): Likewise.
31368 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
31369 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
31370 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
31371 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
31372 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
31373 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
31374 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
31375 * sysdeps/posix/ttyname.c (getttyname): Likewise.
31376 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
31377 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
31378 (PREADV): Likewise.
31379 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
31380 (PREADV): Likewise.
31381 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
31382 (PWRITEV): Likewise.
31383 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
31384 (PWRITEV): Likewise.
31385 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
31386 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
31387
83b09837
FW
313882017-08-31 Florian Weimer <fweimer@redhat.com>
31389
31390 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
31391 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
31392 Remove internal_function.
31393 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
31394 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
31395 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
31396 (__deallocate_stack, __libc_pthread_init)
31397 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
31398 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
31399 (__libc_disable_asynccancel, __librt_disable_asynccancel):
31400 Likewise.
31401 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
31402 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
31403 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
31404 Likewise.
31405 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
31406 (__pthread_mutex_unlock_usercnt): Likewise.
31407
116ac301
FW
314082017-08-31 Florian Weimer <fweimer@redhat.com>
31409
31410 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
31411 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
31412 (fts_safe_changedir): Remove internal_function.
31413 * io/ftw.c (internal_function): Remove definition.
31414 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
31415
9da93bd7
FW
314162017-08-31 Florian Weimer <fweimer@redhat.com>
31417
31418 * inet/deadline.c (__deadline_current_time)
31419 (__deadline_from_timeval, __deadline_to_ms): Remove
31420 internal_function.
31421 * inet/getnameinfo.c (nrl_domainname): Likewise.
31422 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
31423 * inet/inet6_option.c (add_pad): Likewise.
31424 * inet/net-internal.h (__deadline_current_time)
31425 (__deadline_from_timeval, __deadline_to_ms): Likewise.
31426 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
31427 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
31428 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
31429
a60eca2e
JM
314302017-08-31 Joseph Myers <joseph@codesourcery.com>
31431
c0c49d60
JM
31432 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
31433 include <bits/nan.h>.
31434 * math/Makefile (headers): Remove bits/nan.h.
31435 * bits/nan.h: Remove.
31436 * sysdeps/ieee754/bits/nan.h: Likewise.
31437 * sysdeps/mips/bits/nan.h: Likewise.
31438
5ef1b213
JM
31439 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
31440 not include <bits/inf.h>.
31441 * math/Makefile (headers): Remove bits/inf.h.
31442 * bits/inf.h: Remove.
31443 * sysdeps/ieee754/bits/inf.h: Likewise.
31444
a60eca2e
JM
31445 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
31446 bits/huge_vall.h or bits/huge_val_flt128.h.
31447 (HUGE_VAL): Define directly here.
31448 [__USE_ISOC99] (HUGE_VALF): Likewise.
31449 [__USE_ISOC99] (HUGE_VALL): Likewise.
31450 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31451 (HUGE_VAL_F128): Likewise.
31452 * math/Makefile (headers): Remove bits/huge_val.h,
31453 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
31454 * bits/huge_val.h: Remove.
31455 * bits/huge_val_flt128.h: Likewise.
31456 * bits/huge_valf.h: Likewise.
31457 * bits/huge_vall.h: Likewise.
31458 * sysdeps/ia64/bits/huge_vall.h: Likewise.
31459 * sysdeps/ieee754/bits/huge_val.h: Likewise.
31460 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
31461 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
31462 * sysdeps/sh/bits/huge_val.h: Likewise.
31463 * sysdeps/sparc/bits/huge_vall.h: Likewise.
31464 * sysdeps/x86/bits/huge_vall.h: Likewise.
31465
17e00cc6
FW
314662017-08-31 Florian Weimer <fweimer@redhat.com>
31467
31468 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
31469 internal_function.
31470 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
31471 Likewise.
31472 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
31473 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
31474 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
31475 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
31476 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31477 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
31478 * elf/dl-libc.c (dlerror_run): Likewise.
31479 * elf/dl-load.c (add_name_to_object, decompose_rpath)
31480 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
31481 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
31482 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
31483 Likewise.
31484 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
31485 (_dl_higher_prime_number, _dl_strtoul): Likewise.
31486 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
31487 * elf/dl-profile.c (_dl_start_profile): Likewise.
31488 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
31489 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
31490 Likewise.
31491 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
31492 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
31493 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
31494 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
31495 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
31496 (_dl_allocate_tls_storage): Likewise.
31497 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
31498 (_dl_check_all_versions): Likewise.
31499 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
31500 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
31501 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
31502 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31503 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
31504 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
31505 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
31506 internal_function from __dl_start.
31507 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
31508 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
31509 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
31510 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
31511 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
31512 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
31513 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
31514 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
31515 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
31516 (_dl_next_ld_env_entry, _dl_important_hwcaps)
31517 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
31518 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
31519 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
31520 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
31521 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
31522 Likewise.
31523 (struct rtld_global_ro): Remove internal_function from the
31524 _dl_lookup_symbol_x member.
31525 (_dl_symbol_value): Remove. No longer defined anywhere.
31526 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
31527 internal_function.
31528 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31529 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
31530 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
31531 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
31532 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
31533 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
31534 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
31535 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
31536 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
31537 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
31538 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31539 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
31540
8d2f9410
FW
315412017-08-31 Florian Weimer <fweimer@redhat.com>
31542
31543 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
31544 Remove internal_function.
31545 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
31546 Likewise.
31547 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
31548 Likewise.
31549
86e4919f
FW
315502017-08-31 Florian Weimer <fweimer@redhat.com>
31551
31552 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
31553 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
31554 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
31555
59bd52b0
FW
315562017-08-31 Florian Weimer <fweimer@redhat.com>
31557
31558 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
31559 (__gai_enqueue_request): Remove internal_function.
31560 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
31561 (__gai_remove_request, __gai_notify, __gai_notify_only)
31562 (__gai_sigqueue): Likewise.
31563 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
31564 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
31565 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
31566 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31567 Likewise.
31568
fc3d9497
FW
315692017-08-31 Florian Weimer <fweimer@redhat.com>
31570
31571 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
31572 * include/dirent.h (__opendirat, __getdents, __getdents64)
31573 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
31574 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
31575 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31576 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
31577 Likewise.
31578 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
31579
18c54fac
FW
315802017-08-31 Florian Weimer <fweimer@redhat.com>
31581
31582 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
31583 internal_function.
31584 (GETCWD_RETURN_TYPE): Likewise.
31585
7e01f080
FW
315862017-08-31 Florian Weimer <fweimer@redhat.com>
31587
31588 * include/time.h (__tz_compute, __strptime_internal): Remove
31589 internal_function.
31590 * time/strptime_l.c (__strptime_internal): Likewise.
31591 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
31592
d7ccc6c9
FW
315932017-08-31 Florian Weimer <fweimer@redhat.com>
31594
31595 * iconv/gconv.c (__gconv): Remove internal_function.
31596 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
31597 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
31598 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
31599 (__gconv_release_cache): Likewise.
31600 * iconv/gconv_close.c (__gconv_close): Likewise.
31601 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
31602 (read_conf_file, __gconv_get_path): Likewise.
31603 * iconv/gconv_db.c (derivation_lookup, add_derivation)
31604 (__gconv_release_step, gen_steps, increment_counter)
31605 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
31606 (__gconv_close_transform, free_modules_db): Likewise.
31607 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
31608 Likewise.
31609 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
31610 (__gconv_find_transform, __gconv_lookup_cache)
31611 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
31612 (__gconv_close_transform, __gconv_release_cache)
31613 (__gconv_loaded_object, __gconv_release_shlib)
31614 (__gconv_compare_alias): Likewise.
31615 * iconv/gconv_open.c (__gconv_open): Likewise.
31616 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
31617 * iconv/iconvconfig.c (add_module): Likewise.
31618 * intl/dcigettext.c (plural_lookup, guess_category_value)
31619 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
31620 * intl/eval-plural.h (plural_eval): Likewise.
31621 * intl/finddomain.c (_nl_find_domain): Likewise.
31622 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
31623 (_nl_load_domain, _nl_find_msg): Likewise.
31624 (internal_function): Remove definition.
31625 * intl/loadinfo.h (internal_function): Likewise.
31626 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
31627 internal_function.
31628 * intl/localealias.c (internal_function): Remove definition.
31629 (read_alias_file): Remove internal_function.
31630 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
31631 * intl/plural-exp.h (internal_function): Remove definition.
31632 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
31633 internal_function.
31634 * intl/plural.c: Regenerate.
31635 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
31636 * locale/coll-lookup.c (__collidx_table_lookup)
31637 (__collseq_table_lookup): Likewise.
31638 * locale/coll-lookup.h (__collidx_table_lookup)
31639 (__collseq_table_lookup): Likewise.
31640 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
31641 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31642 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
31643 (_nl_unload_locale): Likewise.
31644 * locale/localeinfo.h (struct __locale_data): Remove
31645 internal_function from cleanup member.
31646 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
31647 (_nl_remove_locale, _nl_load_locale_from_archive)
31648 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
31649 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
31650 (_nl_cleanup_time): Remove internal_function.
31651 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
31652 (_nl_parse_alt_digit): Likewise.
31653 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
31654 (_nl_select_era_entry): Likewise.
31655 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
31656 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
31657 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
7e01f080
FW
31658 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
31659 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
d7ccc6c9 31660
dab0eece
FW
316612017-08-31 Florian Weimer <fweimer@redhat.com>
31662
31663 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
31664 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
31665 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
31666 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
31667 Likewise.
31668 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
31669 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
31670 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
31671 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
31672 Likewise.
31673 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
31674
ab5bf7cf
FW
316752017-08-31 Florian Weimer <fweimer@redhat.com>
31676
31677 * misc/getttyent.c (skip, value): Remove internal_function.
31678 * misc/syslog.c (openlog_internal): Likewise.
31679 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
31680
75b3047e
FW
316812017-08-31 Florian Weimer <fweimer@redhat.com>
31682
31683 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
31684 (__nss_rewrite_field): Remove internal_function.
31685 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31686 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
31687 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
31688 * nss/nsswitch.c (nss_parse_file, nss_getline)
31689 (nss_parse_service_list, nss_new_service): Likewise.
31690 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
31691 * nss/valid_field.c (__nss_valid_field): Likewise.
31692 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
31693
0c71122c
FW
316942017-08-31 Florian Weimer <fweimer@redhat.com>
31695
31696 * malloc/arena.c (__malloc_fork_lock_parent)
31697 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
31698 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
31699 internal_function from defintions.
31700 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
31701 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
31702 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
31703 internal_function from declarations.
31704 * malloc/malloc.c (internal_function): Do not define.
31705 (mem2mem_check): Remove internal_function from declaration.
31706 (munmap_chunk, mremap_chunk): Remove internal_function.
31707 * malloc/mtrace.c (tr_where): Likewise.
31708
ca4ec803
FW
317092017-08-31 Florian Weimer <fweimer@redhat.com>
31710
31711 * include/rpc/pmap_clnt.h (__get_socket): Remove
31712 internal_function.
31713 * sunrpc/auth_des.c (synchronize): Likewise.
31714 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
31715 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
31716 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
31717 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
31718 (key_call): Likewise.
31719 * sunrpc/pm_getport.c (__get_socket): Likewise.
31720 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
31721 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
31722 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
31723 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
31724 (invalidate): Likewise.
31725 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
31726 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
31727 (set_input_fragment, get_input_bytes): Likewise.
31728
24cffce7
FW
317292017-08-31 Florian Weimer <fweimer@redhat.com>
31730
31731 * malloc/malloc.c (_int_free): Remove locked variable and related
31732 asserts.
31733
ecd0747d
L
317342017-08-31 H.J. Lu <hongjiu.lu@intel.com>
31735
31736 [BZ #22051]
31737 * Makerules (build-module-helper-objlist): Filter out
31738 $(elf-objpfx)sofini.os.
31739 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
31740 needed.
31741
5f0704b6
FW
317422017-08-31 Florian Weimer <fweimer@redhat.com>
31743
31744 * libio/fcloseall.c: Assume weak_alias is defined.
31745 * libio/feof.c: Likewise.
31746 * libio/fileno.c: Likewise.
31747 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
31748 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
31749 definitions.
31750 (_IO_file_open): Call __open directly.
31751 (_IO_new_file_sync): Assume ESPIPE is defined.
31752 (_IO_file_seekoff_maybe_mmap): Call __read directly.
31753 (_IO_new_file_write): Call __write directly.
31754 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
31755 * libio/ftello64.c (__ftello64): Assume EIO is defined.
31756 * libio/genops.c: Assume _LIBC is defined.
31757 (save_for_backup): Remove internal_function.
31758 * libio/getc.c: Assume weak_alias is defined.
31759 * libio/getwc.c: Likewise.
31760 * libio/iofclose.c: Assume _LIBC is defined.
31761 * libio/iofdopen.c: Likewise.
31762 (_IO_fcntl): Remove macro definition.
31763 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
31764 Call __fcntl directly.
31765 * libio/iofflush.c: Assume weak_alias is defined.
31766 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
31767 defined.
31768 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
31769 * libio/iofgets.c: Likewise.
31770 * libio/iofopen.c: Assume _LIBC is defined.
31771 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
31772 * libio/iofputs.c: Assume weak_alias is defined.
31773 * libio/iofread.c: Likewise.
31774 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
31775 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
31776 * libio/ioftell.c: Assume weak_alias is defined.
31777 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
31778 * libio/iofwide.c: Assume _LIBC is defined.
31779 (_IO_fwide): Drop SHARED conditional because it is implied by
31780 SHLIB_COMPAT.
31781 * libio/iofwrite.c: Assume weak_alias is defined.
31782 * libio/iogetdelim.c: Likewise.
31783 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
31784 * libio/iogetwline.c (wmemcpy): Remove macro definition.
31785 (_IO_getwline): Call __wmemcpy directly.
31786 * libio/iopopen.c: Assume _LIBC is defined.
31787 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
31788 (_IO_close): Remove macro definitions.
31789 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
31790 _exit directly.
31791 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
31792 directly.
31793 * libio/ioputs.c: Assume weak_alias is defined.
31794 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
31795 * libio/iosetbuffer.c: Assume weak_alias is defined.
31796 * libio/iosetvbuf.c: Likewise.
31797 * libio/ioungetc.c: Likewise.
31798 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
31799 libc_hidden_def, libc_hidden_weak, NULL are defined.
31800 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
31801 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
31802 defined.
31803 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
31804 definitions.
31805 (_IO_old_file_init_internal): Drop SHARED conditional because it
31806 is implied by SHLIB_COMPAT.
31807 (_IO_old_file_fopen): Call __open directly.
31808 (_IO_old_file_sync): Assume ESPIPE is defined.
31809 (_IO_old_file_write): Call __write directly.
31810 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
31811 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
31812 Call __fcntl directly.
31813 * libio/oldiofgetpos.c: Assume weak_alias is defined.
31814 (_IO_old_fgetpos): Assume EIO is defined.
31815 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
31816 (_IO_old_fgetpos64): Assume EIO is defined.
31817 * libio/oldiofsetpos.c: Assume weak_alias is defined.
31818 (_IO_old_fsetpos): Assume EIO is defined.
31819 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
31820 (_IO_old_fsetpos64): Assume EIO is defined.
31821 * libio/oldiopopen.c: Assume _LIBC is defined.
31822 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
31823 (_IO_close): Remove macro definitions.
31824 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
31825 directly.
31826 (_IO_old_proc_close): Call __close, __waitpid directly.
31827 * libio/put.c: Assume weak_alias is defined.
31828 * libio/stdfiles.c: Assume _LIBC is defined.
31829 * libio/stdio.c: Likewise.
31830 * libio/wfileops.c: Likewise.
31831 (_IO_wfile_sync): Assume ESPIPE is defined.
31832 * libio/wgenops.c: Assume _LIBC is defined.
31833 (save_for_wbackup): Remove internal_function.
31834
5129873a
FW
318352017-08-31 Florian Weimer <fweimer@redhat.com>
31836
31837 * malloc/malloc.c (top_check): Change return type to void. Remove
31838 internal_function.
31839 * malloc/hooks.c (top_check): Likewise.
31840 (malloc_check, realloc_check, memalign_check): Adjust.
31841
4fa9b3bf
JM
318422017-08-30 Joseph Myers <joseph@codesourcery.com>
31843
31844 [BZ #21457]
31845 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
31846 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
31847 sigcontext and namespace requirements.
31848 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
31849 * sysdeps/m68k/sys/ucontext.h: Likewise.
31850 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
31851 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
31852 <bits/sigcontext.h>.
31853 (__ctx): Define earlier.
31854 (mcontext_t): Define structure contents rather than using struct
31855 sigcontext.
31856 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
31857 __glibc_reserved1 instead of __reserved.
31858 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
31859 <bits/sigcontext.h>.
31860 (__ctx): Define earlier.
31861 (mcontext_t): Define structure contents rather than using struct
31862 sigcontext.
31863 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
31864 mcontext_t instead of struct sigcontext.
31865 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
31866 <bits/sigcontext.h>.
31867 (__ctx): Define earlier.
31868 (mcontext_t): Define structure contents rather than using struct
31869 sigcontext.
31870 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
31871 <bits/sigcontext.h>.
31872 (__ctx): Define earlier.
31873 (mcontext_t): Define structure contents rather than using struct
31874 sigcontext.
31875 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
31876 mcontext_t instead of struct sigcontext.
31877 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
31878 mcontext_t instead of struct sigcontext.
31879 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
31880 <bits/sigcontext.h>.
31881 (__ctx): New macro.
31882 (struct __ia64_fpreg_mcontext): New type.
31883 (mcontext_t): Define structure contents rather than using struct
31884 sigcontext.
31885 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
31886 (uc_sigmask): Define using __ctx.
31887 (uc_stack): Likewise.
31888 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
31889 <bits/sigcontext.h>.
31890 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31891 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
31892 <bits/sigcontext.h>.
31893 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
31894 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
31895 <bits/sigcontext.h>.
31896 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
31897 <bits/sigcontext.h>.
31898 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
31899 <bits/sigcontext.h>.
31900 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
31901 <bits/sigcontext.h>.
31902 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
31903 <bits/sigcontext.h>.
31904 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
31905 <bits/sigcontext.h>.
31906 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
31907 <bits/sigcontext.h>.
31908 (__ctx): Define earlier.
31909 (mcontext_t): Define structure contents rather than using struct
31910 sigcontext.
31911 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
31912 <bits/sigcontext.h>. Include <bits/types.h>.
31913 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
31914 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
31915 (test-xfail-XPG42/ucontext.h/conform): Likewise.
31916 (test-xfail-UNIX98/signal.h/conform): Likewise.
31917 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
31918 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
31919 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
31920 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
31921 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
31922 (test-xfail-POSIX2008/signal.h/conform): Likewise.
31923 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
31924 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
31925 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
31926
5898f454
FW
319272017-08-30 Florian Weimer <fweimer@redhat.com>
31928
31929 * malloc/dynarray_emplace_enlarge.c
31930 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
31931 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
31932 * malloc/tst-dynarray.c (test_long_overflow): New function.
31933 (do_test): Call it.
31934
a9da0bb2
FW
319352017-08-30 Florian Weimer <fweimer@redhat.com>
31936
31937 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
31938 (set_arena_corrupt): Remove definitions.
31939 (mtrim): Do not check for corrupt arena.
31940 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
31941 Likewise.
31942
ac3ed168
FW
319432017-08-30 Florian Weimer <fweimer@redhat.com>
31944
31945 [BZ #21754]
31946 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
31947 check_action.
31948 (ptmalloc_init): Do not set or use check_action.
31949 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
31950 call to malloc_printerr. Remove return statement.
31951 (free_check): Likewise. Remove arena unlock.
31952 (top_check): Update comment. Adjust call to malloc_printerr.
31953 Remove heap repair code.
31954 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
31955 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
31956 (sysmalloc): Adjust call to malloc_printerr.
31957 (munmap_chunk, __libc_realloc): Likewise. Remove return
31958 statement.
31959 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
31960 Remove errout label and corresponding gotos.
31961 (_int_free): Likewise. Remove arena unlock.
31962 (do_set_mallopt_check): Do not set check_action.
31963 (malloc_printerr): Adjust parameter list. Do not mark arena as
31964 corrupt.
31965 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
31966 comment.
31967 * manual/probes.texi (Memory Allocation Probes): Remove
31968 memory_mallopt_check_action.
31969
44bcba80
SE
319702017-08-30 Steve Ellcey <sellcey@cavium.com>
31971
31972 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
31973 Use pointer to uint64_t instead of long int for sp.
31974
ec2c1fce
FW
319752017-08-30 Florian Weimer <fweimer@redhat.com>
31976
31977 [BZ #21754]
31978 * malloc/malloc.c (malloc_printerr): Always terminate the process,
31979 without printing a backtrace. Do not leak any information in the
31980 error message.
31981 * manual/memory.texi (Heap Consistency Checking): Update.
31982 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
31983
9ce673b6
FW
319842017-08-30 Florian Weimer <fweimer@redhat.com>
31985
31986 Do not scale NPTL tests with available number of CPUs.
31987 * nptl/tst-cond16.c (count): Set to constant value of 8.
31988 * nptl/tst-cond18.c (count): Likewise.
31989
2f1aef19
JM
319902017-08-29 Joseph Myers <joseph@codesourcery.com>
31991
31992 [BZ #22035]
31993 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
31994 Define to take a second argument that is a macro that
31995 concatentates a suffix, not the suffix itself.
31996 (__CONCAT_d): New macro.
31997 (__CONCAT_f): Likewise.
31998 (__CONCAT_l): Likewise.
31999
8325b477
PP
320002017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
32001
32002 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
32003 by child.
32004
319cbbf6
AZ
320052017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32006 Aurelien Jarno <aurelien@aurel32.net>
32007 Maciej W. Rozycki <macro@imgtec.com>
32008
32009 [BZ #21956]
32010 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
32011 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
32012 `mips16-syscall6' and `mips16-syscall7'.
32013 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
32014 (CFLAGS-mips16-syscall7.c): Remove.
32015 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
32016 Remove `__mips16_syscall5', `__mips16_syscall6' and
32017 `__mips16_syscall7'.
32018 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
32019 (__mips16_syscall0): Rename `__mips16_syscall_return' to
32020 `__mips_syscall_return'.
32021 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
32022 (__mips16_syscall1): Likewise.
32023 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
32024 (__mips16_syscall2): Likewise.
32025 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
32026 (__mips16_syscall3): Likewise.
32027 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
32028 (__mips16_syscall4): Likewise.
32029 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
32030 Remove.
32031 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
32032 Remove.
32033 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
32034 Remove.
32035 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
32036 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
32037 `__mips16_syscall5'. Remove prototype.
32038 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
32039 `__mips16_syscall6'. Remove prototype.
32040 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
32041 `__mips16_syscall7'. Remove prototype.
32042 (__nomips16, __mips16_syscall_return): Move to...
32043 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
32044 (__nomips16, __mips_syscall_return): ... here.
32045 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
32046 `__mips16_syscall_return' to `__mips_syscall_return'.
32047 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
32048 `internal_syscall##nr'.
32049 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
32050 `internal_syscall##nr'.
32051 (FORCE_FRAME_POINTER): Remove.
32052 (__mips_syscall5): New prototype.
32053 (internal_syscall5): Rewrite to call `__mips_syscall5'.
32054 (__mips_syscall6): New prototype.
32055 (internal_syscall6): Rewrite to call `__mips_syscall6'.
32056 (__mips_syscall7): New prototype.
32057 (internal_syscall7): Rewrite to call `__mips_syscall7'.
32058 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
32059 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
32060 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
32061 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
32062 (sysdep_routines): Add libc-do-syscall.
32063 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
32064 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
32065
01b87c65
AZ
320662017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32067
32068 [BZ #21672]
32069 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
32070 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
32071 (advise_stack_range): New function.
32072 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
32073 stack non required to advise_stack_range at allocatestack.c
32074
16f138a4
SN
320752017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32076
32077 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
32078
251bccfa
FW
320792017-08-29 Florian Weimer <fweimer@redhat.com>
32080
32081 [BZ #22026]
32082 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
32083 __end_fct. Mangle __end_fct after setting it to NULL.
32084 * iconv/Makefile (tests): Add tst-gconv-init-failure.
32085 (modules-names, modules-names-tests): Add
32086 tst-gconv-init-failure-mod.
32087 (gconv-modules): New target.
32088 (tst-gconv-init-failure-mod.so): Link against libsupport.
32089 (tst-gconv-init-failure): Depend on gconv-modules,
32090 tst-gconv-init-failure-mod.so.
32091 * iconv/tst-gconv-init-failure-mod.c: New file.
32092 * iconv/tst-gconv-init-failure.c: Likewise.
32093 * iconv/test-gconv-modules: Likewise.
32094
e7c18b9d
FW
320952017-08-29 Florian Weimer <fweimer@redhat.com>
32096
32097 [BZ #22025]
32098 * iconv/gconv_db.c (free_derivation): Remove redundant
32099 parentheses.
32100 (gen_steps): Unconditionally mangle __btowc_fct after
32101 initialization.
32102 (increment_counter): Likewise. Do not call init_fct for internal
32103 modules.
32104
7daada03
JM
321052017-08-29 Joseph Myers <joseph@codesourcery.com>
32106
32107 [BZ #22028]
32108 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
32109 (_MSUF_): Remove macro.
32110 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
32111 Likewise.
32112 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
32113 (__REDIRFROM_X): New macro.
32114 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
32115 Likewise.
32116 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
32117 (__REDIRTO_X): Likewise.
32118 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
32119 arguments.
32120 (__MATH_REDIRCALL_2): Likewise.
32121 (__MATH_REDIRCALL_INTERNAL): Likewise.
32122 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
32123 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
32124 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
32125 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
32126 * math/test-finite-macros.c: New file.
32127 * math/Makefile (tests): Add test-finite-macros.
32128 (CFLAGS-test-finite-macros.c): New variable.
32129
1cf1232c
PF
321302017-08-29 Patsy Franklin <pfrankli@redhat.com>
32131 Jeff Law <law@redhat.com>
32132
32133 [BZ #22025]
32134 Mangle NULL pointers in iconv/gconv.
32135 * iconv/gconv_cache.c (find_module): Demangle init_fct before
32136 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
32137 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
32138 is non-NULL before demangling the end_fct. Check for NULL
32139 end_fct after demangling.
32140 (__gconv_release_step): Demangle the end_fct before checking
32141 it for NULL. Remove assert on __shlibc_handle != NULL.
32142 (gen_steps): Don't check btowc_fct for NULL before mangling.
32143 Demangle init_fct before checking for NULL.
32144 (increment_counter): Likewise.
32145 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
32146 end_fct for NULL before mangling.
32147 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
32148 for NULL.
32149
c207f7ce 321502017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
f8de9568
AK
32151
32152 [BZ #21971]
32153 * locale/iso-639.def: add Morisyen.
32154
42496114
GG
321552017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32156
32157 [BZ #21930]
32158 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
32159 (iszero): New C++ implementation that does not use
32160 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
32161 signaling nans are enabled, since __builtin_types_compatible_p
32162 is a C-only feature.
32163 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
32164 defined, include ieee754_float128.h for access to the union and
32165 member ieee854_float128.ieee.
32166 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
32167 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
32168 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
32169 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
32170 options of test-math-zero on powerpc64le.
32171
5e2bc4ff
L
321722017-08-28 H.J. Lu <hongjiu.lu@intel.com>
32173
32174 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
32175 Change double to float.
32176
a48c0fb4
JM
321772017-08-28 Joseph Myers <joseph@codesourcery.com>
32178
32179 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
32180 unconditional.
32181 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
32182 conditional code; define contents only for [LIBM_SVID_COMPAT].
32183
ee17d4e9
FW
321842017-08-28 Florian Weimer <fweimer@redhat.com>
32185
32186 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
32187 (abi-lp64_be-options): Remove.
32188 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
32189 (abi-hard-options): Likewise.
32190 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
32191 (abi-o32_hard-options, abi-o32_soft_2008-options)
32192 (abi-o32_hard_2008-options, abi-n32_soft-options)
32193 (abi-n32_hard-options, abi-n32_soft_2008-options)
32194 (abi-n32_hard_2008-options, abi-n64_soft-options)
32195 (abi-n64_hard-options, abi-n64_soft_2008-options)
32196 (abi-n64_hard_2008-options): Likewise.
32197 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
32198 (abi-64-v1-options, abi-64-v2-options): Likewise.
32199 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
32200 (abi-64-options): Likewise.
32201 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
32202 (abi-64-options): Likewise.
32203 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
32204 (abi-64-options): Likewise.
32205 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
32206 (abi-64-options, abi-x32-options): Likewise.
32207
2dba5ce7
FW
322082017-08-28 Florian Weimer <fweimer@redhat.com>
32209
32210 Store supported list of SYS_* system calls in the source tree.
32211 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
32212 (bits/syscall.h): Generate from list file.
32213 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
32214 [$(subdir) = misc] (tests): Add tst-syscall-list.
32215 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
32216 [$(subdir) = misc] (tst-syscall-list-macros.list)
32217 [$(subdir) = misc] (tst-syscall-list-nr.list)
32218 (tst-syscall-list-sys.list): Helper targets for new
32219 tst-syscall-list test.
32220 [$(subdir) = misc] (tst-syscall-list.out): Run test script
32221 tst-syscall-list.sh.
32222 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
32223 target. Do not include bits/syscall.d.
32224 [$(subdir) = misc] (generated): Do not update.
32225 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
32226 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
32227 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
32228 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
32229
5f3b183d
PP
322302017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
32231
32232 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
32233 (tst-cxa_atexit, tst-on_exit): Likewise.
32234 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
32235 tst-cxa_atexit, and tst-on_exit.
32236 * stdlib/tst-atexit-common.c: New file.
32237 * stdlib/tst-atexit.c: New file.
32238 * stdlib/tst-at_quick_exit.c: New file.
32239 * stdlib/tst-cxa_atexit.c: New file.
32240 * stdlib/tst-on_exit.c: New file.
32241
2ef8d469
ST
322422017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
32243
32244 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
97e02ad2
ST
32245 * mach/stack_chk_fail_local.c: New file.
32246 * hurd/stack_chk_fail_local.c: New file.
32247 * mach/Machrules ($(interface-library)-routines): Add
32248 stack_chk_fail_local.
99ee4d26
ST
32249 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
32250 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
32251 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
32252 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
32253 * hurd/Makefile (CFLAGS-hurdstartup.o,
32254 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
2ef8d469 32255
7ab70c98
L
322562017-08-25 H.J. Lu <hongjiu.lu@intel.com>
32257
32258 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
32259 (index_cpu_*, index_arch_*): Removed.
32260
39e7a5a6
SN
322612017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
32262
32263 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
32264 Use uint64_t instead of unsigned long.
32265
bba5c930
JM
322662017-08-25 Joseph Myers <joseph@codesourcery.com>
32267
a6ccdb08
JM
32268 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
32269 [__HAVE_DISTINCT_FLOAT128].
32270
23761119
JM
32271 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
32272 of <bits/math-finite.h>.
32273 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
32274 inclusion of <bits/math-finite.h>.
32275 * math/bits/math-finite.h (__REDIRTO_X): Do not define
32276 conditionally on [__MATH_DECLARING_LDOUBLE && defined
32277 __NO_LONG_DOUBLE_MATH].
32278 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
32279 (__MATH_REDIRCALL_2): Likewise.
32280 (__MATH_REDIRCALL_INTERNAL): Likewise.
32281 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
32282 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
32283 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
32284
bba5c930
JM
32285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
32286 Remove file.
32287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
32288 Likewise.
32289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
32290 Likewise.
32291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
32292 Likewise.
32293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
32294 Likewise.
32295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
32296 Likewise.
32297 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
32298 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
32299 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
32300 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
32301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
32302 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
32303 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
32304 w_sqrtf_compat-ppc32.
32305
3d7b66f6
GG
323062017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32307
32308 * math/math.h [defined __cplusplus] (issignaling): In the long
32309 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
32310 is not defined. Call __issignaling, otherwise.
32311
ebd6f007
AZ
323122017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32313
32314 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
32315 syscall definitions and replace __builtin_expect with __glibc_likely.
32316 * sysdeps/unix/syscall-template.S: Update comment about cancellable
32317 syscall.
6b5c8607 32318 (SYSCALL_CANCELLABLE): Removedefinition
ebd6f007
AZ
32319 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
32320 definition.
32321 (PSEUDO_END): Likewise.
32322 [IS_IN (libpthread)] (CENABLE): Likewise.
32323 [IS_IN (libpthread)] (CDISABLE): Likewise.
32324 [IS_IN (libc)] (CENABLE): Likewise.
32325 [IS_IN (libc)] (CENABLE): Likewise.
32326 [IS_IN (librt)] (CDISABLE): Likewise.
32327 [IS_IN (librt)] (CDISABLE): Likewise.
32328 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32329 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
32330 definition.
32331 (PSEUDO_END): Likewise.
32332 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
32333 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
32334 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
32335 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
32336 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
32337 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
32338 (CENABLE): Likewise.
32339 (CDISABLE): Likewise.
32340 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32341 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
32342 defintion.
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/hppa/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/i386/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/ia64/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/m68k/sysdep-cancel.h (PSEUDO): Remove
32382 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 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32391 * sysdeps/unix/sysv/linux/microblaze/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/mips/mips64/sysdep-cancel.h (PSEUDO):
32402 Remove 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 (SINGLE_THREAD_P): Likewise.
32411 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
32412 definition.
32413 (PSEUDO_END): Likewise.
32414 [IS_IN (libpthread)] (CENABLE): Likewise.
32415 [IS_IN (libpthread)] (CDISABLE): Likewise.
32416 [IS_IN (libc)] (CENABLE): Likewise.
32417 [IS_IN (libc)] (CENABLE): Likewise.
32418 [IS_IN (librt)] (CDISABLE): Likewise.
32419 [IS_IN (librt)] (CDISABLE): Likewise.
32420 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32421 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
32422 definition.
32423 (PSEUDO_END): Likewise.
32424 [IS_IN (libpthread)] (CENABLE): Likewise.
32425 [IS_IN (libpthread)] (CDISABLE): Likewise.
32426 [IS_IN (libc)] (CENABLE): Likewise.
32427 [IS_IN (libc)] (CENABLE): Likewise.
32428 [IS_IN (librt)] (CDISABLE): Likewise.
32429 [IS_IN (librt)] (CDISABLE): Likewise.
32430 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32431 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
32432 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
32433 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
32434 * sysdeps/unix/sysv/linux/s390/s390-32/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/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
32445 definition.
32446 (PSEUDO_END): Likewise.
32447 [IS_IN (libpthread)] (CENABLE): Likewise.
32448 [IS_IN (libpthread)] (CDISABLE): Likewise.
32449 [IS_IN (libc)] (CENABLE): Likewise.
32450 [IS_IN (libc)] (CENABLE): Likewise.
32451 [IS_IN (librt)] (CDISABLE): Likewise.
32452 [IS_IN (librt)] (CDISABLE): Likewise.
32453 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32454 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
32455 definition.
32456 (PSEUDO_END): Likewise.
32457 [IS_IN (libpthread)] (CENABLE): Likewise.
32458 [IS_IN (libpthread)] (CDISABLE): Likewise.
32459 [IS_IN (libc)] (CENABLE): Likewise.
32460 [IS_IN (libc)] (CENABLE): Likewise.
32461 [IS_IN (librt)] (CDISABLE): Likewise.
32462 [IS_IN (librt)] (CDISABLE): Likewise.
32463 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32464 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
32465 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32466 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
32467 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
32468 definition.
32469 (PSEUDO_END): Likewise.
32470 [IS_IN (libpthread)] (CENABLE): Likewise.
32471 [IS_IN (libpthread)] (CDISABLE): Likewise.
32472 [IS_IN (libc)] (CENABLE): Likewise.
32473 [IS_IN (libc)] (CENABLE): Likewise.
32474 [IS_IN (librt)] (CDISABLE): Likewise.
32475 [IS_IN (librt)] (CDISABLE): Likewise.
32476 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32477 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
32478 definition.
32479 (PSEUDO_END): Likewise.
32480 [IS_IN (libpthread)] (CENABLE): Likewise.
32481 [IS_IN (libpthread)] (CDISABLE): Likewise.
32482 [IS_IN (libc)] (CENABLE): Likewise.
32483 [IS_IN (libc)] (CENABLE): Likewise.
32484 [IS_IN (librt)] (CDISABLE): Likewise.
32485 [IS_IN (librt)] (CDISABLE): Likewise.
32486 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32487
8aa48656
SN
324882017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
32489
32490 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
32491
fcaaca41
L
324922017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32493
32494 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32495
376b40a2
L
324962017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32497
32498 [BZ #21982]
32499 * string/stratcliff.c (do_test): Declare size, nchars, inner,
32500 middle and outer with size_t instead of int. Repleace %d and
32501 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
32502 "MAX (outer, nchars - 64)" to support unsigned outer and
32503 nchars. Also exit loop when outer == 0.
32504
2b0b9a1c
AZ
325052017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32506
32507 * include/fcntl.h (__fcntl_nocancel): Remove definition.
32508 * include/signal.h (__sigsuspend_nocancel): Likewise.
32509 * include/time.h (__nanosleep_nocancel): Likewise.
32510 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
32511 * login/utmp_file.c: Include non cancellable syscall header.
32512 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
32513 prototype.
32514
b9eaca8f
L
325152017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32516
32517 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
32518 .byte sequences with AVX512F instructions.
32519 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
32520 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
32521 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
32522 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
32523 Likewise.
32524 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
32525 Likewise.
32526
5a706f64
SE
325272017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
32528 Steve Ellcey <sellcey@cavium.com>
32529
32530 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
32531 Use PTR_REG macro in cmp instruction.
32532
b513da7e
GG
325332017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32534
32535 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
32536 Change the return type of the ifunc resolver to match the return
32537 type of the target function.
32538
78ca091c
AZ
325392017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32540
b70b6026
AZ
32541 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
32542 (preadv64): Likewise.
32543 (pwrite64(: Likewise.
32544 (pwritev64): Likewise.
32545
78ca091c
AZ
32546 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
32547 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
32548 (LOAD_ARGS_0): Likewise.
32549 (LOAD_ARGS_1): Likewise.
32550 (LOAD_ARGS_2): Likewise.
32551 (LOAD_ARGS_3): Likewise.
32552 (LOAD_ARGS_4): Likewise.
32553 (LOAD_ARGS_5): Likewise.
32554 (LOAD_ARGS_6): Likewise.
32555 (LOAD_REGS_0): Likewise.
32556 (LOAD_REGS_1): Likewise.
32557 (LOAD_REGS_2): Likewise.
32558 (LOAD_REGS_3): Likewise.
32559 (LOAD_REGS_4): Likewise.
32560 (LOAD_REGS_5): Likewise.
32561 (LOAD_REGS_6): Likewise.
32562 (ASM_ARGS_0): Likewise.
32563 (ASM_ARGS_1): Likewise.
32564 (ASM_ARGS_2): Likewise.
32565 (ASM_ARGS_3): Likewise.
32566 (ASM_ARGS_4): Likewise.
32567 (ASM_ARGS_5): Likewise.
32568 (ASM_ARGS_6): Likewise.
32569 (LOAD_ARGS_TYPES_1): Likewise.
32570 (LOAD_ARGS_TYPES_2): Likewise.
32571 (LOAD_ARGS_TYPES_3): Likewise.
32572 (LOAD_ARGS_TYPES_4): Likewise.
32573 (LOAD_ARGS_TYPES_5): Likewise.
32574 (LOAD_ARGS_TYPES_6): Likewise.
32575 (LOAD_REGS_TYPES_1): Likewise.
32576 (LOAD_REGS_TYPES_2): Likewise.
32577 (LOAD_REGS_TYPES_3): Likewise.
32578 (LOAD_REGS_TYPES_4): Likewise.
32579 (LOAD_REGS_TYPES_5): Likewise.
32580 (LOAD_REGS_TYPES_6): Likewise.
32581 (TYPEFY): New define.
32582 (ARGIFY): Likewise.
32583 (internal_syscall0): Likewise.
32584 (internal_syscall1): Likewise.
32585 (internal_syscall2): Likewise.
32586 (internal_syscall3): Likewise.
32587 (internal_syscall4): Likewise.
32588 (internal_syscall5): Likewise.
32589 (internal_syscall6): Likewise.
32590 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
32591 (INTERNAL_SYSCALL_NCS): Remove define.
32592 (internal_syscall1): Add define.
32593
453a493d
GG
325942017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32595
32596 * math/w_remainder_compat.c: Remove duplicate inclusion of
32597 math-svid-compat.h.
32598 * math/w_remainderf_compat.c: Likewise.
32599 * math/w_remainderl_compat.c: Likewise.
32600
f2f048a5
GG
326012017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32602
32603 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32604
d9bef9c0
JM
326052017-08-22 Joseph Myers <joseph@codesourcery.com>
32606
32607 [BZ #21684]
32608 * math/tgmath.h (__floating_type): Simplify definitions.
32609 (__real_integer_type): New macro.
32610 (__complex_integer_type): Likewise.
32611 (__expr_is_real): Likewise.
32612 (__tgmath_real_type_sub): Update comment to describe handling of
32613 complex types.
32614 (__tgmath_complex_type_sub): New macro.
32615 (__tgmath_complex_type): Likewise.
32616 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32617 (__TGMATH_CF128): Use __expr_is_real.
32618 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
32619 __expr_is_real.
32620 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32621 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
32622 * math/gen-tgmath-tests.py (Type.create_type): Create complex
32623 integer types.
32624
08d6eb46
AZ
326252017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32626
988f991b
AZ
32627 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
32628 macro.
32629 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
32630 alias.
32631 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
32632 Likewise.
32633
6f33fd04
AZ
32634 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
32635 nanosleep_not_cancel with __nanosleep_nocancel.
32636 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
32637 (__nanosleep_nocancel): New macro.
32638 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
32639 function.
32640 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
32641 macro.
32642 (__nanosleep_nocancel): New prototype.
32643
08d6eb46
AZ
32644 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
32645 pause_not_cancel with __pause_nocancel.
32646 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
32647 (__pause_nocancel): New macro.
32648 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
32649 macro.
32650 (__pause_nocancel): New prototype.
32651 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
32652
ee4e992e
MS
326532017-08-22 Martin Sebor <msebor@redhat.com>
32654
32655 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
32656 to return a pointer to the same type as the target function.
32657
20962acb
L
326582017-08-22 H.J. Lu <hongjiu.lu@intel.com>
32659
32660 [BZ #18822]
32661 [BZ #21986]
32662 * include/printf.h (__printf_fphex): Add attribute_hidden.
32663 (__guess_grouping): New prototype.
32664 * stdio-common/printf_fp.c (__guess_grouping): Removed.
32665 * stdio-common/reg-printf.c (__register_printf_specifier): Add
32666 libc_hidden_proto and libc_hidden_def.
32667 * stdlib/strfmon_l.c (__guess_grouping): Removed.
32668 (__vstrfmon_l): Remove the third argument passed to
32669 __guess_grouping.
32670
a16e8bc0
GG
326712017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32672
32673 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
32674 definition for issignaling that does not rely on __MATH_TG,
32675 since __MATH_TG uses __builtin_types_compatible_p, which is only
32676 available in C mode.
32677 (CFLAGS-test-math-issignaling.cc): New variable.
32678 * math/Makefile [CXX] (tests): Add test-math-issignaling.
32679 * math/test-math-issignaling.cc: New test for C++ implementation
32680 of type-generic issignaling.
32681 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
32682 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
32683 options of test-math-issignaling on powerpc64le.
32684
8d2ec553
L
326852017-08-22 H.J. Lu <hongjiu.lu@intel.com>
32686
32687 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32688 building libc.a.
32689 (hidden_proto): Likewise.
32690 (hidden_tls_proto): Likewise.
32691 (__hidden_proto): Likewise.
32692
a4d57b79
FW
326932017-08-22 Florian Weimer <fweimer@redhat.com>
32694
32695 math: Statically link tests of internal functionality.
32696 * math/Makefile (tests): Remove atest-exp, atest-sincos,
32697 atest-exp2.
32698 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
32699 (gmp-objs): Remove assignment.
32700 (atest-exp, atest-sincos, atest-exp2): Remove targets.
32701
75dfe623
JM
327022017-08-22 Joseph Myers <joseph@codesourcery.com>
32703
80f91666
JM
32704 [BZ #21987]
32705 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
32706 and copy to ...
32707 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
32708 ... here.
32709 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
32710 ... and here.
32711
75dfe623
JM
32712 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
32713 variable definitions above inclusion of ../Rules.
32714
ea99fcd0
JM
327152017-08-21 Joseph Myers <joseph@codesourcery.com>
32716
32717 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
32718 case calling __builtin_unreachable.
32719
19926de9
AZ
327202017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32721
a8410a5f
AZ
32722 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
32723 __waitpid_nocancel.
32724 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
32725 (__waitpid_nocancel): New macro.
32726 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
32727 macro.
32728 (__waitpid_nocancel): Replace macro with a function.
32729 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
32730 function.
32731
7369800c
AZ
32732 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
32733 __fcntl_nocancel.
32734 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
32735 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
32736
19926de9
AZ
32737 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
32738 __writev_nocancel_nostatus.
32739 (write_call_graph): Likewise.
32740 (write_bb_counts): Likewise.
32741 * resolv/herror.c (herror): Likewise.
32742 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
32743 macro.
32744 (__writev_nocancel_nostatus): New macro.
32745 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
32746 Remove macro.
32747 (__writev_nocancel_nostatus): New function.
32748
813378e9
JM
327492017-08-21 Joseph Myers <joseph@codesourcery.com>
32750
df1deda6
JM
32751 Revert:
32752 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32753
32754 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32755 building libc.a.
32756 (hidden_proto): Likewise.
32757 (hidden_tls_proto): Likewise.
32758 (__hidden_proto): Likewise.
32759
831bbd55
JM
32760 [BZ #21973]
32761 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
32762 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
32763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
32764 Likewise.
32765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
32766 Likewise.
32767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
32768 Likewise.
32769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
32770 Likewise.
32771 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
32772 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
32773 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
32774 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
32775 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
32776 GLIBC_2.0 sqrtl symbol.
32777
813378e9
JM
32778 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
32779 [__USE_MISC] (_LIB_VERSION): Likewise.
32780 [__USE_MISC] (struct exception): Likewise.
32781 [__USE_MISC] (matherr): Likewise.
32782 [__USE_MISC] (DOMAIN): Likewise.
32783 [__USE_MISC] (SING): Likewise.
32784 [__USE_MISC] (OVERFLOW): Likewise.
32785 [__USE_MISC] (UNDERFLOW): Likewise.
32786 [__USE_MISC] (TLOSS): Likewise.
32787 [__USE_MISC] (PLOSS): Likewise.
32788 [__USE_MISC] (HUGE): Likewise.
32789 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
32790 * math/math-svid-compat.h: New file.
32791 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
32792 and matherrl.
32793 * include/math.h [!_ISOMAC] (__matherr): Remove.
32794 * manual/arith.texi (FP Exceptions): Do not document matherr.
32795 * math/Makefile (tests): Change test-matherr to test-matherr-3.
32796 (tests-internal): New variable.
32797 (install-lib): Do not add libieee.a.
32798 (non-lib.a): Likewise.
32799 (extra-objs): Do not add libieee.a and ieee-math.o.
32800 (CPPFLAGS-s_lib_version.c): Remove variable.
32801 ($(objpfx)libieee.a): Remove rule.
32802 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
32803 * math/ieee-math.c: Remove.
32804 * math/libm-test-support.c (matherr): Remove.
32805 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
32806 and license notices. Include <math-svid-compat.h> and
32807 <shlib-compat.h>.
32808 (matherr): Undefine as macro. Use compat_symbol_reference.
32809 (_LIB_VERSION): Likewise.
32810 * math/test-matherr-2.c: New file.
32811 * math/test-matherr-3.c: Likewise.
32812 * sysdeps/generic/math_private.h (__kernel_standard): Remove
32813 declaration.
32814 (__kernel_standard_f): Likewise.
32815 (__kernel_standard_l): Likewise.
32816 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
32817 <math_private.h>. Include <math-svid-compat.h>.
32818 (_LIB_VERSION): Undefine as macro.
32819 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
32820 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
32821 [LIBM_SVID_COMPAT], use compat_symbol.
32822 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
32823 <math_private.h>. Include <math-svid-compat.h>.
32824 (matherr): Undefine as macro.
32825 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
32826 compat_symbol.
32827 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
32828 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
32829 compat_symbol_reference.
32830 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
32831 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
32832 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
32833 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
32834 (MATHERR_D): Remove declaration.
32835 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
32836 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
32837 [LIBM_BUILD] (pmatherrf): Likewise.
32838 [LIBM_BUILD] (pmatherr): Likewise.
32839 [LIBM_BUILD] (pmatherrl): Likewise.
32840 (DOMAIN): Likewise.
32841 (SING): Likewise.
32842 (OVERFLOW): Likewise.
32843 (UNDERFLOW): Likewise.
32844 (TLOSS): Likewise.
32845 (PLOSS): Likewise.
32846 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
32847 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
32848 compat_symbol.
32849 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
32850 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
32851 compat_symbol.
32852 * math/lgamma-compat.h: Include <math-svid-compat.h>.
32853 * math/w_acos_compat.c: Likewise.
32854 * math/w_acosf_compat.c: Likewise.
32855 * math/w_acosh_compat.c: Likewise.
32856 * math/w_acoshf_compat.c: Likewise.
32857 * math/w_acoshl_compat.c: Likewise.
32858 * math/w_acosl_compat.c: Likewise.
32859 * math/w_asin_compat.c: Likewise.
32860 * math/w_asinf_compat.c: Likewise.
32861 * math/w_asinl_compat.c: Likewise.
32862 * math/w_atan2_compat.c: Likewise.
32863 * math/w_atan2f_compat.c: Likewise.
32864 * math/w_atan2l_compat.c: Likewise.
32865 * math/w_atanh_compat.c: Likewise.
32866 * math/w_atanhf_compat.c: Likewise.
32867 * math/w_atanhl_compat.c: Likewise.
32868 * math/w_cosh_compat.c: Likewise.
32869 * math/w_coshf_compat.c: Likewise.
32870 * math/w_coshl_compat.c: Likewise.
32871 * math/w_exp10_compat.c: Likewise.
32872 * math/w_exp10f_compat.c: Likewise.
32873 * math/w_exp10l_compat.c: Likewise.
32874 * math/w_exp2_compat.c: Likewise.
32875 * math/w_exp2f_compat.c: Likewise.
32876 * math/w_exp2l_compat.c: Likewise.
32877 * math/w_fmod_compat.c: Likewise.
32878 * math/w_fmodf_compat.c: Likewise.
32879 * math/w_fmodl_compat.c: Likewise.
32880 * math/w_hypot_compat.c: Likewise.
32881 * math/w_hypotf_compat.c: Likewise.
32882 * math/w_hypotl_compat.c: Likewise.
32883 * math/w_j0_compat.c: Likewise.
32884 * math/w_j0f_compat.c: Likewise.
32885 * math/w_j0l_compat.c: Likewise.
32886 * math/w_j1_compat.c: Likewise.
32887 * math/w_j1f_compat.c: Likewise.
32888 * math/w_j1l_compat.c: Likewise.
32889 * math/w_jn_compat.c: Likewise.
32890 * math/w_jnf_compat.c: Likewise.
32891 * math/w_jnl_compat.c: Likewise.
32892 * math/w_lgamma_main.c: Likewise.
32893 * math/w_lgamma_r_compat.c: Likewise.
32894 * math/w_lgammaf_main.c: Likewise.
32895 * math/w_lgammaf_r_compat.c: Likewise.
32896 * math/w_lgammal_main.c: Likewise.
32897 * math/w_lgammal_r_compat.c: Likewise.
32898 * math/w_log10_compat.c: Likewise.
32899 * math/w_log10f_compat.c: Likewise.
32900 * math/w_log10l_compat.c: Likewise.
32901 * math/w_log2_compat.c: Likewise.
32902 * math/w_log2f_compat.c: Likewise.
32903 * math/w_log2l_compat.c: Likewise.
32904 * math/w_log_compat.c: Likewise.
32905 * math/w_logf_compat.c: Likewise.
32906 * math/w_logl_compat.c: Likewise.
32907 * math/w_pow_compat.c: Likewise.
32908 * math/w_powf_compat.c: Likewise.
32909 * math/w_powl_compat.c: Likewise.
32910 * math/w_remainder_compat.c: Likewise.
32911 * math/w_remainderf_compat.c: Likewise.
32912 * math/w_remainderl_compat.c: Likewise.
32913 * math/w_scalb_compat.c: Likewise.
32914 * math/w_scalbf_compat.c: Likewise.
32915 * math/w_scalbl_compat.c: Likewise.
32916 * math/w_sinh_compat.c: Likewise.
32917 * math/w_sinhf_compat.c: Likewise.
32918 * math/w_sinhl_compat.c: Likewise.
32919 * math/w_sqrt_compat.c: Likewise.
32920 * math/w_sqrtf_compat.c: Likewise.
32921 * math/w_sqrtl_compat.c: Likewise.
32922 * math/w_tgamma_compat.c: Likewise.
32923 * math/w_tgammaf_compat.c: Likewise.
32924 * math/w_tgammal_compat.c: Likewise.
32925 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
32926 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
32927 * sysdeps/ieee754/k_standard.c: Likewise.
32928 * sysdeps/ieee754/k_standardf.c: Likewise.
32929 * sysdeps/ieee754/k_standardl.c: Likewise.
32930 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
32931 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
32932 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
32933 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
32934 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
32935 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
32936 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
32937 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
32938 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
32939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
32940 Likewise.
32941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
32942 Likewise.
32943 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
32944 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
32945 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
32946 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
32947
4504783c
FW
329482017-08-21 Florian Weimer <fweimer@redhat.com>
32949
32950 [BZ #21864]
32951 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
32952 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
32953 Move before inclusion of ../Rules.
32954
b5889d25
FW
329552017-08-21 Florian Weimer <fweimer@redhat.com>
32956
32957 [BZ #21972]
32958 * assert/assert.h (assert): Use static_cast (bool) for C++.
32959 Use the ternary operator in the warning branch for GNU C.
32960 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
32961 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
32962 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
32963 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
32964 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
32965
41e673c1
L
329662017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32967
32968 [BZ #18822]
32969 * sysdeps/unix/sysv/linux/x86_64/init-first.c
32970 (__syscall_clock_gettime): Add attribute_hidden.
32971 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
32972 (__start_context): Likewise.
32973
568ff429
L
329742017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32975
32976 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32977 building libc.a.
32978 (hidden_proto): Likewise.
32979 (hidden_tls_proto): Likewise.
32980 (__hidden_proto): Likewise.
32981
7c41b4a1
L
329822017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32983
32984 * include/libc-symbols.h (attribute_hidden): Enable hidden
32985 visibility in libc.a compiled with PIE.
32986
483d7068
L
329872017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32988
32989 [BZ #18822]
32990 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
32991 Add attribute_hidden.
32992
329932017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32994
32995 [BZ #21864]
32996 * Makerules (all-nonlib): Add $(others-extras).
32997 * catgets/Makefile (others-extras): New.
32998 * elf/Makefile (others-extras): Likewise.
32999 * nss/Makefile (others-extras): Likewise.
33000
54e4b8f2
L
330012017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33002
33003 [BZ #18822]
33004 * csu/libc-start.c (__libc_multiple_libcs): Removed.
33005 * elf/dl-open.c: Include <libc-internal.h>.
33006 (__libc_multiple_libcs): Removed.
33007 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
33008 <hp-timing.h>.
33009 * include/libc-internal.h (__libc_multiple_libcs): New.
33010 * misc/sbrk.c: Include <libc-internal.h>.
33011 (__libc_multiple_libcs): Removed.
33012
1dbbb1ec
L
330132017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33014
33015 [BZ #18822]
33016 * grp/initgroups.c (__nss_group_database): Removed.
33017 (__nss_initgroups_database): Likewise.
33018 * nscd/gai.c (__nss_hosts_database): Likewise.
33019 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
33020 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
33021 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
33022 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
33023 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
33024 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
33025 attribute_hidden.
33026 * nss/nsswitch.c (__nss_database_custom): Define only if
33027 USE_NSCD is defined.
33028 (__nss_configure_lookup): Use __nss_database_custom only if
33029 USE_NSCD is defined.
33030 * nss/nsswitch.h (__nss_database_custom): Declare only if
33031 USE_NSCD is defined. Add attribute_hidden.
33032 (__nss_setent): Add attribute_hidden.
33033 (__nss_endent): Likewise.
33034 (__nss_getent_r): Likewise.
33035 (__nss_getent): Likewise.
33036 (DEFINE_DATABASE): Declare __nss_##arg##_database.
33037
2585d7b8
L
330382017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33039
33040 [BZ #18822]
33041 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
33042 libc_hidden_proto and libc_hidden_def.
33043
c8dfa99c
L
330442017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33045
33046 [BZ #18822]
33047 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
33048 Add libc_hidden_proto.
33049 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
33050 Add libc_hidden_def.
33051
7ed87317
L
330522017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33053
33054 [BZ #21974]
33055 * gmon/Makefile (routines): Remove bb_init_func and
33056 bb_exit_func.
33057 (elide-routines.os): Removed.
9476b904
L
33058 * gmon/bb_exit_func.c: Likewise.
33059 * gmon/bb_init_func.c: Likewise.
7ed87317
L
33060 * include/sys/gmon.h (__bb): Likewise.
33061 (__bb_init_func): Likewise.
33062 (__bb_exit_func): Likewise.
91695eb1 33063 * sysdeps/alpha/bb_init_func.S: Likewise.
7ed87317 33064
94e6ba15
L
330652017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33066
33067 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
33068 * include/setjmp.h (____longjmp_chk): Here. Add
33069 attribute_hidden.
33070
7550717e
L
330712017-08-19 H.J. Lu <hongjiu.lu@intel.com>
33072
33073 [BZ #18822]
33074 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
33075 attribute_hidden.
33076 (__strspn_sse2): Likewise.
33077
0bb2fabc
AZ
330782017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33079
c181840c
AZ
33080 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
33081 (close_not_cancel_no_status): Likewise.
33082 (__close_nocancel): New macro.
33083 (__close_nocancel_nostatus): Likewise.
33084 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
33085 macro.
33086 (close_not_cancel): Likewise.
33087 (close_not_cancel_no_status): Likewise.
33088 (__close_nocancel): New prototype.
33089 (__close_nocancel_nostatus): New function.
33090 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
33091 * catgets/open_catalog.c (__open_catalog): Replace
33092 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
33093 * gmon/gmon.c (write_gmon): Likewise.
33094 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
33095 * intl/loadmsgcat.c (close): Likewise.
33096 * io/ftw.c (open_dir_stream): Likewise.
33097 (ftw_startup): Likewise.
33098 * libio/fileops.c (_IO_file_open): Likewise.
33099 (_IO_file_close_mmap): Likewise.
33100 (_IO_file_close): Likewise.
33101 * libio/iopopen.c (_IO_dup2): Likewise.
33102 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33103 * locale/loadlocale.c (_nl_load_locale): Likewise.
33104 * login/utmp_file.c (pututline_file): Likewise.
33105 (endutent_file): Likewise.
33106 * misc/daemon.c (daemon): Likewise.
33107 * nscd/nscd_getai.c (__nscd_getai): Likewise.
33108 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
33109 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
33110 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
33111 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33112 * nscd/nscd_helper.c (open_socket): Likewise.
33113 (__nscd_open_socket): Likewise.
33114 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
33115 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
33116 (__nscd_innetgr): Likewise.
33117 * nss/nss_db/db-open.c (internal_setent): Likewise.
33118 * resolv/res-close.c (__res_iclose): Likewise.
33119 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
33120 * sysdeps/posix/closedir.c (__closedir): Likewise.
33121 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
33122 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33123 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
33124 (opendir_tail): Likewise.
33125 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33126 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
33127 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
33128 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
33129 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33130 (gethostid): Likewise.
33131 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33132 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33133 Likewise.
33134 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33135 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
33136 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33137 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33138 Likewise.
33139 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
33140 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
33141 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33142 Likewise.
33143 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
33144 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33145 Likewise.
33146 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33147 Likewise.
33148 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
33149 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33150 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33151 __close_nocancel.
33152
0bb2fabc
AZ
33153 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
33154 (openat_not_cancel_3): Likewise.
33155 (openat64_not_cancel_3): Likewise).
33156 (openat_not_cancel_3): Likewise).
33157 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
33158 macro.
33159 (openat_not_cancel_3): Likewise.
33160 (openat64_not_cancel): Likewise.
33161 (openat64_not_cancel_3): Likewise.
33162 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
33163 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
33164 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
33165 __open{64}_nocancel.
33166 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33167 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33168 * sysdeps/posix/opendir.c (__opendirat): Likewise.
33169
65a086db
L
331702017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33171
33172 [BZ #18822]
33173 * include/argz.h (__argz_create_sep): New function prototype.
33174 (__argz_append): Likewise.
33175 (__argz_add): Likewise.
33176 (__argz_add_sep): Likewise.
33177 (__argz_delete): Likewise.
33178 (__argz_insert): Likewise.
33179 (__argz_replace): Likewise.
33180 * string/argz.h (__argz_create_sep): Removed.
33181 (__argz_append): Likewise.
33182 (__argz_add): Likewise.
33183 (__argz_add_sep): Likewise.
33184 (__argz_delete): Likewise.
33185 (__argz_insert): Likewise.
33186 (__argz_replace): Likewise.
33187
62753d2c
L
331882017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33189
33190 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
33191 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
33192 (GNU_PROPERTY_STACK_SIZE): Likewie.
33193 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
33194 (GNU_PROPERTY_LOPROC): Likewise.
33195 (GNU_PROPERTY_HIPROC): Likewise.
33196 (GNU_PROPERTY_LOUSER): Likewise.
33197 (GNU_PROPERTY_HIUSER): Likewise.
33198 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
33199 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
33200 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
33201 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
33202 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
33203 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
33204 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
33205 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
33206 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
33207 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
33208 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
33209 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
33210 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
33211 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
33212 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
33213 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
33214 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
33215 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
33216 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
33217 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
33218 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
33219 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
33220 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
33221
6913ad65
GG
332222017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33223
33224 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
33225 in C++ mode.
33226
47a67213
GG
332272017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33228
33229 [BZ #21930]
33230 * math/math.h (isinf): Check if in C or C++ mode before using
33231 __builtin_types_compatible_p, since this is a C mode feature.
33232
a748eb31
AZ
332332017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33234
c647fb88
AZ
33235 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
33236 (__write_nocancel): New macro.
33237 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
33238 Rewrite as a function prototype.
33239 (write_not_cancel): Remove macro.
33240 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
33241 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
33242 (write_gmon): Likewise.
33243 * libio/fileops.c (_IO_new_file_write): Likewise.
33244 * login/utmp_file.c (pututline_file): Likewise.
33245 (updwtmp_file): Likewise.
33246 * stdio-common/psiginfo.c (psiginfo): Likewise.
33247 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33248 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33249 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33250 Likewise.
33251 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33252 Likewise.
33253
a748eb31
AZ
33254 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
33255 (__read_nocancel): New macro.
33256 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33257 __read_nocancel.
33258 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
33259 macro.
33260 (__read_nocancel): New prototype.
33261 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
33262 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
33263 with __read_nocancel.
33264 * intl/loadmsgcat.c (read): Likewise.
33265 * libio/fileops.c (_IO_file_read): Likewise.
33266 * locale/loadlocale.c (_nl_load_locale): Likewise.
33267 * login/utmp_file.c (getutent_r_file): Likewise.
33268 (internal_getut_r): Likewise.
33269 (getutline_r_file): Likewise.
33270 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
33271 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
33272 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33273 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33274 Likewise.
33275 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
33276 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33277 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33278 Likewise.
33279 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33280 Likewise.
33281 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33282 Likewise.
33283 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33284 Likewise.
33285 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33286
098b9dd4
L
332872017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33288
33289 [BZ #21966]
33290 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
33291 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
33292 usable.
33293
a3fe6a20
DD
332942017-08-17 DJ Delorie <dj@redhat.com>
33295
33296 * bug17079.c: Update to new test harness.
33297 * test-digits-dots.c: Likewise.
33298 * test-netdb.c: Likewise.
33299 * tst-field.c: Likewise.
33300 * tst-nss-getpwent.c: Likewise.
33301 * tst-nss-static.c: Likewise.
33302 * tst-nss-test1.c: Likewise.
33303 * tst-nss-test2.c: Likewise.
33304 * tst-nss-test3.c: Likewise.
33305 * tst-nss-test4.c: Likewise.
33306 * tst-nss-test5.c: Likewise.
33307
c2284574
AZ
333082017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33309
33310 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
33311 (open_not_cancel_2): Likewise.
33312 (open_nocancel): New macro.
33313 (open64_nocancel): Likewise.
33314 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
33315 (open_not_cancel_2): Likewise.
33316 (__open_nocancel): New prototype.
33317 (__open64_nocancel): Likewise.
33318 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33319 __open_nocancel.
33320 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
33321 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
33322 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
33323 with __open_nocancel.
33324 * csu/check_fds.c (check_one_fd): Likewise.
33325 * gmon/gmon.c (write_gmon): Likewise.
33326 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
33327 * intl/loadmsgcat.c (open): Likewise.
33328 * libio/fileops.c (_IO_file_open): Likewise.
33329 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33330 * locale/loadlocale.c (_nl_load_locale): Likewise.
33331 * login/utmp_file.c (setutent_file): Likewise.
33332 * misc/daemon.c (daemon): Likewise.
33333 * nss/nss_db/db-open.c (internal_setent): Likewise.
33334 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33335 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
33336 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
33337 (__opendir): Likewise.
33338 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33339 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
33340 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33341 (gethostid): Likewise.
33342 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33343 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33344 Likewise.
33345 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33346 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
33347 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33348 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33349 Likewise.
33350 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33351 Likewise.
33352 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33353 Likewise.
33354 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
33355 Likewise.
33356 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33357 Likewise.
33358 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33359 Likewise.
33360 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
33361 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33362
d4505b89
WD
333632017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
33364
33365 * benchtests/bench-skeleton.c (main): Add support for
33366 latency benchmarking.
33367 * benchtests/scripts/bench.py: Add support for latency benchmarking.
33368
34d6a3cb
L
333692017-08-17 H.J. Lu <hongjiu.lu@intel.com>
33370
33371 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
33372 the startup object.
33373
038d1caf
FW
333742017-08-17 Florian Weimer <fweimer@redhat.com>
33375
33376 * include/sys/socket.h (__opensock): Remove internal_function.
33377 * socket/opensock.c (__opensock): Likewise.
33378 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
33379
67f0aff0
JM
333802017-08-16 Joseph Myers <joseph@codesourcery.com>
33381
33382 [BZ #21944]
33383 * signal/bits/types/__sigval_t.h: New file.
33384 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
33385 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
33386 and define sigval_t using __sigval_t.
33387 * include/bits/types/__sigval_t.h: New file.
33388 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
33389 instead of <bits/types/__sigval_t.h>.
33390 (struct sigevent): Use __sigval_t instead of sigval_t.
33391 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
33392 instead of <bits/types/__sigval_t.h>.
33393 (siginfo_t): Use __sigval_t instead of sigval_t.
33394 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
33395 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
33396 (struct sigevent): Use __sigval_t instead of sigval_t.
33397 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
33398 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
33399 (siginfo_t): Use __sigval_t instead of sigval_t.
33400 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
33401
87e7bf4d
L
334022017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33403
33404 * NEWS: Remove "[Add new features here]" for 2.27.
33405
5047057f
JM
334062017-08-16 Joseph Myers <joseph@codesourcery.com>
33407
33408 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
33409 libc.so.
33410
20c7b195
L
334112017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33412
33413 * NEWS: Mention x86-64 FMA optimization.
33414
24a2e658
L
334152017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33416
33417 [BZ #21912]
33418 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33419 Add e_expf-fma.
33420 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
33421 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
33422 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
33423
eedca977
AS
334242017-08-16 Andreas Schwab <schwab@suse.de>
33425
403143e1
FW
33426 [BZ #16750]
33427 CVE-2009-5064
eedca977
AS
33428 * elf/ldd.bash.in: Never run file directly.
33429
f59f7adb
L
334302017-08-15 H.J. Lu <hongjiu.lu@intel.com>
33431
33432 [BZ #21955]
33433 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
33434 (L(SP_INF_0)): Likewise.
33435
6b11a6ad
FW
334362017-08-15 Florian Weimer <fweimer@redhat.com>
33437
33438 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
33439 run-built-tests.
33440
bbf5c438
FW
334412017-08-15 Florian Weimer <fweimer@redhat.com>
33442
33443 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
33444 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
33445 BROKEN_THREAD_SIGNALS code.
33446 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
33447 request_list): Remove caller_pid member used for
33448 BROKEN_THREAD_SIGNALS.
33449 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
33450 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
33451 Remove BROKEN_THREAD_SIGNALS support.
33452 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
33453 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
33454
6014c65d
FW
334552017-08-15 Florian Weimer <fweimer@redhat.com>
33456
33457 * gmon/Makefile (tests): Add tst-gmon.
33458 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
33459 Set.
33460 (tests-special): Add tst-gmon-prof.out.
33461 (tst-gmon.out): Depend on clean-tst-gmon-data.
33462 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
33463 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
33464 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
33465 startup object.
33466 * aclocal.m4 (GPROF): Set and substitute.
33467 * config.amke.in (GPROF): Set.
33468 * configure: Regenerate.
33469
ee72219a
GR
334702017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
33471
33472 * elf/elf.h A (NT_PPC_TAR): New macro.
33473 (NT_PPC_PPR): Likewise.
33474 (NT_PPC_DSCR): Likewise.
33475 (NT_PPC_EBB): Likewise.
33476 (NT_PPC_PMU): Likewise.
33477 (NT_PPC_TM_CGPR): Likewise.
33478 (NT_PPC_TM_CFPR): Likewise.
33479 (NT_PPC_TM_CVMX): Likewise.
33480 (NT_PPC_TM_CVSX): Likewise.
33481 (NT_PPC_TM_SPR): Likewise.
33482 (NT_PPC_TM_CTAR): Likewise.
33483 (NT_PPC_TM_CPPR): Likewise.
33484 (NT_PPC_TM_CDSCR): Likewise.
33485
4ebf934e
FW
334862017-08-15 Florian Weimer <fweimer@redhat.com>
33487
33488 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
33489 regparm (2) instead of internal_function.
33490 (_MCOUNT_DECL): Adjust.
33491
e9f57484
SL
334922017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
33493
33494 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
33495 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
33496
88ff4d55
JM
334972017-08-14 Joseph Myers <joseph@codesourcery.com>
33498
33499 * conform/data/sys/wait.h-data (si_value): Do not expect for
33500 XPG42.
33501
c88ffc23
FW
335022017-08-14 Florian Weimer <fweimer@redhat.com>
33503
33504 [BZ #21962]
33505 NSS: Create stubs for accidentally exported lookup functions.
33506 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
33507 Remove declaration.
33508 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
33509 (ether_hostton): Call __nss_ethers_lookup2 instead.
33510 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
33511 (ether_ntohost): Call __nss_ethers_lookup2 instead.
33512 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
33513 (setup): Call __nss_netgroup_lookup2 instead.
33514 * nss/Makefile (routines): Add compat-lookup.
33515 * nss/Versions (GLIBC_2.27): Add symbol version.
33516 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
33517 (DB_COMPAT_FCT): Remove.
33518 * nss/compat-lookup.c: New file.
33519 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
33520 from databases.def.
33521 * nss/service-lookup.c (NO_COMPAT): Remove definition.
33522 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
33523 (netname2user): Call __nss_publickey_lookup2 instead.
33524 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
33525 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
33526 instead.
33527
35a29136 335282017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1f14d0c3
AZ
33529 Sergei Trofimovich <slyfox@inbox.ru>
33530
33531 [BZ #21908]
33532 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
33533 Rename to MMAP2_PAGE_UNIT.
33534 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
33535 __OFF_T_MATCHES_OFF64_T is not defined.
33536 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
33537 uint64_t.
33538 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
33539 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
33540
fbdc1e3e
FW
335412017-08-14 Florian Weimer <fweimer@redhat.com>
33542
33543 i386: Do not set internal_function.
33544 * config.h.in (USE_REGPARMS, internal_function): Remove.
33545 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
33546 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
33547
b3f85fd2
FW
335482017-08-14 Florian Weimer <fweimer@redhat.com>
33549
33550 * elf/dl-init.c (_dl_init): Remove internal_function.
33551 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
33552 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
33553
630bf491
FW
335542017-08-14 Florian Weimer <fweimer@redhat.com>
33555
33556 * elf/rtld.c (_dl_start): Remove internal_function.
33557 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
33558 _dl_start.
33559
9fa7449b
FW
335602017-08-14 Florian Weimer <fweimer@redhat.com>
33561
33562 * elf/dl-fini.c (_dl_fini): Remove internal_function
33563 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
33564
73322d5f
L
335652017-08-14 H.J. Lu <hongjiu.lu@intel.com>
33566
d863cd71 33567 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
73322d5f
L
33568 (bit_cpu_SHSTK): Likewise.
33569 (index_cpu_IBT): Likewise.
33570 (index_cpu_SHSTK): Likewise.
33571 (reg_IBT): Likewise.
33572 (reg_SHSTK): Likewise.
33573 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
33574 Handle index_cpu_IBT and index_cpu_SHSTK.
33575
dbc303ef
MF
335762017-08-14 Mike FABIAN <mfabian@redhat.com>
33577
33578 [BZ #19982]
33579 * po/fr.po: Fix spelling mistake.
33580
3012cfb0
FW
335812017-08-13 Florian Weimer <fweimer@redhat.com>
33582
33583 * elf/dl-addr.c (_dl_addr): Remove internal_function.
33584 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
33585 (_dl_catch_error, _dl_receive_error): Likewise.
33586 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
33587 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
33588 (_dl_deallocate_tls): Likewise.
33589 * include/dlfcn.h (_dl_addr): Likewise.
33590 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
33591 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
33592 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
33593 Likewise.
33594
52bcdf26
FW
335952017-08-13 Florian Weimer <fweimer@redhat.com>
33596
33597 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
33598 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
33599 internal_function.
33600 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
33601
e1d2ae8d
FW
336022017-08-13 Florian Weimer <fweimer@redhat.com>
33603
33604 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
33605 internal_function.
33606 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
33607 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
33608 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
33609 internal_function from _dl_make_stack_executable_hook member.
33610 (_dl_make_stack_executable): Remove internal_function.
33611 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
33612 Likewise.
33613 * sysdeps/unix/sysv/linux/dl-execstack.c
33614 (_dl_make_stack_executable): Likewise.
33615
c4ce0382
FW
336162017-08-13 Florian Weimer <fweimer@redhat.com>
33617
33618 * sysdeps/unix/sysv/linux/netlinkaccess.h
33619 (__netlink_assert_response): Remove internal_function.
33620 * sysdeps/unix/sysv/linux/netlink_assert_response.c
33621 (__netlink_assert_response): Likewise.
33622
c4d767f7
FW
336232017-08-13 Florian Weimer <fweimer@redhat.com>
33624
33625 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
33626 internal_function.
33627 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
33628
b2297409
FW
336292017-08-13 Florian Weimer <fweimer@redhat.com>
33630
33631 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
33632 internal_function.
33633 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
33634 * inet/netgroup.h (__internal_setnetgrent)
33635 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
33636 * inet/getnetgrent_r.c (__internal_setnetgrent)
33637 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
33638 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
33639 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
33640 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
33641 * nss/nsswitch.h (db_lookup_function): Likewise.
33642
1b0bfc69
FW
336432017-08-13 Florian Weimer <fweimer@redhat.com>
33644
33645 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
33646 Remove internal_function.
33647 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
33648 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
33649 message argument on the stack.
33650 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
33651 Likeweise.
33652
a6bd8722
MF
336532017-08-12 Mike FABIAN <mfabian@redhat.com>
33654
33655 Adapt test case data to the changes in the thousands
33656 separators.
33657
33658 [BZ #20756]
33659 * localedata/tst-langinfo.sh: Adapt test case data.
33660 * stdlib/tst-strfmon_l.c: Likewise.
33661 * stdlib/tst-strtod4.c: Likewise.
33662 * stdlib/tst-strtod5i.c: Likewise.
33663
8b2c63e4
FW
336642017-08-11 Florian Weimer <fweimer@redhat.com>
33665
33666 [BZ #21242]
33667 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
33668 Suppress pedantic warning resulting from statement expression.
33669 (__ASSERT_FUNCTION): Add missing __extension__.
33670
61c98291
SP
336712017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
33672
86c6519e
SP
33673 * benchtests/bench-memmove-large.c: Print output in JSON
33674 format.
33675 * benchtests/bench-memmove.c: Likewise.
33676
61c98291
SP
33677 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
33678 * benchtests/bench-memchr.c (do_one_test): Likewise.
33679 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
33680 * benchtests/bench-memcpy.c (do_one_test): Likewise.
33681 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
33682 * benchtests/bench-memmove.c (do_one_test): Likewise.
33683 * benchtests/bench-memset-large.c (do_one_test): Likewise.
33684 * benchtests/bench-memset.c (do_one_test): Likewise.
33685 * benchtests/bench-string.h (test_init): Remove memsets.
33686
925733a9
RJ
336872017-08-10 Rical Jasan <ricaljasan@pacific.net>
33688
33689 * manual/lang.texi
33690 (Computing the Width of an Integer Data Type): Rename section to
33691 "Width of an Integer Type". Remove inaccurate statement regarding
33692 lack of C language facilities for determining width of integer
33693 types, and reorder content to improve flow and context of
33694 discussion.
33695
4fcdfbfc
RJ
336962017-08-10 Rical Jasan <ricaljasan@pacific.net>
33697
33698 * lang.texi (va_copy): Change standard from ISO to C99.
33699 (__va_copy): Add standard and header annotation.
33700 Update description for clarity of origins and current use.
33701
4d98ace9
GG
337022017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33703
33704 [BZ #21941]
33705 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
33706 xssqrtqp requires operands to be in Vector Registers
33707 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
33708 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
33709 (__ieee754_sqrtf128): Likewise.
33710
92236903
WD
337112017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
33712
33713 * sysdeps/aarch64/memcmp.S (memcmp):
33714 Rewrite of optimized memcmp.
33715
2449ae7b
FW
337162017-08-10 Florian Weimer <fweimer@redhat.com>
33717
33718 Introduce ld.so exceptions.
33719 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
33720 (_dl_exception_create, _dl_exception_create_format)
33721 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
33722 (_dl_catch_exception): Declare.
33723 (_dl_catch_error): Update comment.
33724 * elf/dl-error-skeleton.c (struct catch): Replace objname,
33725 errstring, malloced members with exception member.
33726 (_dl_out_of_memory): Remove.
33727 (fatal_error): New function, extracted from _dl_signal_error.
33728 (_dl_signal_exception, _dl_signal_cexception): New functions.
33729 (_dl_signal_error): Call _dl_exception_create to allocate an
33730 exception object.
33731 (_dl_catch_exception): New function, based on _dl_catch_error.
33732 (_dl_catch_error): Implement using _dl_catch_exception.
33733 * elf/dl-exception.c: New file.
33734 * elf/Makefile (dl-routines): Add dl-exception.
33735 (elide-routines.os): Likewise.
33736 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
33737 _dl_exception_create_format, _dl_exception_free.
33738 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
33739 _dl_signal_exception.
33740 * elf/dl-lookup.c (make_string): Remove.
33741 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
33742 _dl_signal_cexception, _dl_exception_free.
33743 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
33744 _dl_signal_exception.
33745 * elf/dl-sym.c (do_sym): Likewise.
33746 * elf/dl-version.c (make_string): Remove.
33747 (match_symbol): Use _dl_exception_create_format,
33748 _dl_signal_cexception, _dl_exception_free.
33749 (_dl_check_map_versions): Likewise.
33750 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
33751 _dl_catch_exception.
33752 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
33753 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
33754 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
33755 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
33756 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
33757 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
33758 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
33759 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
33760 Likewise.
33761 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
33762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
33763 (ld.so): Likewise.
33764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
33765 (ld.so): Likewise.
33766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
33767 Likewise.
33768 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
33769 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
33770 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
33771 Likewise.
33772 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
33773 Likewise.
33774 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
33775
f87cc2bf
FW
337762017-08-10 Florian Weimer <fweimer@redhat.com>
33777
33778 * inet/net-internal.h (__inet6_scopeid_pton): Remove
33779 attribute_hidden, internal_function.
33780 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
33781 internal_function.
33782
eac43cbb
FW
337832017-08-10 Florian Weimer <fweimer@redhat.com>
33784
33785 * malloc/malloc.c (get_max_fast): Reimplement as an inline
33786 function which calls __builtin_unreachable.
33787
bd80111e
MF
337882017-08-10 Mike FABIAN <mfabian@redhat.com>
33789
33790 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
33791 Indian monetary formatting
33792 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
33793 test cases.
33794
60e2846e
DL
337952017-08-09 Dmitry V. Levin <ldv@altlinux.org>
33796
68dc02d1
DL
33797 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
33798 Fix typo in comment.
33799
60e2846e
DL
33800 [BZ #21928]
33801 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
33802 PTRACE_SEIZE_DEVEL): Remove.
33803 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
33804 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33805 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33806 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33807 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33808
3d452dab
JM
338092017-08-09 Joseph Myers <joseph@codesourcery.com>
33810
24d9f53a
JM
33811 * posix/bits/types.h (__qaddr_t): Remove.
33812
3d452dab
JM
33813 [BZ #21457]
33814 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
33815 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33816 __glibc_reserved1.
33817 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
33818 (ucontext_t): Use __ctx with uc_flags.
33819 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
33820 (__ctxt): Likewise.
33821 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33822 __glibc_reserved1.
33823 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
33824 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33825 __glibc_reserved1.
33826 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
33827 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33828 __glibc_reserved1.
33829 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
33830 macro.
33831 (ucontext_t): Use __ctx with uc_flags.
33832 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
33833 (ucontext_t): Use __ctx with uc_flags.
33834 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
33835 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
33836 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
33837 (ucontext_t): Use __ctx with uc_flags.
33838 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
33839 undefine further down.
33840 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33841 __glibc_reserved1.
33842 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
33843 undefine further down.
33844 (ucontext_t): Use __ctx with uc_flags.
33845 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
33846 undefine further down.
33847 (ucontext_t): Use __ctx with uc_flags.
33848 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
33849 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
33850 Rename uc_pad to __glibc_reserved1.
33851 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
33852 undefine further down.
33853 (ucontext_t): Use __ctx with uc_flags.
33854 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
33855 further down.
33856 (ucontext_t): Use __ctx with uc_flags.
33857 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
33858 __ctx with uc_flags.
33859 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
33860 (ucontext_t): Use __ctx with uc_flags.
33861 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
33862 __ctx with uc_flags.
33863
30161498
FW
338642017-08-09 Florian Weimer <fweimer@redhat.com>
33865
33866 [BZ #21932]
33867 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
33868 before early return.
33869
5797b410
AS
338702017-08-09 Andreas Schwab <schwab@suse.de>
33871
139237a4 33872 [BZ #21041]
5797b410
AS
33873 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
33874 renamed alias.
33875
139237a4 33876 [BZ #21041]
40c06a3d
AS
33877 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
33878 tst-compat-forwarder.
33879 (modules-names): Add tst-compat-forwarder-mod.
33880 ($(objpfx)tst-compat-forwarder): Depend on
33881 $(objpfx)tst-compat-forwarder-mod.so.
33882 * nptl/tst-compat-forwarder.c: New file.
33883 * nptl/tst-compat-forwarder-mod.c: New file.
33884
36ada5f6
SP
338852017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
33886
0e02b510
SP
33887 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
33888 comments.
33889
36ada5f6
SP
33890 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
33891 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
33892 memcpy_falkor.
33893 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
33894 Bump.
33895 (__libc_ifunc_impl_list): Add __memcpy_falkor.
33896 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
33897 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
33898 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
33899 Add falkor.
33900 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
33901 New macro.
33902
9995c839
AZ
339032017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33904
33905 [BZ #759]
33906 * manual/setjmp.texi (getcontex): Document uc_stack value
33907 compatibility differences.
33908
f17a4233
JM
339092017-08-08 Joseph Myers <joseph@codesourcery.com>
33910
33911 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
33912 (old_malloc_hook): Likewise.
33913 (old_memalign_hook): Likewise.
33914 (old_realloc_hook): Likewise.
33915 (struct hdr): Likewise.
33916 (flood): Likewise.
33917 (freehook): Likewise.
33918 (mallochook): Likewise.
33919 (memalignhook): Likewise.
33920 (reallochook): Likewise.
33921 (mprobe): Likewise.
33922 * malloc/mtrace.c (mallwatch): Likewise.
33923 (tr_old_free_hook): Likewise.
33924 (tr_old_malloc_hook): Likewise.
33925 (tr_old_realloc_hook): Likewise.
33926 (tr_old_memalign_hook): Likewise.
33927 (tr_where): Likewise.
33928 (lock_and_info): Likewise.
33929 (tr_freehook): Likewise.
33930 (tr_mallochook): Likewise.
33931 (tr_reallochook): Likewise.
33932 (tr_memalignhook): Likewise.
33933 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
33934 * misc/mmap.c (__mmap): Likewise.
33935 * misc/mmap64.c (__mmap64): Likewise.
33936 * misc/mprotect.c (__mprotect): Likewise.
33937 * misc/msync.c (msync): Likewise.
33938 * misc/munmap.c (__munmap): Likewise.
33939 * posix/posix_madvise.c (posix_madvise): Likewise.
33940 * socket/send.c (__send): Likewise.
33941 * socket/sendto.c (__sendto): Likewise.
33942 * socket/setsockopt.c (__setsockopt): Likewise.
33943 * string/memcmp.c (__ptr_t): Remove macro.
33944 (MEMCMP): Use void * instead of ptr_t.
33945 * string/memrchr.c (__ptr_t): Remove macro.
33946 (__memrchr): Use void * instead of ptr_t.
33947 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
33948 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
33949 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
33950 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
33951 * sysdeps/mach/msync.c (msync): Likewise.
33952 * sysdeps/mach/munmap.c (__munmap): Likewise.
33953 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
33954 Likewise.
33955 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33956 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
33957 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
33958 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
33959 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
33960 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
33961 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
33962 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
33963 Likewise.
33964 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
33965 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
33966 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
33967 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
33968 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
33969 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
33970 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
33971 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
33972 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
33973 Likewise.
33974 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
33975 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
33976 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
33977 (MEMCMP): Use void * instead of ptr_t.
33978 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
33979 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
33980
0df595b2
FW
339812017-08-08 Florian Weimer <fweimer@redhat.com>
33982
33983 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
33984 return statement.
33985
086df229
L
339862017-08-08 H.J. Lu <hongjiu.lu@intel.com>
33987
33988 [BZ #21913]
33989 * csu/libc-tls.c: Include <startup.h> first.
33990 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
33991 * elf/dl-tunables.c: Include <startup.h> first.
33992 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
33993 * sysdeps/generic/startup.h: New file.
33994 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
33995 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
33996 (I386_USE_SYSENTER): New. Defined to 0.
33997
fc5ad702
AS
339982017-08-08 Andreas Schwab <schwab@suse.de>
33999
34000 [BZ #21041]
34001 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
34002 * nptl/pt-system.c (system): Likewise.
34003
852d6312
AZ
340042017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34005
34006 [BZ #21780]
34007 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
34008 EOPNOTSUPP.
34009 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
34010 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
34011 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
34012 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
34013 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
34014 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
34015 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
34016
8b164787
JM
340172017-08-07 Joseph Myers <joseph@codesourcery.com>
34018
cd65836b
JM
34019 [BZ #21899]
34020 * bits/sigaction.h (struct sigaction): Define sa_handler and
34021 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
34022 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34023 [__USE_XOPEN_EXTENDED].
34024 (SA_RESTART): Likewise.
34025 (SA_NODEFER): Likewise.
34026 (SA_RESETHAND): Likewise.
34027 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
34028 (struct sigaction): Define sa_handler and sa_sigaction using union
34029 also for [__USE_XOPEN_EXTENDED].
34030 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34031 [__USE_XOPEN_EXTENDED].
34032 (SA_RESTART): Likewise.
34033 (SA_NODEFER): Likewise.
34034 (SA_RESETHAND): Likewise.
34035 * sysdeps/unix/sysv/linux/bits/sigaction.h
34036 (struct sigaction): Define sa_handler and sa_sigaction using union
34037 also for [__USE_XOPEN_EXTENDED].
34038 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34039 [__USE_XOPEN_EXTENDED].
34040 (SA_RESTART): Likewise.
34041 (SA_NODEFER): Likewise.
34042 (SA_RESETHAND): Likewise.
34043 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
34044 (struct sigaction): Define sa_handler and sa_sigaction using union
34045 also for [__USE_XOPEN_EXTENDED].
34046 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34047 [__USE_XOPEN_EXTENDED].
34048 (SA_RESTART): Likewise.
34049 (SA_NODEFER): Likewise.
34050 (SA_RESETHAND): Likewise.
34051 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
34052 (struct sigaction): Define sa_handler and sa_sigaction using union
34053 also for [__USE_XOPEN_EXTENDED].
34054 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34055 [__USE_XOPEN_EXTENDED].
34056 (SA_RESTART): Likewise.
34057 (SA_NODEFER): Likewise.
34058 (SA_RESETHAND): Likewise.
34059 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
34060 (struct sigaction): Define sa_handler and sa_sigaction using union
34061 also for [__USE_XOPEN_EXTENDED].
34062 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34063 [__USE_XOPEN_EXTENDED].
34064 (SA_RESTART): Likewise.
34065 (SA_NODEFER): Likewise.
34066 (SA_RESETHAND): Likewise.
34067 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
34068 (struct sigaction): Define sa_handler and sa_sigaction using union
34069 also for [__USE_XOPEN_EXTENDED].
34070 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34071 [__USE_XOPEN_EXTENDED].
34072 (SA_RESTART): Likewise.
34073 (SA_NODEFER): Likewise.
34074 (SA_RESETHAND): Likewise.
34075 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
34076 (struct sigaction): Define sa_handler and sa_sigaction using union
34077 also for [__USE_XOPEN_EXTENDED].
34078 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34079 [__USE_XOPEN_EXTENDED].
34080 (SA_RESTART): Likewise.
34081 (SA_NODEFER): Likewise. Define directly rather than as alias.
34082 (SA_RESETHAND): Likewise.
34083 (SA_INTERRUPT): Define only for [__USE_MISC].
34084 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
34085 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
34086 [__USE_MISC].
34087 (SA_STACK): Define only for [__USE_MISC].
34088 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
34089 (struct sigaction): Define sa_handler and sa_sigaction using union
34090 also for [__USE_XOPEN_EXTENDED].
34091 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34092 [__USE_XOPEN_EXTENDED].
34093 (SA_RESTART): Likewise.
34094 (SA_NODEFER): Likewise.
34095 (SA_RESETHAND): Likewise.
34096 (SA_NOPTRACE): Define only for [__USE_MISC].
34097
d9fee042
JM
34098 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
34099 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
34100 (struct catalog_info): Likewise.
34101 * inet/htontest.c (lo): Likewise.
34102 (foo): Likewise.
34103 * inet/inet_lnaof.c (inet_lnaof): Likewise.
34104 * inet/inet_net.c (inet_network): Likewise.
34105 * inet/inet_netof.c (inet_netof): Likewise.
34106 * inet/rcmd.c (__ivaliduser): Likewise.
34107 (iruserok): Likewise.
34108 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
34109 * locale/programs/locale-spec.c (locale_special): Likewise.
34110 * nis/nis_findserv.c (struct findserv_req): Likewise.
34111 (__nis_findfastest_with_timeout): Likewise.
34112 * nss/test-netdb.c (test_network): Likewise.
34113 * resolv/inet_neta.c (inet_neta): Likewise.
34114 * resolv/ns_date.c (ns_datetosecs): Likewise.
34115 (SECS_PER_DAY): Likewise.
34116 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
34117 Likewise.
34118 * resolv/res_comp.c (__putlong): Likewise.
34119 (__putshort): Likewise.
34120 (_getlong): Likewise.
34121 (_getshort): Likewise.
34122 * resolv/res_debug.c (p_time): Likewise.
34123 (precsize_ntoa): Likewise.
34124 (precsize_aton): Likewise.
34125 (latlon2ul): Likewise.
34126 (loc_aton): Likewise.
34127 (loc_ntoa): Likewise.
34128 * resolv/res_hconf.c (struct netaddr): Likewise.
34129 (_res_hconf_reorder_addrs): Likewise.
34130 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
34131 (clnttcp_control): Likewise.
34132 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
34133 (clntudp_control): Likewise.
34134 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
34135 (clntunix_control): Likewise.
34136 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
34137 * sunrpc/rpc/auth.h (union des_block): Likewise.
34138 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
34139 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
34140 (xdrrec_create): Likewise.
34141 (xdrrec_endofrecord): Likewise.
34142 (flush_out): Likewise.
34143 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
34144 (xdrstdio_putlong): Likewise.
34145 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
34146 Likewise.
34147
8b164787
JM
34148 * misc/sys/cdefs.h (__long_double_t): Remove.
34149 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
34150 instead of __long_double_t,
34151 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
34152
7ee38e60
SP
341532017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
34154
dd3e86ad
SP
34155 * benchtests/scripts/compare_strings.py: Avoid display error when
34156 running on a text terminal.
34157
b115e819
SP
34158 * benchtests/scripts/compare_strings.py (main): Add an
34159 optional -base option.
34160 (process_results): New argument base_func.
34161
7ee38e60
SP
34162 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
34163 hardcoding memcpy.
34164 * benchtests/bench-memcpy-large.c (test_name): Likewise.
34165 * benchtests/bench-memcpy-random.c (test_name): Likewise.
34166
d5afb385
AS
341672017-08-07 Andreas Schwab <schwab@suse.de>
34168
34169 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
34170 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
34171 * intl/Makefile ($(objpfx)tst-gettext.out)
34172 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
34173 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
34174 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
34175 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
34176 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
34177 * posix/Makefile ($(objpfx)globtest.out)
34178 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
34179 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
34180 ($(objpfx)tst-printf.out): Likewise.
34181 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
34182 ($(objpfx)tst-setcontext3.out): Likewise.
34183
57a72fa3
L
341842017-08-07 H.J. Lu <hongjiu.lu@intel.com>
34185
34186 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34187 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
34188 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
34189 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
34190 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
34191 and mptan-fma.
34192 (CFLAGS-doasin-fma.c): New.
34193 (CFLAGS-dosincos-fma.c): Likewise.
34194 (CFLAGS-e_asin-fma.c): Likewise.
34195 (CFLAGS-e_atan2-fma.c): Likewise.
34196 (CFLAGS-e_exp-fma.c): Likewise.
34197 (CFLAGS-e_log-fma.c): Likewise.
34198 (CFLAGS-e_pow-fma.c): Likewise.
34199 (CFLAGS-halfulp-fma.c): Likewise.
34200 (CFLAGS-mpa-fma.c): Likewise.
34201 (CFLAGS-mpatan-fma.c): Likewise.
34202 (CFLAGS-mpatan2-fma.c): Likewise.
34203 (CFLAGS-mpexp-fma.c): Likewise.
34204 (CFLAGS-mplog-fma.c): Likewise.
34205 (CFLAGS-mpsqrt-fma.c): Likewise.
34206 (CFLAGS-mptan-fma.c): Likewise.
34207 (CFLAGS-s_atan-fma.c): Likewise.
34208 (CFLAGS-sincos32-fma.c): Likewise.
34209 (CFLAGS-slowexp-fma.c): Likewise.
34210 (CFLAGS-slowpow-fma.c): Likewise.
34211 (CFLAGS-s_sin-fma.c): Likewise.
34212 (CFLAGS-s_tan-fma.c): Likewise.
34213 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
34214 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
34215 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
34216 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
34217 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
34218 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
34219 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
34220 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
34221 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
34222 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
34223 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
34224 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
34225 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
34226 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
34227 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
34228 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
34229 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
34230 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
34231 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
34232 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
34233 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
34234 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
34235 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
34236 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
34237 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
34238 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34239 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34240 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
34241 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34242 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34243 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34244
219dd320
JM
342452017-08-04 Joseph Myers <joseph@codesourcery.com>
34246
34247 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
34248 (min_of_type_f): New macro.
34249 (min_of_type_): Likewise.
34250 (min_of_type_l): Likewise.
34251 (min_of_type_f128): Likewise.
34252 (min_of_type): Define using __MATH_TG and taking an expression
34253 argument.
34254 (math_check_force_underflow): Pass expression instead of type to
34255 min_of_type.
34256 (math_check_force_underflow_nonneg): Likewise.
34257
64d4dea6
L
342582017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34259
34260 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
34261 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
34262 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
34263
973da22a
L
342642017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34265
34266 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34267 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
34268 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
34269 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
34270 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
34271 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
34272 memcpy_chk-nonshared, mempcpy_chk-nonshared,
34273 memmove_chk-nonshared and memset_chk-nonshared
34274 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
34275 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
34276 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
34277 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
34278 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
34279 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
34280 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
34281 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
34282 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
34283 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
34284 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
34285 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
34286 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
34287 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
34288 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
34289 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
34290 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
34291 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
34292 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
34293 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
34294 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
34295 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
34296 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
34297 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
34298 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
34299 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
34300 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
34301 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
34302 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
34303 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
34304 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
34305 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
34306 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
34307 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
34308 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
34309 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
34310 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
34311 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
34312 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
34313 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
34314 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
34315 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
34316 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
34317 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
34318 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
34319 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
34320 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
34321 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
34322 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
34323 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
34324 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
34325 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
34326 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
34327 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
34328 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
34329 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
34330 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
34331 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
34332 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
34333 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
34334 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
34335 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
34336 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
34337 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
34338 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
34339 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
34340 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
34341 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
34342 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
34343 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
34344 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
34345 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34346 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34347 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34348 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34349 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34350 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34351 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34352 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34353 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34354 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34355 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34356 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34357 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34358 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
34359 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
34360 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34361 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
34362 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34363 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34364 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34365 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34366 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34367 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34368 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
34369 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
34370 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
34371 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
34372 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34373 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
34374 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34375 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34376 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34377 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34378 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34379 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34380 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34381 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34382
8537e0f6
L
343832017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34384
34385 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
34386 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
34387 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
34388 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
34389 svml_d_log2_core-sse2, svml_d_log4_core-sse,
34390 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
34391 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
34392 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
34393 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
34394 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
34395 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
34396 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
34397 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
34398 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
34399 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
34400 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
34401 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
34402 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
34403 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
34404 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
34405 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
34406 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
34407 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
34408 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
34409 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
34410 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
34411 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
34412 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
34413 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
34414 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
34415 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
34416 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
34417 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
34418 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
34419 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
34420 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
34421 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
34422 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
34423 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
34424 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
34425 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
34426 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
34427 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
34428 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
34429 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
34430 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
34431 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
34432 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
34433 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
34434 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
34435 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
34436 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
34437 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
34438 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
34439 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
34440 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
34441 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
34442 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
34443 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
34444 ...
34445 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
34446 Don't include <sysdep.h> nor <init-arch.h>.
34447 (_ZGVbN2v_cos): Removed.
34448 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
34449 ...
34450 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
34451 Don't include <sysdep.h> nor <init-arch.h>.
34452 (_ZGVdN4v_cos): Removed.
34453 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
34454 ...
34455 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
34456 Don't include <sysdep.h> nor <init-arch.h>.
34457 (_ZGVeN8v_cos): Removed.
34458 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
34459 ...
34460 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
34461 Don't include <sysdep.h> nor <init-arch.h>.
34462 (_ZGVbN2v_exp): Removed.
34463 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
34464 ...
34465 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
34466 Don't include <sysdep.h> nor <init-arch.h>.
34467 (_ZGVdN4v_exp): Removed.
34468 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
34469 ...
34470 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
34471 Don't include <sysdep.h> nor <init-arch.h>.
34472 (_ZGVeN8v_exp): Removed.
34473 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
34474 ...
34475 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
34476 Don't include <sysdep.h> nor <init-arch.h>.
34477 (_ZGVbN2v_log): Removed.
34478 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
34479 ...
34480 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
34481 Don't include <sysdep.h> nor <init-arch.h>.
34482 (_ZGVdN4v_log): Removed.
34483 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
34484 ...
34485 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
34486 Don't include <sysdep.h> nor <init-arch.h>.
34487 (_ZGVeN8v_log): Removed.
34488 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
34489 ...
34490 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
34491 Don't include <sysdep.h> nor <init-arch.h>.
34492 (_ZGVbN2vv_pow): Removed.
34493 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
34494 ...
34495 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
34496 Don't include <sysdep.h> nor <init-arch.h>.
34497 (_ZGVdN4vv_pow): Removed.
34498 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
34499 ...
34500 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
34501 Don't include <sysdep.h> nor <init-arch.h>.
34502 (_ZGVeN8vv_pow): Removed.
34503 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
34504 ...
34505 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
34506 Don't include <sysdep.h> nor <init-arch.h>.
34507 (_ZGVbN2v_sin): Removed.
34508 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
34509 ...
34510 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
34511 Don't include <sysdep.h> nor <init-arch.h>.
34512 (_ZGVbN4v_sin): Removed.
34513 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
34514 ...
34515 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
34516 Don't include <sysdep.h> nor <init-arch.h>.
34517 (_ZGVbN8v_sin): Removed.
34518 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
34519 ...
34520 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
34521 Don't include <sysdep.h> nor <init-arch.h>.
34522 (_ZGVbN2vvv_sincos): Removed.
34523 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
34524 ...
34525 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
34526 Don't include <sysdep.h> nor <init-arch.h>.
34527 (_ZGVdN4vvv_sincos): Removed.
34528 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
34529 ...
34530 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
34531 Don't include <sysdep.h> nor <init-arch.h>.
34532 (_ZGVeN8vvv_sincos): Removed.
34533 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
34534 ...
34535 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
34536 Don't include <sysdep.h> nor <init-arch.h>.
34537 (_ZGVeN16v_cosf): Removed.
34538 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
34539 ...
34540 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
34541 Don't include <sysdep.h> nor <init-arch.h>.
34542 (_ZGVbN4v_cosf): Removed.
34543 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
34544 ...
34545 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
34546 Don't include <sysdep.h> nor <init-arch.h>.
34547 (_ZGVdN8v_cosf): Removed.
34548 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
34549 ...
34550 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
34551 Don't include <sysdep.h> nor <init-arch.h>.
34552 (_ZGVeN16v_expf): Removed.
34553 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
34554 ...
34555 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
34556 Don't include <sysdep.h> nor <init-arch.h>.
34557 (_ZGVbN4v_expf): Removed.
34558 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
34559 ...
34560 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
34561 Don't include <sysdep.h> nor <init-arch.h>.
34562 (_ZGVdN8v_expf): Removed.
34563 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
34564 ...
34565 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
34566 Don't include <sysdep.h> nor <init-arch.h>.
34567 (_ZGVeN16v_logf): Removed.
34568 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
34569 ...
34570 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
34571 Don't include <sysdep.h> nor <init-arch.h>.
34572 (_ZGVbN4v_logf): Removed.
34573 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
34574 ...
34575 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
34576 Don't include <sysdep.h> nor <init-arch.h>.
34577 (_ZGVdN8v_logf): Removed.
34578 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
34579 ...
34580 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
34581 Don't include <sysdep.h> nor <init-arch.h>.
34582 (_ZGVeN16vv_powf): Removed.
34583 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
34584 ...
34585 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
34586 Don't include <sysdep.h> nor <init-arch.h>.
34587 (_ZGVbN4vv_powf): Removed.
34588 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
34589 ...
34590 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
34591 Don't include <sysdep.h> nor <init-arch.h>.
34592 (_ZGVdN8vv_powf): Removed.
34593 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
34594 ...
34595 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
34596 Don't include <sysdep.h> nor <init-arch.h>.
34597 (_ZGVeN16vvv_sincosf): Removed.
34598 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
34599 ...
34600 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
34601 Don't include <sysdep.h> nor <init-arch.h>.
34602 (_ZGVbN4vvv_sincosf): Removed.
34603 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
34604 ...
34605 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
34606 Don't include <sysdep.h> nor <init-arch.h>.
34607 (_ZGVdN8vvv_sincosf): Removed.
34608 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
34609 ...
34610 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
34611 Don't include <sysdep.h> nor <init-arch.h>.
34612 (_ZGVeN16v_sinf): Removed.
34613 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
34614 ...
34615 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
34616 Don't include <sysdep.h> nor <init-arch.h>.
34617 (_ZGVbN4v_sinf): Removed.
34618 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
34619 ...
34620 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
34621 Don't include <sysdep.h> nor <init-arch.h>.
34622 (_ZGVdN8v_sinf): Removed.
34623
10a87ca4
L
346242017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34625
34626 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34627 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
34628 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
34629 s_rint-sse4_1 and s_rintf-sse4_1.
34630 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
34631 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
34632 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
34633 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
34634 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
34635 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
34636 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
34637 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
34638 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
34639 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
34640 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
34641 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34642 (__ceil): Removed.
34643 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
34644 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
34645 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34646 (__ceilf): Removed.
34647 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
34648 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
34649 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34650 (__floor): Removed.
34651 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
34652 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
34653 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34654 (__floorf): Removed.
34655 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
34656 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
34657 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34658 (__nearbyint): Removed.
34659 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
34660 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
34661 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34662 (__nearbyintf): Removed.
34663 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
34664 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
34665 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34666 (__rint): Removed.
34667 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
34668 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
34669 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34670 (__rintf): Removed.
34671
1e8e527d
L
346722017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34673
34674 * sysdeps/i386/start.S (_start): Check Check PIC instead of
34675 SHARED. Avoid dynamic relocation against main in static PIE.
34676
e13daad7
L
346772017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34678
34679 [BZ #21815]
34680 * elf/Makefile (CFLAGS-tst-prelink.c): New.
34681 (LDFLAGS-tst-prelink): Likewise.
34682
627c69c8
L
346832017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34684
34685 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
34686 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
34687 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
34688 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
34689 (INTERNAL_SYSCALL_NCS): Likewise.
34690 (LOADARGS_1): Likewise.
34691 (LOADARGS_5): Likewise.
34692 (RESTOREARGS_1): Likewise.
34693 (RESTOREARGS_5): Likewise.
34694
fc11ff8d
L
346952017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34696
34697 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
34698 (MEMPCPY_SYMBOL): Likewise.
34699 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
34700 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
34701 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
34702 in libc.a.
34703 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34704 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
34705 Likewise.
34706 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
34707 (__hidden_ver1): Don't use in libc.a.
34708 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
34709 (__mempcpy): Don't create a weak alias in libc.a.
34710 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
34711 libc.a.
34712 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
34713 (__hidden_ver1): Don't use in libc.a.
34714
19f1a11e
L
347152017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34716
34717 * config.make.in (have-insert): New.
34718 * configure.ac (libc_cv_insert): New. Set to yes if linker
34719 supports INSERT in linker script.
34720 (AC_SUBST(libc_cv_insert): New.
34721 * configure: Regenerated.
34722 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
34723 if $(have-insert) == yes.
34724
3093fd5e
L
347252017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34726
34727 * elf/Makefile (tests): Add vismain only if
34728 $(have-protected-data) == yes.
34729 (tests-pie): Likewise.
34730
d2cf37c0
L
347312017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34732
34733 [BZ #21871]
34734 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
34735 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
34736
c8a0e6ec
L
347372017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34738
34739 [BZ #21790]
34740 * sysdeps/i386/i586/memset.S
34741 (__memset_zero_constant_len_parameter): Removed.
34742 * sysdeps/i386/i686/memset.S
34743 (__memset_zero_constant_len_parameter): Likewise.
34744 * sysdeps/i386/i686/multiarch/memset_chk.S
34745 (__memset_zero_constant_len_parameter): Likewise.
34746 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
34747 Likewise.
34748
2b34e271
AJ
347492017-08-03 Aurelien Jarno <aurelien@aurel32.net>
34750
34751 * stdlib/getentropy.c (getentropy): Change return type to int.
34752
144bdab0
AJ
347532017-08-03 Aurelien Jarno <aurelien@aurel32.net>
34754
34755 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
34756
24ab7723
JM
347572017-08-03 Joseph Myers <joseph@codesourcery.com>
34758
34759 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
34760 u_intN_t.
34761 * math/s_nexttowardf.c (__nexttowardf): Likewise.
34762 * sysdeps/generic/math_private.h (ieee_double_shape_type):
34763 Likewise.
34764 (ieee_float_shape_type): Likewise.
34765 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
34766 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
34767 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
34768 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34769 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
34770 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
34771 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
34772 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
34773 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
34774 Likewise.
34775 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
34776 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
34777 (__ieee754_yn): Likewise.
34778 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
34779 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
34780 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
34781 Likewise.
34782 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
34783 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
34784 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
34785 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
34786 (__erfc): Likewise.
34787 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
34788 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
34789 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
34790 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
34791 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
34792 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
34793 Likewise.
34794 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
34795 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
34796 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
34797 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
34798 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
34799 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
34800 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
34801 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
34802 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
34803 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
34804 (__issignaling): Likewise.
34805 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
34806 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
34807 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
34808 Likewise.
34809 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
34810 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
34811 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
34812 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
34813 Likewise.
34814 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
34815 Likewise.
34816 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
34817 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
34818 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
34819 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
34820 (__erfcf): Likewise.
34821 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
34822 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
34823 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
34824 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
34825 Likewise.
34826 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
34827 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
34828 Likewise.
34829 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
34830 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
34831 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
34832 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
34833 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
34834 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
34835 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
34836 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
34837 Likewise.
34838 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
34839 Likewise.
34840 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
34841 Likewise.
34842 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
34843 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
34844 Likewise.
34845 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
34846 Likewise.
34847 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34848 (__ieee754_ynl): Likewise.
34849 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
34850 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
34851 Likewise.
34852 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
34853 Likewise.
34854 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
34855 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
34856 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34857 Likewise.
34858 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
34859 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
34860 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
34861 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
34862 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
34863 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
34864 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
34865 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
34866 Likewise.
34867 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
34868 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
34869 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
34870 Likewise.
34871 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
34872 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
34873 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
34874 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
34875 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
34876 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
34877 Likewise.
34878 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
34879 Likewise.
34880 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34881 Likewise.
34882 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34883 Likewise.
34884 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
34885 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
34886 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34887 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
34888 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
34889 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
34890 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
34891 Likewise.
34892 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
34893 Likewise.
34894 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
34895 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34896 Likewise.
34897 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
34898 (__ieee754_remainderl): Likewise.
34899 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34900 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34901 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
34902 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
34903 Likewise.
34904 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
34905 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34906 Likewise.
34907 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
34908 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
34909 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
34910 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
34911 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
34912 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
34913 Likewise.
34914 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
34915 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
34916 (__ieee754_y0l): Likewise.
34917 (pzero): Likewise.
34918 (qzero): Likewise.
34919 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
34920 (__ieee754_y1l): Likewise.
34921 (pone): Likewise.
34922 (qone): Likewise.
34923 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34924 (__ieee754_ynl): Likewise.
34925 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
34926 (__ieee754_lgammal_r): Likewise.
34927 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
34928 Likewise.
34929 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
34930 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
34931 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
34932 (__erfcl): Likewise.
34933 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
34934 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
34935 Likewise.
34936 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
34937 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
34938 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
34939 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
34940 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
34941 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34942 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34943 Likewise.
34944 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
34945 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
34946 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
34947 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
34948 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34949 Likewise.
34950 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
34951 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
34952 Likewise.
34953 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
34954 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
34955 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
34956 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
34957 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
34958
964263bb
FW
349592017-08-03 Florian Weimer <fweimer@redhat.com>
34960
34961 [BZ #21885]
34962 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
34963 on memory allocation failure.
34964
e98c925f
AM
349652017-08-03 Alan Modra <amodra@gmail.com>
34966
34967 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
34968 tst-tlsopt-powerpc.c with function name change and no test harness.
34969 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
34970 Call tls_get_addr_opt_test.
34971 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
34972 (modules-names): Add mod-tlsopt-powerpc.
34973 (mod-tlsopt-powerpc.so-no-z-defs): Define.
34974 (tst-tlsopt-powerpc): Depend on .so.
34975 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
34976 define. Expand use in TLS_GD and TLS_LD.
34977
8ee1abdb
ST
349782017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
34979
34980 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
34981 function.
3da5756e 34982 * sysdeps/posix/shm_open.c: Include <pthread.h>.
8ee1abdb 34983
42df8d59
JM
349842017-08-02 Joseph Myers <joseph@codesourcery.com>
34985
34986 [BZ #21686]
34987 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
34988 comparing size with that of double.
34989 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
34990 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
34991 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
34992 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
34993 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34994 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
34995 unsigned __int128 types.
34996
b7f95f49
SE
349972017-08-02 Steve Ellcey <sellcey@cavium.com>
34998
34999 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
35000 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
35001 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
35002 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
35003 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
35004
5b736bc9
L
350052017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35006
35007 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
35008
dfc93c41
L
350092017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35010
35011 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
35012 of SHARED.
35013 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
35014 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35015 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35016 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35017 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35018 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35019 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35020
2fee621d
JM
350212017-08-02 Joseph Myers <joseph@codesourcery.com>
35022
35023 [BZ #21685]
35024 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
35025 bit-field expressions passed to sizeof or typeof.
35026 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35027 (__TGMATH_F128): Likewise.
35028 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35029 (__TGMATH_CF128): Likewise.
35030 (__TGMATH_UNARY_REAL_ONLY): Likewise.
35031 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
35032 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
35033 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
35034 (__TGMATH_BINARY_REAL_ONLY): Likewise.
35035 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
35036 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
35037 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
35038 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
35039 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
35040 (__TGMATH_UNARY_REAL_IMAG): Likewise.
35041 (__TGMATH_UNARY_IMAG): Likewise.
35042 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
35043 (__TGMATH_BINARY_REAL_IMAG): Likewise.
35044 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
35045 type.
35046 (define_vars_for_type): Handle bit_field type specially.
35047 (Tests.__init__): Declare structure with bit-field element.
35048
b358255f
L
350492017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35050
35051 [BZ #21791]
35052 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
35053 (MEMCPY_CHK): Define only if SHARED is defined.
35054 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
35055 Likewise.
35056 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
35057 Likewise.
edf66db1
SP
35058
35059See ChangeLog.18 for earlier changes.